Java Access to WordNet

danbikel.wordnet
Class ChildPointerFilter

java.lang.Object
  |
  +--danbikel.wordnet.ChildPointerFilter
All Implemented Interfaces:
Filter, Serializable

public class ChildPointerFilter
extends Object
implements Filter

Allows filtering out all WNPointer objects that are not child (hyponym) pointers.

See Also:
Serialized Form

Constructor Summary
ChildPointerFilter()
           
 
Method Summary
 boolean f(Object o)
          Returns true if o is a WNPointer object that represents a hyponym pointer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildPointerFilter

public ChildPointerFilter()
Method Detail

f

public boolean f(Object o)
Returns true if o is a WNPointer object that represents a hyponym pointer.

Specified by:
f in interface Filter
Parameters:
o - an object expected to be of type WNPointer.

Java Access to WordNet

Author: Dan Bikel