Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptParseNull() - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
-
Some format of constraint pattern allows parse
null
. - add(SemVerRange.NonnullSemVerRange) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- addAll(Collection<? extends SemVerRange.NonnullSemVerRange>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
B
C
- clear() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- clone() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Perform shallow copy of multi range.
- compareTo(SemVer) - Method in class xyz.rk0cc.josev.SemVer
- constraintPattern() - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
-
A
Pattern
that compiled the format of the constraint pattern. - constraintPattern() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Detect which pattern is used for this constraint.
- ConstraintPattern<E extends Enum<? extends ConstraintPattern<E>>> - Interface in xyz.rk0cc.josev.constraint
-
An interface to indicate implemented
Enum
as constraint pattern inSemVerConstraint
. - contains(Object) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- containsAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
D
- disableModification(SemVerMultiRange) - Static method in class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Generate a
SemVerMultiRange
that to generate unmodifiablemultiRange
.
E
- enabled() - Element in annotation interface xyz.rk0cc.josev.constraint.SemVerConstraintParser
-
Allow annotated class can be parsed by
SemVerConstraint.parse(Class, String)
. - end() - Method in class xyz.rk0cc.josev.SemVerRange.NonnullSemVerRange
-
A node which specify the maximum version that can be accepted (Assume no version omitted between
start
and end). - end() - Method in class xyz.rk0cc.josev.SemVerRange.NullableSemVerRange
-
A node which specify the maximum version that can be accepted (Assume no version omitted between
start
and end). - equals(Object) - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- equals(Object) - Method in class xyz.rk0cc.josev.SemVer
-
Compare another
SemVer
which has equals data of versioning. - equals(Object) - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Determine current configuration of
SemVerRangeNode
is the same or not.
F
- forEach(Consumer<? super SemVerRange.NonnullSemVerRange>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
H
- hashCode() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- hashCode() - Method in class xyz.rk0cc.josev.SemVer
-
Calculating hash code form all provided versioning data.
- hashCode() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
I
- invalidVersion - Variable in exception xyz.rk0cc.josev.NonStandardSemVerException
- isEmpty() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- isGreater(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is greater than
compare
- isGreaterOrEquals(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is greater or equals with
compare
- isInRange(String) - Method in interface xyz.rk0cc.josev.SemVerDetermineInRage
-
Check this
semVer
is in the range. - isInRange(String) - Method in class xyz.rk0cc.josev.SemVerRange
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in interface xyz.rk0cc.josev.SemVerDetermineInRage
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in class xyz.rk0cc.josev.SemVerRange.NonnullSemVerRange
-
Check this
semVer
is in the range. - isInRange(SemVer) - Method in class xyz.rk0cc.josev.SemVerRange.NullableSemVerRange
-
Check this
semVer
is in the range. - isLower(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is lower than
compare
- isLowerOrEquals(SemVer) - Method in class xyz.rk0cc.josev.SemVer
-
Check this version is lowerer or equals with
compare
- isPreRelease() - Method in class xyz.rk0cc.josev.SemVer
-
Determine this versioning is still under development.
- isSameVersionGroup(SemVer) - Method in class xyz.rk0cc.josev.SemVer
- isUnmodifiable() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Determine this
SemVerMultiRange
is not allowedSemVerMultiRange.add(NonnullSemVerRange)
,SemVerMultiRange.remove(Object)
and any applying newSemVerRange
to changing state ofSet
. - isValidConstraintMethods(String) - Method in interface xyz.rk0cc.josev.constraint.ConstraintPattern
-
Determine a
String
of version constraint is following currentEnum
ofConstraintPattern
or finding whichConstraintPattern
uses whenparsing
the constraint byfiltering
Enum
. - iterator() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
M
- major() - Method in class xyz.rk0cc.josev.SemVer
-
Get major release of this versioning.
- minor() - Method in class xyz.rk0cc.josev.SemVer
-
Get minor release of this versioning.
N
- NonnullSemVerRange(SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.SemVerRange.NonnullSemVerRange
-
Create new range definition of
SemVer
that disallows null. - NonStandardSemVerException - Exception in xyz.rk0cc.josev
- NullableSemVerRange(SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.SemVerRange.NullableSemVerRange
-
Create new range definition of
SemVer
that allows null.
O
- operator() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
operator
record component. - orEquals() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
orEquals
record component.
P
- parallelStream() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- parse(Class<C>, String) - Static method in class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Parser a
String
ofversionConstraint
and specify whichClass
that extended fromSemVerConstraint
will be exported. - parse(String) - Static method in class xyz.rk0cc.josev.SemVer
- parserMethodName() - Element in annotation interface xyz.rk0cc.josev.constraint.SemVerConstraintParser
-
Define which public static method of annotated class will be used when applying
SemVerConstraint.parse(Class, String)
. - patch() - Method in class xyz.rk0cc.josev.SemVer
-
Get patch release of this versioning.
- preRelease() - Method in class xyz.rk0cc.josev.SemVer
-
Get pre-release tag of this versioning.
R
- rawConstraint() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- remove(Object) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- removeAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- removeIf(Predicate<? super SemVerRange.NonnullSemVerRange>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- retainAll(Collection<?>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
S
- semVer() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Returns the value of the
semVer
record component. - SemVer - Class in xyz.rk0cc.josev
-
An immutable Java object for Semantic Versioning 2.0.0.
- SemVer(long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long, long) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data without additional tag applied.
- SemVer(long, long, long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SemVer(long, long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SemVer(long, String, String) - Constructor for class xyz.rk0cc.josev.SemVer
-
Create new versioning data.
- SEMVER_REGEX - Static variable in class xyz.rk0cc.josev.SemVer
-
A
String
of Semantic Versioning regex which will be applied onPattern.compile(String)
. - SemVerConstraint<E extends ConstraintPattern<? extends Enum<?>>> - Class in xyz.rk0cc.josev.constraint
-
Version constraint is a definition of
SemVer
range which bounding the version to ensure compatibility. - SemVerConstraint(E, String, SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.constraint.SemVerConstraint
-
Create version constraint of
SemVer
. - SemVerConstraintParser - Annotation Interface in xyz.rk0cc.josev.constraint
-
An
Annotation
that allowing a subclass ofSemVerConstraint
can be parsed bySemVerConstraint.parse(Class, String)
. - SemVerDetermineInRage - Interface in xyz.rk0cc.josev
-
This interface allows determining
SemVer
is in the range. - SemVerMultiRange - Class in xyz.rk0cc.josev.collections
-
Provides various of
SemVerRange
to determine theSemVer
meet complicated condition. - SemVerMultiRange() - Constructor for class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Create an empty definitions of
SemVerMultiRange
. - SemVerRange - Class in xyz.rk0cc.josev
-
Define range of the
SemVer
. - SemVerRange(SemVerRangeNode, SemVerRangeNode) - Constructor for class xyz.rk0cc.josev.SemVerRange
-
Create new range definition of
SemVer
. - SemVerRange.NonnullSemVerRange - Class in xyz.rk0cc.josev
-
A
SemVerRange
thatdisallowing parsing
.null
- SemVerRange.NullableSemVerRange - Class in xyz.rk0cc.josev
-
A
SemVerRange
thatallowing parsing
.null
- SemVerRangeNode - Record Class in xyz.rk0cc.josev
-
A node for
SemVerRange
to define preference of the range ofSemVer
. - SemVerRangeNode(SemVer, char, boolean) - Constructor for record class xyz.rk0cc.josev.SemVerRangeNode
-
Create new node to define a range of
SemVer
to be constrained. - size() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- spliterator() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- start() - Method in class xyz.rk0cc.josev.SemVerRange.NonnullSemVerRange
-
A node which specify the minimum version that can be accepted (Assume no version omitted between start and
start
). - start() - Method in class xyz.rk0cc.josev.SemVerRange.NullableSemVerRange
-
A node which specify the minimum version that can be accepted (Assume no version omitted between start and
start
). - stream() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
T
- toArray() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- toArray(IntFunction<T[]>) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- toArray(T[]) - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
- toString() - Method in class xyz.rk0cc.josev.collections.SemVerMultiRange
-
Print all added
SemVerRange.NonnullSemVerRange
to aString
. - toString() - Method in class xyz.rk0cc.josev.constraint.SemVerConstraint
- toString() - Method in exception xyz.rk0cc.josev.NonStandardSemVerException
-
Finally, it showsNonStandardSemVerException.invalidVersion
at the end of line. - toString() - Method in class xyz.rk0cc.josev.SemVer
-
Return a
String
of object-like context for logging purpose. - toString() - Method in record class xyz.rk0cc.josev.SemVerRangeNode
-
Generate node object data under
String
. - tryParse(String) - Static method in class xyz.rk0cc.josev.SemVer
V
- value() - Method in class xyz.rk0cc.josev.SemVer
-
Return a
String
of version which follows Semantic Versioning standard.
X
- xyz.rk0cc.josev - package xyz.rk0cc.josev
-
Java Object of Semantic Versioning - JOSEV
- xyz.rk0cc.josev.collections - package xyz.rk0cc.josev.collections
- xyz.rk0cc.josev.constraint - package xyz.rk0cc.josev.constraint
-
Perform version constraint of
SemVer
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form