- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 5,171 for New (0.73 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
Type t1 = new TypeCapture<T1>() {}.capture(); Type t2 = new TypeCapture<T2>() {}.capture(); assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1)); } public <T> void testWhere_genericArrayMapping() { Type t = new TypeCapture<T>() {}.capture(); assertEquals( String.class, new TypeResolver() .where(new TypeCapture<T[]>() {}.capture(), String[].class)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
switch (previous) { case NEW: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(NEW); break; case STARTING: snapshot = new StateSnapshot(STARTING, true, null); enqueueStoppingEvent(STARTING); doCancelStart(); break; case RUNNING: snapshot = new StateSnapshot(STOPPING);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object one = new Object(); assertNull(map.put(one, one)); assertSame(one, map.get(one)); assertTrue(map.containsKey(one)); assertTrue(map.containsValue(one)); Object two = new Object(); assertSame(one, map.replace(one, two)); assertTrue(map.containsKey(one)); assertFalse(map.containsValue(one)); Object three = new Object();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 12.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
List<Object> list = new ArrayList<>(); Helpers.assertEmpty(list); Helpers.assertEmpty( new Iterable<Object>() { @Override public Iterator<Object> iterator() { return Collections.emptyList().iterator(); } }); list.add("a"); try { Helpers.assertEmpty(list); throw new Error();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
* * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() { return new TestsForMapsInJavaUtil().allTests(); } public Test allTests() { TestSuite suite = new TestSuite("java.util Maps"); suite.addTest(testsForCheckedMap()); suite.addTest(testsForCheckedNavigableMap()); suite.addTest(testsForCheckedSortedMap());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead); assertEquals(expectedHash, in.hash()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 02 16:24:50 GMT 2020 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
* * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() { return new TestsForMapsInJavaUtil().allTests(); } public Test allTests() { TestSuite suite = new TestSuite("java.util Maps"); suite.addTest(testsForCheckedMap()); suite.addTest(testsForCheckedSortedMap()); suite.addTest(testsForEmptyMap());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 17K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
if (size < 0) { throw new IllegalArgumentException(String.format("Invalid size: %s", size)); } return newDataOutput(new ByteArrayOutputStream(size)); } /** * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code * ByteArrayOutputStream}. The given output stream is not reset before being written to by the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
new SessionScopeModule(container.lookup(SessionScope.class)), new MojoExecutionScopeModule(container.lookup(MojoExecutionScope.class)), new PluginConfigurationModule(plugin.getDelegate())); } catch (ComponentLookupException | CycleDetectedInComponentGraphException e) { throw new PluginContainerException( plugin,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 42.5K bytes - Viewed (0)