Skip navigation links
A C E F I M N O P R S T 

A

add(String, Object) - Method in class org.starchartlabs.alloy.core.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
addValue(Object) - Method in class org.starchartlabs.alloy.core.MoreObjects.ToStringHelper
Adds an unnamed value to the formatted output.

C

checkArgument(boolean) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Supplier<String>) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkState(boolean) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkState(boolean, Object) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkState(boolean, Supplier<String>) - Static method in class org.starchartlabs.alloy.core.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
commonPrefix(CharSequence, CharSequence) - Static method in class org.starchartlabs.alloy.core.Strings
 
commonSuffix(CharSequence, CharSequence) - Static method in class org.starchartlabs.alloy.core.Strings
 

E

emptyToNull(String) - Static method in class org.starchartlabs.alloy.core.Strings
Returns the given string if it is nonempty; null otherwise

F

format(String, Object...) - Static method in class org.starchartlabs.alloy.core.Strings
Returns a formatted string using the specified template string and arguments.

I

isNullOrEmpty(String) - Static method in class org.starchartlabs.alloy.core.Strings
Returns true if the given string is null or is the empty string.

M

map(Supplier<S>, Function<S, T>) - Static method in class org.starchartlabs.alloy.core.Suppliers
Returns a new supplier which calls the provided supplier and then applies the provided function to map the result to a new representation.
memoize(Supplier<T>) - Static method in class org.starchartlabs.alloy.core.Suppliers
Returns a supplier which caches the instance retrieved during the first call to get() and returns that value on subsequent calls to get()
memoizeWithExpiration(Supplier<T>, long, TimeUnit) - Static method in class org.starchartlabs.alloy.core.Suppliers
Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
MoreObjects - Class in org.starchartlabs.alloy.core
Provides methods for streamlining and reducing boilerplate in relation to basic Object operations
MoreObjects() - Constructor for class org.starchartlabs.alloy.core.MoreObjects
 
MoreObjects.ToStringHelper - Class in org.starchartlabs.alloy.core

N

nullToEmpty(String) - Static method in class org.starchartlabs.alloy.core.Strings
Returns the given string if it is non-null; the empty string otherwise

O

omitNullValues() - Method in class org.starchartlabs.alloy.core.MoreObjects.ToStringHelper
Configures the MoreObjects.ToStringHelper so MoreObjects.ToStringHelper.toString() will ignore properties with a null value.
org.starchartlabs.alloy.core - package org.starchartlabs.alloy.core
Core utilities for interacting with common Java constructs

P

padEnd(String, int, char) - Static method in class org.starchartlabs.alloy.core.Strings
Constructs a string, of length at least minLength, consisting of string appended with as many copies of padChar as are necessary to reach that length.
padStart(String, int, char) - Static method in class org.starchartlabs.alloy.core.Strings
Constructs a string, of length at least minLength, consisting of string prepended with as many copies of padChar as are necessary to reach that length.
Preconditions - Class in org.starchartlabs.alloy.core
Utilities intended to streamline verification of expected input conditions by callers.

R

repeat(String, int) - Static method in class org.starchartlabs.alloy.core.Strings
Constructs a string consisting of a specific number of concatenated copies of an input string.

S

Strings - Class in org.starchartlabs.alloy.core
Utilities intended to enhance and streamline use of String or CharSequence instances.
Suppliers - Class in org.starchartlabs.alloy.core
Utilities intended to enhance and streamline use of Supplier instances
synchronizedSupplier(Supplier<T>) - Static method in class org.starchartlabs.alloy.core.Suppliers
 

T

toString() - Method in class org.starchartlabs.alloy.core.MoreObjects.ToStringHelper
 
toStringHelper(Object) - Static method in class org.starchartlabs.alloy.core.MoreObjects
Creates an instance of MoreObjects.ToStringHelper.
toStringHelper(Class<?>) - Static method in class org.starchartlabs.alloy.core.MoreObjects
Creates an instance of MoreObjects.ToStringHelper.
toStringHelper(String) - Static method in class org.starchartlabs.alloy.core.MoreObjects
Creates an instance of MoreObjects.ToStringHelper.
A C E F I M N O P R S T 
Skip navigation links