Class ListFeatures

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.List<java.lang.String>, java.util.RandomAccess

    public class ListFeatures
    extends java.util.ArrayList<java.lang.String>
    An extension of the ArrayList for use in the TabularTranslator.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      ListFeatures()
      Constructs a ListFeatures instance.
      ListFeatures​(int initialCapacity)
      Constructs a ListFeatures instance.
      ListFeatures​(java.util.Collection<? extends java.lang.String> c)
      Constructs a ListFeatures instance.
      ListFeatures​(java.util.List<java.lang.String> source)
      Constructs a ListFeatures instance from a source list.
    • Method Summary

      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, 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
      • 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.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • ListFeatures

        public ListFeatures()
        Constructs a ListFeatures instance.
        See Also:
        ArrayList()
      • ListFeatures

        public ListFeatures​(int initialCapacity)
        Constructs a ListFeatures instance.
        Parameters:
        initialCapacity - the initial capacity of the list
        Throws:
        java.lang.IllegalArgumentException - if the specified initial capacity is negative
        See Also:
        ArrayList(int)
      • ListFeatures

        public ListFeatures​(java.util.List<java.lang.String> source)
        Constructs a ListFeatures instance from a source list.
        Parameters:
        source - the source list
      • ListFeatures

        public ListFeatures​(java.util.Collection<? extends java.lang.String> c)
        Constructs a ListFeatures instance.
        Parameters:
        c - the collection whose elements are to be placed into this list
        Throws:
        java.lang.NullPointerException - if the specified collection is null
        See Also:
        ArrayList(Collection)