org.ddogleg.struct
Class GrowQueue_B
- java.lang.Object
-
- org.ddogleg.struct.GrowQueue_B
-
public class GrowQueue_B extends java.lang.ObjectThis is a queue that is composed of booleans. Elements are added and removed from the tail
-
-
Constructor Summary
Constructors Constructor and Description GrowQueue_B()GrowQueue_B(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(boolean value)voidfill(boolean value)booleanget(int index)voidinsert(int index, boolean value)Inserts the value at the specified index and shifts all the other values down.booleanpop()voidpush(boolean val)booleanremoveTail()voidreset()voidresize(int size)voidset(int index, boolean value)voidsetMaxSize(int size)voidsetTo(GrowQueue_B original)intsize()booleanunsafe_get(int index)
-
-
-
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)
-
setTo
public void setTo(GrowQueue_B original)
-
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