Package craterdog.primitives
Class Primitive<T extends Primitive<T>>
java.lang.Object
craterdog.primitives.Primitive<T>
- Type Parameters:
T
- The concrete type of the primitive object.
- All Implemented Interfaces:
Atomic<T>
,Comparable<T>
- Direct Known Subclasses:
Angle
,BinaryString
,Probability
,Tag
,TextString
,VersionString
This abstract class provides implementations for the standard methods defined in the
Object
class that can be used by all immutable primitive objects. Since
primitives are immutable there is no need for support for the clone() method so it is
disabled.- Author:
- Derk Norton
-
Constructor Summary
Constructors -
Method Summary