- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 64 for getElement (0.16 sec)
-
android/guava/src/com/google/common/collect/MoreCollectors.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Indexed.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* represent the same element and count. That is, two entries {@code a} and {@code b} are equal * if: * * <pre>{@code * Objects.equal(a.getElement(), b.getElement()) * && a.getCount() == b.getCount() * }</pre> */ @Override // TODO(kevinb): check this wrt TreeMultiset? boolean equals(@CheckForNull Object o); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 21K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
long size = 0; for (int i = 0; i < entriesArray.length; i++) { Entry<E> entry = entriesArray[i]; int count = entry.getCount(); size += count; E element = checkNotNull(entry.getElement()); delegateMap.put(element, count); if (!(entry instanceof Multisets.ImmutableEntry)) { entriesArray[i] = Multisets.immutableEntry(element, count); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* represent the same element and count. That is, two entries {@code a} and {@code b} are equal * if: * * <pre>{@code * Objects.equal(a.getElement(), b.getElement()) * && a.getCount() == b.getCount() * }</pre> */ @Override // TODO(kevinb): check this wrt TreeMultiset? boolean equals(@CheckForNull Object o); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* either of these would recurse back to us again! */ private List<E> snapshot() { List<E> list = newArrayListWithExpectedSize(size()); for (Multiset.Entry<E> entry : entrySet()) { E element = entry.getElement(); for (int i = entry.getCount(); i > 0; i--) { list.add(element); } } return list; } // Modification Operations /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); for (Multiset.Entry<E> entry : multiset.entrySet()) { stream.writeObject(entry.getElement()); stream.writeInt(entry.getCount()); } } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link * #writeMultiset} for the data format. */
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/Serialization.java
int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); for (Multiset.Entry<E> entry : multiset.entrySet()) { stream.writeObject(entry.getElement()); stream.writeInt(entry.getCount()); } } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link * #writeMultiset} for the data format. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0)