Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 838 for useEmpty (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
        }
    
        @Override
        public void close() {
            isFinished.set(true);
            queue.clear();
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
        @Override
        public Iterator<E> iterator() {
          return delegate().iterator(); // manually synchronized
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
        @Override
        public Iterator<E> iterator() {
          return delegate().iterator(); // manually synchronized
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            if (parent != null) {
                String version = parent.getVersion();
                String path = Optional.ofNullable(parent.getRelativePath()).orElse("..");
                if (version == null && !path.isEmpty()) {
                    Optional<RelativeProject> resolvedParent = resolveRelativePath(
                            pomFile, context, Paths.get(path), parent.getGroupId(), parent.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ContiguousSet.java

          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
        assertFalse(CharSource.concat(c1, c2, c3).isEmpty());
    
        CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
        assertTrue(emptyConcat.isEmpty());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        return RegularImmutableMap.get(key, keyTable, mask);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return isEmpty()
            ? ImmutableSet.<Entry<K, V>>of()
            : new ImmutableMapEntrySet.RegularEntrySet<K, V>(this, entries);
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
            map.clear();
            assertThat(map.isEmpty(), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsValue() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top