org.nodal.model
Interface ByteSeq

All Superinterfaces:
DoubleSeq, FloatSeq, IntSeq, LongSeq, Seq, ShortSeq

public interface ByteSeq
extends ShortSeq

A subclass of Seq for accessing sequences of bytes.

Author:
leei

Nested Class Summary
 
Nested classes inherited from class org.nodal.model.Seq
Seq.SeqType
 
Method Summary
 byte[] asByteArray()
          Return the byte array equivalent to this Seq
 byte byteAt(int i)
          Return the unboxed byte at the given index.
 
Methods inherited from interface org.nodal.model.ShortSeq
shortAt
 
Methods inherited from interface org.nodal.model.IntSeq
intAt
 
Methods inherited from interface org.nodal.model.LongSeq
longAt
 
Methods inherited from interface org.nodal.model.Seq
elementAt, size, type
 
Methods inherited from interface org.nodal.model.FloatSeq
floatAt
 
Methods inherited from interface org.nodal.model.DoubleSeq
doubleAt
 

Method Detail

byteAt

public byte byteAt(int i)
Return the unboxed byte at the given index.

Parameters:
i - the index
Returns:
the unboxed byte at the given index

asByteArray

public byte[] asByteArray()
Return the byte array equivalent to this Seq

Returns:
the array of bytes