private Object lookup(Key<?> key) {
  for (int i = 0; i < keyValueEntries.length; i++) {
    if (key.equals(keyValueEntries[i][0])) { // here use an equals method?
      return keyValueEntries[i][1];
    }
  }
  if (parent == null) {
    return null;
  }
  return parent.lookup(key);
}



-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/de0cd925-a7d8-4ad2-9053-e45513c80ea1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to