|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--edu.vt.marian.search.EmptyWtdObjSet
The Weighted Object Set with no elements.
JDK Version : 1.1.5
WtdObjSet,
EmptyWtdObjSetEnum| Field Summary | |
protected edu.vt.marian.common.Debug |
debug
|
| Constructor Summary | |
EmptyWtdObjSet(edu.vt.marian.common.Debug d)
|
|
| Method Summary | |
int |
approxSize()
Return the approximate number of elements in this set (can be cheap and dirty). |
WtdObjSetEnumeration |
elements()
Create an Enumeration -- actually a WtdObjSetEnumeration -- for this set. |
int |
exactSize()
Return the exact number of elements in this set (may be costly). |
edu.vt.marian.common.Weight |
isElt(edu.vt.marian.common.FullID id)
Is a given ID an element of this set? |
boolean |
isEmpty()
Is this set empty? |
int |
maxSize()
Return the maximum number of elements in this set (can be cheap and dirty). |
java.lang.String |
profile()
Return a short human-readable string that quickly describes this set. |
java.lang.String |
toString()
Return a human-readable string for this entire set (may be large). |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected edu.vt.marian.common.Debug debug
| Constructor Detail |
public EmptyWtdObjSet(edu.vt.marian.common.Debug d)
| Method Detail |
public WtdObjSetEnumeration elements()
public boolean isEmpty()
public edu.vt.marian.common.Weight isElt(edu.vt.marian.common.FullID id)
id - The (ID of the) element to be tested.public int exactSize()
public int approxSize()
public int maxSize()
public java.lang.String toString()
public java.lang.String profile()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||