Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for tablist (0.1 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. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            List<SuggestItem> items = null;
            final List<String> tagList = new ArrayList<>();
            for (final String tagFieldName : tagFieldNames) {
                tagList.addAll(Arrays.asList(getFieldValues(document, tagFieldName)));
            }
            final String[] tags = tagList.toArray(new String[tagList.size()]);
            final String[] roles = getFieldValues(document, roleFieldName);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K 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. 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)
  9. 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. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      public void testBuilderAddAll_iterable() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableList<String> list = new ImmutableList.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top