code: public ConnectionCursor cursorForObjectInConnection(T object) {
          int index = data.indexOf(object);
          if (index == -1) {
              return null;
          }
          String cursor = createCursor(index);
          return new DefaultConnectionCursor(cursor);
      }
docs: find the object's cursor, or null if the object is not in this connection.
  
  @param object the object in play
  
  @return a connection cursor