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

io.deephaven.chunk.WritableChunkChunk Maven / Gradle / Ivy

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.chunk;

import io.deephaven.chunk.attributes.Any;

public interface WritableChunkChunk extends ChunkChunk {
    default WritableByteChunkChunk asWritableByteChunkChunk() {
        return (WritableByteChunkChunk) this;
    }

    default WritableBooleanChunkChunk asWritableBooleanChunkChunk() {
        return (WritableBooleanChunkChunk) this;
    }

    default WritableCharChunkChunk asWritableCharChunkChunk() {
        return (WritableCharChunkChunk) this;
    }

    default WritableShortChunkChunk asWritableShortChunkChunk() {
        return (WritableShortChunkChunk) this;
    }

    default WritableIntChunkChunk asWritableIntChunkChunk() {
        return (WritableIntChunkChunk) this;
    }

    default WritableLongChunkChunk asWritableLongChunkChunk() {
        return (WritableLongChunkChunk) this;
    }

    default WritableFloatChunkChunk asWritableFloatChunkChunk() {
        return (WritableFloatChunkChunk) this;
    }

    default WritableDoubleChunkChunk asWritableDoubleChunkChunk() {
        return (WritableDoubleChunkChunk) this;
    }

    default  WritableObjectChunkChunk asWritableObjectChunkChunk() {
        return (WritableObjectChunkChunk) this;
    }

    WritableChunk getWritableChunk(int pos);

    void setWritableChunk(int pos, WritableChunk chunk);

    @Override
    WritableChunkChunk slice(int offset, int capacity);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy