Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 931 for Elements (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

      public void testRemoveAll_duplicate() {
        ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement();
        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

          // do nothing
        }
      }
    
      private static FluentIterable<Integer> fluent(Integer... elements) {
        return FluentIterable.from(Lists.newArrayList(elements));
      }
    
      private static Iterable<String> iterable(String... elements) {
        List<String> list = asList(elements);
        return new Iterable<String>() {
          @Override
          public Iterator<String> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableBiMap.java

    @GwtCompatible
    public abstract class ImmutableBiMap<K, V> extends ImmutableMap<K, V> implements BiMap<K, V> {
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                String url = element.'@url'
                if (url.startsWith('website:')) {
                    url = url.substring(8)
                    url = "${websiteUrl.get()}/${url}"
                    element.setAttribute('url', url)
                }
            }
        }
    
        static def findAll(Document doc, String byName) {
            doc.documentElement.depthFirst().findAll { it.name() == byName }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. internal/s3select/select.go

    	default:
    		return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s))
    	}
    
    	*c = parsedType
    	return nil
    }
    
    // InputSerialization - represents elements inside <InputSerialization/> in request XML.
    type InputSerialization struct {
    	CompressionType CompressionType    `xml:"CompressionType"`
    	CSVArgs         csv.ReaderArgs     `xml:"CSV"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

      public final AnEnum[] createKeyArray(int length) {
        return new AnEnum[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
      public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The {@code AbstractListTester} implementation overrides {@link
       * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements
       * in the list under test matches what is expected.
       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = copyToList(expectedCollection);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top