
at.chrl.cbutils.memoizer.CollectionSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chrl-callback-utils Show documentation
Show all versions of chrl-callback-utils Show documentation
Util Package for callback Framwork
The newest version!
/**
* This file is part of ChRL Util Collection.
*
* ChRL Util Collection is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* ChRL Util Collection is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* ChRL Util Collection. If not, see .
*/
package at.chrl.cbutils.memoizer;
import gnu.trove.map.hash.THashMap;
import java.util.Map;
import java.util.WeakHashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Supplier;
import com.google.common.collect.MapMaker;
import at.chrl.nutils.CollectionUtils;
/**
* @deprecated Since Javaagent does not support lambdas. Use
* {@link CollectionUtils} instead Only used at
* {@link MemoizeCallback}.
*
* @author Vinzynth 09.11.2014 - 02:08:42
*
*/
@Deprecated
public class CollectionSupplier {
private CollectionSupplier() {
}
private static MapMaker mapMaker = new MapMaker();
public static Supplier
© 2015 - 2025 Weber Informatics LLC | Privacy Policy