Boolean Swap Method


/ Published in: Java
Save to your folder(s)

Pretty cool overstatement...


Copy this code and paste it in your HTML
  1. protected boolean invertbool(boolean bool) {
  2. if (bool)
  3. return false;
  4. else
  5. return true;
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.