Package org.aksw.commons.util.array
Class Array<T>
- java.lang.Object
-
- org.aksw.commons.util.array.Array<T>
-
- All Implemented Interfaces:
Serializable
public class Array<T> extends Object implements Serializable
A wrapper for arrays with hash code and equals. The main difference toArrays.asList(Object...)is that the underlying array can be obtained from instances of this class directly. Note thatList.toArray()does not support generics.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)T[]getArray()inthashCode()StringtoString()static <T> Array<T>wrap(T[] array)
-