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

A

AbstractStreamHandler - Class in de.unkrig.commons.util.logging.handler
Adds an 'autoFlush' feature to the StreamHandler, and a one-arg constructor with a variable property name prefix.
AbstractStreamHandler() - Constructor for class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
AbstractStreamHandler(String) - Constructor for class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
One-arg constructor to be used by derived classes.
AbstractStreamHandler(boolean, Level, Filter, Formatter, String) - Constructor for class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
ActiveSocketOutputStream - Class in de.unkrig.commons.util.logging
An OutputStream that connects to a remote server and sends all data to that server.
ActiveSocketOutputStream(InetAddress, int) - Constructor for class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
ActiveSocketOutputStream(String, int) - Constructor for class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
ActiveSocketOutputStream(InetSocketAddress) - Constructor for class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
ActiveSocketOutputStream(InetSocketAddress, InetSocketAddress) - Constructor for class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
add(E) - Method in class de.unkrig.commons.util.IdentityHashSet
 
add(Duration) - Method in class de.unkrig.commons.util.time.Duration
 
add(double) - Method in class de.unkrig.commons.util.time.PointOfTime
 
add(Duration) - Method in class de.unkrig.commons.util.time.PointOfTime
 
addAllElementsTo(Iterable<T>, Collection<? super T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Adds all elements of the iterable to the target collection.
addAllElementsTo(Iterator<? extends T>, Collection<? super T>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Adds all remaining products of the iterator to the target collection.
aggregate(int, Consumer<? super List<T>>) - Static method in class de.unkrig.commons.util.concurrent.ConcurrentUtil
Creates and returns a Consumer which, when invoked, acts as follows: First ...
allSubsets(Set<E>) - Static method in class de.unkrig.commons.util.collections.Sets
 
append(T[], T...) - Static method in class de.unkrig.commons.util.ArrayUtil
 
append(char[], char...) - Static method in class de.unkrig.commons.util.ArrayUtil
 
applyCommandLineOption(String, Method, String[], int, Object) - Static method in class de.unkrig.commons.util.CommandLineOptions
Parses the command line option's arguments from the args and invokes the method.
ArchivingFileHandler - Class in de.unkrig.commons.util.logging.handler
A log record handler which writes formatted records to files which are automatically archived.
ArchivingFileHandler() - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
The zero-parameter constructor (which is used by the LogManager).
ArchivingFileHandler(int, String) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
Single-arg constructor to be used by proxies.
ArchivingFileHandler(String) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, boolean) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, long) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, long, boolean) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, TimeTable) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, TimeTable, boolean) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
ArchivingFileHandler(String, long, TimeTable, boolean, boolean, Level, Filter, Formatter, String) - Constructor for class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
The pattern parameter determines the pathes of the log files, relative to the "user directory" (on most systems: the "current working directory"), with the following placeholder replacements: %% A literal "%" %h The "user home directory" (as determined by the "user.home" system property) %t The "default temp file path" (as determined by the "java.io.tmpdir" system property) %d The date and time of the archiving, in the DateFormat _yyyy-MM-dd_HH-mm-ss.
ArgumentConversionFailed(String, Class<?>, Throwable) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.ArgumentConversionFailed
 
ArrayStack<T> - Class in de.unkrig.commons.util.collections
Array-based implementation of a Stack.
ArrayStack() - Constructor for class de.unkrig.commons.util.collections.ArrayStack
 
