List of utility methods to do List Cast
List | cast(Class cast ArrayList<T> castedList = new ArrayList<T>(); for (Object o : list) { castedList.add((T) o); return castedList; |
Iterable | cast(final Class type safe cast from any array to an Iterable return cast(cls, Arrays.asList(list));
|
List | cast(final Collection extends Object> list) cast if (list instanceof List) { return (List<L>) list; } else { return (List<L>) newList(list); |
List | cast(final List list) cast return list;
|
List | cast(List> list) Helper method for cast any List to generic list. return (List<T>) list;
|
List | cast(List> list) cast return (List<T>) list;
|
List | cast(List> list) Casts a List to a List with a different element type. return (List<T>) list;
|
List | cast(List> list, Class Verifies that the passed list contains only elements of the given type, and returns it as a parameterized type. for (Object obj : list) { klass.cast(obj); return (List<T>) list; |
List | cast(List cast return (List<E>) from;
|
List | CAST_LIST(Class CASLIST return (List<T>) obj;
|