Skip navigation links
A B C D E F G H I J L M N O R S T U V W Y Z 

A

accept(T, U) - Method in interface no.digipost.function.ThrowingBiConsumer
 
accept(T) - Method in interface no.digipost.function.ThrowingConsumer
 
accept(V) - Method in interface no.digipost.util.Assignment
 
accumulator() - Method in class no.digipost.collection.AdaptableCollector
 
accumulator() - Method in class no.digipost.collection.EnforceAtMostOneElementCollector
 
adapt(Collector<T, A, R>) - Static method in class no.digipost.DiggCollectors
Turn any Collector into an AdaptableCollector.
AdaptableCollector<T,A,R> - Class in no.digipost.collection
A Collector which offers some means for adapting it into new Collectors, in particular the ability to map the result.
all(TargetState...) - Static method in interface no.digipost.concurrent.TargetState
 
all(Iterable<? extends TargetState>) - Static method in interface no.digipost.concurrent.TargetState
 
allowAtMostOne() - Static method in class no.digipost.DiggCollectors
This is a collector for accessing the expected only element of a Stream, as it will throw an exception if more than one element is processed.
andThen(Function<? super R, M>) - Method in class no.digipost.collection.AdaptableCollector
Create a new Collector which maps the resulting container to something else using the given resultMapper Function.
andThen(ThrowingBiConsumer<? super T, ? super U, ? extends X>) - Method in interface no.digipost.function.ThrowingBiConsumer
 
andThen(ThrowingFunction<? super R, V, ? extends X>) - Method in interface no.digipost.function.ThrowingBiFunction
 
andThen(ThrowingConsumer<? super T, ? extends X>) - Method in interface no.digipost.function.ThrowingConsumer
 
andThen(ThrowingFunction<? super R, V, ? extends X>) - Method in interface no.digipost.function.ThrowingFunction
 
apply(T, U) - Method in interface no.digipost.function.ThrowingBiFunction
 
apply(T) - Method in interface no.digipost.function.ThrowingFunction
 
applyUnchecked(ThrowingFunction<T, R, ? extends Throwable>, T) - Static method in class no.digipost.DiggExceptions
Immediately apply the given function with the given argument, and if needed, convert any thrown exceptions to unckecked.
Assignment<V> - Interface in no.digipost.util
An assignment may or may not be assigned, the assigned value can be retrieved with Supplier.get() and will return null if unassigned, and may be assigned with set(Object) if the assignment allows (re-)assignment.
asTuple() - Method in class no.digipost.tuple.Tuple
 
asTuple() - Method in interface no.digipost.tuple.ViewableAsTuple
 
asUnchecked(Throwable) - Static method in class no.digipost.DiggExceptions
 
asUnchecked(X, Function<? super X, String>) - Static method in class no.digipost.DiggExceptions
 
asUnchecked() - Method in interface no.digipost.function.ThrowingBiConsumer
 
asUnchecked() - Method in interface no.digipost.function.ThrowingBiFunction
 
asUnchecked() - Method in interface no.digipost.function.ThrowingConsumer
 
asUnchecked() - Method in interface no.digipost.function.ThrowingFunction
 
asUnchecked() - Method in interface no.digipost.function.ThrowingRunnable
 
asUnchecked() - Method in interface no.digipost.function.ThrowingSupplier
 
at - Variable in class no.digipost.time.TimeSpan.Started
 
AtMostOne<T> - Interface in no.digipost.util
This class offers a subtle functionality which is not available in the Collection/Stream API of Java: to retrieve the only element that is expected to be present, and, importantly, throw an exception if there are elements that will be discarded if assuming that there is at most one element present.
Attribute<V> - Class in no.digipost.util
An Attribute defines a String-based name (or key) and the type of a value which the name maps to.
Attribute(String) - Constructor for class no.digipost.util.Attribute
 
autoClosing(ThrowingConsumer<T, ? extends Exception>) - Static method in class no.digipost.io.IO
 
autoClosing(ThrowingFunction<T, R, ? extends Exception>) - Static method in class no.digipost.io.IO
 
available() - Method in class no.digipost.io.ConsumingInputStream
 

B

