Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,891 for instanceOf (1.37 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          } else {
            return Outcome.FAILURE;
          }
        } catch (InvocationTargetException targetException) {
          Throwable actualException = targetException.getTargetException();
          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        @Override
        public int hashCode() {
            return (int) this.mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock2 && ((ServerMessageBlock2) obj).mid == this.mid;
        }
    
        @Override
        public String toString() {
            String c = switch (this.command) {
            case SMB2_NEGOTIATE -> "SMB2_NEGOTIATE";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         */
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final NtlmPasswordAuthentication ntlm) {
                if (ntlm.domain.toUpperCase().equals(domain.toUpperCase()) && ntlm.username.toUpperCase().equals(username.toUpperCase())) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof NbtAddress && ((NbtAddress) obj).address == address;
        }
    
        /**
         * Returns the {@link java.lang.String} representaion of this address.
         */
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * original {@code ListenableFuture}.
       */
      public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) {
        return future instanceof FluentFuture
            ? (FluentFuture<V>) future
            : new ForwardingFluentFuture<V>(future);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            try {
                LocalArtifactRepository ideWorkspace =
                        plexus.lookup(LocalArtifactRepository.class, LocalArtifactRepository.IDE_WORKSPACE);
    
                if (request.getLocalRepository() instanceof DelegatingLocalArtifactRepository delegatingLocalRepository) {
                    LocalArtifactRepository orig = delegatingLocalRepository.getIdeWorkspace();
    
                    delegatingLocalRepository.setIdeWorkspace(ideWorkspace);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        private int value;
    
        IntHolder(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof IntHolder) && ((IntHolder) o).value == value;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        checkNotNull(rangeSet);
        if (rangeSet.isEmpty()) {
          return of();
        } else if (rangeSet.encloses(Range.all())) {
          return all();
        }
    
        if (rangeSet instanceof ImmutableRangeSet) {
          ImmutableRangeSet<C> immutableRangeSet = (ImmutableRangeSet<C>) rangeSet;
          if (!immutableRangeSet.isPartialView()) {
            return immutableRangeSet;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

       */
      @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types?
      public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) {
        return (table instanceof ArrayTable)
            ? new ArrayTable<R, C, V>((ArrayTable<R, C, V>) table)
            : new ArrayTable<R, C, V>(table);
      }
    
      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
Back to top