int i = getIndexOfType(aspectType); if (i >= 0) { _lasttype = aspectType; _lastindex = i; return true;
synchronized (avResults) { int i = getIndexOfType(aspectType); if (i >= 0) { _lasttype = aspectType; _lastindex = i; return true; }
  public boolean isDefined(int aspectType) {    int i = getIndexOfType(aspectType);    if (i >= 0) {      _lasttype = aspectType;      _lastindex = i; // memoize lookup      return true;    }    return false;  }