- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 662 for hasTest (0.17 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
K key = entry.getKey(); V value = entry.getValue(); Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator(); Collection<V> collection = null; while (asMapItr.hasNext()) { Entry<K, Collection<V>> asMapEntry = asMapItr.next(); if (key.equals(asMapEntry.getKey())) { collection = asMapEntry.getValue(); break; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
@SuppressWarnings({"unchecked", "nullness"}) SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this; Iterator<?> iterator = self.tailSet(object).iterator(); if (iterator.hasNext()) { Object ceiling = iterator.next(); if (unsafeCompare(comparator(), ceiling, object) == 0) { iterator.remove(); return true; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.TruthJUnit.assume; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableSet; import java.util.HashSet; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.junit.After; import org.junit.Before; import org.junit.Test; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
import com.google.common.testing.SerializableTester; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 26.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(0, multiset.toArray().length); assertTrue(multiset.entrySet().isEmpty()); assertFalse(multiset.iterator().hasNext()); assertEquals(0, multiset.entrySet().size()); assertEquals(0, multiset.entrySet().toArray().length); assertFalse(multiset.entrySet().iterator().hasNext()); } public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testDescendingNavigation() { List<E> descending = new ArrayList<>(); for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) { descending.add(i.next()); } Collections.reverse(descending); assertEquals(values, descending); } public void testEmptySubSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSet.java
@SuppressWarnings({"unchecked", "nullness"}) SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this; Iterator<?> iterator = self.tailSet(object).iterator(); if (iterator.hasNext()) { Object ceiling = iterator.next(); if (unsafeCompare(comparator(), ceiling, object) == 0) { iterator.remove(); return true; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import java.nio.ShortBuffer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Currency; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 18.6K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
* we generate them in a testRoot which is contained in this directory. */ private DirectoryProperty testRoot @Internal Set<String> names = new HashSet<>() @Inject RestTestsFromSnippetsTask(ObjectFactory objectFactory) { testRoot = objectFactory.directoryProperty() TestBuilder builder = new TestBuilder() doFirst { outputRoot().delete() }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.lang.SystemUtil;
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Dec 31 09:07:38 GMT 2025 - 20.3K bytes - Click Count (0)