Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for _index (0.14 sec)

  1. guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      public void testQuartiles_index_compute_doubleCollection() {
        assertThat(quartiles().index(1).compute(SIXTEEN_SQUARES_DOUBLES))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_QUARTILE_1);
      }
    
      public void testQuartiles_index_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(quartiles().index(1).computeInPlace(dataset))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      public void testQuartiles_index_compute_doubleCollection() {
        assertThat(quartiles().index(1).compute(SIXTEEN_SQUARES_DOUBLES))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_QUARTILE_1);
      }
    
      public void testQuartiles_index_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(quartiles().index(1).computeInPlace(dataset))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_REMOVE_WITH_INDEX;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET;
    import static java.util.Collections.emptyList;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_REMOVE_WITH_INDEX;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET;
    import static java.util.Collections.emptyList;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedLists.java

         * insertionIndex}.
         */
        INVERTED_INSERTION_INDEX {
          @Override
          public int resultIndex(int higherIndex) {
            return ~higherIndex;
          }
        };
    
        abstract int resultIndex(int higherIndex);
      }
    
      /**
       * Searches the specified naturally ordered list for the specified object using the binary search
    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)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  }
                })
            .named("CopyOnWriteArrayList")
            .withFeatures(
                ListFeature.SUPPORTS_ADD_WITH_INDEX,
                ListFeature.SUPPORTS_REMOVE_WITH_INDEX,
                ListFeature.SUPPORTS_SET,
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 11.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_ADD_WITH_INDEX)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_REMOVE_WITH_INDEX)
              .put(MapFeature.GENERAL_PURPOSE, ListFeature.SUPPORTS_SET)
              .put(MapFeature.ALLOWS_NULL_VALUE_QUERIES, CollectionFeature.ALLOWS_NULL_QUERIES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        @ParametricNullness final K key;
        int index;
    
        EntryForKey(int index) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          this.key = uncheckedCastNullableTToT(keys[index]);
          this.index = index;
        }
    
        void updateIndex() {
          if (index == ABSENT || index > size || !Objects.equal(keys[index], key)) {
            index = findEntryByKey(key);
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

        /**
         * Specifies a single quantile index to be calculated, i.e. the k in the kth q-quantile.
         *
         * @param index the quantile index, which must be in the inclusive range [0, q] for q-quantiles
         */
        public ScaleAndIndex index(int index) {
          return new ScaleAndIndex(scale, index);
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

            private int index = -1;
            private final int maxIndex = keyToIndex().size();
    
            @Override
            @CheckForNull
            protected Entry<K, V> computeNext() {
              for (index++; index < maxIndex; index++) {
                V value = getValue(index);
                if (value != null) {
                  return Maps.immutableEntry(getKey(index), value);
                }
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top