/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }
/** * Compare the entry key to another key. Synonymous to compareTo(new * ByteArray(buf, offset, length) * * @param buf * The key buffer * @param offset * offset into the key buffer. * @param length * the length of the key. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf, int offset, int length) { return compareTo(new ByteArray(buf, offset, length)); }
/** * Compare the entry key to another key. Synonymous to compareTo(key, 0, * key.length). * * @param buf * The key buffer. * @return comparison result between the entry key with the input key. */ public int compareTo(byte[] buf) { return compareTo(buf, 0, buf.length); }
/** * Compare whether this and other points to the same key value. */ @Override public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof Entry)) return false; return ((Entry) other).compareTo(keyBuffer, 0, getKeyLength()) == 0; }