edu.princeton.wordnet.browser.tree
Class FilterFactory

java.lang.Object
  extended by edu.princeton.wordnet.browser.tree.FilterFactory

public class FilterFactory
extends java.lang.Object

Filter factory

Author:
Bernard Bou

Nested Class Summary
(package private) static class FilterFactory.LinkWrapper
          Adapt Link to Comparable
 
Constructor Summary
FilterFactory()
           
 
Method Summary
static Filter makeFilter(java.util.Map<java.lang.Object,java.lang.Boolean> thisMap)
          Make filter
static java.util.Map<java.lang.Object,java.lang.Boolean> makeMap(java.util.Collection<edu.princeton.wordnet.pojos.Link> theseLinks, Filter thisFilter)
          Make link-filtered map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterFactory

public FilterFactory()
Method Detail

makeMap

public static java.util.Map<java.lang.Object,java.lang.Boolean> makeMap(java.util.Collection<edu.princeton.wordnet.pojos.Link> theseLinks,
                                                                        Filter thisFilter)
Make link-filtered map

Parameters:
theseLinks - links
thisFilter - filter
Returns:
map

makeFilter

public static Filter makeFilter(java.util.Map<java.lang.Object,java.lang.Boolean> thisMap)
Make filter

Parameters:
thisMap - map
Returns:
filter