Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,597 for complements (0.06 sec)

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

        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          return ImmutableSortedMap.copyOf(asList(entries));
        }
      }
    
      public static class ImmutableSortedMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      }
    
      private void testItems() {
        for (T item : items) {
          /*
           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

                  .withTearDown(parentBuilder.getTearDown())
                  .createTestSuite());
        }
        return derivedSuites;
      }
    
      static class ReserializedSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      }
    
      private void testItems() {
        for (T item : items) {
          /*
           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

                        session, groupId, artifactId, version, classifier, extension, type);
            }
    
            private static class DefaultArtifactFactoryRequest extends BaseRequest implements ArtifactFactoryRequest {
                private final String groupId;
                private final String artifactId;
                private final String version;
                private final String classifier;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

    /**
     * Options that are "layered" by precedence order.
     *
     * @param <O> the specific type of Maven Options that are layered
     */
    public class LayeredMavenOptions<O extends MavenOptions> extends LayeredOptions<O> implements MavenOptions {
        public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) {
            List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList();
            if (o.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    import org.apache.maven.api.xml.XmlNode;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.eclipse.aether.graph.DependencyNode;
    
    public class DefaultMojoExecution implements MojoExecution {
        private final InternalMavenSession session;
        private final org.apache.maven.plugin.MojoExecution delegate;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            assertEquals(1, problems.messages.size());
            assertContains(problems.messages.get(0), "'proxies.proxy.host' for default is missing");
        }
    
        private static class SimpleProblemCollector implements SettingsProblemCollector {
    
            public List<String> messages = new ArrayList<>();
    
            public void add(Severity severity, String message, int line, int column, Exception cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top