- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 381 for getWhy (0.08 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} @Override @ParametricNullness public E next() { final Map.Entry<E, Count> mapEntry = backingEntries.next(); toRemove = mapEntry; return mapEntry.getKey(); } @Override public void remove() { checkState(toRemove != null, "no calls to next() since the last call to remove()"); size -= toRemove.getValue().getAndSet(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@Test public void testEntrySet() throws Exception { Iterator<Map.Entry<String, String>> i = map.entrySet().iterator(); assertThat(i.next().getKey(), is(nullValue())); assertThat(i.next().getKey(), is("1")); assertThat(i.next().getKey(), is("2")); } /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
super(HashBiMap.this); } @Override public boolean contains(@CheckForNull Object o) { if (o instanceof Entry) { Entry<?, ?> e = (Entry<?, ?>) o; Object k = e.getKey(); Object v = e.getValue(); int eIndex = findEntryByKey(k); return eIndex != ABSENT && Objects.equal(v, values[eIndex]); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
} checkArgument(!containsValue(value), "value already present: %s", value); V oldValue = delegate.setValue(value); checkState(Objects.equal(value, get(getKey())), "entry no longer in map"); updateInverseMap(getKey(), true, oldValue, value); return oldValue; } } Iterator<Entry<K, V>> entrySetIterator() { final Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 14.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) { for (Artifact artifact : artifacts) { if (artifact.isSnapshot()) { Object key = LocalSnapshotMetadata.getKey(artifact); LocalSnapshotMetadata snapshotMetadata = snapshots.get(key); if (snapshotMetadata == null) { snapshotMetadata = new LocalSnapshotMetadata(artifact, timestamp);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java
return null; } String convertedUrl = url; for (final Map.Entry<String, String> entry : convertMap.entrySet()) { convertedUrl = convertedUrl.replaceAll(entry.getKey(), entry.getValue()); } return convertedUrl; } public void add(final String target, final String replacement) { if (target == null || replacement == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
for (Object element : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) element; multimap.put(entry.getKey(), entry.getValue()); } return multimap.entries(); } abstract Multimap<String, Integer> createMultimap(); @Override @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
StringBuilder buffer = new StringBuilder(64); for (Map.Entry<TransferResource, Long> entry : downloads.entrySet()) { long total = entry.getKey().getContentLength(); long complete = entry.getValue(); buffer.append(getStatus(complete, total)).append(" "); } int pad = lastLength - buffer.length();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0)