Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3091 - 3100 of 3,920 for extenders (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

    /**
     * Unit test for {@link HashMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class HashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            MultisetTestSuiteBuilder.using(hashMultisetGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
          return String.valueOf(hash);
        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Luiz-Otavio "Z" Zorzella */
    @GwtCompatible
    public class TearDownStackTest extends TestCase {
    
      private TearDownStack tearDownStack = new TearDownStack();
    
      public void testSingleTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

    import java.io.InputStream;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
     * @author Chris Nokleberg
     */
    public class MultiInputStreamTest extends IoTestCase {
    
      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

    /**
     * Tests for {@link ClosingFuture} that exercise {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}.
     */
    public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
      private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor();
      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = Executors.newCachedThreadPool();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableSet.java

     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

    import org.eclipse.aether.metadata.MergeableMetadata;
    
    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    abstract class MavenMetadata extends AbstractMetadata implements MergeableMetadata {
    
        static final String MAVEN_METADATA_XML = "maven-metadata.xml";
    
        protected Metadata metadata;
    
        private final Path path;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
            public Collection<Option> getOptions() {
                List<Option> optList = new ArrayList<>(options.getOptions());
                optList.sort(new OptionComparator());
                return optList;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

    /**
     * Parses and evaluates version ranges encountered in dependency declarations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionRangeResolver extends Service {
    
        /**
         * Expands a version range to a list of matching versions, in ascending order.
         * For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2".
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top