Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,685 for Equalf (0.1 sec)

  1. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.equals(((UniAddress)obj).addr);
        }
    /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof DfsReferralData ) ) {
                return false;
            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
Back to top