public Object nextElemNoEx ( ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; // If the current bucket has been exhausted, try to find // another non-empty bucket. if ( ivElementIndex >= ivBucketSize ) { if ( ! findNextBucket ( ) ) { // No more non-empty buckets, no more elements return null ; } } // Return the next element from the current bucket. // Note that we do not have to worry about concurrent // access to the bucket, as this is actually a copy // of the bucket, and not the actual bucket in // the Cache being enumerated. if ( isTraceOn && tc . isDebugEnabled ( ) ) ivElementsReturned ++ ; return ivBucket [ ivElementIndex ++ ] ; }
d532639 . 2