Skip to content
Permalink
Browse files
Remove unused method
  • Loading branch information
leerho committed Apr 21, 2022
1 parent 91890b6 commit de24a45e6ab9533dabf84f32847d725a81b8bb66
Showing 4 changed files with 0 additions and 20 deletions.
@@ -187,14 +187,6 @@ void setFloatItemsArrayAt(final int index, final float value) {
wmem.putFloat(offset, value);
}

@Override
void setFloatItemsArraySubrange(final float[] srcArr, final int srcIndex, final int tgtIndex, final int numItems) {
if (readOnly) { kllSketchThrow(TGT_IS_READ_ONLY); }
final int offset =
DATA_START_ADR + getLevelsArray().length * Integer.BYTES + (tgtIndex + 2) * Float.BYTES;
wmem.putFloatArray(offset, srcArr, srcIndex, numItems);
}

@Override
void setLevelZeroSorted(final boolean sorted) {
if (readOnly) { kllSketchThrow(TGT_IS_READ_ONLY); }
@@ -356,11 +356,6 @@ public void update(final double value) {
@Override //Artifact of inheritance
void setFloatItemsArrayAt(final int index, final float value) { kllSketchThrow(MUST_NOT_CALL); }

@Override //Artifact of inheritance
void setFloatItemsArraySubrange(final float[] srcArr, final int srcIndex, final int tgtIndex, final int numItems) {
kllSketchThrow(MUST_NOT_CALL);
}

@Override //Artifact of inheritance
void setMaxFloatValue(final float value) { kllSketchThrow(MUST_NOT_CALL); }

@@ -172,11 +172,6 @@ void incNumLevels() { } //not used here
@Override
void setFloatItemsArrayAt(final int index, final float value) { floatItems_[index] = value; }

@Override
void setFloatItemsArraySubrange(final float[] srcArr, final int srcIndex, final int tgtIndex, final int numItems) {
System.arraycopy(srcArr, srcIndex, floatItems_, tgtIndex, numItems);
}

@Override
void setLevelZeroSorted(final boolean sorted) { this.isLevelZeroSorted_ = sorted; }

@@ -506,8 +506,6 @@ final boolean isCompactSingleItem() {

abstract void setFloatItemsArrayAt(int index, float value);

abstract void setFloatItemsArraySubrange(float[] srcArr, int srcIndex, int tgtIndex, int numItems);

final void setLevelsArray(final int[] levelsArr) {
if (readOnly) { kllSketchThrow(TGT_IS_READ_ONLY); }
this.levelsArr = levelsArr;

0 comments on commit de24a45

Please sign in to comment.