Class Int64Buffer
A buffer of longs.
A long buffer can be created in either of the following ways:
Inheritance
System.Object
Int64Buffer
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.dll
Syntax
public abstract class Int64Buffer : Buffer, IComparable<Int64Buffer>
Properties
|
Improve this Doc
View Source
Array
Declaration
public long[] Array { get; }
Property Value
Type |
Description |
System.Int64[] |
|
|
Improve this Doc
View Source
ArrayOffset
Declaration
public int ArrayOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HasArray
Declaration
public bool HasArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDirect
Declaration
public abstract bool IsDirect { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Order
Declaration
public abstract ByteOrder Order { get; }
Property Value
|
Improve this Doc
View Source
ProtectedArray
Declaration
protected abstract long[] ProtectedArray { get; }
Property Value
Type |
Description |
System.Int64[] |
|
|
Improve this Doc
View Source
ProtectedArrayOffset
Declaration
protected abstract int ProtectedArrayOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ProtectedHasArray
Declaration
protected abstract bool ProtectedHasArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Allocate(Int32)
Creates a long buffer based on a newly allocated long array.
Declaration
public static Int64Buffer Allocate(int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
the capacity of the new buffer.
|
Returns
Exceptions
Type |
Condition |
System.ArgumentException |
if capacity is less than zero.
|
|
Improve this Doc
View Source
AsReadOnlyBuffer()
Declaration
public abstract Int64Buffer AsReadOnlyBuffer()
Returns
|
Improve this Doc
View Source
Compact()
Declaration
public abstract Int64Buffer Compact()
Returns
|
Improve this Doc
View Source
CompareTo(Int64Buffer)
Declaration
public int CompareTo(Int64Buffer otherBuffer)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Duplicate()
Declaration
public abstract Int64Buffer Duplicate()
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Get()
Declaration
public abstract long Get()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Get(Int32)
Declaration
public abstract long Get(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Get(Int64[])
Declaration
public virtual Int64Buffer Get(long[] dest)
Parameters
Type |
Name |
Description |
System.Int64[] |
dest |
|
Returns
|
Improve this Doc
View Source
Get(Int64[], Int32, Int32)
Declaration
public virtual Int64Buffer Get(long[] dest, int off, int len)
Parameters
Type |
Name |
Description |
System.Int64[] |
dest |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Put(Int64Buffer)
Declaration
public virtual Int64Buffer Put(Int64Buffer src)
Parameters
Returns
|
Improve this Doc
View Source
Put(Int32, Int64)
Declaration
public abstract Int64Buffer Put(int index, long l)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
l |
|
Returns
|
Improve this Doc
View Source
Put(Int64)
Declaration
public abstract Int64Buffer Put(long l)
Parameters
Type |
Name |
Description |
System.Int64 |
l |
|
Returns
|
Improve this Doc
View Source
Put(Int64[])
Declaration
public Int64Buffer Put(long[] src)
Parameters
Type |
Name |
Description |
System.Int64[] |
src |
|
Returns
|
Improve this Doc
View Source
Put(Int64[], Int32, Int32)
Declaration
public virtual Int64Buffer Put(long[] src, int off, int len)
Parameters
Type |
Name |
Description |
System.Int64[] |
src |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
Returns
|
Improve this Doc
View Source
Slice()
Declaration
public abstract Int64Buffer Slice()
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Wrap(Int64[])
Creates a new long buffer by wrapping the given long array.
Calling this method has the same effect as
Wrap(array, 0, array.Length)
.
Declaration
public static Int64Buffer Wrap(long[] array)
Parameters
Type |
Name |
Description |
System.Int64[] |
array |
the long array which the new buffer will be based on.
|
Returns
|
Improve this Doc
View Source
Wrap(Int64[], Int32, Int32)
Declaration
public static Int64Buffer Wrap(long[] array, int start, int len)
Parameters
Type |
Name |
Description |
System.Int64[] |
array |
|
System.Int32 |
start |
|
System.Int32 |
len |
|
Returns
Implements
System.IComparable<T>
Extension Methods