|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.index.IndexerSet
IndexerSet is a comma separated list that holds the names of indexers.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
indexers
|
private Vector |
indexerSet
|
private static int |
INIITIAL_COLLECTION_SIZE
Initial allocation size of vector to contain collection names (i.e. |
private static int |
INIITIAL_STRBUFFER_SIZE
Initial allocation size of string buffer used to build up the indexers field. |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static boolean |
VERBOSE_POLICY
|
private static long |
VERSION_PRE_31_UID
|
private static long |
VERSION_PRE_60_UID
|
Constructor Summary | |
IndexerSet()
No-arg constuctor. |
|
IndexerSet(String set_str)
Constructor that takes as input the string representation of the set. |
Method Summary | |
boolean |
addIndexer(String indexer)
Adds indexer to the list. |
boolean |
contains(String indexer)
Determines if indexer is in the list. |
Enumeration |
elements()
Returns the indexers of the list as an enumeration of type String. |
protected String |
getIndexers()
Gets the value of the attribute: indexers; Set of indexers. |
boolean |
isEmpty()
Returns true if there is no colection; false otherwise. |
IndexerSet |
merge(IndexerSet set)
Performs the union of the current set of indexers with the given one. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(IndexerSet thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
rebuildState()
|
private void |
rebuildStateFrom(IndexerSet decoded_indexer_set)
|
private void |
rebuildStateFrom(Vector decoded_vector)
|
boolean |
removeIndexer(String indexer)
Removes indexer from the list. |
protected void |
setIndexers(String a_Indexers)
Sets the value of the attribute: indexers; Set of indexers. |
private void |
synchronizeState()
Makes sure that the indexers and indexerSet fields are consistent. |
String |
toString()
Returns a string representation of the indexer set. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String indexers
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final long VERSION_PRE_60_UID
private static final long VERSION_PRE_31_UID
private static boolean VERBOSE_POLICY
private Vector indexerSet
private static final int INIITIAL_STRBUFFER_SIZE
private static final int INIITIAL_COLLECTION_SIZE
Constructor Detail |
public IndexerSet()
public IndexerSet(String set_str)
set_str
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(IndexerSet thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
protected String getIndexers()
protected void setIndexers(String a_Indexers)
a_Indexers
- public boolean addIndexer(String indexer)
indexer
-
public boolean removeIndexer(String indexer)
indexer
-
public boolean contains(String indexer)
indexer
-
public boolean isEmpty()
public Enumeration elements()
public IndexerSet merge(IndexerSet set)
set
-
public String toString()
private void synchronizeState()
private void rebuildState()
private void rebuildStateFrom(Vector decoded_vector)
private void rebuildStateFrom(IndexerSet decoded_indexer_set)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |