- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,886 for instancia (0.05 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
class MonotonicClockTest { @Test @DisplayName("MonotonicClock singleton instance should always return the same instance") void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
/* * requireNonNull is safe because the callers promise to put non-null objects in the first * `length` array elements. */ @SuppressWarnings("unchecked") // our callers put only E instances into the array E onlyElement = (E) requireNonNull(elements[0]); return of(onlyElement); default: /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<>(Ordering.<K>natural().reverse()); } /** * A builder for creating immutable sorted map instances, especially {@code public static final} * maps ("constant maps"). Example: * * {@snippet : * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @ParameterizedTest(name = "Implementation is instance: {0}") @MethodSource("implementations") @DisplayName("Happy path: can create implementations and use type checks") void testImplementationsAreUsable(SessionSetupHandler impl) { // Arrange is provided by method source // Act & Assert assertNotNull(impl, "Implementation instance should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
dt_field: safe_datetime instance = MyDict(dt_field=safe_datetime.now()) encoded_instance = jsonable_encoder( instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")} ) assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S") encoded_instance = jsonable_encoder( instance, custom_encoder={datetime: lambda o: o.strftime("%H:%M:%S")}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java
import java.util.Objects; import java.util.WeakHashMap; /** * Represents a parsed phase identifier. */ public class PhaseId { /** * Interned {@link PhaseId} instances. */ private static final Map<String, PhaseId> INSTANCES = new WeakHashMap<>(); /** * The execution point of this {@link PhaseId}. */ private final PhaseExecutionPoint executionPoint; /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
private TimeoutManager() { } /** * Returns the instance for the singleton. * * @return the instance for the singleton */ public static TimeoutManager getInstance() { return instance; } /** * Starts the process. */ public synchronized void start() { if (thread == null) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
@ParametricNullness T instance) { return new SupplierOfInstance<>(instance); } private static final class SupplierOfInstance<T extends @Nullable Object> implements Supplier<T>, Serializable { @ParametricNullness final T instance; SupplierOfInstance(@ParametricNullness T instance) { this.instance = instance; } @Override @ParametricNullness public T get() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
if (StringUtil.isNotBlank(name)) { return request.getParameter(name); } return null; } /** * Set the random instance. * @param random The random instance. */ public void setRandom(final Random random) { this.random = random; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* object that equals a set member, but isn't the same instance. This behavior is similar to the * way {@code IdentityHashMap} handles key lookups. * * @since 8.0 */ public static <E extends @Nullable Object> Set<E> newIdentityHashSet() { return Collections.newSetFromMap(Maps.newIdentityHashMap()); } /** * Creates an empty {@code CopyOnWriteArraySet} instance. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0)