A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes All Packages

A

a(ToStringBuilder) - Method in class com.fizzed.crux.util.ToStringBuilder
 
a(Object) - Method in class com.fizzed.crux.util.ToStringBuilder
 
a(String, Object) - Method in class com.fizzed.crux.util.ToStringBuilder
Appends key and value regardless of whether value is null.
add(double) - Method in class com.fizzed.crux.util.MutableDouble
 
add(int) - Method in class com.fizzed.crux.util.MutableInteger
 
add(long) - Method in class com.fizzed.crux.util.MutableLong
 
addColumn(TextTable.Column) - Method in class com.fizzed.crux.util.TextTable
 
addColumns(TextTable.Column...) - Method in class com.fizzed.crux.util.TextTable
 
addRow(Object...) - Method in class com.fizzed.crux.util.TextTable
 
age(Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Calculates the age of a datetime from 'now'.
age(Instant, long) - Static method in class com.fizzed.crux.util.JavaTimes
Calculates the age of a datetime against a reference epoch millis.
age(ZonedDateTime) - Static method in class com.fizzed.crux.util.JavaTimes
Calculates the age of a datetime from 'now'.
age(ZonedDateTime, long) - Static method in class com.fizzed.crux.util.JavaTimes
Calculates the age of a datetime against a reference epoch millis.
age(DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Calculates the age of a datetime from 'now'.
age(DateTime, long) - Static method in class com.fizzed.crux.util.DateTimes
Calculates the age of a datetime against a reference epoch millis.
Agg - Class in com.fizzed.crux.util
Aggregates (e.g.
Agg() - Constructor for class com.fizzed.crux.util.Agg
 
Agg.Max<T> - Class in com.fizzed.crux.util
 
Agg.Min<T> - Class in com.fizzed.crux.util
 
Agg.OrderedValue<T> - Class in com.fizzed.crux.util
 
anyMatch(Thread, Predicate<StackTraceElement>) - Static method in class com.fizzed.crux.util.StackTraces
 
apply(byte[], int) - Method in interface com.fizzed.crux.util.InOuts.ByteReadConsumer
 
apply(T) - Method in class com.fizzed.crux.util.Agg.OrderedValue
Null-safe apply a new value, calculate the agg (e.g.
apply(T, boolean) - Method in class com.fizzed.crux.util.Agg.OrderedValue
Apply a new value, calculate the agg, and returns the new value.
ArrayIterable(V[]) - Constructor for class com.fizzed.crux.util.MaybeStream.ArrayIterable
 
ArrayIterator(V[]) - Constructor for class com.fizzed.crux.util.MaybeStream.ArrayIterator
 
asBytes() - Method in class com.fizzed.crux.util.Hasher
Closes the hasher (if not yet closed) and returns the result as bytes.
asDays() - Method in class com.fizzed.crux.util.TimeDuration
 
asDouble(ByteSizeUnit) - Method in class com.fizzed.crux.util.ByteSize
 
asHex() - Method in class com.fizzed.crux.util.Hasher
Closes the hasher (if not yet closed) and returns the result as a hex-encoded value
asHours() - Method in class com.fizzed.crux.util.TimeDuration
 
asLong(ByteSizeUnit) - Method in class com.fizzed.crux.util.ByteSize
 
asMillis() - Method in class com.fizzed.crux.util.TimeDuration
 
asMinutes() - Method in class com.fizzed.crux.util.TimeDuration
 
asNanos() - Method in class com.fizzed.crux.util.TimeDuration
 
asSeconds() - Method in class com.fizzed.crux.util.TimeDuration
 
await(boolean) - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
Will either proceed immediately or wait until the value is set.
await(boolean, long, TimeUnit) - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
Will either proceed immediately or wait until the value is set.
await(boolean, long, TimeUnit, Runnable) - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
Will either proceed immediately or wait until the value is set.
await(boolean, Runnable) - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
Will either proceed immediately or wait until the value is set.
await(long, long, TimeUnit) - Method in class com.fizzed.crux.util.WaitFor
 
await(TimeDuration, TimeDuration) - Method in class com.fizzed.crux.util.WaitFor
 
awaitMillis(long, long) - Method in class com.fizzed.crux.util.WaitFor
 

B

B - com.fizzed.crux.util.ByteSizeUnit
 
Base16 - Class in com.fizzed.crux.util
 
Base16() - Constructor for class com.fizzed.crux.util.Base16
 
Base16.Codec - Class in com.fizzed.crux.util
 
Base32 - Class in com.fizzed.crux.util
 
Base32() - Constructor for class com.fizzed.crux.util.Base32
 
bindBoolean(String, BiConsumer<A, Boolean>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindFile(String, BiConsumer<A, File>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
BindingPropertyMap<A> - Class in com.fizzed.crux.util
 
BindingPropertyMap() - Constructor for class com.fizzed.crux.util.BindingPropertyMap
 
BindingPropertyMap.Property<A,​T> - Class in com.fizzed.crux.util
 
BindingPropertySupport<A extends BindingPropertySupport<A>> - Interface in com.fizzed.crux.util
 
bindInteger(String, BiConsumer<A, Integer>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindLong(String, BiConsumer<A, Long>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindPath(String, BiConsumer<A, Path>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindString(String, BiConsumer<A, String>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindType(String, BiConsumer<A, T>, Class<T>, Function<String, T>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindURI(String, BiConsumer<A, URI>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
bindURL(String, BiConsumer<A, URL>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
BOOLEAN_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
build() - Method in class com.fizzed.crux.util.ThreadFactoryBuilder
 
bytes(InputStream) - Static method in class com.fizzed.crux.util.InOuts
Reads all bytes from input to a byte array AND will close input at EOF.
bytes(InputStream, boolean) - Static method in class com.fizzed.crux.util.InOuts
Reads all bytes from input to a byte array AND will optionally close the input at EOF.
bytes(String) - Static method in class com.fizzed.crux.util.Resources
 
ByteSize - Class in com.fizzed.crux.util
 
ByteSize(long) - Constructor for class com.fizzed.crux.util.ByteSize
 
ByteSize(long, ByteSizeUnit) - Constructor for class com.fizzed.crux.util.ByteSize
 
ByteSizeUnit - Enum in com.fizzed.crux.util
https://en.wikipedia.org/wiki/Megabyte

C

ceilHeight() - Method in class com.fizzed.crux.util.Rect2D
 
ceilHeight() - Method in class com.fizzed.crux.util.Size2D
 
ceilWidth() - Method in class com.fizzed.crux.util.Rect2D
 
ceilWidth() - Method in class com.fizzed.crux.util.Size2D
 
ceilX() - Method in class com.fizzed.crux.util.Rect2D
 
ceilY() - Method in class com.fizzed.crux.util.Rect2D
 
CENTER - com.fizzed.crux.util.TextTable.Align
 
centerPad(StringBuilder, String, int, char) - Static method in class com.fizzed.crux.util.TextTable
 
checkClientTrusted(X509Certificate[], String) - Method in class com.fizzed.crux.util.TrustAllTrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class com.fizzed.crux.util.TrustAllTrustManager
 
clear() - Method in class com.fizzed.crux.util.Agg.OrderedValue
Clears the current value by setting it to null.
clear() - Method in class com.fizzed.crux.util.ImmutableMap
Deprecated.
close() - Method in class com.fizzed.crux.util.TemporaryPath
 
close(InputStream) - Static method in class com.fizzed.crux.util.InOuts
Null-safe closing of an inputstream (but will still throw an IOException)
close(OutputStream) - Static method in class com.fizzed.crux.util.InOuts
Null-safe closing of an outputstream (but will still throw an IOException)
closeQuietly(InputStream) - Static method in class com.fizzed.crux.util.InOuts
Null-safe closing of an inputstream AND any exception during the close will be discarded.
closeQuietly(OutputStream) - Static method in class com.fizzed.crux.util.InOuts
Null-safe closing of an ouputstream AND any exception during the close will be discarded.
code(int) - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with the specified number of bytes.
code128() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 128 bytes (1024 bit)
code16() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 16 bytes (128 bit)
code24() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 24 bytes (192 bit)
code256() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 256 bytes (2048 bit)
code32() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 32 bytes (256 bit)
code36() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 36 bytes (288 bit)
code48() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 48 bytes (384 bit)
code512() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 512 bytes (4096 bit)
code60() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 60 bytes (480 bit)
code64() - Method in class com.fizzed.crux.util.SecureCodes
Generates a new, random secure code with a length of 64 bytes (512 bit)
Codec() - Constructor for class com.fizzed.crux.util.Base16.Codec
 
column(String, TextTable.Align, int) - Static method in class com.fizzed.crux.util.TextTable.Column
 
Column() - Constructor for class com.fizzed.crux.util.TextTable.Column
 
com.fizzed.crux.util - package com.fizzed.crux.util
 
comparator - Variable in class com.fizzed.crux.util.Agg.OrderedValue
 
compareTo(ByteSize) - Method in class com.fizzed.crux.util.ByteSize
 
compareTo(MutableDouble) - Method in class com.fizzed.crux.util.MutableDouble
 
compareTo(MutableInteger) - Method in class com.fizzed.crux.util.MutableInteger
 
compareTo(MutableLong) - Method in class com.fizzed.crux.util.MutableLong
 
compareTo(TimeDuration) - Method in class com.fizzed.crux.util.TimeDuration
 
compareTo(TimeUUID) - Method in class com.fizzed.crux.util.TimeUUID
Compares this TimeUUID with the specified TimeUUID.
ConcurrentBooleanLatch - Class in com.fizzed.crux.util
Similar to a CountDownLatch but allows another thread to open or close the latch (resettable).
ConcurrentBooleanLatch() - Constructor for class com.fizzed.crux.util.ConcurrentBooleanLatch
Creates a new instance in the "opened" initial state.
ConcurrentBooleanLatch(boolean) - Constructor for class com.fizzed.crux.util.ConcurrentBooleanLatch
Creates a new instance in the specified initial state
consume(InputStream, int, InOuts.ByteReadConsumer) - Static method in class com.fizzed.crux.util.InOuts
Consumes an input stream in chunks (the buffer size) and allows you to simply write the consuming code.
consume(InputStream, InOuts.ByteReadConsumer) - Static method in class com.fizzed.crux.util.InOuts
Consumes an input stream in chunks (the buffer size) and allows you to simply write the consuming code.
containsKey(Object) - Method in class com.fizzed.crux.util.ImmutableMap
 
containsValue(Object) - Method in class com.fizzed.crux.util.ImmutableMap
 
copy(InputStream, OutputStream) - Static method in class com.fizzed.crux.util.InOuts
Copies an input stream to an output stream in chunks (the buffer size).
copy(InputStream, OutputStream, int) - Static method in class com.fizzed.crux.util.InOuts
Copies an input stream to an output stream in chunks (the buffer size).
createSSLSocketFactory(TrustManager[]) - Static method in class com.fizzed.crux.util.SecureUtil
 
createTrustAllHostnameVerifier() - Static method in class com.fizzed.crux.util.SecureUtil
 
createTrustAllSSLSocketFactory() - Static method in class com.fizzed.crux.util.SecureUtil
 
current() - Static method in class com.fizzed.crux.util.StackTraces
 

D

dateTime(Instant) - Static method in class com.fizzed.crux.util.DateTimes
 
DateTimes - Class in com.fizzed.crux.util
 
DateTimes() - Constructor for class com.fizzed.crux.util.DateTimes
 
days(long) - Static method in class com.fizzed.crux.util.TimeDuration
 
DEBUG - com.fizzed.crux.util.MessageLevel
 
decode(String) - Static method in class com.fizzed.crux.util.Base16.Codec
 
decode(String) - Static method in class com.fizzed.crux.util.Base16
 
decode(String) - Static method in class com.fizzed.crux.util.Base32
 
decode(String) - Static method in class com.fizzed.crux.util.SecureCodes
Decodes a secure code external representation.
decodeChar(char) - Static method in class com.fizzed.crux.util.Base16.Codec
 
decrement() - Method in class com.fizzed.crux.util.MutableDouble
 
decrement() - Method in class com.fizzed.crux.util.MutableInteger
 
decrement() - Method in class com.fizzed.crux.util.MutableLong
 
DEFAULT_BUFFER_SIZE - Static variable in class com.fizzed.crux.util.InOuts
 
deleteDirectory(Path) - Static method in class com.fizzed.crux.util.MoreFiles
Deletes a directory (and all the files in it).
deleteDirectoryIfExists(Path) - Static method in class com.fizzed.crux.util.MoreFiles
Deletes a directory if it exists (and all the files in it).

E

EiB - com.fizzed.crux.util.ByteSizeUnit
 
elapsed() - Method in class com.fizzed.crux.util.StopWatch
Returns the elapsed time based on the time unit of this stopwatch.
elapsed(TimeUnit) - Method in class com.fizzed.crux.util.StopWatch
Returns the elapsed time for the specified time unit.
elapsedDays() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in days.
elapsedHours() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in hours.
elapsedMicros() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in microseconds.
elapsedMillis() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in milliseconds.
elapsedMinutes() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in minutes.
elapsedNanos() - Method in class com.fizzed.crux.util.StopWatch
 
elapsedSeconds() - Method in class com.fizzed.crux.util.StopWatch
Returns the total time elapsed in seconds.
empty() - Static method in class com.fizzed.crux.util.Maybe
 
empty() - Static method in class com.fizzed.crux.util.MaybeStream
 
encode(byte[]) - Static method in class com.fizzed.crux.util.Base16
 
encode(byte[]) - Static method in class com.fizzed.crux.util.Base32
 
encode(byte[]) - Static method in class com.fizzed.crux.util.SecureCodes
 
encode(byte[], boolean) - Static method in class com.fizzed.crux.util.Base16
 
encode(byte[], boolean) - Static method in class com.fizzed.crux.util.Base32
 
encode(byte[], boolean, boolean) - Static method in class com.fizzed.crux.util.Base32
 
encode(byte[], boolean, int) - Static method in class com.fizzed.crux.util.Base16
 
encode(byte[], int) - Static method in class com.fizzed.crux.util.Base16
 
encode(char[], byte[]) - Static method in class com.fizzed.crux.util.Base16.Codec
 
encode(char[], byte[], int) - Static method in class com.fizzed.crux.util.Base16.Codec
 
entrySet() - Method in class com.fizzed.crux.util.ImmutableMap
 
eq(double) - Method in class com.fizzed.crux.util.StopWatch
 
equals(Object) - Method in class com.fizzed.crux.util.ByteSize
 
equals(Object) - Method in class com.fizzed.crux.util.Maybe
 
equals(Object) - Method in class com.fizzed.crux.util.MutableDouble
 
equals(Object) - Method in class com.fizzed.crux.util.MutableInteger
 
equals(Object) - Method in class com.fizzed.crux.util.MutableLong
 
equals(Object) - Method in class com.fizzed.crux.util.SecureCode
 
equals(Object) - Method in class com.fizzed.crux.util.TimeDuration
 
equals(Object) - Method in class com.fizzed.crux.util.TimeUUID
 
equals(ZonedDateTime, ZonedDateTime) - Static method in class com.fizzed.crux.util.JavaTimes
Tests equality (ignoring timezones).
equals(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Tests equality (ignoring timezones).
ERROR - com.fizzed.crux.util.MessageLevel
 

F

FILE_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
filter(Predicate<? super T>) - Method in class com.fizzed.crux.util.Maybe
 
first() - Method in class com.fizzed.crux.util.MaybeStream
 
first(Iterable<T>) - Static method in class com.fizzed.crux.util.MoreObjects
 
first(T[]) - Static method in class com.fizzed.crux.util.MoreObjects
 
flatMap(Function<? super T, Maybe<U>>) - Method in class com.fizzed.crux.util.Maybe
 
floorHeight() - Method in class com.fizzed.crux.util.Rect2D
 
floorHeight() - Method in class com.fizzed.crux.util.Size2D
 
floorWidth() - Method in class com.fizzed.crux.util.Rect2D
 
floorWidth() - Method in class com.fizzed.crux.util.Size2D
 
floorX() - Method in class com.fizzed.crux.util.Rect2D
 
floorY() - Method in class com.fizzed.crux.util.Rect2D
 
forEach(BiConsumer<T, Integer>) - Method in class com.fizzed.crux.util.MaybeStream
 
forEach(BiConsumer<V, Integer>) - Method in interface com.fizzed.crux.util.MaybeStream.Iter
 
forEach(BiConsumer<V, Integer>) - Method in class com.fizzed.crux.util.MaybeStream.IterableIter
 
fromBytes(byte[]) - Static method in class com.fizzed.crux.util.UUIDs
 
fromByteSize(long) - Method in enum com.fizzed.crux.util.ByteSizeUnit
 
fromShort(String) - Static method in class com.fizzed.crux.util.TimeDuration
 
fromString(String) - Static method in class com.fizzed.crux.util.TimeUUID
 
fromTimeBytes(byte[]) - Static method in class com.fizzed.crux.util.UUIDs
 
fromUUID(UUID) - Static method in class com.fizzed.crux.util.TimeUUID
 

G

get() - Method in class com.fizzed.crux.util.Agg.OrderedValue
Gets the current value.
get() - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
 
get() - Method in class com.fizzed.crux.util.Maybe
 
get() - Method in class com.fizzed.crux.util.MaybeStream
 
get(Object) - Method in class com.fizzed.crux.util.ImmutableMap
 
getAcceptedIssuers() - Method in class com.fizzed.crux.util.TrustAllTrustManager
 
getAlign() - Method in class com.fizzed.crux.util.TextTable.Column
 
getAttempt() - Method in class com.fizzed.crux.util.WaitFor.Progress
 
getBytes() - Method in class com.fizzed.crux.util.SecureCode
 
getBytes() - Method in class com.fizzed.crux.util.TimeUUID
 
getColumnPadding() - Method in class com.fizzed.crux.util.TextTable
 
getColumns() - Method in class com.fizzed.crux.util.TextTable
 
getColumnSeparator() - Method in class com.fizzed.crux.util.TextTable
 
getDisplayUnit() - Method in class com.fizzed.crux.util.ByteSize
 
getDuration() - Method in class com.fizzed.crux.util.TimeDuration
 
getEnd() - Method in class com.fizzed.crux.util.InstantInterval
 
getEpochMillis() - Method in class com.fizzed.crux.util.TimeUUID
 
getEpochMillis(UUID) - Static method in class com.fizzed.crux.util.UUIDs
Extracts the timestamp embedded within a Type 1 time-based UUID and converts it to "unix time" as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.
getEvery() - Method in class com.fizzed.crux.util.WaitFor.Progress
 
getHeight() - Method in class com.fizzed.crux.util.Rect2D
 
getHeight() - Method in class com.fizzed.crux.util.Size2D
 
getInstance() - Static method in class com.fizzed.crux.util.SecureCodes
 
getKeys() - Method in class com.fizzed.crux.util.BindingPropertyMap
 
getMultiplier() - Method in enum com.fizzed.crux.util.ByteSizeUnit
 
getName() - Method in class com.fizzed.crux.util.TextTable.Column
 
getPath() - Method in class com.fizzed.crux.util.TemporaryPath
 
getPropertyMap() - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
getRows() - Method in class com.fizzed.crux.util.TextTable
 
getShortId() - Method in enum com.fizzed.crux.util.ByteSizeUnit
 
getStart() - Method in class com.fizzed.crux.util.InstantInterval
 
getTimeout() - Method in class com.fizzed.crux.util.WaitFor.Progress
 
getTimer() - Method in class com.fizzed.crux.util.WaitFor.Progress
 
getUnit() - Method in class com.fizzed.crux.util.TimeDuration
 
getValue() - Method in class com.fizzed.crux.util.ByteSize
 
getWidth() - Method in class com.fizzed.crux.util.Rect2D
 
getWidth() - Method in class com.fizzed.crux.util.Size2D
 
getWidth() - Method in class com.fizzed.crux.util.TextTable.Column
 
getX() - Method in class com.fizzed.crux.util.Rect2D
 
getY() - Method in class com.fizzed.crux.util.Rect2D
 
GiB - com.fizzed.crux.util.ByteSizeUnit
 
gt(double) - Method in class com.fizzed.crux.util.StopWatch
 
gt(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Is a value greater than b.
gt(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Is a value greater than b.
gt(T) - Method in interface com.fizzed.crux.util.MoreComparable
Whether this value is greater than other value.
gte(double) - Method in class com.fizzed.crux.util.StopWatch
 
gte(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Is a value greater than or equal to b.
gte(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Is a value greater than or equal to b.
gte(T) - Method in interface com.fizzed.crux.util.MoreComparable
Whether this value is greater than or equal to other value.

H

hashCode() - Method in class com.fizzed.crux.util.ByteSize
 
hashCode() - Method in class com.fizzed.crux.util.Maybe
Returns the hash code of the value, if present, otherwise 0 (zero) if no value is present.
hashCode() - Method in class com.fizzed.crux.util.MutableDouble
 
hashCode() - Method in class com.fizzed.crux.util.MutableInteger
 
hashCode() - Method in class com.fizzed.crux.util.MutableLong
 
hashCode() - Method in class com.fizzed.crux.util.SecureCode
 
hashCode() - Method in class com.fizzed.crux.util.TimeDuration
 
hashCode() - Method in class com.fizzed.crux.util.TimeUUID
 
Hasher - Class in com.fizzed.crux.util
 
Hasher() - Constructor for class com.fizzed.crux.util.Hasher
 
hasKey(String) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
hasNext() - Method in class com.fizzed.crux.util.MaybeStream.ArrayIterator
 
hasProperty(String) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
hours(long) - Static method in class com.fizzed.crux.util.TimeDuration
 

I

ifAbsent(Runnable) - Method in class com.fizzed.crux.util.Maybe
 
ifPresent(Consumer<? super T>) - Method in class com.fizzed.crux.util.Maybe
 
ifRunnable(Runnable) - Method in class com.fizzed.crux.util.RunEvery
 
ifRunnable(Consumer<Long>) - Method in class com.fizzed.crux.util.RunEvery
 
ImmutableMap<K,​V> - Class in com.fizzed.crux.util
 
immutableMapOf(K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
immutableMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
in(T, Iterable<T>) - Static method in class com.fizzed.crux.util.MoreObjects
Checks whether the value is in the list of values.
in(T, T...) - Static method in class com.fizzed.crux.util.MoreObjects
Checks whether the value is in the list of values.
increment() - Method in class com.fizzed.crux.util.MutableDouble
 
increment() - Method in class com.fizzed.crux.util.MutableInteger
 
increment() - Method in class com.fizzed.crux.util.MutableLong
 
INFO - com.fizzed.crux.util.MessageLevel
 
InOuts - Class in com.fizzed.crux.util
 
InOuts() - Constructor for class com.fizzed.crux.util.InOuts
 
InOuts.ByteReadConsumer - Interface in com.fizzed.crux.util
 
input(String) - Static method in class com.fizzed.crux.util.Resources
 
INSTANCE - Static variable in class com.fizzed.crux.util.TrustAllHostnameVerifier
 
INSTANCE - Static variable in class com.fizzed.crux.util.TrustAllTrustManager
 
InstantInterval - Class in com.fizzed.crux.util
 
InstantInterval(Instant) - Constructor for class com.fizzed.crux.util.InstantInterval
 
InstantInterval(Instant, Instant) - Constructor for class com.fizzed.crux.util.InstantInterval
 
INTEGER_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
isAbsent() - Method in class com.fizzed.crux.util.Agg.OrderedValue
 
isAbsent() - Method in class com.fizzed.crux.util.Maybe
 
isAbsent() - Method in class com.fizzed.crux.util.MaybeStream
 
isBlank(CharSequence) - Static method in class com.fizzed.crux.util.MoreObjects
Checks if the string is null, empty, or has only characters consisting of spaces.
isCompleted() - Method in class com.fizzed.crux.util.Hasher
 
isEmpty() - Method in class com.fizzed.crux.util.ImmutableMap
 
isEmpty(CharSequence) - Static method in class com.fizzed.crux.util.MoreObjects
Checks if the string is null or has zero chars.
isEmpty(Iterable<?>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of whether an Iterable is empty.
isEmpty(Collection<?>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of whether a collection is empty.
isEmpty(Map<?, ?>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of whether a map is empty.
isEmpty(T[]) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of whether an array is empty.
isPresent() - Method in class com.fizzed.crux.util.Agg.OrderedValue
 
isPresent() - Method in class com.fizzed.crux.util.Maybe
 
isPresent() - Method in class com.fizzed.crux.util.MaybeStream
 
isRunnable() - Method in class com.fizzed.crux.util.RunEvery
 
isRunning() - Method in class com.fizzed.crux.util.StopWatch
If still running (not stopped yet)
isStopped() - Method in class com.fizzed.crux.util.StopWatch
 
isTrue(Boolean) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of whether a boolean is true.
isZero() - Method in class com.fizzed.crux.util.TimeDuration
 
iterable(Iterable<T>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe iterable to simplify use in for-loops, etc.
iterable(T[]) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe iterable to simplify use in for-loops, etc.
IterableIter(Iterable<V>) - Constructor for class com.fizzed.crux.util.MaybeStream.IterableIter
 
iterator() - Method in class com.fizzed.crux.util.MaybeStream.ArrayIterable
 
iterator() - Method in class com.fizzed.crux.util.MaybeStream
 

J

javaDuration(Duration) - Static method in class com.fizzed.crux.util.DateTimes
 
javaInstant(DateTime) - Static method in class com.fizzed.crux.util.DateTimes
 
JavaTimes - Class in com.fizzed.crux.util
 
JavaTimes() - Constructor for class com.fizzed.crux.util.JavaTimes
 
jvmFlatMap(Function<? super T, Optional<U>>) - Method in class com.fizzed.crux.util.Maybe
 
jvmOptional() - Method in class com.fizzed.crux.util.Maybe
 
jvmStream() - Method in class com.fizzed.crux.util.MaybeStream
 
jvmStream(Function<? super T, ? extends Iterable<U>>) - Method in class com.fizzed.crux.util.Maybe
 

K

keySet() - Method in class com.fizzed.crux.util.ImmutableMap
 
KiB - com.fizzed.crux.util.ByteSizeUnit
 

L

last() - Method in class com.fizzed.crux.util.MaybeStream
 
last(Iterable<T>) - Static method in class com.fizzed.crux.util.MoreObjects
 
last(T[]) - Static method in class com.fizzed.crux.util.MoreObjects
 
LEFT - com.fizzed.crux.util.TextTable.Align
 
leftPad(StringBuilder, String, int, char) - Static method in class com.fizzed.crux.util.TextTable
 
log(MessageLevel, Logger, String, Object...) - Static method in class com.fizzed.crux.util.Slf4jUtil
 
LONG_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
lt(double) - Method in class com.fizzed.crux.util.StopWatch
 
lt(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Is a value less than b.
lt(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Is a value less than b.
lt(T) - Method in interface com.fizzed.crux.util.MoreComparable
Whether this value is less than other value.
lte(double) - Method in class com.fizzed.crux.util.StopWatch
 
lte(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Is a value less than or equal to b.
lte(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Is a value less than or equal to b.
lte(T) - Method in interface com.fizzed.crux.util.MoreComparable
Whether this value is less than or equal to other value.

M

map(Function<? super T, ? extends U>) - Method in class com.fizzed.crux.util.Maybe
 
mapOf(K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.fizzed.crux.util.Maps
 
Maps - Class in com.fizzed.crux.util
Helper methods for working with maps.
Maps() - Constructor for class com.fizzed.crux.util.Maps
 
mapStream(Function<? super T, ? extends Iterable<U>>) - Method in class com.fizzed.crux.util.Maybe
Deprecated.
match(Predicate<? super T>) - Method in class com.fizzed.crux.util.Maybe
Matches if value is PRESENT and passes the predicate.
max() - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the max value according to natural ordering of the type.
max(Class<V>) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the max value according to natural ordering of the type.
max(Instant...) - Static method in class com.fizzed.crux.util.JavaTimes
Returns the minimum of all instants.
max(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Returns a if greater than or equal to b, otherwise b.
max(Comparator<V>) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the max value.
max(Comparator<V>, V) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the max value.
max(DateTime...) - Static method in class com.fizzed.crux.util.DateTimes
Returns the minimum of all datetimes.
max(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Returns a if greater than or equal to b, otherwise b.
max(T) - Method in interface com.fizzed.crux.util.MoreComparable
The maximum value between this or the other value.
max(V) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the max value according to the natural ordering of the type of initial value.
Max(Comparator<? super T>, T) - Constructor for class com.fizzed.crux.util.Agg.Max
 
maybe() - Method in class com.fizzed.crux.util.Agg.OrderedValue
 
maybe(Optional<T>) - Static method in class com.fizzed.crux.util.Maybe
 
maybe(T) - Static method in class com.fizzed.crux.util.Maybe
 
Maybe<T> - Class in com.fizzed.crux.util
Similar to a Java 8 optional, but this version is different in the following ways: Nulls are accepted in constructor (no need for of() vs.
Maybe(T) - Constructor for class com.fizzed.crux.util.Maybe
 
maybeStream(Iterable<T>) - Static method in class com.fizzed.crux.util.MaybeStream
 
maybeStream(T[]) - Static method in class com.fizzed.crux.util.MaybeStream
 
MaybeStream<T> - Class in com.fizzed.crux.util
A null-safe way of working with iterables and arrays as streams.
MaybeStream(Iterable<T>) - Constructor for class com.fizzed.crux.util.MaybeStream
 
MaybeStream.ArrayIterable<V> - Class in com.fizzed.crux.util
 
MaybeStream.ArrayIterator<V> - Class in com.fizzed.crux.util
 
MaybeStream.Iter<V> - Interface in com.fizzed.crux.util
 
MaybeStream.IterableIter<V> - Class in com.fizzed.crux.util
 
md5() - Static method in class com.fizzed.crux.util.Hasher
Creates a new (open) MD5 hasher that is ready to accept a stream of bytes.
md5(File) - Static method in class com.fizzed.crux.util.Hasher
Creates a new (closed) MD5 hasher that has computed the digest for the file.
md5(InputStream) - Static method in class com.fizzed.crux.util.Hasher
Creates a new (closed) MD5 hasher that has computed the digest for the input.
md5(Path) - Static method in class com.fizzed.crux.util.Hasher
Creates a new (closed) MD5 hasher that has computed the digest for the file.
MessageLevel - Enum in com.fizzed.crux.util
Simple enum of log levels.
MiB - com.fizzed.crux.util.ByteSizeUnit
 
millis(long) - Static method in class com.fizzed.crux.util.TimeDuration
 
min() - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the min value according to natural ordering of the type.
min(Class<V>) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the min value according to natural ordering of the type.
min(Instant...) - Static method in class com.fizzed.crux.util.JavaTimes
Returns the minimum of all instants.
min(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Returns a if less than or equal to b, otherwise b.
min(Comparator<V>) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the min value.
min(Comparator<V>, V) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the min value.
min(DateTime...) - Static method in class com.fizzed.crux.util.DateTimes
Returns the minimum of all datetimes.
min(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Returns a if less than or equal to b, otherwise b.
min(T) - Method in interface com.fizzed.crux.util.MoreComparable
The minimum value between this or the other value.
min(V) - Static method in class com.fizzed.crux.util.Agg
Helps aggregate the min value according to the natural ordering of the type of initial value.
Min(Comparator<? super T>, T) - Constructor for class com.fizzed.crux.util.Agg.Min
 
minutes(long) - Static method in class com.fizzed.crux.util.TimeDuration
 
MoreComparable<T> - Interface in com.fizzed.crux.util
Extends a Comparable to provide greater than and less than methods.
MoreFiles - Class in com.fizzed.crux.util
Methods that java.nio.Files should include.
MoreFiles() - Constructor for class com.fizzed.crux.util.MoreFiles
 
MoreObjects - Class in com.fizzed.crux.util
Methods that java.util.Objects should include.
MoreObjects() - Constructor for class com.fizzed.crux.util.MoreObjects
 
MutableDouble - Class in com.fizzed.crux.util
 
MutableDouble() - Constructor for class com.fizzed.crux.util.MutableDouble
 
MutableDouble(double) - Constructor for class com.fizzed.crux.util.MutableDouble
 
MutableInteger - Class in com.fizzed.crux.util
 
MutableInteger() - Constructor for class com.fizzed.crux.util.MutableInteger
 
MutableInteger(int) - Constructor for class com.fizzed.crux.util.MutableInteger
 
MutableLong - Class in com.fizzed.crux.util
 
MutableLong() - Constructor for class com.fizzed.crux.util.MutableLong
 
MutableLong(long) - Constructor for class com.fizzed.crux.util.MutableLong
 

N

nanos(long) - Static method in class com.fizzed.crux.util.TimeDuration
 
nb(Object) - Method in class com.fizzed.crux.util.ToStringBuilder
 
nb(String, Object) - Method in class com.fizzed.crux.util.ToStringBuilder
Appends key and value if value is NOT blank (empty).
newInputStream(String) - Static method in class com.fizzed.crux.util.Resources
Deprecated.
next() - Method in class com.fizzed.crux.util.MaybeStream.ArrayIterator
 
nn(Object) - Method in class com.fizzed.crux.util.ToStringBuilder
 
nn(String, Object) - Method in class com.fizzed.crux.util.ToStringBuilder
Appends key and value if value is NOT null.
now() - Static method in class com.fizzed.crux.util.DateTimes
Returns now() in UTC.
now() - Static method in class com.fizzed.crux.util.JavaTimes
Returns now() in UTC.

O

of(Iterable<T>) - Static method in class com.fizzed.crux.util.MaybeStream
 
of(Thread) - Static method in class com.fizzed.crux.util.StackTraces
 
of(Function<WaitFor.Progress, Boolean>) - Static method in class com.fizzed.crux.util.WaitFor
 
of(Supplier<Boolean>) - Static method in class com.fizzed.crux.util.WaitFor
 
of(Supplier<Thread>) - Static method in class com.fizzed.crux.util.StackTraces
 
of(Optional<T>) - Static method in class com.fizzed.crux.util.Maybe
 
of(T) - Static method in class com.fizzed.crux.util.Maybe
 
of(T[]) - Static method in class com.fizzed.crux.util.MaybeStream
 
optMap(Function<? super T, Optional<U>>) - Method in class com.fizzed.crux.util.Maybe
Deprecated.
OrderedValue(Comparator<? super T>, T) - Constructor for class com.fizzed.crux.util.Agg.OrderedValue
 
orElse(T) - Method in class com.fizzed.crux.util.Maybe
 
orGet(Supplier<T>) - Method in class com.fizzed.crux.util.Maybe
 
orNull() - Method in class com.fizzed.crux.util.Maybe
 
orThrow(Supplier<? extends X>) - Method in class com.fizzed.crux.util.Maybe
 
overlap(Instant, Instant, Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Is there an overlap in range1 (start1 to end1) and range2 (start2 to end2) null values are treated as Instant.MIN for start and Instant.MAX for end.
overlap(Instant, Instant, Instant, Instant, boolean) - Static method in class com.fizzed.crux.util.JavaTimes
Is there an overlap in range1 (start1 to end1) and range2 (start2 to end2) null values are treated as Instant.MIN for start and Instant.MAX for end.
overlap(Instant, Instant, Instant, Instant, boolean, boolean) - Static method in class com.fizzed.crux.util.JavaTimes
Is there an overlap in range1 (start1 to end1) and range2 (start2 to end2) null values are treated as Instant.MIN for start and Instant.MAX for end.

P

parse(String) - Static method in class com.fizzed.crux.util.ByteSize
 
parse(String) - Static method in class com.fizzed.crux.util.TimeDuration
 
parse(String, ByteSizeUnit) - Static method in class com.fizzed.crux.util.ByteSize
 
parse(String, TimeUnit) - Static method in class com.fizzed.crux.util.TimeDuration
 
partition(long, TemporalUnit) - Method in class com.fizzed.crux.util.InstantInterval
 
PATH_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
PiB - com.fizzed.crux.util.ByteSizeUnit
 
plus(double, double) - Method in class com.fizzed.crux.util.Size2D
 
plus(double, double, double, double) - Method in class com.fizzed.crux.util.Rect2D
 
plus(Rect2D) - Method in class com.fizzed.crux.util.Rect2D
 
plus(Size2D) - Method in class com.fizzed.crux.util.Size2D
 
plusHeight(double) - Method in class com.fizzed.crux.util.Rect2D
 
plusHeight(double) - Method in class com.fizzed.crux.util.Size2D
 
plusWidth(double) - Method in class com.fizzed.crux.util.Rect2D
 
plusWidth(double) - Method in class com.fizzed.crux.util.Size2D
 
plusX(double) - Method in class com.fizzed.crux.util.Rect2D
 
plusY(double) - Method in class com.fizzed.crux.util.Rect2D
 
Progress(int, TimeDuration, TimeDuration, StopWatch) - Constructor for class com.fizzed.crux.util.WaitFor.Progress
 
Property(Class<T>, BiConsumer<A, T>, Function<String, T>) - Constructor for class com.fizzed.crux.util.BindingPropertyMap.Property
 
put(K, V) - Method in class com.fizzed.crux.util.ImmutableMap
Deprecated.
putAll(Map<? extends K, ? extends V>) - Method in class com.fizzed.crux.util.ImmutableMap
Deprecated.

R

readAllBytes(String) - Static method in class com.fizzed.crux.util.Resources
Deprecated.
readToString(String, Charset) - Static method in class com.fizzed.crux.util.Resources
Deprecated.
readToStringUTF8(String) - Static method in class com.fizzed.crux.util.Resources
Deprecated.
Rect2D - Class in com.fizzed.crux.util
Simple utility immutable class to represent x, y, width, and height in 2D space and not rely on the awful Java AWT Rectangle class.
Rect2D(double, double, double, double) - Constructor for class com.fizzed.crux.util.Rect2D
 
Rect2D(double, double, Size2D) - Constructor for class com.fizzed.crux.util.Rect2D
 
remove(Object) - Method in class com.fizzed.crux.util.ImmutableMap
Deprecated.
render(Consumer<String>) - Method in class com.fizzed.crux.util.TextTable
 
renderHeader() - Method in class com.fizzed.crux.util.TextTable
 
renderHeader(StringBuilder) - Method in class com.fizzed.crux.util.TextTable
 
renderHeaderSeparator() - Method in class com.fizzed.crux.util.TextTable
 
renderHeaderSeparator(StringBuilder) - Method in class com.fizzed.crux.util.TextTable
 
renderLines() - Method in class com.fizzed.crux.util.TextTable
 
renderRow(Object...) - Method in class com.fizzed.crux.util.TextTable
 
renderRow(StringBuilder, Object...) - Method in class com.fizzed.crux.util.TextTable
 
renderWidth() - Method in class com.fizzed.crux.util.TextTable
 
repeat(StringBuilder, char, int) - Static method in class com.fizzed.crux.util.TextTable
 
require(long, long, TimeUnit) - Method in class com.fizzed.crux.util.WaitFor
 
require(TimeDuration, TimeDuration) - Method in class com.fizzed.crux.util.WaitFor
 
require(TimeDuration, TimeDuration, Function<WaitFor.Progress, Boolean>) - Static method in class com.fizzed.crux.util.WaitFor
 
require(Supplier<Boolean>, long, long, TimeUnit) - Static method in class com.fizzed.crux.util.WaitFor
 
requireMillis(long, long) - Method in class com.fizzed.crux.util.WaitFor
 
requireMillis(Supplier<Boolean>, long, long) - Static method in class com.fizzed.crux.util.WaitFor
 
resolve(String) - Static method in enum com.fizzed.crux.util.ByteSizeUnit
 
Resources - Class in com.fizzed.crux.util
Utilities for working with resources on classpath.
Resources() - Constructor for class com.fizzed.crux.util.Resources
 
RIGHT - com.fizzed.crux.util.TextTable.Align
 
rightPad(StringBuilder, String, int, char) - Static method in class com.fizzed.crux.util.TextTable
 
runEvery(long) - Static method in class com.fizzed.crux.util.RunEvery
 
runEvery(TimeDuration) - Static method in class com.fizzed.crux.util.RunEvery
 
runEvery(Duration) - Static method in class com.fizzed.crux.util.RunEvery
 
RunEvery - Class in com.fizzed.crux.util
Helps to run code every X duration, where the last run time is recorded and will not be run again until the next scheduled time.
RunEvery(long) - Constructor for class com.fizzed.crux.util.RunEvery
 

S

safeClose() - Method in class com.fizzed.crux.util.TemporaryPath
Closes (deletes) the temporary file and suppresses any IO exception that may or may not occur.
sameMillisPrecision(Instant, Instant, boolean) - Static method in class com.fizzed.crux.util.JavaTimes
Tests for similarity down to millisecond precision.
seconds(long) - Static method in class com.fizzed.crux.util.TimeDuration
 
SecureCode - Class in com.fizzed.crux.util
Immutable, secure, random code internally stored as a byte array but externally safe to use in a URI.
SecureCode(byte[]) - Constructor for class com.fizzed.crux.util.SecureCode
 
SecureCode(String) - Constructor for class com.fizzed.crux.util.SecureCode
 
SecureCodes - Class in com.fizzed.crux.util
Utility class for generating and handling SecureCodes.
SecureCodes() - Constructor for class com.fizzed.crux.util.SecureCodes
 
SecureCodes(SecureRandom) - Constructor for class com.fizzed.crux.util.SecureCodes
 
SecureUtil - Class in com.fizzed.crux.util
Utilities related to security (e.g.
SecureUtil() - Constructor for class com.fizzed.crux.util.SecureUtil
 
set(boolean) - Method in class com.fizzed.crux.util.ConcurrentBooleanLatch
 
set(A, Object) - Method in class com.fizzed.crux.util.BindingPropertyMap.Property
 
set(A, String, Object) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
set(A, String, Object, boolean) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
set(T) - Method in class com.fizzed.crux.util.Agg.OrderedValue
Directly sets the current value.
set(T) - Method in class com.fizzed.crux.util.Maybe
 
setAlign(TextTable.Align) - Method in class com.fizzed.crux.util.TextTable.Column
 
setAll(A, Map<String, ?>) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
setAll(A, Map<String, ?>, boolean) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
setAll(A, Properties) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
setAll(A, Properties, boolean) - Method in class com.fizzed.crux.util.BindingPropertyMap
 
setColumnPadding(int) - Method in class com.fizzed.crux.util.TextTable
 
setColumns(List<TextTable.Column>) - Method in class com.fizzed.crux.util.TextTable
 
setColumnSeparator(char) - Method in class com.fizzed.crux.util.TextTable
 
setDaemon(Boolean) - Method in class com.fizzed.crux.util.ThreadFactoryBuilder
 
setEpochMillis(UUID, long) - Static method in class com.fizzed.crux.util.UUIDs
Creates a new time-based UUID based on the one provided and sets its embedded timestamp to the supplied one.
setName(String) - Method in class com.fizzed.crux.util.TextTable.Column
 
setName(String) - Method in class com.fizzed.crux.util.ThreadFactoryBuilder
 
setProperties(Map<String, ?>) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setProperties(Map<String, ?>, boolean) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setProperties(Properties) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setProperties(Properties, boolean) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setProperty(String, Object) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setProperty(String, Object, boolean) - Method in interface com.fizzed.crux.util.BindingPropertySupport
 
setRows(List<Object[]>) - Method in class com.fizzed.crux.util.TextTable
 
setTimestamp(UUID, long) - Static method in class com.fizzed.crux.util.UUIDs
Creates a new time-based UUID based on the one provided and sets its embedded timestamp to the supplied one.
setWidth(int) - Method in class com.fizzed.crux.util.TextTable.Column
 
size() - Method in class com.fizzed.crux.util.ImmutableMap
 
size(Object[]) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of the length of an array.
size(Collection<?>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of the size of a collection.
size(Map<?, ?>) - Static method in class com.fizzed.crux.util.MoreObjects
Null-safe evaluation of the size of a map.
Size2D - Class in com.fizzed.crux.util
Simple utility immutable class to represent width, and height in space and not rely on the awful Java AWT Dimension or Rectangle class.
Size2D(double, double) - Constructor for class com.fizzed.crux.util.Size2D
 
sleep() - Method in class com.fizzed.crux.util.TimeDuration
Calls Thread.sleep() but first converts this duration to milliseconds, then calls Thread.sleep.
Slf4jUtil - Class in com.fizzed.crux.util
 
Slf4jUtil() - Constructor for class com.fizzed.crux.util.Slf4jUtil
 
StackTraces - Class in com.fizzed.crux.util
Utilities for working with stacktraces.
StackTraces() - Constructor for class com.fizzed.crux.util.StackTraces
 
stop() - Method in class com.fizzed.crux.util.StopWatch
 
StopWatch - Class in com.fizzed.crux.util
Lightweight timing for a little bit of anything.
StopWatch() - Constructor for class com.fizzed.crux.util.StopWatch
Creates a stopwatch with a default time unit of milliseconds.
StopWatch(TimeUnit) - Constructor for class com.fizzed.crux.util.StopWatch
Creates a stopwatch with the specified time unit.
stream() - Method in class com.fizzed.crux.util.MaybeStream
Deprecated.
stream(Function<? super T, ? extends Iterable<U>>) - Method in class com.fizzed.crux.util.Maybe
 
string(InputStream, Charset) - Static method in class com.fizzed.crux.util.InOuts
 
string(InputStream, Charset, boolean) - Static method in class com.fizzed.crux.util.InOuts
 
string(String, Charset) - Static method in class com.fizzed.crux.util.Resources
 
STRING_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
stringUTF8(InputStream) - Static method in class com.fizzed.crux.util.InOuts
 
stringUTF8(InputStream, boolean) - Static method in class com.fizzed.crux.util.InOuts
 
stringUTF8(String) - Static method in class com.fizzed.crux.util.Resources
 
subtract(double) - Method in class com.fizzed.crux.util.MutableDouble
 
subtract(int) - Method in class com.fizzed.crux.util.MutableInteger
 
subtract(long) - Method in class com.fizzed.crux.util.MutableLong
 

T

tempDirectory() - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempDirectory(String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempDirectory(Path) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempDirectory(Path, String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile() - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile(String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile(String, String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile(Path) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile(Path, String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
tempFile(Path, String, String) - Static method in class com.fizzed.crux.util.TemporaryPath
 
TemporaryPath - Class in com.fizzed.crux.util
When you are opening a path with try-with-resources that you want to be deleted on close.
TemporaryPath(Path) - Constructor for class com.fizzed.crux.util.TemporaryPath
 
TextTable - Class in com.fizzed.crux.util
 
TextTable() - Constructor for class com.fizzed.crux.util.TextTable
 
TextTable.Align - Enum in com.fizzed.crux.util
 
TextTable.Column - Class in com.fizzed.crux.util
 
ThreadFactoryBuilder - Class in com.fizzed.crux.util
 
ThreadFactoryBuilder(String) - Constructor for class com.fizzed.crux.util.ThreadFactoryBuilder
 
ThreadFactoryBuilder(String, Boolean) - Constructor for class com.fizzed.crux.util.ThreadFactoryBuilder
 
TiB - com.fizzed.crux.util.ByteSizeUnit
 
time(TimeUnit) - Static method in class com.fizzed.crux.util.StopWatch
 
time(TimeUnit, Runnable) - Static method in class com.fizzed.crux.util.StopWatch
 
TimeDuration - Class in com.fizzed.crux.util
Config-friendly immutable way to represent a duration of time as long + unit and easily convert from strings.
TimeDuration(long, TimeUnit) - Constructor for class com.fizzed.crux.util.TimeDuration
 
timeMillis() - Static method in class com.fizzed.crux.util.StopWatch
 
timeMillis(Runnable) - Static method in class com.fizzed.crux.util.StopWatch
 
timeNanos() - Static method in class com.fizzed.crux.util.StopWatch
 
timeNanos(Runnable) - Static method in class com.fizzed.crux.util.StopWatch
 
timeSeconds() - Static method in class com.fizzed.crux.util.StopWatch
 
timeSeconds(Runnable) - Static method in class com.fizzed.crux.util.StopWatch
 
TimeUUID - Class in com.fizzed.crux.util
A time-based UUID that is internally stored in a sortable/lexicographical byte ordering.
TimeUUID(byte[]) - Constructor for class com.fizzed.crux.util.TimeUUID
 
toBytes(String) - Static method in class com.fizzed.crux.util.UUIDs
 
toBytes(UUID) - Static method in class com.fizzed.crux.util.UUIDs
 
toByteSize(double) - Method in enum com.fizzed.crux.util.ByteSizeUnit
 
toByteSize(long) - Method in enum com.fizzed.crux.util.ByteSizeUnit
 
toDays() - Method in class com.fizzed.crux.util.TimeDuration
 
toHours() - Method in class com.fizzed.crux.util.TimeDuration
 
toMillis() - Method in class com.fizzed.crux.util.TimeDuration
 
toMinutes() - Method in class com.fizzed.crux.util.TimeDuration
 
toNanos() - Method in class com.fizzed.crux.util.TimeDuration
 
toOptional() - Method in class com.fizzed.crux.util.Maybe
Deprecated.
toSeconds() - Method in class com.fizzed.crux.util.TimeDuration
 
toShort(TimeUnit) - Static method in class com.fizzed.crux.util.TimeDuration
 
toString() - Method in class com.fizzed.crux.util.ByteSize
 
toString() - Method in class com.fizzed.crux.util.InstantInterval
 
toString() - Method in class com.fizzed.crux.util.Maybe
 
toString() - Method in class com.fizzed.crux.util.MutableDouble
 
toString() - Method in class com.fizzed.crux.util.MutableInteger
 
toString() - Method in class com.fizzed.crux.util.MutableLong
 
toString() - Method in class com.fizzed.crux.util.SecureCode
 
toString() - Method in class com.fizzed.crux.util.StopWatch
Returns the current elapsed time in a format determined by the default time unit of this instance.
toString() - Method in class com.fizzed.crux.util.TemporaryPath
 
toString() - Method in class com.fizzed.crux.util.TextTable.Column
 
toString() - Method in class com.fizzed.crux.util.TimeDuration
 
toString() - Method in class com.fizzed.crux.util.TimeUUID
 
toString() - Method in class com.fizzed.crux.util.ToStringBuilder
 
toString(TimeUnit) - Method in class com.fizzed.crux.util.StopWatch
Returns the number of seconds this Stopwatch has elapsed
ToStringBuilder - Class in com.fizzed.crux.util
 
ToStringBuilder() - Constructor for class com.fizzed.crux.util.ToStringBuilder
 
ToStringBuilder(String) - Constructor for class com.fizzed.crux.util.ToStringBuilder
 
ToStringBuilder(String, String) - Constructor for class com.fizzed.crux.util.ToStringBuilder
 
toTimeBytes(UUID) - Static method in class com.fizzed.crux.util.UUIDs
Creates a byte array of a time-based UUID that is suitable for sorting and lexigraphical ordering.
toUUID() - Method in class com.fizzed.crux.util.TimeUUID
 
TRACE - com.fizzed.crux.util.MessageLevel
 
TrustAllHostnameVerifier - Class in com.fizzed.crux.util
 
TrustAllHostnameVerifier() - Constructor for class com.fizzed.crux.util.TrustAllHostnameVerifier
 
TrustAllTrustManager - Class in com.fizzed.crux.util
 
TrustAllTrustManager() - Constructor for class com.fizzed.crux.util.TrustAllTrustManager
 
typed(Class<? super U>) - Method in class com.fizzed.crux.util.Maybe
 

U

UncheckedSecureException - Exception in com.fizzed.crux.util
 
UncheckedSecureException(String, Throwable) - Constructor for exception com.fizzed.crux.util.UncheckedSecureException
 
update(byte[]) - Method in class com.fizzed.crux.util.Hasher
Updates the hash/digest with the supplied byte buffer.
update(byte[], int, int) - Method in class com.fizzed.crux.util.Hasher
Updates the hash/digest with the supplied byte buffer.
update(ByteBuffer) - Method in class com.fizzed.crux.util.Hasher
Updates the hash/digest with the supplied byte buffer.
uptime(Long) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(Long, Long) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(Duration) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Formats a string of "uptime" relative to NOW such as "6m 1s 467ms"
uptime(Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(ZonedDateTime) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(ZonedDateTime, ZonedDateTime) - Static method in class com.fizzed.crux.util.JavaTimes
 
uptime(DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Formats a string of "uptime" relative to NOW such as "6m 1s 467ms"
uptime(DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
 
uptime(Duration) - Static method in class com.fizzed.crux.util.DateTimes
 
URI_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
URL_CONVERTER - Static variable in class com.fizzed.crux.util.BindingPropertyMap
 
utc(DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Returns a new DateTime in UTC.
UUIDs - Class in com.fizzed.crux.util
Utilities for working with UUIDs, especially time-based UUIDs.
UUIDs() - Constructor for class com.fizzed.crux.util.UUIDs
 

V

value - Variable in class com.fizzed.crux.util.Agg.OrderedValue
 
value() - Method in class com.fizzed.crux.util.MutableDouble
 
value() - Method in class com.fizzed.crux.util.MutableInteger
 
value() - Method in class com.fizzed.crux.util.MutableLong
 
value(double) - Method in class com.fizzed.crux.util.MutableDouble
 
value(int) - Method in class com.fizzed.crux.util.MutableInteger
 
value(int) - Method in class com.fizzed.crux.util.MutableLong
 
valueOf(String) - Static method in enum com.fizzed.crux.util.ByteSizeUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.fizzed.crux.util.MessageLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.fizzed.crux.util.TextTable.Align
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.fizzed.crux.util.ByteSizeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.fizzed.crux.util.ImmutableMap
 
values() - Static method in enum com.fizzed.crux.util.MessageLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.fizzed.crux.util.TextTable.Align
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String, SSLSession) - Method in class com.fizzed.crux.util.TrustAllHostnameVerifier
 

W

WaitFor - Class in com.fizzed.crux.util
Basic abstraction of a spin-lock waiting for something to be true.
WaitFor(Function<WaitFor.Progress, Boolean>) - Constructor for class com.fizzed.crux.util.WaitFor
 
WaitFor(Supplier<Boolean>) - Constructor for class com.fizzed.crux.util.WaitFor
 
WaitFor.Progress - Class in com.fizzed.crux.util
 
WARN - com.fizzed.crux.util.MessageLevel
 
withDisplayUnit(ByteSizeUnit) - Method in class com.fizzed.crux.util.ByteSize
 
within(Instant, Instant, Instant) - Static method in class com.fizzed.crux.util.JavaTimes
Whether instant is within start and end instants.
within(Instant, Instant, Instant, boolean) - Static method in class com.fizzed.crux.util.JavaTimes
Whether instant is within start and end instants.The min of start and end is detected so the ordering does not matter.
within(Instant, Instant, Instant, boolean, boolean) - Static method in class com.fizzed.crux.util.JavaTimes
Whether instant is within start and end instants.The min of start and end is detected so the ordering does not matter.By default, this method makes the start date INCLUSIVE and the end date EXCLUSIVE/INCLUSIVE depending on what you pass in.
within(DateTime, DateTime, DateTime) - Static method in class com.fizzed.crux.util.DateTimes
Whether datetime is within start and end datetimes.
within(DateTime, DateTime, DateTime, boolean) - Static method in class com.fizzed.crux.util.DateTimes
Whether datetime is within start and end datetimes.The min of start and end is detected so the ordering does not matter.
within(DateTime, DateTime, DateTime, boolean, boolean) - Static method in class com.fizzed.crux.util.DateTimes
Whether datetime is within start and end datetimes.The min of start and end is detected so the ordering does not matter.By default, this method makes the start date INCLUSIVE and the end date EXCLUSIVE/INCLUSIVE depending on what you pass in.

Z

zonedDateTime(Instant) - Static method in class com.fizzed.crux.util.JavaTimes
 
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes All Packages