Package gnu.lists

Interface Sequence<E>

    • Method Detail

      • isEmpty

        boolean isEmpty()
        True is this sequence contains no elements.
        Specified by:
        isEmpty in interface java.util.Collection<E>
        Specified by:
        isEmpty in interface java.util.List<E>
      • size

        int size()
        See java.util.List.
        Specified by:
        size in interface java.util.Collection<E>
        Specified by:
        size in interface java.util.List<E>
      • get

        E get​(int index)
        See java.util.List.
        Specified by:
        get in interface java.util.List<E>
      • getInt

        int getInt​(int arg1)
      • set

        E set​(int index,
              E value)
        See java.util.List.
        Specified by:
        set in interface java.util.List<E>
      • fill

        void fill​(E value)
      • elements

        java.util.Enumeration<E> elements()