- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 407 for count (0.27 sec)
-
guava/src/com/google/common/collect/Count.java
import javax.annotation.CheckForNull; /** * A mutable value of type {@code int}, for multisets to use in tracking counts of values. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault final class Count implements Serializable { private int value; Count(int value) { this.value = value; } public int get() { return value; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 05 00:40:25 GMT 2021 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Count.java
import javax.annotation.CheckForNull; /** * A mutable value of type {@code int}, for multisets to use in tracking counts of values. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault final class Count implements Serializable { private int value; Count(int value) { this.value = value; } public int get() { return value; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 05 00:40:25 GMT 2021 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
implements Serializable { @ParametricNullness private final E element; private final int count; ImmutableEntry(@ParametricNullness E element, int count) { this.element = element; this.count = count; checkNonnegative(count, "count"); } @Override @ParametricNullness public final E getElement() { return element; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
return multiset(ImmutableMap.of(value1, count1, value2, count2)); } private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) { ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder(); for (Entry<T, Integer> entry : counts.entrySet()) { builder.addCopies(entry.getKey(), entry.getValue()); } return builder.build(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* desired count. * * @param element the element to add or remove occurrences of; may be null only if explicitly * allowed by the implementation * @param count the desired count of the element in this multiset * @return the count of the element before the operation; possibly zero * @throws IllegalArgumentException if {@code count} is negative
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
assertThat(manyValuesAccumulatorByAddAllIterable.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(manyValuesAccumulatorByAddAllIterator.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(manyValuesAccumulatorByAddAllVarargs.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(manyValuesAccumulatorByRepeatedAdd.count()).isEqualTo(MANY_VALUES_COUNT);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 36.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(INTEGER_MANY_VALUES_STATS_VARARGS.count()).isEqualTo(INTEGER_MANY_VALUES_COUNT); assertThat(INTEGER_MANY_VALUES_STATS_ITERABLE.count()).isEqualTo(INTEGER_MANY_VALUES_COUNT); assertThat(LONG_MANY_VALUES_STATS_ITERATOR.count()).isEqualTo(LONG_MANY_VALUES_COUNT);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 32.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
assertThat(twoValuesAccumulator.count()).isEqualTo(2); assertThat(twoValuesAccumulatorByAddAllPartitionedPairedStats.count()).isEqualTo(2); assertThat(manyValuesAccumulator.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(manyValuesAccumulatorByAddAllPartitionedPairedStats.count()) .isEqualTo(MANY_VALUES_COUNT); } public void testCountOverflow_doesNotThrow() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
assertThat(twoValuesAccumulator.count()).isEqualTo(2); assertThat(twoValuesAccumulatorByAddAllPartitionedPairedStats.count()).isEqualTo(2); assertThat(manyValuesAccumulator.count()).isEqualTo(MANY_VALUES_COUNT); assertThat(manyValuesAccumulatorByAddAllPartitionedPairedStats.count()) .isEqualTo(MANY_VALUES_COUNT); } public void testCountOverflow_doesNotThrow() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0)