io.deephaven.chunk.WritableChunkChunk Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-chunk Show documentation
Show all versions of deephaven-engine-chunk Show documentation
Engine Chunks: Array-like data structures for dense, efficient data movement
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);
}