Package util
package util
-
ClassDescriptionAn util class containing a lot of useful methods to do maths and physics calculations.OrderPreservingList<T extends Comparable<T>>A LinkedList override to create an order-preserving list to improve speed in a special use case:
You want to remove and add object from/to a list and keep the elements in the list sorted without having to re-sort each time.Pair<L,R> APair
is a tupel of two different values with potentially two different types.Represents the position in X and Y coordinates, rotation and the scale (width and height)Triple<L,M, R> ATriple
is a tupel of three different values with potentially three different types.