Class SortedResponseList

  • All Implemented Interfaces:
    java.lang.Iterable<Response<?>>, java.util.Collection<Response<?>>, java.util.List<Response<?>>

    public class SortedResponseList
    extends java.util.AbstractList<Response<?>>
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(Response<?> e)  
      Response<?> get​(int index)  
      Response<?> remove​(int index)  
      int size()  
      • Methods inherited from class java.util.AbstractList

        add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, 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

        addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • SortedResponseList

        public SortedResponseList()
    • Method Detail

      • add

        public boolean add​(Response<?> e)
        Specified by:
        add in interface java.util.Collection<Response<?>>
        Specified by:
        add in interface java.util.List<Response<?>>
        Overrides:
        add in class java.util.AbstractList<Response<?>>
      • get

        public Response<?> get​(int index)
        Specified by:
        get in interface java.util.List<Response<?>>
        Specified by:
        get in class java.util.AbstractList<Response<?>>
      • remove

        public Response<?> remove​(int index)
        Specified by:
        remove in interface java.util.List<Response<?>>
        Overrides:
        remove in class java.util.AbstractList<Response<?>>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<Response<?>>
        Specified by:
        size in interface java.util.List<Response<?>>
        Specified by:
        size in class java.util.AbstractCollection<Response<?>>