Package org.djutils.base
package org.djutils.base
The djutils.base package contains a number of very generic classes / interfaces such as the Identifiable interface, the
mutable primitive classes, and the NumberParser that allows for lenient parsing.
Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
ClassDescriptionAngleUtil has some base methods to deal with angles, such as normalization between -PI and PI, and between 0 and 2*PI.Interface for all classes with a getDescription() method in addition to a getId() method.Interface for all identifiable objects.A simple version of a mutable boolean with get() and set(boolean) functions.A simple version of a mutable byte with get() and set(byte) functions.A simple version of a mutable double with get() and set(double) functions.A simple version of a mutable float with get() and set(float) functions.A simple version of a mutable integer with get() and set(int) functions.A simple version of a mutable long with get() and set(long) functions.A simple version of a mutable short with get() and set(short) functions.NumberParser is a class that can parse a number in a strict or lenient way, and dependent on locale.