A B C E F G H I L N P T U V 
All Classes All Packages

A

AlphaNumericalPreReleaseIdentifier(String) - Constructor for class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
Constructs a new alphanumerical identifier with the provided value.
asInteger() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier
This identifier as an integer.
asInteger() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 
asString() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
 
asString() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier
This identifier formatted as a string.
asString() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 

B

BuildMetadata - Class in ca.solostudios.strata.version
A class representing the build metadata of a Version
BuildMetadata(String) - Constructor for class ca.solostudios.strata.version.BuildMetadata
Constructs a new build metadata

C

ca.solostudios.strata - package ca.solostudios.strata
 
ca.solostudios.strata.parser - package ca.solostudios.strata.parser
 
ca.solostudios.strata.parser.tokenizer - package ca.solostudios.strata.parser.tokenizer
 
ca.solostudios.strata.version - package ca.solostudios.strata.version
 
Char - Class in ca.solostudios.strata.parser.tokenizer
Represents a single character read from a LookaheadReader.
Char(char, int) - Constructor for class ca.solostudios.strata.parser.tokenizer.Char
Constructs a new Char with the provided value and position
compareTo(CoreVersion) - Method in class ca.solostudios.strata.version.CoreVersion
 
compareTo(PreRelease) - Method in class ca.solostudios.strata.version.PreRelease
 
compareTo(PreReleaseIdentifier) - Method in class ca.solostudios.strata.version.PreReleaseIdentifier
 
compareTo(Version) - Method in class ca.solostudios.strata.version.Version
 
consume() - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Removes and returns the current item from the stream.
consume(int) - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Consumes (removes) numberOfItems at once.
CoreVersion - Class in ca.solostudios.strata.version
A class representing the core major, minor, and patch versions for Version.
CoreVersion(BigInteger, BigInteger, BigInteger) - Constructor for class ca.solostudios.strata.version.CoreVersion
Constructs a new core version instance.
current() - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Returns the item the stream is currently pointing at.

E

endOfInput() - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Creates the end of input indicator item.
endOfInput() - Method in class ca.solostudios.strata.parser.tokenizer.LookaheadReader
 
endOfInputIndicator - Variable in class ca.solostudios.strata.parser.tokenizer.Lookahead
Once the end of the underlying input was reached, an end of input indicator is created and constantly returned for all calls of current and next.
endReached - Variable in class ca.solostudios.strata.parser.tokenizer.Lookahead
Determines if the end of the underlying data source has been reached.
equals(Object) - Method in class ca.solostudios.strata.version.Version
 
equals(Object) - Method in class ca.solostudios.strata.version.BuildMetadata
 
equals(Object) - Method in class ca.solostudios.strata.version.CoreVersion
 
equals(Object) - Method in class ca.solostudios.strata.version.PreRelease
 
equals(Object) - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
 
equals(Object) - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 

F

fetch() - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Fetches the next item from the stream.
fetch() - Method in class ca.solostudios.strata.parser.tokenizer.LookaheadReader
 
Formattable - Interface in ca.solostudios.strata.version
This interfaces specifies that a class can be formatted to a human readable string by invoking Formattable.getFormatted()

G

getBuildMetadata() - Method in class ca.solostudios.strata.version.BuildMetadata
The build metadata as a string.
getBuildMetadata() - Method in class ca.solostudios.strata.version.Version
The build metadata.
getEndVersion() - Method in class ca.solostudios.strata.version.VersionRange
The upper bound for the version range.
getFormatted() - Method in class ca.solostudios.strata.version.BuildMetadata
 
getFormatted() - Method in class ca.solostudios.strata.version.CoreVersion
 
getFormatted() - Method in interface ca.solostudios.strata.version.Formattable
This object represented as a short and human readable string.
getFormatted() - Method in class ca.solostudios.strata.version.PreRelease
 
getFormatted() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier
 
getFormatted() - Method in class ca.solostudios.strata.version.Version
 
getFormatted() - Method in class ca.solostudios.strata.version.VersionRange
 
getIdentifiers() - Method in class ca.solostudios.strata.version.PreRelease
The internal identifiers
getMajor() - Method in class ca.solostudios.strata.version.CoreVersion
The major version.
getMajor() - Method in class ca.solostudios.strata.version.Version
The major version.
getMinor() - Method in class ca.solostudios.strata.version.CoreVersion
The minor version.
getMinor() - Method in class ca.solostudios.strata.version.Version
The minor version.
getPatch() - Method in class ca.solostudios.strata.version.CoreVersion
The patch version
getPatch() - Method in class ca.solostudios.strata.version.Version
The patch version.
getPos() - Method in class ca.solostudios.strata.parser.tokenizer.Char
 
