org.jscience.util
Class Numbering

java.lang.Object
  extended by org.jscience.util.Numbering
All Implemented Interfaces:
java.lang.Comparable

public class Numbering
extends java.lang.Object
implements java.lang.Comparable

A class representing a number like the one found in law articles, or in software version numbers


Constructor Summary
Numbering(int[] value)
          Creates a new Numbering object.
 
Method Summary
 void addMinor()
          DOCUMENT ME!
 int compareTo(java.lang.Object o)
          DOCUMENT ME!
 boolean equals(Numbering value)
          DOCUMENT ME!
 Numbering getNext()
          DOCUMENT ME!
 int[] getValue()
          DOCUMENT ME!
 void removeMinor()
          DOCUMENT ME!
 java.lang.String valueOf()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Numbering

public Numbering(int[] value)
Creates a new Numbering object.

Parameters:
value - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getValue

public int[] getValue()
DOCUMENT ME!

Returns:
DOCUMENT ME!

valueOf

public java.lang.String valueOf()
DOCUMENT ME!

Returns:
DOCUMENT ME!

removeMinor

public void removeMinor()
DOCUMENT ME!


addMinor

public void addMinor()
DOCUMENT ME!


getNext

public Numbering getNext()
DOCUMENT ME!

Returns:
DOCUMENT ME!

equals

public boolean equals(Numbering value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!
Returns:
DOCUMENT ME!

compareTo

public int compareTo(java.lang.Object o)
DOCUMENT ME!

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.ClassCastException - DOCUMENT ME!