- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 121 for interfaces (0.15 sec)
-
android/guava/src/com/google/common/eventbus/EventBus.java
* * <p>Events are routed based on their type — an event will be delivered to any subscriber for * any type to which the event is assignable. This includes implemented interfaces, all * superclasses, and all interfaces implemented by superclasses. * * <p>When {@code post} is called, all registered subscribers for an event are run in sequence, so
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 25 16:37:57 GMT 2021 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
} }); /** * Flattens a class's type hierarchy into a set of {@code Class} objects including all * superclasses (transitively) and all interfaces implemented by these superclasses. */ @VisibleForTesting static ImmutableSet<Class<?>> flattenHierarchy(Class<?> concreteClass) { try { return flattenHierarchyCache.getUnchecked(concreteClass);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* the rest not null -- and the test fails if no expected exception is thrown. {@code * NullPointerTester} uses best effort to pick non-null default values for many common JDK and Guava * types, and also for interfaces and public classes that have public parameter-less constructors. * When the non-null default value for a particular parameter type cannot be provided by {@code
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* but reduces variability and avoids starvation. * * <p>This class and its iterator implement all of the optional methods of the {@link * Collection} and {@link Iterator} interfaces. * * @author Doug Lea * @author Justin T. Sampson * @param <E> the type of elements held in this collection */ // TODO(kak): consider removing some of the @CanIgnoreReturnValue annotations as appropriate
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graph.java
import javax.annotation.CheckForNull; /** * An interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data, * whose edges are anonymous entities with no identity or information of their own. * * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes. * * <p>There are three primary interfaces provided to represent graphs. In order of increasing
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 13.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(GenericDeclaration.class, Object.class) .put(Type.class, Object.class) .build(); /** * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their * default implementations and are "new"d upon get(). */ private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(GenericDeclaration.class, Object.class) .put(Type.class, Object.class) .build(); /** * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their * default implementations and are "new"d upon get(). */ private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
throw new RuntimeException(); } } private interface InterfaceStaticMethodFailsToCheckNull { static String create(String s) { return "I don't check"; } } private interface InterfaceStaticMethodChecksNull { static String create(String s) { return checkNotNull(s); } } private interface InterfaceDefaultMethodFailsToCheckNull {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0)