- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 432 for hasTest (0.15 sec)
-
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertNotNull("Target annotation should be present", target); final Set<ElementType> expectedTargets = new HashSet<>(Arrays.asList(METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER)); final Set<ElementType> actualTargets = new HashSet<>(Arrays.asList(target.value())); assertEquals("Target elements should match", expectedTargets, actualTargets); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
Comparator<? super E> comparator, Iterator<? extends E> elements) { checkNotNull(comparator); if (!elements.hasNext()) { return emptySet(comparator); } SortedSet<E> delegate = new TreeSet<E>(comparator); while (elements.hasNext()) { E element = elements.next(); checkNotNull(element); delegate.add(element); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableSet.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; import org.jspecify.annotations.Nullable; /** * ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash * flooding. This implementation is never used on the GWT client side. * * @author Louis Wasserman */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
for (Class<? super T> itf : allInterfaceClasses) { Iterator<Class<?>> iterator = interfaceClasses.iterator(); boolean addToSet = true; while (iterator.hasNext()) { Class<?> current = iterator.next(); if (current == itf || itf.isAssignableFrom(current)) { // Skip any super interface of the ones that are already included. addToSet = false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
this.maxComponentLength = maxComponentLength; this.allowUncPaths = allowUncPaths; this.strictMode = strictMode; this.blacklistedPaths = new HashSet<>(); this.whitelistedPaths = new HashSet<>(); } /** * Validate and normalize a path * * @param path the path to validate * @return normalized safe path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate(); for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator(); unfilteredItr.hasNext(); ) { Entry<K, V> entry = unfilteredItr.next(); if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) { unfilteredItr.remove(); return true; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */ @ParametricNullness E peek(); /** * {@inheritDoc} * * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
assertFalse(set.isEmpty(), "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
val actualUrls = calls.map { it.request.url.toString() } assertThat(actualUrls).containsExactly(*expectedUrls) } fun finishJob(url: String) { val i = calls.iterator() while (i.hasNext()) { val call = i.next() if (call.request.url.toString() == url) { i.remove() dispatcherTest.dispatcher.finishedAccessor(call) return } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0)