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.SortableNested 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 TypeMethodDescriptionvoidadd(long index, double addend) voidadd(long index, float addend) voidadd(long index, Comparable<?> addend) doubledoubleValue(int index) floatfloatValue(int index) get(int index) getValue(int index) intintValue(int index) longlongValue(int index) voidset(int index, double value) voidset(int index, float value) voidset(long index, Comparable<?> value) voidsetValue(int index, PrimitiveNumber value) Methods inherited from class org.ojalgo.type.keyvalue.EntrySet.KeyedPrimitives
count, getMethods inherited from class org.ojalgo.type.keyvalue.EntrySet
getKey, getPair, iterator, size, spliteratorMethods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, intValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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, toArrayMethods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, setMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods 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:
getValuein interfacePaired<K,PrimitiveNumber> - Specified by:
getValuein 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:
setValuein classEntrySet<K,PrimitiveNumber>
-