Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testCopyOf (0.08 sec)

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

        assertThat(copy.rowKeySet()).containsExactlyElementsIn(original.rowKeySet()).inOrder();
        assertThat(copy.values()).containsExactlyElementsIn(original.values()).inOrder();
      }
    
      public void testCopyOf() {
        Table<Character, Integer, String> table = TreeBasedTable.create();
        validateTableCopies(table);
        table.put('b', 2, "foo");
        validateTableCopies(table);
        table.put('b', 1, "bar");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(singletonMap("one", 1));
        assertMapEquals(copy, "one", 1);
        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
      public void testCopyOf() {
        Map<String, Integer> original = new LinkedHashMap<>();
        original.put("one", 1);
        original.put("two", 2);
        original.put("three", 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThat(multimap.get("a")).containsExactly(5, 2).inOrder();
        assertThat(multimap.get("b")).containsExactly(6, 3).inOrder();
      }
    
      public void testCopyOf() {
        ArrayListMultimap<String, Integer> input = ArrayListMultimap.create();
        input.put("foo", 1);
        input.put("bar", 2);
        input.put("foo", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(
            Collections.reverseOrder(),
            ((ImmutableSortedSet<Integer>) multimap.asMap().get("a")).comparator());
      }
    
      public void testCopyOf() {
        HashMultimap<String, Integer> input = HashMultimap.create();
        input.put("foo", 1);
        input.put("bar", 2);
        input.put("foo", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThat(multimap.get("a")).containsExactly(5, 2).inOrder();
        assertThat(multimap.get("b")).containsExactly(6, 3).inOrder();
      }
    
      public void testCopyOf() {
        ArrayListMultimap<String, Integer> input = ArrayListMultimap.create();
        input.put("foo", 1);
        input.put("bar", 2);
        input.put("foo", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(singletonMap("one", 1));
        assertMapEquals(copy, "one", 1);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      public void testCopyOf() {
        Map<String, Integer> original = new LinkedHashMap<>();
        original.put("one", 1);
        original.put("two", 2);
        original.put("three", 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(singletonMap("one", 1));
        assertMapEquals(copy, "one", 1);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      public void testCopyOf() {
        Map<String, Integer> original = new LinkedHashMap<>();
        original.put("one", 1);
        original.put("two", 2);
        original.put("three", 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top