Class

org.locationtech.geomesa.utils.collection

CircularByteQueue

Related Doc: package collection

Permalink

class CircularByteQueue extends AnyRef

Growable byte queue that holds values in a circular array to minimize allocations

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CircularByteQueue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CircularByteQueue(initialSize: Int = 16)

    Permalink

    initialSize

    initial buffer size

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++=(bytes: Array[Byte]): Unit

    Permalink

    Enqueue multiple bytes

    Enqueue multiple bytes

    bytes

    bytes

  4. def +=(byte: Byte): Unit

    Permalink

    Enqueue a single byte

    Enqueue a single byte

    byte

    byte

  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def capacity: Int

    Permalink

    Current remaining capacity.

    Current remaining capacity. In general this is not relevant, as the queue will grow as needed, but it can be useful for debugging

    returns

    current capacity of the buffer

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def dequeue(count: Int): Array[Byte]

    Permalink

    Dequeue bytes

    Dequeue bytes

    count

    number of bytes to remove

  10. def drop(count: Int): Unit

    Permalink

    Drop bytes

    Drop bytes

    count

    number of bytes to drop

  11. def enqueue(bytes: Array[Byte], offset: Int, count: Int): Unit

    Permalink

    Enqueue multiple bytes

    Enqueue multiple bytes

    bytes

    bytes

    offset

    offset into the array to start reading, must be valid for the bytes passed in

    count

    number of bytes to enqueue, must be valid for the size of the bytes and offset passed in

  12. def enqueue(byte: Byte): Unit

    Permalink

    Enqueue a single byte

    Enqueue a single byte

    byte

    byte

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def size: Int

    Permalink

    Number of bytes stored in this buffer

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped