Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,685 for Equalf (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            if (model != null) {
                Build build = model.getBuild();
                if (build != null) {
                    for (Plugin plugin : build.getPlugins()) {
                        if (groupId.equals(plugin.getGroupId()) && artifactId.equals(plugin.getArtifactId())) {
                            return plugin;
                        }
                    }
    
                    PluginManagement mgmt = build.getPluginManagement();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
       * may be expensive depending on the value type. Using this method on range maps with large values
       * such as {@link Collection} types is discouraged.
       *
       * @since 22.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          throws BucketOverflowException {
        int bucketSize = 0;
        for (; valueBucketHead != null; valueBucketHead = valueBucketHead.getNextInValueBucket()) {
          checkNoConflict(!value.equals(valueBucketHead.getValue()), "value", entry, valueBucketHead);
          if (++bucketSize > MAX_HASH_BUCKET_LENGTH) {
            throw new BucketOverflowException();
          }
        }
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableMap.java

          Object candidateKey = entry.getKey();
    
          /*
           * Assume that equals uses the == optimization when appropriate, and that
           * it would check hash codes as an optimization when appropriate. If we
           * did these things, it would just make things worse for the most
           * performance-conscious users.
           */
          if (key.equals(candidateKey)) {
            return entry.getValue();
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationProperty().equals(null));
    
            new ActivationProperty().equals(new ActivationProperty());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationProperty thing = new ActivationProperty();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Developer().equals(null));
    
            new Developer().equals(new Developer());
        }
    
        @Test
        void testEqualsIdentity() {
            Developer thing = new Developer();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Developer().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Parent().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top