Java Access to WordNet

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

Constructor Summary
ParentPointerFilter()
           
 
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
 

Constructor Detail

ParentPointerFilter

public ParentPointerFilter()
Method Detail

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.

Java Access to WordNet

Author: Dan Bikel