static byte[] appendZero(byte[] key) { return key == null ? null : ViewUtils.appendZero(key); } }
static byte[] appendZero(byte[] key) { return key == null ? null : ViewUtils.appendZero(key); } }
static byte[] appendZero(byte[] key) { return key == null ? null : ViewUtils.appendZero(key); } }
byte[] adjustHighKey(byte[] highKey) { byte[] end = mEnd; if (end != null && (highKey == null || endRangeCompare(end, highKey) > 0)) { highKey = end; if ((mMode & END_EXCLUSIVE) == 0) { // Switch to inclusive end behavior. highKey = ViewUtils.appendZero(highKey); } } return highKey; } }
byte[] adjustLowKey(byte[] lowKey) { byte[] start = mStart; if (start != null && (lowKey == null || startRangeCompare(start, lowKey) < 0)) { lowKey = start; if ((mMode & START_EXCLUSIVE) != 0) { // Switch to exclusive start behavior. lowKey = ViewUtils.appendZero(lowKey); } } return lowKey; }
byte[] adjustLowKey(byte[] lowKey) { byte[] start = mStart; if (start != null && (lowKey == null || startRangeCompare(start, lowKey) < 0)) { lowKey = start; if ((mMode & START_EXCLUSIVE) != 0) { // Switch to exclusive start behavior. lowKey = ViewUtils.appendZero(lowKey); } } return lowKey; }
byte[] adjustLowKey(byte[] lowKey) { byte[] start = mStart; if (start != null && (lowKey == null || startRangeCompare(start, lowKey) < 0)) { lowKey = start; if ((mMode & START_EXCLUSIVE) != 0) { // Switch to exclusive start behavior. lowKey = ViewUtils.appendZero(lowKey); } } return lowKey; }
byte[] adjustHighKey(byte[] highKey) { byte[] end = mEnd; if (end != null && (highKey == null || endRangeCompare(end, highKey) > 0)) { highKey = end; if ((mMode & END_EXCLUSIVE) == 0) { // Switch to inclusive end behavior. highKey = ViewUtils.appendZero(highKey); } } return highKey; } }
byte[] adjustHighKey(byte[] highKey) { byte[] end = mEnd; if (end != null && (highKey == null || endRangeCompare(end, highKey) > 0)) { highKey = end; if ((mMode & END_EXCLUSIVE) == 0) { // Switch to inclusive end behavior. highKey = ViewUtils.appendZero(highKey); } } return highKey; } }