- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,177 for Subject (0.14 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
CountingRemovalListener<Object, Object> listener = countingRemovalListener(); LoadingCache<Object, Object> nullCache = CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader()); assertEquals(0, nullCache.size()); Object key = new Object(); assertSame(key, nullCache.getUnchecked(key)); assertEquals(1, listener.getCount()); assertEquals(0, nullCache.size());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetFloodingTest.java
enum ConstructionPathway implements Construction<Set<Object>> { OF { @Override public ImmutableSet<Object> create(List<?> list) { Object o1 = list.get(0); Object o2 = list.get(1); Object o3 = list.get(2); Object o4 = list.get(3); Object o5 = list.get(4); Object o6 = list.get(5); Object[] rest = list.subList(6, list.size()).toArray();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
if (length == 0) { return new Object[0]; } @Nullable Object[] result = new Object[length]; System.arraycopy(elements, offset, result, 0, length); return result; } @CanIgnoreReturnValue private static @Nullable Object[] fillArray(Iterable<?> elements, @Nullable Object[] array) { int i = 0; for (Object element : elements) { array[i++] = element; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 12 15:59:22 GMT 2023 - 9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
} /** * A sensible definition of {@link #subSet(Object, Object)} in terms of the {@link #subSet(Object, * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object, * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this * implementation. */ @Override protected SortedSet<E> standardSubSet(
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
*/ public static List<BlockingQueue<Object>> blockingQueues() { return ImmutableList.<BlockingQueue<Object>>of( new LinkedBlockingQueue<Object>(), new LinkedBlockingQueue<Object>(10), new SynchronousQueue<Object>(), new ArrayBlockingQueue<Object>(10), new LinkedBlockingDeque<Object>(), new LinkedBlockingDeque<Object>(10),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. * * <p>A "lock-like object" is really any object that may be used for concurrency control. If the * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
*/ public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object> Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) { return new FunctionComposition<>(g, f); } private static class FunctionComposition< A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object> implements Function<A, C>, Serializable {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
refreshes, keyStrengths, valueStrengths); return Iterables.transform( combinations, new Function<List<Object>, CacheBuilder<Object, Object>>() { @Override public CacheBuilder<Object, Object> apply(List<Object> combination) { return createCacheBuilder( (Integer) combination.get(0), (Integer) combination.get(1),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 8.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@ElementTypesAreNonnullByDefault public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[]
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@ElementTypesAreNonnullByDefault public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[]
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0)