Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5451 - 5460 of 8,397 for KClass (0.11 sec)

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

    import org.jspecify.annotations.NullMarked;
    
    /**
     * A generator using sample elements whose hash codes all collide badly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> {
      @Override
      public SampleElements<Object> samples() {
        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedSetMultimapGetTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testValueComparator() {
        assertEquals(multimap().valueComparator(), multimap().get(k0()).comparator());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java

     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class ShellParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0]));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/UnsupportedSlf4jBindingConfiguration.java

    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.cling.logging.BaseSlf4jConfiguration;
    
    /**
     * Pseudo-configuration for unsupported SLF4J binding.
     *
     * @since 3.2.4
     */
    public class UnsupportedSlf4jBindingConfiguration extends BaseSlf4jConfiguration {
    
        /**
         * @deprecated the arguments are ignored. Use the no-args constructor.
         */
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/resources/META-INF/maven/slf4j-configuration.properties

    # specific language governing permissions and limitations
    # under the License.
    
    # key = Slf4j effective logger factory implementation
    # value = corresponding o.a.m.cli.logging.Slf4jConfiguration class
    org.slf4j.impl.SimpleLoggerFactory=org.apache.maven.cling.logging.impl.MavenSimpleConfiguration
    org.apache.maven.slf4j.MavenLoggerFactory=org.apache.maven.cling.logging.impl.MavenSimpleConfiguration
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

    /**
     * Default implementation of {@link ModelCacheFactory}.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultModelCacheFactory implements ModelCacheFactory {
        @Override
        public ModelCache createCache(RepositorySystemSession session) {
            return DefaultModelCache.newInstance(session);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/MavenExecutionException.java

     * under the License.
     */
    package org.apache.maven;
    
    import java.io.File;
    
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     */
    public class MavenExecutionException extends Exception {
        private File pomFile;
    
        public MavenExecutionException(String message, File pomFile) {
            super(message);
            this.pomFile = pomFile;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/InvalidPluginDescriptorException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    import java.util.List;
    
    /**
     * InvalidPluginDescriptorException
     */
    public class InvalidPluginDescriptorException extends Exception {
    
        public InvalidPluginDescriptorException(String message, List<String> errors) {
            super(toMessage(message, errors));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top