- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 739 for entry (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded"); } catch (UnsupportedOperationException expected) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create(); for (Object object : elements) { Entry<Class, Impl> entry = (Entry<Class, Impl>) object; map.putInstance(entry.getKey(), entry.getValue()); } return (Map) map; } }) .named("MutableClassToInstanceMap")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
case 0: return of(); case 1: Entry<K, V> entry = entryArray[0]; return of(entry.getKey(), entry.getValue()); default: /* * The current implementation will end up using entryArray directly, though it will write * over the (arbitrary, potentially mutable) Entry objects actually stored in entryArray. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
Set<Path> modifiedPoms = new HashSet<>(); Set<Path> errorPoms = new HashSet<>(); for (Map.Entry<Path, Document> entry : pomMap.entrySet()) { Path pomPath = entry.getKey(); Document pomDocument = entry.getValue(); processedPoms.add(pomPath); String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @Override public NavigableMap<K, V> descendingMap() { return new SafeTreeMap<>(delegate.descendingMap()); } @Override public Set<Entry<K, V>> entrySet() { return new AbstractSet<Entry<K, V>>() { private Set<Entry<K, V>> delegate() { return delegate.entrySet(); } @Override public boolean contains(Object object) { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
@Override protected ListMultimap<String, String> create(Entry<String, String>[] entries) { ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } @J2ktIncompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
Iterator<E> iterator = collection.iterator(); Object element = iterator.next(); // If it's an Entry, it may become invalid once it's removed from the Map. Copy it. if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); } assertTrue(collection.contains(element)); // sanity check iterator.remove();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multiset.java
* any {@code Entry} instances already retrieved from the entry set (this is * implementation-dependent). Furthermore, implementations are not required to support * modifications to the entry set at all, and the {@code Entry} instances themselves don't even * have methods for modification. See the specific implementation class for more details on how * its entry set handles modifications. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 20.9K bytes - Click Count (0) -
src/archive/tar/reader.go
for { for i := 0; i < s.maxEntries(); i++ { // This termination condition is identical to GNU and BSD tar. if s.entry(i).offset()[0] == 0x00 { break // Don't return, need to process extended headers (even if empty) } offset := p.parseNumeric(s.entry(i).offset()) length := p.parseNumeric(s.entry(i).length()) if p.err != nil { return nil, p.err }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0)