- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 314 for comparator (0.11 sec)
-
android/guava/src/com/google/common/math/ToDoubleRounder.java
throw new ArithmeticException(x + " cannot be represented precisely as a double"); } } X roundArbitrarilyAsX = toX(roundArbitrarily, RoundingMode.UNNECESSARY); int cmpXToRoundArbitrarily = x.compareTo(roundArbitrarilyAsX); switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(cmpXToRoundArbitrarily == 0); return roundArbitrarily; case FLOOR:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
} /** {@inheritDoc} */ public boolean isSnapshot() { return artifact.isSnapshot(); } /** {@inheritDoc} */ public int compareTo(Artifact a) { return artifact.compareTo(a); } /** {@inheritDoc} */ public void setResolved(boolean resolved) { artifact.setResolved(resolved); } /** {@inheritDoc} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
#### Corrija com o `secrets.compare_digest()` Mas em nosso código já estamos utilizando o `secrets.compare_digest()`. Resumindo, levará o mesmo tempo para comparar `stanleyjobsox` com `stanleyjobson` do que comparar `johndoe` com `stanleyjobson`. E o mesmo para a senha. Deste modo, ao utilizar `secrets.compare_digest()` no código de sua aplicação, ela estará a salvo contra toda essa gama de ataques de segurança.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@Override @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method. ContiguousSet<C> subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) { if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) { // Range would reject our attempt to create (x, x). return new EmptyContiguousSet<>(domain); } return intersectionInCurrentDomain( Range.range(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* <li>{@link RangeSet} * <li>{@link DiscreteDomain} * <li>{@link ContiguousSet} * </ul> * * <h2>Classes of static utility methods</h2> * * <ul> * <li>{@link Collections2} * <li>{@link Comparators} * <li>{@link Iterables} * <li>{@link Iterators} * <li>{@link Lists} * <li>{@link Maps} * <li>{@link MoreCollectors} * <li>{@link Multimaps} * <li>{@link Multisets}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/package-info.java
* <li>{@link RangeSet} * <li>{@link DiscreteDomain} * <li>{@link ContiguousSet} * </ul> * * <h2>Classes of static utility methods</h2> * * <ul> * <li>{@link Collections2} * <li>{@link Comparators} * <li>{@link Iterables} * <li>{@link Iterators} * <li>{@link Lists} * <li>{@link Maps} * <li>{@link MoreCollectors} * <li>{@link Multimaps} * <li>{@link Multisets}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
* The lifecycle states of a service. * * <p>The ordering of the {@link State} enum is defined such that if there is a state transition * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if * {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition * {@code A -> B}. * * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State}) */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
return state().compareTo(RUNNING) >= 0; } } private final Guard isStopped = new IsStoppedGuard(); @WeakOuter private final class IsStoppedGuard extends Guard { IsStoppedGuard() { super(AbstractService.this.monitor); } @Override public boolean isSatisfied() { return state().compareTo(TERMINATED) >= 0; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
@Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() { Ordering<@Nullable Comparable<?>> result = nullsFirst; if (result == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 1.6K bytes - Viewed (0)