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

public abstract class Primitive<T extends Primitive<T>> extends Object implements Atomic<T>
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 Details

    • Primitive

      public Primitive()
  • Method Details