public abstract static class ShortIndexable.Base extends java.lang.Object implements ShortIndexable, java.lang.Comparable<ShortIndexable>
Object.equals(Object)
, Object.hashCode()
,
Object.toString()
. It also provides
Comparable.compareTo(Object)
.ShortIndexable.asBase()
ShortIndexable.Base
EMPTY, SINGLE_0
EMPTY_SHORT_ITERATOR
Constructor and Description |
---|
Base() |
Modifier and Type | Method and Description |
---|---|
ShortIndexable.Base |
asBase()
Make this short integer indexable usable as a class with defined standard Object methods.
|
int |
compareTo(ShortIndexable o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllTo, addToArray, addToArray, addToArray, addToArray, asCollection, asIndexable, asIntIndexable, asList, asUnsignedIndexable, binarySearch, binarySearch, compare, compareUnsigned, emptyIndexable, equal, equal, firstMatch, foldLeft, frozen, get, getMod, gyt, hash, headSet, indexes, init, initByIndex, intIndexes, intIterator, isEmpty, isOrdered, isOrdered, isStrictlyOrdered, isStrictlyOrdered, iterator, lastMatch, listIterator, nextMatch, ordered, ordered, previousMatch, reverse, rotated, shortIterator, shortIterator, singleton, subSet, sybSet, tailSet, toArray, toIntArray, toList, toString, view, viewArray, viewArray, viewArray, viewAsBoolean, viewAsByte, viewAsDouble, viewAsFloat, viewAsInt, viewAsLong, viewAsUnsignedInt, viewAsUnsignedLong, viewByIndex, viewIndexable, viewIndexable, viewIndexable, viewList, viewList, viewList, viewNumberArray, viewOp, withAppendedValue, withCachedHash, withExchangedValueAt, withInsertedValueAt, withRemovedValueAt, withSwappedValuesAt
asIntIterable, asLongIterable, asUnsignedIntIterable, asUnsignedLongIterable, containsShort, forEachShort, forEachShortFragile
public int compareTo(@NotNull ShortIndexable o)
compareTo
in interface java.lang.Comparable<ShortIndexable>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
@NotNull public ShortIndexable.Base asBase()
ShortIndexable
asBase
in interface ShortIndexable