473474475476477478479480481482
{ checkNotClosed( "get()" ); if ( !valueAvailable ) { throw new InvalidCursorPositionException(); } return returnedTuple; }
114115116117118119120121122123124
*/ public Entry get() throws Exception { if ( !searchCursor.available() ) { throw new InvalidCursorPositionException(); } do { if ( response instanceof SearchResultEntry )
322323324325326327328
if ( valueAvailable ) { return returnedTuple; } throw new InvalidCursorPositionException(); }
129130131132133134135
returnedTuple.setBoth( tuple.getKey(), tuple.getValue().getSingleton() ); return returnedTuple; } throw new InvalidCursorPositionException(); }
190191192193194195196
if ( position == Position.ON_NODE ) { return array.get( current ); } throw new InvalidCursorPositionException(); }
160161162163164165166
if ( position == Position.ON_NODE ) { return node.getKey(); } throw new InvalidCursorPositionException(); }
139140141142143144145
returnedTuple.setKey( node.key ); returnedTuple.setValue( node.value ); return returnedTuple; } throw new InvalidCursorPositionException(); }
213214215216217218219
142143144145146147148149150151
*/ public Response get() throws Exception { if ( !available() ) { throw new InvalidCursorPositionException(); } return response; }