Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for New (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put(new LegacyComparable("foo"), new LegacyComparable("f"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("b"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("a"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                                new SessionScopeModule(container.lookup(SessionScope.class)),
                                new MojoExecutionScopeModule(container.lookup(MojoExecutionScope.class)),
                                new PluginConfigurationModule(plugin.getDelegate()));
            } catch (ComponentLookupException | CycleDetectedInComponentGraphException e) {
                throw new PluginContainerException(
                        plugin,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            valueSources.add(projectPrefixValueSource);
    
            valueSources.add(new MapBasedValueSource(request.getUserProperties()));
    
            valueSources.add(new MapBasedValueSource(modelProperties));
    
            valueSources.add(new MapBasedValueSource(request.getSystemProperties()));
    
            valueSources.add(new AbstractValueSource(false) {
                @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(
                    createSet(new Object[] {a.artifact, b.artifact, c.artifact, d.artifact}),
                    res.getArtifacts(),
                    "Check artifact list");
    
            ArtifactFilter filter = new ExclusionSetFilter(new String[] {"b"});
            res = collect(a, filter);
            assertEquals(createSet(new Object[] {a.artifact, c.artifact}), res.getArtifacts(), "Check artifact list");
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"wmic", "process", "get", "processid,commandline"};
            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else {
                return new String[]{"ps", "x", "-o", "pid,cmd"};
            }
        }
    
        private static boolean isWindows() {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            Set<String> scopesToCollect = new TreeSet<>();
            Set<String> scopesToResolve = new TreeSet<>();
    
            collectDependencyRequirements(scopesToResolve, scopesToCollect, mojoExecutions);
    
            return new DependencyContext(session.getCurrentProject(), scopesToCollect, scopesToResolve);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

      private final Ordering<Number> numberOrdering = new NumberOrdering();
    
      public void testAllEqual() {
        Ordering<@Nullable Object> comparator = Ordering.allEqual();
        assertSame(comparator, comparator.reverse());
    
        assertEquals(0, comparator.compare(null, null));
        assertEquals(0, comparator.compare(new Object(), new Object()));
        assertEquals(0, comparator.compare("apples", "oranges"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top