Documentation of 'org.ddogleg.struct.GrowQueue_I64' Java class
GrowQueue_I64
org.ddogleg.struct

Class GrowQueue_I64



  • public class GrowQueue_I64
    extends java.lang.Object
    This is a queue that is composed of integers. Elements are added and removed from the tail
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      long[] data 
      int size 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(long value) 
      void addAll(GrowQueue_I64 queue) 
      void addAll(long[] array, int startIndex, int endIndex) 
      void fill(long value) 
      long get(int index) 
      void insert(int index, long value)
      Inserts the value at the specified index and shifts all the other values down.
      long pop() 
      void push(long val) 
      void remove(int index) 
      long removeTail() 
      void reset() 
      void resize(int size) 
      void set(int index, long value) 
      void setMaxSize(int size) 
      void setTo(GrowQueue_I64 original) 
      int size() 
      long unsafe_get(int index) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • data

        public long[] data
      • size

        public int size
    • Constructor Detail

      • GrowQueue_I64

        public GrowQueue_I64(int maxSize)
      • GrowQueue_I64

        public GrowQueue_I64()
    • Method Detail

      • reset

        public void reset()
      • addAll

        public void addAll(long[] array,
                           int startIndex,
                           int endIndex)
      • add

        public void add(long value)
      • push

        public void push(long val)
      • get

        public long get(int index)
      • unsafe_get

        public long unsafe_get(int index)
      • set

        public void set(int index,
                        long value)
      • remove

        public void remove(int index)
      • insert

        public void insert(int index,
                           long value)
        Inserts the value at the specified index and shifts all the other values down.
      • removeTail

        public long removeTail()
      • resize

        public void resize(int size)
      • fill

        public void fill(long value)
      • setMaxSize

        public void setMaxSize(int size)
      • size

        public int size()
      • pop

        public long pop()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.