Package org.jgrapht.util
Non-graph-specific data structures, algorithms, and utilities used by JGraphT.
-
Interface Summary Interface Description DoublyLinkedList.ListNode<V> Container for the elements stored in aDoublyLinkedList
.DoublyLinkedList.ListNodeIterator<E> DoublyLinkedList.NodeIterator<E> PrefetchIterator.NextElementFunctor<EE> A functor for the calculation of the next element.WeightCombiner Binary operator for edge weights. -
Class Summary Class Description ArrayUnenforcedSet<E> Helper for efficiently representing small sets whose elements are known to be unique by construction, implying we don't need to enforce the uniqueness property in the data structure itself.CollectionUtil Utility class to createCollection
instances.DoublyLinkedList<E> MathUtil Math Utilities.ModifiableInteger TheModifiableInteger
class wraps a value of the primitive typeint
in an object, similarly toInteger
.PrefetchIterator<E> Utility class to help implement an iterator/enumerator in which the hasNext() method needs to calculate the next elements ahead of time.RadixSort Sorts the specified list of integers into ascending order using the Radix Sort method.SupplierUtil Helper class for suppliers.TypeUtil TypeUtil isolates type-unsafety so that code which uses it for legitimate reasons can stay warning-free.UnmodifiableUnionSet<E> An unmodifiable live view of the union of two sets.VertexToIntegerMapping<V> Helper class for building a one-to-one mapping for a collection of vertices to the integer range $[0, n)$ where $n$ is the number of vertices in the collection.WeightedUnmodifiableSet<E> Implementation of a weighted, unmodifiable set.