Purple Code

com.purpletech.graph
Class UnitInterval

java.lang.Object
  |
  +--com.purpletech.graph.UnitInterval

public class UnitInterval
extends java.lang.Object

Returns an iterator of the natural intervals of this unit. For example, the natural intervals of an integer series are 1, 2, 5, 10, 20, 25, 50, 100, and so on. These natural intervals are used by a graph object to determine what the spacing for the graph axis are.

Version:
$Id: UnitInterval.java,v 1.2 2001/10/30 12:20:51 alex Exp $
Author:
Alex

Constructor Summary
UnitInterval()
           
UnitInterval(int zero, double[] intervals, double multiple)
           
 
Method Summary
 java.util.Iterator iterator()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitInterval

public UnitInterval()

UnitInterval

public UnitInterval(int zero,
                    double[] intervals,
                    double multiple)
Method Detail

iterator

public java.util.Iterator iterator()

main

public static void main(java.lang.String[] args)

Documentation generated March 5 2003