Lines Matching refs:arrayList
23 //It doesnt work the same as a Java arrayList.. it's just a high level aproximation of it
28 private $arrayList = array();
41 $this->arrayList = $array;
45 //$this->arrayList[sizeof($this->arrayList)] = $item;
46 array_push($this->arrayList, $item);
50 if($position < count($this->arrayList) && $position >= 0)
53 $this->shift(count($this->arrayList)-1, $position);
62 return $this->arrayList;
66 if(isset($this->arrayList[$this->pointer]))
77 if($this->pointer <= count($this->arrayList)-1)
89 if(isset($this->arrayList[$this->pointer]))
91 //return $this->arrayList[($this->pointer++)-1] = $value;
93 return($this->arrayList[$this->pointer-1]);
106 if(array_key_exists($item, $this->arrayList)){
107 unset($this->arrayList[$item]);
122 return count($this->arrayList);
128 $this->pointer = count($this->arrayList) -1;