Package org.apache.tika.eval.core.tokens
Class TokenIntPair
- java.lang.Object
- 
- org.apache.tika.eval.core.tokens.TokenIntPair
 
- 
- All Implemented Interfaces:
- Comparable<TokenIntPair>
 
 public class TokenIntPair extends Object implements Comparable<TokenIntPair> 
- 
- 
Constructor SummaryConstructors Constructor Description TokenIntPair(String token, int value)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TokenIntPair o)Descending by value, ascending by tokenbooleanequals(Object o)StringgetToken()longgetValue()inthashCode()StringtoString()
 
- 
- 
- 
Constructor Detail- 
TokenIntPairpublic TokenIntPair(String token, int value) 
 
- 
 - 
Method Detail- 
getValuepublic long getValue() 
 - 
getTokenpublic String getToken() 
 - 
compareTopublic int compareTo(TokenIntPair o) Descending by value, ascending by token- Specified by:
- compareToin interface- Comparable<TokenIntPair>
- Parameters:
- o- other tokenlong pair
- Returns:
- comparison
 
 
- 
 
-