- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 652 for elementId (0.04 sec)
-
guava/src/com/google/common/collect/Multimaps.java
public boolean contains(@Nullable Object element) { return multimap.containsKey(element); } @Override public Iterator<K> iterator() { return Maps.keyIterator(multimap.entries().iterator()); } @Override public int count(@Nullable Object element) { Collection<V> values = Maps.safeGet(multimap.asMap(), element); return (values == null) ? 0 : values.size();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/VisibleForTesting.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.annotations; /** * Annotates a program element that exists, or is more widely visible than otherwise necessary, only * for use in test code. * * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jan 30 22:25:16 UTC 2023 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } } /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */ protected void resetWithHole() { super.resetContainer(getSubjectGenerator().create(a, c)); navigableSet = (NavigableSet<E>) getSet(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return orderEntriesByKey(insertionOrder); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.Map; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates maps, containing sample elements, to be tested. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
assertNotSame(thrower1, thrower2); } // Helper method to check if array contains a value private boolean containsValue(String[] array, String value) { for (String element : array) { if (element.equals(value)) { return true; } } return false; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3()))); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.<V>emptyList())); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().contains("testStackTracePreservation")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/CloseableIterator.java
import java.util.Iterator; /** * An iterator that implements AutoCloseable to allow resource cleanup. * This interface combines Iterator functionality with automatic resource management. * * @param <T> the type of elements returned by this iterator * @author mbechler */ public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable { /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EmptyIterator.java
package org.codelibs.core.collection; import java.util.Iterator; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An empty {@link Iterator}. * * @author higa * @param <T> the element type */ public class EmptyIterator<T> implements Iterator<T> { /** * Creates an {@link EmptyIterator}. */ public EmptyIterator() { } @Override public void remove() {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0)