public ConnectionCursor cursorForObjectInConnection ( T object ) { int index = data . indexOf ( object ) ; if ( index == - 1 ) { return null ; } String cursor = createCursor ( index ) ; return new DefaultConnectionCursor ( cursor ) ; }
find the object s cursor or null if the object is not in this connection .