- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,161 for IsEmpty (0.21 seconds)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
// Check resolver order assertNotNull(testConfig.getResolveOrder()); assertFalse(testConfig.getResolveOrder().isEmpty()); // Check protocol versions assertNotNull(testConfig.getMinimumVersion()); assertNotNull(testConfig.getMaximumVersion()); // Check disallow compoundCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
List<Object> buf = new ArrayList<>(); int elements = Queues.drain(q, buf, -1, MAX_VALUE, NANOSECONDS); assertEquals(0, elements); assertThat(buf).isEmpty(); // Free the producer thread, and give subsequent tests a clean slate. q.take(); } public void testDrain_throws() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(UnsignedBytes.toString((byte) i, radix)).isEqualTo(Integer.toString(i, radix)); } } } public void testJoin() { assertThat(UnsignedBytes.join(",", new byte[] {})).isEmpty(); assertThat(UnsignedBytes.join(",", new byte[] {(byte) 1})).isEqualTo("1"); assertThat(UnsignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
q.add(element); } else { assertEqualsUsingSeed(seed, control.poll(), q.pollFirst()); } } while (!control.isEmpty()) { assertEqualsUsingSeed(seed, control.poll(), q.pollFirst()); } assertTrue(q.isEmpty()); } public void testExhaustive_pollAndPush() { int size = 5; List<Integer> expected = createOrderedList(size);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
result.get(10, SECONDS); } // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect. } assertThat(logHandler.getStoredLogRecords()).isEmpty(); } public void testAvoidsStackOverflow_manySubmitted() throws Exception { SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* {@link ForwardingMultiset#clear}, {@link ForwardingMultiset#contains}, {@link * ForwardingMultiset#containsAll}, {@link ForwardingMultiset#count}, {@link * ForwardingMultiset#isEmpty}, the {@link Set#size} and {@link Set#iterator} methods of {@link * ForwardingMultiset#entrySet}, and {@link ForwardingMultiset#remove(Object, int)}. In manyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
this.columnNumber = location.getColumnNumber(); this.source = location.getSource() != null ? new InputSource(location.getSource()) : null; this.locations = location.getLocations().isEmpty() ? null : location.getLocations().entrySet().stream() .collect(Collectors.toMap( e -> e.getKey(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); subset.clear(); assertThat(elementSet).containsExactly("a", "f").inOrder(); assertThat(subset).isEmpty(); assertEquals(3, ms.size()); } public void testCustomComparator() throws Exception { Comparator<String> comparator = new Comparator<String>() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
} public void testEmptyRangeSubMultiset(SortedMultiset<E> multiset) { assertTrue(multiset.isEmpty()); assertEquals(0, multiset.size()); assertEquals(0, multiset.toArray().length); assertTrue(multiset.entrySet().isEmpty()); assertFalse(multiset.iterator().hasNext()); assertEquals(0, multiset.entrySet().size());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
return new EntrySet(); } @Override int distinctElements() { return countMap.size(); } @Override public boolean isEmpty() { return countMap.isEmpty(); } @Override Iterator<Entry<E>> entryIterator() { // AbstractIterator makes this fairly clean, but it doesn't support remove(). To support
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0)