Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testPartition_view (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertFalse(partitions.get(0) instanceof RandomAccess);
        assertFalse(partitions.get(1) instanceof RandomAccess);
      }
    
      // TODO: use the ListTestSuiteBuilder
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2, 3);
        List<List<Integer>> partitions = partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        assertFalse(partitions.get(0) instanceof RandomAccess);
        assertFalse(partitions.get(1) instanceof RandomAccess);
      }
    
      // TODO: use the ListTestSuiteBuilder
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2, 3);
        List<List<Integer>> partitions = partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 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. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<List<Integer>> partitions = Iterables.partition(source, 1);
        assertEquals(1, Iterables.size(partitions));
        assertEquals(singletonList(1), partitions.iterator().next());
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterable<List<Integer>> partitions = Iterables.partition(list, 2);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterator<Integer> source = Iterators.forArray(1, 2, 3, 4, 5, 6, 7);
            return Iterators.partition(source, 3);
          }
        }.test();
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterator<Integer> source = Iterators.forArray(1, 2, 3, 4, 5, 6, 7);
            return Iterators.partition(source, 3);
          }
        }.test();
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top