Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fromHost (0.06 sec)

  1. guava/src/com/google/common/collect/Lists.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> List<T> transform(
          List<F> fromList, Function<? super F, ? extends T> function) {
        return (fromList instanceof RandomAccess)
            ? new TransformingRandomAccessList<>(fromList, function)
            : new TransformingSequentialList<>(fromList, function);
      }
    
      /**
       * Implementation of a sequential transforming list.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
        assertEquals(asList(6, 4, 3, 9, 2, 5), toList);
        fromList.remove(Integer.valueOf(2));
        assertEquals(asList(6, 4, 3, 9, 5), toList);
        fromList.remove(3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
        assertEquals(asList(6, 4, 3, 9, 2, 5), toList);
        fromList.remove(Integer.valueOf(2));
        assertEquals(asList(6, 4, 3, 9, 5), toList);
        fromList.remove(3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top