Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 836 for IsEmpty (0.08 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead,
       * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code
       * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}.
       *
       * @param array an array of {@code boolean} values, possibly empty
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead,
       * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code
       * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}.
       *
       * @param array an array of {@code boolean} values, possibly empty
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transformedList = transform(SOME_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformSequentialIsNotEmpty() {
        List<String> transformedList = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformListIteratorRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transformedList = transform(SOME_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformSequentialIsNotEmpty() {
        List<String> transformedList = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformListIteratorRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    sb.append(LS);
                    sb.append("from the specified remote repositories:");
                    sb.append(LS).append("  ");
    
                    if (remoteRepositories.isEmpty()) {
                        sb.append("(none)");
                    }
    
                    for (Iterator<ArtifactRepository> i = remoteRepositories.iterator(); i.hasNext(); ) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public Iterator<E> iterator() {
          return standardIterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.unregister(s2);
        assertTrue(registry.getSubscribersForTesting(String.class).isEmpty());
      }
    
      public void testUnregister_notRegistered() {
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        StringSubscriber s1 = new StringSubscriber();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // -------------------------------------------------------------------------------------
    
            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            add(problem);
        }
    
        public ModelBuildingException newModelBuildingException() {
            ModelBuildingResult result = this.result;
            if (result.getModelIds().isEmpty()) {
                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                tmp.setEffectiveModel(result.getEffectiveModel());
                tmp.setProblems(getProblems());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top