Class Int64sRef
Represents long[], as a slice (offset + length) into an
existing long[]. The Int64s member should never be null
; use
EMPTY_INT64S if necessary.
NOTE: This was LongsRef in Lucene
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class Int64sRef : IComparable<Int64sRef>
Constructors
Name | Description |
---|---|
Int64sRef() | Create a Int64sRef with EMPTY_INT64S |
Int64sRef(Int32) | Create a Int64sRef pointing to a new array of size |
Int64sRef(Int64[], Int32, Int32) | This instance will directly reference |
Fields
Name | Description |
---|---|
EMPTY_INT64S | An empty NOTE: This was EMPTY_LONGS in Lucene |
Properties
Name | Description |
---|---|
Int64s | The contents of the Int64sRef. Should never be NOTE: This was longs (field) in Lucene |
Length | Length of used longs. |
Offset | Offset of first valid long. |
Methods
Name | Description |
---|---|
Clone() | Returns a shallow clone of this instance (the underlying |
CompareTo(Int64sRef) | Signed |
CopyInt64s(Int64sRef) | NOTE: This was copyLongs() in Lucene |
DeepCopyOf(Int64sRef) | Creates a new Int64sRef that points to a copy of the
The returned Int64sRef will have a length of |
Equals(Object) | |
GetHashCode() | |
Grow(Int32) | Used to grow the reference array. In general this should not be used as it does not take the offset into account. @lucene.internal |
Int64sEquals(Int64sRef) | NOTE: This was longsEquals() in Lucene |
IsValid() | Performs internal consistency checks.
Always returns |
ToString() |