Class AdapterList

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

    public class AdapterList
    extends java.util.AbstractList<AdapterState>
    List of adapters that will be returned by the healthcheck
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      AdapterList()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, AdapterState x)  
      boolean add​(AdapterState x)  
      AdapterState get​(int index)  
      java.util.List<AdapterState> getAdapterStates()  
      java.util.Iterator<AdapterState> iterator()  
      void setAdapterStates​(java.util.List<AdapterState> adapterStates)  
      int size()  
      static AdapterList wrap​(java.util.List<AdapterState> states)  
      • Methods inherited from class java.util.AbstractList

        addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, 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

      • AdapterList

        public AdapterList()
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<AdapterState>
        Specified by:
        size in interface java.util.List<AdapterState>
        Specified by:
        size in class java.util.AbstractCollection<AdapterState>
      • iterator

        public java.util.Iterator<AdapterState> iterator()
        Specified by:
        iterator in interface java.util.Collection<AdapterState>
        Specified by:
        iterator in interface java.lang.Iterable<AdapterState>
        Specified by:
        iterator in interface java.util.List<AdapterState>
        Overrides:
        iterator in class java.util.AbstractList<AdapterState>
      • add

        public void add​(int index,
                        AdapterState x)
        Specified by:
        add in interface java.util.List<AdapterState>
        Overrides:
        add in class java.util.AbstractList<AdapterState>
      • getAdapterStates

        public java.util.List<AdapterState> getAdapterStates()
      • setAdapterStates

        public void setAdapterStates​(java.util.List<AdapterState> adapterStates)