Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 136 for sheugh (0.16 sec)

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

      private static final class AvlNode<E extends @Nullable Object> {
        /*
         * For "normal" nodes, the type of this field is `E`, not `@Nullable E` (though note that E is a
         * type that can include null, as in a TreeMultiset<@Nullable String>).
         *
         * For the header node, though, this field contains `null`, regardless of the type of the
         * multiset.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    `I must be getting somewhere near the centre of the earth.  Let
    me see:  that would be four thousand miles down, I think--' (for,
    you see, Alice had learnt several things of this sort in her
    lessons in the schoolroom, and though this was not a VERY good
    opportunity for showing off her knowledge, as there was no one to
    listen to her, still it was good practice to say it over) `--yes,
    that's about the right distance--but then I wonder what Latitude
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
       *       <li>For speed: {@link Hashing#goodFastHash}, though see its docs for caveats.
       *     </ul>
       */
      @Deprecated
      public static HashFunction md5() {
        return Md5Holder.MD5;
      }
    
      private static class Md5Holder {
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          // If map has a null comparator, the keys should have a natural ordering,
          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
    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)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

      }
    
      public void testManualServiceFailureIdempotence() {
        ManualSwitchedService service = new ManualSwitchedService();
        /*
         * Set up a RecordingListener to perform its built-in assertions, even though we won't look at
         * its state history.
         */
        RecordingListener unused = RecordingListener.record(service);
        service.startAsync();
        service.notifyFailed(new Exception("1"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is
             * safe, even though javac can't tell.
             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

          this.valueHash = valueHash;
        }
      }
    
      private static final double LOAD_FACTOR = 1.0;
    
      /*
       * The following two arrays may *contain* nulls, but they are never *themselves* null: Even though
       * they are not initialized inline in the constructor, they are initialized from init(), which the
       * constructor calls (as does readObject()).
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * requireNonNull checks below). Plus, we're *already* lying here, since newHeader passes a null
         * key and value, which we pass to the superconstructor, even though the key and value type for
         * a given entry might not include null. The right fix for the header problems is probably to
         * define a separate MultimapLink interface with a separate "header" implementation, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
         * However, serialization does not preserve that property, though it does maintain the key and
         * value ordering.
         *
         * @since 8.0
         */
        // TODO: Make serialization behavior consistent.
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top