Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for compareOrThrow (0.06 sec)

  1. android/guava/src/com/google/common/collect/Cut.java

      @Override
      public int compareTo(Cut<C> that) {
        if (that == belowAll()) {
          return 1;
        }
        if (that == aboveAll()) {
          return -1;
        }
        int result = Range.compareOrThrow(endpoint, that.endpoint);
        if (result != 0) {
          return result;
        }
        // same value. below comes before above
        return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          }
        };
      }
    
      private static boolean equalsOrThrow(Comparable<?> left, @Nullable Comparable<?> right) {
        return right != null && Range.compareOrThrow(left, right) == 0;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public C first() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        @Override
        ImmutableSortedSet<C> subSetImpl(
            C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
          if (!fromInclusive && !toInclusive && Range.compareOrThrow(fromElement, toElement) == 0) {
            return ImmutableSortedSet.of();
          }
          return subSet(
              Range.range(
                  fromElement, BoundType.forBoolean(fromInclusive),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top