Class EntrySet.ObjectByte<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.ObjectByte<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 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
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long index, double addend) voidadd(long index, float addend) voidadd(long index, Comparable<?> addend) bytebyteValue(int index) 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) shortshortValue(long index) Methods inherited from class EntrySet.KeyedPrimitives
count, getMethods 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, dot, doubleValue, elements, floatValue, intValue, longValue, nonzeros, select, 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 Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface Structure1D
size
-
Field Details
-
myValues
private final byte[] myValues
-
-
Constructor Details
-
ObjectByte
ObjectByte(K[] keys, byte[] values)
-
-
Method Details
-
add
-
add
public void add(long index, double addend) -
add
public void add(long index, float addend) -
byteValue
public byte byteValue(int index) -
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>
-
shortValue
public short shortValue(long index)
-