All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pure4j.collections.TransientHashMap Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
package org.pure4j.collections;

import java.util.HashMap;
import java.util.Map;

public class TransientHashMap extends HashMap implements ITransientMap {
	
	public TransientHashMap() {
		super();
	}

	public TransientHashMap(int initialCapacity, float loadFactor) {
		super(initialCapacity, loadFactor);
	}

	public TransientHashMap(int initialCapacity) {
		super(initialCapacity);
	}

	public TransientHashMap(Map m) {
		super(m);
	}

	@Override
	public int count() {
		return size();
	}

	@Override
	public IPersistentMap persistent() {
		return new PersistentHashMap(this);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy