| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected int | compare(MavenVersionIterator
the iterator for the first version (must not be i1, MavenVersionIterator null)the iterator for the second version (must not be i2)null)Implements abstract io. Implements java. Compare the current tokens of the two given iterators. |
| protected int | compareNext(final MavenVersionIterator
the iterator for the first version (must not be i1, final MavenVersionIterator null)the iterator for the second version (must not be i2)null)Overrides io. Compare the next elements of the given iterators. |
| protected int | compareZero(MavenVersionIterator
the version iterator (must not be i)null)Overrides io. Compare the given version iterator against zero. |
| public MavenVersionIterator | iterate(final String
the version to iterate (must not be version)null)Implements abstract io. Implements io. Iterate the canonicalized components of the given version according to the rules of this versioning scheme. |
| MavenVersionScheme | back to summary |
|---|---|
| pack-priv MavenVersionScheme() | |
| compare | back to summary |
|---|---|
| protected int compare(MavenVersionIterator i1, MavenVersionIterator i2) Implements abstract io. Implements java. Doc from io. Compare the current tokens of the two given iterators. If the tokens are equal, then this method should
recurse to
| |
| compareNext | back to summary |
|---|---|
| protected int compareNext(final MavenVersionIterator i1, final MavenVersionIterator i2) Overrides io. Doc from io. Compare the next elements of the given iterators. If one iterator is at the end of iteration (its iterator
reports no next element), the corresponding version is considered to come before the other version. If
both iterators are at the end of iteration, the versions are considered equal. Otherwise,
| |
| compareZero | back to summary |
|---|---|
| protected int compareZero(MavenVersionIterator i) Overrides io. Doc from io. Compare the given version iterator against zero. The default implementation assumes that any non-empty version comes after zero.
| |
| iterate | back to summary |
|---|---|
| public MavenVersionIterator iterate(final String version) Implements abstract io. Implements io. Doc from io. Iterate the canonicalized components of the given version according to the rules of this versioning scheme.
| |