Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,763 for object1 (0.05 seconds)

  1. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    final class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

       * Object#equals(Object)}), an {@code IllegalArgumentException} is thrown when the collection
       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
    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)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
            i++;
          }
        }
    
        Object readResolve() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Objects;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An object of this class encapsulates type mappings from type variables. Mappings are established
     * with {@link #where} and types are resolved using {@link #resolveType}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

            .testEquals();
      }
    
      public void testHashCode() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        int expected =
            Objects.hash("foo", 1, 'a') + Objects.hash("bar", 1, 'b') + Objects.hash("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

      private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
          new RangeMap<Comparable<?>, Object>() {
            @Override
            public @Nullable Object get(Comparable<?> key) {
              return null;
            }
    
            @Override
            public @Nullable Entry<Range<Comparable<?>>, Object> getEntry(Comparable<?> key) {
              return null;
            }
    
    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)
  9. android/guava/src/com/google/common/collect/Streams.java

       * This method behaves equivalently to {@linkplain #zip zipping} the stream elements into
       * temporary pair objects and then using {@link Stream#forEach} on that stream.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @Beta
      public static <A extends @Nullable Object, B extends @Nullable Object> void forEachPair(
          Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.plugin.Log;
    import org.slf4j.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    public class DefaultLog implements Log {
        private final Logger logger;
    
        public DefaultLog(Logger logger) {
            this.logger = requireNonNull(logger);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top