sdr 0.7

net.cscott.sdr.calls
Class SelectorList

java.lang.Object
  extended by net.cscott.sdr.calls.SelectorList

public class SelectorList
extends Object

List of useful Selectors.


Field Summary
static ExprFunc<Selector> AND
          Selector combiner: select dancers who match all of the selector arguments.
static ExprFunc<Selector> FORMATION
          Complex selector: do a formation match and select tagged dancers from the match -- but don't change the dance state.
static ExprFunc<Selector> MATCH
          Select dancers matched on a regex match against a dancer pattern.
static ExprFunc<Selector> NONE
          Selector which matches no dancers.
static ExprFunc<Selector> NOT
          Selector combiner: select dancers who don't match the selector argument.
static ExprFunc<Selector> OR
          Selector combiner: select dancers who match any of the selector arguments.
static ExprFunc<Selector> OTHERS
          Human-friendly synonym for ALL.
 
Method Summary
static ExprFunc<Selector> valueOf(String s)
          Return the Selector function with the given (case-insensitive) name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static ExprFunc<Selector> NONE
Selector which matches no dancers.


OTHERS

public static ExprFunc<Selector> OTHERS
Human-friendly synonym for ALL.


NOT

public static ExprFunc<Selector> NOT
Selector combiner: select dancers who don't match the selector argument.


AND

public static ExprFunc<Selector> AND
Selector combiner: select dancers who match all of the selector arguments.


OR

public static ExprFunc<Selector> OR
Selector combiner: select dancers who match any of the selector arguments.


MATCH

public static ExprFunc<Selector> MATCH
Select dancers matched on a regex match against a dancer pattern.

See Also:
ExprList._FACING_PATTERN, ExprList._ROLL_PATTERN, ExprList._INOUT_PATTERN

FORMATION

public static ExprFunc<Selector> FORMATION
Complex selector: do a formation match and select tagged dancers from the match -- but don't change the dance state. Most useful for 'ends in' conditions, which don't have a TaggedFormation handy.

Method Detail

valueOf

public static ExprFunc<Selector> valueOf(String s)
Return the Selector function with the given (case-insensitive) name.

Throws:
IllegalArgumentException - if no selector with the given name is found.

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian