Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 205 for objs (0.6 sec)

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            assertFalse(isPositive.apply(0));
            assertFalse(isPositive.apply(-1));
            assertFalse(isPositive.apply(null));
        }
    
        public void test_apply_object() {
            BooleanFunction<Object> isNotNull = obj -> obj != null;
    
            assertTrue(isNotNull.apply("test"));
            assertTrue(isNotNull.apply(123));
            assertTrue(isNotNull.apply(new Object()));
            assertFalse(isNotNull.apply(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Tables.java

        // needed for serialization
        AbstractCell() {}
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Cell) {
            Cell<?, ?, ?> other = (Cell<?, ?, ?>) obj;
            return Objects.equals(getRowKey(), other.getRowKey())
                && Objects.equals(getColumnKey(), other.getColumnKey())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    && (service == null || service.startsWith("??") || this.service.equalsIgnoreCase(service));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Function.java

        extends java.util.function.Function<F, T> {
      @Override
      @ParametricNullness
      T apply(@ParametricNullness F input);
    
      /**
       * <i>May</i> return {@code true} if {@code obj} is a {@code Function} that behaves identically to
       * this function.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

                return value;
            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj)
                    return true;
                if (obj == null || getClass() != obj.getClass())
                    return false;
                CustomTestObject other = (CustomTestObject) obj;
                return value == other.value && (name != null ? name.equals(other.name) : other.name == null);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Name.java

                result += this.scope.hashCode();
            }
            return result;
        }
    
        @Override
        public boolean equals(final Object obj) {
            Name n;
    
            if (!(obj instanceof Name)) {
                return false;
            }
            n = (Name) obj;
            if (this.scope == null && n.scope == null) {
                return this.name.equals(n.name) && this.hexCode == n.hexCode;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        private ClassificationMeta invokeMethod(Object obj, String methodName, String param) {
            try {
                java.lang.reflect.Method method = obj.getClass().getDeclaredMethod(methodName, String.class);
                method.setAccessible(true);
                return (ClassificationMeta) method.invoke(obj, param);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Subscriber.java

      public final int hashCode() {
        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top