/** * {@inheritDoc} */ public Tuple<K, V> get() throws Exception { checkNotClosed( "get()" ); if ( ! valueAvailable ) { throw new InvalidCursorPositionException(); } return returnedTuple; }
public SearchResponse get() throws Exception { if ( !available() ) { throw new InvalidCursorPositionException(); } return response; }
public IndexEntry<K, E, ID> get() throws Exception { checkNotClosed( "get()" ); throw new InvalidCursorPositionException( I18n.err( I18n.ERR_703 ) ); }
public IndexEntry<K, E, ID> get() throws Exception { checkNotClosed( "()" ); if ( onSingleton ) { return singleton; } if ( beforeFirst ) { throw new InvalidCursorPositionException( I18n.err( I18n.ERR_705 ) ); } else { throw new InvalidCursorPositionException( I18n.err( I18n.ERR_706 ) ); } }
/** * {@inheritDoc} */ public E get() throws Exception { checkNotClosed( "()" ); if ( onSingleton ) { return singleton; } if ( beforeFirst ) { throw new InvalidCursorPositionException( I18n.err( I18n.ERR_02012 ) ); } else { throw new InvalidCursorPositionException( I18n.err( I18n.ERR_02013 ) ); } }
/** * {@inheritDoc} */ public E get() throws Exception { checkNotClosed( "get()" ); throw new InvalidCursorPositionException( I18n.err( I18n.ERR_02004 ) ); }
public Tuple<K, V> get() throws Exception { checkNotClosed( "get()" ); if ( inRangeOnValue() ) { return tuple.setBoth( key, values.get( pos ) ); } throw new InvalidCursorPositionException( I18n.err( I18n.ERR_701, pos, ( values.size() - 1 ) ) ); }