Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for is_empty (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    profileSelector.getActiveProfiles(request.getProfiles(), profileActivationContext, problems);
    
            result.setActiveExternalProfiles(activeExternalProfiles);
    
            if (!activeExternalProfiles.isEmpty()) {
                Properties profileProps = new Properties();
                for (Profile profile : activeExternalProfiles) {
                    profileProps.putAll(profile.getProperties());
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(TypeToken.of(Types.supertypeOf(String[].class)).getGenericInterfaces()).isEmpty();
      }
    
      public void testGetGenericInterfaces_wildcard_boundIsClass() {
        assertThat(TypeToken.of(Types.subtypeOf(Object.class)).getGenericInterfaces()).isEmpty();
        assertThat(TypeToken.of(Types.subtypeOf(Object[].class)).getGenericInterfaces()).isEmpty();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

            for (E e : set2) {
              if (!set1.contains(e)) {
                size++;
              }
            }
            return size;
          }
    
          @Override
          public boolean isEmpty() {
            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        // ----------------------------------------------------------------------
    
        private void addPath(List<String> paths, String path) {
            if (path != null) {
                path = path.trim();
                if (!path.isEmpty()) {
                    File file = new File(path);
                    if (file.isAbsolute()) {
                        path = file.getAbsolutePath();
                    } else if (".".equals(path)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return new KeyIterator();
        }
    
        @Override
        public int size() {
          return MapMakerInternalMap.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return MapMakerInternalMap.this.isEmpty();
        }
    
        @Override
        public boolean contains(Object o) {
          return MapMakerInternalMap.this.containsKey(o);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                propMap.put(DEFAULT_SORT_VALUES, list);
            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        TreeSet<Derived> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new Derived("foo"));
        set.add(new Derived("bar"));
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetEmptyNonGeneric() {
        TreeSet<LegacyComparable> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new LegacyComparable("foo"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(higherEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return isEmpty() ? null : entrySet().asList().get(size() - 1);
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top