for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/*
* This file is part of Swf Map Loader.
*
* Swf Map Loader is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* Swf Map Loader 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 Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License
* along with Swf Map Loader. If not, see <https://www.gnu.org/licenses/>.
* Copyright (c) 2020-2020 Vincent Quatrevieux
*/
package fr.arakne.swfmaploader.cache;
import fr.arakne.swfmaploader.swf.SwfMapStructure;
import java.util.Optional;
/**
* No-op cache system
final public class NullMapStructureCache implements MapStructureCache {
@Override
public Optional<SwfMapStructure> retrieve(int id) {
return Optional.empty();
}
public void store(SwfMapStructure structure) {
// No-op
public void clear() {