org.ddogleg.struct
Class GrowQueue_F64
- java.lang.Object
-
- org.ddogleg.struct.GrowQueue_F64
-
public class GrowQueue_F64 extends java.lang.ObjectThis is a queue that is composed of integers. Elements are added and removed from the tail
-
-
Constructor Summary
Constructors Constructor and Description GrowQueue_F64()GrowQueue_F64(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(double val)voidaddAll(double[] array, int startIndex, int endIndex)voidaddAll(GrowQueue_F64 queue)voidfill(double value)doubleget(int index)voidinsert(int index, double value)Inserts the value at the specified index and shifts all the other values down.doublepop()voidpush(double val)voidremove(int index)doubleremoveTail()voidreset()voidresize(int size)voidset(int index, double value)voidsetMaxSize(int size)voidsetTo(GrowQueue_F64 original)intsize()doubleunsafe_get(int index)
-
-
-
Constructor Detail
-
GrowQueue_F64
public GrowQueue_F64(int maxSize)
-
GrowQueue_F64
public GrowQueue_F64()
-
-
Method Detail
-
reset
public void reset()
-
addAll
public void addAll(GrowQueue_F64 queue)
-
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)
-
setTo
public void setTo(GrowQueue_F64 original)
-
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