Skip navigation links
A B C D E G H I N O R S T V W 

A

append(char) - Method in class com.vdurmont.semver4j.Tokenizer.Token
 
asString() - Method in enum com.vdurmont.semver4j.Range.RangeOperator
 
asString() - Method in enum com.vdurmont.semver4j.Requirement.RequirementOperator
 

B

build(Semver) - Static method in class com.vdurmont.semver4j.Requirement
Builds a requirement (will test that the version is equivalent to the requirement)
buildCocoapods(String) - Static method in class com.vdurmont.semver4j.Requirement
Builds a requirement following the rules of Cocoapods.
buildIvy(String) - Static method in class com.vdurmont.semver4j.Requirement
Builds a requirement following the rules of Ivy.
buildLoose(String) - Static method in class com.vdurmont.semver4j.Requirement
Builds a loose requirement (will test that the version is equivalent to the requirement)
buildNPM(String) - Static method in class com.vdurmont.semver4j.Requirement
Builds a requirement following the rules of NPM.
buildStrict(String) - Static method in class com.vdurmont.semver4j.Requirement
Builds a strict requirement (will test that the version is equivalent to the requirement)

C

caretRequirement(String, Semver.SemverType) - Static method in class com.vdurmont.semver4j.Requirement
Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple.
character - Variable in enum com.vdurmont.semver4j.Tokenizer.TokenType
 
com.vdurmont.semver4j - package com.vdurmont.semver4j
 
compareTo(Semver) - Method in class com.vdurmont.semver4j.Semver
 

D

diff(String) - Method in class com.vdurmont.semver4j.Semver
 
diff(Semver) - Method in class com.vdurmont.semver4j.Semver
Returns the greatest difference between 2 versions.

E

equals(Object) - Method in class com.vdurmont.semver4j.Range
 
equals(Object) - Method in class com.vdurmont.semver4j.Requirement
 
equals(Object) - Method in class com.vdurmont.semver4j.Semver
 

G

getBuild() - Method in class com.vdurmont.semver4j.Semver
Returns the build of the version.
getMajor() - Method in class com.vdurmont.semver4j.Semver
Returns the major part of the version.
getMinor() - Method in class com.vdurmont.semver4j.Semver
Returns the minor part of the version.
getOriginalValue() - Method in class com.vdurmont.semver4j.Semver
Get the original value as a string
getPatch() - Method in class com.vdurmont.semver4j.Semver
Returns the patch part of the version.
getSuffixTokens() - Method in class com.vdurmont.semver4j.Semver
Returns the suffix of the version.
getType() - Method in class com.vdurmont.semver4j.Requirement
 
getType() - Method in class com.vdurmont.semver4j.Semver
 
getValue() - Method in class com.vdurmont.semver4j.Semver
Returns the version as a String

H

hashCode() - Method in class com.vdurmont.semver4j.Range
 
hashCode() - Method in class com.vdurmont.semver4j.Requirement
 
hashCode() - Method in class com.vdurmont.semver4j.Semver
 
hyphenRequirement(String, String, Semver.SemverType) - Static method in class com.vdurmont.semver4j.Requirement
Creates a requirement that satisfies "x1.y1.z1 - x2.y2.z2".

I

isEqualTo(String) - Method in class com.vdurmont.semver4j.Semver
 