getPos() - Method in interface ca.solostudios.strata.parser.tokenizer.Position
Returns the character position within the line of this position
getPosition() - Method in exception ca.solostudios.strata.parser.tokenizer.ParseException
The position where the error or warning occurred.
getPreRelease() - Method in class ca.solostudios.strata.version.Version
The pre-release version.
getStartVersion() - Method in class ca.solostudios.strata.version.VersionRange
The lower bound for the version range.
getStringValue() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Returns the internal value as string.
getValue() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Returns the value of this char.
getVersion(int, int, int) - Static method in class ca.solostudios.strata.Versions
Constructs a new version from the provided values.
getVersion(BigInteger, BigInteger, BigInteger) - Static method in class ca.solostudios.strata.Versions
Constructs a new version from the provided values.
getVersion(BigInteger, BigInteger, BigInteger, BuildMetadata) - Static method in class ca.solostudios.strata.Versions
Constructs a new version from the provided values.
getVersion(BigInteger, BigInteger, BigInteger, PreRelease) - Static method in class ca.solostudios.strata.Versions
Constructs a new version from the provided values.
getVersion(BigInteger, BigInteger, BigInteger, PreRelease, BuildMetadata) - Static method in class ca.solostudios.strata.Versions
Constructs a new version from the provided values.
getVersionRange(Version, boolean, Version, boolean) - Static method in class ca.solostudios.strata.Versions
Constructs a new version range from the provided values.

H

hashCode() - Method in class ca.solostudios.strata.version.BuildMetadata
 
hashCode() - Method in class ca.solostudios.strata.version.CoreVersion
 
hashCode() - Method in class ca.solostudios.strata.version.PreRelease
 
hashCode() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
 
hashCode() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 
hashCode() - Method in class ca.solostudios.strata.version.Version
 

I

is(char) - Method in class ca.solostudios.strata.parser.tokenizer.Char
Checks if the internal value is equal to the given character
is(char...) - Method in class ca.solostudios.strata.parser.tokenizer.Char
Checks if the internal value is one of the given characters
isAlphaNumeric() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Determines if the value is an alphanumeric identifier (0..9, a..z, A..Z, -)
isDigit() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Determines if the value is a digit (0..9)
isEndInclusive() - Method in class ca.solostudios.strata.version.VersionRange
Wehther or not the upper version is inclusive.
isEndOfInput() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Determines if this instance represents the end of input indicator
isLetter() - Method in class ca.solostudios.strata.parser.tokenizer.Char
Determines if the value is a letter (a..z, A..Z)
isNumeric() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
 
isNumeric() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier
Whether or not this identifier can contain numerical values.
isNumeric() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 
isSatisfiedBy(Version) - Method in class ca.solostudios.strata.version.VersionRange
Whether or not this range is satisfied by the provided version.
isSatisfiedBy(String) - Method in class ca.solostudios.strata.version.VersionRange
Whether or not this range is satisfied by the provided version.
isStartInclusive() - Method in class ca.solostudios.strata.version.VersionRange
Whether or not the lower version is inclusive.
itemBuffer - Variable in class ca.solostudios.strata.parser.tokenizer.Lookahead
Internal buffer containing items which where already created due to lookaheads.

L

Lookahead<T> - Class in ca.solostudios.strata.parser.tokenizer
Abstract data structure for providing streams of items with a lookahead.
Lookahead() - Constructor for class ca.solostudios.strata.parser.tokenizer.Lookahead
 
LookaheadReader - Class in ca.solostudios.strata.parser.tokenizer
An efficient reader of character streams, reading character by character and supporting lookaheads.
LookaheadReader(Reader) - Constructor for class ca.solostudios.strata.parser.tokenizer.LookaheadReader
Creates a new LookaheadReader for the given Reader.

N

next() - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Returns the next item after the current one in the stream.
next(int) - Method in class ca.solostudios.strata.parser.tokenizer.Lookahead
Returns the next n-th item in the stream.
NULL - Static variable in class ca.solostudios.strata.version.BuildMetadata
An empty build metadata instance used it no metadata is provided.
NULL - Static variable in class ca.solostudios.strata.version.PreRelease
An empty pre-release instance used it no pre-release is provided.
NumericalPreReleaseIdentifier(BigInteger) - Constructor for class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
Constructs a new numerical identifier with the provided value.

P

