All Packages Class Hierarchy This Package Previous Next Index
Interface tadt.standard.Anchorable
- public interface Anchorable
The Anchorable interface provides a set of basic operations available on
Anchorable values such as instants and periods.
-
asInstantArray()
- Retrieve the Instants from this AnchorablePoint.
-
asPeriodArray()
- Retrieve the Periods from this AnchorableSegment.
-
earliestInstant()
- Returns the earliest Instant in the AnchorablePoint.
-
earliestPeriod()
- Returns the earliest Period in the AnchorableSegment.
-
enumerateInstants()
- Create an Enumeration of Instants on the Anchorable.
-
enumeratePeriods()
- Create an Enumeration of Periods on the Anchorable.
-
equals(Anchorable)
-
Test for equality, needed only for supporting Hashtables, use
equalTo for comparing Anchorables directly.
-
hashCode()
-
Generate the hash code value, needed for supporting Hashtables.
-
image()
-
Build a nice string image of an Anchorable, for debugging mostly.
-
kind()
- What kind of Anchorable is this?
-
latestInstant()
- Returns the latest AnchorablePoint in the AnchorablePoint.
-
latestPeriod()
- Returns the latest Period in the AnchorableSegment.
-
newInstance(String, Instant[])
- Construct a new instance of this Anchorable, Unanchorable combination.
-
newInstance(String, Period[])
- Construct a new instance of this Anchorable, Unanchorable combination.
image
public abstract String image()
- Build a nice string image of an Anchorable, for debugging mostly.
- Returns:
- String image
hashCode
public abstract int hashCode()
- Generate the hash code value, needed for supporting Hashtables.
- Returns:
- hash code value
- Overrides:
- hashCode in class Object
equals
public abstract boolean equals(Anchorable beta)
- Test for equality, needed only for supporting Hashtables, use
equalTo for comparing Anchorables directly.
- Returns:
- true or false
enumerateInstants
public abstract Enumeration enumerateInstants()
- Create an Enumeration of Instants on the Anchorable.
enumeratePeriods
public abstract Enumeration enumeratePeriods()
- Create an Enumeration of Periods on the Anchorable.
kind
public abstract String kind()
- What kind of Anchorable is this?
- Returns:
- - String as name of Anchorable, OK this is cheesy...
earliestInstant
public abstract Instant earliestInstant()
- Returns the earliest Instant in the AnchorablePoint.
- Returns:
- Instant - the earliest Instant in the AnchorablePoint
latestInstant
public abstract Instant latestInstant()
- Returns the latest AnchorablePoint in the AnchorablePoint.
- Returns:
- Instant - the latest Instant in the AnchorablePoint
asInstantArray
public abstract Instant[] asInstantArray()
- Retrieve the Instants from this AnchorablePoint.
- Returns:
- - array of all the Instants in the AnchorablePoint
newInstance
public abstract Anchorable newInstance(String beta,
Instant i[])
- Construct a new instance of this Anchorable, Unanchorable combination.
- Returns:
- - possible a new Anchorable
earliestPeriod
public abstract Period earliestPeriod()
- Returns the earliest Period in the AnchorableSegment.
- Returns:
- Period - the earliest Period
latestPeriod
public abstract Period latestPeriod()
- Returns the latest Period in the AnchorableSegment.
- Returns:
- Period - the latest Period
asPeriodArray
public abstract Period[] asPeriodArray()
- Retrieve the Periods from this AnchorableSegment.
- Returns:
- - array of all the Periods in the AnchorableSegment
newInstance
public abstract Anchorable newInstance(String beta,
Period i[])
- Construct a new instance of this Anchorable, Unanchorable combination.
- Returns:
- - possible a new Anchorable
All Packages Class Hierarchy This Package Previous Next Index