Class Iterator2List<T>

java.lang.Object
com.ibm.wala.util.collections.Iterator2Collection<T>
com.ibm.wala.util.collections.Iterator2List<T>
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>

@Deprecated(forRemoval=true, since="1.8.0") public class Iterator2List<T> extends Iterator2Collection<T> implements Serializable, List<T>
Deprecated, for removal: This API element is subject to removal in a future version.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Iterator2List(Iterator<? extends T> i, List<T> delegate)
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(int index, T element)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    addAll(int index, Collection<? extends T> c)
    Deprecated, for removal: This API element is subject to removal in a future version.
    get(int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
    protected Collection<T>
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Deprecated, for removal: This API element is subject to removal in a future version.
    listIterator(int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
    remove(int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
    set(int index, T element)
    Deprecated, for removal: This API element is subject to removal in a future version.
    subList(int fromIndex, int toIndex)
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from class Iterator2Collection

    add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toList, toSet, toString
    Modifier and Type
    Method
    Description
    boolean
    add(T arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    addAll(Collection<? extends T> arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    remove(Object arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Deprecated, for removal: This API element is subject to removal in a future version.
    <U> U[]
    toArray(U[] a)
    Deprecated, for removal: This API element is subject to removal in a future version.
    static <T> List<T>
    toList(Iterator<? extends T> i)
    Returns a List containing all elements in i, preserving duplicates.
    static <T> Set<T>
    toSet(Iterator<? extends T> i)
    Returns a Set containing all elements in i.
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface Iterable

    forEach