Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for whale (0.13 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          enumMap.put(key, value);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
     * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>Note that if {@code list} is a {@code List<String>}, then {@code ImmutableList.copyOf(list)}
       * returns an {@code ImmutableList<String>} containing each of the strings in {@code list}, while
       * {@code ImmutableList.of(list)} returns an {@code ImmutableList<List<String>>} containing one
       * element (the given list itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

        long count = 0L;
        while (iterator.hasNext()) {
          iterator.next();
          count++;
        }
        return Ints.saturatedCast(count);
      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @CheckForNull Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code
       * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
       * containing each of the strings in {@code s}, while {@code ImmutableSortedMultiset.of(s)}
       * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given
       * multiset itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            return repositorySystem.createLocalRepository(repoDir);
        }
    
        @Test
        void testThatASystemScopedDependencyIsNotResolvedFromRepositories() throws Exception {
            //
            // We should get a whole slew of dependencies resolving this artifact transitively
            //
            Dependency d = new Dependency();
            d.setGroupId("org.apache.maven.its");
            d.setArtifactId("b");
            d.setVersion("0.1");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                if (hasProjectExpression(s)) {
                    String path = pathSupplier.get();
                    Matcher matcher = EXPRESSION_PROJECT_NAME_PATTERN.matcher(s);
                    while (matcher.find()) {
                        String propertyName = matcher.group(0);
    
                        if (path.startsWith("activation.file.") && "${project.basedir}".equals(propertyName)) {
                            continue;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * ...
       * synchronized (multimap) {  // Synchronizing on multimap, not values!
       *   Iterator<V> i = values.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top