batched(Supplier<BATCH>, Predicate<? super BATCH>) - Static method in class no.digipost.collection.BatchedIterable
 
BatchedIterable<T,BATCH extends Iterable<? extends T>> - Class in no.digipost.collection
 

C

causalChainOf(Throwable) - Static method in class no.digipost.DiggExceptions
 
ChainableAssignment<V,C> - Class in no.digipost.util
An Assignment with the added ability to chain several assignments with ChainableAssignment.is(Object).
ChainableAssignment(Assignment<V>, C) - Constructor for class no.digipost.util.ChainableAssignment
 
chainableWith(C) - Method in interface no.digipost.util.Assignment
Create a ChainableAssignment from this assignment.
characteristics() - Method in class no.digipost.collection.AdaptableCollector
 
characteristics() - Method in class no.digipost.collection.EnforceAtMostOneElementCollector
 
close() - Method in class no.digipost.io.ConsumingInputStream
 
collapse(TimeSpan) - Method in class no.digipost.time.TimeSpan
Collapse to one or two spans.
collect(Optional<T>, Collector<T, A, R>) - Static method in class no.digipost.DiggOptionals
Unwrap an Optional into another container using a Collector.
combiner() - Method in class no.digipost.collection.AdaptableCollector
 
combiner() - Method in class no.digipost.collection.EnforceAtMostOneElementCollector
 
compareTo(TimeSpan) - Method in class no.digipost.time.TimeSpan
 
CompletionHandler - Class in no.digipost.concurrent
Convenience utility to build various handler functions which will be called with either the first argument set to a value of any type, or the second argument as a Throwable indicating an error.
CompletionHandler.ConsumerBuilder<R> - Interface in no.digipost.concurrent
 
CompletionHandler.FunctionBuilder<R,U> - Interface in no.digipost.concurrent
 
ConditionalTimer<T> - Class in no.digipost.time
A util for timing the duration a type of value meets a set condition.
ConditionalTimer.WithCustomClockBuilder - Class in no.digipost.time
 
ConsumingInputStream - Class in no.digipost.io
An InputStream getting its contents from consuming an OutputStream.
ConsumingInputStream(ExecutorService, Consumer<? super OutputStream>) - Constructor for class no.digipost.io.ConsumingInputStream
 
ConsumingInputStream(ExecutorService, Function<OutputStream, S>, Consumer<? super S>) - Constructor for class no.digipost.io.ConsumingInputStream
 
ConsumingInputStream.ProducerFailed - Exception in no.digipost.io
 
ControllableClock - Class in no.digipost.time
A controllable Clock, mainly intended for use in testing.
ControllableClock(Instant) - Constructor for class no.digipost.time.ControllableClock
 
ControllableClock(LocalDateTime) - Constructor for class no.digipost.time.ControllableClock
 
ControllableClock(ZonedDateTime) - Constructor for class no.digipost.time.ControllableClock
 
ControllableClock(Instant, ZoneId) - Constructor for class no.digipost.time.ControllableClock
 
ControllableClock(Clock) - Constructor for class no.digipost.time.ControllableClock
 
covers(TimeSpan) - Method in class no.digipost.time.TimeSpan
Check if the given TimeSpan is completly covered by this.

D

DefaultExecutors - Class in no.digipost.concurrent.executor
 
defaultTo(V) - Static method in class no.digipost.concurrent.OneTimeAssignment
Create a new non-assigned instance with a default value.
defaultTo(Supplier<? extends V>) - Static method in class no.digipost.concurrent.OneTimeAssignment
Create a new non-assigned instance with a default value.
DiggBase - Class in no.digipost
Party people, turn up tha...
DiggCollectors - Class in no.digipost
Various Collector implementations.
DiggCompare - Class in no.digipost
 
DiggEnums - Class in no.digipost
 
DiggExceptions - Class in no.digipost
 
DiggMaps - Class in no.digipost
 
DiggOptionals - Class in no.digipost
Utilities for working with Optionals.
DiggOptionals() - Constructor for class no.digipost.DiggOptionals
 
