- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 622 for elementId (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Base class for collection testers. * * @param <E> the element type of the collection to be tested. * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@Nullable Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
return StringUtil.replace(className, ".", "/") + ".class"; } /** * Concatenates elements of a class name. * * @param s1 * The first element of the class name * @param s2 * The second element of the class name * @return The concatenated name */ public static String concatName(final String s1, final String s2) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* both {@link Collection} and {@link Map}; since there isn't an established collective noun that * encompasses both of these, 'container' is used. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface TestContainerGenerator<T, E extends @Nullable Object> { /** Returns the sample elements that this generate populates its container with. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/last-minute.go
default: return "unknown" } } // AccElem holds information for calculating an average value type AccElem struct { Total int64 Size int64 N int64 } // Add a duration to a single element. func (a *AccElem) add(dur time.Duration) { if dur < 0 { dur = 0 } a.Total += int64(dur) a.N++ } // Merge b into a. func (a *AccElem) merge(b AccElem) { a.N += b.N a.Total += b.Total
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { super(multimapGenerator); } @Override public Set<Entry<K, V>> create(Object... elements) { return (Set<Entry<K, V>>) super.create(elements); } } static final class MultimapGetGenerator<K, V> extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/metacache-stream.go
// // All stream elements are msgpack encoded. // // 1 Integer, metacacheStreamVersion of the writer. // This can be used for managing breaking changes. // // For each element: // 1. Bool. If false at end of stream. // 2. String. Name of object. Directories contains a trailing slash. // 3. Binary. Blob of metadata. Length 0 on directories. // ... Next element. //
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 19.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testGetMessageByDcerpcError_middleElement() { String message = DcerpcException.getMessageByDcerpcError(DcerpcError.DCERPC_FAULT_INVALID_TAG); assertEquals("DCERPC_FAULT_INVALID_TAG", message, "Should return correct message for middle element."); } /** * Test getMessageByDcerpcError() with a known error code (last element). */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
* elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code * features}, the features supported by the iterator; and {@code expectedElements}, the elements the * iterator should return in order. * * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the * number of provided elements. * * @author Chris Povirk */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0)