Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Chaves (0.16 sec)

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

       * appear in either that iterator or any other iterator created from the same source iterable.
       * That is, this method behaves exactly as {@code Iterables.cycle(Lists.newArrayList(elements))}.
       * The iterator's {@code hasNext} method returns {@code true} until all of the original elements
       * have been removed.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
    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)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

              BinaryOperator<V> mergeFunction) {
        return CollectCollectors.toImmutableMap(keyFunction, valueFunction, mergeFunction);
      }
    
      /**
       * Returns the empty map. This map behaves and performs comparably to {@link
       * Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
    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)
  3. android/guava/src/com/google/common/collect/Sets.java

        return CollectCollectors.toImmutableEnumSet();
      }
    
      /**
       * Returns a new, <i>mutable</i> {@code EnumSet} instance containing the given elements in their
       * natural order. This method behaves identically to {@link EnumSet#copyOf(Collection)}, but also
       * accepts non-{@code Collection} iterables and empty iterables.
       */
      public static <E extends Enum<E>> EnumSet<E> newEnumSet(
    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)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
       * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it
       * behaves exactly as {@code copyOf(elements.iterator()}.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        try {
          builder.orderEntriesByValue(Ordering.natural());
          fail("Expected IllegalStateException");
        } catch (IllegalStateException expected) {
        }
      }
    
      @GwtIncompatible // we haven't implemented this
      public void testBuilder_orderEntriesByValue_keepingLast() {
        ImmutableMap.Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .orderEntriesByValue(Ordering.natural())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Function.java

      T apply(@ParametricNullness F input);
    
      /**
       * <i>May</i> return {@code true} if {@code object} is a {@code Function} that behaves identically
       * to this function.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Function} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Function} instances would in fact behave
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       * @return a peeking iterator backed by that iterator. Apart from the additional {@link
       *     PeekingIterator#peek()} method, this iterator behaves exactly the same as {@code iterator}.
       */
      public static <T extends @Nullable Object> PeekingIterator<T> peekingIterator(
          Iterator<? extends T> iterator) {
        if (iterator instanceof PeekingImpl) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top