public class EntityMatchList extends ArrayList<EntityMatch>
EntityMatch
modCount
Constructor and Description |
---|
EntityMatchList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(EntityMatch e) |
int |
entityIndex(int e) |
void |
normalizeScores()
Normalizes the scores of the entity match, such that at the end of the
method the sum of all the scores equals to 1
|
EntityMatchList |
removeOverlappings()
Removes the entities whose spots overlaps, if some entity spots overlaps,
only the entity with the greatest score is keep while the others are
removed from the list.
|
void |
sort() |
String |
toEntityString() |
String |
toString() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public boolean add(EntityMatch e)
add
in interface Collection<EntityMatch>
add
in interface List<EntityMatch>
add
in class ArrayList<EntityMatch>
public void sort()
public int entityIndex(int e)
public void normalizeScores()
public String toString()
toString
in class AbstractCollection<EntityMatch>
public String toEntityString()
public EntityMatchList removeOverlappings()
Copyright © 2013. All rights reserved.