kawa.lang
Class AnyPat
- Externalizable, Printable
A pattern that matches anything.
make
public static AnyPat make()
match
public boolean match(Object obj,
Object[] vars,
int start_vars)
Match this Pattern against an Object.
- match in interface Pattern
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
- true iff the match succeeded.
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException