-
public final class SingleFiledLines
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSingleFiledLines.Preprocessorpublic final classSingleFiledLines.TextPreprocessorpublic final classSingleFiledLines.RegexPreprocessor
-
Field Summary
Fields Modifier and Type Field Description private final Integersizeprivate final BooleanisEmptyprivate final BooleanisNotEmptyprivate final Stringfileprivate final SingleFiledLines.Preprocessorpreprocessorprivate final Comparator<String>wordsComparator
-
Constructor Summary
Constructors Constructor Description SingleFiledLines(String file, SingleFiledLines.Preprocessor preprocessor, Comparator<String> wordsComparator)
-
Method Summary
Modifier and Type Method Description final IntegergetSize()final BooleangetIsEmpty()final BooleangetIsNotEmpty()final StringgetFile()final SingleFiledLines.PreprocessorgetPreprocessor()final Comparator<String>getWordsComparator()final Unitmerge(SingleFiledLines other)final Booleancontains(String text)final Multiset<String>lines()final Unitload()Load features from file. final UnitsaveTo(String destFile)final Unitsave()-
-
Constructor Detail
-
SingleFiledLines
SingleFiledLines(String file, SingleFiledLines.Preprocessor preprocessor, Comparator<String> wordsComparator)
-
-
Method Detail
-
getIsEmpty
final Boolean getIsEmpty()
-
getIsNotEmpty
final Boolean getIsNotEmpty()
-
getPreprocessor
final SingleFiledLines.Preprocessor getPreprocessor()
-
getWordsComparator
final Comparator<String> getWordsComparator()
-
merge
final Unit merge(SingleFiledLines other)
-
-
-
-