All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tadt.standard.Granularity

java.lang.Object
   |
   +----tadt.standard.Granularity

public class Granularity
extends Object
The Granularity class is currently a dummy class.


Constructor Index

 o Granularity(String)
Construct a Granularity.

Method Index

 o cast(Anchorable)
Cast to a different granularity.
 o cast(Unanchorable)
Cast to a different granularity.
 o equals(Granularity)
Test for equality, needed only for supporting Hashtables, use equalTo for comparing Instants directly.
 o hashCode()
Generate the hash code value, needed for supporting Hashtables.
 o image()
Build a nice string image of a Granularity, for debugging mostly
 o scale(Anchorable)
Scale to a different granularity.
 o scale(Unanchorable)
Scale to a different granularity.

Constructors

 o Granularity
  public Granularity(String name)
Construct a Granularity.

Methods

 o image
  public String image()
Build a nice string image of a Granularity, for debugging mostly

Returns:
String image of Granularity
 o hashCode
  public int hashCode()
Generate the hash code value, needed for supporting Hashtables.

Returns:
int
Overrides:
hashCode in class Object
 o equals
  public boolean equals(Granularity other)
Test for equality, needed only for supporting Hashtables, use equalTo for comparing Instants directly.

Parameters:
beta - - Instant to compare
Returns:
true or false
 o scale
  public Unanchorable scale(Unanchorable a)
Scale to a different granularity. Not implemented.

Returns:
currently just returns a
 o cast
  public Unanchorable cast(Unanchorable a)
Cast to a different granularity. Not implemented.

Returns:
currently just returns a
 o scale
  public Anchorable scale(Anchorable a)
Scale to a different granularity. Not implemented.

Returns:
currently just returns a
 o cast
  public Anchorable cast(Anchorable a)
Cast to a different granularity. Not implemented.

Returns:
currently just returns a

All Packages  Class Hierarchy  This Package  Previous  Next  Index