public class TByteListDecorator
extends java.util.AbstractList<java.lang.Byte>
implements java.util.List<java.lang.Byte>, java.io.Externalizable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected TByteList |
list
the wrapped primitive list
|
| Constructor and Description |
|---|
TByteListDecorator()
FOR EXTERNALIZATION ONLY!!
|
TByteListDecorator(TByteList list)
Creates a wrapper that decorates the specified primitive map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Byte value) |
java.lang.Byte |
get(int index) |
TByteList |
getList()
Returns a reference to the list wrapped by this decorator.
|
void |
readExternal(java.io.ObjectInput in) |
java.lang.Byte |
remove(int index) |
java.lang.Byte |
set(int index,
java.lang.Byte value) |
int |
size() |
void |
writeExternal(java.io.ObjectOutput out) |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected TByteList list
public TByteListDecorator()
public TByteListDecorator(TByteList list)
list - the TByteList to wrap.public TByteList getList()
public int size()
size in interface java.util.Collection<java.lang.Byte>size in interface java.util.List<java.lang.Byte>size in class java.util.AbstractCollection<java.lang.Byte>public java.lang.Byte get(int index)
get in interface java.util.List<java.lang.Byte>get in class java.util.AbstractList<java.lang.Byte>public java.lang.Byte set(int index,
java.lang.Byte value)
set in interface java.util.List<java.lang.Byte>set in class java.util.AbstractList<java.lang.Byte>public void add(int index,
java.lang.Byte value)
add in interface java.util.List<java.lang.Byte>add in class java.util.AbstractList<java.lang.Byte>public java.lang.Byte remove(int index)
remove in interface java.util.List<java.lang.Byte>remove in class java.util.AbstractList<java.lang.Byte>public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException