Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 996 for useEmpty (0.05 seconds)

  1. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertThat(INSTANCE.get('a', 1)).isNull();
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
      public void testColumn() {
        assertEquals(ImmutableMap.of(), INSTANCE.column(1));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
                if (propValue != null && !propValue.isEmpty()) {
                    boolean reverseValue = false;
                    if (propValue.startsWith("!")) {
                        reverseValue = true;
                        propValue = propValue.substring(1);
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java

                String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                this.modelInterpolator = modelInterpolator;
                this.logger = logger;
            }
    
            @Override
            public ModelInterpolationException run() {
                while (!interpolationTargets.isEmpty()) {
                    Object obj = interpolationTargets.removeFirst();
    
                    try {
                        traverseObjectWithParents(obj.getClass(), obj);
                    } catch (ModelInterpolationException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/tag.go

    			default:
    				return errUnknownXMLTag
    			}
    		}
    	}
    
    	return nil
    }
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          multimap().remove(key, value);
          expectedCollection.remove(value);
    
          assertEqualIgnoringOrder(expectedCollection, collection);
          assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key));
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemovePropagatesToAsMap() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                                StringBuilder buffer = new StringBuilder(256);
    
                                if (!getSource().isEmpty()) {
                                    buffer.append(getSource());
                                }
    
                                if (getLineNumber() > 0) {
                                    if (!buffer.isEmpty()) {
                                        buffer.append(", ");
                                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          multimap().remove(key, value);
          expectedCollection.remove(value);
    
          assertEqualIgnoringOrder(expectedCollection, collection);
          assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key));
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemovePropagatesToAsMap() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multisets.java

          public boolean contains(@Nullable Object element) {
            return multiset1.contains(element) || multiset2.contains(element);
          }
    
          @Override
          public boolean isEmpty() {
            return multiset1.isEmpty() && multiset2.isEmpty();
          }
    
          @Override
          public int count(@Nullable Object element) {
            return max(multiset1.count(element), multiset2.count(element));
          }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    
    import java.text.DecimalFormat;
    import java.text.SimpleDateFormat;
    
    import org.codelibs.core.misc.Base64Util;
    
    /**
     * Utility class for conversions related to {@link String}.
     *
     * @author higa
     */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top