Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testToList (0.21 sec)

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

        assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty());
      }
    
      public void testToList() {
        assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList());
      }
    
      public void testToList_empty() {
        assertTrue(fluent().toList().isEmpty());
      }
    
      public void testToSortedList_withComparator() {
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        public void testToObjectArray_NoArray() throws Exception {
            ArrayUtil.toObjectArray("a");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToList() throws Exception {
            final Object a = new int[] { 1, 5 };
            final List<Integer> list = ArrayUtil.toList(a);
            assertThat(list.get(0), is(Integer.valueOf(1)));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty());
      }
    
      public void testToList() {
        assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList());
      }
    
      public void testToList_empty() {
        assertTrue(fluent().toList().isEmpty());
      }
    
      public void testToSortedList_withComparator() {
        assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
Back to top