Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 306 for addable (0.04 sec)

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

      }
    
      @Override
      public boolean add(@Nullable E o) {
        assertTrue(Thread.holdsLock(mutex));
        return super.add(o);
      }
    
      @Override
      public boolean addAll(Collection<? extends E> c) {
        assertTrue(Thread.holdsLock(mutex));
        return super.addAll(c);
      }
    
      @Override
      public void clear() {
        assertTrue(Thread.holdsLock(mutex));
        super.clear();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = new ArrayList<>(elementsInSet);
          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                return newKinds;
            }
            if (newKinds == null) {
                return kinds;
            }
    
            final List<Kind> list = new ArrayList<>(kinds.length + newKinds.length);
            list.addAll(Arrays.asList(kinds));
            for (final Kind kind : newKinds) {
                if (!list.contains(kind)) {
                    list.add(kind);
                }
            }
            return list.toArray(new Kind[list.size()]);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @param a
         *            first array
         * @param b
         *            second array
         * @return the concatenated result array
         */
        public static <T> T[] addAll(final T[] a, final T[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public boolean add(T element) {
          return standardAdd(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public boolean addAll(int index, Collection<? extends T> elements) {
          return standardAddAll(index, elements);
        }
    
        @Override
        public void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

            if (StringUtil.isNotBlank(key)) {
                final List<String> nameList = attributes.get(key);
                if (nameList != null) {
                    list.addAll(nameList);
                }
            }
            final String value = fessConfig.getSystemProperty("saml.default.groups");
            if (StringUtil.isNotBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                }
                                if (!hasAccessToken || roleSet.isEmpty()) {
                                    roleSet.addAll(fessConfig.getSearchGuestRoleList());
                                }
                            });
                } catch (final RuntimeException e) {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      // Needed to stop Eclipse whining
      private void resetWithHole() {
        List<E> container = new ArrayList<>();
        container.addAll(nCopies(a.getCount(), a.getElement()));
        container.addAll(nCopies(c.getCount(), c.getElement()));
        super.resetContainer(getSubjectGenerator().create(container.toArray()));
        sortedMultiset = (SortedMultiset<E>) getMultiset();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> copy = new ArrayList<>();
        copy.addAll(collection);
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

                  @Override
                  public Set<String> create(String[] elements) {
                    Set<String> unfiltered = new LinkedHashSet<>();
                    unfiltered.add("yyy");
                    Collections.addAll(unfiltered, elements);
                    unfiltered.add("zzz");
                    return Sets.filter(unfiltered, Collections2Test.NOT_YYY_ZZZ);
                  }
                })
            .named("Sets.filter")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top