- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 1,850 for metodu (0.05 sec)
-
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.LinkedList; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Defines a simple logging interface for Maven CLI operations. * This interface provides methods for logging messages at different severity levels * and supports logging with or without associated exceptions. * * @since 4.0.0 */ @Experimental public interface Logger { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
public String getVersion() { if (version != null) { return version; } else { return artifact.getVersion(); } } // Revise these three methods when MRESOLVER-233 is delivered @Override public Artifact setVersion(String version) { String current = getVersion(); if (current.equals(version) || (version == null && current.isEmpty())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
return resultString + superString; } return null; } /** Template method for subtypes to actually run the fallback. */ @ForOverride @ParametricNullness abstract T doFallback(F fallback, X throwable) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))); } @Override @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method. ContiguousSet<C> subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) { if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* <li>If you manually call {@link java.util.concurrent.FutureTask#set} or a similar method, * create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer * {@link AbstractFuture}.) * </ul> * * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
throw new UncheckedExecutionException(cause); } throw newWithCause(exceptionClass, cause); } /* * TODO(user): FutureChecker interface for these to be static methods on? If so, refer to it in * the (static-method) Futures.getChecked documentation */ private static boolean hasConstructorUsableByGetChecked( Class<? extends Exception> exceptionClass) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* <li>If you manually call {@link java.util.concurrent.FutureTask#set} or a similar method, * create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer * {@link AbstractFuture}.) * </ul> * * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
``` //// //// tab | Python 3.8+ ```Python hl_lines="9 11 16 22 24 29-30 33-35 40-41" {!> ../../docs_src/extra_models/tutorial001.py!} ``` //// /// info In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadEnd_null() { assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0')); } @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate public void testRepeat() { String input = "20"; assertEquals("", Strings.repeat(input, 0)); assertEquals("20", Strings.repeat(input, 1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0)