- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,387 for Subject (0.15 sec)
-
guava-tests/test/com/google/common/eventbus/EventBusTest.java
// Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?> // Comparable<?> isa Object StringCatcher stringCatcher = new StringCatcher(); final List<Object> objectEvents = Lists.newArrayList(); Object objCatcher = new Object() { @SuppressWarnings("unused") @Subscribe
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
// Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?> // Comparable<?> isa Object StringCatcher stringCatcher = new StringCatcher(); final List<Object> objectEvents = Lists.newArrayList(); Object objCatcher = new Object() { @SuppressWarnings("unused") @Subscribe
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
public class ChainBenchmark { @Param({"1", "2", "3", "4", "5", "6"}) int length; private Segment<Object, Object> segment; private ReferenceEntry<Object, Object> head; private @Nullable ReferenceEntry<Object, Object> chain; @SuppressWarnings("GuardedBy") @BeforeExperiment void setUp() { LocalCache<Object, Object> cache = new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
@Override public boolean equals(@CheckForNull Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } /** * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int, * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 7.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size); linkedList = Lists.newLinkedList(); for (int i = 0; i < size; i++) { Object value = new Object(); array[i] = value; arrayList.add(value);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
@GwtIncompatible // serialization private static void reserializeAndAssert(Object object) throws Exception { Object copy = reserialize(object); assertEquals(object, copy); assertEquals(object.getClass(), copy.getClass()); } @J2ktIncompatible @GwtIncompatible // serialization private static Object reserialize(Object object) throws Exception { ByteArrayOutputStream bytes = new ByteArrayOutputStream();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
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) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
standardClear(); } @Override public boolean contains(Object object) { return standardContains(object); } @Override public boolean containsAll(Collection<?> collection) { return standardContainsAll(collection); } @Override public boolean remove(Object object) { return standardRemove(object); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
@GwtIncompatible public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> { @SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2); } }; private final NavigableSet<E> delegate; public SafeTreeSet() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.8K bytes - Viewed (0)