Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 3,885 for extend (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertWithMessage(
                rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingFuture.java

     *
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible
    public abstract class ForwardingFuture<V extends @Nullable Object> extends ForwardingObject
        implements Future<V> {
      /** Constructor for use by subclasses. */
      protected ForwardingFuture() {}
    
      @Override
      protected abstract Future<? extends V> delegate();
    
      @Override
      @CanIgnoreReturnValue
      public boolean cancel(boolean mayInterruptIfRunning) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

     */
    @GwtCompatible
    @NullMarked
    public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> {
      // TODO: expose allow nulls parameter?
    
      public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) {
        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       */
      private static final class TransformingSequentialList<
              F extends @Nullable Object, T extends @Nullable Object>
          extends AbstractSequentialList<T> implements Serializable {
        final List<F> fromList;
        final Function<? super F, ? extends T> function;
    
        TransformingSequentialList(List<F> fromList, Function<? super F, ? extends T> function) {
          this.fromList = checkNotNull(fromList);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingSetMultimap.java

     * invoke methods, they invoke methods on the {@code ForwardingSetMultimap}.
     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    public abstract class ForwardingSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMultimap<K, V> implements SetMultimap<K, V> {
      /** Constructor for use by subclasses. */
      public ForwardingSetMultimap() {}
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/SortedLists.java

         */
        LAST_BEFORE {
          @Override
          public <E extends @Nullable Object> int resultIndex(
              Comparator<? super E> comparator,
              @ParametricNullness E key,
              List<? extends E> list,
              int foundIndex) {
            return FIRST_PRESENT.resultIndex(comparator, key, list, foundIndex) - 1;
          }
        };
    
        abstract <E extends @Nullable Object> int resultIndex(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        return new Builder<K, V>((Comparator<K>) NATURAL_ORDER).putAll(entries).build();
      }
    
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries,
          Comparator<? super K> comparator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Predicates.java

       */
      private static final class CompositionPredicate<
              A extends @Nullable Object, B extends @Nullable Object>
          implements Predicate<A>, Serializable {
        final Predicate<B> p;
        final Function<A, ? extends B> f;
    
        private CompositionPredicate(Predicate<B> p, Function<A, ? extends B> f) {
          this.p = checkNotNull(p);
          this.f = checkNotNull(f);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public final class ListeningExecutorServiceTest extends TestCase {
    
      private Collection<? extends Callable<?>> recordedTasks;
      private long recordedTimeout;
      private TimeUnit recordedTimeUnit;
    
      private final ListeningExecutorService executorService = new FakeExecutorService();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top