Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,655 for Equalf (0.06 sec)

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

        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

            assertTrue(r1.hashCode() == r2.hashCode());
            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2));
            assertTrue(r2.equals(r1));
    
            assertFalse(r1.equals(r3));
            assertFalse(r3.equals(r1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

            new Build().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Build().equals(null));
    
            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
            Build thing = new Build();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Build().toString());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set);
        assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d"))));
        assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set));
        assertFalse(set.equals(newHashSet(4, 5, 6)));
        assertFalse(newHashSet(4, 5, 6).equals(set));
      }
    
      public void testEquals_bothExplicitOrdering() {
        SortedSet<String> set = of("in", "the", "a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        public Spliterator<Long> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof AsList) {
            AsList that = (AsList) object;
            return this.parent.equals(that.parent);
          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

        @Override
        public Spliterator<Integer> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof AsList) {
            AsList that = (AsList) object;
            return this.parent.equals(that.parent);
          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                if ("search_log".equals(name)) {
                    return writeNdjsonResponse(id, getSearchLogNdjsonWriteCall());
                }
                if ("user_info".equals(name)) {
                    return writeNdjsonResponse(id, getUserInfoNdjsonWriteCall());
                }
                if ("click_log".equals(name)) {
                    return writeNdjsonResponse(id, getClickLogNdjsonWriteCall());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        @ParametricNullness
        public K getElement() {
          return key;
        }
    
        void updateLastKnownIndex() {
          if (lastKnownIndex == -1
              || lastKnownIndex >= size()
              || !Objects.equal(key, keys[lastKnownIndex])) {
            lastKnownIndex = indexOf(key);
          }
        }
    
        @SuppressWarnings("unchecked") // values only contains Vs
        @Override
        public int getCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
Back to top