discardRemaining() - Method in interface no.digipost.util.AtMostOne
This allows to just pick out the first element, and basically offers the same functionality as Stream.findFirst().
doNothingOnSuccess - Static variable in class no.digipost.concurrent.CompletionHandler
 
doWait() - Method in class no.digipost.concurrent.Waiter
Invoking this method will do nothing but block for any duration decided by the instance it is invoked on.
duration - Variable in class no.digipost.time.TimeSpan
 

E

EMPTY_FAR_PAST - Static variable in class no.digipost.time.TimeSpan
 
end - Variable in class no.digipost.time.TimeSpan
 
EnforceAtMostOneElementCollector<T> - Class in no.digipost.collection
 
EnforceAtMostOneElementCollector() - Constructor for class no.digipost.collection.EnforceAtMostOneElementCollector
 
ensureShutdown(ExecutorService, Duration) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
Perform an orderly shutdown, trying to wait for any currently running tasks to finish, or else forcefully shutdown the executor if the tasks are not able to finish their work within the given timeout duration.
ensureShutdown(String, ExecutorService, Duration) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
Perform an orderly shutdown, trying to wait for any currently running tasks to finish, or else forcefully shutdown the executor if the tasks are not able to finish their work within the given timeout duration.
entriesIn(ZipInputStream) - Static method in class no.digipost.io.Zip
 
equals(Object) - Method in class no.digipost.time.ControllableClock
 
equals(Object) - Method in class no.digipost.time.TimeSpan
 
equals(Object) - Method in class no.digipost.util.Attribute
 
equals(Object) - Method in class no.digipost.util.JustA
 
exceptionNameAndMessage(Throwable) - Static method in class no.digipost.DiggExceptions
 
externallyManaged(ExecutorService) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
Wraps another ExecutorService as an "externally managed executor service", which will discard any invocations of the methods used to manage the lifecycle of the ExecutorService itself.
extract(T, Function<? super T, ? extends R>...) - Static method in class no.digipost.DiggBase
Extract (derive) multiple values from one given object.
extractGroups(CharSequence, Pattern) - Static method in class no.digipost.text.Regex
Extract the groups from text which matches the given pattern.
extractIfPresent(T, Function<? super T, ? extends Optional<R>>...) - Static method in class no.digipost.DiggBase
Extract (derive) multiple values from one given object.

F

finisher() - Method in class no.digipost.collection.AdaptableCollector
 
finisher() - Method in class no.digipost.collection.EnforceAtMostOneElementCollector
 
first() - Method in class no.digipost.tuple.Tuple
 
fixedThreadPool(int, String) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
 
freeze() - Method in class no.digipost.time.ControllableClock
 
freeze() - Method in interface no.digipost.time.TimeControllable
 
from(Instant) - Static method in class no.digipost.time.TimeSpan
Start constructing a new TimeSpan starting at the given Instant.
from(AtomicReference<V>) - Static method in interface no.digipost.util.Assignment
Create a new Assignment which uses an AtomicReference to hold the assigned value.
from(S, Function<? super S, V>, BiConsumer<? super S, ? super V>) - Static method in interface no.digipost.util.Assignment
Create a new Assignment, which assigns to and retrieves from an arbitrary container object.
from(Iterable<T>) - Static method in interface no.digipost.util.AtMostOne
 
from(Collection<T>) - Static method in interface no.digipost.util.AtMostOne
 
from(Stream<T>) - Static method in interface no.digipost.util.AtMostOne
 
fromCommaSeparated(String, Function<String, String>, Class<E>) - Static method in class no.digipost.DiggEnums
 
fromCommaSeparatedNames(String, Class<E>) - Static method in class no.digipost.DiggEnums
 
fromEnumsString(String, String, Function<String, E>) - Static method in class no.digipost.DiggEnums
 
fromEnumsString(String, String, Predicate<String>, Function<String, E>) - Static method in class no.digipost.DiggEnums
 

G

get() - Method in class no.digipost.concurrent.OneTimeAssignment
 
get() - Method in interface no.digipost.function.ThrowingSupplier
 
get() - Method in class no.digipost.util.ChainableAssignment
 
getDuration() - Method in class no.digipost.time.ConditionalTimer
 
getFrom(Function<String, ?>) - Method in class no.digipost.util.Attribute
 
