T - The type of an element of the array.public static class ArrayTools.ArrayWrapper<T>
extends java.lang.Object
| Constructor and Description |
|---|
ArrayWrapper(T[] array)
Creates a new wrapped array for designated array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
T[] |
getArray()
Gets the wrapped array.
|
int |
hashCode() |
java.lang.String |
toString() |
protected final T[] array
public ArrayWrapper(T[] array)
hashCode() and equals(Object).array - The array to be wrapped. This does not clone the array, so beware of
side-effects!public T[] getArray()
hashCode() and equals(Object).public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object