Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for Night (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * setException() will be a no-op because the Future is already done.
         *
         * Both scenarios are bad: The output Future might never complete, or, if it does complete, it
         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          // We use a copy of "entryToRemove" in the assertion because "entryToRemove" might be
          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy =
              Helpers.mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  3. android/guava/src/com/google/common/collect/Lists.java

       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
       * varargs) or {@link ImmutableList#copyOf(Object[])} (for an array) instead. If any elements
       * might be null, or you need support for {@link List#set(int, Object)}, use {@link
       * Arrays#asList}.
       *
       * <p>Note that even when you do need the ability to add or remove, this method provides only a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

          this.comparator = checkNotNull(comparator);
        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys, according to the
         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Optional.java

     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
     * reference. It allows you to represent "a {@code T} that must be present" and a "a {@code T} that
     * might be absent" as two distinct types in your program, which can aid clarity.
     *
     * <p>Some uses of this class include
     *
     * <ul>
     *   <li>As a method return type, as an alternative to returning {@code null} to indicate that no
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderKeysBy(
            new Ordering<String>() {
              @Override
              public int compare(String left, String right) {
                return left.length() - right.length();
              }
            });
        builder.put("cc", 4);
        builder.put("a", 2);
        builder.put("bb", 6);
        ImmutableSetMultimap<String, Integer> multimap = builder.build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeSet.java

      int hashCode();
    
      /**
       * Returns a readable string representation of this range set. For example, if this {@code
       * RangeSet} consisted of {@code Range.closed(1, 3)} and {@code Range.greaterThan(4)}, this might
       * return {@code " [1..3](4..+∞)}"}.
       */
      @Override
      String toString();
    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)
  8. guava/src/com/google/common/collect/ImmutableSet.java

        return new SingletonImmutableSet<>(element);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
    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)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
             * Eclipse 3.4. Right now, this suppression is mostly unnecessary.
             */
            @SuppressWarnings("unchecked")
            MultiExceptionListIterator multiExceptionListIterator =
                (MultiExceptionListIterator) reference;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
        throw new TimeoutException(message + " for " + futureToString);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top