- cache(ProducerWhichThrows<T, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Constantly produces the first product of the delegate.
- cache(ProducerWhichThrows<T, ? extends EX>, ProducerWhichThrows<Boolean, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
The first product is the first product of the delegate; each following product is the next product
of the delegate if the invalidationCondition evaluates to true
, otherwise it is
the previous product.
- cache(T, ProducerWhichThrows<T, ? extends EX>, ProducerWhichThrows<Boolean, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
The first product is the firstProduct; each following product is the next product of the
delegate iff the invalidationCondition evaluates to true
, otherwise it is the
previous product.
- cache(TransformerWhichThrows<? super I, ? extends O, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
A transformer which lets a delegate transform the inputs, but at most once for each non-equal
input.
- cache(TransformerWhichThrows<? super I, ? extends O, ? extends EX>, Map<I, O>) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
A transformer which lets a delegate transform the inputs, and remembers the result in the
cache map.
- cacheAsynchronously(ProducerWhichThrows<Future<T>, ? extends EX>, ProducerWhichThrows<Boolean, ? extends EX>, boolean) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Creates and returns a producer which caches the products of a delegate producer asynchronously.
- call(I) - Method in interface de.unkrig.commons.lang.protocol.FunctionWhichThrows
-
Calculates a value of type O from an argument of type I.
- caseInsensitivelyEqualCharacters(int) - Static method in class de.unkrig.commons.lang.Characters
-
- catchExit(RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.lang.security.ExitCatcher
-
- catchLongjump(ProducerWhichThrows<T, Longjump>, T) - Static method in class de.unkrig.commons.lang.protocol.Longjump
-
- catchLongjump(ConsumerWhichThrows<T, Longjump>, T) - Static method in class de.unkrig.commons.lang.protocol.Longjump
-
Calls
delegate.consume(
subject)
, and catches and ignores any
Longjump
it throws.
- catchLongjump(RunnableWhichThrows<Longjump>) - Static method in class de.unkrig.commons.lang.protocol.Longjump
-
Calls
delegate.run()
, and catches and ignores any
Longjump
it throws.
- chain(TransformerWhichThrows<? super T, ? extends T, ? extends EX>...) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
- CHAR_ARRAY_ELLIPSIS - Static variable in class de.unkrig.commons.lang.PrettyPrinter
-
If a char array is larger than this threshold (20), then it is printed as
'abc'...
- CHAR_SEQUENCE_ELLIPSIS - Static variable in class de.unkrig.commons.lang.PrettyPrinter
-
If a char sequence is longer than this threshold (100), then it is printed as
"abc"...
- characterConsumerWriter(ConsumerWhichThrows<? super Character, IOException>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- Characters - Class in de.unkrig.commons.lang
-
- CharSequences - Class in de.unkrig.commons.lang
-
- ClassLoaders - Class in de.unkrig.commons.lang
-
- clear() - Method in class de.unkrig.commons.lang.protocol.HardReference
-
Clears the reference.
- clear() - Method in interface de.unkrig.commons.lang.security.DestroyableProperties
-
- codePointToJavaLiteral(int) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
Converts the codePoint into a JAVA char literal (e.g.
- codePointToString(int) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
- combine(Consumer<? super T>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
The returned producer is a factory for consumers of T
.
- combine(I, O, TransformerWhichThrows<? super I, ? extends O, EX>) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
- combineInOrder(ConsumerWhichThrows<? super T, EX>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
The returned producer is a factory for consumers of T
.
- Comparators - Class in de.unkrig.commons.lang
-
- compareNullSafe(T, T) - Static method in class de.unkrig.commons.lang.Comparators
-
- compareTo(CharSequence, CharSequence) - Static method in class de.unkrig.commons.lang.StringUtil
-
- compress(Consumer<T>, Predicate<T>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Forwards each subject it consumes to the given delegate, but only iff the
subject is not compressable.
- compress(Consumer<? super T>, Predicate<? super T>, T) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Replaces sequences of compressable subjects with one compressed subject.
- compress(Producer<? extends T>, Predicate<? super T>, T) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Discards the elements that the delegate produces while they are compressable.
- compressExponentially(long, Consumer<? super Long>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Creates and returns a
Consumer<Long>
which forwards the quantity to the given
delegate
, but only if the quantity is equal to or greater than the limit, which starts with
initialLimit
and increases exponentially.
- concat(Producer<? extends T>, Producer<? extends T>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Creates and returns a producer that produces the products of delegate1, and, when that produces
null
, the products of delegate2.
- confine(Class<?>, AccessControlContext) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the given clasS will be checked against the given accessControlContext
.
- confine(Class<?>, ProtectionDomain) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the given clasS will be checked against the given protectionDomain
.
- confine(Class<?>, Permissions) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the given clasS will be checked against the given permissions
.
- confine(String, AccessControlContext) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the named class will be checked against the given accessControlContext
.
- confine(String, ProtectionDomain) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the named class will be checked against the given protectionDomain
.
- confine(String, Permissions) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through the named class will be checked against the given permissions
.
- confine(ClassLoader, AccessControlContext) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through classes that were loaded through the given classLoader
will be checked against the given accessControlContext.
- confine(ClassLoader, ProtectionDomain) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through classes that were loaded through the given classLoader
will be checked against the given protectionDomain.
- confine(ClassLoader, Permissions) - Static method in class de.unkrig.commons.lang.security.Sandbox
-
All future actions that are executed through classes that were loaded through the given classLoader
will be checked against the given permissions.
- constant(V) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- constantProducer(T) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
- consume(T) - Method in interface de.unkrig.commons.lang.protocol.ConsumerWhichThrows
-
Consumes one subject of type T
.
- consume(T) - Method in class de.unkrig.commons.lang.protocol.ProxyConsumerWhichThrows
-
- Consumer<T> - Interface in de.unkrig.commons.lang.protocol
-
Consumes objects ("subjects") of type T.
- ConsumerUtil - Class in de.unkrig.commons.lang.protocol
-
Various
Consumer
-related utility methods.
- ConsumerUtil.Produmer<PT,CT> - Interface in de.unkrig.commons.lang.protocol
-
- ConsumerWhichThrows<T,EX extends Throwable> - Interface in de.unkrig.commons.lang.protocol
-
- contains(Collection<? extends T>) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- containsAny(String, String) - Static method in class de.unkrig.commons.lang.StringUtil
-
- containsKey(Object) - Method in class de.unkrig.commons.lang.protocol.Mapping
-
- containsKey(Map<K, ?>) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- containsKey(Mapping<K, ?>) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- containsKeyPredicate(Mapping<K, V>) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- containsKeyPredicateWhichThrows(Mapping<K, V>) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- containsName(String) - Method in interface de.unkrig.commons.lang.security.DestroyableProperties
-
- Cryptor - Interface in de.unkrig.commons.lang.crypto
-
- Cryptors - Class in de.unkrig.commons.lang.crypto
-
Utility methods related to
Cryptor
s.
- cumulate(Consumer<? super Long>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- cumulate(Consumer<? super Long>, long) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Creates and returns a
Consumer
which forwards the
cumulated quantity to the given
delegate
.
- cumulate() - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- cumulate(long) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Creates and returns a
ConsumerUtil.Produmer
which adds up the quantities it consumes, and produces the current
total.
- enableAssertionsFor(Class<?>) - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Enables assertions for the given clasS and the local and anonymous classes that it encloses,
regardless of the "enable assertions" command line options that the JVM was started with.
- enableAssertionsForThisClass() - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Enables assertions for the class that invokes this method, and for all all the local and anonymous classes that
its methods declare, regardless of the "enable assertions" command line options that the JVM was started with.
- encode(byte[]) - Static method in class de.unkrig.commons.lang.java6.Base64
-
BASE64-encodes the subject byte array and fills it with zeros.
- encrypt(byte[]) - Method in interface de.unkrig.commons.lang.crypto.Encryptor
-
Encrypts the unencrypted byte array and afterwards fills it with zeros.
- encrypt(Encryptor, char[]) - Static method in class de.unkrig.commons.lang.crypto.Encryptors
-
Encodes the subject as UTF-8, encrypts the resulting bytes, and BASE64-encodes them.
- encrypt(Encryptor, byte[], char[]) - Static method in class de.unkrig.commons.lang.crypto.Encryptors
-
Encodes the subject as UTF-8, (optionally) prepends it with the salt, encrypts the resulting bytes,
and BASE64-encodes them.
- Encryptor - Interface in de.unkrig.commons.lang.crypto
-
This interface transforms a byte array such that later the original data can be restored with the "right"
Decryptor
.
- Encryptors - Class in de.unkrig.commons.lang.crypto
-
- encryptPasswords(SecretKey, PasswordAuthenticationStore) - Static method in class de.unkrig.commons.lang.crypto.PasswordAuthenticationStores
-
Creates and returns a
PasswordAuthenticationStore
that forwards all operations to the
delegate, except that it encrypts and decrypts passwords on-the-fly.
- equal(C) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- equal(T) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
Value equality, as opposed to arithmetical equality.
- equals(T, T) - Static method in class de.unkrig.commons.lang.ObjectUtil
-
The often-needed "equal" method that handles null
references.
- equals(CharSequence, CharSequence) - Static method in class de.unkrig.commons.lang.StringUtil
-
- equalsIgnoreCase(String, String) - Static method in class de.unkrig.commons.lang.StringUtil
-
- evaluate(T) - Method in interface de.unkrig.commons.lang.protocol.PredicateWhichThrows
-
- every(long) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Returns a Producer<Boolean>
who's first evaluation result is true
, and each following result is
true
iff the last true
result was returned at least the given interval milliseconds
ago.
- ExceptionUtil - Class in de.unkrig.commons.lang
-
- execute(List<String>, File, InputStream, boolean, OutputStream, boolean, OutputStream, boolean) - Static method in class de.unkrig.commons.lang.ProcessUtil
-
Executes the given command and waits until it completes.
- ExitCatcher - Class in de.unkrig.commons.lang.security
-
- fail() - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Identical with '
throw new AssertionError()
', but returns an
Object
so it can be used in an
expression.
- fail(String) - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Identical with '
throw new AssertionError(message)
', but returns an
Object
so it can be used in
an expression.
- fail(Throwable) - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Identical with '
throw new AssertionError(cause)
', but returns an
Object
so it can be used in
an expression.
- fail(String, Throwable) - Static method in class de.unkrig.commons.lang.AssertionUtil
-
Identical with '
throw new AssertionError(message, cause)
', but returns an
Object
so it can be
used in an expression.
- fillInStackTrace() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- filter(ProducerWhichThrows<? extends T, ? extends EX>, PredicateWhichThrows<? super T, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Returns a producer which, when invoked, calls the delegate, and returns its product iff the
predicate evaluates to true
.
- filter(ProducerWhichThrows<? extends T, ? extends EX>, Predicate<? super T>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
- FilterAppendable - Class in de.unkrig.commons.lang
-
An
Appendable
which appends to a delegate appendable.
- FilterAppendable(Appendable) - Constructor for class de.unkrig.commons.lang.FilterAppendable
-
- firstLetterToLowerCase(String) - Static method in class de.unkrig.commons.lang.StringUtil
-
- firstLetterToUpperCase(String) - Static method in class de.unkrig.commons.lang.StringUtil
-
- forString(String, T) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
Returns a predicate that evaluates the format against the delegate after each "*" in the
format has been replaced with the subject.
- from(char[]) - Static method in class de.unkrig.commons.lang.CharSequences
-
- from(char[], int, int) - Static method in class de.unkrig.commons.lang.CharSequences
-
- from(Encryptor, Decryptor) - Static method in class de.unkrig.commons.lang.crypto.Cryptors
-
- fromArray(T[]) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces the elements of the delegate array, in ascending index order, and after that an infinite
sequence of null
s.
- fromArray(T[], int, int) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces the elements from ...
- fromCollection(Collection<T>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
- fromElements(T...) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Creates and returns a
Producer
that produced the given
elements.
- fromIndexTransformer(Transformer<? super Integer, T>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces objects based on the number of preceding invocations, i.e. the indexTransformer is invoked
with subjects '0', '1', '2', ...
- fromIndexTransformer(TransformerWhichThrows<? super Integer, T, EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces objects based on the number of preceding invocations, i.e. the indexTransformer is invoked
with subjects '0', '1', '2', ...
- fromIterable(Iterable<T>, boolean) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
- fromIterator(Iterator<T>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces the products of the delegate, or null
iff the delegate has no more
elements.
- fromIterator(Iterator<T>, boolean) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Produces the products of the delegate, or null
iff the delegate has no more
elements.
- fromKey(Key) - Static method in class de.unkrig.commons.lang.crypto.Decryptors
-
Creates and returns an
Decryptor
which uses the given keys for encryption and decryption.
- fromKey(Key) - Static method in class de.unkrig.commons.lang.crypto.Encryptors
-
Creates and returns an
Encryptor
which uses the given key for encryptionWhen this method returns, the
key may safely be destroyed.
- fromMap(Map<K, V>) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- fromMappings(Object...) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
- fromSecretKey(SecretKey) - Static method in class de.unkrig.commons.lang.crypto.Cryptors
-
- fromString(String, Class<T>) - Static method in class de.unkrig.commons.lang.ObjectUtil
-
Converts a string to an object of the given targetType.
- Function<I,O> - Interface in de.unkrig.commons.lang.protocol
-
An entity that transforms a (non-null
) "input value" into a (non-null
) "output value".
- Functions - Class in de.unkrig.commons.lang.protocol
-
- FunctionWhichThrows<I,O,EX extends Throwable> - Interface in de.unkrig.commons.lang.protocol
-
An entity that transforms an "input value" (which may be null
) into an "output value" (which may also be
null
).
- get() - Method in class de.unkrig.commons.lang.protocol.HardReference
-
- get(Object) - Method in class de.unkrig.commons.lang.protocol.Mapping
-
- get(Mapping<? extends K, ?>, Object, Class<T>) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
Invokes
Mapping.get(Object)
on the
mapping and, if the result is not
null
, converts
it to the given
targetType.
- get0(ClassLoader, String, String) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a zero-parameter method of the declaringClass, based on the
methodName.
- get0(ClassLoader, String, String, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a zero-parameter method of the declaringClass, based on the
methodName.
- get0(Class<DC>, String) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a zero-parameter method of the declaringClass, based on the
methodName.
- get0(Class<DC>, String, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a zero-parameter method of the declaringClass, based on the
methodName.
- get1(ClassLoader, String, String, Class<P>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a single-parameter method of the declaringClass, based on
methodName and parameterType.
- get1(ClassLoader, String, String, Class<P>, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a single-parameter method of the declaringClass, based on
methodName and parameterType.
- get1(Class<DC>, String, Class<P>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a single-parameter method of the declaringClass, based on
methodName and parameterType.
- get1(Class<DC>, String, Class<P>, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a single-parameter method of the declaringClass, based on
methodName and parameterType.
- get2(ClassLoader, String, String, Class<P1>, Class<P2>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a two-parameter method of the declaringClass, based on
methodName, parameterType1 and parameterType2.
- get2(ClassLoader, String, String, Class<P1>, Class<P2>, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a two-parameter method of the declaringClass, based on
methodName, parameterType1 and parameterType2.
- get2(Class<DC>, String, Class<P1>, Class<P2>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a two-parameter method of the declaringClass, based on
methodName, parameterType1 and parameterType2.
- get2(Class<DC>, String, Class<P1>, Class<P2>, Class<EX>) - Static method in class de.unkrig.commons.lang.OptionalMethods
-
Returns a wrapper for a two-parameter method of the declaringClass, based on
methodName, parameterType1 and parameterType2.
- getAllSubresources(ClassLoader, String, boolean) - Static method in class de.unkrig.commons.lang.ClassLoaders
-
Returns the locations of all resources "under" a given directory name.
- getCause() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- getLocalizedMessage() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- getMessage() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- getNonNull(Mapping<K, ?>, String) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- getNonNull(Mapping<K, ?>, String, Class<T>) - Static method in class de.unkrig.commons.lang.protocol.Mappings
-
- getPassword(String, String) - Method in interface de.unkrig.commons.lang.crypto.PasswordAuthenticationStore
-
- getProperty(String) - Method in interface de.unkrig.commons.lang.security.DestroyableProperties
-
- getStackTrace() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- getSubresources(ClassLoader, String, boolean) - Static method in class de.unkrig.commons.lang.ClassLoaders
-
- getSubresources(ClassLoader, String, boolean, boolean) - Static method in class de.unkrig.commons.lang.ClassLoaders
-
Returns a name-to-URL mapping of all resources "under" a given directory name.
- getSubresourcesOf(URL, String, boolean) - Static method in class de.unkrig.commons.lang.ClassLoaders
-
- getSubresourcesOf(URL, String, boolean, boolean) - Static method in class de.unkrig.commons.lang.ClassLoaders
-
Returns a name-to-URL mapping of all resources "under" a given root resource.
- getUserName(String) - Method in interface de.unkrig.commons.lang.crypto.PasswordAuthenticationStore
-
- greater(C) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- greaterEqual(C) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- identity() - Static method in class de.unkrig.commons.lang.protocol.Functions
-
- identity() - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
- ignoreExceptions(Class<EX>, ConsumerWhichThrows<T, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Wraps the delegate such that its declared exception is caught and ignored.
- ignoreExceptions(Class<EX>, FunctionWhichThrows<I, O, EX>, O) - Static method in class de.unkrig.commons.lang.protocol.Functions
-
Wraps the delegate such that its declared exception is caught, ignored, and the
defaultValue is returned.
- ignoreExceptions(Class<EX>, PredicateWhichThrows<T, EX>, boolean) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
Wraps the delegate such that its declared exception is caught, ignored, and the
defaultValue is returned.
- ignoreExceptions(Class<EX>, ProducerWhichThrows<T, EX>, T) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Wraps the delegate such that its declared exception is caught, ignored, and the
defaultValue is returned.
- ignoreExceptions(Class<EX>, RunnableWhichThrows<EX>) - Static method in class de.unkrig.commons.lang.protocol.RunnableUtil
-
Wraps the delegate such that its declared exception is caught and ignored.
- ignoreExceptions(Class<EX>, TransformerWhichThrows<I, O, EX>, O) - Static method in class de.unkrig.commons.lang.protocol.TransformerUtil
-
Wraps the delegate such that its declared exception is caught, ignored, and the
defaultValue is returned.
- ignoreSubject(ProducerWhichThrows<Boolean, EX>) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- ignoreSubject(Producer<Boolean>) - Static method in class de.unkrig.commons.lang.protocol.PredicateUtil
-
- increasing() - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Creates and returns a
Producer
that produces 0, 1, 2, 3, ...
- increasing(int) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Creates and returns a
Producer
that produces
initialValue,
initialValue+1
,
initialValue+ 2
, etc.
- index() - Method in interface de.unkrig.commons.lang.protocol.ProducerUtil.FromArrayProducer
-
- indexOf(CharSequence) - Method in class de.unkrig.commons.lang.StringUtil.AbstractIndexOf
-
- indexOf(CharSequence, int) - Method in class de.unkrig.commons.lang.StringUtil.AbstractIndexOf
-
- indexOf(CharSequence, int, int) - Method in class de.unkrig.commons.lang.StringUtil.AbstractIndexOf
-
- indexOf(CharSequence, int, int, int) - Method in class de.unkrig.commons.lang.StringUtil.AbstractIndexOf
-
- indexOf(char[]) - Static method in class de.unkrig.commons.lang.StringUtil
-
- indexOf(CharSequence) - Static method in class de.unkrig.commons.lang.StringUtil
-
- indexOf(char[][]) - Static method in class de.unkrig.commons.lang.StringUtil
-
Creates a highly optimized
StringUtil.IndexOf
object that searches for "multivalent"
needle.
- indexOf(CharSequence) - Method in interface de.unkrig.commons.lang.StringUtil.IndexOf
-
- indexOf(CharSequence, int) - Method in interface de.unkrig.commons.lang.StringUtil.IndexOf
-
- indexOf(CharSequence, int, int) - Method in interface de.unkrig.commons.lang.StringUtil.IndexOf
-
- indexOf(CharSequence, int, int, int) - Method in interface de.unkrig.commons.lang.StringUtil.IndexOf
-
- initCause(Throwable) - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- invoke(DC) - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper0
-
Invokes the wrapped method, or, iff that method does not exist, takes an alternate action.
- invoke(DC, P) - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper1
-
Invokes the wrapped method, or, iff that method does not exist, takes an alternate action.
- invoke(DC, P1, P2) - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper2
-
Invokes the wrapped method, or, iff that method does not exist, takes an alternate action.
- IS_BLANK - Static variable in class de.unkrig.commons.lang.StringUtil
-
- IS_DEFINED - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_HORIZONTAL_WHITESPACE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_IDENTIFIER_IGNORABLE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_ISO_CONTROL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_JAVA_IDENTIFIER_PART - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_JAVA_IDENTIFIER_START - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_LETTER_OR_DIGIT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_MIRRORED - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_POSIX_ALNUM - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "alnum" ([A-Za-z0-9]
).
- IS_POSIX_ALPHA - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "alpha" ([A-Za-z]
).
- IS_POSIX_ASCII - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point is in the ASCII range (0-127).
- IS_POSIX_BLANK - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "blank"; which consists of the SPACE
character and the TAB character.
- IS_POSIX_CNTRL - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "cntrl" ([\0-\x1f\x7f]
).
- IS_POSIX_DIGIT - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "digit" ([0-9]
).
- IS_POSIX_GRAPH - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "graph"; the union of classes "alpha",
"digit", and "punct".
- IS_POSIX_LOWER - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "lower" ([a-z]
).
- IS_POSIX_PRINT - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "print"; the union of classes "alpha",
"digit" and "punct", and the SPACE character.
- IS_POSIX_PUNCT - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "punct" (one of !
- IS_POSIX_SPACE - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "space" (consisting of the tab, newline,
vertical-tab, form-feed, carriage-return and space characters).
- IS_POSIX_UPPER - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "upper" ([A-Z]
).
- IS_POSIX_XDIGIT - Static variable in class de.unkrig.commons.lang.Characters
-
Evaluates whether a given code point lies in the POSIX character class "xdigit" ([0-9a-fA-F]
).
- IS_SPACE_CHAR - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_ALNUM - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_ALPHA - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_ALPHA2 - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_ASSIGNED - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_BLANK - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_CNTRL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_COMBINING_SPACING_MARK - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_CONNECTOR_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_CONTROL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_CURRENCY_SYMBOL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_DASH_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_DECIMAL_DIGIT_NUMBER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_DIGIT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_ENCLOSING_MARK - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_END_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_FINAL_QUOTE_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_FORMAT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_GRAPH - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_HEX_DIGIT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_IDENTIFIER_PART - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_IDENTIFIER_START - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_IDEOGRAPHIC - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_INITIAL_QUOTE_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_JOIN_CONTROL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_LATIN1 - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_LETTER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_LETTER_NUMBER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_LINE_SEPARATOR - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_LOWER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_MARK - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_MATH_SYMBOL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_MODIFIER_LETTER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_MODIFIER_SYMBOL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_NON_SPACING_MARK - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_NONCHARACTER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_NUMBER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_OTHER_LETTER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_OTHER_NUMBER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_OTHER_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_OTHER_SYMBOL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_PARAGRAPH_SEPARATOR - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_PRINT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_PRIVATE_USE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_PUNCT - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_SEPARATOR - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_SPACE_SEPARATOR - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_SPECIAL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_START_PUNCTUATION - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_SURROGATE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_SYMBOL - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_TITLE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_UNASSIGNED - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_UPPER - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_UPPER_LOWER_TITLE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_WHITE_SPACE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_UNICODE_WORD - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_WHITESPACE - Static variable in class de.unkrig.commons.lang.Characters
-
- IS_WORD - Static variable in class de.unkrig.commons.lang.Characters
-
A word character: [a-zA-Z_0-9]
- isAlphabetic(Integer) - Static method in class de.unkrig.commons.lang.Characters
-
Calls java.lang.Character.isAlphabetic(int)
, which is available only sind JRE 1.7.
- isAvailable() - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper0
-
- isAvailable() - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper1
-
- isAvailable() - Method in interface de.unkrig.commons.lang.OptionalMethods.MethodWrapper2
-
- isBlank(CharSequence) - Static method in class de.unkrig.commons.lang.StringUtil
-
- isEmpty() - Method in interface de.unkrig.commons.lang.security.DestroyableProperties
-
- isHorizontalWhitespace(int) - Static method in class de.unkrig.commons.lang.Characters
-
- isUnicodeWord(int) - Static method in class de.unkrig.commons.lang.Characters
-
- isWordCharacter(int) - Static method in class de.unkrig.commons.lang.Characters
-
A word character: [a-zA-Z_0-9]
- iterator(CharSequence) - Static method in class de.unkrig.commons.lang.StringUtil
-
Returns an iterator that produces the characters of the subject, from index 0 through index subject.length() - 1
.
- tail(Iterator<? extends T>, int, ConsumerWhichThrows<? super T, ? extends EX>, ConsumerWhichThrows<? super T, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Passes the first x - n products of the subject to delegate1, and all
remaining products (if any) to delegate2, where x is the number of products of the
subject.
- tail(Collection<? extends T>, int, ConsumerWhichThrows<? super T, ? extends EX>, ConsumerWhichThrows<? super T, ? extends EX>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
Passes the first subject.length()
- n elements of the subject
collection to delegate1, and all remaining elements (if any) to delegate2.
- tee(ConsumerWhichThrows<? super T, EX>, ConsumerWhichThrows<? super T, EX>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- tee(Consumer<? super T>, Consumer<? super T>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- tee(Collection<ConsumerWhichThrows<? super T, EX>>) - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- ThreadUtil - Class in de.unkrig.commons.lang
-
Various java.lang.Thread
-related utility methods.
- throW(EX) - Static method in class de.unkrig.commons.lang.ExceptionUtil
-
Identical with "throw throwable
", but has a return type T
, so it can be used in an expression.
- throwAssertionError(Object) - Static method in class de.unkrig.commons.lang.ExceptionUtil
-
Identical with "throw new AssertionError(object)
", but has a return type T
, so it can be used
in an expression.
- throwsSubject() - Static method in class de.unkrig.commons.lang.protocol.ConsumerUtil
-
- throwUndeclared(Exception) - Static method in class de.unkrig.commons.lang.ExceptionUtil
-
Throws the given
Exception
, although it does not declare any exceptions.
- TO_EMPTY - Static variable in class de.unkrig.commons.lang.protocol.StringTransformers
-
Transforms any string to ""
(the empty string).
- TO_LOWER_CASE - Static variable in class de.unkrig.commons.lang.protocol.StringTransformers
-
- TO_UPPER_CASE - Static variable in class de.unkrig.commons.lang.protocol.StringTransformers
-
- toCharArray(CharSequence) - Static method in class de.unkrig.commons.lang.CharSequences
-
An optimization of "cs.toString().toCharArray()
".
- toEmpty() - Static method in class de.unkrig.commons.lang.protocol.StringTransformers
-
Transforms any string to ""
(the empty string).
- toJavaArrayInitializer(Object) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
Converts an array into a Java array initializer.
- toJavaCharLiteral(char) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
Converts a char
into a Java character literal, like '\n'
.
- toJavaStringLiteral(CharSequence) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
- toStoppable(Closeable) - Static method in class de.unkrig.commons.lang.protocol.StoppableUtil
-
- toStoppable(Socket) - Static method in class de.unkrig.commons.lang.protocol.StoppableUtil
-
Amazingly, a
Socket
is not a
Closeable
, hence we need this special version of "toStoppable()".
- toString(T, String) - Static method in class de.unkrig.commons.lang.ObjectUtil
-
- toString(Object) - Static method in class de.unkrig.commons.lang.PrettyPrinter
-
- toString() - Method in class de.unkrig.commons.lang.protocol.Longjump
-
- toString() - Method in interface de.unkrig.commons.lang.protocol.ProducerWhichThrows
-
Returns a human-readable text which describes the origin of the previously produced element, e.g. file name,
line number and column number
- toString() - Method in class de.unkrig.commons.lang.StringUtil.AbstractIndexOf
-
- toString() - Method in interface de.unkrig.commons.lang.StringUtil.IndexOf
-
- TOTAL_LENGTH_ELLIPSIS - Static variable in class de.unkrig.commons.lang.PrettyPrinter
-
If the length of the output exceeds this threshold (1024), then all remaining array
elements are printed as
"abc"...
- transform(ProducerWhichThrows<? extends T1, ? extends EX>, TransformerWhichThrows<? super T1, ? extends T2, EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Transforms each product of the delegate through the transformer.
- transform(ProducerWhichThrows<? extends T1, ? extends EX>, FunctionWhichThrows<? super T1, ? extends T2, EX>) - Static method in class de.unkrig.commons.lang.protocol.ProducerUtil
-
Transforms each product of the delegate through the function.
- transform(I) - Method in interface de.unkrig.commons.lang.protocol.TransformerWhichThrows
-
Transforms a (non-null) object of type I
into a (non-null) object of type O
.
- Transformer<I,O> - Interface in de.unkrig.commons.lang.protocol
-
An entity that transforms "input objects" into "output objects".
- TransformerUtil - Class in de.unkrig.commons.lang.protocol
-
- TransformerWhichThrows<I,O,EX extends Throwable> - Interface in de.unkrig.commons.lang.protocol
-