Class LinkedListMod

java.lang.Object
  extended byLinkedListMod

public class LinkedListMod
extends java.lang.Object

BooleanMatrix Class

This class is a modification of the LinkedList class


Constructor Summary
LinkedListMod()
          Constructs a new LinkedListMod
 
Method Summary
 void addNext(java.lang.Object o)
          Adds an element after the element pointed and move the pointer to this element
 void clear()
          Removes all the elements of the list
 java.lang.Object getNext()
          Moves the pointer to the next element of the list and return this element
 void goToNext()
          Moves the pointer to the next element of the list
 void removeNext()
          Removes the element following the element pointed
 void reset()
          Sets the pointer at the begining of the list
 int size()
          Returns the size of the list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedListMod

public LinkedListMod()
Constructs a new LinkedListMod

Method Detail

reset

public void reset()
Sets the pointer at the begining of the list


getNext

public java.lang.Object getNext()
Moves the pointer to the next element of the list and return this element


goToNext

public void goToNext()
Moves the pointer to the next element of the list


addNext

public void addNext(java.lang.Object o)
Adds an element after the element pointed and move the pointer to this element


clear

public void clear()
Removes all the elements of the list


removeNext

public void removeNext()
Removes the element following the element pointed


size

public int size()
Returns the size of the list