Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for apply (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                        Object key = getDependencyKey().apply(dependency);
                        dependencies.put(key, dependency);
                    }
    
                    boolean modified = false;
                    for (Dependency managedDependency : dependencyManagement.getDependencies()) {
                        Object key = getDependencyKey().apply(managedDependency);
                        Dependency dependency = dependencies.get(key);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertTrue(MoreFiles.isDirectory().apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir));
    
          assertFalse(MoreFiles.isDirectory().apply(symlinkToFile));
          assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile));
    
          assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        fun client(client: OkHttpClient) =
          apply {
            this.client = client
          }
    
        fun url(url: HttpUrl) =
          apply {
            this.url = url
          }
    
        fun includeIPv6(includeIPv6: Boolean) =
          apply {
            this.includeIPv6 = includeIPv6
          }
    
        fun post(post: Boolean) =
          apply {
            this.post = post
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        }
    
        protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) {
            for (O option : options) {
                Optional<T> o = getter.apply(option);
                if (o.isPresent()) {
                    return o;
                }
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                if (userSettingsFileStr != null) {
                    userSettingsFile = context.userResolver.apply(userSettingsFileStr);
                }
            }
    
            Path projectSettingsFile = null;
    
            if (mavenOptions.altProjectSettings().isPresent()) {
                projectSettingsFile =
                        context.cwdResolver.apply(mavenOptions.altProjectSettings().get());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              C filtered = filter(createUnfiltered(contents), EVEN);
              try {
                assertEquals(expectedResult, filtered.add(toAdd));
                assertTrue(EVEN.apply(toAdd));
              } catch (IllegalArgumentException e) {
                assertFalse(EVEN.apply(toAdd));
              }
            }
          }
        }
    
        public void testRemove() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        managedPlugins.put(key, element);
                    }
    
                    List<Plugin> newPlugins = new ArrayList<>();
                    for (Plugin element : target.getPlugins()) {
                        Object key = getPluginKey().apply(element);
                        Plugin managedPlugin = managedPlugins.get(key);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            removeIf(
                list,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top