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

A

apply(A, B, C) - Method in interface org.danilopianini.lang.TriFunction
Applies this function to the given arguments.

B

bestConstructor(Class<T>, Class<?>[]) - Static method in class org.danilopianini.lang.ReflectionUtils
Searches the best method in a class, given its name and arguments.
bestExecutable(T[], Class<?>[]) - Static method in class org.danilopianini.lang.ReflectionUtils
 
bestMethod(Class<?>, String, Class<?>[]) - Static method in class org.danilopianini.lang.ReflectionUtils
Searches the best method in a class, given its name and arguments.
bounds - Variable in class org.danilopianini.lang.FlexibleQuadTree
 

C

castIfNeeded(Class<?>, Number) - Static method in class org.danilopianini.lang.PrimitiveUtils
 
centerX() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
centerY() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
Child() - Constructor for enum org.danilopianini.lang.FlexibleQuadTree.Child
 
children - Variable in class org.danilopianini.lang.FlexibleQuadTree
 
childrenCreated - Variable in class org.danilopianini.lang.FlexibleQuadTree
 
classIsNumber(Class<?>) - Static method in class org.danilopianini.lang.PrimitiveUtils
 
classIsPrimitive(Class<?>) - Static method in class org.danilopianini.lang.PrimitiveUtils
 
classIsWrapper(Class<?>) - Static method in class org.danilopianini.lang.PrimitiveUtils
 
CollectionUtils - Class in org.danilopianini.lang
 
CollectionUtils() - Constructor for class org.danilopianini.lang.CollectionUtils
 
