|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.sdr.calls.Tagger
public abstract class Tagger
Helper class to add common TaggedFormation.Tag
s automatically to
TaggedFormation
s.
Method Summary | |
---|---|
static void |
addAutomatic(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
static void |
addFrom(TaggedFormation template,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Find all instance of the tagged template formation in the given
given formation f , and add the tags from the template to the
set of tags on f given in tags . |
static Matcher |
autotag2(Matcher s)
Return a new matcher which adds 1x2 tags (BEAU/BELLE/LEADER/TRAILER) to the generic formation matched by the given Matcher . |
static Matcher |
autotag4(Matcher s)
Return a new matcher which adds 1x2 and 1x4 tags (BEAU/BELLE/LEADER/TRAILER/NUMBER 1/2/3/4/CENTER/END) to the generic formation matched by the given Matcher . |
static void |
tag2(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Discover 1x2 tags (BEAU/BELLE/LEADER/TRAILER) in the given formation. |
static void |
tag4(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Discover 1x4 tags (NUMBER_1/2/3/4, CENTER/END) in the given formation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addAutomatic(Formation f, MultiMap<Dancer,TaggedFormation.Tag> tags)
public static void addFrom(TaggedFormation template, Formation f, MultiMap<Dancer,TaggedFormation.Tag> tags)
template
formation in the given
given formation f
, and add the tags from the template to the
set of tags on f
given in tags
.
public static Matcher autotag2(Matcher s)
Matcher
.
public static Matcher autotag4(Matcher s)
Matcher
.
public static void tag2(Formation f, MultiMap<Dancer,TaggedFormation.Tag> tags)
public static void tag4(Formation f, MultiMap<Dancer,TaggedFormation.Tag> tags)
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |