Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 531 for hasNet (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<ArtifactRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
        /**
         * CacheRecord
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                locations = sourceLocations;
            } else {
                locations = new java.util.LinkedHashMap<>();
                for (java.util.Iterator<Integer> it = indices.iterator(); it.hasNext(); ) {
                    InputLocation location;
                    Integer index = it.next();
                    if (index.intValue() < 0) {
                        location = sourceLocations.get(Integer.valueOf(~index.intValue()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
        // We special-case for 0 or 1 elements, but going further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
          return new ImmutableList.Builder<E>().add(first).addAll(elements).build();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * amortized since some operations can trigger a hash table resize.
     *
     * <p>This implementation consumes significantly less memory than {@code java.util.LinkedHashSet} or
     * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
     * {@code java.util.LinkedHashSet}, it offers insertion-order iteration, with identical behavior.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        "ThreadPriorityCheck", // TODO: b/175898629 - Consider onSpinWait.
      })
      private void waitForInterrupt(Thread currentThread) {
        /*
         * If someone called cancel(true), it is possible that the interrupted bit hasn't been set yet.
         * Wait for the interrupting thread to set DONE. (See interruptTask().) We want to wait so that
         * the interrupting thread doesn't interrupt the _next_ thing to run on this thread.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (path.equals("\\") == false)
                    key += path;
                key = key.toLowerCase();
    
                Iterator iter = referrals.map.keySet().iterator();
                while (iter.hasNext()) {
                    String _key = (String)iter.next();
                    int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        multiset = ConcurrentHashMultiset.create();
    
        multiset.add(KEY);
        multiset.add(KEY + "_2");
        multiset.add(KEY);
    
        int mutations = 0;
        for (Iterator<String> it = multiset.iterator(); it.hasNext(); ) {
          it.next();
          it.remove();
          mutations++;
        }
        assertTrue(multiset.isEmpty());
        assertEquals(3, mutations);
      }
    
      public void testSetCount_basic() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible // hasn't been tested yet
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E>
        implements SortedMultiset<E> {
      // TODO(lowasser): GWT compatibility
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
                        for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) {
                            it.set(interpolator.interpolate(it.next()));
                        }
                    }
                    commandLineBuilder.addOption(option);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<RemoteRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top