Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for complement (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          rangeSet.add(range);
    
          TreeRangeSet<Integer> complement = TreeRangeSet.create();
          complement.add(Range.<Integer>all());
          complement.remove(range);
    
          assertEquals(complement, rangeSet.complement());
          assertThat(rangeSet.complement().asRanges())
              .containsExactlyElementsIn(complement.asRanges())
              .inOrder();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
      }
    
      @Override
      public ImmutableRangeSet<C> complement() {
        ImmutableRangeSet<C> result = complement;
        if (result != null) {
          return result;
        } else if (ranges.isEmpty()) {
          return complement = all();
        } else if (ranges.size() == 1 && ranges.get(0).equals(Range.all())) {
          return complement = of();
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/index.md

    Although the [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} and this **Advanced User Guide** are written as a guided tutorial (like a book) and should be enough for you to **learn FastAPI**, you might want to complement it with additional courses.
    
    Or it might be the case that you just prefer to take other courses because they adapt better to your learning style.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    <code>S1</code> and <code>S2</code> may have or share.
    </p>
    
    <p>
    A type implements any interface comprising any subset of its methods
    and may therefore implement several distinct interfaces. For
    instance, all types implement the <i>empty interface</i>:
    </p>
    
    <pre>
    interface{}
    </pre>
    
    <p>
    Similarly, consider this interface specification,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. doc/go_spec.html

    <code>S1</code> and <code>S2</code> may have or share.
    </p>
    
    <p>
    Every type that is a member of the type set of an interface implements that interface.
    Any given type may implement several distinct interfaces.
    For instance, all types implement the <i>empty interface</i> which stands for the set
    of all (non-interface) types:
    </p>
    
    <pre>
    interface{}
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top