Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,726 for Equalf (0.06 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An expanded {@code Iterable} API, providing functionality similar to Java 8's powerful <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         */
        static boolean isInScope(Artifact artifact, Artifact nodeArtifact) {
            return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId())
                    && Objects.equals(artifact.getArtifactId(), nodeArtifact.getArtifactId())
                    && Objects.equals(artifact.getVersion(), nodeArtifact.getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/cnieventclient_test.go

    		data, err := io.ReadAll(req.Body)
    		assert.NoError(t, err)
    
    		var msg nodeagent.CNIPluginAddEvent
    		err = json.Unmarshal(data, &msg)
    		assert.NoError(t, err)
    		assert.Equal(t, msg.PodName, testPod)
    		assert.Equal(t, msg.PodNamespace, testNS)
    		assert.Equal(t, msg.Netns, fakeCmdArgs.Netns)
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

          }
        }
        return result;
      }
    
      /**
       * Determines whether two iterators contain equal elements in the same order. More specifically,
       * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same
       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. 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)
  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