Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,006 for implementations (0.23 seconds)

  1. android/guava/src/com/google/common/collect/PeekingIterator.java

      E next();
    
      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingMultiset.java

     * this case, you should override {@code add(Object)} as well, either providing your own
     * implementation, or delegating to the provided {@code standardAdd} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingMultiset}.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import java.util.Queue;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Queue} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
      private final CountDownLatch latch;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import com.google.common.collect.testing.testers.ListAddAtIndexTester;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       */
      public PatternFilenameFilter(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      /*
       * Our implementation works fine with a null `dir`. However, there's nothing in the documentation
       * of the supertype that suggests that implementations are expected to tolerate null. That said, I
       * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  8. internal/pubsub/mask.go

    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    func (t Mask) Mask() uint64 {
    	return uint64(t)
    }
    
    // Maskable implementations must return their mask as a 64 bit uint.
    type Maskable interface {
    	Mask() uint64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.ERROR;
    
    /**
     * The support class for goal implementations that requires valid/workable config.
     */
    public abstract class ConfiguredGoalSupport extends GoalSupport {
        protected ConfiguredGoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top