- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,053 for true (0.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
} else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstExclusive, false, lastInclusive, true); } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstInclusive, true, lastInclusive, true); } else { return (NavigableSet<E>) super.createSubSet(set, firstExclusive, lastExclusive); } } } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
} else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstExclusive, false, lastInclusive, true); } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstInclusive, true, lastInclusive, true); } else { return (NavigableSet<E>) super.createSubSet(set, firstExclusive, lastExclusive); } } } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
public void testNoOpScheduledExecutor() throws InterruptedException { taskDone = false; Runnable task = new Runnable() { @Override public void run() { taskDone = true; } }; ScheduledFuture<?> future = TestingExecutors.noOpScheduledExecutor().schedule(task, 10, TimeUnit.MILLISECONDS); Thread.sleep(20); assertFalse(taskDone);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public class SubMapMultimapAsMapImplementsMapTest extends AbstractMultimapAsMapImplementsMapTest { public SubMapMultimapAsMapImplementsMapTest() { super(true, true, true); } private TreeMultimap<String, Integer> createMultimap() { TreeMultimap<String, Integer> multimap = TreeMultimap.create(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
* @author Chris Povirk */ @GwtCompatible(emulated = true) @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class ListAddTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertTrue("add(present) should return true", getList().add(e0())); expectAdded(e0()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public class SubMapMultimapAsMapImplementsMapTest extends AbstractMultimapAsMapImplementsMapTest { public SubMapMultimapAsMapImplementsMapTest() { super(true, true, true); } private TreeMultimap<String, Integer> createMultimap() { TreeMultimap<String, Integer> multimap = TreeMultimap.create(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
vector.add("a"); final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); assertThat(itr.hasNext(), is(true)); assertThat(itr.next(), is("a")); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
try ( SmbTransportInternal transport = session.getTransport().unwrap(SmbTransportInternal.class) ) { assertNotNull(transport); transport.disconnect(true, true); assertNotNull(f); checkConnection(f); f.exists(); } } } catch ( Exception e ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java
Parameter parameter = new Parameter(); parameter.setType("java.lang.String[]"); parameter.setName("toAddresses"); parameter.setRequired(true); PluginParameterException exception = new PluginParameterException(mojoDescriptor, Collections.singletonList(parameter)); assertEquals(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 6.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
monitor.leave(); } } /** * Returns {@code true} if this queue contains the specified element. More formally, returns * {@code true} if and only if this queue contains at least one element {@code e} such that {@code * o.equals(e)}. * * @param o object to be checked for containment in this queue * @return {@code true} if this queue contains the specified element */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 19.5K bytes - Viewed (0)