Package org.ojalgo.type.keyvalue
Class EntrySet.ObjectInt<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>
org.ojalgo.type.keyvalue.EntrySet.ObjectInt<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>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.type.keyvalue.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 org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,
R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.SelectionView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends Comparable<N>>, Mutate1D.Mixable<N extends Comparable<N>>, Mutate1D.Modifiable<N extends Comparable<N>>, Mutate1D.ModifiableReceiver<N extends Comparable<N>>, Mutate1D.Receiver<N extends Comparable<N>>, Mutate1D.Sortable
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long index, double addend) void
add
(long index, float addend) void
add
(long index, Comparable<?> addend) double
doubleValue
(int index) float
floatValue
(int index) get
(int index) getValue
(int index) int
intValue
(int index) long
longValue
(int index) void
set
(int index, double value) void
set
(int index, float value) void
set
(long index, Comparable<?> value) void
setValue
(int index, PrimitiveNumber value) Methods inherited from class org.ojalgo.type.keyvalue.EntrySet.KeyedPrimitives
count, get
Methods inherited from class org.ojalgo.type.keyvalue.EntrySet
getKey, getPair, iterator, size, spliterator
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, intValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toRawCopy1D
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.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, toArray
Methods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from interface org.ojalgo.structure.Structure1D
size
-
Field Details
-
myValues
private final int[] myValues
-
-
Constructor Details
-
ObjectInt
ObjectInt(K[] keys, int[] values)
-
-
Method Details
-
add
-
add
public void add(long index, double addend) -
add
public void add(long index, float addend) -
doubleValue
public double doubleValue(int index) -
floatValue
public float floatValue(int index) -
get
-
getValue
- Specified by:
getValue
in interfacePaired<K,
PrimitiveNumber> - Specified by:
getValue
in classEntrySet<K,
PrimitiveNumber>
-
intValue
public int intValue(int index) -
longValue
public long longValue(int index) -
set
public void set(int index, double value) -
set
public void set(int index, float value) -
set
-
setValue
- Specified by:
setValue
in classEntrySet<K,
PrimitiveNumber>
-