- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for isEmpty (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> cycle = Iterators.cycle(iterable); assertTrue(cycle.hasNext()); assertEquals("a", cycle.next()); assertTrue(cycle.hasNext()); cycle.remove(); assertTrue(iterable.elements.isEmpty()); assertFalse(cycle.hasNext()); } public void testCycleNoSuchElementException() { Iterable<String> iterable = Lists.newArrayList("a"); Iterator<String> cycle = Iterators.cycle(iterable);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
.isTrue(); assertWithMessage("closingExecutor was shut down") .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS)) .isTrue(); if (!failures.isEmpty()) { StringWriter message = new StringWriter(); PrintWriter writer = new PrintWriter(message); writer.println("Expected no failures, but found:"); for (AssertionError failure : failures) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
this.evaluationListener = nextBatch; try { step.execute(listener); } finally { this.evaluationListener = original; } return nextBatch.isEmpty() ? null : nextBatch.getSource(); } private void assertMutatingMethodAllowed(String methodName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
.isTrue(); assertWithMessage("closingExecutor was shut down") .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS)) .isTrue(); if (!failures.isEmpty()) { StringWriter message = new StringWriter(); PrintWriter writer = new PrintWriter(message); writer.println("Expected no failures, but found:"); for (AssertionError failure : failures) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* @throws MalformedURLException */ public SmbFile ( URL url, CIFSContext tc ) throws MalformedURLException { super(url); if ( url.getPath() != null && !url.getPath().isEmpty() && url.getPath().charAt(0) != '/' ) { throw new MalformedURLException("Invalid SMB URL: " + url); } this.transportContext = tc; this.fileLocator = new SmbResourceLocatorImpl(tc, url);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1)