Package net.minecraftforge.common.util
Class SortedProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
net.minecraftforge.common.util.SortedProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
An Implementation of Properties that is sorted when iterating.
Made because i got tired of seeing config files written in random orders.
This is implemented very basically, and thus is not a speedy system.
This is not recommended for used in high traffic areas, and is mainly intended for writing to disc.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionentrySet()
keys()
keySet()
static void
store(Properties props, OutputStream stream, String comment)
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
-
Constructor Details
-
SortedProperties
public SortedProperties()
-
-
Method Details
-
entrySet
-
keySet
-
keys
- Overrides:
keys
in classProperties
-
store
- Throws:
IOException
-