daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Feb 19th, 2018 50 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. if (!this.contains(o)) {
  2.             return false;
  3.         }
  4.  
  5.         int i = 0;
  6.         while(!o.equals(this.data[i])) {
  7.             i++;
  8.         }
  9.  
  10.         while(i < this.data.length) {
  11.             if (i == this.data.length-1) {
  12.                 this.data[i] = null;
  13.             } else {
  14.                 this.data[i] = this.data[i+1];
  15.             }
  16.             i++;
  17.         }
  18.  
  19.         this.size--;
  20.         return true;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top