Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,083 for instance2 (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/Base.java

      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof Base) {
          return s.equals(((Base) other).s);
        } else {
          return false;
        }
      }
    
      @Override
      public int compareTo(Base o) {
        return s.compareTo(o.s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         * @return The converted {@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigInteger) {
                return (BigInteger) o;
            } else {
                final Long l = LongConversionUtil.toLong(o, pattern);
                if (l == null) {
                    return null;
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

          Entry<E> entry = entriesArray[i];
          int count = entry.getCount();
          size += count;
          E element = checkNotNull(entry.getElement());
          delegateMap.put(element, count);
          if (!(entry instanceof Multisets.ImmutableEntry)) {
            entriesArray[i] = Multisets.immutableEntry(element, count);
          }
        }
        return new JdkBackedImmutableMultiset<>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @return the maven version, never {@code null}
         */
        @Nonnull
        Version getMavenVersion();
    
        /**
         * Retrieves the settings for the current session.
         *
         * @return the settings instance
         */
        @Nonnull
        Settings getSettings();
    
        /**
         * Retrieves toolchain models that have been explicitly configured.
         *
         * @return the toolchain models
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                Smb2WriteRequest writeRequest = new Smb2WriteRequest(mockConfig, testFileId);
                assertNotNull(writeRequest);
                assertTrue(writeRequest instanceof ServerMessageBlock2Request);
                assertTrue(writeRequest instanceof RequestWithFileId);
            }
    
            @Test
            @DisplayName("Should initialize with SMB2_WRITE command")
            void testCommandInitialization() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/CIFSExceptionTest.java

            // When
            CIFSException exception = new CIFSException(message);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertTrue(exception instanceof IOException);
        }
    
        @Test
        @DisplayName("Should create CIFSException with message and cause")
        void testCIFSExceptionWithCause() {
            // Given
            String message = "CIFS operation failed";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparatorOrdering.java

        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ComparatorOrdering) {
          ComparatorOrdering<?> that = (ComparatorOrdering<?>) object;
          return this.comparator.equals(that.comparator);
        }
        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
    - 1.9K bytes
    - Viewed (0)
Back to top