getFrom(Function<String, ?>) - Method in interface no.digipost.util.GetsNamedValue
 
getFrom(Map<String, ? super V>) - Method in interface no.digipost.util.GetsNamedValue
 
getName() - Method in interface no.digipost.util.GetsNamedValue
 
GetsNamedValue<V> - Interface in no.digipost.util
 
GetsNamedValue.NotFound - Exception in no.digipost.util
 
getUnchecked(ThrowingSupplier<T, ? extends Throwable>) - Static method in class no.digipost.DiggExceptions
Immediately get a result from the given supplier, and if needed, convert any thrown exceptions to unckecked.
getZone() - Method in class no.digipost.time.ControllableClock
 
groups(Matcher) - Static method in class no.digipost.text.Regex
Extract the groups from a Matcher, if a match is found.

H

hashCode() - Method in class no.digipost.time.ControllableClock
 
hashCode() - Method in class no.digipost.time.TimeSpan
 
hashCode() - Method in class no.digipost.util.Attribute
 
hashCode() - Method in class no.digipost.util.JustA
 
hasNext() - Method in class no.digipost.collection.SimpleIterator
 

I

ifException(Consumer<Exception>) - Method in interface no.digipost.function.ThrowingConsumer
 
ifException(BiConsumer<? super T, Exception>) - Method in interface no.digipost.function.ThrowingConsumer
 
ifException(Consumer<Exception>) - Method in interface no.digipost.function.ThrowingFunction
 
ifException(BiConsumer<? super T, Exception>) - Method in interface no.digipost.function.ThrowingFunction
 
ifException(Consumer<Exception>) - Method in interface no.digipost.function.ThrowingRunnable
 
ifException(Consumer<Exception>) - Method in interface no.digipost.function.ThrowingSupplier
 
ifExceptionApply(Function<Exception, ? extends R>) - Method in interface no.digipost.function.ThrowingFunction
 
ifExceptionApply(BiFunction<? super T, Exception, ? extends R>) - Method in interface no.digipost.function.ThrowingFunction
 
ifExceptionGet(Function<Exception, T>) - Method in interface no.digipost.function.ThrowingSupplier
 
ifExceptionThrow(Function<? super Exception, ? extends RuntimeException>) - Method in interface no.digipost.function.ThrowingFunction
 
ifExceptionThrow(BiFunction<? super T, ? super Exception, ? extends RuntimeException>) - Method in interface no.digipost.function.ThrowingFunction
 
ifExceptionThrow(Function<? super Exception, ? extends RuntimeException>) - Method in interface no.digipost.function.ThrowingRunnable
 
ifExceptionThrow(Function<? super Exception, ? extends RuntimeException>) - Method in interface no.digipost.function.ThrowingSupplier
 
IMMEDIATELY - Static variable in interface no.digipost.concurrent.TargetState
A target state which is already reached.
includes(Instant) - Method in class no.digipost.time.TimeSpan
Check if an Instant is part of this time span.
inspect(T) - Method in class no.digipost.time.ConditionalTimer
Perform inspection of a value to determine if timing should occur.
instant() - Method in class no.digipost.time.ControllableClock
 
intersection(TimeSpan) - Method in class no.digipost.time.TimeSpan
Give the intersection (the overlapping part) of this and the given TimeSpan, or Optional.empty() if they do not overlap.
IO - Class in no.digipost.io
 
is(V) - Method in class no.digipost.util.ChainableAssignment
Assign the given value and return object to allow chained invocation.
isExternallyManaged(ExecutorService) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
Determine if the given ExecutorService is marked as externally managed.
iterator() - Method in class no.digipost.collection.BatchedIterable
 
iterator() - Method in class no.digipost.io.Zip.Entries
 

J

JustA<T> - Class in no.digipost.util
Base class for creating simple "typed primitives" value classes.
JustA(T) - Constructor for class no.digipost.util.JustA
 
JustA(T, String) - Constructor for class no.digipost.util.JustA
 
JustA(T, SerializableFunction<? super T, String>) - Constructor for class no.digipost.util.JustA
 
JustA(T, String, SerializableFunction<? super T, String>) - Constructor for class no.digipost.util.JustA
 

