Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for uninverted (0.34 sec)

  1. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          }
        },
        PRIORITY_QUEUE {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new PriorityQueue<>(11, comparator);
          }
        },
        INVERTED_MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new InvertedMinMaxPriorityQueue<>(comparator);
          }
        };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SortedListsTest.java

        switch (absentBehavior) {
          case NEXT_LOWER:
            assertEquals(nextHigherIndex - 1, answer);
            return;
          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
            assertEquals(-1 - nextHigherIndex, answer);
            return;
          default:
            throw new AssertionError();
        }
      }
    
      public void testWithoutDups() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          }
        },
        PRIORITY_QUEUE {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new PriorityQueue<>(11, comparator);
          }
        },
        INVERTED_MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new InvertedMinMaxPriorityQueue<>(comparator);
          }
        };
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedLists.java

         * Object)} when the key isn't present, since {@code ~insertionIndex} is equal to {@code -1 -
         * insertionIndex}.
         */
        INVERTED_INSERTION_INDEX {
          @Override
          public int resultIndex(int higherIndex) {
            return ~higherIndex;
          }
        };
    
        abstract int resultIndex(int higherIndex);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

        switch (absentBehavior) {
          case NEXT_LOWER:
            assertEquals(nextHigherIndex - 1, answer);
            return;
          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
            assertEquals(-1 - nextHigherIndex, answer);
            return;
          default:
            throw new AssertionError();
        }
      }
    
      public void testWithoutDups() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top