Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,264 for implementors (1.16 sec)

  1. android/guava/src/com/google/common/base/FinalizableSoftReference.java

     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class FinalizableSoftReference<T> extends SoftReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable soft reference.
       *
       * @param referent to softly reference
       * @param queue that should finalize the referent
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/UsingToStringOrdering.java

    import java.io.Serializable;
    
    /** An ordering that uses the natural order of the string representation of the values. */
    @GwtCompatible
    final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
      public int compare(Object left, Object right) {
        return left.toString().compareTo(right.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

     */
    @GwtCompatible
    @J2ktIncompatible
    @SuppressWarnings("EnumOrdinal") // This is one of the low-level utilities where it's suitable.
    public final class EnumMultiset<E extends Enum<E>> extends AbstractMultiset<E>
        implements Serializable {
      /** Creates an empty {@code EnumMultiset}. */
      public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) {
        return new EnumMultiset<>(type);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * String creation for testing arbitrary collections.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringCollectionGenerator implements TestCollectionGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Collection<String> create(Object... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Count.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = copyToSet(implied);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TransformedIterator.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedIterator<F extends @Nullable Object, T extends @Nullable Object>
        implements Iterator<T> {
      final Iterator<? extends F> backingIterator;
    
      TransformedIterator(Iterator<? extends F> backingIterator) {
        this.backingIterator = checkNotNull(backingIterator);
      }
    
      @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Base class for requests.
     *
     * @since 4.0.0
     */
    @Experimental
    abstract class BaseRequest<S extends ProtoSession> implements Request<S> {
    
        private final S session;
        private final RequestTrace trace;
    
        protected BaseRequest(@Nonnull S session) {
            this(session, null);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top