Class KeyValuePairList

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

    public class KeyValuePairList
    extends KeyValuePairBag
    implements java.util.List<KeyValuePair>

    An List of KeyValuePair instances.

    In the adapter configuration file this class is aliased as key-value-pair-list which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • KeyValuePairList

        public KeyValuePairList()
      • KeyValuePairList

        public KeyValuePairList​(java.util.Collection<KeyValuePair> pairs)
      • KeyValuePairList

        public KeyValuePairList​(java.util.Properties properties)
      • KeyValuePairList

        public KeyValuePairList​(java.util.Map<java.lang.String,​java.lang.String> map)
    • Method Detail

      • add

        public void add​(int index,
                        KeyValuePair element)
        Specified by:
        add in interface java.util.List<KeyValuePair>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends KeyValuePair> c)
        Specified by:
        addAll in interface java.util.List<KeyValuePair>
      • indexOf

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

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

        public java.util.ListIterator<KeyValuePair> listIterator()
        Specified by:
        listIterator in interface java.util.List<KeyValuePair>
      • listIterator

        public java.util.ListIterator<KeyValuePair> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<KeyValuePair>
      • subList

        public java.util.List<KeyValuePair> subList​(int fromIndex,
                                                    int toIndex)
        Specified by:
        subList in interface java.util.List<KeyValuePair>