Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 456 for isEmpty (0.25 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        }
    
        /**
         *
         */
        @Test
        public void testIsEmpty() {
            assertTrue(ArrayUtil.isEmpty((Object[]) null));
            assertTrue(ArrayUtil.isEmpty(new Object[] {}));
            assertFalse(ArrayUtil.isEmpty(new Object[] { "" }));
            assertFalse(ArrayUtil.isEmpty(new Object[] { "aaa" }));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

            boolean attemptedToRemoveAnything = deleteRecursively(startTime, root, root, handling, failedPaths);
            if (!failedPaths.isEmpty()) {
                throwWithHelpMessage(startTime, root, handling, failedPaths, false);
            }
            return attemptedToRemoveAnything;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            if (entityList.isEmpty()) {
                return new int[] {};
            }
            return delegateBatchRequest(entityList, esEntity -> {
                return createInsertRequest(esEntity);
            });
        }
    
        protected int[] delegateBatchUpdate(List<? extends Entity> entityList, UpdateOption<? extends ConditionBean> option) {
            if (entityList.isEmpty()) {
                return new int[] {};
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                        String parameterForImplementation = parameter.getImplementation();
                        if ((attributeForImplementation == null || attributeForImplementation.isEmpty())
                                && ((parameterForImplementation != null) && !parameterForImplementation.isEmpty())) {
                            attributes.put("implementation", parameter.getImplementation());
                        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    .collect(toList());
    
            if (!injectConstructors.isEmpty()) {
                if (injectConstructors.size() > 1) {
                    throw failedImplicitBinding(key, "more than one inject constructor");
                }
                if (!injectFactoryMethods.isEmpty()) {
                    throw failedImplicitBinding(key, "both inject constructor and inject factory method are present");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.tailSet(2, false)).containsExactly(3).inOrder();
        assertThat(set.tailSet(3, false)).isEmpty();
      }
    
      public void testTailSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
      }
    
      public void testSubSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
        RegularImmutableSortedSet<Range<K>> rangeSet =
            new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering());
        return new ImmutableSortedMap<>(rangeSet, values);
      }
    
      @Override
      public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/BroadcastDispatch.java

        public static <T> BroadcastDispatch<T> empty(Class<T> type) {
            return new EmptyDispatch<T>(type);
        }
    
        public Class<T> getType() {
            return type;
        }
    
        public abstract boolean isEmpty();
    
        public abstract int size();
    
        public BroadcastDispatch<T> add(Dispatch<MethodInvocation> dispatch) {
            return add(dispatch, dispatch);
        }
    
        public BroadcastDispatch<T> add(T listener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:00:00 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

         * 最初の要素を返します。
         *
         * @return 最初の要素
         */
        public E getFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * 最後の要素を返します。
         *
         * @return 最後の要素
         */
        public E getLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                } else {
                    if (assertionError) {
                        placeholder = new PlaceholderAssertionError(type, message, getMessageExec, toString, toStringRuntimeExec, causes.isEmpty() ? null : causes.get(0));
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top