Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for cat (0.17 sec)

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

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5), filtered);
    
        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5), filtered);
    
        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder();
        assertThat(m)
            .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"));
    
        // try in a different order
        m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java

        unfiltered.put("apple", 2);
        unfiltered.put("banana", 6);
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 5);
    
        SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals("banana", filtered.firstKey());
        assertEquals("cat", filtered.lastKey());
      }
    
      public void testHeadSubTailMap_FilteredMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder();
        assertThat(m)
            .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"));
    
        // try in a different order
        m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      public void testCopyOfSparse() {
        Table<Character, Integer, String> table = TreeBasedTable.create();
        table.put('x', 2, "foo");
        table.put('r', 1, "bar");
        table.put('c', 3, "baz");
        table.put('b', 7, "cat");
        table.put('e', 5, "dog");
        table.put('c', 0, "axe");
        table.put('e', 3, "tub");
        table.put('r', 4, "foo");
        table.put('x', 5, "bar");
        validateTableCopies(table);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      @GwtIncompatible // unreasonably slow
      public void testKeySetIteration() {
        new IteratorTester<String>(
            6,
            MODIFIABLE,
            newLinkedHashSet(asList("foo", "bar", "baz", "dog", "cat")),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          private @Nullable Multimap<String, Integer> multimap;
    
          @Override
          protected Iterator<String> newTargetIterator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java

      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, String> table = HashBasedTable.create();
        table.put(1, "foo", "apple");
        table.put(1, "bar", "banana");
        table.put(3, "foo", "cat");
        return Tables.transformValues(table, FIRST_CHARACTER).columnMap();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ArrayTableTest.java

                + "(bar,1)=b, (bar,2)=null, (bar,3)=null, "
                + "(cat,1)=null, (cat,2)=null, (cat,3)=null]",
            table.cellSet().toString());
      }
    
      public void testRowKeySetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[foo, bar, cat]", table.rowKeySet().toString());
      }
    
      public void testColumnKeySetToString_ordered() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

                + "(bar,1)=b, (bar,2)=null, (bar,3)=null, "
                + "(cat,1)=null, (cat,2)=null, (cat,3)=null]",
            table.cellSet().toString());
      }
    
      public void testRowKeySetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[foo, bar, cat]", table.rowKeySet().toString());
      }
    
      public void testColumnKeySetToString_ordered() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top