public long size(Transaction transaction)
                    throws ObjectManagerException
    {
        long size = 0;
        for (Iterator iterator = iterator(); iterator.hasNext(transaction); iterator.next(transaction)) {
            size++;
            if (size == Long.MAX_VALUE)
                break;
        } // for...
        return size;
    }
public long size ( Transaction transaction ) throws ObjectManagerException { long size = 0 ; for ( Iterator iterator = iterator ( ) ; iterator . hasNext ( transaction ) ; iterator . next ( transaction ) ) { size ++ ; if ( size == Long . MAX_VALUE ) break ; } return size ; }
/*
(non-Javadoc)

@see com.ibm.ws.objectManager.Collection#size(com.ibm.ws.objectManager.Transaction)