- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for AbstractMultiset (0.1 sec)
-
guava/src/com/google/common/collect/AbstractMultiset.java
* #elementSet()}. Override those methods for better performance. * * @author Kevin Bourrillion * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E> implements Multiset<E> { // Query Operations @Override public boolean isEmpty() { return entrySet().isEmpty(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
* #elementSet()}. Override those methods for better performance. * * @author Kevin Bourrillion * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E> implements Multiset<E> { // Query Operations @Override public boolean isEmpty() { return entrySet().isEmpty(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link AbstractMultiset}. * * @author Kevin Bourrillion * @author Louis Wasserman */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { // TODO(lowasser): consider overhauling this back to Map<E, Integer> private transient Map<E, Count> backingMap; /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link AbstractMultiset}. * * @author Kevin Bourrillion * @author Louis Wasserman */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { transient ObjectCountHashMap<E> backingMap; transient long size; AbstractMapBasedMultiset(int distinctElements) { backingMap = newBackingMap(distinctElements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* * @author Cliff L. Biffle * @author mike nonemacher * @since 2.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class ConcurrentHashMultiset<E> extends AbstractMultiset<E> implements Serializable { /* * The ConcurrentHashMultiset's atomic operations are implemented primarily in terms of * AtomicInteger's atomic operations, with some help from ConcurrentMap's atomic operations on
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
} } /** * An {@link AbstractMultiset} with additional default implementations, some of them linear-time * implementations in terms of {@code elementSet} and {@code entrySet}. */ private abstract static class ViewMultiset<E extends @Nullable Object> extends AbstractMultiset<E> { @Override public int size() { return linearTimeSizeImpl(this);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
} } /** * An {@link AbstractMultiset} with additional default implementations, some of them linear-time * implementations in terms of {@code elementSet} and {@code entrySet}. */ private abstract static class ViewMultiset<E extends @Nullable Object> extends AbstractMultiset<E> { @Override public int size() { return linearTimeSizeImpl(this);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
successor(b, c); } /* * TODO(jlevy): Decide whether entrySet() should return entries with an equals() method that * calls the comparator to compare the two keys. If that change is made, * AbstractMultiset.equals() can simply check whether two multisets have equal entry sets. */ /** * @serialData the comparator, the number of distinct elements, the first element, its count, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0)