void (short newData, short oldData) { if (oldData != newData) { if (oldData != 0) { myInvertedIndexChangeCallback.accept(oldData); } if (newData != 0) { myInvertedIndexChangeCallback.accept(newData); } } }