Documentation of 'org.hsqldb.lib.HashMappedList' Java class
HashMappedList
org.hsqldb.lib

Class HashMappedList



  • public class HashMappedList
    extends HashMap
    Implementation of an Map which maintains the user-defined order of the keys. Key/value pairs can be accessed by index or by key. Iterators return the keys or values in the index order. This class does not store null keys.
    Since:
    1.7.2
    • Constructor Detail

      • HashMappedList

        public HashMappedList()
      • HashMappedList

        public HashMappedList(int initialCapacity)
                       throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • get

        public java.lang.Object get(int index)
                             throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • remove

        public java.lang.Object remove(java.lang.Object key)
        Overrides:
        remove in class HashMap
      • remove

        public java.lang.Object remove(int index)
                                throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • add

        public boolean add(java.lang.Object key,
                           java.lang.Object value)
      • put

        public java.lang.Object put(java.lang.Object key,
                                    java.lang.Object value)
        Overrides:
        put in class HashMap
      • set

        public java.lang.Object set(int index,
                                    java.lang.Object value)
                             throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • insert

        public boolean insert(int index,
                              java.lang.Object key,
                              java.lang.Object value)
                       throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • set

        public boolean set(int index,
                           java.lang.Object key,
                           java.lang.Object value)
                    throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • setKey

        public boolean setKey(int index,
                              java.lang.Object key)
                       throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • setValue

        public boolean setValue(int index,
                                java.lang.Object value)
                         throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • getKey

        public java.lang.Object getKey(int index)
                                throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • getIndex

        public int getIndex(java.lang.Object key)
      • toValuesArray

        public java.lang.Object[] toValuesArray(java.lang.Object[] a)
      • toKeysArray

        public java.lang.Object[] toKeysArray(java.lang.Object[] a)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.