Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5521 - 5530 of 8,165 for public (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetMultimapReplaceValuesTester<K, V>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesHandlesDuplicates() {
        List<V> values = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

     * AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under
     * Android.
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractFutureDefaultAtomicHelperTest extends TestCase {
      public void testUsingExpectedAtomicHelper() throws Exception {
        if (isJava8() || isAndroid()) {
          assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
            lru.put("bbb", "222");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/MojoExecutor.java

    import org.apache.maven.plugin.MavenPluginManager;
    import org.apache.maven.plugin.MojosExecutionStrategy;
    
    @Named("concurrent")
    @Singleton
    public class MojoExecutor extends org.apache.maven.lifecycle.internal.MojoExecutor {
    
        @Inject
        public MojoExecutor(
                BuildPluginManager pluginManager,
                MavenPluginManager mavenPluginManager,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcher.java

     *
     * @deprecated since 4.0.0
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class MavenSecDispatcher extends DefaultSecDispatcher {
        private static final String FILE_NAME = "settings-security4.xml";
    
        @Inject
        public MavenSecDispatcher(Map<String, Dispatcher> dispatchers) {
            super(dispatchers, configurationFile());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/EjbLifecycleMappingProvider.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * {@code ejb} packaging plugins bindings provider for {@code default} lifecycle.
     */
    @Named("ejb")
    @Singleton
    public final class EjbLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: ejb
        private static final String[] BINDINGS = {
            "process-resources",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/LongMath.java

     * values, see {@link com.google.common.primitives.Longs}.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    public final class LongMath {
      @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/rule.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      }
    
      private static final class ComposeFunction implements Function<Integer, String> {
        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top