Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absent() - Static method in class dev.mccue.guava.base.Optional
-
Returns an
Optionalinstance with no contained reference. - ACK - Static variable in class dev.mccue.guava.base.Ascii
-
Acknowledge: A communication control character transmitted by a receiver as an affirmative response to a sender.
- add(String, boolean) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, char) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, double) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, float) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, int) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, long) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - add(String, Object) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=valueformat. - addValue(boolean) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(char) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(double) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(float) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(int) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(long) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(Object) - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- alwaysFalse() - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that always evaluates to
false. - alwaysTrue() - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that always evaluates to
true. - and(CharMatcher) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a matcher that matches any character matched by both this matcher and
other. - and(Predicate<? super T>...) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif each of its components evaluates totrue. - and(Predicate<? super T>, Predicate<? super T>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif both of its components evaluate totrue. - and(Iterable<? extends Predicate<? super T>>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif each of its components evaluates totrue. - andThen(Converter<B, C>) - Method in class dev.mccue.guava.base.Converter
-
Returns a converter whose
convertmethod appliessecondConverterto the result of this converter. - any() - Static method in class dev.mccue.guava.base.CharMatcher
-
Matches any character.
- anyOf(CharSequence) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher that matches any BMP character present in the given character sequence. - appendTo(A, Object[]) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, toappendable. - appendTo(A, Iterable<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, toappendable. - appendTo(A, Iterable<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries, using the previously configured separator and key-value separator, toappendable. - appendTo(A, Object, Object, Object...) - Method in class dev.mccue.guava.base.Joiner
-
Appends to
appendablethe string representation of each of the remaining arguments. - appendTo(A, Iterator<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, toappendable. - appendTo(A, Iterator<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries, using the previously configured separator and key-value separator, toappendable. - appendTo(A, Map<?, ?>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry of
map, using the previously configured separator and key-value separator, toappendable. - appendTo(StringBuilder, Object[]) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, tobuilder. - appendTo(StringBuilder, Iterable<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, tobuilder. - appendTo(StringBuilder, Iterable<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries, using the previously configured separator and key-value separator, tobuilder. - appendTo(StringBuilder, Object, Object, Object...) - Method in class dev.mccue.guava.base.Joiner
-
Appends to
builderthe string representation of each of the remaining arguments. - appendTo(StringBuilder, Iterator<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Appends the string representation of each of
parts, using the previously configured separator between each, tobuilder. - appendTo(StringBuilder, Iterator<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries, using the previously configured separator and key-value separator, tobuilder. - appendTo(StringBuilder, Map<?, ?>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Appends the string representation of each entry of
map, using the previously configured separator and key-value separator, tobuilder. - apply(A) - Method in class dev.mccue.guava.base.Converter
-
Deprecated.
- apply(F) - Method in interface dev.mccue.guava.base.Function
- apply(Character) - Method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Provided only to satisfy the
Predicateinterface; useCharMatcher.matches(char)instead. - apply(T) - Method in interface dev.mccue.guava.base.Predicate
-
Returns the result of applying this predicate to
input(Java 8 users, see notes in the class documentation above). - ascii() - Static method in class dev.mccue.guava.base.CharMatcher
-
Determines whether a character is ASCII, meaning that its code point is less than 128.
- Ascii - Class in dev.mccue.guava.base
-
Static methods pertaining to ASCII characters (those in the range of values
0x00through0x7F), and to strings containing such characters. - asSet() - Method in class dev.mccue.guava.base.Optional
B
- BEL - Static variable in class dev.mccue.guava.base.Ascii
-
Bell ('\a'): A character for use when there is a need to call for human attention.
- breakingWhitespace() - Static method in class dev.mccue.guava.base.CharMatcher
-
Determines whether a character is a breaking whitespace (that is, a whitespace which can be interpreted as a break between words for formatting purposes).
- BS - Static variable in class dev.mccue.guava.base.Ascii
-
Backspace ('\b'): A format effector which controls the movement of the printing position one printing space backward on the same printing line.
C
- CAN - Static variable in class dev.mccue.guava.base.Ascii
-
Cancel: A control character used to indicate that the data with which it is sent is in error or is to be disregarded.
- CaseFormat - Enum in dev.mccue.guava.base
-
Utility class for converting between various ASCII case formats.
- CharMatcher - Class in dev.mccue.guava.base
- CharMatcher() - Constructor for class dev.mccue.guava.base.CharMatcher
-
Constructor for use by subclasses.
- Charsets - Class in dev.mccue.guava.base
-
Contains constant definitions for the six standard
Charsetinstances, which are guaranteed to be supported by all Java platform implementations. - checkArgument(boolean) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object...) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkElementIndex(int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that
indexspecifies a valid element in an array, list or string of sizesize. - checkElementIndex(int, int, String) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that
indexspecifies a valid element in an array, list or string of sizesize. - checkNotNull(T) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object...) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkPositionIndex(int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that
indexspecifies a valid position in an array, list or string of sizesize. - checkPositionIndex(int, int, String) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that
indexspecifies a valid position in an array, list or string of sizesize. - checkPositionIndexes(int, int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures that
startandendspecify valid positions in an array, list or string of sizesize, and are in order. - checkState(boolean) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, char) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, int) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, long) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object, Object, Object) - Static method in class dev.mccue.guava.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- collapseFrom(CharSequence, char) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string copy of the input character sequence, with each group of consecutive matching BMP characters replaced by a single replacement character.
- commonPrefix(CharSequence, CharSequence) - Static method in class dev.mccue.guava.base.Strings
-
Returns the longest string
prefixsuch thata.toString().startsWith(prefix) && b.toString().startsWith(prefix), taking care not to split surrogate pairs. - commonSuffix(CharSequence, CharSequence) - Static method in class dev.mccue.guava.base.Strings
-
Returns the longest string
suffixsuch thata.toString().endsWith(suffix) && b.toString().endsWith(suffix), taking care not to split surrogate pairs. - compose(Function<? super F, T>, Supplier<F>) - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a new supplier which is the composition of the provided function and supplier.
- compose(Function<B, C>, Function<A, ? extends B>) - Static method in class dev.mccue.guava.base.Functions
-
Returns the composition of two functions.
- compose(Predicate<B>, Function<A, ? extends B>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns the composition of a function and a predicate.
- constant(E) - Static method in class dev.mccue.guava.base.Functions
-
Returns a function that ignores its input and always returns
value. - contains(Pattern) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif theCharSequencebeing tested contains any match for the given regular expression pattern. - containsPattern(String) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif theCharSequencebeing tested contains any match for the given regular expression pattern. - convert(A) - Method in class dev.mccue.guava.base.Converter
-
Returns a representation of
aas an instance of typeB. - convertAll(Iterable<? extends A>) - Method in class dev.mccue.guava.base.Converter
-
Returns an iterable that applies
convertto each element offromIterable. - Converter<A,
B> - Class in dev.mccue.guava.base -
A function from
AtoBwith an associated reverse function fromBtoA; used for converting back and forth between different representations of the same information. - Converter() - Constructor for class dev.mccue.guava.base.Converter
-
Constructor for use by subclasses.
- converterTo(CaseFormat) - Method in enum dev.mccue.guava.base.CaseFormat
-
Returns a serializable
Converterthat converts strings from this format totargetFormat. - countIn(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns the number of matching
chars found in a character sequence. - CR - Static variable in class dev.mccue.guava.base.Ascii
-
Carriage Return ('\r'): A format effector which controls the movement of the printing position to the first printing position on the same printing line.
- createStarted() - Static method in class dev.mccue.guava.base.Stopwatch
-
Creates (and starts) a new stopwatch using
System.nanoTime()as its time source. - createStarted(Ticker) - Static method in class dev.mccue.guava.base.Stopwatch
-
Creates (and starts) a new stopwatch, using the specified time source.
- createUnstarted() - Static method in class dev.mccue.guava.base.Stopwatch
-
Creates (but does not start) a new stopwatch using
System.nanoTime()as its time source. - createUnstarted(Ticker) - Static method in class dev.mccue.guava.base.Stopwatch
-
Creates (but does not start) a new stopwatch, using the specified time source.
D
- DC1 - Static variable in class dev.mccue.guava.base.Ascii
-
Device Control 1.
- DC2 - Static variable in class dev.mccue.guava.base.Ascii
-
Device Control 2.
- DC3 - Static variable in class dev.mccue.guava.base.Ascii
-
Device Control 3.
- DC4 - Static variable in class dev.mccue.guava.base.Ascii
-
Device Control 4.
- Defaults - Class in dev.mccue.guava.base
-
This class provides default values for all Java types, as defined by the JLS.
- defaultValue(Class<T>) - Static method in class dev.mccue.guava.base.Defaults
-
Returns the default value of
typeas defined by JLS ---0for numbers,falseforbooleanand'\0'forchar. - DEL - Static variable in class dev.mccue.guava.base.Ascii
-
Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted characters in perforated tape.
- dev.mccue.guava.base - module dev.mccue.guava.base
- dev.mccue.guava.base - package dev.mccue.guava.base
-
Basic utility libraries and interfaces.
- digit() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Many digits are supplementary characters; see the class documentation.
- DLE - Static variable in class dev.mccue.guava.base.Ascii
-
Data Link Escape: A communication control character which will change the meaning of a limited number of contiguously following characters.
- doBackward(B) - Method in class dev.mccue.guava.base.Converter
-
Returns a representation of
bas an instance of typeA. - doEquivalent(T, T) - Method in class dev.mccue.guava.base.Equivalence
-
Implemented by the user to determine whether
aandbare considered equivalent, subject to the requirements specified inEquivalence.equivalent(T, T). - doForward(A) - Method in class dev.mccue.guava.base.Converter
-
Returns a representation of
aas an instance of typeB. - doHash(T) - Method in class dev.mccue.guava.base.Equivalence
-
Implemented by the user to return a hash code for
t, subject to the requirements specified inEquivalence.hash(T).
E
- elapsed() - Method in class dev.mccue.guava.base.Stopwatch
-
Returns the current elapsed time shown on this stopwatch as a
Duration. - elapsed(TimeUnit) - Method in class dev.mccue.guava.base.Stopwatch
-
Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, with any fraction rounded down.
- EM - Static variable in class dev.mccue.guava.base.Ascii
-
End of Medium: A control character associated with the sent data which may be used to identify the physical end of the medium, or the end of the used, or wanted, portion of information recorded on a medium.
- emptyToNull(String) - Static method in class dev.mccue.guava.base.Strings
-
Returns the given string if it is nonempty;
nullotherwise. - encodedLength(CharSequence) - Static method in class dev.mccue.guava.base.Utf8
-
Returns the number of bytes in the UTF-8-encoded form of
sequence. - ENQ - Static variable in class dev.mccue.guava.base.Ascii
-
Enquiry: A communication control character used in data communication systems as a request for a response from a remote station.
- Enums - Class in dev.mccue.guava.base
-
Utility methods for working with
Enuminstances. - EOT - Static variable in class dev.mccue.guava.base.Ascii
-
End of Transmission: A communication control character used to indicate the conclusion of a transmission, which may have contained one or more texts and any associated headings.
- equal(Object, Object) - Static method in class dev.mccue.guava.base.Objects
-
Determines whether two possibly-null objects are equal.
- equals() - Static method in class dev.mccue.guava.base.Equivalence
-
Returns an equivalence that delegates to
Object.equals(java.lang.Object)andObject.hashCode(). - equals(Object) - Method in class dev.mccue.guava.base.Converter
-
Indicates whether another object is equal to this converter.
- equals(Object) - Method in class dev.mccue.guava.base.Equivalence.Wrapper
-
Returns
trueifEquivalence.equivalent(Object, Object)applied to the wrapped references istrueand both wrappers use thesameequivalence. - equals(Object) - Method in interface dev.mccue.guava.base.Function
-
May return
trueifobjectis aFunctionthat behaves identically to this function. - equals(Object) - Method in class dev.mccue.guava.base.Optional
-
Returns
trueifobjectis anOptionalinstance, and either the contained references are equal to each other or both are absent. - equals(Object) - Method in interface dev.mccue.guava.base.Predicate
-
Indicates whether another object is equal to this predicate.
- equalsIgnoreCase(CharSequence, CharSequence) - Static method in class dev.mccue.guava.base.Ascii
-
Indicates whether the contents of the given character sequences
s1ands2are equal, ignoring the case of any ASCII alphabetic characters between'a'and'z'or'A'and'Z'inclusive. - equalTo(T) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the object being testedequals()the given target or both are null. - Equivalence<T> - Class in dev.mccue.guava.base
-
A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.
- Equivalence() - Constructor for class dev.mccue.guava.base.Equivalence
-
Constructor for use by subclasses.
- Equivalence.Wrapper<T extends @Nullable Object> - Class in dev.mccue.guava.base
-
Wraps an object so that
Equivalence.Wrapper.equals(Object)andEquivalence.Wrapper.hashCode()delegate to anEquivalence. - equivalent(T, T) - Method in class dev.mccue.guava.base.Equivalence
-
Returns
trueif the given objects are considered equivalent. - equivalentTo(T) - Method in class dev.mccue.guava.base.Equivalence
-
Returns a predicate that evaluates to true if and only if the input is equivalent to
targetaccording to this equivalence relation. - ESC - Static variable in class dev.mccue.guava.base.Ascii
-
Escape: A control character intended to provide code extension (supplementary characters) in general information interchange.
- ETB - Static variable in class dev.mccue.guava.base.Ascii
-
End of Transmission Block: A communication control character used to indicate the end of a block of data for communication purposes.
- ETX - Static variable in class dev.mccue.guava.base.Ascii
-
End of Text: A communication control character used to terminate a sequence of characters started with STX and transmitted as an entity.
F
- FF - Static variable in class dev.mccue.guava.base.Ascii
-
Form Feed ('\f'): A format effector which controls the movement of the printing position to the first pre-determined printing line on the next form or page.
- FILE_SEPARATOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
File separator ("/" on UNIX).
- firstNonNull(T, T) - Static method in class dev.mccue.guava.base.MoreObjects
-
Returns the first of two given parameters that is not
null, if either is, or otherwise throws aNullPointerException. - fixedLength(int) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that divides strings into pieces of the given length.
- forMap(Map<K, ? extends V>, V) - Static method in class dev.mccue.guava.base.Functions
-
Returns a function which performs a map lookup with a default value.
- forMap(Map<K, V>) - Static method in class dev.mccue.guava.base.Functions
-
Returns a function which performs a map lookup.
- forPredicate(Predicate<? super Character>) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a matcher with identical behavior to the given
Character-based predicate, but which operates on primitivecharinstances instead. - forPredicate(Predicate<T>) - Static method in class dev.mccue.guava.base.Functions
-
Creates a function that returns the same boolean output as the given predicate for all inputs.
- forSupplier(Supplier<T>) - Static method in class dev.mccue.guava.base.Functions
-
Returns a function that ignores its input and returns the result of
supplier.get(). - from(Function<? super A, ? extends B>, Function<? super B, ? extends A>) - Static method in class dev.mccue.guava.base.Converter
-
Returns a converter based on separate forward and backward functions.
- fromJavaUtil(Optional<T>) - Static method in class dev.mccue.guava.base.Optional
-
Returns the equivalent
dev.mccue.guava.base.Optionalvalue to the givenjava.util.Optional, ornullif the argument is null. - fromNullable(T) - Static method in class dev.mccue.guava.base.Optional
-
If
nullableReferenceis non-null, returns anOptionalinstance containing that reference; otherwise returnsOptional.absent(). - FS - Static variable in class dev.mccue.guava.base.Ascii
-
File Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- Function<F extends @Nullable Object,
T extends @Nullable Object> - Interface in dev.mccue.guava.base -
Legacy version of
java.util.function.Function. - Functions - Class in dev.mccue.guava.base
-
Static utility methods pertaining to
dev.mccue.guava.base.Functioninstances; see that class for information about migrating tojava.util.function.
G
- get() - Method in class dev.mccue.guava.base.Equivalence.Wrapper
-
Returns the (possibly null) reference wrapped by this instance.
- get() - Method in class dev.mccue.guava.base.Optional
-
Returns the contained instance, which must be present.
- get() - Method in interface dev.mccue.guava.base.Supplier
-
Retrieves an instance of the appropriate type.
- getCausalChain(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Gets a
Throwablecause chain as a list. - getCauseAs(Throwable, Class<X>) - Static method in class dev.mccue.guava.base.Throwables
-
Returns
throwable's cause, cast toexpectedCauseType. - getField(Enum<?>) - Static method in class dev.mccue.guava.base.Enums
-
Returns the
Fieldin whichenumValueis defined. - getIfPresent(Class<T>, String) - Static method in class dev.mccue.guava.base.Enums
-
Returns an optional enum constant for the given type, using
Enum.valueOf(java.lang.Class<T>, java.lang.String). - getRootCause(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Returns the innermost cause of
throwable. - getStackTraceAsString(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Returns a string containing the result of
toString(), followed by the full, recursive stack trace ofthrowable. - GS - Static variable in class dev.mccue.guava.base.Ascii
-
Group Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
H
- hash(T) - Method in class dev.mccue.guava.base.Equivalence
-
Returns a hash code for
t. - hashCode() - Method in class dev.mccue.guava.base.Equivalence.Wrapper
-
Returns the result of
Equivalence.hash(Object)applied to the wrapped reference. - hashCode() - Method in class dev.mccue.guava.base.Optional
-
Returns a hash code for this instance.
- hashCode(Object...) - Static method in class dev.mccue.guava.base.Objects
-
Generates a hash code for multiple values.
- HT - Static variable in class dev.mccue.guava.base.Ascii
-
Horizontal Tabulation ('\t'): A format effector which controls the movement of the printing position to the next in a series of predetermined positions along the printing line.
I
- identity() - Static method in class dev.mccue.guava.base.Converter
-
Returns a serializable converter that always converts or reverses an object to itself.
- identity() - Static method in class dev.mccue.guava.base.Equivalence
-
Returns an equivalence that uses
==to compare values andSystem.identityHashCode(Object)to compute the hash code. - identity() - Static method in class dev.mccue.guava.base.Functions
-
Returns the identity function.
- in(Collection<? extends T>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the object reference being tested is a member of the given collection. - indexIn(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns the index of the first matching BMP character in a character sequence, or
-1if no matching character is present. - indexIn(CharSequence, int) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns the index of the first matching BMP character in a character sequence, starting from a given position, or
-1if no character matches after that position. - inRange(char, char) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher that matches any character in a given BMP range (both endpoints are inclusive). - instanceOf(Class<?>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the object being tested is an instance of the given class. - invisible() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Most invisible characters are supplementary characters; see the class documentation.
- is(char) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher that matches only one specified BMP character. - isLowerCase(char) - Static method in class dev.mccue.guava.base.Ascii
-
Indicates whether
cis one of the twenty-six lowercase ASCII alphabetic characters between'a'and'z'inclusive. - isNot(char) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher that matches any character except the BMP character specified. - isNull() - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the object reference being tested is null. - isNullOrEmpty(String) - Static method in class dev.mccue.guava.base.Strings
-
Returns
trueif the given string is null or is the empty string. - ISO_8859_1 - Static variable in class dev.mccue.guava.base.Charsets
-
ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
- isPresent() - Method in class dev.mccue.guava.base.Optional
-
Returns
trueif this holder contains a (non-null) instance. - isRunning() - Method in class dev.mccue.guava.base.Stopwatch
- isUpperCase(char) - Static method in class dev.mccue.guava.base.Ascii
-
Indicates whether
cis one of the twenty-six uppercase ASCII alphabetic characters between'A'and'Z'inclusive. - isWellFormed(byte[]) - Static method in class dev.mccue.guava.base.Utf8
-
Returns
trueifbytesis a well-formed UTF-8 byte sequence according to Unicode 6.0. - isWellFormed(byte[], int, int) - Static method in class dev.mccue.guava.base.Utf8
-
Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
Utf8.isWellFormed(byte[]).
J
- JAVA_CLASS_PATH - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java class path.
- JAVA_CLASS_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java class format version number.
- JAVA_COMPILER - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Name of JIT compiler to use.
- JAVA_EXT_DIRS - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Deprecated.This property was deprecated in Java 8 and removed in Java 9. We do not plan to remove this API from Guava, but if you are using it, it is probably not doing what you want.
- JAVA_HOME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java installation directory.
- JAVA_IO_TMPDIR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Default temp file path.
- JAVA_LIBRARY_PATH - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
List of paths to search when loading libraries.
- JAVA_SPECIFICATION_NAME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Runtime Environment specification name.
- JAVA_SPECIFICATION_VENDOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Runtime Environment specification vendor.
- JAVA_SPECIFICATION_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Runtime Environment specification version.
- JAVA_VENDOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Runtime Environment vendor.
- JAVA_VENDOR_URL - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java vendor URL.
- JAVA_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Runtime Environment version.
- JAVA_VM_NAME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine implementation name.
- JAVA_VM_SPECIFICATION_NAME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine specification name.
- JAVA_VM_SPECIFICATION_VENDOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine specification vendor.
- JAVA_VM_SPECIFICATION_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine specification version.
- JAVA_VM_VENDOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine implementation vendor.
- JAVA_VM_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Java Virtual Machine implementation version.
- javaDigit() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Many digits are supplementary characters; see the class documentation.
- javaIsoControl() - Static method in class dev.mccue.guava.base.CharMatcher
-
Determines whether a character is an ISO control character as specified by
Character.isISOControl(char). - javaLetter() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Most letters are supplementary characters; see the class documentation.
- javaLetterOrDigit() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Most letters and digits are supplementary characters; see the class documentation.
- javaLowerCase() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Some lowercase characters are supplementary characters; see the class documentation.
- javaUpperCase() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Some uppercase characters are supplementary characters; see the class documentation.
- join(Object[]) - Method in class dev.mccue.guava.base.Joiner
-
Returns a string containing the string representation of each of
parts, using the previously configured separator between each. - join(Iterable<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Returns a string containing the string representation of each of
parts, using the previously configured separator between each. - join(Iterable<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry in
entries, using the previously configured separator and key-value separator. - join(Object, Object, Object...) - Method in class dev.mccue.guava.base.Joiner
-
Returns a string containing the string representation of each argument, using the previously configured separator between each.
- join(Iterator<? extends Object>) - Method in class dev.mccue.guava.base.Joiner
-
Returns a string containing the string representation of each of
parts, using the previously configured separator between each. - join(Iterator<? extends Map.Entry<?, ?>>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry in
entries, using the previously configured separator and key-value separator. - join(Map<?, ?>) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry of
map, using the previously configured separator and key-value separator. - Joiner - Class in dev.mccue.guava.base
- Joiner.MapJoiner - Class in dev.mccue.guava.base
-
An object that joins map entries in the same manner as
Joinerjoins iterables and arrays.
K
- key() - Method in enum dev.mccue.guava.base.StandardSystemProperty
-
Returns the key used to look up this system property.
L
- lastIndexIn(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns the index of the last matching BMP character in a character sequence, or
-1if no matching character is present. - lazyStackTrace(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Deprecated.This method is equivalent to
Throwable.getStackTrace()on JDK versions past JDK 8 and on all Android versions. UseThrowable.getStackTrace()directly, or where possible use thejava.lang.StackWalker.walkmethod introduced in JDK 9. - lazyStackTraceIsLazy() - Static method in class dev.mccue.guava.base.Throwables
-
Deprecated.This method always returns false on JDK versions past JDK 8 and on all Android versions.
- lenientFormat(String, Object...) - Static method in class dev.mccue.guava.base.Strings
-
Returns the given
templatestring with each occurrence of"%s"replaced with the corresponding argument value fromargs; or, if the placeholder and argument counts do not match, returns a best-effort form of that string. - LF - Static variable in class dev.mccue.guava.base.Ascii
-
Line Feed ('\n'): A format effector which controls the movement of the printing position to the next printing line.
- limit(int) - Method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that behaves equivalently to
thissplitter but stops splitting after it reaches the limit. - LINE_SEPARATOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Line separator ("\n" on UNIX).
- LOWER_CAMEL - Enum constant in enum dev.mccue.guava.base.CaseFormat
-
Java variable naming convention, e.g., "lowerCamel".
- LOWER_HYPHEN - Enum constant in enum dev.mccue.guava.base.CaseFormat
-
Hyphenated variable naming convention, e.g., "lower-hyphen".
- LOWER_UNDERSCORE - Enum constant in enum dev.mccue.guava.base.CaseFormat
-
C++ variable naming convention, e.g., "lower_underscore".
M
- matches(char) - Method in class dev.mccue.guava.base.CharMatcher
-
Determines a true or false value for the given character.
- matchesAllOf(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns
trueif a character sequence contains only matching BMP characters. - matchesAnyOf(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns
trueif a character sequence contains at least one matching BMP character. - matchesNoneOf(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns
trueif a character sequence contains no matching BMP characters. - MAX - Static variable in class dev.mccue.guava.base.Ascii
-
The maximum value of an ASCII character.
- memoize(Supplier<T>) - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a supplier which caches the instance retrieved during the first call to
get()and returns that value on subsequent calls toget(). - memoizeWithExpiration(Supplier<T>, long, TimeUnit) - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
- MIN - Static variable in class dev.mccue.guava.base.Ascii
-
The minimum value of an ASCII character.
- MoreObjects - Class in dev.mccue.guava.base
-
Helper functions that operate on any
Object, and are not already provided inObjects. - MoreObjects.ToStringHelper - Class in dev.mccue.guava.base
-
Support class for
MoreObjects.toStringHelper(java.lang.Object).
N
- NAK - Static variable in class dev.mccue.guava.base.Ascii
-
Negative Acknowledge: A communication control character transmitted by a receiver as a negative response to the sender.
- negate() - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a matcher that matches any character not matched by this matcher.
- NL - Static variable in class dev.mccue.guava.base.Ascii
-
Alternate name for
Ascii.LF. - none() - Static method in class dev.mccue.guava.base.CharMatcher
-
Matches no characters.
- noneOf(CharSequence) - Static method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher that matches any BMP character not present in the given character sequence. - not(Predicate<T>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the given predicate evaluates tofalse. - notNull() - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the object reference being tested is not null. - NUL - Static variable in class dev.mccue.guava.base.Ascii
-
Null ('\0'): The all-zeros character which may serve to accomplish time fill and media fill.
- nullToEmpty(String) - Static method in class dev.mccue.guava.base.Strings
-
Returns the given string if it is non-null; the empty string otherwise.
O
- Objects - Class in dev.mccue.guava.base
-
Helper functions that can operate on any
Object. - of(T) - Static method in class dev.mccue.guava.base.Optional
-
Returns an
Optionalinstance containing the given non-null reference. - ofInstance(T) - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a supplier that always supplies
instance. - omitEmptyStrings() - Method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that behaves equivalently to
thissplitter, but automatically omits empty strings from the results. - omitNullValues() - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Configures the
MoreObjects.ToStringHelpersoMoreObjects.ToStringHelper.toString()will ignore properties with null value. - on(char) - Static method in class dev.mccue.guava.base.Joiner
-
Returns a joiner which automatically places
separatorbetween consecutive elements. - on(char) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that uses the given single-character separator.
- on(CharMatcher) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that considers any single character matched by the given
CharMatcherto be a separator. - on(String) - Static method in class dev.mccue.guava.base.Joiner
-
Returns a joiner which automatically places
separatorbetween consecutive elements. - on(String) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that uses the given fixed string as a separator.
- on(Pattern) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that considers any subsequence matching
patternto be a separator. - onPattern(String) - Static method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.
- onResultOf(Function<? super F, ? extends T>) - Method in class dev.mccue.guava.base.Equivalence
-
Returns a new equivalence relation for
Fwhich evaluates equivalence by first applyingfunctionto the argument, then evaluating usingthis. - Optional<T> - Class in dev.mccue.guava.base
-
An immutable object that may contain a non-null reference to another object.
- or(CharMatcher) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a matcher that matches any character matched by either this matcher or
other. - or(Optional<? extends T>) - Method in class dev.mccue.guava.base.Optional
-
Returns this
Optionalif it has a value present;secondChoiceotherwise. - or(Predicate<? super T>...) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif any one of its components evaluates totrue. - or(Predicate<? super T>, Predicate<? super T>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif either of its components evaluates totrue. - or(Supplier<? extends T>) - Method in class dev.mccue.guava.base.Optional
-
Returns the contained instance if it is present;
supplier.get()otherwise. - or(Iterable<? extends Predicate<? super T>>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif any one of its components evaluates totrue. - or(T) - Method in class dev.mccue.guava.base.Optional
-
Returns the contained instance if it is present;
defaultValueotherwise. - orNull() - Method in class dev.mccue.guava.base.Optional
-
Returns the contained instance if it is present;
nullotherwise. - OS_ARCH - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Operating system architecture.
- OS_NAME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Operating system name.
- OS_VERSION - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Operating system version.
P
- padEnd(String, int, char) - Static method in class dev.mccue.guava.base.Strings
-
Returns a string, of length at least
minLength, consisting ofstringappended with as many copies ofpadCharas are necessary to reach that length. - padStart(String, int, char) - Static method in class dev.mccue.guava.base.Strings
-
Returns a string, of length at least
minLength, consisting ofstringprepended with as many copies ofpadCharas are necessary to reach that length. - pairwise() - Method in class dev.mccue.guava.base.Equivalence
-
Returns an equivalence over iterables based on the equivalence of their elements.
- PATH_SEPARATOR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
Path separator (":" on UNIX).
- precomputed() - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a
charmatcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary. - Preconditions - Class in dev.mccue.guava.base
-
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).
- Predicate<T extends @Nullable Object> - Interface in dev.mccue.guava.base
-
Legacy version of
java.util.function.Predicate. - Predicates - Class in dev.mccue.guava.base
-
Static utility methods pertaining to
Predicateinstances. - presentInstances(Iterable<? extends Optional<? extends T>>) - Static method in class dev.mccue.guava.base.Optional
-
Returns the value of each present instance from the supplied
optionals, in order, skipping over occurrences ofOptional.absent(). - propagate(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Deprecated.Use
throw eorthrow new RuntimeException(e)directly, or use a combination ofThrowables.throwIfUnchecked(java.lang.Throwable)andthrow new RuntimeException(e). For background on the deprecation, read Why we deprecatedThrowables.propagate. - propagateIfInstanceOf(Throwable, Class<X>) - Static method in class dev.mccue.guava.base.Throwables
-
Deprecated.Use
Throwables.throwIfInstanceOf(java.lang.Throwable, java.lang.Class<X>), which has the same behavior but rejectsnull. - propagateIfPossible(Throwable) - Static method in class dev.mccue.guava.base.Throwables
-
Deprecated.Use
Throwables.throwIfUnchecked(java.lang.Throwable), which has the same behavior but rejectsnull. - propagateIfPossible(Throwable, Class<X>) - Static method in class dev.mccue.guava.base.Throwables
-
Propagates
throwableexactly as-is, if and only if it is an instance ofRuntimeException,Error, ordeclaredType. - propagateIfPossible(Throwable, Class<X1>, Class<X2>) - Static method in class dev.mccue.guava.base.Throwables
-
Propagates
throwableexactly as-is, if and only if it is an instance ofRuntimeException,Error,declaredType1, ordeclaredType2.
R
- read() - Method in class dev.mccue.guava.base.Ticker
-
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
- removeFrom(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string containing all non-matching characters of a character sequence, in order.
- repeat(String, int) - Static method in class dev.mccue.guava.base.Strings
-
Returns a string consisting of a specific number of concatenated copies of an input string.
- replaceFrom(CharSequence, char) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string copy of the input character sequence, with each matching BMP character replaced by a given replacement character.
- replaceFrom(CharSequence, CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string copy of the input character sequence, with each matching BMP character replaced by a given replacement sequence.
- reset() - Method in class dev.mccue.guava.base.Stopwatch
-
Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
- retainFrom(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string containing all matching BMP characters of a character sequence, in order.
- reverse() - Method in class dev.mccue.guava.base.Converter
-
Returns the reversed view of this converter, which converts
this.convert(a)back to a value roughly equivalent toa. - RS - Static variable in class dev.mccue.guava.base.Ascii
-
Record Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
S
- SI - Static variable in class dev.mccue.guava.base.Ascii
-
Shift In: A control character indicating that the code combinations which follow shall be interpreted according to the standard code table.
- singleWidth() - Static method in class dev.mccue.guava.base.CharMatcher
-
Deprecated.Many such characters are supplementary characters; see the class documentation.
- skipNulls() - Method in class dev.mccue.guava.base.Joiner
-
Returns a joiner with the same behavior as this joiner, except automatically skipping over any provided null elements.
- SO - Static variable in class dev.mccue.guava.base.Ascii
-
Shift Out: A control character indicating that the code combinations which follow shall be interpreted as outside of the character set of the standard code table until a Shift In character is reached.
- SOH - Static variable in class dev.mccue.guava.base.Ascii
-
Start of Heading: A communication control character used at the beginning of a sequence of characters which constitute a machine-sensible address or routing information.
- SP - Static variable in class dev.mccue.guava.base.Ascii
-
Space: A normally non-printing graphic character used to separate words.
- SPACE - Static variable in class dev.mccue.guava.base.Ascii
-
Alternate name for
Ascii.SP. - split(CharSequence) - Method in class dev.mccue.guava.base.Splitter.MapSplitter
-
Splits
sequenceinto substrings, splits each substring into an entry, and returns an unmodifiable map with each of the entries. - split(CharSequence) - Method in class dev.mccue.guava.base.Splitter
-
Splits
sequenceinto string components and makes them available through anIterator, which may be lazily evaluated. - Splitter - Class in dev.mccue.guava.base
-
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.
- Splitter.MapSplitter - Class in dev.mccue.guava.base
-
An object that splits strings into maps as
Splittersplits iterables and lists. - splitToList(CharSequence) - Method in class dev.mccue.guava.base.Splitter
-
Splits
sequenceinto string components and returns them as an immutable list. - splitToStream(CharSequence) - Method in class dev.mccue.guava.base.Splitter
-
Splits
sequenceinto string components and makes them available through anStream, which may be lazily evaluated. - StandardSystemProperty - Enum in dev.mccue.guava.base
-
Represents a standard system property.
- start() - Method in class dev.mccue.guava.base.Stopwatch
-
Starts the stopwatch.
- stop() - Method in class dev.mccue.guava.base.Stopwatch
-
Stops the stopwatch.
- Stopwatch - Class in dev.mccue.guava.base
-
An object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.
- stringConverter(Class<T>) - Static method in class dev.mccue.guava.base.Enums
-
Returns a serializable converter that converts between strings and
enumvalues of typeenumClassusingEnum.valueOf(Class, String)andEnum.name(). - Strings - Class in dev.mccue.guava.base
-
Static utility methods pertaining to
StringorCharSequenceinstances. - STX - Static variable in class dev.mccue.guava.base.Ascii
-
Start of Text: A communication control character which precedes a sequence of characters that is to be treated as an entity and entirely transmitted through to the ultimate destination.
- SUB - Static variable in class dev.mccue.guava.base.Ascii
-
Substitute: A character that may be substituted for a character which is determined to be invalid or in error.
- subtypeOf(Class<?>) - Static method in class dev.mccue.guava.base.Predicates
-
Returns a predicate that evaluates to
trueif the class being tested is assignable to (is a subtype of)clazz. - Supplier<T extends @Nullable Object> - Interface in dev.mccue.guava.base
-
Legacy version of
java.util.function.Supplier. - supplierFunction() - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a function that accepts a supplier and returns the result of invoking
Supplier.get()on that supplier. - Suppliers - Class in dev.mccue.guava.base
-
Useful suppliers.
- SYN - Static variable in class dev.mccue.guava.base.Ascii
-
Synchronous Idle: A communication control character used by a synchronous transmission system in the absence of any other character to provide a signal from which synchronism may be achieved or retained.
- synchronizedSupplier(Supplier<T>) - Static method in class dev.mccue.guava.base.Suppliers
-
Returns a supplier whose
get()method synchronizes ondelegatebefore calling it, making it thread-safe. - systemTicker() - Static method in class dev.mccue.guava.base.Ticker
-
A ticker that reads the current time using
System.nanoTime().
T
- test(T) - Method in interface dev.mccue.guava.base.Predicate
- test(T, T) - Method in class dev.mccue.guava.base.Equivalence
-
Deprecated.Provided only to satisfy the
BiPredicateinterface; useEquivalence.equivalent(T, T)instead. - Throwables - Class in dev.mccue.guava.base
-
Static utility methods pertaining to instances of
Throwable. - throwIfInstanceOf(Throwable, Class<X>) - Static method in class dev.mccue.guava.base.Throwables
-
Throws
throwableif it is an instance ofdeclaredType. - throwIfUnchecked(Throwable) - Static method in class dev.mccue.guava.base.Throwables
- Ticker - Class in dev.mccue.guava.base
-
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.
- Ticker() - Constructor for class dev.mccue.guava.base.Ticker
-
Constructor for use by subclasses.
- to(CaseFormat, String) - Method in enum dev.mccue.guava.base.CaseFormat
-
Converts the specified
String strfrom this format to the specifiedformat. - toJavaUtil() - Method in class dev.mccue.guava.base.Optional
-
Returns the equivalent
java.util.Optionalvalue to this optional. - toJavaUtil(Optional<T>) - Static method in class dev.mccue.guava.base.Optional
-
Returns the equivalent
java.util.Optionalvalue to the givendev.mccue.guava.base.Optional, ornullif the argument is null. - toLowerCase(char) - Static method in class dev.mccue.guava.base.Ascii
-
If the argument is an uppercase ASCII character, returns the lowercase equivalent.
- toLowerCase(CharSequence) - Static method in class dev.mccue.guava.base.Ascii
-
Returns a copy of the input character sequence in which all uppercase ASCII characters have been converted to lowercase.
- toLowerCase(String) - Static method in class dev.mccue.guava.base.Ascii
-
Returns a copy of the input string in which all uppercase ASCII characters have been converted to lowercase.
- toString() - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a string representation of this
CharMatcher, such asCharMatcher.or(WHITESPACE, JAVA_DIGIT). - toString() - Method in class dev.mccue.guava.base.Equivalence.Wrapper
-
Returns a string representation for this equivalence wrapper.
- toString() - Method in class dev.mccue.guava.base.MoreObjects.ToStringHelper
-
Returns a string in the format specified by
MoreObjects.toStringHelper(Object). - toString() - Method in class dev.mccue.guava.base.Optional
-
Returns a string representation for this instance.
- toString() - Method in enum dev.mccue.guava.base.StandardSystemProperty
-
Returns a string representation of this system property.
- toString() - Method in class dev.mccue.guava.base.Stopwatch
-
Returns a string representation of the current elapsed time.
- toStringFunction() - Static method in class dev.mccue.guava.base.Functions
-
A function equivalent to the method reference
Object::toString, for users not yet using Java 8. - toStringHelper(Class<?>) - Static method in class dev.mccue.guava.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelperin the same manner asMoreObjects.toStringHelper(Object), but using the simple name ofclazzinstead of using an instance'sObject.getClass(). - toStringHelper(Object) - Static method in class dev.mccue.guava.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelper. - toStringHelper(String) - Static method in class dev.mccue.guava.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelperin the same manner asMoreObjects.toStringHelper(Object), but usingclassNameinstead of using an instance'sObject.getClass(). - toUpperCase(char) - Static method in class dev.mccue.guava.base.Ascii
-
If the argument is a lowercase ASCII character, returns the uppercase equivalent.
- toUpperCase(CharSequence) - Static method in class dev.mccue.guava.base.Ascii
-
Returns a copy of the input character sequence in which all lowercase ASCII characters have been converted to uppercase.
- toUpperCase(String) - Static method in class dev.mccue.guava.base.Ascii
-
Returns a copy of the input string in which all lowercase ASCII characters have been converted to uppercase.
- transform(Function<? super T, V>) - Method in class dev.mccue.guava.base.Optional
-
If the instance is present, it is transformed with the given
Function; otherwise,Optional.absent()is returned. - trimAndCollapseFrom(CharSequence, char) - Method in class dev.mccue.guava.base.CharMatcher
-
Collapses groups of matching characters exactly as
CharMatcher.collapseFrom(java.lang.CharSequence, char)does, except that groups of matching BMP characters at the start or end of the sequence are removed without replacement. - trimFrom(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a substring of the input character sequence that omits all matching BMP characters from the beginning and from the end of the string.
- trimLeadingFrom(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a substring of the input character sequence that omits all matching BMP characters from the beginning of the string.
- trimResults() - Method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that behaves equivalently to
thissplitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent totrimResults(CharMatcher.whitespace()). - trimResults(CharMatcher) - Method in class dev.mccue.guava.base.Splitter
-
Returns a splitter that behaves equivalently to
thissplitter, but removes all leading or trailing characters matching the givenCharMatcherfrom each returned substring. - trimTrailingFrom(CharSequence) - Method in class dev.mccue.guava.base.CharMatcher
-
Returns a substring of the input character sequence that omits all matching BMP characters from the end of the string.
- truncate(CharSequence, int, String) - Static method in class dev.mccue.guava.base.Ascii
-
Truncates the given character sequence to the given maximum length.
U
- UPPER_CAMEL - Enum constant in enum dev.mccue.guava.base.CaseFormat
-
Java and C++ class naming convention, e.g., "UpperCamel".
- UPPER_UNDERSCORE - Enum constant in enum dev.mccue.guava.base.CaseFormat
-
Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE".
- US - Static variable in class dev.mccue.guava.base.Ascii
-
Unit Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- US_ASCII - Static variable in class dev.mccue.guava.base.Charsets
-
US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
- useForNull(String) - Method in class dev.mccue.guava.base.Joiner.MapJoiner
-
Returns a map joiner with the same behavior as this one, except automatically substituting
nullTextfor any provided null keys or values. - useForNull(String) - Method in class dev.mccue.guava.base.Joiner
-
Returns a joiner with the same behavior as this one, except automatically substituting
nullTextfor any provided null elements. - USER_DIR - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
User's current working directory.
- USER_HOME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
User's home directory.
- USER_NAME - Enum constant in enum dev.mccue.guava.base.StandardSystemProperty
-
User's account name.
- UTF_16 - Static variable in class dev.mccue.guava.base.Charsets
-
UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
- UTF_16BE - Static variable in class dev.mccue.guava.base.Charsets
-
UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class dev.mccue.guava.base.Charsets
-
UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class dev.mccue.guava.base.Charsets
-
UTF-8: eight-bit UCS Transformation Format.
- Utf8 - Class in dev.mccue.guava.base
-
Low-level, high-performance utility methods related to the UTF-8 character encoding.
V
- value() - Method in enum dev.mccue.guava.base.StandardSystemProperty
-
Returns the current value for this system property by delegating to
System.getProperty(String). - valueOf(String) - Static method in enum dev.mccue.guava.base.CaseFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.mccue.guava.base.StandardSystemProperty
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.mccue.guava.base.CaseFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.mccue.guava.base.StandardSystemProperty
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(boolean) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith no message otherwise. - verify(boolean, String, char) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, char, char) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, char, int) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, char, long) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, char, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, int) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, int, char) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, int, int) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, int, long) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, int, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, long) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, long, char) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, long, int) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, long, long) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, long, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object...) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, char) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, int) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, long) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, Object, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - verify(boolean, String, Object, Object, Object, Object) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
expressionistrue, throwing aVerifyExceptionwith a custom message otherwise. - Verify - Class in dev.mccue.guava.base
-
Static convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.
- VerifyException - Exception in dev.mccue.guava.base
-
Exception thrown upon the failure of a verification check, including those performed by the convenience methods of the
Verifyclass. - VerifyException() - Constructor for exception dev.mccue.guava.base.VerifyException
-
Constructs a
VerifyExceptionwith no message. - VerifyException(String) - Constructor for exception dev.mccue.guava.base.VerifyException
-
Constructs a
VerifyExceptionwith the messagemessage. - VerifyException(String, Throwable) - Constructor for exception dev.mccue.guava.base.VerifyException
-
Constructs a
VerifyExceptionwith the messagemessageand the causecause. - VerifyException(Throwable) - Constructor for exception dev.mccue.guava.base.VerifyException
-
Constructs a
VerifyExceptionwith the causecauseand a message that isnullifcauseis null, andcause.toString()otherwise. - verifyNotNull(T) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
referenceis non-null, throwing aVerifyExceptionwith a default message otherwise. - verifyNotNull(T, String, Object...) - Static method in class dev.mccue.guava.base.Verify
-
Ensures that
referenceis non-null, throwing aVerifyExceptionwith a custom message otherwise. - VT - Static variable in class dev.mccue.guava.base.Ascii
-
Vertical Tabulation ('\v'): A format effector which controls the movement of the printing position to the next in a series of predetermined printing lines.
W
- whitespace() - Static method in class dev.mccue.guava.base.CharMatcher
-
Determines whether a character is whitespace according to the latest Unicode standard, as illustrated here.
- withKeyValueSeparator(char) - Method in class dev.mccue.guava.base.Joiner
-
Returns a
MapJoinerusing the given key-value separator, and the same configuration as thisJoinerotherwise. - withKeyValueSeparator(char) - Method in class dev.mccue.guava.base.Splitter
-
Returns a
MapSplitterwhich splits entries based on this splitter, and splits entries into keys and values using the specified separator. - withKeyValueSeparator(Splitter) - Method in class dev.mccue.guava.base.Splitter
-
Returns a
MapSplitterwhich splits entries based on this splitter, and splits entries into keys and values using the specified key-value splitter. - withKeyValueSeparator(String) - Method in class dev.mccue.guava.base.Joiner
-
Returns a
MapJoinerusing the given key-value separator, and the same configuration as thisJoinerotherwise. - withKeyValueSeparator(String) - Method in class dev.mccue.guava.base.Splitter
-
Returns a
MapSplitterwhich splits entries based on this splitter, and splits entries into keys and values using the specified separator. - wrap(S) - Method in class dev.mccue.guava.base.Equivalence
-
Returns a wrapper of
referencethat implementsObject.equals()such thatwrap(a).equals(wrap(b))if and only ifequivalent(a, b).
X
- XOFF - Static variable in class dev.mccue.guava.base.Ascii
-
Transmission off.
- XON - Static variable in class dev.mccue.guava.base.Ascii
-
Transmission On: Although originally defined as DC1, this ASCII control character is now better known as the XON code used for software flow control in serial communications.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Functioninterface; useConverter.convert(A)instead.