Package org.drasyl.util
Utility classes used across multiple packages.
-
Interface Summary Interface Description DrasylBiFunction<T,U,R,E extends Exception> BiFunction
that can throw aException
.DrasylConsumer<T,E extends DrasylException> Consumer
that can throw aDrasylException
.DrasylFunction<T,R,E extends Exception> DrasylSupplier<T,E extends DrasylException> Supplier
that can throw aDrasylException
. -
Class Summary Class Description DrasylScheduler It is an intentional behavior that this scheduler ensures that the JVM is not automatically terminated once all sequential program flows have been processed.FutureUtil Utility class for future-related operations.InternPool<T> Represents a pool of unique objects of typeT
.JSONUtil Holder for the JSON serializer and JSON deserializer.LoggingUtil Utility class for logging-related operations.NetworkUtil Utility class for network-related operations.ObservableUtil Utility class for operations onObservable
s.Pair<A,B> A tuple of two elements.PathUtil Utility class for operations onPath
es.PortMappingUtil Class for the creation of port mappings to make local services externally/publicly accessible.PortMappingUtil.PortMapping Represents a port mapping.SecretUtil Utility class for security-related operations.SetUtil Utility class for operations onSet
s.Triple<A,B,C> A tuple of three elements.UriUtil Utility class for operations onURI
s.UrlUtil Utility class for operations onURL
s.WebSocketUtil Utility class for operations on websocketURI
s (e.g. -
Enum Summary Enum Description PortMappingUtil.Protocol