- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for complement (0.07 sec)
-
android/guava/src/com/google/common/collect/TreeRangeSet.java
} else { rangesByLowerBound.put(range.lowerBound, range); } } @LazyInit private transient @Nullable RangeSet<C> complement; @Override public RangeSet<C> complement() { RangeSet<C> result = complement; return (result == null) ? complement = new Complement() : result; } @VisibleForTesting static final class RangesByUpperBound<C extends Comparable<?>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
} ImmutableRangeSet<Integer> built = builder.build(); assertEquals(mutable, built); assertEquals(ImmutableRangeSet.copyOf(mutable), built); assertEquals(mutable.complement(), built.complement()); for (int i = 0; i <= 11; i++) { assertEquals(mutable.contains(i), built.contains(i)); } SerializableTester.reserializeAndAssert(built);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
this(ranges, /* complement= */ null); } private ImmutableRangeSet( ImmutableList<Range<C>> ranges, @Nullable ImmutableRangeSet<C> complement) { this.ranges = ranges; this.complement = complement; } private final transient ImmutableList<Range<C>> ranges; private final transient @Nullable ImmutableRangeSet<C> complement; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
@NullUnmarked public abstract class AbstractRangeSetTest extends TestCase { public static void testInvariants(RangeSet<?> rangeSet) { testInvariantsInternal(rangeSet); testInvariantsInternal(rangeSet.complement()); } private static <C extends Comparable<?>> void testInvariantsInternal(RangeSet<C> rangeSet) { assertEquals(rangeSet.asRanges().isEmpty(), rangeSet.isEmpty());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeSet.java
* @since 19.0 */ Set<Range<C>> asDescendingSetOfRanges(); /** * Returns a view of the complement of this {@code RangeSet}. * * <p>The returned view supports the {@link #add} operation if this {@code RangeSet} supports * {@link #remove}, and vice versa. */ RangeSet<C> complement(); /** * Returns a view of the intersection of this {@code RangeSet} with the specified range. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* {@link EnumSet#complementOf}. Otherwise, the specified collection must contain at least one * element, in order to determine the element type. If the collection could be empty, use {@link * #complementOf(Collection, Class)} instead of this method. * * @param collection the collection whose complement should be stored in the enum set
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} @J2ktIncompatible @GwtIncompatible // complementOf public void testComplementOfEnumSet() { Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D); EnumSet<SomeEnum> otherUnits = Sets.complementOf(units); verifySetContents(otherUnits, EnumSet.of(SomeEnum.A, SomeEnum.C)); } @J2ktIncompatible @GwtIncompatible // complementOf public void testComplementOfEnumSetWithType() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDown.java
* * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of * JUnit test case you are running under. To avoid failing in the face of an exception regardless * of JUnit version, implement a {@link SloppyTearDown} instead. * * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.tls.CertificateChainCleaner /** * Android implementation of CertificateChainCleaner using direct Android API calls. * Not used if X509TrustManager doesn't implement [X509TrustManager.checkServerTrusted] with * an additional host param. */ internal class AndroidCertificateChainCleaner( private val trustManager: X509TrustManager,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* {@link ValueGraph}, and {@link Network}): * * {@snippet : * someGraphAlgorithm(startNode, graph); * } * * This works because those types each implement {@code PredecessorsFunction}. It will also work * with any other implementation of this interface. * * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4K bytes - Viewed (0)