SHARE
TWEET

Untitled

a guest Jun 26th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.ArrayList<Double>
  2.  
  3. class MySafeList extends ArrayList<Double>{
  4.  
  5.     ArrayList<Double> mySafeList;
  6.  
  7.     public void add(Double d){
  8.         mySafeList.add(d);
  9.     }
  10.  
  11.     public int size(){
  12.         return mySafeList.size();
  13.     }
  14.  
  15.     public double get(int i){
  16.         mySafeList.get(i);
  17.     }
  18. }
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