Package org.ojalgo.type.keyvalue
Class EntrySet.ObjectInt<K>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<java.util.Map.Entry<K,V>>
-
- org.ojalgo.type.keyvalue.EntrySet<K,PrimitiveNumber>
-
- org.ojalgo.type.keyvalue.EntrySet.KeyedPrimitives<K>
-
- org.ojalgo.type.keyvalue.EntrySet.ObjectInt<K>
-
- All Implemented Interfaces:
java.lang.Iterable<java.util.Map.Entry<K,PrimitiveNumber>>
,java.util.Collection<java.util.Map.Entry<K,PrimitiveNumber>>
,java.util.List<java.util.Map.Entry<K,PrimitiveNumber>>
,java.util.Set<java.util.Map.Entry<K,PrimitiveNumber>>
,Access1D<PrimitiveNumber>
,Mutate1D
,Structure1D
,EntryList<K,PrimitiveNumber>
,Paired<K,PrimitiveNumber>
static final class EntrySet.ObjectInt<K> extends EntrySet.KeyedPrimitives<K>
-
-
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 java.lang.Comparable<N>>, Access1D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends java.lang.Comparable<N>>, Access1D.SelectionView<N extends java.lang.Comparable<N>>, Access1D.Sliceable<N extends java.lang.Comparable<N>>, Access1D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends java.lang.Comparable<N>>, Mutate1D.Mixable<N extends java.lang.Comparable<N>>, Mutate1D.Modifiable<N extends java.lang.Comparable<N>>, Mutate1D.ModifiableReceiver<N extends java.lang.Comparable<N>>, Mutate1D.Receiver<N extends java.lang.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
Fields Modifier and Type Field Description private int[]
myValues
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long index, double addend)
void
add(long index, float addend)
void
add(long index, java.lang.Comparable<?> addend)
double
doubleValue(int index)
float
floatValue(int index)
EntryPair<K,PrimitiveNumber>
get(int index)
PrimitiveNumber
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, java.lang.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.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, 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
-
-
-
-
Constructor Detail
-
ObjectInt
ObjectInt(K[] keys, int[] values)
-
-
Method Detail
-
add
public void add(long index, java.lang.Comparable<?> addend)
-
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
public EntryPair<K,PrimitiveNumber> get(int index)
- Specified by:
get
in interfacejava.util.List<K>
- Specified by:
get
in classEntrySet<K,PrimitiveNumber>
-
getValue
public PrimitiveNumber getValue(int index)
- 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
public void set(long index, java.lang.Comparable<?> value)
-
setValue
public void setValue(int index, PrimitiveNumber value)
- Specified by:
setValue
in classEntrySet<K,PrimitiveNumber>
-
-