- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 576 for Operator (0.14 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
private enum IncomparableType { INSTANCE; } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testEntrySetIteratorRemove() { Set<Entry<K, V>> entrySet = getMap().entrySet(); Iterator<Entry<K, V>> entryItr = entrySet.iterator(); assertEquals(e0(), entryItr.next()); entryItr.remove(); assertTrue(getMap().isEmpty());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
@Override UnmodifiableIterator<Entry<K, V>> entryIterator() { return new UnmodifiableIterator<Entry<K, V>>() { final Iterator<? extends Entry<K, ? extends ImmutableCollection<V>>> asMapItr = map.entrySet().iterator(); @CheckForNull K currentKey = null; Iterator<V> valueItr = Iterators.emptyIterator(); @Override public boolean hasNext() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 24.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} } } /** * Returns an iterator over the elements contained in this collection, <i>in no particular * order</i>. * * <p>The iterator is <i>fail-fast</i>: If the MinMaxPriorityQueue is modified at any time after * the iterator is created, in any way except through the iterator's own remove method, the * iterator will generally throw a {@link ConcurrentModificationException}. Thus, in the face of
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
@Override UnmodifiableIterator<Entry<K, V>> entryIterator() { return new UnmodifiableIterator<Entry<K, V>>() { final Iterator<? extends Entry<K, ? extends ImmutableCollection<V>>> asMapItr = map.entrySet().iterator(); @CheckForNull K currentKey = null; Iterator<V> valueItr = Iterators.emptyIterator(); @Override public boolean hasNext() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 25.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
@CollectionSize.Require(SEVERAL) public void testRemoveAllSomePresentConcurrentWithIteration() { try { Iterator<E> iterator = collection.iterator(); assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); iterator.next(); fail("Expected ConcurrentModificationException"); } catch (ConcurrentModificationException expected) { // success } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
TreeMultimap<String, Integer> multimap = createPopulate(); Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator(); Entry<String, Collection<Integer>> entry = iterator.next(); assertEquals("foo", entry.getKey()); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertEquals("google", entry.getKey());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
} /** * Returns an iterator over the lines in the string. If the string ends in a newline, a final * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine(). */ private Iterator<String> linesIterator() { return new AbstractIterator<String>() { Iterator<String> lines = LINE_SPLITTER.split(seq).iterator(); @Override @CheckForNull
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 22.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAllConcurrentWithIteration() { try { Iterator<E> iterator = collection.iterator(); assertTrue(collection.addAll(MinimalCollection.of(e3(), e0()))); iterator.next(); fail("Expected ConcurrentModificationException"); } catch (ConcurrentModificationException expected) { // success } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return standardToString(); } @Override public Set<Entry<K, V>> entrySet() { return new StandardEntrySet() { @Override public Iterator<Entry<K, V>> iterator() { return backingMap.entrySet().iterator(); } }; } @Override public void clear() { standardClear(); } @Override public boolean isEmpty() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
Currency.PESO, Country.CHILE, Currency.FRANC, Country.SWITZERLAND); EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); Iterator<Currency> iter = bimap.keySet().iterator(); assertEquals(Currency.DOLLAR, iter.next()); iter.remove(); // forward map ordered by currency assertThat(bimap.keySet()).containsExactly(Currency.FRANC, Currency.PESO).inOrder();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 11.8K bytes - Viewed (0)