Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for e2 (0.01 sec)

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

        new IteratorTester<E>(
            4,
            MODIFIABLE,
            getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ITERATOR_REMOVE, absent = KNOWN_ORDER)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2) {
        return ImmutableSet.of(e1, e2);
      }
    
      @Override
      protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3) {
        return ImmutableSet.of(e1, e2, e3);
      }
    
      @Override
      protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3, E e4) {
        return ImmutableSet.of(e1, e2, e3, e4);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

        new IteratorTester<E>(
            4,
            MODIFIABLE,
            getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ITERATOR_REMOVE, absent = KNOWN_ORDER)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
                if (newerFirst) {
                    return v1.compareTo(v2) > 0 ? e1 : e2;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList().iterator();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertNotNull(collector.getProblems());
            assertEquals(0, collector.getProblems().size());
    
            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    Arrays.sort(sortedExits, (e1, e2) -> {
                        if (e1.getDepth() == e2.getDepth()) {
                            if (e2.getPomOrder() == e1.getPomOrder()) {
                                return e1.getTarget()
                                        .toString()
                                        .compareTo(e2.getTarget().toString());
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) {
        return construct(Ordering.natural(), 2, e1, e2);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList().iterator();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      public static ImmutableLongArray of(long e0, long e1, long e2) {
        return new ImmutableLongArray(new long[] {e0, e1, e2});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2, long e3) {
        return new ImmutableLongArray(new long[] {e0, e1, e2, e3});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top