Maven module :un.api : api-common :
Class : un.api.collection.primitive.FloatSequence
Extends/Implements : un.api.collection.AbstractSequence un.api.collection.primitive.PrimitiveSequence
Subclasses : -

author  Johann Sorel


Variables : -
Functions : FloatSequence, FloatSequence, skip, put, put, put, getBackArray, toArrayFloat, toArray, read, read, startWidth, startWidth, endWidth, endWidth, trimStart, trimEnd, getSize, removeAll, contains, moveTo, removeNext, insert, insert, insert, get, add, remove



public void FloatSequence ()

public void FloatSequence (float[] buffer)


move one pixel ahead preserving buffer value or
filling it with zero if buffer was resized.
public FloatSequence skip ()

public FloatSequence put (float b)

public FloatSequence put (float[] b)

public FloatSequence put (float[] b, int offset, int length)


return  the underlying array,
it's size might be larger then the current buffer size.
public float[] getBackArray ()


return  float array
public float[] toArrayFloat ()

public Object[] toArray ()

public float read (int index)

public int read (int index, float[] buffer, int offset, int length)


Test if byte buffer starts by a given array.
param  buffer start array
return  true if the buffer starts with the given serie of bytes.
public boolean startWidth (float[] buffer)


Test if byte buffer starts by a given array.
param  buffer start array
param  offset start offset
param  length number of elements to test
return  true if the buffer starts with the given serie of bytes.
public boolean startWidth (float[] buffer, int offset, int length)


Test if byte buffer ends by a given array.
param  buffer end array
return  true if the buffer ends with the given serie of bytes.
public boolean endWidth (float[] buffer)


Test if byte buffer ends by a given array.
param  buffer end array
param  offset end offset
param  length number of elements to test
return  true if the buffer ends with the given serie of bytes.
public boolean endWidth (float[] buffer, int offset, int length)


Remove given number of bytes at buffer start.
param  nbbyte number of bytes to remove
public void trimStart (int nbbyte)


Remove given number of bytes at buffer end.
param  nbbyte number of bytes to remove
public void trimEnd (int nbbyte)

public int getSize ()

public boolean removeAll ()

public boolean contains (float i)

public FloatSequence moveTo (int position)


Remove the N next elements.
param  nbElement
public boolean removeNext (int nbElement)

public FloatSequence insert (float b)

public FloatSequence insert (float[] b)

public FloatSequence insert (float[] b, int offset, int length)

public Object get (int index)

public boolean add (int index, Object value)

public boolean remove (int index)