Package de.tilman_neumann.util
-
Interface Summary Interface Description Multiset<T> SortedMultiset<T extends java.lang.Comparable<T>> A multiset with a sort relation between elements.
The sorting of elements has the following consequences: - elements must be Comparable - SortedMaps are a bit slower than HashMaps - output of sorted multisets looks nicer than that of unsorted multisets Since elements are sorted, we can easily define a sorting on SortedMultisets, too: A sorted multiset is bigger than another one if it's biggest element is bigger than the largest element of the other multiset; or the 2.nd-biggest if the biggest elements are equal; or the 3.rd biggest, and so on. -
Class Summary Class Description ConfigUtil Global configuration tasks.Multiset_HashMapImpl<T> A set of unsorted elements with multiple occurences.Pair<U,V> A simple utility class combining two values of arbitrary types in one object.ReflectionUtil Static auxiliary methods for java objects meta data.SortedList<T> Sorted list.SortedMultiset_BottomUp<T extends java.lang.Comparable<T>> A sorted set of elements with multiple occurrences, sorted smallest elements first.SortedMultiset_TopDown<T extends java.lang.Comparable<T>> A sorted set of elements with multiple occurrences, sorted biggest elements first.StringUtil Timer A simple time recorder.TimeUtil Auxiliary class for formatting time strings. -
Enum Summary Enum Description SortOrder Sort orders.