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

io.github.vipcxj.jasync.ng.runtime.context.Int0Map Maven / Gradle / Ivy

package io.github.vipcxj.jasync.ng.runtime.context;

public class Int0Map implements IntMap {

    final static IntMap EMPTY = new Int0Map<>();

    @Override
    public T get(int key) {
        return null;
    }

    @Override
    public IntMap set(int key, T value) {
        return new Int1Map<>(key, value);
    }

    @Override
    public IntMap remove(int key) {
        return this;
    }
}