@Override public int hashCode(){
  return isPresent ? Integer.hashCode(value) : 0;
}

@ Override public int hashCode ( ) { return isPresent ? Integer . hashCode ( value ) : 0 ; }
returns the hash code value of the present value , if any , or 0 ( zero ) if no value is present .
