org.ddogleg.struct
Class GrowQueue_I8
- java.lang.Object
-
- org.ddogleg.struct.GrowQueue_I8
-
public class GrowQueue_I8 extends java.lang.ObjectThis is a queue that is composed of bytes. Elements are added and removed from the tail
-
-
Constructor Summary
Constructors Constructor and Description GrowQueue_I8()GrowQueue_I8(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(int value)voidaddAll(byte[] array, int startIndex, int endIndex)voidaddAll(GrowQueue_I8 queue)voidfill(byte value)intget(int index)voidinsert(int index, int value)Inserts the value at the specified index and shifts all the other values down.intpop()voidpush(int val)byteremoveTail()voidreset()voidresize(int size)voidset(int index, int value)voidsetMaxSize(int size)voidsetTo(GrowQueue_I8 original)intsize()intunsafe_get(int index)
-
-
-
Method Detail
-
reset
public void reset()
-
addAll
public void addAll(GrowQueue_I8 queue)
-
addAll
public void addAll(byte[] array, int startIndex, int endIndex)
-
add
public void add(int value)
-
push
public void push(int val)
-
get
public int get(int index)
-
unsafe_get
public int unsafe_get(int index)
-
set
public void set(int index, int value)
-
setTo
public void setTo(GrowQueue_I8 original)
-
insert
public void insert(int index, int value)Inserts the value at the specified index and shifts all the other values down.
-
removeTail
public byte removeTail()
-
fill
public void fill(byte value)
-
resize
public void resize(int size)
-
setMaxSize
public void setMaxSize(int size)
-
size
public int size()
-
pop
public int pop()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG