
com.github.hypfvieh.collections.LinkedProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-utils Show documentation
Show all versions of java-utils Show documentation
A collection of utils commonly used in my projects.
Feel free to use it (or parts of it) in your own projects.
The newest version!
package com.github.hypfvieh.collections;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collections;
import java.util.Enumeration;
import java.util.LinkedHashSet;
import java.util.Properties;
/**
* Subclass of Properties that returns keys in insertion order by
* keeping an internal insertion order set of keys updated on each
* write operation (put, putAll, clear, remove). DOES NOT CONTROL
* the usage of {@link java.util.Hashtable#entrySet()} which allows
* write operations as well.
*/
public class LinkedProperties extends Properties {
private static final long serialVersionUID = 1L;
private final LinkedHashSet
© 2015 - 2025 Weber Informatics LLC | Privacy Policy