isEqualTo(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version equals another version
isEquivalentTo(String) - Method in class com.vdurmont.semver4j.Semver
 
isEquivalentTo(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version equals another version, without taking the build into account.
isGreaterThan(String) - Method in class com.vdurmont.semver4j.Semver
 
isGreaterThan(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version is greater than another version
isGreaterThanOrEqualTo(String) - Method in class com.vdurmont.semver4j.Semver
 
isGreaterThanOrEqualTo(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version is greater than or equal to another version
isLowerThan(String) - Method in class com.vdurmont.semver4j.Semver
 
isLowerThan(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version is lower than another version
isLowerThanOrEqualTo(String) - Method in class com.vdurmont.semver4j.Semver
 
isLowerThanOrEqualTo(Semver) - Method in class com.vdurmont.semver4j.Semver
Checks if the version is lower than or equal to another version
isPreRelease() - Method in class com.vdurmont.semver4j.Semver
Checks whether the version is a pre-release
isSatisfiedBy(String) - Method in class com.vdurmont.semver4j.Range
 
isSatisfiedBy(Semver) - Method in class com.vdurmont.semver4j.Range
 
isSatisfiedBy(String) - Method in class com.vdurmont.semver4j.Requirement
 
isSatisfiedBy(Semver) - Method in class com.vdurmont.semver4j.Requirement
Checks if the requirement is satisfied by a version.
isStable() - Method in class com.vdurmont.semver4j.Semver
Determines if the current version is stable or not.
isUnary() - Method in enum com.vdurmont.semver4j.Tokenizer.TokenType
 

N

nextMajor() - Method in class com.vdurmont.semver4j.Semver
 
nextMinor() - Method in class com.vdurmont.semver4j.Semver
 
nextPatch() - Method in class com.vdurmont.semver4j.Semver
 

O

op - Variable in class com.vdurmont.semver4j.Range
 
op - Variable in class com.vdurmont.semver4j.Requirement
 

R

Range - Class in com.vdurmont.semver4j
 
Range(Semver, Range.RangeOperator) - Constructor for class com.vdurmont.semver4j.Range
 
Range(String, Range.RangeOperator) - Constructor for class com.vdurmont.semver4j.Range
 
range - Variable in class com.vdurmont.semver4j.Requirement
 
Range.RangeOperator - Enum in com.vdurmont.semver4j
 
req1 - Variable in class com.vdurmont.semver4j.Requirement
 
req2 - Variable in class com.vdurmont.semver4j.Requirement
 
Requirement - Class in com.vdurmont.semver4j
A requirement will provide an easy way to check if a version is satisfying.
Requirement(Range, Requirement, Requirement.RequirementOperator, Requirement) - Constructor for class com.vdurmont.semver4j.Requirement
Builds a requirement.
Requirement.RequirementOperator - Enum in com.vdurmont.semver4j
The operators that can be used in a requirement.

S

satisfies(Requirement) - Method in class com.vdurmont.semver4j.Semver
Check if the version satisfies a requirement
satisfies(String) - Method in class com.vdurmont.semver4j.Semver
Check if the version satisfies a requirement
Semver - Class in com.vdurmont.semver4j
Semver is a tool that provides useful methods to manipulate versions that follow the "semantic versioning" specification (see http://semver.org)
Semver(String) - Constructor for class com.vdurmont.semver4j.Semver
 
Semver(String, Semver.SemverType) - Constructor for class com.vdurmont.semver4j.Semver
 
Semver.SemverType - Enum in com.vdurmont.semver4j
The different types of supported version systems.
Semver.VersionDiff - Enum in com.vdurmont.semver4j
The types of diffs between two versions.
SemverException - Exception in com.vdurmont.semver4j
 
SemverException(String) - Constructor for exception com.vdurmont.semver4j.SemverException
 
SemverException(String, Throwable) - Constructor for exception com.vdurmont.semver4j.SemverException
 
supports(Semver.SemverType) - Method in enum com.vdurmont.semver4j.Tokenizer.TokenType
 

T

tildeRequirement(String, Semver.SemverType) - Static method in class com.vdurmont.semver4j.Requirement
Allows patch-level changes if a minor version is specified on the comparator.
Token(Tokenizer.TokenType) - Constructor for class com.vdurmont.semver4j.Tokenizer.Token
 
Token(Tokenizer.TokenType, String) - Constructor for class com.vdurmont.semver4j.Tokenizer.Token
 
tokenize(String, Semver.SemverType) - Static method in class com.vdurmont.semver4j.Tokenizer
Takes a NPM requirement string and creates a list of tokens by performing 3 operations: - If the token is a version, it will add the version string - If the token is an operator, it will add the operator - It will insert missing "AND" operators for ranges
Tokenizer - Class in com.vdurmont.semver4j
Utility class to convert a NPM requirement string into a list of tokens.
Tokenizer() - Constructor for class com.vdurmont.semver4j.Tokenizer
 
Tokenizer.Token - Class in com.vdurmont.semver4j
A token in a requirement string.
Tokenizer.TokenType - Enum in com.vdurmont.semver4j
The different types of tokens (unary operators, binary operators, delimiters and versions)
toStrict() - Method in class com.vdurmont.semver4j.Semver
 
toString() - Method in class com.vdurmont.semver4j.Range
 
toString() - Method in class com.vdurmont.semver4j.Requirement
 
toString() - Method in class com.vdurmont.semver4j.Semver
 
type - Variable in class com.vdurmont.semver4j.Tokenizer.Token
 

V

value - Variable in class com.vdurmont.semver4j.Tokenizer.Token
 
valueOf(String) - Static method in enum com.vdurmont.semver4j.Range.RangeOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.semver4j.Requirement.RequirementOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.semver4j.Semver.SemverType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.semver4j.Semver.VersionDiff
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.semver4j.Tokenizer.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vdurmont.semver4j.Range.RangeOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.semver4j.Requirement.RequirementOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.semver4j.Semver.SemverType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.semver4j.Semver.VersionDiff
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.semver4j.Tokenizer.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class com.vdurmont.semver4j.Range
 

W

withBuild(String) - Method in class com.vdurmont.semver4j.Semver
 
withClearedBuild() - Method in class com.vdurmont.semver4j.Semver
 
withClearedSuffix() - Method in class com.vdurmont.semver4j.Semver
 
withClearedSuffixAndBuild() - Method in class com.vdurmont.semver4j.Semver
 
withIncMajor() - Method in class com.vdurmont.semver4j.Semver
 
withIncMajor(int) - Method in class com.vdurmont.semver4j.Semver
 
withIncMinor() - Method in class com.vdurmont.semver4j.Semver
 
withIncMinor(int) - Method in class com.vdurmont.semver4j.Semver
 
withIncPatch() - Method in class com.vdurmont.semver4j.Semver
 
withIncPatch(int) - Method in class com.vdurmont.semver4j.Semver
 
withIncSuffix(int) - Method in class com.vdurmont.semver4j.Semver
 
withIncSuffix(int, int) - Method in class com.vdurmont.semver4j.Semver
 
withSuffix(String) - Method in class com.vdurmont.semver4j.Semver
 
A B C D E G H I N O R S T V W 
Skip navigation links

Copyright © 2021. All rights reserved.