edu.columbia.cs.coms4701.agent.environments.pente
Class PentePerceptOtherActions

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<PenteAction>
                  extended by edu.columbia.cs.coms4701.agent.environments.pente.PentePerceptRecentActions
All Implemented Interfaces:
AgentPercept, PentePercept, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<PenteAction>, java.util.Collection<PenteAction>, java.util.List<PenteAction>, java.util.Queue<PenteAction>

public class PentePerceptOtherActions
extends java.util.LinkedList<PenteAction>
implements PentePercept, java.util.List<PenteAction>

A percept containing an ordered list of the legal moves that have been performed by other players since this players' last move.

To iterate through the list of moves, you can use code like if (thisPercept instanceOf PentePerceptOtherActions) { for (PenteAction otherMove : (PentePerceptOtherActions) thisPercept) { } }

Version:
0.1

User: aaron Date: Sep 24, 2006 Time: 8:23:36 PM

Author:
aaron@cs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PentePerceptOtherActions()
           
 
Method Summary
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

PentePerceptOtherActions

public PentePerceptOtherActions()