Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSize0 (0.16 sec)

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

     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class IterablesTest extends TestCase {
    
      public void testSize0() {
        Iterable<String> iterable = Collections.emptySet();
        assertEquals(0, Iterables.size(iterable));
      }
    
      public void testSize1Collection() {
        Iterable<String> iterable = Collections.singleton("a");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class IterablesTest extends TestCase {
    
      public void testSize0() {
        Iterable<String> iterable = Collections.emptySet();
        assertEquals(0, Iterables.size(iterable));
      }
    
      public void testSize1Collection() {
        Iterable<String> iterable = Collections.singleton("a");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
Back to top