com.softicar.platform.common.container.set.IdentitySetFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.set;
import java.util.Collection;
import java.util.Collections;
import java.util.IdentityHashMap;
import java.util.Set;
import java.util.function.Supplier;
public class IdentitySetFactory implements Supplier> {
@Override
public Set get() {
return Collections.newSetFromMap(new IdentityHashMap<>());
}
}