L

lasting(Duration) - Method in class no.digipost.time.TimeSpan.Started
 
longerThan(Duration) - Method in class no.digipost.time.ConditionalTimer
 

M

mark(int) - Method in class no.digipost.io.ConsumingInputStream
 
markSupported() - Method in class no.digipost.io.ConsumingInputStream
 
max(T, T) - Static method in class no.digipost.DiggCompare
 
mayThrow(ThrowingFunction<T, R, X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingFunction-reference from a lambda expression.
mayThrow(ThrowingBiFunction<T, U, R, X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingBiFunction-reference from a lambda expression.
mayThrow(ThrowingSupplier<T, X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingSupplier-reference from a lambda expression.
mayThrow(ThrowingConsumer<T, X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingConsumer-reference from a lambda expression.
mayThrow(ThrowingBiConsumer<T, U, X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingBiConsumer-reference from a lambda expression.
mayThrow(ThrowingRunnable<X>) - Static method in class no.digipost.DiggExceptions
Convenience to acquire a ThrowingRunnable-reference from a lambda expression.
min(T, T) - Static method in class no.digipost.DiggCompare
 

N

name - Variable in class no.digipost.util.Attribute
 
NEVER - Static variable in interface no.digipost.concurrent.TargetState
A target state which will never be reached.
newInstance() - Static method in class no.digipost.concurrent.OneTimeAssignment
Create a new non-assigned instance.
next() - Method in class no.digipost.collection.SimpleIterator
 
nextIfAvailable() - Method in class no.digipost.collection.SimpleIterator
 
no.digipost - package no.digipost
 
no.digipost.collection - package no.digipost.collection
 
no.digipost.concurrent - package no.digipost.concurrent
 
no.digipost.concurrent.executor - package no.digipost.concurrent.executor
 
no.digipost.function - package no.digipost.function
 
no.digipost.io - package no.digipost.io
 
no.digipost.text - package no.digipost.text
 
no.digipost.time - package no.digipost.time
 
no.digipost.tuple - package no.digipost.tuple
 
no.digipost.util - package no.digipost.util
 
nonNull(String, T) - Static method in class no.digipost.DiggBase
Not allow null-references.
nonNull(String, T, Function<? super String, X>) - Static method in class no.digipost.DiggBase
Not allow null-references.
nonNull(T, Supplier<X>) - Static method in class no.digipost.DiggBase
Not allow null-references.
nonNull(String, Function<? super String, T>) - Static method in class no.digipost.DiggBase
Not allow null-references.
nonNull(String, Function<? super String, T>, Function<? super String, X>) - Static method in class no.digipost.DiggBase
Not allow null-references.
NotFound(GetsNamedValue<?>) - Constructor for exception no.digipost.util.GetsNamedValue.NotFound
 
now() - Method in class no.digipost.concurrent.OneTimeToggle
Toggle it! This will make OneTimeToggle.yet() return true.
nowOrIfAlreadyThenThrow(Supplier<E>) - Method in class no.digipost.concurrent.OneTimeToggle
Toggle it, or throw exception if the toggle has already been done, for instance by another thread.

O

of(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Set<Collector.Characteristics>) - Static method in class no.digipost.collection.AdaptableCollector
 
of(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Collector.Characteristics...) - Static method in class no.digipost.collection.AdaptableCollector
 
of(T1, T2) - Static method in class no.digipost.tuple.Tuple
 
OneTimeAssignment<V> - Class in no.digipost.concurrent
A reference which may or may not be assigned a value, with the added constraint that it can only be assigned once.
OneTimeAssignment.AlreadyAssigned - Exception in no.digipost.concurrent
 
OneTimeToggle - Class in no.digipost.concurrent
A kind of specialized variant of AtomicBoolean which can only be toggled once.
OneTimeToggle() - Constructor for class no.digipost.concurrent.OneTimeToggle
 
onSuccess(Runnable) - Static method in class no.digipost.concurrent.CompletionHandler
 
onSuccess(Consumer<R>) - Static method in class no.digipost.concurrent.CompletionHandler
 
onSuccess(U) - Static method in class no.digipost.concurrent.CompletionHandler
 
onSuccess(Supplier<U>) - Static method in class no.digipost.concurrent.CompletionHandler
 
onSuccess(Function<R, U>) - Static method in class no.digipost.concurrent.CompletionHandler
 
or(TargetState) - Method in interface no.digipost.concurrent.TargetState
 
orCatch(Consumer<E>) - Method in interface no.digipost.concurrent.CompletionHandler.ConsumerBuilder
 
orCatch(Function<E, U>) - Method in interface no.digipost.concurrent.CompletionHandler.FunctionBuilder
 
orElse(ThrowingRunnable<X>) - Method in interface no.digipost.util.AtMostOne
How to handle if there actually are multiple elements available when only at most one is expected.
orIfExcessiveThrow(Supplier<X>) - Method in interface no.digipost.util.AtMostOne
Pick out the single contained element, or throw the given exception if there are excessive (more than one) elements available.

R

read() - Method in class no.digipost.io.ConsumingInputStream
 
read(byte[]) - Method in class no.digipost.io.ConsumingInputStream
 
read(byte[], int, int) - Method in class no.digipost.io.ConsumingInputStream
 
Regex - Class in no.digipost.text
 
remove() - Method in class no.digipost.collection.SimpleIterator
 
requireFrom(Map<String, ? super V>) - Method in interface no.digipost.util.GetsNamedValue
 
requireFrom(Function<String, ?>) - Method in interface no.digipost.util.GetsNamedValue
 
reset() - Method in class no.digipost.io.ConsumingInputStream
 
rethrow(Function<T, ? extends RuntimeException>) - Static method in class no.digipost.DiggExceptions
Create a exception handler (Consumer) which simply rethrows given exceptions.
rethrowAnyException - Static variable in class no.digipost.DiggExceptions
This consumer rethrows any given Exception as an unchecked RuntimeException.
run() - Method in interface no.digipost.function.ThrowingRunnable
 
runUnchecked(ThrowingRunnable<? extends Throwable>) - Static method in class no.digipost.DiggExceptions
Immediately run the given runnable, and if needed, convert any thrown exceptions to unckecked.

S

sameOrlessThan(Duration) - Method in class no.digipost.time.ConditionalTimer
 
second() - Method in class no.digipost.tuple.Tuple
 
SerializableFunction<T,R> - Interface in no.digipost.function
A Function, which is also Serializable.
serialVersionUID - Static variable in interface no.digipost.function.SerializableFunction
 
set(V) - Method in class no.digipost.concurrent.OneTimeAssignment
Assigns a value to this reference.
set(LocalDateTime) - Method in class no.digipost.time.ControllableClock
 
set(Instant) - Method in class no.digipost.time.ControllableClock
 
set(Clock) - Method in class no.digipost.time.ControllableClock
 
set(Instant) - Method in interface no.digipost.time.TimeControllable
 
set(ZonedDateTime) - Method in interface no.digipost.time.TimeControllable
 
set(LocalDateTime) - Method in interface no.digipost.time.TimeControllable
 
set(V) - Method in interface no.digipost.util.Assignment
Assign the given value.
set(V) - Method in class no.digipost.util.ChainableAssignment
 
setOn(BiConsumer<String, ? super V>, V) - Method in class no.digipost.util.Attribute
 
setOn(BiConsumer<String, ? super V>, V) - Method in interface no.digipost.util.SetsNamedValue
 
setOn(Map<String, ? super V>, V) - Method in interface no.digipost.util.SetsNamedValue
 
SetsNamedValue<V> - Interface in no.digipost.util
 
setToSystemClock() - Method in class no.digipost.time.ControllableClock
 
setToSystemClock(ZoneId) - Method in class no.digipost.time.ControllableClock
 
setToSystemClock() - Method in interface no.digipost.time.TimeControllable
 
signal() - Method in class no.digipost.concurrent.SignalMediator
 
SignalMediator - Class in no.digipost.concurrent
A signal mediator is a many-to-one carrier of a simple "no-content" signal that one other part is interested in occurring.
SignalMediator() - Constructor for class no.digipost.concurrent.SignalMediator
 
SignalMediator(String) - Constructor for class no.digipost.concurrent.SignalMediator
 
signalWaiter - Variable in class no.digipost.concurrent.SignalMediator
 
SimpleIterator<T> - Class in no.digipost.collection
SimpleIterator offers an easier way to implement the Iterator interface, by requiring only one method, SimpleIterator.nextIfAvailable(), to be implemented instead of both hasNext() and next().
SimpleIterator() - Constructor for class no.digipost.collection.SimpleIterator
 
singleThreaded(String) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
 
skip(long) - Method in class no.digipost.io.ConsumingInputStream
 
start - Variable in class no.digipost.time.TimeSpan
 
supplier() - Method in class no.digipost.collection.AdaptableCollector
 
supplier() - Method in class no.digipost.collection.EnforceAtMostOneElementCollector
 

T

TargetState - Interface in no.digipost.concurrent
An object which knows if a certain state has been reached yet.
TargetState.TaskControl - Enum in no.digipost.concurrent
Control signals returned from tasks to control execution with TargetState.untilThen(Supplier, Consumer)
theValue - Variable in class no.digipost.util.JustA
 
threadNamingFactory(LongFunction<String>) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
 
threadNamingFactory(LongFunction<String>, ThreadFactory) - Static method in class no.digipost.concurrent.executor.DefaultExecutors
 
ThrowingBiConsumer<T,U,X extends Throwable> - Interface in no.digipost.function
 
ThrowingBiFunction<T,U,R,X extends Throwable> - Interface in no.digipost.function
 
ThrowingConsumer<T,X extends Throwable> - Interface in no.digipost.function
 
ThrowingFunction<T,R,X extends Throwable> - Interface in no.digipost.function
 
ThrowingRunnable<X extends Throwable> - Interface in no.digipost.function
 
ThrowingSupplier<T,X extends Throwable> - Interface in no.digipost.function
 
TimeControllable - Interface in no.digipost.time
The clock mutation operations, e.g.
timePasses(Duration) - Method in class no.digipost.time.ControllableClock
 
timePasses(Duration) - Method in interface no.digipost.time.TimeControllable
 
TimeSpan - Class in no.digipost.time
A time span is the composition of two instants on the time line, denoting the start (inclusively) and end (exclusively) of an amount of time on the actual time-line.
TimeSpan.Started - Class in no.digipost.time
A "started" time span, which works as a simple builder for a complete TimeSpan, using the concluding methods TimeSpan.Started.until(Instant) or TimeSpan.Started.lasting(Duration)
timeWhen(Predicate<T>) - Static method in class no.digipost.time.ConditionalTimer
 
timeWhen(Predicate<T>) - Method in class no.digipost.time.ConditionalTimer.WithCustomClockBuilder
 
toCommaSeparatedNames(E...) - Static method in class no.digipost.DiggEnums
 
toCommaSeparatedNames(Collection<E>) - Static method in class no.digipost.DiggEnums
 
toList(Optional<T>) - Static method in class no.digipost.DiggOptionals
Unwrap an Optional into a zero or one element unmodifiable list.
toMultimap() - Static method in class no.digipost.DiggCollectors
A multimap maps from keys to lists, and this collector will arrange tuples by putting each distinct first tuple-element as keys of the resulting map, mapping them to a List, and adding each second tuple-element to the list.
toMultimap(Function<? super T, Optional<V>>) - Static method in class no.digipost.DiggCollectors
 
toMultimap(Function<? super T, K>, Function<? super T, Optional<V>>) - Static method in class no.digipost.DiggCollectors
 
toNames(String, E...) - Static method in class no.digipost.DiggEnums
 
toNames(String, Collection<E>) - Static method in class no.digipost.DiggEnums
 
TooManyElements(List<? extends Object>) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(List<? extends Object>, Throwable) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(List<T>, Function<? super T, ? extends CharSequence>) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(List<T>, Function<? super T, ? extends CharSequence>, Throwable) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(Object, Object) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(Object, Object, Throwable) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements() - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
TooManyElements(String, Throwable) - Constructor for exception no.digipost.util.ViewableAsOptional.TooManyElements
 
toOptional() - Method in interface no.digipost.util.AtMostOne
Get the at most single contained element, or throw a TooManyElements exception if there are excessive elements available.
toOptional() - Method in interface no.digipost.util.ViewableAsOptional.Single
Convert this object to an Optional by wrapping the value returned from Supplier.get().
toOptional() - Method in interface no.digipost.util.ViewableAsOptional
Get an Optional representation of this object.
toString() - Method in class no.digipost.time.ControllableClock
 
toString() - Method in class no.digipost.time.TimeSpan
 
toString() - Method in class no.digipost.util.Attribute
 
toString() - Method in class no.digipost.util.JustA
 
toStringOf(Function<? super E, String>, String, E...) - Static method in class no.digipost.DiggEnums
 
toStringOf(Function<? super E, String>, String, Collection<E>) - Static method in class no.digipost.DiggEnums
 
toStringOf(Function<? super E, String>, Collector<? super String, ?, String>, E...) - Static method in class no.digipost.DiggEnums
 
toStringOf(Function<? super E, String>, Collector<? super String, ?, String>, Collection<E>) - Static method in class no.digipost.DiggEnums
 
Tuple<T1,T2> - Class in no.digipost.tuple
A tuple is a simple composition of two arbitrary values (objects).

U

unMap(Map<K, V>, BiFunction<K, V, R>) - Static method in class no.digipost.DiggMaps
 
unMap(Map<K, V>, Function<Map.Entry<K, V>, R>) - Static method in class no.digipost.DiggMaps
 
unMapToKeys(Map<K, V>, BiConsumer<? super K, ? super V>) - Static method in class no.digipost.DiggMaps
 
unMapToValues(Map<K, V>, BiConsumer<? super V, ? super K>) - Static method in class no.digipost.DiggMaps
 
until(Instant) - Method in class no.digipost.time.TimeSpan.Started
 
untilThen(Supplier<TargetState.TaskControl>, Consumer<? super Exception>) - Method in interface no.digipost.concurrent.TargetState
Run a task in a loop until the target state is reached (TargetState.yet() returns true), though the loop can be controlled to exit prematurely using TargetState.TaskControl.EXIT.
untilThen(Runnable, Consumer<? super Exception>) - Method in interface no.digipost.concurrent.TargetState
Run a task in a loop until the target state is reached (TargetState.yet() returns true).
using(Clock) - Static method in class no.digipost.time.ConditionalTimer
 

V

valueOf(String) - Static method in enum no.digipost.concurrent.TargetState.TaskControl
Returns the enum constant of this type with the specified name.
values() - Static method in enum no.digipost.concurrent.TargetState.TaskControl
Returns an array containing the constants of this enum type, in the order they are declared.
ViewableAsOptional<V> - Interface in no.digipost.util
 
ViewableAsOptional.Single<V> - Interface in no.digipost.util
A Supplier which is also ViewableAsOptional.
ViewableAsOptional.TooManyElements - Exception in no.digipost.util
An object which was attempted to be viewed as a Optional representation of itself contained more than one element, and is thus not applicable for such conversion.
ViewableAsTuple<T1,T2> - Interface in no.digipost.tuple
A type which may be viewed as a composite of two values, i.e.

W

wait(Duration) - Static method in class no.digipost.concurrent.Waiter
 
wait(Duration, String) - Static method in class no.digipost.concurrent.Waiter
 
Waiter - Class in no.digipost.concurrent
Instances of this class has no other purpose than to hold execution.
Waiter.WasInterrupted - Exception in no.digipost.concurrent
 
WasInterrupted(String, InterruptedException) - Constructor for exception no.digipost.concurrent.Waiter.WasInterrupted
 
withZone(ZoneId) - Method in class no.digipost.time.ControllableClock
 

Y

yet() - Method in class no.digipost.concurrent.OneTimeToggle
 
yet() - Method in interface no.digipost.concurrent.TargetState
Tell if the target state has been reached yet.

Z

Zip - Class in no.digipost.io
 
Zip.Entries - Class in no.digipost.io
 
A B C D E F G H I J L M N O R S T U V W Y Z 
Skip navigation links

Copyright © 2016 Digipost. All rights reserved.