Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,446 for instanceOf (0.07 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (this == other) {
                return true;
            }
    
            if (other instanceof ArtifactVersion artifactVersion) {
                return compareTo(artifactVersion) == 0;
            }
    
            return false;
        }
    
        @Override
        public int compareTo(ArtifactVersion otherVersion) {
            if (otherVersion instanceof DefaultArtifactVersion defaultArtifactVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

                halted = status.isHalted();
            } else {
                // assume sensible default
                Throwable t = projectExecutionEvent.getCause();
                halted = (t instanceof RuntimeException || !(t instanceof Exception))
                        || !MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(session.getReactorFailureBehavior())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      @Override
      Set<K> createKeySet() {
        return new KeySet(map);
      }
    
      final Set<K> createMaybeNavigableKeySet() {
        if (map instanceof NavigableMap) {
          return new NavigableKeySet((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedKeySet((SortedMap<K, Collection<V>>) map);
        } else {
          return new KeySet(map);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeCapture.java

     *
     * @author Ben Yu
     */
    abstract class TypeCapture<T> {
    
      /** Returns the captured type. */
      final Type capture() {
        Type superclass = getClass().getGenericSuperclass();
        checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass);
        return ((ParameterizedType) superclass).getActualTypeArguments()[0];
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            // Verify that RequestTimeoutException is a subclass of TransportException
            RequestTimeoutException exception = new RequestTimeoutException();
            assertTrue(exception instanceof TransportException, "RequestTimeoutException should be an instance of TransportException");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                        String fullPath = currentPath + "/" + field.getName();
    
                        if (value instanceof String strValue) {
                            recordString(fullPath, strValue);
                            globalStringFrequency.merge(strValue, 1, Integer::sum);
                        } else if (value instanceof List<?> list) {
                            for (Object item : list) {
                                if (item != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof SmbNegotiationResponse);
        }
    
        @Test
        @DisplayName("Should return initial credits from getCredit")
        void testGetInitialCredits() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * all super-classes, that are annotated with {@code @Subscribe}. The cache is shared across all
       * instances of this class; this greatly improves performance if multiple EventBus instances are
       * created and objects of the same class are registered on all of them.
       */
      private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (lastModifiedObj instanceof Date) {
                return (Date) lastModifiedObj;
            }
            if (lastModifiedObj instanceof String) {
                final Date lastModified = FessFunctions.parseDate(lastModifiedObj.toString());
                if (lastModified != null) {
                    return lastModified;
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            NtTransNotifyChangeResponse response = new NtTransNotifyChangeResponse(mockConfig);
    
            // Test interface implementation
            assertTrue(response instanceof NotifyResponse);
            assertTrue(response instanceof CommonServerMessageBlockResponse);
    
            // Test initial state
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertNotNull(notifications);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top