Class IntersectionSimilarity.BagCount
java.lang.Object
org.apache.commons.text.similarity.IntersectionSimilarity.BagCount
- Enclosing class:
IntersectionSimilarity<T>
Mutable counter class for storing the count of elements.
- Since:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intThe count.private static final IntersectionSimilarity.BagCountPrivate, mutable but must be used as immutable. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ZERO
Private, mutable but must be used as immutable. -
count
private int countThe count.
-
-
Constructor Details
-
BagCount
private BagCount()
-