public int indexOf(Object obj) {
    final List<Node> l;
    synchronized (this) {
      l = list;
    }
    return l.indexOf(obj);
  }
Returns the index of Object if present, else -1.
geode-core/src/main/java/org/apache/geode/internal/util/VersionedArrayList.java