Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 8,005 for isclass (0.11 sec)

  1. guava-tests/test/com/google/common/reflect/SubtypeTester.java

      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST =
          Ordering.natural()
              .onResultOf((List<Class<?>> params) -> params.contains(String.class))
              .compound(
                  Ordering.natural()
                      .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class)))
              .reverse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SessionRetargetResponsePacketTest {
    
        @Mock
        private InputStream mockInputStream;
    
        @Test
        void constructorShouldInitializeTypeAndLength() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableListIteratorTest extends TestCase {
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        Iterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

    import com.google.inject.Provider;
    import com.google.inject.Scope;
    import com.google.inject.name.Named;
    
    /**
     * SessionScope
     */
    public class SessionScope extends org.apache.maven.impl.di.SessionScope implements Scope {
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seed(clazz, value::get);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

     *
     * Tests focus on the wire format methods which all return 0,
     * and the toString method implementation.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbComSetInformationResponse tests")
    public class SmbComSetInformationResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private SmbComSetInformationResponse response;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2ChangeNotifyRequest functionality
     */
    @DisplayName("Smb2ChangeNotifyRequest Tests")
    @ExtendWith(MockitoExtension.class)
    class Smb2ChangeNotifyRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private byte[] testFileId;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/JoinerTest.java

        checkResult(J, OVERREPORTING_SIZE_LIST, "1-2-3");
    
        assertThrows(NullPointerException.class, () -> J.join(iterableNull));
        assertThrows(NullPointerException.class, () -> J.join(iterable1Null2));
    
        assertThrows(NullPointerException.class, () -> J.join(iterableNull.iterator()));
        assertThrows(NullPointerException.class, () -> J.join(iterable1Null2.iterator()));
      }
    
      public void testOnCharOverride() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top