Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,868 for instanceOf (0.07 sec)

  1. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertNull(ex.getCause(), "Cause should be null by default");
            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
         * Ensures the exception is thrown and captured via assertThrows with the right message.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        // for possible later use in exceptions, perhaps straight away.
        Object hashTablePlus = createHashTable(alternatingKeysAndValues, n, tableSize, 0);
        Object hashTable;
        if (hashTablePlus instanceof Object[]) {
          Object[] hashTableAndSizeAndDuplicate = (Object[]) hashTablePlus;
          Builder.DuplicateKey duplicateKey = (Builder.DuplicateKey) hashTableAndSizeAndDuplicate[2];
          if (builder == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/EndpointPair.java

        public boolean isOrdered() {
          return true;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
          }
          if (!(obj instanceof EndpointPair)) {
            return false;
          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

                final ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject();
                if (constructed == null || constructed.getTagClass() != BERTags.APPLICATION
                        || !(constructed.getBaseObject() instanceof ASN1Sequence)) {
                    throw new IOException("Malformed SPNEGO token " + constructed);
                }
    
                final ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ExplicitOrdering.java

        if (rank == null) {
          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof ExplicitOrdering) {
          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            return result;
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
    
            if (other instanceof Restriction restriction) {
                if (lowerBound != null) {
                    if (!lowerBound.equals(restriction.lowerBound)) {
                        return false;
                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSetMultimap<K, V> of() {
        return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        boolean hasSameComparator = fromSortedSet || hasSameComparator(elements, comparator);
        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements;
          boolean isSubset =
              (result instanceof RegularImmutableSortedSet)
                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top