| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final DottedVersion. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public BigInteger[] | |
| public int | |
| public String | |
| public static DottedVersion | |
| public int | |
| public static DottedVersion | |
| public DottedVersion | |
| public String | |
| public String | |
| public DottedVersion |
| components | back to summary |
|---|---|
| private final DottedVersion. | |
| suffix | back to summary |
|---|---|
| private final String suffix | |
| DottedVersion | back to summary |
|---|---|
| private DottedVersion(String version, boolean greedy) | |
| DottedVersion | back to summary |
|---|---|
| private DottedVersion(DottedVersion. | |
| compareComponents | back to summary |
|---|---|
| public static int compareComponents(DottedVersion a, DottedVersion b) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getComponents | back to summary |
|---|---|
| public BigInteger[] getComponents() | |
| getComponentsCount | back to summary |
|---|---|
| public int getComponentsCount() | |
| getUnprocessedSuffix | back to summary |
|---|---|
| public String getUnprocessedSuffix() | |
| greedy | back to summary |
|---|---|
| public static DottedVersion greedy(String version) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| lazy | back to summary |
|---|---|
| public static DottedVersion lazy(String version) | |
| pad | back to summary |
|---|---|
| public DottedVersion pad(int limit) | |
| toComponentsString | back to summary |
|---|---|
| public String toComponentsString() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| trim | back to summary |
|---|---|
| public DottedVersion trim(int limit) | |
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | parsedValue
Record Component accessed by parsedValue(). |
| private final String | strValue
Record Component accessed by strValue(). |
| pack-priv static final DottedVersion. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public BigInteger | |
| public String | |
| public String | toString()
Implements abstract java. Returns a string representation of the record. |
| parsedValue | back to summary |
|---|---|
| private final BigInteger parsedValue Record Component accessed by parsedValue(). | |
| strValue | back to summary |
|---|---|
| private final String strValue Record Component accessed by strValue(). | |
| ZERO | back to summary |
|---|---|
| pack-priv static final DottedVersion. | |
| Component | back to summary |
|---|---|
| pack-priv Component(BigInteger parsedValue, String strValue) | |
| Component | back to summary |
|---|---|
| pack-priv Component(String strValue) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| parsedValue | back to summary |
|---|---|
| public BigInteger parsedValue() Record Component getter of parsedValue. | |
| strValue | back to summary |
|---|---|
| public String strValue() Record Component getter of strValue. | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final String | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv IllegalArgumentException | |
| pack-priv String | |
| pack-priv String |
| cursor | back to summary |
|---|---|
| private int cursor | |
| input | back to summary |
|---|---|
| private final String input | |
| lastDotPos | back to summary |
|---|---|
| private int lastDotPos | |
| stoped | back to summary |
|---|---|
| private boolean stoped | |
| DigitsSupplier | back to summary |
|---|---|
| pack-priv DigitsSupplier(String input) | |
| createException | back to summary |
|---|---|
| pack-priv IllegalArgumentException createException() | |
| getNextDigits | back to summary |
|---|---|
| pack-priv String getNextDigits() | |
| getUnprocessedString | back to summary |
|---|---|
| pack-priv String getUnprocessedString() | |