public final void clear() {
    for (int i = 0; i < _table.length; i++) {
      _table[i] = null;
    }
    _size = 0;

    if (_readOnlyMap != null) {
      _index = _readOnlyMap.getIndex();
    } else {
      _index = 0;
    }
  }
 public final void setReadOnlyMap(LocalNameQualifiedNamesMap readOnlyMap, boolean clear) {
   _readOnlyMap = readOnlyMap;
   if (_readOnlyMap != null) {
     _readOnlyMapSize = _readOnlyMap.size();
     _index = _readOnlyMap.getIndex();
     if (clear) {
       clear();
     }
   } else {
     _readOnlyMapSize = 0;
     _index = 0;
   }
 }
 public final boolean isQNameFromReadOnlyMap(QualifiedName name) {
   return (_readOnlyMap != null && name.index <= _readOnlyMap.getIndex());
 }