com.threerings.util
Class StreamableArrayIntSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Integer>
com.samskivert.util.AbstractIntSet
com.samskivert.util.ArrayIntSet
com.threerings.util.StreamableArrayIntSet
- All Implemented Interfaces:
- Interable, IntSet, Streamable, Serializable, Cloneable, Iterable<Integer>, Collection<Integer>, Set<Integer>
public class StreamableArrayIntSet
- extends ArrayIntSet
- implements Streamable
A ArrayIntSet extension that can be streamed.
- See Also:
- Serialized Form
| Methods inherited from class com.samskivert.util.ArrayIntSet |
add, binarySearch, clear, clone, contains, equals, get, hashCode, interator, isEmpty, remove, removeDuplicates, retainAll, size, toIntArray, toIntArray, toShortArray |
StreamableArrayIntSet
public StreamableArrayIntSet(int[] values)
StreamableArrayIntSet
public StreamableArrayIntSet(int initialCapacity)
StreamableArrayIntSet
public StreamableArrayIntSet()
writeObject
public void writeObject(ObjectOutputStream out)
throws IOException
- Writes our custom streamable fields.
- Throws:
IOException
readObject
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads our custom streamable fields.
- Throws:
IOException
ClassNotFoundException