Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 7,612 for class (0.03 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
          // If parameter is Class<? extends Foo>, we return Foo.class
          @SuppressWarnings("unchecked")
          T defaultClass = (T) getFirstTypeParameter(type.getType()).getRawType();
          return defaultClass;
        }
        if (type.getRawType() == TypeToken.class) {
          // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ResourcesTest.java

          assertThrows(IllegalArgumentException.class, () -> Resources.getResource("no such resource"));
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      @AndroidIncompatible // .class files aren't available
      public void testNulls() {
        new NullPointerTester()
            .setDefault(URL.class, classfile(ResourcesTest.class))
            .testAllPublicStaticMethods(Resources.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

                    .singleton("fsClient", FileSystemClient.class)//
                    .singleton("smbClient", SmbClient.class)//
                    .singleton("smb1Client", org.codelibs.fess.crawler.client.smb1.SmbClient.class)//
                    .singleton("ftpClient", FtpClient.class)//
                    .singleton("storageClient", StorageClient.class)//
                    .singleton("clientFactory", CrawlerClientFactory.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

     * which may be a subtype of the declaring class. For example:
     *
     * <pre>{@code
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));
        assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest));
        assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         */
        ClassRealm getCoreRealm();
    
        /**
         * Gets the class realm exposing the Maven API. This is basically a restricted view on the Maven core realm.
         *
         * @return The class realm exposing the Maven API, never {@code null}.
         */
        ClassRealm getMavenApiRealm();
    
        /**
         * Gets the class realm exposing the Maven 4 API. This is basically a restricted view on the Maven core realm.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(CollectionSerializationEqualTester.class);
        testers.add(SetAddAllTester.class);
        testers.add(SetAddTester.class);
        testers.add(SetCreationTester.class);
        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            streamsToClose?.closeQuietly()
          }
        }
      }
    
      internal class Message(
        val formatOpcode: Int,
        val data: ByteString,
      )
    
      internal class Close(
        val code: Int,
        val reason: ByteString?,
        val cancelAfterCloseMillis: Long,
      )
    
      abstract class Streams(
        val client: Boolean,
        val source: BufferedSource,
        val sink: BufferedSink,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                    is CtMethod -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
                    else -> error("Unsupported japicmp member type '${member::class}'")
                }
            }
        }
    
        private
        fun KtFile.isDocumentedAsSince(version: String, declaringClass: CtClass, field: CtField): Boolean =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top