Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 424 for tablist (0.08 sec)

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

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#tables">{@code Tables}</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Tables {
      private Tables() {}
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
      public static class CharactersOfStringGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Lists.java

       * lists are sublist views of the original list, produced on demand using {@link List#subList(int,
       * int)}, and are subject to all the usual caveats about modification as explained in that API.
       *
       * @param list the list to return consecutive sublists of
       * @param size the desired size of each sublist (the last may be smaller)
       * @return a list of consecutive sublists
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final List<String> tagList = new ArrayList<>(item1.getTags().length + item2.getTags().length);
            Collections.addAll(tagList, item1.getTags());
            for (final String tag : item2.getTags()) {
                if (!tagList.contains(tag)) {
                    tagList.add(tag);
                }
            }
            mergedItem.tags = tagList.toArray(new String[tagList.size()]);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator);
          builder.add(BEFORE_FIRST);
          builder.add(elements);
          builder.add(AFTER_LAST);
          return builder.build().asList().subList(1, elements.length + 1);
        }
      }
    
      public static class ImmutableSortedSetSubsetAsListSubListGenerator
          extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
        multimap.put("foo", 6);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> subList = getList().subList(1, 3);
        getList().set(1, e3());
        assertEquals(
            "A set() call to a list after a sublist has been created "
                + "should be reflected in the sublist",
            asList(e3(), e2()),
            subList);
      }
    
      public void testSubList_ofSubListEmpty() {
        List<E> subList = getList().subList(0, 0).subList(0, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> subList = getList().subList(1, 3);
        getList().set(1, e3());
        assertEquals(
            "A set() call to a list after a sublist has been created "
                + "should be reflected in the sublist",
            asList(e3(), e2()),
            subList);
      }
    
      public void testSubList_ofSubListEmpty() {
        List<E> subList = getList().subList(0, 0).subList(0, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top