- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 838 for useEmpty (0.09 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
List<Plugin> src = source.getPlugins(); if (!src.isEmpty()) { List<Plugin> tgt = target.getPlugins(); Map<Object, Plugin> master = new LinkedHashMap<>(src.size() * 2); for (Plugin element : src) { if (element.isInherited() || !element.getExecutions().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
MutableNetwork<Integer, Object> network = networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build(); assertThat(network.nodes()).isEmpty(); assertThat(network.edges()).isEmpty(); AbstractNetworkTest.validateNetwork(network); while (network.nodes().size() < NUM_NODES) { network.addNode(gen.nextInt(NODE_POOL_SIZE)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 10 19:42:18 UTC 2024 - 4.5K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.removeAll(collection); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); } @Override public boolean contains(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.contains(object); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
onInlineContent(); visitor.onText(text); } else if (!elementStack.isEmpty() && !blockContent.contains(elementStack.getFirst())) { visitor.onText(text); } } @Override void onEnd() { while (!elementStack.isEmpty()) { visitor.onEndHtmlElement(elementStack.removeFirst()); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java
private boolean hasMethods(ClassDoc classDoc) { boolean hasMethods = false; if (!classDoc.getClassMethods().isEmpty()) { hasMethods = true; } for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) { hasMethods |= !extensionDoc.getExtensionMethods().isEmpty(); } return hasMethods; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java
boolean hasProperties = false; if (!classDoc.getClassProperties().isEmpty()) { hasProperties = true; } for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) { hasProperties |= !extensionDoc.getExtensionProperties().isEmpty(); } return hasProperties; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
} @Override @CheckForNull public Entry<E> firstEntry() { return isEmpty() ? null : getEntry(0); } @Override @CheckForNull public Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override public int count(@CheckForNull Object element) { int index = elementSet.indexOf(element);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" } } fun idleConnectionCount(): Int { return connections.count { it.withLock { it.calls.isEmpty() } } } fun connectionCount(): Int { return connections.size } /** * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements); int tooHigh = set.isEmpty() ? 0 : set.last() + 1; set.add(tooHigh); return checkedCreate(set).headSet(tooHigh); } } public static class ContiguousSetTailsetGenerator extends AbstractContiguousSetGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0)