org.ddogleg.struct
Class GrowQueue_F32
- java.lang.Object
-
- org.ddogleg.struct.GrowQueue_F32
-
public class GrowQueue_F32 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_F32()GrowQueue_F32(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(float val)voidaddAll(float[] array, int startIndex, int endIndex)voidaddAll(GrowQueue_F32 queue)voidfill(float value)floatget(int index)voidinsert(int index, float value)Inserts the value at the specified index and shifts all the other values down.floatpop()voidpush(float val)voidremove(int index)floatremoveTail()voidreset()voidresize(int size)voidset(int index, float value)voidsetMaxSize(int size)voidsetTo(GrowQueue_F32 original)intsize()floatunsafe_get(int index)
-
-
-
Constructor Detail
-
GrowQueue_F32
public GrowQueue_F32(int maxSize)
-
GrowQueue_F32
public GrowQueue_F32()
-
-
Method Detail
-
reset
public void reset()
-
addAll
public void addAll(GrowQueue_F32 queue)
-
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)
-
setTo
public void setTo(GrowQueue_F32 original)
-
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