@GuardedBy("evictionLock") boolean hasOverflowed(){
  return weightedSize.get() > capacity.get();
}

@ GuardedBy ( "evictionLock" ) boolean hasOverflowed ( ) { return weightedSize . get ( ) > capacity . get ( ) ; }
determines whether the map has exceeded its capacity .
