Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 378 for enums (0.02 sec)

  1. guava/src/com/google/common/primitives/Chars.java

       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<char[]> {
        INSTANCE;
    
        @Override
        public int compare(char[] left, char[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

       * float[])}.
       *
       * @since 2.0
       */
      public static Comparator<float[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<float[]> {
        INSTANCE;
    
        @Override
        public int compare(float[] left, float[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

       * double[])}.
       *
       * @since 2.0
       */
      public static Comparator<double[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<double[]> {
        INSTANCE;
    
        @Override
        public int compare(double[] left, double[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

              queueIterator.remove();
            }
          }
          assertThat(remaining).isEqualTo(0);
          assertIntact(queue);
          assertThat(queue).containsExactlyElementsIn(elements);
        }
      }
    
      private enum Element {
        ONE,
        TWO,
        THREE,
        FOUR,
        FIVE;
      }
    
      public void testRandomAddsAndRemoves_duplicateElements() {
        Random random = new Random(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_2x.md

        `http://` schemes.
    
     *  **RouteDatabase is no longer public API.** OkHttp continues to track which
        routes have failed but this is no exposed in the API.
    
     *  **ResponseSource is gone.** This enum exposed whether a response came from
        the cache, network, or both. OkHttp 2 offers more detail with raw access to
        the cache and network responses in the new `Response` class.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

        this.header = new AvlNode<>();
        successor(header, header);
        this.rootReference = new Reference<>();
      }
    
      /** A function which can be summed across a subtree. */
      private enum Aggregate {
        SIZE {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return node.elemCount;
          }
    
          @Override
          long treeAggregate(@Nullable AvlNode<?> root) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(
          requestAfter.exchangeIndex == 0 ||
            server.requestCount == 3 &&
            server.takeRequest().exchangeIndex == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * long[])}.
       *
       * @since 2.0
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<long[]> {
        INSTANCE;
    
        @Override
        public int compare(long[] left, long[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       * Returns a predicate that returns the result of {@link File#isFile} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isFile() {
        return FilePredicate.IS_FILE;
      }
    
      private enum FilePredicate implements Predicate<File> {
        IS_DIRECTORY {
          @Override
          public boolean apply(File file) {
            return file.isDirectory();
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * Returns a predicate that returns the result of {@link File#isFile} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isFile() {
        return FilePredicate.IS_FILE;
      }
    
      private enum FilePredicate implements Predicate<File> {
        IS_DIRECTORY {
          @Override
          public boolean apply(File file) {
            return file.isDirectory();
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top