Class ListResponse<E extends GGResponseObject>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int i, E e)  
      boolean add​(E e)  
      boolean addAll​(int i, java.util.Collection<? extends E> collection)  
      boolean addAll​(java.util.Collection<? extends E> collection)  
      void clear()  
      boolean contains​(java.lang.Object o)  
      boolean containsAll​(java.util.Collection<?> collection)  
      E get​(int i)  
      int indexOf​(java.lang.Object o)  
      boolean isEmpty()  
      java.util.Iterator<E> iterator()  
      int lastIndexOf​(java.lang.Object o)  
      java.util.ListIterator<E> listIterator()  
      java.util.ListIterator<E> listIterator​(int i)  
      E remove​(int i)  
      boolean remove​(java.lang.Object o)  
      boolean removeAll​(java.util.Collection<?> collection)  
      boolean retainAll​(java.util.Collection<?> collection)  
      E set​(int i, E e)  
      int size()  
      java.util.List<E> subList​(int i, int i1)  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] ts)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        equals, hashCode, replaceAll, sort, spliterator
    • Constructor Detail

      • ListResponse

        public ListResponse​(@Nonnull
                            EntityType type)
      • ListResponse

        public ListResponse​(@Nonnull
                            EntityType type,
                            @Nonnull
                            java.util.List<E> value)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        size in interface java.util.List<E extends GGResponseObject>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        isEmpty in interface java.util.List<E extends GGResponseObject>
      • contains

        public boolean contains​(java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        contains in interface java.util.List<E extends GGResponseObject>
      • iterator

        @Nonnull
        public java.util.Iterator<E> iterator()
        Specified by:
        iterator in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        iterator in interface java.lang.Iterable<E extends GGResponseObject>
        Specified by:
        iterator in interface java.util.List<E extends GGResponseObject>
      • toArray

        @Nonnull
        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        toArray in interface java.util.List<E extends GGResponseObject>
      • toArray

        @Nonnull
        public <T> T[] toArray​(@Nonnull
                               T[] ts)
        Specified by:
        toArray in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        toArray in interface java.util.List<E extends GGResponseObject>
      • add

        public boolean add​(E e)
        Specified by:
        add in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        add in interface java.util.List<E extends GGResponseObject>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        remove in interface java.util.List<E extends GGResponseObject>
      • containsAll

        public boolean containsAll​(@Nonnull
                                   java.util.Collection<?> collection)
        Specified by:
        containsAll in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        containsAll in interface java.util.List<E extends GGResponseObject>
      • addAll

        public boolean addAll​(@Nonnull
                              java.util.Collection<? extends E> collection)
        Specified by:
        addAll in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        addAll in interface java.util.List<E extends GGResponseObject>
      • addAll

        public boolean addAll​(int i,
                              @Nonnull
                              java.util.Collection<? extends E> collection)
        Specified by:
        addAll in interface java.util.List<E extends GGResponseObject>
      • removeAll

        public boolean removeAll​(@Nonnull
                                 java.util.Collection<?> collection)
        Specified by:
        removeAll in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        removeAll in interface java.util.List<E extends GGResponseObject>
      • retainAll

        public boolean retainAll​(@Nonnull
                                 java.util.Collection<?> collection)
        Specified by:
        retainAll in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        retainAll in interface java.util.List<E extends GGResponseObject>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<E extends GGResponseObject>
        Specified by:
        clear in interface java.util.List<E extends GGResponseObject>
      • get

        public E get​(int i)
        Specified by:
        get in interface java.util.List<E extends GGResponseObject>
      • set

        public E set​(int i,
                     E e)
        Specified by:
        set in interface java.util.List<E extends GGResponseObject>
      • add

        public void add​(int i,
                        E e)
        Specified by:
        add in interface java.util.List<E extends GGResponseObject>
      • remove

        public E remove​(int i)
        Specified by:
        remove in interface java.util.List<E extends GGResponseObject>
      • indexOf

        public int indexOf​(java.lang.Object o)
        Specified by:
        indexOf in interface java.util.List<E extends GGResponseObject>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object o)
        Specified by:
        lastIndexOf in interface java.util.List<E extends GGResponseObject>
      • listIterator

        @Nonnull
        public java.util.ListIterator<E> listIterator()
        Specified by:
        listIterator in interface java.util.List<E extends GGResponseObject>
      • listIterator

        @Nonnull
        public java.util.ListIterator<E> listIterator​(int i)
        Specified by:
        listIterator in interface java.util.List<E extends GGResponseObject>
      • subList

        @Nonnull
        public java.util.List<E> subList​(int i,
                                         int i1)
        Specified by:
        subList in interface java.util.List<E extends GGResponseObject>