ArrayUtil - Class in de.unkrig.commons.util
Various array-related utility methods.
asCollection(Iterable<T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Wraps the given Iterable in a collection.
AT_END - Static variable in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
AT_END - Static variable in class de.unkrig.commons.util.collections.IteratorUtil
An iterator which is at its end.
atEnd() - Static method in class de.unkrig.commons.util.collections.IteratorUtil
 
augment(Map<K, V>, K, V) - Static method in class de.unkrig.commons.util.collections.MapUtil
Returns a Map that is composed of the delegate and one extra entry.
awaitCompletion() - Method in class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
Returns when all tasks that were previously submitted with ByteStreamSequentializer.submit(Consumer) and ByteStreamSequentializer.submit(ConsumerWhichThrows) have completed.
awaitCompletion() - Method in class de.unkrig.commons.util.concurrent.ObjectSequentializer
Returns when all tasks that were previously submitted with ObjectSequentializer.submit(ConsumerWhichThrows) have completed.
awaitCompletion() - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
awaitCompletion(long, TimeUnit) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
Returns when all tasks that were previously submitted with SquadExecutor.submit(Callable), SquadExecutor.submit(Runnable, Object), SquadExecutor.submit(Runnable, Object) and SquadExecutor.execute(Runnable) have completed, or when then timeout expires.
awaitTermination(long, TimeUnit) - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 

B

Base64 - Class in de.unkrig.commons.util
A BASE64 encoder and a decoder.
base64ToByteArray(String) - Static method in class de.unkrig.commons.util.Base64
Decodes a BASE64 string into a series of bytes.
BENCHMARK - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string ""%12$s %10$-20s %3$2d %8$s%n"", which is very suitable for benchmarking.
ByExpressionFilter - Class in de.unkrig.commons.util.logging.filter
A Filter that filters LogRecords by an ".condition" property like method == "foo" && message =~ ".
ByExpressionFilter() - Constructor for class de.unkrig.commons.util.logging.filter.ByExpressionFilter
Zero-args constructor for the log manager.
ByExpressionFilter(String) - Constructor for class de.unkrig.commons.util.logging.filter.ByExpressionFilter
One-arg constructor for proxies
ByExpressionFilter(Expression) - Constructor for class de.unkrig.commons.util.logging.filter.ByExpressionFilter
 
byteArrayToBase64(byte[]) - Static method in class de.unkrig.commons.util.Base64
Encodes a series of bytes into a BASE64 string.
ByteStreamSequentializer - Class in de.unkrig.commons.util.concurrent
Executes multiple tasks asynchronously, but forwards their output to a delegate OutputStream in the order the tasks were submitted, i.e. the last byte of output of one task appears before the output of all subsequently submitted tasks.
ByteStreamSequentializer(OutputStream, ExecutorService) - Constructor for class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
 

C

children() - Method in interface de.unkrig.commons.util.TreeComparator.Node
 
clear() - Method in class de.unkrig.commons.util.collections.LinearMap
 
clear() - Method in class de.unkrig.commons.util.IdentityHashSet
 
clone() - Method in class de.unkrig.commons.util.IdentityHashSet
 
close() - Method in class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
close() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
close() - Method in class de.unkrig.commons.util.logging.handler.StderrHandler
 
close() - Method in class de.unkrig.commons.util.logging.handler.StdoutHandler
 
collect(int, Consumer<? super List<T>>) - Static method in class de.unkrig.commons.util.concurrent.ConcurrentUtil
Creates and returns a list of n consumers; when each of these has been invoked exactly once, then the delegate is invoked with a list of the consumed subjects, in the same order as the consumers.
CollectionUtil - Class in de.unkrig.commons.util.collections
java.util.collection-related utility methods.
combine(Map<K, V>, Map<? extends K, ? extends V>) - Static method in class de.unkrig.commons.util.collections.MapUtil
Returns a Map that is composed of map1 and map2, where map1 takes precedence over <map2.
CommandLineOption - Annotation Type in de.unkrig.commons.util.annotation
Indicates that the annotated method maps to a "command line option".
CommandLineOption.Cardinality - Enum in de.unkrig.commons.util.annotation
 
CommandLineOptionException - Exception in de.unkrig.commons.util
Superclass for all the exceptions that the command line options parser may throw.
CommandLineOptionException(String) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException
 
CommandLineOptionException(String, Throwable) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException
 
CommandLineOptionException.ArgumentConversionFailed - Exception in de.unkrig.commons.util
A command line option argument could not be converted to the required type.
CommandLineOptionException.ConflictingOptions - Exception in de.unkrig.commons.util
A command line option group has cardinality EXACTLY_ONE, and there are more than one options of the group on the command line.
CommandLineOptionException.DuplicateOption - Exception in de.unkrig.commons.util
A command line option with cardinality OPTIONAL or MANDATORY appeared more than once.
CommandLineOptionException.OptionArgumentMissing - Exception in de.unkrig.commons.util
A command line option requires one or more arguments, but the command line arguments are exhausted before all required option arguments were parsed.
CommandLineOptionException.RequiredOptionGroupMissing - Exception in de.unkrig.commons.util
A command line option group has cardinality EXACTLY_ONE or ONE_OR_MORE, but is missing on the command line.
CommandLineOptionException.RequiredOptionMissing - Exception in de.unkrig.commons.util
A command line option has cardinality MANDATORY or ONCE_OR_MORE, but is missing on the command line.
CommandLineOptionException.UnrecognizedOption - Exception in de.unkrig.commons.util
A command line argument was encountered that appears to be an option (because it starts with "-"), but its name is not recognized.
CommandLineOptionGroup - Annotation Type in de.unkrig.commons.util.annotation
Indicates that the annotated class or interfaces represents a "command line option group".
CommandLineOptionGroup.Cardinality - Enum in de.unkrig.commons.util.annotation
 
CommandLineOptions - Class in de.unkrig.commons.util
Parses "command line options" from the args of your main() method and configures a Java bean accordingly.
COMPACT - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string ""%4$s %6$s::%7$s %8$s%9$s%n"", which produces a rather terse logging format.
compare(N, N) - Method in class de.unkrig.commons.util.TreeComparator
If both nodes are non-leaf nodes, TreeComparator.nodeDeleted(N) and TreeComparator.nodeAdded(N) are called for each child that exists only in the first resp. only in the second child set.
concat(T, Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(T, T, Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(Iterable<? extends T>, T...) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
ConcurrentUtil - Class in de.unkrig.commons.util.concurrent
Utility methods related to "java.util.concurrent".
configureLoggers(String) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets the level of the named loggers, adds the given handler on them and sets the given formatter on the handler.
ConflictingOptions(Class<?>, Method, String) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.ConflictingOptions
 
contains(Object) - Method in class de.unkrig.commons.util.IdentityHashSet
 
containsKey(Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 
containsValue(Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 
count(int, Runnable) - Static method in class de.unkrig.commons.util.concurrent.ConcurrentUtil
Creates and returns a Runnable which, when run, acts as follows: First ...
current() - Method in interface de.unkrig.commons.util.collections.ElementWithContext
 

D

de.unkrig.commons.util - package de.unkrig.commons.util
This package contains interfaces and utility classes around the "producer / consumer", "predicate" and "transformer" patterns.
de.unkrig.commons.util.annotation - package de.unkrig.commons.util.annotation
Annotations for the CommandLineOptions.
de.unkrig.commons.util.collections - package de.unkrig.commons.util.collections
Useful functionality around the JDK java.util collection classes.
de.unkrig.commons.util.concurrent - package de.unkrig.commons.util.concurrent
Useful functionality around the JDK java.util.concurrent package classes.
de.unkrig.commons.util.logging - package de.unkrig.commons.util.logging
Utility classes around the JDK java.util.logging facility.
de.unkrig.commons.util.logging.filter - package de.unkrig.commons.util.logging.filter
Useful Filter implementations.
de.unkrig.commons.util.logging.formatter - package de.unkrig.commons.util.logging.formatter
Useful Formatter implementations.
de.unkrig.commons.util.logging.handler - package de.unkrig.commons.util.logging.handler
Useful Handler implementations.
de.unkrig.commons.util.time - package de.unkrig.commons.util.time
Time-related functionality.
DEFAULT - Static variable in class de.unkrig.commons.util.EnhancedServiceLoader
An instance that loads services through the system class loader.
DEFAULT - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
The "default formatter", which is PrintfFormatter.SIMPLE.
DEFAULT_APPEND - Static variable in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
 
DEFAULT_AUTO_FLUSH - Static variable in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
DEFAULT_ENCODING - Static variable in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
DEFAULT_FILTER - Static variable in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
DEFAULT_FORMATTER - Static variable in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
DEFAULT_LEVEL - Static variable in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
DEFAULT_PATTERN - Static variable in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
 
DEFAULT_SIZE_LIMIT - Static variable in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
 
DEFAULT_TIME_TABLE - Static variable in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
 
divide(double) - Method in class de.unkrig.commons.util.time.Duration
 
DuplicateOption(Method, String, String[]) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.DuplicateOption
 
Duration - Class in de.unkrig.commons.util.time
Representation of the length of time between two points of time, with a resolution of 1 millisecond.
Duration(long) - Constructor for class de.unkrig.commons.util.time.Duration
 
Duration(double) - Constructor for class de.unkrig.commons.util.time.Duration
 
Duration(String) - Constructor for class de.unkrig.commons.util.time.Duration
Creates a Duration from a string representation.

E

EagerHandler - Class in de.unkrig.commons.util.logging.handler
A Handler that formats its message immediately and forwards it to a delegate.
EagerHandler() - Constructor for class de.unkrig.commons.util.logging.handler.EagerHandler
 
EagerHandler(String) - Constructor for class de.unkrig.commons.util.logging.handler.EagerHandler
 
elementCount(Iterator<Integer>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Retrieves, counts and discards all elements remaining on the iterator
ElementWithContext<T> - Interface in de.unkrig.commons.util.collections
A helper interface which extends the "iterator" pattern with the possibility to access not only the current element of a sequence, but also the previous and next element.
EMPTY_SORTED_MAP - Static variable in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
EMPTY_SORTED_MAP - Static variable in class de.unkrig.commons.util.collections.MapUtil
Desperately missing from java.util.Collections.
EMPTY_SORTED_SET - Static variable in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
EMPTY_SORTED_SET - Static variable in class de.unkrig.commons.util.collections.Sets
Desperately missing from java.util.Collections.
emptySortedMap() - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
emptySortedMap() - Static method in class de.unkrig.commons.util.collections.MapUtil
Desperately missing from java.util.Collections.
emptySortedSet() - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
emptySortedSet() - Static method in class de.unkrig.commons.util.collections.Sets
Desperately missing from java.util.Collections.
EnhancedServiceLoader - Class in de.unkrig.commons.util
An enhanced version of the ServiceLoader class.
EnhancedServiceLoader(ClassLoader) - Constructor for class de.unkrig.commons.util.EnhancedServiceLoader
Initializes an instance that will load services through a given class loader.
entry(K, V) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
entry(K, V) - Static method in class de.unkrig.commons.util.collections.MapUtil
 
entrySet() - Method in class de.unkrig.commons.util.collections.LinearMap
 
Enums - Class in de.unkrig.commons.util
Various enum-related utility methods.
enumSetFromString(String, Class<E>) - Static method in class de.unkrig.commons.util.Enums
Creates an EnumSet from the given string.
equal(Object, Object) - Static method in class de.unkrig.commons.util.collections.MapUtil
Deprecated.
equals(Object) - Method in class de.unkrig.commons.util.time.Duration
 
execute(Runnable) - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 
execute(Runnable) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
 

F

filter(Iterable<? extends T>, Predicate<? super T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Returns an Iterable which hides the elements of the delegate which do not qualifiy.
filter(Iterator<? extends T>, PredicateWhichThrows<? super T, ? extends RuntimeException>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Returns an iterator which skips the elements of the delegate which do not qualifiy.
flush() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
foR(int, int) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Equivalent with foR(start, end,1).
foR(int, int, int) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Returns a sequence of integers which reach from start (inclusively) to end (exclusively), with a step increment.
foR(int, int) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Equivalent with foR(start, end,1).
foR(int, int, int) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Creates and returns an Iterator<Integer> that counts from start (inclusively) to end (exclusively), with a step increment.
format(LogRecord) - Method in class de.unkrig.commons.util.logging.formatter.PrettyPrintFormatter
 
format(LogRecord) - Method in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats a LogRecord with a PRINTF format string.
format(LogRecord) - Method in class de.unkrig.commons.util.logging.formatter.SelectiveFormatter
Calls delegate1 if the predicate evaluates to true for the logRecord, otherwise delegate2.
FORMAT_STRING_BENCHMARK - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_COMPACT - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_MESSAGE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_MESSAGE_AND_EXCEPTION - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_MESSAGE_AND_STACK_TRACE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_SIMPLE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
FORMAT_STRING_TIME_MESSAGE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
from(Iterator<E>) - Static method in class de.unkrig.commons.util.collections.Peekerators
Wraps a given Iterator as a Peekerator.
from(ListIterator<E>) - Static method in class de.unkrig.commons.util.collections.Peekerators
Wraps a given ListIterator as a Peekerator.
fromMappings(Object...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Deprecated.

G

get(Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 
getArgument() - Method in exception de.unkrig.commons.util.CommandLineOptionException.ArgumentConversionFailed
 
getArgumentIndex() - Method in exception de.unkrig.commons.util.CommandLineOptionException.OptionArgumentMissing
 
getBeginning() - Method in class de.unkrig.commons.util.time.TimeInterval
The beginning of this time interval
getCpuTime() - Method in class de.unkrig.commons.util.ThreadBenchmark
Returns the total CPU time for the current thread in seconds since this object was created.
getDuration() - Method in class de.unkrig.commons.util.time.TimeInterval
The duration of this time interval
getEncoding() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
getEnding() - Method in class de.unkrig.commons.util.time.TimeInterval
The ending of this time interval
getErrorManager() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
getFilter() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
getFormat() - Method in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
 
getFormatter() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
getLevel() - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
getLevel() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
 
getLoggingProperty(String) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
getLoggingProperty(String, Boolean) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
getLoggingProperty(String, Class<T>) - Static method in class de.unkrig.commons.util.logging.LogUtil
Evaluates the value of the named property to an object of the given type and returns it.
getLoggingProperty(String, Class<T>, T) - Static method in class de.unkrig.commons.util.logging.LogUtil
Evaluates the value of the named property to an object of the given type and returns it.
getLoggingProperty(String, Level) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
getLoggingProperty(String, Long) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
getLoggingProperty(String, String) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
getMessage() - Method in class de.unkrig.commons.util.ThreadBenchmark
 
getMethodForOption(String, Class<?>) - Static method in class de.unkrig.commons.util.CommandLineOptions
Determines the method of target.getClass() that is applicable for the given optionName.
getOption() - Method in exception de.unkrig.commons.util.CommandLineOptionException.ConflictingOptions
 
getOption() - Method in exception de.unkrig.commons.util.CommandLineOptionException.DuplicateOption
 
getOption() - Method in exception de.unkrig.commons.util.CommandLineOptionException.OptionArgumentMissing
 
getOption() - Method in exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionMissing
 
getOptionGroup() - Method in exception de.unkrig.commons.util.CommandLineOptionException.ConflictingOptions
 
getOptionGroup() - Method in exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionGroupMissing
 
getOptionName() - Method in exception de.unkrig.commons.util.CommandLineOptionException.ConflictingOptions
 
getOptionName() - Method in exception de.unkrig.commons.util.CommandLineOptionException.DuplicateOption
 
getOptionName() - Method in exception de.unkrig.commons.util.CommandLineOptionException.OptionArgumentMissing
 
getOptionName() - Method in exception de.unkrig.commons.util.CommandLineOptionException.UnrecognizedOption
 
getOptionNames() - Method in exception de.unkrig.commons.util.CommandLineOptionException.DuplicateOption
 
getOptionNames() - Method in exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionGroupMissing
 
getOptionNames() - Method in exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionMissing
 
getRealTime() - Method in class de.unkrig.commons.util.ThreadBenchmark
 
getTargetType() - Method in exception de.unkrig.commons.util.CommandLineOptionException.ArgumentConversionFailed
 
getUserTime() - Method in class de.unkrig.commons.util.ThreadBenchmark
Returns the CPU time that the current thread has executed in user mode in seconds.

H

hashCode() - Method in class de.unkrig.commons.util.time.Duration
 
hashMapOf(Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
hashMapOf(int, Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
hashMapOf(Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Creates, fills and returns a HashMap.
hashMapOf(int, Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
 
hasNext() - Method in class de.unkrig.commons.util.collections.StringPeekerator
 

I

IdentityHashSet<E> - Class in de.unkrig.commons.util
The combination of the IdentityHashMap and the Set.
IdentityHashSet() - Constructor for class de.unkrig.commons.util.IdentityHashSet
 
IdentityHashSet(Collection<? extends E>) - Constructor for class de.unkrig.commons.util.IdentityHashSet
 
IdentityHashSet(int) - Constructor for class de.unkrig.commons.util.IdentityHashSet
 
IdentityLinearMap<K,V> - Class in de.unkrig.commons.util.collections
An identity map (see IdentityHashMap) that performs very well for a SMALL number of entries.
IdentityLinearMap() - Constructor for class de.unkrig.commons.util.collections.IdentityLinearMap
 
index() - Method in interface de.unkrig.commons.util.collections.IteratorUtil.ArrayIterator
 
INFO_PLUS_1 - Static variable in class de.unkrig.commons.util.logging.LogUtil
A Level one higher (towards Level.WARNING) than Level.INFO.
init() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets up the default configuration.
intersection(Collection<? extends T>, Collection<? extends T>) - Static method in class de.unkrig.commons.util.collections.Sets
Creates and returns a set that contains all elements that are contained both in lhs and rhs.
isEmpty() - Method in class de.unkrig.commons.util.collections.LinearMap
 
isEmpty() - Method in class de.unkrig.commons.util.IdentityHashSet
 
isLoggable(LogRecord) - Method in class de.unkrig.commons.util.logging.filter.ByExpressionFilter
 
isLoggable(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
isShutdown() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 
isTerminated() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 
isZero() - Method in class de.unkrig.commons.util.time.Duration
 
IterableUtil - Class in de.unkrig.commons.util.collections
Various Iterable-related utility methods.
IterableUtil.ElementWithContext<T> - Interface in de.unkrig.commons.util.collections
Deprecated.
Use ElementWithContext instead
iterableWithContext(Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Wraps the delegate iterable in an Iterable<ElementWithContext>.
iterator(T[]) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
 
iterator() - Method in class de.unkrig.commons.util.IdentityHashSet
 
IteratorUtil - Class in de.unkrig.commons.util.collections
Various Iterator-related utility methods.
IteratorUtil.ArrayIterator<T> - Interface in de.unkrig.commons.util.collections
An Iterator that has a notion of an "array index", which is the index of the "next" element in an array.
iteratorWithContext(Iterator<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
iteratorWithContext(Iterator<? extends T>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Wraps the delegate iterator in an Iterator<ElementWithContext>.

J

JPasswordFields - Class in de.unkrig.commons.util
Utility methods around JPasswordFields.

K

keysEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.IdentityLinearMap
 
keysEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 

L

leafNodeChangedToNonLeafNode(N, N) - Method in class de.unkrig.commons.util.TreeComparator
This abstract method is invoked by TreeComparator.compare(Node, Node) for every node that is a leaf node under node1 and a non-leaf node under node2.
leafNodeRemains(N, N) - Method in class de.unkrig.commons.util.TreeComparator
This abstract method is invoked by TreeComparator.compare(Node, Node) for every leaf node that exists under node1 and under node2.
LESS_THAN_CONFIG - Static variable in class de.unkrig.commons.util.logging.LogUtil
Regards levels less than Level.CONFIG (e.g.
LESS_THAN_INFO - Static variable in class de.unkrig.commons.util.logging.LogUtil
Regards levels less than Level.INFO (e.g.
LESS_THAN_WARNING - Static variable in class de.unkrig.commons.util.logging.LogUtil
Regards levels less than Level.WARNING (e.g.
levelLimitFilter(Level) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
LinearExecutorService - Class in de.unkrig.commons.util.concurrent
An AbstractExecutorService which executes runnables immediately in the calling thread.
LinearExecutorService() - Constructor for class de.unkrig.commons.util.concurrent.LinearExecutorService
 
LinearMap<K,V> - Class in de.unkrig.commons.util.collections
A Map that performs very well for a SMALL number of entries.
LinearMap() - Constructor for class de.unkrig.commons.util.collections.LinearMap
 
LinearMap(int) - Constructor for class de.unkrig.commons.util.collections.LinearMap
 
load(Class<S>) - Method in class de.unkrig.commons.util.EnhancedServiceLoader
 
LOG_MANAGER - Static variable in class de.unkrig.commons.util.logging.LogUtil
An alternative to repeated calls to LogManager.getLogManager().
logConsumer(Logger, Level, String) - Static method in class de.unkrig.commons.util.logging.LogUtil
Strings passed to the returned Consumer are logged to the given logger at the given level.
loggerLevelGreaterThan(Level, Formatter, Formatter) - Static method in class de.unkrig.commons.util.logging.formatter.SelectiveFormatter
Returns a Formatter that for each LogRecord invokes delegate1 if the level of the processing Logger is greater than threshold, and for all other the delegate2.
logRecordLevelGreaterThan(Level, Formatter, Formatter) - Static method in class de.unkrig.commons.util.logging.formatter.SelectiveFormatter
Returns a Formatter that for each LogRecord invokes delegate1 if the level of the log record is greater than ("more severe than") threshold, and for all other the delegate2.
LogUtil - Class in de.unkrig.commons.util.logging
Various java.util.logging-related utility methods.
logWriter(Logger, Level, String) - Static method in class de.unkrig.commons.util.logging.LogUtil
Lines written to the returned Writer are optionally prepended with the given prefix, and then logged to the given Logger at the given Level.

M

map(Object...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
map(K[], V[]) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Deprecated.
map(Object...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Returns an unmodifiable map, mapping the given key-value pairs.
map(K[], V[]) - Static method in class de.unkrig.commons.util.collections.MapUtil
Returns an unmodifiable map, mapping the given key-value pairs.
MapUtil - Class in de.unkrig.commons.util.collections
Various utility methods for map processing.
MAX_DATE - Static variable in class de.unkrig.commons.util.TimeTable
A Date very far in the future.
MESSAGE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string "%8$s%n" (which expands to the log message).
MESSAGE_AND_EXCEPTION - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string "%8$s%11$s%n" (which expands to the log message plus the (optional) exception name and message).
MESSAGE_AND_STACK_TRACE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string "%8$s%9$s%n" (which expands to the log message, plus the (optional) exception name, message and stack trace).
milliseconds() - Method in class de.unkrig.commons.util.time.Duration
 
milliseconds() - Method in class de.unkrig.commons.util.time.PointOfTime
 
MIN_DATE - Static variable in class de.unkrig.commons.util.TimeTable
A Date very far in the past.
mirror(char[]...) - Static method in class de.unkrig.commons.util.ArrayUtil
 
multiply(double) - Method in class de.unkrig.commons.util.time.Duration
 

N

NATURALS - Static variable in class de.unkrig.commons.util.collections.IterableUtil
Produces the sequence 1, 2, 3, ...
NATURALS0 - Static variable in class de.unkrig.commons.util.collections.IterableUtil
Produces the sequence 0, 1, 2, ...
NEVER - Static variable in class de.unkrig.commons.util.TimeTable
A TimeTable who's TimeTable.next(Date) method always returns TimeTable.MAX_DATE.
newConsumer(int) - Method in class de.unkrig.commons.util.WyeConsumer
 
next() - Method in interface de.unkrig.commons.util.collections.ElementWithContext
 
next() - Method in interface de.unkrig.commons.util.collections.Peekerator
Consumes and returns the next element in this iteration.
next() - Method in class de.unkrig.commons.util.collections.StringPeekerator
 
next(Date) - Method in class de.unkrig.commons.util.TimeTable
 
nextEquals(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Verifies that the next element equals the expected string, and consumes it.
nextEquals(String...) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Verifies that the next element equals any of the expected strings, and consumes it.
nextEqualsIgnoreCase(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Verifies that the next element equals (ignoring case) the expected string, and consumes it.
nextEqualsIgnoreCase(String...) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Verifies that the next element equals (ignoring case) any of the the expected string, and consumes it.
nextIfEquals(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes the next element iff it equals the expected string.
nextIfEquals(String...) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes the next element iff it equals any of the expected strings.
nextIfEqualsIgnoreCase(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes the next element iff it equals (ignoring case) the expected string.
nextIfEqualsIgnoreCase(String...) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes the next element iff it equals (ignoring case) any of the expected strings.
nextIfMatches(Pattern) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes the next element iff it matches the given pattern.
nextMatches(Pattern) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Verifies that the next element matches the given pattern.
NO_LIMIT - Static variable in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
A special value for the sizeLimit paramter of ArchivingFileHandler.ArchivingFileHandler(String, long, TimeTable, boolean, boolean, Level, Filter, Formatter, String) indicating that no limit should apply.
nodeAdded(N) - Method in class de.unkrig.commons.util.TreeComparator
This abstract method is invoked by TreeComparator.compare(Node, Node) for every node that does not exist under node1, but under node2.
nodeDeleted(N) - Method in class de.unkrig.commons.util.TreeComparator
This abstract method is invoked by TreeComparator.compare(Node, Node) for every node that exists under node1, but not under node2.
nonLeafNodeChangedToLeafNode(N, N) - Method in class de.unkrig.commons.util.TreeComparator
This abstract method is invoked by TreeComparator.compare(Node, Node) for every node that is a non-leaf node under node1 and a leaf node under node2.

O

ObjectSequentializer<T,EX extends Throwable> - Class in de.unkrig.commons.util.concurrent
Executes multiple tasks asynchronously, but forwards their output to a delegate Consumer (or ConsumerWhichThrows) in the order the tasks were submitted, i.e. the last subject written by one task appears before the output of all subsequently submitted tasks.
ObjectSequentializer(ConsumerWhichThrows<? super T, ? extends EX>, ExecutorService) - Constructor for class de.unkrig.commons.util.concurrent.ObjectSequentializer
 
of(T...) - Static method in class de.unkrig.commons.util.collections.Sets
Creates and returns a Set that contains the given values.
once(Date) - Static method in class de.unkrig.commons.util.TimeTable
A TimeTable who's TimeTable.next(Date) method will return date if previous is before date, and TimeTable.MAX_DATE otherwise.
OptionArgumentMissing(Method, String, int) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.OptionArgumentMissing
 
ordinals(Collection<? extends Enum<?>>) - Static method in class de.unkrig.commons.util.Enums
 
override(Map<K, V>, K, V) - Static method in class de.unkrig.commons.util.collections.MapUtil
Returns a Map that is composed of the delegate and one extra entry.

P

parse(String[], Object) - Static method in class de.unkrig.commons.util.CommandLineOptions
Invokes methods of the target object based on the args.
parse(String) - Static method in class de.unkrig.commons.util.TimeTable
Creates a TimeTable from a string: ExampleMeaning 2012-12-31 23:59:59
2012-12-31 23:59
2012-12-31One-time *-12-31 23:59:59
*-12-31 23:59
*-12-31Once per year *-*-31 23:59:59
*-*-31 23:59
*-*-31Once per month Mon 23:59:59
Mon 23:59
MonOnce per week 23:59:59
23:59Once per day *:59:59
*:59Once per hour *:*:59
*:*Once per minute *:*:*Every second Instead of '*', integer ranges, integer lists, and combinations thereof can be given: (1,2,3) (2020-2031) (12-3,7) Instead of 'Mon', weekday ranges, weekday lists, and combinations thereof can be given: Sat,Sun Mon-Fri Sun-Mon Mon-Wed,Sat If both day-of-month and day-of-week are specified, then both must match; e.g. '*-2-(8-14) Mon' means 'second monday of february'.
parseLoggingProperty(String, String...) - Static method in class de.unkrig.commons.util.logging.LogUtil
Parses an expression from the value of the named logging property.
peek() - Method in class de.unkrig.commons.util.collections.ArrayStack
 
peek() - Method in interface de.unkrig.commons.util.collections.Peekerator
Just like Peekerator.next(), but does not consume the next element.
peek() - Method in interface de.unkrig.commons.util.collections.Stack
 
peek() - Method in class de.unkrig.commons.util.collections.StringPeekerator
 
peek(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Checks whether the next element equals the expected string, but does consusme it.
peek(Pattern) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Matches the next element against the given pattern, and returns the successful matcher.
Peekerator<E> - Interface in de.unkrig.commons.util.collections
Extends the Iterator with the capability to "peek" an element.
Peekerators - Class in de.unkrig.commons.util.collections
Utility functionality related to Peekerators.
peekIgnoreCase(String) - Method in class de.unkrig.commons.util.collections.StringPeekerator
Checks whether the next element equals (ignoring case) the expected string, but does not consume it.
PointOfTime - Class in de.unkrig.commons.util.time
Extends Date with a more powerful string-arg constructor.
PointOfTime() - Constructor for class de.unkrig.commons.util.time.PointOfTime
The current time, a.k.a 'now'.
PointOfTime(String) - Constructor for class de.unkrig.commons.util.time.PointOfTime
Accepts point-of-time specifications in any of the following formats: 1999-12-31T23:59:59 (the "T" separates the date from the time-of-day) 1999-12-31T23:59 1999-12-31 (midnight on the specified date)
PointOfTime(long) - Constructor for class de.unkrig.commons.util.time.PointOfTime
 
pop() - Method in class de.unkrig.commons.util.collections.ArrayStack
 
pop() - Method in interface de.unkrig.commons.util.collections.Stack
Removes and returns the element on the top of the stack.
PrettyPrintFormatter - Class in de.unkrig.commons.util.logging.formatter
A Formatter that uses PrettyPrinter to beautify the log record's parameters, and then calls a delegate Formatter.
PrettyPrintFormatter() - Constructor for class de.unkrig.commons.util.logging.formatter.PrettyPrintFormatter
 
PrettyPrintFormatter(Formatter) - Constructor for class de.unkrig.commons.util.logging.formatter.PrettyPrintFormatter
 
previous() - Method in interface de.unkrig.commons.util.collections.ElementWithContext
 
PrintfFormatter - Class in de.unkrig.commons.util.logging.formatter
A Formatter that formats a LogRecord through a format string (as described for Formatter) which is specified through the de.unkrig.commons.util.logging.FormatFormatter.format logging property.
PrintfFormatter() - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
The format string is retrieved from the "de.unkrig.commons.util.logging.formatter.PrintfFormatter.format" logging property.
PrintfFormatter(int, String) - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Constructor for derived classes which wish to impose a different ".format" logging property than that used by PrintfFormatter.PrintfFormatter().
PrintfFormatter(String) - Constructor for class de.unkrig.commons.util.logging.formatter.PrintfFormatter
A format string with placeholders as described for PrintfFormatter.format(LogRecord).
printResource(Class<?>, String, Charset, OutputStream) - Static method in class de.unkrig.commons.util.CommandLineOptions
Reads (and decodes) the contents of a resource, replaces all occurrences of "${system-property-name}" with the value of the designated system property, and writes the result to the outputStream (typically System.out).
printResource(ClassLoader, String, Charset, OutputStream) - Static method in class de.unkrig.commons.util.CommandLineOptions
Reads (and decodes) the contents of a resource, replaces all occurrences of "${system-property-name}" with the value of the designated system property, and writes the result to the outputStream (typically System.out).
PropertiesUtil - Class in de.unkrig.commons.util
Represents singular or periodic time events.
ProxyHandler - Class in de.unkrig.commons.util.logging.handler
A Handler that redirects all method calls to a delegate, which can be changed at runtime.
ProxyHandler() - Constructor for class de.unkrig.commons.util.logging.handler.ProxyHandler
Constructs a proxy handler without a delegate.
ProxyHandler(Handler) - Constructor for class de.unkrig.commons.util.logging.handler.ProxyHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.AbstractStreamHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.ArchivingFileHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.EagerHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.StderrHandler
 
publish(LogRecord) - Method in class de.unkrig.commons.util.logging.handler.StdoutHandler
 
push(T) - Method in class de.unkrig.commons.util.collections.ArrayStack
 
push(T) - Method in interface de.unkrig.commons.util.collections.Stack
Pushes a value on the top of the stack.
put(K, V) - Method in class de.unkrig.commons.util.collections.LinearMap
 
putAll(M, Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
putAll(M, boolean, Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
putAll(M, Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Puts all entries into the subject.
putAll(M, boolean, Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
Puts all entries into the subject.

R

RegexFlags - Annotation Type in de.unkrig.commons.util.annotation
Annotates a parameter of type Pattern or Glob of a method annotated with CommandLineOption.
reload(Class<S>) - Method in class de.unkrig.commons.util.EnhancedServiceLoader
 
remove(Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 
remove() - Method in interface de.unkrig.commons.util.collections.Peekerator
Removes the last element returned by Peekerator.next() or Peekerator.peek() from the underlying collection.
remove() - Method in class de.unkrig.commons.util.collections.StringPeekerator
 
remove(Object) - Method in class de.unkrig.commons.util.IdentityHashSet
 
removeFirstFrom(Collection<T>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Removes and returns the first element of the given collection.
repeat(T, int) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
repeat(T) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
 
repeat(int, T) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
 
RequiredOptionGroupMissing(Class<?>, String[]) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionGroupMissing
 
RequiredOptionMissing(Method, String[]) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.RequiredOptionMissing
 
requireLoggingProperty(String, Class<T>) - Static method in class de.unkrig.commons.util.logging.LogUtil
Evaluates the value of the named property to an object of the given type and returns it.
requireLoggingProperty(String) - Static method in class de.unkrig.commons.util.logging.LogUtil
 
rest() - Method in class de.unkrig.commons.util.collections.StringPeekerator
Consumes and returns all remaining elements.
reverse(ListIterator<E>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Returns a list iterator that traverses the list elements in the reverse order of the given delegate.
reverseList(List<E>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
ROOT_LOGGER - Static variable in class de.unkrig.commons.util.logging.LogUtil
Is Logger.getLogger("").
run() - Method in class de.unkrig.commons.util.WyeConsumer
Copies the subjects that are sent to the Consumer that was returned by the first call to WyeConsumer.newConsumer(int) up to, but not including, the first null reference, to the target consumer, then the objects that are sent to the Consumer that was returned by the second call to WyeConsumer.newConsumer(int), and so forth.

S

SelectiveFormatter - Class in de.unkrig.commons.util.logging.formatter
A Formatter calls one of two delegates, depending on the evaluation result of a LogRecord Predicate.
SelectiveFormatter(Predicate<? super LogRecord>, Formatter, Formatter) - Constructor for class de.unkrig.commons.util.logging.formatter.SelectiveFormatter
 
SEQUENTIAL_EXECUTOR_SERVICE - Static variable in class de.unkrig.commons.util.concurrent.ConcurrentUtil
An ExecutorService which executes callables in the same thread immediately.
setBeginning(PointOfTime) - Method in class de.unkrig.commons.util.time.TimeInterval
Changes the beginning of this interval.
setDebug() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Shorthand for setLevel(FINE).
setDelegate(Handler) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
Changes the delegate handler.
setDuration(Duration) - Method in class de.unkrig.commons.util.time.TimeInterval
Changes the duration of this interval.
setEncoding(String) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
setEnding(PointOfTime) - Method in class de.unkrig.commons.util.time.TimeInterval
Changes the ending of this interval.
setErrorManager(ErrorManager) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
setFilter(Filter) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
setFormat(String) - Method in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Sets the format string for this logger.
setFormatter(Formatter) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
setFormatter(String) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets the formatter for all three handlers (debug, out and stderr).
setFormatter(Formatter) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets the formatter for all three handlers (debug, out and stderr).
setLevel(Level) - Method in class de.unkrig.commons.util.logging.handler.ProxyHandler
 
setLevel(Level) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Configures the logging of a command-line utility as usual.
setNormal() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Shorthand for setLevel(Level.INFO): Messages of level INFO, i.e.
setNoWarn() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Shorthand for setLevel(Level.WARNING + 1): Messages of levels INFO and WARNING are suppressed.
setOut(File) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets a Handler which writes messages of levels INFO (inclusive) through WARNING (exclusive) to the given File.
setOut(Handler) - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Sets the given Handler for messages of levels INFO (inclusive) through WARNING (exclusive).
setPassword(JPasswordField, char[]) - Static method in class de.unkrig.commons.util.JPasswordFields
Works around JPasswordField's painfully missing "setPassword(char[])" method.
setQuiet() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Shorthand for setLevel(Level.INFO + 1): Messages of level Level.INFO, i.e.
Sets - Class in de.unkrig.commons.util.collections
Utility methods related to Sets.
setStdout() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Installs a Handler which writes messages of levels INFO (inclusive) through WARNING (exclusive) to STDOUT.
setVerbose() - Static method in class de.unkrig.commons.util.logging.SimpleLogging
Shorthand for setLevel(Level.CONFIG): Messages of level CONFIG, i.e.
shutdown() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 
shutdownNow() - Method in class de.unkrig.commons.util.concurrent.LinearExecutorService
 
SIMPLE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string "%5$tF %5$tT.%5$tL %10$-20s %3$2d %8$s%9$s%n" (which produces a simple one-line format with date, time, simple class name, thread id, log message and the (optional) stack trace).
SimpleLogging - Class in de.unkrig.commons.util.logging
A utility class that simplifies the usage of Java™'s java.util.logging facility.
size() - Method in class de.unkrig.commons.util.collections.LinearMap
 
size() - Method in class de.unkrig.commons.util.IdentityHashSet
 
sorted(Collection<T>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
Returns an unmodifiable collection containing the elements of the given collection, but sorted by their "natural ordering".
SquadExecutor<T> - Class in de.unkrig.commons.util.concurrent
An Executor which executes tasks through a delegate ExecutorService.
SquadExecutor(ExecutorService) - Constructor for class de.unkrig.commons.util.concurrent.SquadExecutor
 
Stack<T> - Interface in de.unkrig.commons.util.collections
The interface for an (unsynchronized) "stack", which is painfully missing from java.util.
StderrHandler - Class in de.unkrig.commons.util.logging.handler
Writes log records to System.err.
StderrHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StderrHandler
 
StdoutHandler - Class in de.unkrig.commons.util.logging.handler
Writes log records to System.out.
StdoutHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StdoutHandler
 
StreamHandler - Class in de.unkrig.commons.util.logging.handler
A log record handler which writes formatted records to an OutputStream which must be specified through a ".outputStream" logging property.
StreamHandler() - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
No-arg constructor for the LogManager.
StreamHandler(String) - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
Single-arg constructor to be used by proxies.
StreamHandler(OutputStream, boolean, Level, Filter, Formatter, String) - Constructor for class de.unkrig.commons.util.logging.handler.StreamHandler
 
StringPeekerator - Class in de.unkrig.commons.util.collections
Extends a Peekerator<String> with various methods that check for string equality or pattern matching.
StringPeekerator(Peekerator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
 
StringPeekerator(Iterator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
Equivalent with new StringPeekerator(Peekerators.from(delegate)).
StringPeekerator(ListIterator<String>) - Constructor for class de.unkrig.commons.util.collections.StringPeekerator
Equivalent with new StringPeekerator(Peekerators.from(delegate)).
submit(Consumer<? super OutputStream>) - Method in class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
Data written to the task's subject will be written to the delegate after all data written by the previously submitted tasks, and before the data written by all tasks submitted afterwards.
submit(ConsumerWhichThrows<? super OutputStream, EX>) - Method in class de.unkrig.commons.util.concurrent.ByteStreamSequentializer
 
submit(ConsumerWhichThrows<? super ConsumerWhichThrows<? super T, ? extends EX>, ? extends Exception>) - Method in class de.unkrig.commons.util.concurrent.ObjectSequentializer
Subjects written to the task's subject will be written to the delegate after all subjects written by the previously submitted tasks, and before the subjects of all tasks submitted afterwards.
submit(Runnable) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
Submits a Runnable task for execution.
submit(Runnable, T) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
Submits a Runnable task for execution.
submit(Callable<T>) - Method in class de.unkrig.commons.util.concurrent.SquadExecutor
Submits a value-returning task for execution.
subtract(PointOfTime) - Method in class de.unkrig.commons.util.time.PointOfTime
 

T

ThreadBenchmark - Class in de.unkrig.commons.util
Measures real time, cpu time and user time for the current thread.
ThreadBenchmark() - Constructor for class de.unkrig.commons.util.ThreadBenchmark
 
TIME_MESSAGE - Static variable in class de.unkrig.commons.util.logging.formatter.PrintfFormatter
Formats log records with the format string "%5$tF %5$tT.%5$tL %8$s%n" (which produces a simple one-line format with date, time and log message).
TimeInterval - Class in de.unkrig.commons.util.time
A time interval has an optional beginning, an optional duration and an optional ending.
TimeInterval(TimeInterval) - Constructor for class de.unkrig.commons.util.time.TimeInterval
 
TimeInterval() - Constructor for class de.unkrig.commons.util.time.TimeInterval
Constructs an uninitialized TimeInterval.
TimeTable - Class in de.unkrig.commons.util
Represents singular or periodic time events.
toCharArray(Set<Character>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
 
toFunction(Properties) - Static method in class de.unkrig.commons.util.PropertiesUtil
Returns a function that returns the value of the named property, or null iff that property is not defined.
toIntArray(Set<Integer>) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
 
toSeconds() - Method in class de.unkrig.commons.util.time.Duration
 
toString() - Method in class de.unkrig.commons.util.time.Duration
 
toString() - Method in class de.unkrig.commons.util.time.PointOfTime
 
toString() - Method in class de.unkrig.commons.util.TimeTable
 
transform(Iterable<? extends I>, Transformer<? super I, ? extends O>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
Returns an iterable which contains the transformed elements of the delegate
transform(Iterator<? extends I>, Transformer<? super I, ? extends O>) - Static method in class de.unkrig.commons.util.collections.IteratorUtil
Returns an iterator which iterates the transformed elements of the delegate
TreeComparator<N extends TreeComparator.Node<N>,EX extends Throwable> - Class in de.unkrig.commons.util
Recursively compares two trees of nodes.
TreeComparator() - Constructor for class de.unkrig.commons.util.TreeComparator
 
TreeComparator.Node<N extends TreeComparator.Node<N>> - Interface in de.unkrig.commons.util
The base interface for leaf nodes and non-leaf nodes.
treeMapOf(Map.Entry<K, V>...) - Static method in class de.unkrig.commons.util.collections.CollectionUtil
treeMapOf(Map.Entry<? extends K, ? extends V>...) - Static method in class de.unkrig.commons.util.collections.MapUtil
 

U

union(Collection<? extends T>, Collection<? extends T>) - Static method in class de.unkrig.commons.util.collections.Sets
Creates and returns a set that contains all elements of lhs and rhs.
unmodifiableIterable(Iterable<? extends T>) - Static method in class de.unkrig.commons.util.collections.IterableUtil
 
UnrecognizedOption(String) - Constructor for exception de.unkrig.commons.util.CommandLineOptionException.UnrecognizedOption
 

V

valueOf(String) - Static method in enum de.unkrig.commons.util.annotation.CommandLineOption.Cardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.unkrig.commons.util.annotation.CommandLineOptionGroup.Cardinality
Returns the enum constant of this type with the specified name.
valueOf(String, Class<E>) - Static method in class de.unkrig.commons.util.Enums
Returns the enum constant of the enumType with the specified name.
values() - Static method in enum de.unkrig.commons.util.annotation.CommandLineOption.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.unkrig.commons.util.annotation.CommandLineOptionGroup.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
valuesEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.IdentityLinearMap
 
valuesEqual(Object, Object) - Method in class de.unkrig.commons.util.collections.LinearMap
 

W

WARNING_PLUS_1 - Static variable in class de.unkrig.commons.util.logging.LogUtil
A Level one higher (towards Level.SEVERE) than Level.WARNING.
write(int) - Method in class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
write(byte[], int, int) - Method in class de.unkrig.commons.util.logging.ActiveSocketOutputStream
 
WyeConsumer<T,EX extends Throwable> - Class in de.unkrig.commons.util
Collects the subjects produced by several producers and forwards them to one consumer in the right order.
WyeConsumer(ConsumerWhichThrows<? super T, EX>) - Constructor for class de.unkrig.commons.util.WyeConsumer
 
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2018 Arno Unkrig. All rights reserved.