Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 174 for RANGE (0.42 sec)

  1. guava/src/com/google/common/base/Preconditions.java

     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
     * strings. This only supports the {@code "%s"} specifier, not the full range of {@link
     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        return new CompactLinkedHashMap<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
      @Override
      public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) {
        throw new NoSuchElementException();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 28 18:35:00 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/xml/XmlEscapers.java

     * href="http://www.xom.nu/">XOM</a> or <a href="http://www.jdom.org/">JDOM</a>.
     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
     * non-ASCII characters to their numeric entity replacements. These XML escapers provide the minimal
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

           */
          for (int i = 0; i < elements.size() - 1; i++) {
            assertEquals(elements.get(i) + 1, (int) elements.get(i + 1));
          }
          Range<Integer> range =
              elements.isEmpty() ? Range.closedOpen(0, 0) : Range.encloseAll(elements);
          return ContiguousSet.create(range, DiscreteDomain.integers());
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * @throws IllegalArgumentException if {@code value} is negative or greater than 255
       */
      @CanIgnoreReturnValue
      public static byte checkedCast(long value) {
        checkArgument(value >> Byte.SIZE == 0, "out of range: %s", value);
        return (byte) value;
      }
    
      /**
       * Returns the {@code byte} value that, when treated as unsigned, is nearest in value to {@code
       * value}.
       *
       * @param value any {@code long} value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Hashing.java

       *
       * @since 31.1
       */
      public static HashFunction fingerprint2011() {
        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Cut.java

    import com.google.common.primitives.Booleans;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top