| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type of elements in this output collection T extends B, the type of elements in this input collection B, the output collection type C extends Collection | Returns: the input collection cast to the requested typethe input collection. Null is permitted. v)Casts the given collection to the requested type. |
| public static < the type of elements in this output collection T extends B, the upper bound type of elements in this input collection B, the output collection type C extends Collection | Returns: the input collection cast to the requested typethe input collection. Null is permitted. v)Casts the given collection to the requested upper bounded wildcard (UBW) type. |
| CollectionUtils | back to summary |
|---|---|
| public CollectionUtils() | |
| toCollection | back to summary |
|---|---|
| public static <T extends B, B, C extends Collection Casts the given collection to the requested type.
| |
| toCollectionUBW | back to summary |
|---|---|
| public static <T extends B, B, C extends Collection Casts the given collection to the requested upper bounded wildcard (UBW) type.
| |