Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 373 for obj (0.02 sec)

  1. guava/src/com/google/common/graph/ElementOrder.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ElementOrder)) {
          return false;
        }
    
        ElementOrder<?> other = (ElementOrder<?>) obj;
        return (type == other.type) && Objects.equal(comparator, other.comparator);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/lock-rest-server-common_test.go

    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * is based on the integer IP address and not the string representation.
     */ 
    
        public boolean equals( Object obj ) {
            return ( obj != null ) && ( obj instanceof NbtAddress ) &&
                                            ( ((NbtAddress)obj).address == address );
        }
    
    /** 
     * Returns the {@link java.lang.String} representaion of this address.
     */ 
    
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final Object obj = source.get(s);
                        if (obj instanceof Date) {
                            return false;
                        }
                        return !validateDateTimeString(source.get(s));
                    }).collect(Collectors.toList()));
        }
    
        default boolean validateDateTimeString(final Object obj) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return result;
        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
    
            ArtifactRepository other = (ArtifactRepository) obj;
    
            return eq(getId(), other.getId());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

        // needed for serialization
        AbstractCell() {}
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Cell) {
            Cell<?, ?, ?> other = (Cell<?, ?, ?>) obj;
            return Objects.equal(getRowKey(), other.getRowKey())
                && Objects.equal(getColumnKey(), other.getColumnKey())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Parameter.java

      public AnnotatedType getAnnotatedType() {
        return requireNonNull((AnnotatedType) annotatedType);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. android/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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top