final boolean close(){
  return !closed.getAndSet(true);
}

final boolean close ( ) { return ! closed . getAndSet ( true ) ; }
logically closes this invocation handler . returns true only once when the handler state transitions from open to close .
