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

io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
package io.deephaven.engine.table.impl.locations;

import io.deephaven.util.annotations.FinalDefault;

import javax.annotation.concurrent.Immutable;

/**
 * Sub-interface of {@link TableLocationKey} to mark immutable implementations.
 */
@Immutable
public interface ImmutableTableLocationKey extends TableLocationKey {

    ImmutableTableLocationKey[] ZERO_LENGTH_IMMUTABLE_TABLE_LOCATION_KEY_ARRAY = new ImmutableTableLocationKey[0];

    @FinalDefault
    default ImmutableTableLocationKey makeImmutable() {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy