public synchronized Entry firstValue(){
  if (array.isEmpty())   return null;
 else {
    return array.get(0);
  }
}

public synchronized Entry firstValue ( ) { if ( array . isEmpty ( ) ) return null ; else { return array . get ( 0 ) ; } }
first value entry is returned . iteration is organized in this manner : iteration is organized in this manner : for ( concurrentarrayhashmap < k , v > . entry e = targets . firstvalue ( ) ; e ! = null ; e = targets . nextvalue ( e ) ) { v element = e . getvalue ( ) ;
