Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 144 for Accent (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          assertTrue(awaitUninterruptibly(returned, 10, SECONDS));
        }
      }
    
      static final class NoOpValueAndCloserConsumer<V> implements ValueAndCloserConsumer<V> {
        @Override
        public void accept(ValueAndCloser<V> valueAndCloser) {}
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMap.java

        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
       * Returns an immutable map containing a single entry. This map behaves and performs comparably to
       * {@link Collections#singletonMap} but will not accept a null key or value. It is preferable
       * mainly for consistency and maintainability of your code.
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
        return ImmutableBiMap.of(k1, v1);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return asList(elements).iterator();
      }
    
      // In GWT, java.util.TreeSet throws ClassCastException when the comparator
      // throws it, unlike JDK6.  Therefore, we accept ClassCastException as a
      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

       * @Nullable X>, then users might pass a TypeParameter<Y>, where Y is a subtype of X, while still
       * passing a TypeToken<X>. This would be invalid. Maybe we could accept a TypeParameter<@PolyNull
       * X> if we support such a thing? It would be weird or misleading for users to be able to pass
       * `new TypeParameter<@Nullable T>() {}` and have it act as a plain `TypeParameter<T>`, but
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies that each entry should be automatically removed from the cache once a fixed duration
       * has elapsed after the entry's creation, or the most recent replacement of its value.
       *
       * <p>When {@code duration} is zero, this method hands off to {@link #maximumSize(long)
       * maximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectSpliterators.java

          @Override
          public boolean tryAdvance(Consumer<? super T> action) {
            return delegate.tryAdvance((IntConsumer) i -> action.accept(function.apply(i)));
          }
    
          @Override
          public void forEachRemaining(Consumer<? super T> action) {
            delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i)));
          }
    
          @Override
          @CheckForNull
          public Spliterator<T> trySplit() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EvictingQueue.java

     * full queue, the queue automatically removes its head element. This is different from conventional
     * bounded queues, which either block or reject new elements when full.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top