inpro.annotation
Class Tier
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Label>
inpro.annotation.Tier
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Label>, java.util.Collection<Label>, java.util.List<Label>, java.util.RandomAccess
public class Tier
- extends java.util.ArrayList<Label>
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
name
|
private static java.util.List<java.util.regex.Pattern> |
tgPatterns
|
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary |
private |
Tier(java.lang.String name,
java.util.List<Label> labels)
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
name
protected java.lang.String name
tgPatterns
private static java.util.List<java.util.regex.Pattern> tgPatterns
Tier
private Tier(java.lang.String name,
java.util.List<Label> labels)
newFromTextGridLines
static Tier newFromTextGridLines(java.util.List<java.lang.String> lines)
throws java.io.IOException
- Throws:
java.io.IOException
newEmptyTier
static Tier newEmptyTier()
getSpan
public Tier getSpan(double start,
double end)
getSpan
public Tier getSpan(Label l)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.AbstractCollection<Label>
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException