org.carrot2.core
Class Document.DocumentToId
java.lang.Object
org.carrot2.core.Document.DocumentToId
- All Implemented Interfaces:
- com.google.common.base.Function<Document,Integer>
- Enclosing class:
- Document
public static final class Document.DocumentToId
- extends Object
- implements com.google.common.base.Function<Document,Integer>
Transforms a Document to its identifier returned by
Document.getId().
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
INSTANCE
public static final Document.DocumentToId INSTANCE
apply
public Integer apply(Document document)
- Specified by:
apply in interface com.google.common.base.Function<Document,Integer>
Copyright (c) Dawid Weiss, Stanislaw Osinski