public class CollectionUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionUtils.List |
static class |
CollectionUtils.Map |
static class |
CollectionUtils.Set |
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
genericCast(Object obj)
Utility method to suppress Java's stupid generics warnings
|
public static <T> T genericCast(Object obj)
T - the type to cast toobj - the object to cast to a generic typeCopyright © 2022. All rights reserved.