Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 160 for Lange (0.14 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      public double[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
       * Returns a new immutable array containing the values in the specified range.
       *
       * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one
       * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start,
       * end).trimmed()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/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>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

       */
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return asImmutableList(elements, elements.length);
      }
    
      /**
       * Views the array as an immutable list. Copies if the specified range does not cover the complete
       * array. Does not check for nulls.
       */
      static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) {
        switch (length) {
          case 0:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/Iterables.java

        // we already know that should be kept.
        for (int n = list.size() - 1; n > from; n--) {
          if (predicate.apply(list.get(n))) {
            list.remove(n);
          }
        }
        // And now remove everything in the range [to, from) (going backwards).
        for (int n = from - 1; n >= to; n--) {
          list.remove(n);
        }
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

       *     Remainder Operator</a>
       */
      @GwtIncompatible // TODO
      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.closed(3, 4)));
        assertTrue(rangeSet.intersects(Range.closedOpen(0, 2)));
        assertTrue(rangeSet.intersects(Range.closedOpen(3, 7)));
        assertTrue(rangeSet.intersects(Range.greaterThan(2)));
        assertFalse(rangeSet.intersects(Range.greaterThan(7)));
    
        assertTrue(rangeSet.encloses(Range.closed(3, 4)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RangeSet.java

       * range sets a and b, the result of {@code a.add(range)} is that {@code a} will be the minimal
       * range set for which both {@code a.enclosesAll(b)} and {@code a.encloses(range)}.
       *
       * <p>Note that {@code range} will be {@linkplain Range#span(Range) coalesced} with any ranges in
       * the range set that are {@linkplain Range#isConnected(Range) connected} with it. Moreover, if
       * {@code range} is empty, this is a no-op.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            range.intersect(GeneralRange.<@Nullable Integer>range(ORDERING, null, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 4, OPEN)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty()
       * range.isEmpty()}, this is equivalent to {@link ImmutableRangeSet#of()}.
       */
      public static <C extends Comparable> ImmutableRangeSet<C> of(Range<C> range) {
        checkNotNull(range);
        if (range.isEmpty()) {
          return of();
        } else if (range.equals(Range.all())) {
          return all();
        } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
Back to top