Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 858 for element1 (0.1 sec)

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

      private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) {
        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                      @Override
                      protected NavigableSet<String> create(String[] elements) {
                        TreeMultimap<String, Integer> multimap =
                            TreeMultimap.create(Ordering.natural().nullsFirst(), Ordering.natural());
                        for (int i = 0; i < elements.length; i++) {
                          multimap.put(elements[i], i);
                        }
                        return multimap.keySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

      Iterable<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingQueue.java

        }
      }
    
      /**
       * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
       * #element}, you may wish to override {@link #peek} to forward to this implementation.
       *
       * @since 7.0
       */
      @CheckForNull
      protected E standardPeek() {
        try {
          return element();
        } catch (NoSuchElementException caught) {
          return null;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  7. compat/maven-repository-metadata/src/site/apt/index.apt

     [[1]] in a "groupId" directory: a "groupId" directory may contain Maven plugins artifacts, which are described in metadata's <<<plugins>>> element,
    
     [[2]] in a "groupId/artifactId" directory: metadata describes <<<groupId>>>, <<<artifactId>>> and <<<versioning>>> element that
           gives data about available versions (<<<latest>>>, <<<release>>>, <<<versions>>> list and <<<lastUpdated>>>),
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/annotations/GwtCompatible.java

     *
     * <pre>
     * {@literal @}GwtCompatible
     * class Lists {
     *   ...
     *   {@literal @}GwtCompatible(serializable = true)
     *   {@literal static <E> List<E>} newArrayList(E... elements) {
     *     ...
     *   }
     * }
     * </pre>
     *
     * <p>The return value of {@code Lists.newArrayList(E[])} has GWT serializable type. It is also
     * useful in specifying contracts of interface methods. In the following example,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

            }
    
            return type.cast(object);
        }
    
    
        /**
         * 
         * @param type
         * @param enumeration
         * @return next element from enumeration cast to type
         * @throws PACDecodingException
         */
        public static <T extends Object> T as ( Class<T> type, Enumeration<?> enumeration ) throws PACDecodingException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

       */
    
      public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
          extends TestCase {
        abstract C createUnfiltered(Iterable<Integer> contents);
    
        abstract C filter(C elements, Predicate<? super Integer> predicate);
    
        public void testIterationOrderPreserved() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C unfiltered = createUnfiltered(contents);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top