- Sort Score
- Num 10 results
- Language All
Results 2541 - 2550 of 2,945 for methods (0.06 seconds)
-
guava/src/com/google/common/collect/EnumMultiset.java
Iterables.addAll(multiset, elements); return multiset; } /** * Returns a new {@code EnumMultiset} instance containing the given elements. Unlike {@link * EnumMultiset#create(Iterable)}, this method does not produce an exception on an empty iterable. * * @since 14.0 */ public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) { EnumMultiset<E> result = create(type);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
return resolve(DependencyResolverRequest.build( session, DependencyResolverRequest.RequestType.RESOLVE, dependencies, scope)); } /** * This method collects, flattens and resolves the dependencies. * * @param request the request to resolve * @return the result of the resolution * @throws DependencyResolverException
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 16 14:15:37 GMT 2024 - 9.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
EventWriter eventWriter = eventWriters.get(descriptor); if (eventWriter != null) { // It's not explicit what the threading guarantees are for TestListener method execution so we'll // be explicitly safe here to avoid interleaving output from multiple test suites synchronized (this) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableTable.java
: new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace); } /** * @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by * referencing the type variables seem worthwhile. */ final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
case FAMILY_OPENVMS -> actualOsName.contains(FAMILY_OPENVMS); default -> actualOsName.contains(family.toLowerCase(Locale.US)); }; } /** * Helper method to determine the current OS family. * * @return name of current OS family. */ private static String getOsFamily() { return Stream.of( FAMILY_DOS,
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // First element should be from this test method StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePresent", firstElement.getMethodName()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
super.setUp(testInfo); // Create a concrete implementation for testing jobExecutor = new TestJobExecutor(); } @Test public void test_execute() { // Test execute method String scriptType = "test"; String script = "test script"; Object result = jobExecutor.execute(scriptType, script); assertEquals("Executed: test test script", result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* } * * @author James Sexton * @author Joshua O'Madadhain * @param <N> The most general node type this builder will support. This is normally {@code Object} * unless it is constrained by using a method like {@link #nodeOrder}, or the builder is * constructed based on an existing {@code Graph} using {@link #from(Graph)}. * @since 20.0 */ @DoNotMock public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TableCollectors.java
} else { oldCell.merge(value, merger); } } /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector, * so its return value will get used naturally. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") ImmutableTableCollectorState<R, C, V> combine(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
} else { oldCell.merge(value, merger); } } /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector, * so its return value will get used naturally. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") ImmutableTableCollectorState<R, C, V> combine(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0)