com.maxifier.mxcache.impl.caches.def.LongFloatTroveStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mxcache-runtime Show documentation
Show all versions of mxcache-runtime Show documentation
Constains all classes necessary for launching a MxCache-instrumentated application
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.impl.caches.def;
import com.maxifier.mxcache.storage.*;
/**
* THIS IS GENERATED CLASS! DON'T EDIT IT MANUALLY!
*
* GENERATED FROM P2PTroveStorage.template
*
* @author Andrey Yakoushin ([email protected])
* @author Alexander Kochurov ([email protected])
*/
public class LongFloatTroveStorage extends gnu.trove.map.hash.TLongFloatHashMap implements LongFloatStorage {
@Override
public boolean isCalculated(long o) {
return super.contains(o);
}
@Override
public float load(long o) {
return super.get(o);
}
@Override
public void save(long o, float t) {
put(o, t);
}
}