Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,685 for Equalf (0.05 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                        return properties;
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == ToolchainsXmlFactory.class) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        public void testEquals() throws Exception {
            assertEquals("1", true, StringUtil.equals("a", "a"));
            assertEquals("2", true, StringUtil.equals(null, null));
            assertEquals("3", false, StringUtil.equals("a", null));
            assertEquals("4", false, StringUtil.equals(null, "a"));
            assertEquals("5", false, StringUtil.equals("a", "b"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        int hashCode = 1;
        int n = size();
        for (int i = 0; i < n; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

       * {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        Stats other = (Stats) obj;
        return count == other.count
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            }
        }
    
        static class XmlConverter extends AbstractConfigurationConverter {
            @Override
            public boolean canConvert(Class<?> type) {
                return XmlNode.class.equals(type);
            }
    
            @Override
            public Object fromConfiguration(
                    final ConverterLookup lookup,
                    final PlexusConfiguration configuration,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertEquals(Objects.equal(i, j), range.contains(j));
          }
        }
      }
    
      public void testSingletonRange() {
        GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED);
        for (Integer i : IN_ORDER_VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("asMap") && m.getReturnType().equals(SortedMap.class)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ExplicitOrdering.java

          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof ExplicitOrdering) {
          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return rankMap.hashCode();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ExplicitOrdering.java

          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof ExplicitOrdering) {
          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return rankMap.hashCode();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CaseFormat.java

          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter that = (StringConverter) object;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top