|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsm.SMTag
sm.SMAndTag
A SMAndTag
is a tag corresponding to the set of shapes tagged by a tag t1 and a tag t2.
Constructor Summary | |
SMAndTag(SMTag t1,
SMTag t2)
Builds a SMAndTag tag corresponding to the set of shapes tagged by a tag t1 and a tag t2. |
Method Summary | |
java.util.Collection |
getCollection()
Returns a collection containing all the shapes tagged by this tag. |
boolean |
hasNext()
Tests if there is other shapes tagged by this tag. |
SMShape |
nextShape()
|
void |
reset()
Inits the tag's iterator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SMAndTag(SMTag t1, SMTag t2)
SMAndTag
tag corresponding to the set of shapes tagged by a tag t1 and a tag t2.
t1
- The first tag.t2
- The second tag.Method Detail |
public void reset()
SMTag
reset
in class SMTag
public boolean hasNext()
SMTag
hasNext
in interface java.util.Iterator
hasNext
in class SMTag
Iterator.hasNext()
public java.util.Collection getCollection()
getCollection
in class SMTag
public SMShape nextShape()
nextShape
in class SMTag
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |