Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for FoO (0.02 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[(bar,1)=b, (foo,1)=a, (foo,3)=c]", table.cellSet().toString());
      }
    
      public void testRowKeySetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[bar, foo]", table.rowKeySet().toString());
      }
    
      public void testValuesToString_ordered() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. 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)
  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. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertFalse(entry("foo", 1).equals(control("bar", 1)));
        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
        assertFalse(entry(NE, 1).equals(control("bar", 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Foo> natural = Ordering.natural();
        Comparator<Foo> reverse = Collections.reverseOrder(natural);
        Foo a = new Foo(1);
        Foo b = new Foo(1);
        assertThat(min(a, b, reverse)).isSameInstanceAs(a);
        assertThat(max(a, b, reverse)).isSameInstanceAs(a);
      }
    
      private static class Foo implements Comparable<Foo> {
        final Integer value;
    
        Foo(int value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      }
    
      public void testToString() {
        assertEquals("foo=1", entry("foo", 1).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null=1", entry(NK, 1).toString());
        assertEquals("foo=null", entry("foo", NV).toString());
        assertEquals("null=null", entry(NK, NV).toString());
      }
    
      public void testEquals() {
        Entry<String, Integer> foo1 = entry("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertEquals(ImmutableTable.of(), builder.build());
        assertEquals(ImmutableTable.of('a', 1, "foo"), builder.put('a', 1, "foo").build());
        Table<Character, Integer, String> expectedTable = HashBasedTable.create();
        expectedTable.put('a', 1, "foo");
        expectedTable.put('b', 1, "bar");
        expectedTable.put('a', 2, "baz");
        Table<Character, Integer, String> otherTable = HashBasedTable.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top