net.sf.colossus.client
Class CreatureInfoList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<CreatureInfo>
              extended by net.sf.colossus.client.CreatureInfoList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<CreatureInfo>, java.util.Collection<CreatureInfo>, java.util.List<CreatureInfo>, java.util.RandomAccess

 class CreatureInfoList
extends java.util.ArrayList<CreatureInfo>

A specialized list of creature info, for split prediction.

Author:
David Ripton

Field Summary
private static java.util.logging.Logger LOGGER
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
CreatureInfoList()
           
 
Method Summary
 CreatureInfoList clone()
          Deep copy
(package private)  java.util.List<java.lang.String> getCreatureNames()
           
(package private)  java.util.List<CreatureType> getCreatureTypes()
           
(package private)  void removeLastUncertainCreature()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Field Detail

LOGGER

private static final java.util.logging.Logger LOGGER
Constructor Detail

CreatureInfoList

CreatureInfoList()
Method Detail

removeLastUncertainCreature

void removeLastUncertainCreature()

getCreatureNames

java.util.List<java.lang.String> getCreatureNames()

getCreatureTypes

java.util.List<CreatureType> getCreatureTypes()

clone

public CreatureInfoList clone()
Deep copy

Overrides:
clone in class java.util.ArrayList<CreatureInfo>