- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 3,329 for new1 (0.02 seconds)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertThat(cache.asMap().put(entry.getKey(), newValue)).isSameInstanceAs(entry.getValue()); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertThat(cache.asMap().put(newKey, entry.getValue())).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
private final transient ConcurrentMap<E, Integer> countMap; /** * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity, * load factor, and concurrency settings. */ static <E> OldConcurrentHashMultiset<E> create() { return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>()); } @VisibleForTesting
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
ListTestSuiteBuilder.using(new DoublesAsListGenerator()).named("Doubles.asList"), ListTestSuiteBuilder.using(new DoublesAsListHeadSubListGenerator()) .named("Doubles.asList, head subList"), ListTestSuiteBuilder.using(new DoublesAsListTailSubListGenerator()) .named("Doubles.asList, tail subList"), ListTestSuiteBuilder.using(new DoublesAsListMiddleSubListGenerator())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { return new ArrayBlockingQueue<>(capacity); } // ArrayDeque /** * Creates an empty {@code ArrayDeque}. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque() { return new ArrayDeque<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableList.of( ListTestSuiteBuilder.using(new ImmutableDoubleArrayAsListGenerator()) .named("ImmutableDoubleArray.asList"), ListTestSuiteBuilder.using(new ImmutableDoubleArrayHeadSubListAsListGenerator()) .named("ImmutableDoubleArray.asList, head subList"), ListTestSuiteBuilder.using(new ImmutableDoubleArrayTailSubListAsListGenerator())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
@AndroidIncompatible // test-suite builders private static Test testsForFilter() { return CollectionTestSuiteBuilder.using( new TestStringCollectionGenerator() { @Override public Collection<String> create(String[] elements) { List<String> unfiltered = new ArrayList<>(); unfiltered.add("yyy"); Collections.addAll(unfiltered, elements);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
return new Date(((Date) src).getTime()); } if (src instanceof Calendar) { return new Date(((Calendar) src).getTimeInMillis()); } final String str = src.toString(); if (isEmpty(str)) { return null; } if (isNotEmpty(pattern)) { final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
*/ @NullUnmarked public class SubscriberTest extends TestCase { private static final Object FIXTURE_ARGUMENT = new Object(); private EventBus bus; private boolean methodCalled; private @Nullable Object methodArgument; @Override protected void setUp() throws Exception { bus = new EventBus(); methodCalled = false; methodArgument = null; } public void testCreate() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigInteger expected = new BigDecimal(p).divide(new BigDecimal(q), 0, mode).toBigIntegerExact(); assertEquals(expected, BigIntegerMath.divide(p, q, mode)); } } } } private static final BigInteger BAD_FOR_ANDROID_P = new BigInteger("-9223372036854775808"); private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1"); @GwtIncompatible // TODOCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 27.1K bytes - Click Count (0)