public boolean checkModifiers(MouseEvent e){
  return (e.getModifiers() & modifiers) != 0;
}

public boolean checkModifiers ( MouseEvent e ) { return ( e . getModifiers ( ) & modifiers ) != 0 ; }
override to check equality with a mask
