Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Polish (0.19 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

     *         .limit(10)
     *         .toList();
     * }</pre>
     *
     * The approximate stream equivalent is:
     *
     * <pre>{@code
     * List<String> results =
     *     database.getClientList()
     *         .stream()
     *         .filter(Client::isActiveInLastMonth)
     *         .map(Object::toString)
     *         .limit(10)
     *         .collect(Collectors.toList());
     * }</pre>
     *
     * @author Marcin Mikosik
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      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(
            Lists.newArrayList(4, 3, 2, 1),
    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)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `But then,' thought Alice, `shall I NEVER get any older than I
    am now?  That'll be a comfort, one way--never to be an old woman--
    but then--always to have lessons to learn!  Oh, I shouldn't like THAT!'
    
      `Oh, you foolish Alice!' she answered herself.  `How can you
    learn lessons in here?  Why, there's hardly room for YOU, and no
    room at all for any lesson-books!'
    
      And so she went on, taking first one side and then the other,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        if (expectedLines.isEmpty()) {
          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      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(
            Lists.newArrayList(4, 3, 2, 1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterable)} instead. (Or, change {@code elements} to be a {@link
       * FluentIterable} and call {@code elements.toList()}.)
       *
       * <p><b>Note:</b> if {@code elements} is a {@link Collection}, you don't need this method. Use
       * the {@code ArrayList} {@linkplain ArrayList#ArrayList(Collection) constructor} directly, taking
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top