result.add(entry.getValue());
Entry entry = (Entry)delegateGet(i); if (validator.isValid(entry.getEStructuralFeature())) { result.add(entry); } } } else { for (int i = 0, size = delegateSize(); i < size; ++i) { Entry entry = (Entry)delegateGet(i); if (validator.isValid(entry.getEStructuralFeature())) { result.add(entry.getValue()); }
  public Object[] toArray(EStructuralFeature feature)  {    List result = new BasicEList();    FeatureMapUtil.Validator validator = FeatureMapUtil.getValidator(owner.eClass(), feature);    for (int i = 0, size = delegateSize(); i < size; ++i)    {      Entry entry = (Entry)delegateGet(i);      if (validator.isValid(entry.getEStructuralFeature()))      {        result.add(entry.getValue());      }    }    return result.toArray();  }