Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 429 for FOO (0.01 sec)

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

      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
        assertTrue(table.contains("bar", 1));
        assertTrue(table.contains("foo", 3));
        assertFalse(table.contains("foo", 2));
        assertFalse(table.contains("bar", 3));
        assertFalse(table.contains("cat", 1));
        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals("[bar=1, foo=2, foo=3, bar=4, foo=5]", map.entries().toString());
      }
    
      public void testLinkedGetInsert() {
        ListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        List<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(0, 3);
        map.put("bar", 4);
        map.put("foo", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals((Character) 'c', table.get("foo", 3));
        }
      }
    
      public void testRowClearAndPut() {
        if (supportsRemove()) {
          table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
          Map<Integer, C> row = table.row("foo");
          assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
          table.remove("foo", 3);
          assertEquals(ImmutableMap.of(1, 'a'), row);
          table.remove("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        multimap.put("foo", 3);
        multimap.put("foo", -1);
        multimap.put(null, null);
        multimap.put("bar", 1);
        multimap.put("foo", 2);
        multimap.put(null, 0);
        multimap.put("bar", 2);
        multimap.put("bar", null);
        multimap.put("foo", null);
        multimap.put("foo", 4);
        multimap.put(null, -1);
        multimap.put("bar", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            ImmutableListMultimap.of('f', "foo", 'o', "foo", 'o', "foo"),
            ImmutableListMultimap.of("foo", 'f', "foo", 'o', "foo", 'o').inverse());
      }
    
      public void testInverseMinimizesWork() {
        ImmutableListMultimap<String, Character> multimap =
            ImmutableListMultimap.<String, Character>builder()
                .put("foo", 'f')
                .put("foo", 'o')
                .put("foo", 'o')
                .put("poo", 'p')
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            ImmutableListMultimap.of('f', "foo", 'o', "foo", 'o', "foo"),
            ImmutableListMultimap.of("foo", 'f', "foo", 'o', "foo", 'o').inverse());
      }
    
      public void testInverseMinimizesWork() {
        ImmutableListMultimap<String, Character> multimap =
            ImmutableListMultimap.<String, Character>builder()
                .put("foo", 'f')
                .put("foo", 'o')
                .put("foo", 'o')
                .put("poo", 'p')
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
        assertTrue(table.contains("bar", 1));
        assertTrue(table.contains("foo", 3));
        assertFalse(table.contains("foo", 2));
        assertFalse(table.contains("bar", 3));
        assertFalse(table.contains("cat", 1));
        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals((Character) 'c', table.get("foo", 3));
        }
      }
    
      public void testRowClearAndPut() {
        if (supportsRemove()) {
          table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
          Map<Integer, C> row = table.row("foo");
          assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
          table.remove("foo", 3);
          assertEquals(ImmutableMap.of(1, 'a'), row);
          table.remove("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top