Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 187 for obj (0.11 sec)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

        private int value;
    
        @Override
        public Integer get() {
          return ++value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        private int value;
    
        @Override
        public Integer get() {
          return ++value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return newSession;
        }
    
        private static int repositoryHashCode(RemoteRepository repository) {
            int result = 17;
            Object obj = repository.getUrl();
            result = 31 * result + (obj != null ? obj.hashCode() : 0);
            return result;
        }
    
        private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) {
            if (p1 == p2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator ntlm = (NtlmPasswordAuthenticator) obj;
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	}
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return nil, err
    	}
    
    	obj, err := clnt.GetObject(context.Background(), bucket, object, minio.GetObjectOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	_, err = obj.Stat()
    	if err != nil {
    		return nil, err
    	}
    
    	return obj, nil
    }
    
    // TransferError will catch network errors during transfer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

          }
    
          @Override
          public int hashCode() {
            return a;
          }
    
          @Override
          public boolean equals(@Nullable Object obj) {
            return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a;
          }
    
          public boolean fullEquals(@Nullable TypeWithDuplicates other) {
            return other != null && a == other.a && b == other.b;
          }
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

            durationInNanos(refreshDuration, refreshTimeUnit));
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (this == obj) {
          return true;
        }
        if (!(obj instanceof CacheBuilderSpec)) {
          return false;
        }
        CacheBuilderSpec that = (CacheBuilderSpec) obj;
        return Objects.equal(initialCapacity, that.initialCapacity)
            && Objects.equal(maximumSize, that.maximumSize)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                    currentStream.notifyAll();
                }
            }
    
            @Override
            public void print(Object obj) {
                final PrintStream currentStream = getOutputStreamForCurrentThread();
                synchronized (currentStream) {
                    currentStream.print(obj);
                    currentStream.notifyAll();
                }
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Collections2.java

          return new OrderedPermutationIterator<E>(inputList, comparator);
        }
    
        @Override
        public boolean contains(@CheckForNull Object obj) {
          if (obj instanceof List) {
            List<?> list = (List<?>) obj;
            return isPermutation(inputList, list);
          }
          return false;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top