Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 66 for e1 (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]);
                    Arrays.sort(sortedExits, (e1, e2) -> {
                        if (e1.getDepth() == e2.getDepth()) {
                            if (e2.getPomOrder() == e1.getPomOrder()) {
                                return e1.getTarget()
                                        .toString()
                                        .compareTo(e2.getTarget().toString());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

         */
        List<E> disjointList = asList(e3(), e4());
        disjoint = new Target(disjointList, "disjoint");
        superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset");
        nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
        sameElements = new Target(asList(createSamplesArray()), "sameElements");
        containsDuplicates =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

       * Collections#singleton} for code consistency, {@code null} rejection, and because the return
       * type conveys the immutability guarantee.
       */
      public static <E> ImmutableSet<E> of(E e1) {
        return new SingletonImmutableSet<>(e1);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        GraphConflictResolutionPolicy policy;
        MetadataGraphEdge e1;
        MetadataGraphEdge e2;
        MetadataGraphEdge e3;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> of(E e1) {
        return new SingletonImmutableList<>(e1);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_withDuplicates() {
        MinimalCollection<E> elementsToAdd = MinimalCollection.of(e0(), e1(), e0(), e1());
        assertTrue("addAll(hasDuplicates) should return true", getList().addAll(elementsToAdd));
        expectAdded(e0(), e1(), e0(), e1());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    }
    
                    @Override
                    public int size() {
                        return 0;
                    }
                };
            }
        };
    
        static <E1, E2 extends E1> List<E1> copy(Collection<E2> collection) {
            return collection == null ? List.of() : List.copyOf(collection);
        }
    
        static <K, V> Map<K, V> copy(Map<K, V> map) {
            if (map == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableSortedSet.of(e1, e2);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2, E e3) {
        return ImmutableSortedSet.of(e1, e2, e3);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2, E e3, E e4) {
        return ImmutableSortedSet.of(e1, e2, e3, e4);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 45.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableSortedSet.of(e1, e2);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2, E e3) {
        return ImmutableSortedSet.of(e1, e2, e3);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2, E e3, E e4) {
        return ImmutableSortedSet.of(e1, e2, e3, e4);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 46.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
Back to Top