Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,013 for equals (0.15 sec)

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

        assertEquals(reference.getClass(), target.getClass());
        assertTrue(Arrays.equals(reference, target));
        assertTrue(Arrays.equals(reference, target));
    
        Object[] expectedArray1 = expectModify ? reference : starting;
        Object[] expectedArray2 = expectModify ? target : starting;
        assertTrue(Arrays.equals(expectedArray1, array1));
        assertTrue(Arrays.equals(expectedArray2, array2));
      }
    
      public void testPrependZeroElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        }
    
        static final class Pred<N> extends NodeConnection<N> {
          Pred(N node) {
            super(node);
          }
    
          @Override
          public boolean equals(@CheckForNull Object that) {
            if (that instanceof Pred) {
              return this.node.equals(((Pred<?>) that).node);
            } else {
              return false;
            }
          }
    
          @Override
          public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
                return false;
            }
            final KuromojiItem other = (KuromojiItem) obj;
            if (!Objects.equals(pos, other.pos) || !Objects.equals(reading, other.reading) || !Objects.equals(segmentation, other.segmentation)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            @SuppressWarnings("unchecked")
            Map<String, String> copy = (ArrayMap<String, String>) map.clone();
            assertThat(map.equals(copy), is(true));
            assertThat(map.equals(null), is(not(true)));
            map.put("3", "test3");
            assertThat(map.equals(copy), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToString() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                AccessorKey that = (AccessorKey) o;
                return Objects.equals(containingType, that.containingType)
                    && Objects.equals(methodName, that.methodName)
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
                        if (names.length < 2) {
                            continue;
                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug("Loading {}", entry.getName());
                        }
                        if ("view".equals(names[0])) {
                            names[0] = themeName;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                final Object accessType = r.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
                if (Constants.SEARCH_LOG_ACCESS_TYPE_JSON.equals(accessType)) {
                    return processJsonSearchPreference(r, query);
                }
                if (Constants.SEARCH_LOG_ACCESS_TYPE_GSA.equals(accessType)) {
                    return processGsaSearchPreference(r, query);
                }
                return null;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
        return construct(2, e1, e2);
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        }
                    }
                } else {
                    final Node idAttr = node.getAttributes().getNamedItem("id");
                    if (idAttr != null) {
                        final String value = idAttr.getNodeValue();
                        return id.equals(value);
                    }
                }
            }
            return false;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top