Package org.apache.lucene.util.packed
Class Packed64SingleBlock.Packed64SingleBlock4
- java.lang.Object
-
- org.apache.lucene.util.packed.PackedInts.Reader
-
- org.apache.lucene.util.packed.PackedInts.Mutable
-
- org.apache.lucene.util.packed.PackedInts.MutableImpl
-
- org.apache.lucene.util.packed.Packed64SingleBlock
-
- org.apache.lucene.util.packed.Packed64SingleBlock.Packed64SingleBlock4
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Packed64SingleBlock
static class Packed64SingleBlock.Packed64SingleBlock4 extends Packed64SingleBlock
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.util.packed.Packed64SingleBlock
Packed64SingleBlock.Packed64SingleBlock1, Packed64SingleBlock.Packed64SingleBlock10, Packed64SingleBlock.Packed64SingleBlock12, Packed64SingleBlock.Packed64SingleBlock16, Packed64SingleBlock.Packed64SingleBlock2, Packed64SingleBlock.Packed64SingleBlock21, Packed64SingleBlock.Packed64SingleBlock3, Packed64SingleBlock.Packed64SingleBlock32, Packed64SingleBlock.Packed64SingleBlock4, Packed64SingleBlock.Packed64SingleBlock5, Packed64SingleBlock.Packed64SingleBlock6, Packed64SingleBlock.Packed64SingleBlock7, Packed64SingleBlock.Packed64SingleBlock8, Packed64SingleBlock.Packed64SingleBlock9
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.util.packed.Packed64SingleBlock
blocks, MAX_SUPPORTED_BITS_PER_VALUE
-
Fields inherited from class org.apache.lucene.util.packed.PackedInts.MutableImpl
bitsPerValue, valueCount
-
-
Constructor Summary
Constructors Constructor Description Packed64SingleBlock4(int valueCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
get(int index)
Get the long at the given index.void
set(int index, long value)
Set the value at the given index in the array.-
Methods inherited from class org.apache.lucene.util.packed.Packed64SingleBlock
clear, create, create, fill, get, getFormat, isSupported, ramBytesUsed, set, toString
-
Methods inherited from class org.apache.lucene.util.packed.PackedInts.MutableImpl
getBitsPerValue, size
-
Methods inherited from class org.apache.lucene.util.packed.PackedInts.Mutable
save
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
-
-
-
Method Detail
-
get
public long get(int index)
Description copied from class:PackedInts.Reader
Get the long at the given index. Behavior is undefined for out-of-range indices.- Specified by:
get
in classPackedInts.Reader
-
set
public void set(int index, long value)
Description copied from class:PackedInts.Mutable
Set the value at the given index in the array.- Specified by:
set
in classPackedInts.Mutable
- Parameters:
index
- where the value should be positioned.value
- a value conforming to the constraints set by the array.
-
-