|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.washington.cs.knowitall.extractor.mapper.Mapper<T>
edu.washington.cs.knowitall.extractor.mapper.MaxMapper<S,T>
S
- a comparable type returned by doValueMap(T object)
.T
- public abstract class MaxMapper<S extends java.lang.Comparable<S>,T>
A mapper class that returns the first maximal element in the object stream according
to a function doValueMap(T object)
.
Constructor Summary | |
---|---|
MaxMapper()
|
Method Summary | |
---|---|
protected java.lang.Iterable<T> |
doMap(java.lang.Iterable<T> objects)
|
abstract S |
doValueMap(T object)
|
Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.Mapper |
---|
disable, enable, isEnabled, map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxMapper()
Method Detail |
---|
public abstract S doValueMap(T object)
protected java.lang.Iterable<T> doMap(java.lang.Iterable<T> objects)
doMap
in class Mapper<T>
objects
- a stream of objects
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |