Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
O
- OBJECT_STRINGER - Static variable in interface org.tquadrat.foundation.lang.Stringer
-
A
Stringer
implementation that callsString.format( "%s", o )
for an objecto
if that implements the interfaceFormattable
, otherwise it delegates toObjects.toString(Object)
. - OBJECTCLASS_STRINGER - Static variable in interface org.tquadrat.foundation.lang.Stringer
-
An implementation of
Stringer
that returns the name of the object's class instead of a representation of the object's value. - Objects - Class in org.tquadrat.foundation.lang
-
This class consists of several utility methods working on
Object
instances, similar to those onArrays
orCollections
. - Objects() - Constructor for class org.tquadrat.foundation.lang.Objects
-
No instance allowed for this class.
- obtainBuilder() - Static method in interface org.tquadrat.foundation.lang.ThreadFactoryBuilder
-
Returns an instance of the builder.
- of() - Static method in interface org.tquadrat.foundation.lang.AutoLock
-
Creates a new
AutoLock
instance with an internal lock object. - of(Collection<Map.Entry<K, V>>) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from aCollection
of key-value pairs - of(Lock) - Static method in interface org.tquadrat.foundation.lang.AutoLock
-
Creates a new
AutoLock
instance from the givenLock
instance. - of(Lock) - Static method in class org.tquadrat.foundation.lang.internal.LockExecutorImpl
-
Creates a new
LockExecutor
from the givenLock
instance. - of(Lock) - Static method in interface org.tquadrat.foundation.lang.LockExecutor
-
Creates a new
LockExecutor
from the givenLock
instance. - of(Map.Entry<K, V>...) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from some key-value pairs - of(Map<K, V>) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from an instance ofMap
. - of(K, V) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from a single key-value pair. - of(K, V, K, V) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from two key-value pairs - of(K, V, K, V, K, V) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from three key-value pairs - of(K, V, K, V, K, V, K, V) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from four key-value pairs - of(K, V, K, V, K, V, K, V, K, V) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from five key-value pairs - of(AutoLock) - Static method in class org.tquadrat.foundation.lang.internal.LockExecutorImpl
-
Creates a new
LockExecutor
from the givenAutoLock
instance. - of(AutoLock) - Static method in interface org.tquadrat.foundation.lang.LockExecutor
-
Creates a new
LockExecutor
from the givenAutoLock
instance. - of(T) - Static method in interface org.tquadrat.foundation.lang.Lazy
-
Creates a new
Lazy
instance that is already initialised. - ofMaps(Map<K, V>...) - Static method in interface org.tquadrat.foundation.stream.MapStream
-
Factory for a
MapStream<K,V>
; constructs a stream from several instances ofMap
. - onClose(Runnable) - Method in class org.tquadrat.foundation.stream.internal.DefaultMapStream
- onClose(Runnable) - Method in interface org.tquadrat.foundation.stream.MapStream
- onClose(Runnable) - Method in class org.tquadrat.foundation.stream.StreamAdapter
- onSuccess(Consumer<? super V>) - Method in record class org.tquadrat.foundation.lang.Status
-
Performs the given action on success, otherwise does nothing.
- onSuccess(Consumer<? super V>, ErrorHandler<? super C>) - Method in record class org.tquadrat.foundation.lang.Status
-
Performs the given action on success, otherwise throws the exception determined by the error handler.
- onSuccess(Function<? super V, R>, ErrorHandler<? super C>) - Method in record class org.tquadrat.foundation.lang.Status
-
Performs the given conversion on success, otherwise throws the exception determined by the error handler.
- Operation<R> - Interface in org.tquadrat.foundation.lang
-
A variant of the interface
Supplier
with aOperation.get()
method that allows to throw an exception. - OPTIONAL_STRINGER - Static variable in interface org.tquadrat.foundation.lang.Stringer
- orElseThrow(Supplier<? extends X>) - Method in class org.tquadrat.foundation.lang.internal.LazyImpl
-
Returns the value or throws the exception that is created by the given
Supplier
when not yet initialised. - orElseThrow(Supplier<? extends X>) - Method in interface org.tquadrat.foundation.lang.Lazy
-
Returns the value or throws the exception that is created by the given
Supplier
when not yet initialised. - org.tquadrat.foundation.annotation - package org.tquadrat.foundation.annotation
-
Some specialised annotations that are either meant to support change management and field support (like
ClassVersion
) or to provide other advanced functionality. - org.tquadrat.foundation.base - module org.tquadrat.foundation.base
-
The base module for the Foundation Library.
- org.tquadrat.foundation.exception - package org.tquadrat.foundation.exception
-
A collection of Exceptions that are defined for the Foundation library set.
- org.tquadrat.foundation.function - package org.tquadrat.foundation.function
-
Functional interfaces for the Foundation Library.
- org.tquadrat.foundation.function.tce - package org.tquadrat.foundation.function.tce
-
TCE versions of the functional interfaces in the package
java.util.function
and others. - org.tquadrat.foundation.lang - package org.tquadrat.foundation.lang
-
Some general language extensions provided by the Foundation Library.
- org.tquadrat.foundation.lang.internal - package org.tquadrat.foundation.lang.internal
-
The internal implementations of some general language extensions provided by the Foundation Library.
- org.tquadrat.foundation.stream - package org.tquadrat.foundation.stream
-
The code in this package was originally written by Dominic Fox and provided in the package
com.codepoetics.protonpack
. - org.tquadrat.foundation.stream.internal - package org.tquadrat.foundation.stream.internal
-
The internal classes for the stream extensions.
- over(Spliterator<T>, Predicate<T>) - Static method in class org.tquadrat.foundation.stream.internal.SkipUntilSpliterator
-
Factory method for instances of
SkipUntilSpliterator
- - over(Spliterator<T>, Predicate<T>) - Static method in class org.tquadrat.foundation.stream.internal.TakeWhileSpliterator
-
Factory method for instances of
TakeWhileSpliterator
. - over(T, Function<T, Optional<T>>) - Static method in class org.tquadrat.foundation.stream.internal.UnfoldSpliterator
-
Factory for instances of
UnfoldSpliterator
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form