Package net.sf.colossus.client
Class CreatureInfoList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<CreatureInfo>
-
- 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
Fields Modifier and Type Field Description private static java.util.logging.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description CreatureInfoList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatureInfoListclone()Deep copy(package private) java.util.List<java.lang.String>getCreatureNames()(package private) java.util.List<CreatureType>getCreatureTypes()(package private) voidremoveLastUncertainCreature()-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
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:
clonein classjava.util.ArrayList<CreatureInfo>
-
-