Package org.dyn4j
The Version
class can be used to retrieve the version of the library that is
currently running.
The Epsilon
class can be used to test near zero values (using an estimated
double precision value).
The library is designed to work with MKS (meters-kilograms-seconds) units. Many default settings
in a variety of classes are defined based on the MKS unit system. Use the UnitConversion
class to help convert from other units to MKS.
Many classes in the library implement the DataContainer
interface. This interface defines
a simple set of methods for store custom data along with the objects in the library.
The BinarySearchTree
class is a generic implementation of an optionally self-balanced
binary tree and a supporting class to the library. Use the BinarySearchTreeSearchCriteria
interface to perform custom searches on the tree.
The Reference
class is another supporting class. This class is typically used
to create a member variable which encapsulates a reference to another piece of data, a primitive for
example to provide mutability on a single reference.
- Since:
- 2.2.2
- Version:
- 4.0.0
- Author:
- William Bittle
-
Interface Summary Interface Description BinarySearchTreeSearchCriteria<E extends Comparable<E>> Represents criteria for performing a binary search on aBinarySearchTree
.Copyable<T extends Copyable<? extends T>> Simple interface to support deep copying of objects.DataContainer Represents an object that can store an arbitrary user data object.Ownable Represents an object that can be owned by a single owner. -
Class Summary Class Description BinarySearchTree<E extends Comparable<E>> Represents an (optionally balanced) Binary Search Tree.Epsilon Class containing an approximation of machine epsilon.Reference<T> A generic mutable wrapper for primitive types.UnitConversion Class used to convert units.Version The version of the engine.