- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,161 for IsEmpty (0.1 seconds)
-
android/guava/src/com/google/common/collect/ForwardingCollection.java
Iterators.clear(iterator()); } /** * A sensible definition of {@link #isEmpty} as {@code !iterator().hasNext}. If you override * {@link #isEmpty}, you may wish to override {@link #isEmpty} to forward to this implementation. * Alternately, it may be more efficient to implement {@code isEmpty} as {@code size() == 0}. * * @since 7.0 */ protected boolean standardIsEmpty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingCollection.java
Iterators.clear(iterator()); } /** * A sensible definition of {@link #isEmpty} as {@code !iterator().hasNext}. If you override * {@link #isEmpty}, you may wish to override {@link #isEmpty} to forward to this implementation. * Alternately, it may be more efficient to implement {@code isEmpty} as {@code size() == 0}. * * @since 7.0 */ protected boolean standardIsEmpty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 8.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
&& profile.getDistributionManagement() == null && profile.getModules().isEmpty() && profile.getSubprojects().isEmpty() && profile.getProperties().isEmpty() && profile.getRepositories().isEmpty() && profile.getPluginRepositories().isEmpty() && profile.getReporting() == null; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
*/ public static final boolean isEmpty(final String text) { return text == null || text.length() == 0; } /** * Checks if the string is not empty. * * @param text the string to check * @return true if not empty, false otherwise */ public static final boolean isNotEmpty(final String text) { return !isEmpty(text); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
} assertEquals(expectedSize, size2); } @CollectionSize.Require(ZERO) public void testIsEmptyYes() { assertTrue(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmptyNo() { assertFalse(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testSizeNullKey() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
for (Range<Integer> range1 : RANGES) { for (Range<Integer> range2 : RANGES) { boolean expectRejection = range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); builder.put(range1, 1).put(range2, 2); try { ImmutableRangeMap<Integer, Integer> unused = builder.build();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
// var _ io.StringWriter = rb var _ io.ByteReader = rb var _ io.ByteWriter = rb } func TestRingBuffer_Write(t *testing.T) { rb := New(64) // check empty or full if !rb.IsEmpty() { t.Fatalf("expect IsEmpty is true but got false") } if rb.IsFull() { t.Fatalf("expect IsFull is false but got true") } if rb.Length() != 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestTestsTask.java
FileTree xpackFileTree = null; if (includeXpack.get().isEmpty() == false) { xpackPatternSet.setIncludes(includeXpack.get().stream().map(prefix -> prefix + "*/**").collect(Collectors.toList())); xpackFileTree = xpackConfigToFileTree.apply(xpackConfig).matching(xpackPatternSet); } if (includeCore.get().isEmpty() == false) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 20 21:05:16 GMT 2021 - 7.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
@Override protected abstract Map<K, V> delegate(); @Override public int size() { return delegate().size(); } @Override public boolean isEmpty() { return delegate().isEmpty(); } @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { return delegate().remove(key); } @Override public void clear() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
internal/s3select/json/args.go
) // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML. type ReaderArgs struct { ContentType string `xml:"Type"` unmarshaled bool } // IsEmpty - returns whether reader args is empty or not. func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.7K bytes - Click Count (0)