org.apache.commons.collections4.properties

## Class SortedProperties

- java.lang.Object
- - java.util.Dictionary<K,V>
  - - java.util.Hashtable<Object,Object>
    - - java.util.Properties
      - - org.apache.commons.collections4.properties.SortedProperties

- All Implemented Interfaces:
    Serializable, Cloneable, Map<Object,Object>

      public class SortedProperties
      extends Properties

  A drop-in replacement for `Properties` for sorting keys.

  Overrides `Hashtable.keys()` to sort keys. Allows other methods on the superclass to work with sorted keys.

  Since:
    4.2
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.Properties

      `defaults`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SortedProperties()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Enumeration<Object>` | `keys()`

    - ### Methods inherited from class java.util.Properties

      `getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames`

    - ### Methods inherited from class java.util.Hashtable

      `clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SortedProperties

          public SortedProperties()

  - ### Method Detail

    - #### keys

          public Enumeration<Object> keys()

      Overrides:
        `keys` in class `Hashtable<Object,Object>`

Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.