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

Class GrowQueue_B



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

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

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

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

      • data

        public boolean[] data
      • size

        public int size
    • Constructor Detail

      • GrowQueue_B

        public GrowQueue_B(int maxSize)
      • GrowQueue_B

        public GrowQueue_B()
    • Method Detail

      • reset

        public void reset()
      • add

        public void add(boolean value)
      • push

        public void push(boolean val)
      • get

        public boolean get(int index)
      • unsafe_get

        public boolean unsafe_get(int index)
      • set

        public void set(int index,
                        boolean value)
      • fill

        public void fill(boolean value)
      • insert

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

        public boolean removeTail()
      • resize

        public void resize(int size)
      • setMaxSize

        public void setMaxSize(int size)
      • size

        public int size()
      • pop

        public boolean pop()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.