Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Implicit (0.17 sec)

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

        // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop
        // at the bottom and throw a timeoutexception.
        final long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
        long remainingNanos = timeoutNanos;
        if (Thread.interrupted()) {
          throw new InterruptedException();
        }
        Object localValue = value;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       *     Object#equals(Object)}) are present among the method arguments
       */
      // TODO(kevinb): provide replacement
      @GwtCompatible(serializable = true)
      public static <T> Ordering<T> explicit(T leastValue, T... remainingValuesInOrder) {
        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       *
       * <p>To cycle over the iterable {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, iterable))}
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
    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. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
        return new RegularImmutableSortedSet<E>(
            ImmutableList.<E>asImmutableList(contents, uniques), comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted sets with an explicit comparator. If the
       * comparator has a more general type than the set being generated, such as creating a {@code
       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
    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)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * user-created objects that aren't accessible via this range set's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
        return ranges.isPartialView();
      }
    
      /** Returns a new builder for an immutable range set. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

         * called, in which case entries are sorted by value.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
         * @throws IllegalArgumentException if duplicate keys were added
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate key pairs. The {@code build()} method will
         * soon be deprecated.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

         * was called, in which case entries are sorted by value.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys or values. The {@code build()} method
         * will soon be deprecated.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * natural ordering.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSortedSet#copyOf(Iterable)}
       * instead.
       *
       * <p><b>Note:</b> If {@code elements} is a {@code SortedSet} with an explicit comparator, this
       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top