story.scheherazade.misc
Class NounTypeSet

java.lang.Object
  extended by story.scheherazade.misc.NounTypeSet
All Implemented Interfaces:
ScheherIDSet

public class NounTypeSet
extends java.lang.Object
implements ScheherIDSet

A set of NounTypes


Constructor Summary
NounTypeSet(NounFlavor flavor)
           
 
Method Summary
 void add(NounType type)
           
 NounFlavor getFlavor()
           
 java.util.Iterator<NounType> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NounTypeSet

public NounTypeSet(NounFlavor flavor)
Method Detail

add

public void add(NounType type)
         throws Scheherexception
Throws:
Scheherexception

iterator

public java.util.Iterator<NounType> iterator()
Specified by:
iterator in interface ScheherIDSet

getFlavor

public NounFlavor getFlavor()

size

public int size()
Specified by:
size in interface ScheherIDSet


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