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

Class GrowQueue_F32



  • public class GrowQueue_F32
    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
      float[] data 
      int size 
    • Method Summary

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

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

      • data

        public float[] data
      • size

        public int size
    • Constructor Detail

      • GrowQueue_F32

        public GrowQueue_F32(int maxSize)
      • GrowQueue_F32

        public GrowQueue_F32()
    • Method Detail

      • reset

        public void reset()
      • addAll

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

        public void add(float val)
      • push

        public void push(float val)
      • remove

        public void remove(int index)
      • insert

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

        public float removeTail()
      • get

        public float get(int index)
      • unsafe_get

        public float unsafe_get(int index)
      • set

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

        public void fill(float value)
      • resize

        public void resize(int size)
      • setMaxSize

        public void setMaxSize(int size)
      • size

        public int size()
      • pop

        public float pop()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.