edu.cmu.minorthird.text.learn
Class SpanFE.SetResult<T>
java.lang.Object
edu.cmu.minorthird.text.learn.SpanFE.Result
edu.cmu.minorthird.text.learn.SpanFE.SetResult<T>
- Direct Known Subclasses:
- SpanFE.SpanSetResult, SpanFE.StringBagResult, SpanFE.TokenSetResult
- Enclosing class:
- SpanFE
public abstract static class SpanFE.SetResult<T>
- extends SpanFE.Result
An intermediate result of a SpanFE process where the object being operated
on is a Set of something.
Field Summary |
protected java.util.SortedSet<T> |
set
|
Method Summary |
protected java.util.SortedSet<T> |
applyFilter(SpanFE.Filter f)
Filter the set using a user-defined filter. |
java.util.Set<T> |
asSet()
Convert to a plain old set. |
protected java.util.SortedSet<T> |
mapFunction(SpanFE.Function f)
Modify each element in the set using a user-defined function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
set
protected java.util.SortedSet<T> set
SpanFE.SetResult
public SpanFE.SetResult(java.lang.String[] name,
SpanFE fe,
java.util.SortedSet<T> set)
asSet
public java.util.Set<T> asSet()
- Convert to a plain old set.
applyFilter
protected java.util.SortedSet<T> applyFilter(SpanFE.Filter f)
- Filter the set using a user-defined filter.
mapFunction
protected java.util.SortedSet<T> mapFunction(SpanFE.Function f)
- Modify each element in the set using a user-defined function.