Class AbstractReflectionConverter.MappingList

  • All Implemented Interfaces:
    java.lang.Iterable, java.util.Collection, java.util.List
    Enclosing class:
    AbstractReflectionConverter

    private class AbstractReflectionConverter.MappingList
    extends java.util.AbstractList
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map fieldCache  
      private java.lang.String keyFieldName  
      private java.util.Map map  
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingList​(java.util.Map map, java.lang.String keyFieldName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(java.lang.Object object)  
      java.lang.Object get​(int index)  
      int size()  
      • Methods inherited from class java.util.AbstractList

        add, addAll, clear, equals, hashCode, indexOf, iterator, 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
    • Field Detail

      • map

        private final java.util.Map map
      • keyFieldName

        private final java.lang.String keyFieldName
      • fieldCache

        private final java.util.Map fieldCache
    • Constructor Detail

      • MappingList

        public MappingList​(java.util.Map map,
                           java.lang.String keyFieldName)
    • Method Detail

      • add

        public boolean add​(java.lang.Object object)
        Specified by:
        add in interface java.util.Collection
        Specified by:
        add in interface java.util.List
        Overrides:
        add in class java.util.AbstractList
      • get

        public java.lang.Object get​(int index)
        Specified by:
        get in interface java.util.List
        Specified by:
        get in class java.util.AbstractList
      • size

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