Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for corners (0.34 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      final transient Comparator<? super E> comparator;
    
      ImmutableSortedSet(Comparator<? super E> comparator) {
        this.comparator = comparator;
      }
    
      /**
       * Returns the comparator that orders the elements, which is {@link Ordering#natural()} when the
       * natural ordering of the elements is used. Note that its behavior is not consistent with {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return valueList;
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Returns the comparator that orders the keys, which is {@link Ordering#natural()} when the
       * natural ordering of the keys is used. Note that its behavior is not consistent with {@link
       * TreeMap#comparator()}, which returns {@code null} to indicate natural ordering.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/MathTesting.java

      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
          intValues.add(i);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EvictingQueue.java

    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        }
    
        @Override
        public int compareTo(CountsHashCodeAndEquals o) {
          onCompareTo.run();
          return delegateString.compareTo(o.delegateString);
        }
      }
    
      /** A holder of counters for calls to hashCode, equals, and compareTo. */
      private static final class CallsCounter {
        long hashCode;
        long equals;
        long compareTo;
    
        long total() {
          return hashCode + equals + compareTo;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * MultimapBuilder#treeKeys()}, may make additional guarantees.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Returns the comparator that orders the multimap values, with {@code null} indicating that
       * natural ordering is used.
       */
      @CheckForNull
      Comparator<? super V> valueComparator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

        if (key == null) {
          int unused = keyComparator().compare(key, key);
        }
        return super.createCollection(key);
      }
    
      /**
       * Returns the comparator that orders the multimap keys.
       *
       * @deprecated Use {@code ((NavigableSet<K>) multimap.keySet()).comparator()} instead.
       */
      @Deprecated
      public Comparator<? super K> keyComparator() {
        return keyComparator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashFunction.java

     *       array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via
     *       {@link Hasher}), but this is merely a convenience; these are always translated into raw
     *       byte sequences under the covers.
     *   <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length
     *       (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
       */
      // This the best we could do to get copyOfEnumSet to compile in the mainline.
      // The suppression also covers the cast to E[], discussed below.
      // In the backport, we don't have those cases and thus don't need this suppression.
      // We keep it to minimize diffs.
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top