Class Int32sRef
Represents int[], as a slice (offset + length) into an
existing int[]. The Int32s member should never be null
; use
EMPTY_INT32S if necessary.
NOTE: This was IntsRef in Lucene
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class Int32sRef : IComparable<Int32sRef>
Constructors
Name | Description |
---|---|
Int32sRef() | Create a Int32sRef with EMPTY_INT32S. |
Int32sRef(Int32) | Create a Int32sRef pointing to a new array of size |
Int32sRef(Int32[], Int32, Int32) | This instance will directly reference |
Fields
Name | Description |
---|---|
EMPTY_INT32S | An empty integer array for convenience. NOTE: This was EMPTY_INTS in Lucene |
Properties
Name | Description |
---|---|
Int32s | The contents of the Int32sRef. Should never be NOTE: This was ints (field) in Lucene |
Length | Length of used |
Offset | Offset of first valid integer. |
Methods
Name | Description |
---|---|
Clone() | Returns a shallow clone of this instance (the underlying |
CompareTo(Int32sRef) | Signed |
CopyInt32s(Int32sRef) | NOTE: This was copyInts() in Lucene |
DeepCopyOf(Int32sRef) | Creates a new Int32sRef that points to a copy of the
The returned Int32sRef 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 |
Int32sEquals(Int32sRef) | NOTE: This was intsEquals() in Lucene |
IsValid() | Performs internal consistency checks.
Always returns true (or throws |
ToString() |