LimeWire Collection Component API

Serialized Form


Package org.limewire.collection

Class org.limewire.collection.BitSet extends Object implements Serializable

serialVersionUID: 7997698588986878753L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
This override of readObject makes sure unitsInUse is set properly when deserializing a bitset

Throws:
IOException
ClassNotFoundException
Serialized Fields

bits

long[] bits
The bits in this BitSet. The ith bit is stored in bits[i/64] at bit position i % 64 (where bit position 0 refers to the least significant bit and 63 refers to the most significant bit). INVARIANT: The words in bits[] above unitInUse-1 are zero.

 

Class org.limewire.collection.CharSequenceKeyAnalyzer extends Object implements Serializable

serialVersionUID: -7032449491269434877L

Class org.limewire.collection.Comparators.CaseInsensitiveStringComparator extends Object implements Serializable

serialVersionUID: 263123571237995212L

Class org.limewire.collection.FixedSizeArrayHashMap extends HashMap<K,V> implements Serializable

Serialized Fields

buf

Buffer<E> buf

Class org.limewire.collection.FixedSizeArrayHashSet extends HashSet<E> implements Serializable

Class org.limewire.collection.FixedsizeForgetfulHashMap extends LinkedHashMap<K,V> implements Serializable

Serialized Fields

MAXIMUM_SIZE

int MAXIMUM_SIZE
Maximum number of elements to be stored in the underlying hashMap

Class org.limewire.collection.ForgetfulHashMap extends HashMap<K,V> implements Serializable

Serialized Fields

queue

Object[] queue

next

int next

n

int n

Class org.limewire.collection.IdentityHashSet extends AbstractSet<E> implements Serializable

serialVersionUID: -5024744406713321677L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the IdentityHashSet instance from a stream (that is, deserialize it).

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this IdentityHashSet instance to a stream (that is, serialize this set).

Serial Data:
The capacity of the backing IdentityHashMap instance (int), and its load factor (float) are emitted, followed by the size of the set (the number of elements it contains) (int), followed by all of its elements (each an Object) in no particular order.
Throws:
IOException

Class org.limewire.collection.IntervalSet extends Object implements Serializable

serialVersionUID: -7791242963023638684L

Serialized Fields

intervals

List<E> intervals
The sorted set of intervals this contains.

Class org.limewire.collection.IntHashMap extends Object implements Serializable

serialVersionUID: 2514013526418191636L

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Throws:
IOException
Serialized Fields

threshold

int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is (int)(capacity * loadFactor).)

 

loadFactor

float loadFactor
The load factor for the hashtable.

 

Class org.limewire.collection.LongInterval extends Range implements Serializable

serialVersionUID: -2562093104400487445L

Serialized Fields

low

long low

high

long high

Class org.limewire.collection.NoMoreStorageException extends RuntimeException implements Serializable

Class org.limewire.collection.PatriciaTrie extends AbstractMap<K,V> implements Serializable

serialVersionUID: 110232526181493307L

Serialized Fields

root

org.limewire.collection.PatriciaTrie.TrieEntry<K,V> root
The root element of the Trie.


size

int size
The current size (total number of elements) of the Trie.


keyAnalyzer

PatriciaTrie.KeyAnalyzer<K> keyAnalyzer
The keyAnalyzer used to analyze bit values of keys.

Class org.limewire.collection.RandomOrderHashMap extends FixedSizeArrayHashMap<K,V> implements Serializable

Class org.limewire.collection.RandomOrderHashSet extends FixedSizeArrayHashSet<T> implements Serializable

Class org.limewire.collection.Range extends Object implements Serializable

serialVersionUID: -2562093104400487223L


LimeWire Collection Component API

Copyright © 2008 Lime Wire LLC. All Rights Reserved.