Show / Hide Table of Contents

    Class Int64Buffer

    A buffer of longs.

    A long buffer can be created in either of the following ways:

    • Allocate(Int32) a new long array and create a buffer based on it
    • Wrap(Int64[]) an existing long array to create a new buffer

    Inheritance
    System.Object
    Buffer
    Int64Buffer
    Implements
    System.IComparable<Int64Buffer>
    Inherited Members
    Buffer.Capacity
    Buffer.Clear()
    Buffer.Flip()
    Buffer.HasRemaining
    Buffer.IsReadOnly
    Buffer.Limit
    Buffer.SetLimit(Int32)
    Buffer.Mark()
    Buffer.Position
    Buffer.SetPosition(Int32)
    Buffer.Remaining
    Buffer.Reset()
    Buffer.Rewind()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Support.IO
    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
    Type Description
    ByteOrder
    | 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
    Type Description
    Int64Buffer

    the created long buffer.

    Exceptions
    Type Condition
    System.ArgumentException

    if capacity is less than zero.

    | Improve this Doc View Source

    AsReadOnlyBuffer()

    Declaration
    public abstract Int64Buffer AsReadOnlyBuffer()
    Returns
    Type Description
    Int64Buffer
    | Improve this Doc View Source

    Compact()

    Declaration
    public abstract Int64Buffer Compact()
    Returns
    Type Description
    Int64Buffer
    | Improve this Doc View Source

    CompareTo(Int64Buffer)

    Declaration
    public int CompareTo(Int64Buffer otherBuffer)
    Parameters
    Type Name Description
    Int64Buffer otherBuffer
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Duplicate()

    Declaration
    public abstract Int64Buffer Duplicate()
    Returns
    Type Description
    Int64Buffer
    | 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
    Type Description
    Int64Buffer
    | 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
    Type Description
    Int64Buffer
    | 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
    Type Name Description
    Int64Buffer src
    Returns
    Type Description
    Int64Buffer
    | 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
    Type Description
    Int64Buffer
    | Improve this Doc View Source

    Put(Int64)

    Declaration
    public abstract Int64Buffer Put(long l)
    Parameters
    Type Name Description
    System.Int64 l
    Returns
    Type Description
    Int64Buffer
    | Improve this Doc View Source

    Put(Int64[])

    Declaration
    public Int64Buffer Put(long[] src)
    Parameters
    Type Name Description
    System.Int64[] src
    Returns
    Type Description
    Int64Buffer
    | 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
    Type Description
    Int64Buffer
    | Improve this Doc View Source

    Slice()

    Declaration
    public abstract Int64Buffer Slice()
    Returns
    Type Description
    Int64Buffer
    | 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
    Type Description
    Int64Buffer

    the created long buffer.

    | 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
    Type Description
    Int64Buffer

    Implements

    System.IComparable<T>

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)