frysk.expr
Interface FQIdentPattern


public interface FQIdentPattern


Field Summary
static int CARD_ALL
          Pattern will always match everything.
static int CARD_MANY
          Pattern may match more than one string.
static int CARD_NONE
          Pattern will never match anything.
static int CARD_ONE
          Pattern will match at most one string.
 
Method Summary
 int cardinality()
          Cardinality of this pattern.
 boolean matches(String str)
          Whether given string matches this pattern.
 

Field Detail

CARD_NONE

static final int CARD_NONE
Pattern will never match anything.

See Also:
Constant Field Values

CARD_ONE

static final int CARD_ONE
Pattern will match at most one string.

See Also:
Constant Field Values

CARD_MANY

static final int CARD_MANY
Pattern may match more than one string.

See Also:
Constant Field Values

CARD_ALL

static final int CARD_ALL
Pattern will always match everything.

See Also:
Constant Field Values
Method Detail

cardinality

int cardinality()
Cardinality of this pattern. See various CARD_ constants for possible values.


matches

boolean matches(String str)
Whether given string matches this pattern. STR can be a symbol name, soname, etc.