Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 394 for iterable (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      // Unsafe, see ImmutableSortedSetFauxverideShim.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable<E>) elements, false);
      }
    
      // Unsafe, see ImmutableSortedSetFauxverideShim.
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Joiner.java

          throws IOException {
        return appendTo(appendable, iterable(first, second, rest));
      }
    
      /**
       * Appends the string representation of each of {@code parts}, using the previously configured
       * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
       * Iterable)}, except that it does not throw {@link IOException}.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) {
        this.valueStrengths = new LinkedHashSet<>(valueStrengths);
        return this;
      }
    
      Iterable<CacheBuilder<Object, Object>> buildAllPermutations() {
        Iterable<List<Object>> combinations =
            buildCartesianProduct(
                concurrencyLevels,
                initialCapacities,
                maximumSizes,
                expireAfterWrites,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        @Keep // used reflectively by testEquals
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testNewTreeSetFromIterableDerived() {
        Iterable<Derived> iterable = asList(new Derived("foo"), new Derived("bar"));
        TreeSet<Derived> set = Sets.newTreeSet(iterable);
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetFromIterableNonGeneric() {
        Iterable<LegacyComparable> iterable =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

         *
         * @param elements the {@code Iterable} to add to the {@code ImmutableList}
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.collection.EnumerationIterator.iterable;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.util.jar.JarEntry;
    import java.util.jar.JarFile;
    import java.util.zip.ZipEntry;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

      private static void runConcurrentlyMutatedTest(
          Collection<Integer> initialContents,
          Iterable<ListFrobber> actionsToPerformConcurrently,
          WrapWithIterable wrap) {
        ConcurrentlyMutatedList<Integer> concurrentlyMutatedList =
            newConcurrentlyMutatedList(initialContents, actionsToPerformConcurrently);
    
        Iterable<Integer> iterableToCopy =
            wrap == WrapWithIterable.WRAP
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/BeanDesc.java

         *
         * @return The number of {@link PropertyDesc}
         */
        int getPropertyDescSize();
    
        /**
         * Returns an {@link Iterable} of {@link PropertyDesc}.
         *
         * @return An {@link Iterable} of {@link PropertyDesc}
         */
        Iterable<PropertyDesc> getPropertyDescs();
    
        /**
         * Returns whether the {@link FieldDesc} exists.
         *
         * @param fieldName
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

        SEQUENTIAL {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top