public abstract static class LongIndexable.Base extends java.lang.Object implements LongIndexable, java.lang.Comparable<LongIndexable>
Object.equals(Object)
, Object.hashCode()
,
Object.toString()
. It also provides
Comparable.compareTo(Object)
.LongIndexable.asBase()
LongIndexable.Base, LongIndexable.LongIndexableSpliterator
EMPTY
EMPTY_LONG_ITERATOR
Constructor and Description |
---|
Base() |
Modifier and Type | Method and Description |
---|---|
LongIndexable.Base |
asBase()
Make this long integer indexable usable as a class with defined standard Object methods.
|
int |
compareTo(LongIndexable o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllTo, addToArray, addToArray, asCollection, asIndexable, asList, binarySearch, binarySearch, compare, compareUnsigned, emptyIndexable, equal, equal, firstMatch, foldLeft, frozen, frozenLongSpliterator, get, getMod, gyt, hash, headSet, indexes, init, initByIndex, intIndexes, isEmpty, isOrdered, isStrictlyOrdered, iterator, lastMatch, listIterator, longIterator, longIterator, longSpliterator, nextMatch, ordered, ordered, previousMatch, reverse, rotated, singleton, subSet, sybSet, tailSet, toArray, toList, toString, view, viewArray, viewArray, viewArray, viewAsBoolean, viewAsByte, viewAsDouble, viewAsDouble, viewAsFloat, viewAsInt, viewAsInt, viewAsShort, viewByIndex, viewIndexable, viewIndexable, viewIndexable, viewList, viewList, viewList, viewNumberArray, viewOp, withAppendedValue, withCachedHash, withExchangedValueAt, withInsertedValueAt, withRemovedValueAt, withSwappedValuesAt
average, containsLong, forEachLong, forEachLongFragile, spliterator, stream, sum, sumX
public int compareTo(@NotNull LongIndexable o)
compareTo
in interface java.lang.Comparable<LongIndexable>
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 LongIndexable.Base asBase()
LongIndexable
asBase
in interface LongIndexable