
org.wiztools.commons.ExpiryHashSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-lib Show documentation
Show all versions of commons-lib Show documentation
Commons library used across WizTools.org projects
The newest version!
/*
* Copyright WizTools.org
* Licensed under the Apache License, Version 2.0:
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.wiztools.commons;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
/**
* A HashSet implementation of the ExpiryCollection.
* @author subwiz
*/
public class ExpiryHashSet extends AbstractExpiryCollection {
private final Set data = new HashSet<>();
public ExpiryHashSet(final long cleanerThreadIntervalInMilliSecond){
super(cleanerThreadIntervalInMilliSecond);
}
@Override
public Collection getData() {
return data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy