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

A

AbstractBean - Class in de.javagl.common.beans
Abstract base implementation of a bean, maintaining a PropertyChangeSupport.
AbstractBean() - Constructor for class de.javagl.common.beans.AbstractBean
Default constructor
addDeepConsoleLogger(Object) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Attaches a deep property change listener to the given object, that generates logging information about the property change events, and prints them to the standard output.
addDeepLogger(Object) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Attaches a deep property change listener to the given object, that generates logging information about the property change events, and prints them as INFO log messages.
addDeepLogger(Object, Level) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Attaches a deep property change listener to the given object, that generates logging information about the property change events, and prints them as log messages.
addDeepLogger(Object, Consumer<? super String>) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Attaches a deep property change listener to the given object, that generates logging information about the property change events, and passes them to the given consumer.
addDeepPropertyChangeListener(Object, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Add the given property change listener to the given object and all its sub-objects, and make sure that the property change listener will be attached to all sub-objects that are set, and removed from all sub-objects that are removed.
addPropertyChangeListener(PropertyChangeListener) - Method in class de.javagl.common.beans.AbstractBean
Add the given listener to be informed about property changes
addPropertyChangeListener(String, PropertyChangeListener) - Method in class de.javagl.common.beans.AbstractBean
Add the given listener to be informed about property changes
addToList(Map<K, List<E>>, K, E) - Static method in class de.javagl.common.collections.Maps
Adds the given element to the list that is stored under the given key.
affine(double, double) - Static method in class de.javagl.common.functional.DoubleUnaryOperators
Returns a DoubleUnaryOperator that is an affine transformation, returning factor * value + addend.
andThen(Function<? super D, ? extends Z>) - Method in interface de.javagl.common.functional.TriFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
apply(T, U) - Method in class de.javagl.common.functional.BiFunctionAdapter
 
apply(T, U) - Method in class de.javagl.common.functional.CachingBiFunction
 
apply(double) - Method in class de.javagl.common.functional.DoubleFunctionAdapter
 
apply(A, B, C) - Method in interface de.javagl.common.functional.TriFunction
Applies this function to the given arguments.
applyAsDouble(double) - Method in class de.javagl.common.functional.DoubleUnaryOperatorAdapter
 
assertEqual(Set<?>, Set<?>) - Static method in class de.javagl.common.collections.Sets
Assert that the given sets are equal, and throw an IllegalArgumentException if this is not the case, with a message that contains information about the difference between the sets

B

BeanUtils - Class in de.javagl.common.beans
Utility methods related to Java Beans
biConsumer(String, BiConsumer<T, U>) - Static method in class de.javagl.common.functional.Named
Returns a new BiConsumer that has the given name as its string representation, and performs the same operation as the given one.
biFunction(String, BiFunction<T, U, R>) - Static method in class de.javagl.common.functional.Named
Returns a new BiFunction that has the given name as its string representation, and performs the same operation as the given one.
BiFunctionAdapter<T,U,R> - Class in de.javagl.common.functional
Implementation of a binary function that delegates to another binary function
BiFunctionAdapter() - Constructor for class de.javagl.common.functional.BiFunctionAdapter
Default constructor
BiFunctions - Class in de.javagl.common.functional
Utility methods for creating BiFunction instances.
binaryOperator(String, BinaryOperator<T>) - Static method in class de.javagl.common.functional.Named
Returns a new BinaryOperator that has the given name as its string representation, and performs the same operation as the given one.
biPredicate(String, BiPredicate<T, U>) - Static method in class de.javagl.common.functional.Named
Returns a new BiPredicate that has the given name as its string representation, and performs the same operation as the given one.
booleanSupplier(String, BooleanSupplier) - Static method in class de.javagl.common.functional.Named
Returns a new BooleanSupplier that has the given name as its string representation, and performs the same operation as the given one.
boxArgument(DoubleFunction<S>, S) - Static method in class de.javagl.common.functional.DoubleFunctions
Returns a view on the given DoubleFunction as a Function that accepts a Double, thus boxing the argument type from double to Double

C

CachingBiFunction<T,U,R> - Class in de.javagl.common.functional
Implementation of a BiFunction that internally caches the values that are obtained from a delegate
CachingBiFunction(BiFunction<T, U, R>) - Constructor for class de.javagl.common.functional.CachingBiFunction
Creates a new caching BiFunction with the given delegate
clamp(DoubleUnaryOperator, double, double) - Static method in class de.javagl.common.functional.DoubleUnaryOperators
Returns a DoubleUnaryOperator that clamps the results from the given function to the interval [min,max]
clear() - Method in class de.javagl.common.functional.CachingBiFunction
Clear the internal cache
combine(Collection<? extends Map<? extends K, ? extends V>>) - Static method in class de.javagl.common.collections.Maps
Combine the given maps, by merging their key sets to obtain the key set of the result list, and collecting all values from the given input maps into lists.
Comparators - Class in de.javagl.common.util
Utility methods to create comparator instances
compose(BiFunction<? super T, ? super U, ? extends R>, ToDoubleFunction<? super R>) - Static method in class de.javagl.common.functional.ToDoubleBiFunctions
Composes the given functions
compose(ToDoubleBiFunction<? super T, ? super U>, DoubleFunction<? extends R>) - Static method in class de.javagl.common.functional.ToDoubleBiFunctions
Composes the given functions
compose(ToDoubleBiFunction<? super T, ? super U>, DoubleUnaryOperator) - Static method in class de.javagl.common.functional.ToDoubleBiFunctions
Composes the given functions
concat(List<? extends T>, List<? extends T>) - Static method in class de.javagl.common.collections.Lists
Create a new list that is an unmodifiable view on the concatenation of the given lists.
constant(RR) - Static method in class de.javagl.common.functional.BiFunctions
Creates a BiFunction that always returns the given value.
consumer(String, Consumer<T>) - Static method in class de.javagl.common.functional.Named
Returns a new Consumer that has the given name as its string representation, and performs the same operation as the given one.
create(Iterable<? extends K>, double, double, Random) - Static method in class de.javagl.common.collections.DoubleMaps
Create a map with the given keys, which are mapped to random values in the specified range
create(Collection<? extends K>, List<? extends DoubleUnaryOperator>) - Static method in class de.javagl.common.collections.DoubleMaps
Create maps with the given keys, which are mapped to values that are computed by applying the given operators to the range [0,1], linearly interpolated for the given keys.
create(Collection<? extends K>, DoubleUnaryOperator) - Static method in class de.javagl.common.collections.DoubleMaps
Create a map with the given keys, which are mapped to values that are computed by applying the given operator to the range [0,1], linearly interpolated for the given keys.
createFixedTimeoutExecutorService(int, long, TimeUnit) - Static method in class de.javagl.common.concurrent.ExecutorServices
Creates an executor service with a fixed pool size, that will time out after a certain period of inactivity.
createFixedTimeoutRethrowingExecutorService(int, long, TimeUnit, boolean) - Static method in class de.javagl.common.concurrent.ExecutorServices
Creates an executor service with a fixed pool size, that will time out after a certain period of inactivity.
createFullBeanXmlString(Object) - Static method in class de.javagl.common.beans.XmlBeanUtil
Create the XML string describing the given bean, as created by an XMLEncoder, but including all properties, even if they still have their default values.
createIndexLookup(List<? extends T>) - Static method in class de.javagl.common.collections.Maps
Create a map for looking up the indices of the elements in the given list.
createIndexLookupUnchecked(List<? extends T>) - Static method in class de.javagl.common.collections.Maps
Create a map that is an index lookup for the given list.
createIndexView(List<T>, List<Integer>) - Static method in class de.javagl.common.collections.Lists
Create a view on the given list that contains only the elements that are indicated by the given indices.
createIndexView(List<T>, IntUnaryOperator, int) - Static method in class de.javagl.common.collections.Lists
Create a view on the given list where each index will be passed through the given lookup function in order to access the corresponding element in the given parent list.
createOrderIgnoreCase(String...) - Static method in class de.javagl.common.util.Comparators
Creates a comparator that compares strings according to the given order.
createTextNode(String, Object) - Static method in class de.javagl.common.xml.XmlUtils
Creates an XML node from the default document whose only child is a text node that contains the string representation of the given object
createVerbose(OutputStream) - Static method in class de.javagl.common.beans.XmlEncoders
Creates an XMLEncoder that writes all properties of bean objects explicitly, even when they still have their default values.
createView(List<? extends T>, Function<? super T, ? extends U>) - Static method in class de.javagl.common.collections.Lists
Create a view on the given list that converts the values with the given function.
createView(List<? extends A>, List<? extends B>, BiFunction<? super A, ? super B, ? extends C>) - Static method in class de.javagl.common.collections.Lists
Creates a list that is a view on the result of applying the given function to the elements of the given lists.
createView(List<A>, List<B>, List<C>, TriFunction<? super A, ? super B, ? super C, ? extends D>) - Static method in class de.javagl.common.collections.Lists
Creates a list that is a view on the result of applying the given function to the elements of the given lists.
createView(int, IntFunction<? extends T>) - Static method in class de.javagl.common.collections.Lists
Create a view on the given function, as a list with the given size.
createView(int, int, IntFunction<? extends T>) - Static method in class de.javagl.common.collections.Lists
Returns a view on the given function, as a list that contains the elements f(minIndexInclusive) to f(maxIndexExclusive-1)

D

de.javagl.common - package de.javagl.common
 
de.javagl.common.beans - package de.javagl.common.beans
 
de.javagl.common.collections - package de.javagl.common.collections
 
de.javagl.common.concurrent - package de.javagl.common.concurrent
 
de.javagl.common.functional - package de.javagl.common.functional
Utilities related to functional interfaces.
de.javagl.common.iteration - package de.javagl.common.iteration
Utilities related to iteration (Iterables and Iterators).
de.javagl.common.util - package de.javagl.common.util
 
de.javagl.common.xml - package de.javagl.common.xml
 
detach() - Method in class de.javagl.common.beans.PropertyChangeListeners.ObservedObject
This method will remove all property change listeners from the object that have been attached during the call to PropertyChangeListeners.addDeepPropertyChangeListener(java.lang.Object, java.beans.PropertyChangeListener) that created this observed object.
doubleBinaryOperator(String, DoubleBinaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleBinaryOperator that has the given name as its string representation, and performs the same operation as the given one.
doubleConsumer(String, DoubleConsumer) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleConsumer that has the given name as its string representation, and performs the same operation as the given one.
doubleFunction(String, DoubleFunction<R>) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleFunction that has the given name as its string representation, and performs the same operation as the given one.
DoubleFunctionAdapter<T> - Class in de.javagl.common.functional
Implementation of a double function that delegates to another double function
DoubleFunctionAdapter() - Constructor for class de.javagl.common.functional.DoubleFunctionAdapter
Default constructor
DoubleFunctions - Class in de.javagl.common.functional
Methods related to DoubleFunctions and Functions that return Double values
DoubleMaps - Class in de.javagl.common.collections
Utility methods related to maps containing Double keys and/or values
doublePredicate(String, DoublePredicate) - Static method in class de.javagl.common.functional.Named
Returns a new DoublePredicate that has the given name as its string representation, and performs the same operation as the given one.
doubleSupplier(String, DoubleSupplier) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleSupplier that has the given name as its string representation, and performs the same operation as the given one.
doubleToIntFunction(String, DoubleToIntFunction) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleToIntFunction that has the given name as its string representation, and performs the same operation as the given one.
doubleToLongFunction(String, DoubleToLongFunction) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleToLongFunction that has the given name as its string representation, and performs the same operation as the given one.
doubleUnaryOperator(String, DoubleUnaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new DoubleUnaryOperator that has the given name as its string representation, and performs the same operation as the given one.
DoubleUnaryOperatorAdapter - Class in de.javagl.common.functional
Implementation of a DoubleUnaryOperator function that delegates to another DoubleUnaryOperator
DoubleUnaryOperatorAdapter() - Constructor for class de.javagl.common.functional.DoubleUnaryOperatorAdapter
Default constructor
DoubleUnaryOperators - Class in de.javagl.common.functional
Utility methods to create DoubleUnaryOperator instances

E

equals(Object) - Method in class de.javagl.common.Tuple2
 
execute(int, ExecutorService, int, int, ParallelRangeExecutor.RangeExecutor) - Static method in class de.javagl.common.concurrent.ParallelRangeExecutor
Perform a parallel execution of the given ParallelRangeExecutor.RangeExecutor with the specified range and parallelism level on the given executor service.
execute(int, int, int) - Method in interface de.javagl.common.concurrent.ParallelRangeExecutor.RangeExecutor
Perform the execution on the specified range
ExecutorServices - Class in de.javagl.common.concurrent
Utility methods to create executor service instances

F

fillValues(Map<K, V>, Iterable<? extends V>) - Static method in class de.javagl.common.collections.Maps
Fill the given map sequentially with the values from the given sequence.
filteringIterable(Iterable<? extends T>, Predicate<? super T>) - Static method in class de.javagl.common.iteration.Iterables
Returns an iterable that provides an iterator that only returns the elements provided by the iterator of the given iterable to which the given predicate applies.
filteringIterator(Iterator<? extends T>, Predicate<? super T>) - Static method in class de.javagl.common.iteration.Iterators
Creates an iterator that only returns the elements from the given iterator to which the given predicate applies.
firePropertyChange(String, Object, Object) - Method in class de.javagl.common.beans.AbstractBean
Informs all registered PropertyChangeListeners about the change in the specified property.
forNumbers() - Static method in class de.javagl.common.util.Comparators
Returns a comparator that compares numbers based on their double value.
fromArray(int...) - Static method in class de.javagl.common.collections.Lists
Returns a list that is an unmodifiable view on the given array
fromElements(T...) - Static method in class de.javagl.common.collections.Maps
Creates a map that maps consecutive integer values to the corresponding elements in the given array.
fromEntries(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class de.javagl.common.collections.Maps
Creates a new map from the given sequence of entries
fromIterable(Iterable<? extends T>) - Static method in class de.javagl.common.collections.Maps
Creates a map that maps consecutive integer values to the elements in the given sequence, in the order in which they appear.
fromIterables(Iterable<? extends K>, Iterable<? extends V>) - Static method in class de.javagl.common.collections.Maps
Creates a map that maps the elements of the first sequence to the corresponding elements in the second sequence.
fromMap(Map<? super K, ? extends V>, V) - Static method in class de.javagl.common.functional.Functions
Create a Function that is backed by the given map.
fromRange(int, int) - Static method in class de.javagl.common.collections.Lists
Creates an unmodifiable list that contains consecutive integers in the given range
fromRange(long, long) - Static method in class de.javagl.common.collections.Lists
Creates an unmodifiable list that contains consecutive long values in the given range
function(String, Function<T, R>) - Static method in class de.javagl.common.functional.Named
Returns a new Function that has the given name as its string representation, and performs the same operation as the given one.
Functions - Class in de.javagl.common.functional
Utility methods for creating Function instances.

G

getAttributeValue(Node, String, String) - Static method in class de.javagl.common.xml.XmlUtils
Returns the attribute with the given name from the given node.
getChildren(Node, String) - Static method in class de.javagl.common.xml.XmlUtils
Returns the children of the given node with the given name (ignoring upper/lower case).
getCount(Map<K, Integer>, K) - Static method in class de.javagl.common.collections.Maps
Returns the value that is stored for the given key in the given map.
getDefaultDocument() - Static method in class de.javagl.common.xml.XmlUtils
Returns a default XML document
getDescription(String) - Static method in class de.javagl.common.beans.BeanUtils
Converts the given property name into a description.
getFirst() - Method in class de.javagl.common.Tuple2
Returns the first element of this tuple
getFirstChild(Node, String) - Static method in class de.javagl.common.xml.XmlUtils
Returns the first child of the given node with the given name (ignoring upper/lower case), or null if no such child is found.
getInterpolated(NavigableMap<Double, ? extends Number>, double) - Static method in class de.javagl.common.collections.DoubleMaps
Returns a linearly interpolated value from the given map.
getMutablePropertyNamesOptional(Class<?>) - Static method in class de.javagl.common.beans.BeanUtils
Returns an unmodifiable list of all property names of the given bean class for which a read method and a write method exists.
getPropertyTypeOptional(Class<?>, String) - Static method in class de.javagl.common.beans.BeanUtils
Returns the type of the property with the given name in the given bean class.
getReadMethodOptional(Class<?>, String) - Static method in class de.javagl.common.beans.BeanUtils
Returns the read method for the property with the given name in the given bean class.
getRequiredAttributeValue(Node, String) - Static method in class de.javagl.common.xml.XmlUtils
Returns the attribute with the given name from the given node.
getSecond() - Method in class de.javagl.common.Tuple2
Returns the second element of this tuple
getWriteMethodOptional(Class<?>, String) - Static method in class de.javagl.common.beans.BeanUtils
Returns the write method for the property with the given name in the given bean class.

H

hashCode() - Method in class de.javagl.common.Tuple2
 

I

incrementCount(Map<K, Integer>, K) - Static method in class de.javagl.common.collections.Maps
Increments the value that is stored for the given key in the given map by one, or sets it to 1 if there was no value stored for the given key.
intBinaryOperator(String, IntBinaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new IntBinaryOperator that has the given name as its string representation, and performs the same operation as the given one.
intConsumer(String, IntConsumer) - Static method in class de.javagl.common.functional.Named
Returns a new IntConsumer that has the given name as its string representation, and performs the same operation as the given one.
interpolate(double, double) - Static method in class de.javagl.common.functional.DoubleUnaryOperators
Returns a DoubleUnaryOperator that maps the interval [0,1] to the interval [min,max]
interpolate(double, double, double, double) - Static method in class de.javagl.common.functional.DoubleUnaryOperators
Returns a DoubleUnaryOperator that maps the interval [minSource,maxSource] to the interval [minTarget,maxTarget], interpolating linearly.
intFunction(String, IntFunction<R>) - Static method in class de.javagl.common.functional.Named
Returns a new IntFunction that has the given name as its string representation, and performs the same operation as the given one.
intPredicate(String, IntPredicate) - Static method in class de.javagl.common.functional.Named
Returns a new IntPredicate that has the given name as its string representation, and performs the same operation as the given one.
intSupplier(String, IntSupplier) - Static method in class de.javagl.common.functional.Named
Returns a new IntSupplier that has the given name as its string representation, and performs the same operation as the given one.
intToDoubleFunction(String, IntToDoubleFunction) - Static method in class de.javagl.common.functional.Named
Returns a new IntToDoubleFunction that has the given name as its string representation, and performs the same operation as the given one.
intToLongFunction(String, IntToLongFunction) - Static method in class de.javagl.common.functional.Named
Returns a new IntToLongFunction that has the given name as its string representation, and performs the same operation as the given one.
intUnaryOperator(String, IntUnaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new IntUnaryOperator that has the given name as its string representation, and performs the same operation as the given one.
invert(Function<? super S, ? extends T>, Iterable<? extends S>) - Static method in class de.javagl.common.functional.Functions
Returns a Function that is the inverse of the given Function, defined for the given arguments.
invokeReadMethodOptional(Object, String) - Static method in class de.javagl.common.beans.BeanUtils
Invokes the read method for the property with the given name on the given object, and returns the result.
invokeWriteMethodOptional(Object, String, Object) - Static method in class de.javagl.common.beans.BeanUtils
Invokes the write-method on the given object for the property with the given name, passing in the given value.
isSorted(Iterable<? extends T>, Comparator<? super T>) - Static method in class de.javagl.common.iteration.Iterables
Returns whether the given iterable is sorted according to the given comparator.
iterableOverIterables(Iterable<? extends Iterable<? extends T>>) - Static method in class de.javagl.common.iteration.Iterables
Returns an iterator that combines the iterators that are provided by the iterables that are provided by the iterator of the given iterable.
Iterables - Class in de.javagl.common.iteration
Utility methods related to Iterables.
iteratorOverIterables(Iterator<S>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the iterators that are returned by the iterables that are provided by the given iterator
iteratorOverIterables(Iterable<S>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the iterators that are returned by the iterables that are provided by the iterator that is provided by the given iterable
iteratorOverIterables(Iterable<? extends T>, Iterable<? extends T>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the iterators that are returned by the given iterables
iteratorOverIterators(Iterator<? extends T>, Iterator<? extends T>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the given iterators.
iteratorOverIterators(Iterator<S>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the iterators that are returned by the given iterator.
iteratorOverIterators(Iterable<S>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that combines the iterators that are returned by the iterator that is returned by the given iterable.
Iterators - Class in de.javagl.common.iteration
Utility methods related to iterators.

L

Lists - Class in de.javagl.common.collections
Methods related to lists.
longBinaryOperator(String, LongBinaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new LongBinaryOperator that has the given name as its string representation, and performs the same operation as the given one.
longConsumer(String, LongConsumer) - Static method in class de.javagl.common.functional.Named
Returns a new LongConsumer that has the given name as its string representation, and performs the same operation as the given one.
longFunction(String, LongFunction<R>) - Static method in class de.javagl.common.functional.Named
Returns a new LongFunction that has the given name as its string representation, and performs the same operation as the given one.
longPredicate(String, LongPredicate) - Static method in class de.javagl.common.functional.Named
Returns a new LongPredicate that has the given name as its string representation, and performs the same operation as the given one.
longSupplier(String, LongSupplier) - Static method in class de.javagl.common.functional.Named
Returns a new LongSupplier that has the given name as its string representation, and performs the same operation as the given one.
longToDoubleFunction(String, LongToDoubleFunction) - Static method in class de.javagl.common.functional.Named
Returns a new LongToDoubleFunction that has the given name as its string representation, and performs the same operation as the given one.
longToIntFunction(String, LongToIntFunction) - Static method in class de.javagl.common.functional.Named
Returns a new LongToIntFunction that has the given name as its string representation, and performs the same operation as the given one.
longUnaryOperator(String, LongUnaryOperator) - Static method in class de.javagl.common.functional.Named
Returns a new LongUnaryOperator that has the given name as its string representation, and performs the same operation as the given one.

M

Maps - Class in de.javagl.common.collections
Utility methods related to maps
max(Collection<? extends Number>) - Static method in class de.javagl.common.collections.NumberCollections
Computes the maximum of the double values of the numbers in the given collection.
min(Collection<? extends Number>) - Static method in class de.javagl.common.collections.NumberCollections
Computes the minimum of the double values of the numbers in the given collection.

N

Named - Class in de.javagl.common.functional
Methods to create named instances of functional classes.
NumberCollections - Class in de.javagl.common.collections
Methods related to collections of Number instances

O

objDoubleConsumer(String, ObjDoubleConsumer<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ObjDoubleConsumer that has the given name as its string representation, and performs the same operation as the given one.
objIntConsumer(String, ObjIntConsumer<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ObjIntConsumer that has the given name as its string representation, and performs the same operation as the given one.
objLongConsumer(String, ObjLongConsumer<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ObjLongConsumer that has the given name as its string representation, and performs the same operation as the given one.
of(SS, TT) - Static method in class de.javagl.common.Tuple2
Creates a new 2-tuple consisting of the given elements

P

pad(List<? extends T>, int, T, int, T) - Static method in class de.javagl.common.collections.Lists
Returns a new list that is a view on the given list, padded with the specified number of elements.
ParallelRangeExecutor - Class in de.javagl.common.concurrent
Utility class that can perform an execution on a certain range in parallel.
ParallelRangeExecutor.RangeExecutor - Interface in de.javagl.common.concurrent
An interface that describes an execution that can be applied to a range of elements
predicate(String, Predicate<T>) - Static method in class de.javagl.common.functional.Named
Returns a new Predicate that has the given name as its string representation, and performs the same operation as the given one.
PropertyChangeListeners - Class in de.javagl.common.beans
Utility methods related to property change listeners
PropertyChangeListeners.ObservedObject - Class in de.javagl.common.beans
A class representing an object and all property change listeners that have been attached to it using PropertyChangeListeners.addDeepPropertyChangeListener(java.lang.Object, java.beans.PropertyChangeListener).
PropertyChangeUtils - Class in de.javagl.common.beans
Utility methods related to property change listeners

R

read(InputStream) - Static method in class de.javagl.common.xml.XmlUtils
Creates an XML node by reading the contents of the given input stream.
readBooleanChild(Node, String, boolean) - Static method in class de.javagl.common.xml.XmlUtils
Read an boolean value from the first child of the given node with the given name.
readEnumChild(Node, Class<E>, String) - Static method in class de.javagl.common.xml.XmlUtils
Parse an enum value from the first child of the given node with the given name
readIntChild(Node, String, int) - Static method in class de.javagl.common.xml.XmlUtils
Read an int value from the first child of the given node with the given name.
removeDeepPropertyChangeListener(Object, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeListeners
Remove the given property change listener from the given object and all its sub-objects.
removePropertyChangeListener(PropertyChangeListener) - Method in class de.javagl.common.beans.AbstractBean
Remove the given listener
removePropertyChangeListener(String, PropertyChangeListener) - Method in class de.javagl.common.beans.AbstractBean
Remove the given listener

S

scaleValuesToRange(Map<K, ? extends Number>, double, double) - Static method in class de.javagl.common.collections.DoubleMaps
Scale the values in the given map to be in the specified range.
scaleValuesToRange(Map<K, ? extends Number>, double, double, double, double) - Static method in class de.javagl.common.collections.DoubleMaps
Scale the values in the given map to be in the specified range.
setAllOptional(Object, Object) - Static method in class de.javagl.common.beans.BeanUtils
Set all properties of the target bean to the values obtained from the source bean.
setDelegate(BiFunction<? super T, ? super U, ? extends R>) - Method in class de.javagl.common.functional.BiFunctionAdapter
Set the delegate
setDelegate(DoubleFunction<? extends T>) - Method in class de.javagl.common.functional.DoubleFunctionAdapter
Set the delegate
setDelegate(DoubleUnaryOperator) - Method in class de.javagl.common.functional.DoubleUnaryOperatorAdapter
Set the delegate
Sets - Class in de.javagl.common.collections
Utility methods related to sets
sortByNumberValue(Map<K, V>, boolean) - Static method in class de.javagl.common.collections.Maps
Sorts the given map by the double value of the values
steps(int, int, int) - Static method in class de.javagl.common.collections.Lists
Returns an unmodifiable list with the given size that contains the values offset + i * stepSize
steps(long, long, int) - Static method in class de.javagl.common.collections.Lists
Returns an unmodifiable list with the given size that contains the values offset + i * stepSize
steps(double, double, int) - Static method in class de.javagl.common.collections.Lists
Returns an unmodifiable list with the given size that contains the values offset + i * stepSize
supplier(String, Supplier<T>) - Static method in class de.javagl.common.functional.Named
Returns a new Supplier that has the given name as its string representation, and performs the same operation as the given one.

T

toCollection(Iterable<T>, C) - Static method in class de.javagl.common.iteration.Iterables
Drains all elements that are provided by the iterator of the given iterable into the given collection
toCollection(Iterator<T>, C) - Static method in class de.javagl.common.iteration.Iterators
Drains all elements that are provided by the given iterator into the given collection
toDoubleArray(Collection<? extends Number>) - Static method in class de.javagl.common.collections.NumberCollections
Returns an array containing the double values of the given numbers
toDoubleBiFunction(String, ToDoubleBiFunction<T, U>) - Static method in class de.javagl.common.functional.Named
Returns a new ToDoubleBiFunction that has the given name as its string representation, and performs the same operation as the given one.
ToDoubleBiFunctions - Class in de.javagl.common.functional
Utility methods for creating ToDoubleBiFunction instances.
toDoubleFunction(String, ToDoubleFunction<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ToDoubleFunction that has the given name as its string representation, and performs the same operation as the given one.
toIntBiFunction(String, ToIntBiFunction<T, U>) - Static method in class de.javagl.common.functional.Named
Returns a new ToIntBiFunction that has the given name as its string representation, and performs the same operation as the given one.
toIntFunction(String, ToIntFunction<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ToIntFunction that has the given name as its string representation, and performs the same operation as the given one.
toList(Iterable<T>) - Static method in class de.javagl.common.iteration.Iterables
Drains all elements that are provided by the iterator of the given iterable into a list
toList(Iterator<T>) - Static method in class de.javagl.common.iteration.Iterators
Drains all elements from the given iterator into a list
toLongBiFunction(String, ToLongBiFunction<T, U>) - Static method in class de.javagl.common.functional.Named
Returns a new ToLongBiFunction that has the given name as its string representation, and performs the same operation as the given one.
toLongFunction(String, ToLongFunction<T>) - Static method in class de.javagl.common.functional.Named
Returns a new ToLongFunction that has the given name as its string representation, and performs the same operation as the given one.
toSet(Iterable<T>) - Static method in class de.javagl.common.iteration.Iterables
Drains all elements that are provided by the iterator of the given iterable into a set
toSet(Iterator<T>) - Static method in class de.javagl.common.iteration.Iterators
Drains all elements from the given iterator into a set
toString() - Method in class de.javagl.common.Tuple2
 
toString(Node) - Static method in class de.javagl.common.xml.XmlUtils
Creates a formatted String representation of the given XML node, including the XML declaration
toString(Node, int, boolean) - Static method in class de.javagl.common.xml.XmlUtils
Creates a String representation of the given XML node
transform(Map<KI, VI>, Function<? super KI, ? extends KO>, Function<? super VI, ? extends VO>) - Static method in class de.javagl.common.collections.Maps
Transform the keys and values of the given map with the given functions, and return the result as a new map.
transformingIterable(Iterable<? extends S>, Function<S, ? extends T>) - Static method in class de.javagl.common.iteration.Iterables
Returns an iterable that provides iterators that are transforming the elements provided by the iterators of the given iterable using the given function
transformingIterator(Iterator<? extends S>, Function<S, ? extends T>) - Static method in class de.javagl.common.iteration.Iterators
Creates an iterator that passes the values that are provided by the given delegate iterator to the given function, and returns the resulting values
transformValues(Map<K, ? extends Number>, DoubleUnaryOperator) - Static method in class de.javagl.common.collections.DoubleMaps
Returns a new map that contains the same keys as the given one, but has its values transformed with the given operator.
TriFunction<A,B,C,D> - Interface in de.javagl.common.functional
Interface for a function that receives three arguments and returns a result.
tryAddNamedPropertyChangeListenerUnchecked(Object, String, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeUtils
Tries to add the given PropertyChangeListener to the given target object.
tryAddPropertyChangeListenerUnchecked(Object, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeUtils
Tries to add the given PropertyChangeListener to the given target object.
tryRemoveNamedPropertyChangeListenerUnchecked(Object, String, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeUtils
Tries to remove the given PropertyChangeListener from the given target object.
tryRemovePropertyChangeListenerUnchecked(Object, PropertyChangeListener) - Static method in class de.javagl.common.beans.PropertyChangeUtils
Tries to remove the given PropertyChangeListener from the given target object.
Tuple2<S,T> - Class in de.javagl.common
A generic implementation of an immutable 2-tuple

U

unaryOperator(String, UnaryOperator<T>) - Static method in class de.javagl.common.functional.Named
Returns a new UnaryOperator that has the given name as its string representation, and performs the same operation as the given one.
unbox(BiFunction<T, U, R>, double) - Static method in class de.javagl.common.functional.ToDoubleBiFunctions
Returns a view on the given BiFunction as a ToDoubleBiFunction that thus unboxing the return type from a Number (like Double) to double
unmodifiableCopy(Map<? extends K, ? extends V>) - Static method in class de.javagl.common.collections.Maps
Creates an unmodifiable copy of the given map
unmodifiableListWith(Collection<? extends T>) - Static method in class de.javagl.common.collections.Lists
Utility method that returns an unmodifiable list with the given contents

V

validateIndex(int, int) - Static method in class de.javagl.common.collections.Lists
Make sure that the given index is valid for a list with the given size, and throw an IndexOutOfBoundsException if this is not the case.
validateSize(int) - Static method in class de.javagl.common.collections.Lists
Make sure that the given size is not negative, and throw an IllegalArgumentException otherwise
verifyNode(Node, String) - Static method in class de.javagl.common.xml.XmlUtils
Verify that the given node is not null, and that its name matches the expected tag name (ignoring upper/lowercase), and throw an XmlException if this is not the case.

W

weakeningIterator(Iterator<? extends T>) - Static method in class de.javagl.common.iteration.Iterators
Returns an iterator that removes the type bound of another iterator
withRandomAccess(List<T>) - Static method in class de.javagl.common.collections.Lists
Returns a new list that wraps the given one, adding the RandomAccess tagging interface.
write(Node, OutputStream) - Static method in class de.javagl.common.xml.XmlUtils
Writes a formatted String representation of the given XML node, including the XML declaration, to the given output stream.
write(Node, OutputStream, int, boolean) - Static method in class de.javagl.common.xml.XmlUtils
Writes a formatted String representation of the given XML node, including the XML declaration, to the given output stream.
writeFullBeanXml(Object, OutputStream) - Static method in class de.javagl.common.beans.XmlBeanUtil
Write the XML describing the given bean to the given output stream, as it is done by an XMLEncoder, but including all properties, even if they still have their default values.

X

XmlBeanUtil - Class in de.javagl.common.beans
Utility methods related to XML handling of Java Beans
XmlEncoders - Class in de.javagl.common.beans
Methods to create special XML Encoder instances
XmlException - Exception in de.javagl.common.xml
A RuntimeException that indicates an error during XML processing
XmlException(String) - Constructor for exception de.javagl.common.xml.XmlException
Creates a new XmlException with the given message
XmlException(String, Throwable) - Constructor for exception de.javagl.common.xml.XmlException
Creates a new XmlException with the given message and cause
XmlUtils - Class in de.javagl.common.xml
Utility methods related to XML handling
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2020. All rights reserved.