- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 463 for interface (0.2 sec)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Sub apply(Sub sub) { return new ForwardingSub(sub); } }); } interface Base { CharSequence getId(); } interface Sub extends Base { @Override String getId(); } private static class ForwardingSub implements Sub { private final Sub delegate;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* interface. * * <p>The {@link Suppliers} class provides common suppliers and related utilities. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/FunctionalExplained">the use of functional types</a>. * * <h3>For Java 8+ users</h3> * * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/Feature.java
import com.google.common.annotations.GwtCompatible; import java.util.Set; /** * Base class for enumerating the features of an interface to be tested. * * @param <T> The interface whose features are to be enumerated. * @author George van den Driessche */ @GwtCompatible public interface Feature<T> { /** Returns the set of features that are implied by this feature. */ Set<Feature<? super T>> getImpliedFeatures();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
public Iterable<Entry<Class, Impl>> order(List<Entry<Class, Impl>> insertionOrder) { return insertionOrder; } } private interface One {} private interface Two {} private interface Three {} private interface Four {} private interface Five {} static final class Impl implements One, Two, Three, Four, Five, Serializable { final int value; Impl(int value) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ListMultimap.java
@GwtCompatible @ElementTypesAreNonnullByDefault public interface ListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends Multimap<K, V> { /** * {@inheritDoc} * * <p>Because the values for a given key may have duplicates and follow the insertion ordering, * this method returns a {@link List}, instead of the {@link java.util.Collection} specified in * the {@link Multimap} interface. */ @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
} } // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester. private interface Outdoor {} private interface Indoor {} private interface Grocery {} private interface Electronics {} private interface ConsumerFacing<T> {} private static class Mall<T> { class Shop<ProductT> {}
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
import java.util.Collections; import java.util.Set; import junit.framework.TestCase; /** * @author George van den Driessche */ public class FeatureUtilTest extends TestCase { interface ExampleBaseInterface { void behave(); } interface ExampleDerivedInterface extends ExampleBaseInterface { void misbehave(); } enum ExampleBaseFeature implements Feature<ExampleBaseInterface> { BASE_FEATURE_1,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.4K bytes - Viewed (2) -
guava/src/com/google/common/cache/LongAddable.java
* the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * Abstract interface for objects that can concurrently add longs. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault interface LongAddable { void increment(); void add(long x); long sum();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 918 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableScheduledFuture.java
import java.util.concurrent.ScheduledFuture; import org.checkerframework.checker.nullness.qual.Nullable; /** * Helper interface to implement both {@link ListenableFuture} and {@link ScheduledFuture}. * * @author Anthony Zana * @since 15.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface ListenableScheduledFuture<V extends @Nullable Object>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Dec 14 15:53:12 GMT 2021 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
* they're fairly obscure, we've invented our own interface and class. */ Interface a = new Impl(); Interface b = new Impl(); ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b); Object[] unused1 = set.toArray(); Object[] unused2 = set.toArray(new Object[2]); } interface Interface extends Comparable<Interface> {} static class Impl implements Interface {
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)