Class EntrySet.KeyedPrimitives<K>
java.lang.Object
java.util.AbstractCollection<Map.Entry<K, PrimitiveNumber>>
java.util.AbstractList<Map.Entry<K, PrimitiveNumber>>
org.ojalgo.type.keyvalue.EntrySet<K, PrimitiveNumber>
org.ojalgo.type.keyvalue.EntrySet.KeyedPrimitives<K>
- All Implemented Interfaces:
Iterable<Map.Entry<K, PrimitiveNumber>>, Collection<Map.Entry<K, PrimitiveNumber>>, List<Map.Entry<K, PrimitiveNumber>>, SequencedCollection<Map.Entry<K, PrimitiveNumber>>, Set<Map.Entry<K, PrimitiveNumber>>, Access1D<PrimitiveNumber>, Mutate1D, Structure1D, EntryList<K, PrimitiveNumber>, Paired<K, PrimitiveNumber>
- Direct Known Subclasses:
EntrySet.ObjectByte, EntrySet.ObjectDouble, EntrySet.ObjectFloat, EntrySet.ObjectInt, EntrySet.ObjectLong, EntrySet.ObjectShort
abstract static class EntrySet.KeyedPrimitives<K>
extends EntrySet<K, PrimitiveNumber>
implements Access1D<PrimitiveNumber>, Mutate1D
-
Nested Class Summary
Nested classes/interfaces inherited from class EntrySet
EntrySet.EntryView<K,V>, EntrySet.KeyedPrimitives<K>, EntrySet.ObjectByte<K>, EntrySet.ObjectDouble<K>, EntrySet.ObjectFloat<K>, EntrySet.ObjectInt<K>, EntrySet.ObjectLong<K>, EntrySet.ObjectObject<K, V>, EntrySet.ObjectShort<K>, EntrySet.ViewingIterator<K, V> Nested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface Mutate1D
Mutate1D.Fillable<N>, Mutate1D.Mixable<N>, Mutate1D.Modifiable<N>, Mutate1D.ModifiableReceiver<N>, Mutate1D.Receiver<N>, Mutate1D.SortableNested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal longcount()The total number of elements in this structure.final PrimitiveNumberget(long index) Methods inherited from class EntrySet
get, getKey, getPair, getValue, iterator, setValue, size, spliteratorMethods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, subList, toArray, toArrayMethods inherited from interface Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface Structure1D
size
-
Constructor Details
-
KeyedPrimitives
KeyedPrimitives(K[] keys)
-
-
Method Details
-
count
public final long count()Description copied from interface:Structure1DThe total number of elements in this structure.You only need to implement this method if the structure can contain more than Integer.MAX_VALUE elements.
- Specified by:
countin interfaceStructure1D
-
get
-