contains(double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
contains(double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
create(double, double, double, double, FlexibleQuadTree<E>) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
createChildIfAbsent(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
createParent(double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 

D

DEFAULT_CAPACITY - Static variable in class org.danilopianini.lang.FlexibleQuadTree
Default maximum number of entries per node.

E

element - Variable in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
elements - Variable in class org.danilopianini.lang.FlexibleQuadTree
 
equals(Object) - Method in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 

F

flatten(E, Function<? super E, ? extends Stream<? extends E>>) - Static method in class org.danilopianini.lang.StreamUtils
Flattens a recursive, non circular data structure into a Stream.
FlexibleQuadTree<E> - Class in org.danilopianini.lang
 
FlexibleQuadTree() - Constructor for class org.danilopianini.lang.FlexibleQuadTree
Builds a FlexibleQuadTree with the default node capacity.
FlexibleQuadTree(double, double, double, double, int, FlexibleQuadTree<E>, FlexibleQuadTree<E>) - Constructor for class org.danilopianini.lang.FlexibleQuadTree
 
FlexibleQuadTree(int) - Constructor for class org.danilopianini.lang.FlexibleQuadTree
 
FlexibleQuadTree.Child - Enum in org.danilopianini.lang
 
FlexibleQuadTree.QuadTreeEntry<E> - Class in org.danilopianini.lang
 
FlexibleQuadTree.Rectangle2D - Class in org.danilopianini.lang
 
forEach(List<E>, BiConsumer<? super Integer, ? super E>) - Static method in class org.danilopianini.lang.CollectionUtils
Facility for executing lambdas requiring access to the index.

G

getCenterX() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
getCenterY() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
getChild(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
getDimensions() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
getDimensions() - Method in interface org.danilopianini.lang.SpatialIndex
 
getMaxElementsNumber() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
getMaxX() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
getMaxY() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
getMinX() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
getMinY() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 

H

hasChildren() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
hashCode() - Method in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
hasSpace() - Method in class org.danilopianini.lang.FlexibleQuadTree
 

I

insert(E, double...) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
insert(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
Same of FlexibleQuadTree.insert(Object, double...), but with explicit parameters.
insert(E, double...) - Method in interface org.danilopianini.lang.SpatialIndex
Inserts an element in the SpatialIndex.
insertHere(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
insertNode(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
intersects(double, double, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
invokeMethod(Method, Object, Object[]) - Static method in class org.danilopianini.lang.ReflectionUtils
This method tries to invoke the passed method.
isIn(double, double, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 

M

map(List<E>, BiFunction<? super Integer, ? super E, ? extends R>) - Static method in class org.danilopianini.lang.CollectionUtils
Facility for executing lambdas requiring access to the index.
maxElements - Variable in class org.danilopianini.lang.FlexibleQuadTree
 
maxX() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
maxX(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
maxx - Variable in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
maxY() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
maxY(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
maxy - Variable in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
minX() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
minX(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
minx - Variable in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
minY() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
minY(FlexibleQuadTree.Child) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
miny - Variable in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
move(E, double[], double[]) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
move(E, double, double, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
Same of FlexibleQuadTree.move(Object, double[], double[]), but with explicit parameters.
move(E, double[], double[]) - Method in interface org.danilopianini.lang.SpatialIndex
If an element is moved, updates the SpatialIndex accordingly.
moveFromNode(FlexibleQuadTree<E>, E, double, double, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 

N

NUMBER_CASTER - Static variable in class org.danilopianini.lang.PrimitiveUtils
 

O

optimalSizeMap(int) - Static method in class org.danilopianini.lang.CollectionUtils
Computes the size of a map (with 0.75 as load factor) such as the map does not need to resize itself if n elements are added.
optimalSizeMap(Collection<?>) - Static method in class org.danilopianini.lang.CollectionUtils
Computes the size of a map (with 0.75 as load factor) such as the map does not need to resize itself if all the elements of c are passed.
org.danilopianini.lang - package org.danilopianini.lang
 

P

parent - Variable in class org.danilopianini.lang.FlexibleQuadTree
 
PRIMITIVE_LIST - Static variable in class org.danilopianini.lang.PrimitiveUtils
 
PRIMITIVE_NUMBER_LIST - Static variable in class org.danilopianini.lang.PrimitiveUtils
 
PrimitiveUtils - Class in org.danilopianini.lang
 
PrimitiveUtils() - Constructor for class org.danilopianini.lang.PrimitiveUtils
 

Q

QuadTreeEntry(E, double, double) - Constructor for class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
query(double[]...) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
query(double, double, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
Same of #query(double...), but with explicit parameters.
query(double, double, double, double, List<E>) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
query(double[]...) - Method in interface org.danilopianini.lang.SpatialIndex
Queries the SpatialIndex, searching for elements in a parallelotope.

R

Rectangle2D(double, double, double, double) - Constructor for class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
ReflectionUtils - Class in org.danilopianini.lang
Utilities that ease the use of Java Reflection.
ReflectionUtils() - Constructor for class org.danilopianini.lang.ReflectionUtils
 
remove(E, double...) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
remove(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
Same of FlexibleQuadTree.remove(Object, double...) with explicit parameters.
remove(E, double...) - Method in interface org.danilopianini.lang.SpatialIndex
Deletes an element from the SpatialIndex.
removeHere(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
removeInChildren(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
root - Variable in class org.danilopianini.lang.FlexibleQuadTree
root is NOT consistent everywhere.

S

samePosition(FlexibleQuadTree.QuadTreeEntry<?>) - Method in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
selectChild(double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
serialVersionUID - Static variable in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
serialVersionUID - Static variable in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
serialVersionUID - Static variable in class org.danilopianini.lang.FlexibleQuadTree
 
setChild(FlexibleQuadTree.Child, FlexibleQuadTree<E>) - Method in class org.danilopianini.lang.FlexibleQuadTree
 
SpatialIndex<E> - Interface in org.danilopianini.lang
 
StreamUtils - Class in org.danilopianini.lang
Complementary utilities for the Java 8 Stream library.
StreamUtils() - Constructor for class org.danilopianini.lang.StreamUtils
 
subdivide() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
swapMostStatic(E, double, double) - Method in class org.danilopianini.lang.FlexibleQuadTree
 

T

toPrimitiveWrapper(Number) - Static method in class org.danilopianini.lang.PrimitiveUtils
Given a Number, tries to guess at which wrapper-class it may belong.
toString() - Method in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
toString() - Method in class org.danilopianini.lang.FlexibleQuadTree.Rectangle2D
 
toString() - Method in class org.danilopianini.lang.FlexibleQuadTree
 
TriFunction<A,B,C,R> - Interface in org.danilopianini.lang
Represents a function that accepts three arguments and produces a result.

V

valueOf(String) - Static method in enum org.danilopianini.lang.FlexibleQuadTree.Child
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.danilopianini.lang.FlexibleQuadTree.Child
Returns an array containing the constants of this enum type, in the order they are declared.

W

WRAPPER_LIST - Static variable in class org.danilopianini.lang.PrimitiveUtils
 
WRAPPER_NUMBER_LIST - Static variable in class org.danilopianini.lang.PrimitiveUtils
 

X

x - Variable in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 

Y

y - Variable in class org.danilopianini.lang.FlexibleQuadTree.QuadTreeEntry
 
A B C D E F G H I M N O P Q R S T V W X Y 
Skip navigation links