story.scheherazade.elements
Class StateTimeSet

java.lang.Object
  extended by story.scheherazade.elements.StateTimeSet

public class StateTimeSet
extends java.lang.Object

A set of StateTimes.


Constructor Summary
StateTimeSet()
           
StateTimeSet(java.lang.String toParse)
           
 
Method Summary
 void add(StateTime time)
           
 boolean contains(StateTime time)
           
 StateTime getFirst()
           
 StateTime getLast()
           
 java.util.Iterator iterator()
           
 StateTimeSet makeCopy()
           
 void remove(StateTime time)
           
 java.lang.StringBuffer render()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateTimeSet

public StateTimeSet()

StateTimeSet

public StateTimeSet(java.lang.String toParse)
             throws Scheherexception
Throws:
Scheherexception
Method Detail

add

public void add(StateTime time)

render

public java.lang.StringBuffer render()

iterator

public java.util.Iterator iterator()

size

public int size()

contains

public boolean contains(StateTime time)

getFirst

public StateTime getFirst()
                   throws Scheherexception
Throws:
Scheherexception

getLast

public StateTime getLast()
                  throws Scheherexception
Throws:
Scheherexception

makeCopy

public StateTimeSet makeCopy()

remove

public void remove(StateTime time)
            throws Scheherexception
Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.