@Override
 public boolean hasNext() {
   if (index < arrayListGenerics.getLength()) {
     return true;
   } else {
     return false;
   }
 }
 @Override
 public Object last() {
   index = arrayListGenerics.getLength() - 1;
   Object item = arrayListGenerics.get(index);
   return item;
 }
 @Override
 public Object first() {
   index = 0;
   Object item = arrayListGenerics.get(index);
   return item;
 }
 @Override
 public Object next() {
   Object item = arrayListGenerics.get(index);
   index++;
   return item;
 }