Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 829 for element1 (0.12 sec)

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

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return ImmutableMultiset.copyOf(elements).elementSet();
                      }
                    })
                .named("ImmutableMultiset, element set")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * Returns the project artifacts as immutable list. Elements are the project POM artifact and the artifact
         * produced by this project build, if applicable. Hence, the returned list may have one or two elements
         * (never less than 1, never more than 2), depending on project packaging.
         * <p>
         * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends
         * solely on the project packaging.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      private SafeTreeSet(NavigableSet<E> delegate) {
        this.delegate = delegate;
        for (E e : this) {
          checkValid(e);
        }
      }
    
      @Override
      public boolean add(E element) {
        return delegate.add(checkValid(element));
      }
    
      @Override
      public boolean addAll(Collection<? extends E> collection) {
        for (E e : collection) {
          checkValid(e);
        }
        return delegate.addAll(collection);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * objects per entry.  Instead we use an open-addressed hash table.  This design is basically
       * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
       * elements directly and null for empty positions, we store indices of the keys in the hash table,
       * and ABSENT for empty positions.  We then look up the keys in alternatingKeysAndValues.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

      transient @Nullable V[] values;
    
      transient int size;
      transient int modCount;
      /** Maps a bucket to the "entry" of its first element. */
      private transient int[] hashTableKToV;
      /** Maps a bucket to the "entry" of its first element. */
      private transient int[] hashTableVToK;
      /** Maps an "entry" to the "entry" that follows it in its bucket. */
      private transient int[] nextInBucketKToV;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
          this.elements = new ArrayList<E>(asList(elements));
        }
    
        @Override
        public Iterator<E> iterator() {
          return new PickyIterator();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = Helpers.copyToList(getOrderedElements());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @SuppressWarnings("unchecked")
        @Override
        public BiMap<V, K> create(Object... elements) {
          Entry<?, ?>[] entries = new Entry<?, ?>[elements.length];
          for (int i = 0; i < elements.length; i++) {
            entries[i] = reverse((Entry<K, V>) elements[i]);
          }
          return generator.create((Object[]) entries).inverse();
        }
    
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          numCallsToNewTargetIterator++;
          return Lists.newArrayList(1).iterator();
        }
    
        @Override
        protected void verify(List<Integer> elements) {
          numCallsToVerify++;
          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        }
    
        @Override
        public List<Integer> create(Object... elements) {
          Integer[] array = new Integer[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Integer) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top