danbikel.wordnet
Class ParentPointerFilter
java.lang.Object
|
+--danbikel.wordnet.ParentPointerFilter
- All Implemented Interfaces:
- Filter, Serializable
- public class ParentPointerFilter
- extends Object
- implements Filter
Allows filtering out all WNPointer objects that are
not parent (hypernym) pointers.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
f(Object o)
Returns true if o is a WNPointer object that
represents a hypernym pointer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentPointerFilter
public ParentPointerFilter()
f
public boolean f(Object o)
- Returns true if
o is a WNPointer object that
represents a hypernym pointer.
- Specified by:
f in interface Filter
- Parameters:
o - an object expected to be of type WNPointer.
Author: Dan Bikel