Exemplo n.º 1
0
 /**
  * This is a weird idea - take the object in question, decide what is possible for it, and then
  * return whether or not it matches its own possibility list.
  */
 @Override
 public boolean matchUnscoped(SchemeObject toTry) {
   for (SchemeObject p : getPossible(toTry)) {
     if (p.getString().equals(toTry.getString())) {
       return true;
     }
   }
   return false;
 }