Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,094 for elementos (0.06 seconds)

  1. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
                        MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
                        for (Object object : elements) {
                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Tables.java

      private Tables() {}
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
       * specified supplier, whose cells are generated by applying the provided mapping functions to the
       * input elements. Cells are inserted into the generated {@code Table} in encounter order.
       *
       * <p>If multiple input elements map to the same row and column, an {@code IllegalStateException}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList()
    
    /** Returns an immutable list from copy of this. */
    internal fun <T> Array<out T>?.toImmutableList(): List<T> =
      when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                assertNotNull(gavs);
                assertTrue(gavs.isEmpty(), "Expected collection to be empty but had " + gavs.size() + " elements: " + gavs);
            }
    
            @Test
            @DisplayName("should deduplicate identical GAVs")
            void shouldDeduplicateIdenticalGAVs() throws Exception {
                String pomXml = """
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return delegate.order(insertionOrder);
        }
    
        @Override
        public Multiset<E> create(Object... elements) {
          return delegate.create(elements);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

            }
            return map;
          };
        }
    
        static Construction<Set<Object>> setFromElements(Supplier<Set<Object>> mutableSupplier) {
          return elements -> {
            Set<Object> set = mutableSupplier.get();
            set.addAll(elements);
            return set;
          };
        }
      }
    
      abstract static class QueryOp<T> {
        static <T> QueryOp<T> create(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/ASN1UtilTest.java

            Vector<ASN1Integer> vector = new Vector<>();
            ASN1Integer expected = new ASN1Integer(123);
            vector.add(expected);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, vector.elements());
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Enumeration_Failure() {
            // Test failed casting from enumeration
            Vector<ASN1Integer> vector = new Vector<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top