- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for distinctElements (0.1 sec)
-
guava/src/com/google/common/collect/HashMultiset.java
* elements. * * @param distinctElements the expected number of distinct elements * @throws IllegalArgumentException if {@code distinctElements} is negative */ public static <E extends @Nullable Object> HashMultiset<E> create(int distinctElements) { return new HashMultiset<>(distinctElements); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
* elements. * * @param distinctElements the expected number of distinct elements * @throws IllegalArgumentException if {@code distinctElements} is negative */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create(int distinctElements) { return new LinkedHashMultiset<>(distinctElements); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
* elements. * * @param distinctElements the expected number of distinct elements * @throws IllegalArgumentException if {@code distinctElements} is negative */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create(int distinctElements) { return new LinkedHashMultiset<>(distinctElements); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
implements Serializable { transient ObjectCountHashMap<E> backingMap; transient long size; AbstractMapBasedMultiset(int distinctElements) { backingMap = newBackingMap(distinctElements); } abstract ObjectCountHashMap<E> newBackingMap(int distinctElements); @Override public final int count(@CheckForNull Object element) { return backingMap.get(element); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
*/ static <E extends @Nullable Object> void populateMultiset( Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException { int distinctElements = stream.readInt(); populateMultiset(multiset, stream, distinctElements); } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
return entryIterator(); } @Override public int size() { return distinctElements(); } } Set<Entry<E>> createEntrySet() { return new EntrySet(); } abstract Iterator<Entry<E>> entryIterator(); abstract int distinctElements(); // Object methods /** * {@inheritDoc} *
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/Serialization.java
*/ static <E extends @Nullable Object> void populateMultiset( Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException { int distinctElements = stream.readInt(); populateMultiset(multiset, stream, distinctElements); } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
return entryIterator(); } @Override public int size() { return distinctElements(); } } Set<Entry<E>> createEntrySet() { return new EntrySet(); } abstract Iterator<Entry<E>> entryIterator(); abstract int distinctElements(); // Object methods /** * {@inheritDoc} *
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
} }; } }; } @Override public Iterator<E> iterator() { return Multisets.iteratorImpl(this); } @Override int distinctElements() { return backingMap.size(); } }
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-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
} }; } }; } @Override public Iterator<E> iterator() { return Multisets.iteratorImpl(this); } @Override int distinctElements() { return backingMap.size(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0)