public boolean hasMoreElements()
    {
        try {
            return hasMoreElementsR();
        } catch (NoMoreElementsException e) {
            // FFDCFilter.processException(e, CLASS_NAME + ".hasMoreElements", "131", this);
            return false;
        } catch (EnumeratorException e) {
            // FFDCFilter.processException(e, CLASS_NAME + ".hasMoreElements", "134", this);
            throw new RuntimeException(e.toString());
        } catch (NoSuchObjectException e) {
            // FFDCFilter.processException(e, CLASS_NAME + ".hasMoreElements", "137", this);
            throw new IllegalStateException("Cannot access finder result outside transaction");
        } catch (RemoteException e) {
            // FFDCFilter.processException(e, CLASS_NAME + ".hasMoreElements", "140", this);
            throw new RuntimeException(e.toString());
        }
    }
public boolean hasMoreElements ( ) { try { return hasMoreElementsR ( ) ; } catch ( NoMoreElementsException e ) { return false ; } catch ( EnumeratorException e ) { throw new RuntimeException ( e . toString ( ) ) ; } catch ( NoSuchObjectException e ) { throw new IllegalStateException ( "Cannot access finder result outside transaction" ) ; } catch ( RemoteException e ) { throw new RuntimeException ( e . toString ( ) ) ; } }
Find out if there are any more elements available