parse() - Method in class ca.solostudios.strata.parser.VersionParser
Parses the provided version string to a Version.
parse() - Method in class ca.solostudios.strata.parser.VersionRangeParser
Parses the provided version range string to a VersionRange.
ParseException - Exception in ca.solostudios.strata.parser.tokenizer
Represents an error or a warning, which occurred when parsing an input.
ParseException(Exception, Position) - Constructor for exception ca.solostudios.strata.parser.tokenizer.ParseException
Constructs a new parse exception with the provided exception as a cause and position.
ParseException(Exception, String, Position) - Constructor for exception ca.solostudios.strata.parser.tokenizer.ParseException
Constructs a new parse exception with the provided exception as a cause, parse string, and position.
ParseException(String, Position) - Constructor for exception ca.solostudios.strata.parser.tokenizer.ParseException
Constructs a new parse exception with the provided message and position.
ParseException(String, String, Position) - Constructor for exception ca.solostudios.strata.parser.tokenizer.ParseException
Constructs a new parse exception with the provided message, parse string, and position.
parseVersion(String) - Static method in class ca.solostudios.strata.Versions
Parses a version from the provided string, according to the semver spec as listed in VersionParser
parseVersion(String, String, String) - Static method in class ca.solostudios.strata.Versions
Parses a version from the provided coreVersion, preReleaseVersion, and buildMetadataVersion, according to the semver spec as listed in VersionParser.
parseVersionRange(String) - Static method in class ca.solostudios.strata.Versions
Parses a VersionRange from the provided string, according to the specification described in VersionRangeParser.
Position - Interface in ca.solostudios.strata.parser.tokenizer
Describes a position in a file or a stream based on lines and the character position within the line.
PreRelease - Class in ca.solostudios.strata.version
A class representing the pre-release data for a Version.
PreRelease(List<PreReleaseIdentifier>) - Constructor for class ca.solostudios.strata.version.PreRelease
Constructs a new pre-release with the provided identifiers.
PreReleaseIdentifier - Class in ca.solostudios.strata.version
This class represents a pre-release identifier.
PreReleaseIdentifier() - Constructor for class ca.solostudios.strata.version.PreReleaseIdentifier
 
PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier - Class in ca.solostudios.strata.version
An alphanumerical identifier.
PreReleaseIdentifier.NumericalPreReleaseIdentifier - Class in ca.solostudios.strata.version
A numerical identifier.

T

toString() - Method in class ca.solostudios.strata.parser.tokenizer.Char
 
toString() - Method in class ca.solostudios.strata.parser.tokenizer.LookaheadReader
 
toString() - Method in exception ca.solostudios.strata.parser.tokenizer.ParseException
Formats this parse exception as a string.
toString() - Method in class ca.solostudios.strata.version.BuildMetadata
 
toString() - Method in class ca.solostudios.strata.version.CoreVersion
 
toString() - Method in class ca.solostudios.strata.version.PreRelease
 
toString() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier
 
toString() - Method in class ca.solostudios.strata.version.PreReleaseIdentifier.NumericalPreReleaseIdentifier
 
toString() - Method in class ca.solostudios.strata.version.Version
 
toString() - Method in class ca.solostudios.strata.version.VersionRange
 

U

UNKNOWN - Static variable in interface ca.solostudios.strata.parser.tokenizer.Position
Represents an unknown position for warnings and errors which cannot be associated with a defined position.

V

Version - Class in ca.solostudios.strata.version
Class representing a version.
Version(CoreVersion, PreRelease, BuildMetadata) - Constructor for class ca.solostudios.strata.version.Version
Constructs a new version with the provided core, pre-release, and build data, values.
VersionParser - Class in ca.solostudios.strata.parser
A parser for strings representing a valid Version according to the SemVer spec.
VersionParser(String) - Constructor for class ca.solostudios.strata.parser.VersionParser
Constructs a new version parser with the provided string to parse.
VersionRange - Class in ca.solostudios.strata.version
A class representing a range of versions.
VersionRange(Version, boolean, Version, boolean) - Constructor for class ca.solostudios.strata.version.VersionRange
Constructs a new version range.
VersionRangeParser - Class in ca.solostudios.strata.parser
A parser for strings representing a valid version range.
VersionRangeParser(String) - Constructor for class ca.solostudios.strata.parser.VersionRangeParser
Constructs a new version range parser with the provided string to parse.
Versions - Class in ca.solostudios.strata
Helper class for constructing Version and VersionRange literals.
A B C E F G H I L N P T U V 
All Classes All Packages