Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,183 for foo (0.13 sec)

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

        assertFalse(entries.remove(Maps.immutableEntry("foo", Collections.singleton(2))));
        assertTrue(map.containsKey("foo"));
        assertTrue(entries.contains(Maps.immutableEntry("foo", Collections.singleton(1))));
        assertTrue(entries.remove(Maps.immutableEntry("foo", Collections.singleton(1))));
        assertFalse(map.containsKey("foo"));
      }
    
      public void testForMapGetIteration() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
        public interface Foo<T1, T2> {
    
            /**
             * @param foo
             * @return T2
             */
            T2 foo(T1 foo);
        }
    
        /**
         *
         */
        public interface Bar extends Foo<Integer, Long> {
        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        table1.put("foo", 1, 'a');
        assertEquals((Character) 'a', table1.get("foo", 1));
    
        Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0);
        table2.put("foo", 1, 'a');
        assertEquals((Character) 'a', table2.get("foo", 1));
    
        Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20);
        table3.put("foo", 1, 'a');
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     *
     * <p>For example:
     *
     * <pre>{@code
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }</pre>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     *
     * <p>For example:
     *
     * <pre>{@code
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }</pre>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. tests/test_ambiguous_params.py

        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Dec 12 00:22:47 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
              "foo.bar.com",
              "foo.ca",
              "foo.bar.ca",
              "foo.blogspot.com",
              "foo.blogspot.co.uk",
              "foo.uk.com",
              "foo.bar.co.il",
              "state.CA.us",
              "www.state.pa.us",
              "pvt.k12.ca.us",
              "www.google.com",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertSize(3);
        assertEquals((Character) 'd', table.put("foo", 1, cellValue('d')));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top