|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.scripting.ldap.AttributeValueList
This class defines a list of explicit values that an attribute may have. The values may be weighted so that some are more likely to occur than others. Values with a larger weight are more likely to occur than values with a smaller weight.
| Constructor Summary | |
AttributeValueList()
Creates a new value list with no values. |
|
| Method Summary | |
void |
addValue(java.lang.String value)
Adds the specified value to the value list. |
void |
addValue(java.lang.String value,
int weight)
Adds the specified value to the value list with the indicated weight. |
void |
completeInitialization()
Indicates that all of the values have been added to the value list and that the value list should be optimized for better performance when retrieving values from it. |
java.lang.String |
nextValue()
Retrieves a value from the value list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeValueList()
| Method Detail |
public void addValue(java.lang.String value)
value - The value to add to the value list.
public void addValue(java.lang.String value,
int weight)
value - The value to add to the value list.weight - The weight to use for the value.public void completeInitialization()
public java.lang.String nextValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||