Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 366 for foo (0.12 sec)

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

        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("google", 6);
        multimap.put("foo", 3);
        multimap.put("foo", 1);
        multimap.put("foo", 7);
        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", Arrays.asList(3, 1, 2));
        multimap.putAll("foo", Arrays.asList(2, 3, 1, -1, 4));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        unfiltered.put("foo", 1);
        Multimap<String, Integer> keyFiltered = Multimaps.filterKeys(unfiltered, KEY_PREDICATE);
        Multimap<String, Integer> filtered = Multimaps.filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertTrue(filtered.containsEntry("foo", 1));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base32(), "MZXW6===", "foo"); // proper padding length
        testDecodes(base32(), "MZXW6====", "foo");
        testDecodes(base32(), "MZXW6=====", "foo");
      }
    
      public void testBase32AlternatePadding() {
        BaseEncoding enc = base32().withPadChar('~');
        testEncodingWithCasing(enc, "", "");
        testEncodingWithCasing(enc, "f", "MY~~~~~~");
        testEncodingWithCasing(enc, "fo", "MZXQ~~~~");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
        HostAndPort hpNoPort4 = HostAndPort.fromHost("[foo::123]");
        HostAndPort hpNoPort5 = HostAndPort.fromHost("foo::123");
    
        HostAndPort hpWithPort1 = HostAndPort.fromParts("[foo::123]", 80);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testFilterSimple() {
        Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
        Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.equalTo("foo"));
        List<String> expected = Collections.singletonList("foo");
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<String> equalsFoo = Predicates.equalTo("Foo");
        Predicate<String> equalsBar = Predicates.equalTo("Bar");
        Predicate<String> trimEqualsFoo = Predicates.compose(equalsFoo, trim);
        Function<String, String> identity = Functions.identity();
    
        assertTrue(trimEqualsFoo.apply("Foo"));
        assertTrue(trimEqualsFoo.apply("   Foo   "));
        assertFalse(trimEqualsFoo.apply("Foo-b-que"));
    
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            List<? super String> list) {
          return notSubtype(list);
        }
    
        // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider
        // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar>
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public UseIterable<?> explicitTypeBoundIsSubtypeOfImplicitTypeBound(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
Back to top