Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for e3 (0.03 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> of(E e1, E e2, E e3) {
        return construct(e1, e2, e3);
      }
    
      /**
       * 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, E e3, E e4) {
        return construct(e1, e2, e3, e4);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

              put(e3());
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPut_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> put(e3()));
        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(Collections.nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      public void testAddAtIndex_middle() {
        getList().add(getNumElements() / 2, e3());
        expectAdded(getNumElements() / 2, e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_end() {
        getList().add(getNumElements(), e3());
        expectAdded(getNumElements(), e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

      public void testAddAll_nonEmptyList() {
        assertTrue(getMultiset().addAll(asList(e3(), e4(), e3())));
        expectAdded(e3(), e4(), e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_nonEmptyMultiset() {
        assertTrue(getMultiset().addAll(getSubjectGenerator().create(e3(), e4(), e3())));
        expectAdded(e3(), e4(), e3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAdd_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> collection.add(e3()));
        expectUnchanged();
        expectMissing(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAdd_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> collection.add(e3()));
        expectUnchanged();
        expectMissing(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      public static <E> ImmutableList<E> of(E e1, E e2, E e3) {
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3));
      }
    
      public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) {
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4));
      }
    
      public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top