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

Class GrowQueue_F64



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

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

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

      • data

        public double[] data
      • size

        public int size
    • Constructor Detail

      • GrowQueue_F64

        public GrowQueue_F64(int maxSize)
      • GrowQueue_F64

        public GrowQueue_F64()
    • Method Detail

      • reset

        public void reset()
      • addAll

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

        public void add(double val)
      • push

        public void push(double val)
      • remove

        public void remove(int index)
      • insert

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

        public double removeTail()
      • get

        public double get(int index)
      • unsafe_get

        public double unsafe_get(int index)
      • set

        public void set(int index,
                        double value)
      • resize

        public void resize(int size)
      • fill

        public void fill(double value)
      • setMaxSize

        public void setMaxSize(int size)
      • size

        public int size()
      • pop

        public double pop()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.