Lines Matching refs:rel
1325 * @param rel the relation -- OR'ed combination of EQ, LT, GT
1328 Node<K,V> findNear(K kkey, int rel) {
1335 return ((rel & LT) == 0 || b.isBaseHeader()) ? null : b;
1347 if ((c == 0 && (rel & EQ) != 0) ||
1348 (c < 0 && (rel & LT) == 0))
1350 if ( c <= 0 && (rel & LT) != 0)
1361 * @param rel the relation -- OR'ed combination of EQ, LT, GT
1364 AbstractMap.SimpleImmutableEntry<K,V> getNear(K key, int rel) {
1366 Node<K,V> n = findNear(key, rel);
2666 private Map.Entry<K,V> getNearEntry(K key, int rel) {
2668 if ((rel & m.LT) == 0)
2669 rel |= m.LT;
2671 rel &= ~m.LT;
2674 return ((rel & m.LT) != 0) ? null : lowestEntry();
2676 return ((rel & m.LT) != 0) ? highestEntry() : null;
2678 Node<K,V> n = m.findNear(key, rel);
2689 private K getNearKey(K key, int rel) {
2691 if ((rel & m.LT) == 0)
2692 rel |= m.LT;
2694 rel &= ~m.LT;
2697 if ((rel & m.LT) == 0) {
2705 if ((rel & m.LT) != 0) {
2716 Node<K,V> n = m.findNear(key, rel);