Package net.sf.okapi.steps.wordcount
Class CharacterCounter.Counts
- java.lang.Object
-
- net.sf.okapi.steps.wordcount.CharacterCounter.Counts
-
- Enclosing class:
- CharacterCounter
public static class CharacterCounter.Counts extends Object
-
-
Field Summary
Fields Modifier and Type Field Description longpunctuationlongtotallongwhiteSpace
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CharacterCounter.Countsadd(CharacterCounter.Counts other)booleanequals(Object obj)inthashCode()booleanisAllZeros()static CharacterCounter.Countsof(long total, long whiteSpace, long punctuation)StringtoString()
-
-
-
Method Detail
-
of
public static CharacterCounter.Counts of(long total, long whiteSpace, long punctuation)
-
add
public CharacterCounter.Counts add(CharacterCounter.Counts other)
-
isAllZeros
public boolean isAllZeros()
-
-