inpro.annotation
Class Tier

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Label>
              extended by 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)
           
 
Method Summary
 Tier getSpan(double start, double end)
           
 Tier getSpan(Label l)
           
static void main(java.lang.String[] args)
           
(package private) static Tier newEmptyTier()
           
(package private) static Tier newFromTextGridLines(java.util.List<java.lang.String> lines)
           
 java.lang.String toString()
           
 
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
 

Field Detail

name

protected java.lang.String name

tgPatterns

private static java.util.List<java.util.regex.Pattern> tgPatterns
Constructor Detail

Tier

private Tier(java.lang.String name,
             java.util.List<Label> labels)
Method Detail

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