Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 21st, 2013  |  syntax: Java  |  size: 0.17 KB  |  views: 2,527  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. private boolean isSame(boolean a, boolean b) {
  2.    if (a && b) {
  3.       return true;
  4.    } else if (!a && !b) {
  5.       return true;
  6.    } else {
  7.       return false;
  8.    }
  9. }