Skip navigation links
A B C D E F G H I M 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
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.
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
 
applyAsDouble(double) - Method in class de.javagl.common.functional.DoubleUnaryOperatorAdapter
 

B

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.
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
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
constant(RR) - Static method in class de.javagl.common.functional.BiFunctions
Creates a BiFunction that always returns the given value.
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.
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.

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.xml - package de.javagl.common.xml
 
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 values
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.
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.
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.
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
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.
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

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.
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.
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.
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.

M

Maps - Class in de.javagl.common.collections
Utility methods related to maps

O

of(SS, TT) - Static method in class de.javagl.common.Tuple2
Creates a new 2-tuple consisting of the given elements

P

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

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.
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

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

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
ToDoubleBiFunctions - Class in de.javagl.common.functional
Utility methods for creating ToDoubleBiFunction instances.
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
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
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
Tuple2<S,T> - Class in de.javagl.common
A generic implementation of an immutable 2-tuple

U

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

V

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
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 M O P R S T U V W X 
Skip navigation links

Copyright © 2015. All rights reserved.