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

com.maxifier.mxcache.impl.caches.def.CharacterByteTroveStorage Maven / Gradle / Ivy

/*
 * 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 CharacterByteTroveStorage extends gnu.trove.map.hash.TShortByteHashMap implements CharacterByteStorage {
    @Override
    public boolean isCalculated(char o) {
        return super.contains((short)o);
    }

    @Override
    public byte load(char o) {
        return super.get((short)o);
    }

    @Override
    public void save(char o, byte t) {
        put((short)o, t);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy