Class SegmentedSequenceStats.StatsEntry
java.lang.Object
com.vladsch.flexmark.util.sequence.builder.SegmentedSequenceStats.StatsEntry
- All Implemented Interfaces:
Comparable<SegmentedSequenceStats.StatsEntry>
- Enclosing class:
SegmentedSequenceStats
public static class SegmentedSequenceStats.StatsEntry
extends Object
implements Comparable<SegmentedSequenceStats.StatsEntry>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) final MinMaxAvgLong(package private) final MinMaxAvgLong(package private) int(package private) final MinMaxAvgLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int segments, int length, int overhead) voidadd(@NotNull SegmentedSequenceStats.StatsEntry other) intbooleaninthashCode()
-
Field Details
-
segments
int segments -
count
int count -
segStats
-
length
-
overhead
-
-
Constructor Details
-
StatsEntry
public StatsEntry(int segments)
-
-
Method Details
-
add
public void add(int segments, int length, int overhead) -
add
-
compareTo
- Specified by:
compareToin interfaceComparable<SegmentedSequenceStats.StatsEntry>
-
equals
-
hashCode
-