Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 377 for Constructor (0.07 seconds)

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

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a collection. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        test(2),
        runtime(3),
        provided(4),
        system(5),
        runtime_plus_system(6);
    
        public static final ArtifactScopeEnum DEFAULT_SCOPE = compile;
    
        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          for (int i = 0; i < elements.length; i++) {
            builder.put(i, elements[i]);
          }
          return builder.build().values().asList();
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public SortedMapGenerators() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingQueue.java

     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingQueue<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Queue<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingQueue() {}
    
      @Override
      protected abstract Queue<E> delegate();
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      final boolean supportsFastOffset;
    
      /** Constructor for use by subclasses. */
      protected DiscreteDomain() {
        this(false);
      }
    
      /** Private constructor for built-in DiscreteDomains supporting fast offset. */
      private DiscreteDomain(boolean supportsFastOffset) {
        this.supportsFastOffset = supportsFastOffset;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

         * @return the {@link PhaseId}.
         */
        public static synchronized PhaseId of(String phase) {
            return INSTANCES.computeIfAbsent(phase, PhaseId::new);
        }
    
        /**
         * Constructor.
         *
         * @param phase the phase identifier string.
         */
        private PhaseId(String phase) {
            int phaseStart;
            if (phase.startsWith(PhaseExecutionPoint.BEFORE.prefix())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator());
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // All callers of the constructor are restricted to <K extends Enum<K>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a map. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     */
    @Deprecated
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ForwardingBlockingDeque<E> extends ForwardingDeque<E>
        implements BlockingDeque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingBlockingDeque() {}
    
      @Override
      protected abstract BlockingDeque<E> delegate();
    
      @Override
      public int remainingCapacity() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/Parameter.java

    import com.google.common.collect.ImmutableList;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedElement;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Represents a method or constructor parameter.
     *
     * @author Ben Yu
     * @since 14.0
     */
    public final class Parameter implements AnnotatedElement {
    
      private final Invokable<?, ?> declaration;
      private final int position;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top