| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectkawa.lang.Patternkawa.lang.PairPatField Summary |
Fields inherited from class kawa.lang.Pattern | |
matchPatternMethod, typePattern | |
Method Summary | |
static PairPat | |
boolean |
|
void | |
void |
|
int |
|
void |
|
public boolean match(Object obj,
Object[] vars,
int start_vars)Match this Pattern against an Object.
- Parameters:
obj- the Object to match againstvars- the "pattern variable" values extracted from obj go herestart_vars- where in vars to strt putting the varCount() values
- Returns:
- true iff the match succeeded.
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundExceptionpublic void writeExternal(ObjectOutput out)
throws IOException