Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for nonempty (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

      // should be unequal to empty.
      public void testEquals() {
        TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create();
        TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create();
        nonEmpty.put(Range.all(), 1);
        TreeRangeMap<Integer, Integer> coalesced = TreeRangeMap.create();
        coalesced.put(Range.atLeast(1), 1);
        coalesced.putCoalescing(Range.atMost(1), 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/SignedBytes.java

       */
      public static int compare(byte a, byte b) {
        return Byte.compare(a, b);
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInts.java

          return -1;
        } else {
          return (int) value;
        }
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code int} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array according to {@link #compare}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedInts.java

          return -1;
        } else {
          return (int) value;
        }
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code int} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array according to {@link #compare}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public ImmutableRangeSet<C> difference(RangeSet<C> other) {
        RangeSet<C> copy = TreeRangeSet.create(this);
        copy.removeAll(other);
        return copyOf(copy);
      }
    
      /**
       * Returns a list containing the nonempty intersections of {@code range} with the ranges in this
       * range set.
       */
      private ImmutableList<Range<C>> intersectRanges(final Range<C> range) {
        if (ranges.isEmpty() || range.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code char} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code short} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code short} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Range.java

       * (any intersection must be an empty range).
       *
       * <p>The gap operation is commutative.
       *
       * @throws IllegalArgumentException if this range and {@code otherRange} have a nonempty
       *     intersection
       * @since 27.0
       */
      public Range<C> gap(Range<C> otherRange) {
        /*
         * For an explanation of the basic principle behind this check, see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       * (any intersection must be an empty range).
       *
       * <p>The gap operation is commutative.
       *
       * @throws IllegalArgumentException if this range and {@code otherRange} have a nonempty
       *     intersection
       * @since 27.0
       */
      public Range<C> gap(Range<C> otherRange) {
        /*
         * For an explanation of the basic principle behind this check, see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top