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

io.deephaven.util.channel.SeekableChannelContextNull Maven / Gradle / Ivy

//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.util.channel;

import io.deephaven.util.SafeCloseable;
import org.jetbrains.annotations.Nullable;

import java.util.function.Supplier;

enum SeekableChannelContextNull implements SeekableChannelContext {
    NULL_CONTEXT_INSTANCE;

    @Override
    @Nullable
    public SafeCloseable apply(final Supplier resourceFactory) {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy