- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,130 for instance (0.21 sec)
-
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
if (Serializable.class.isAssignableFrom(classToTest)) { try { Object instance = tester.instantiate(classToTest); if (instance != null) { if (isEqualsDefined(classToTest)) { SerializableTester.reserializeAndAssert(instance); } else { SerializableTester.reserialize(instance); } } } catch (Throwable e) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
private Funnels() {} /** Returns a funnel that extracts the bytes from a {@code byte} array. */ public static Funnel<byte[]> byteArrayFunnel() { return ByteArrayFunnel.INSTANCE; } private enum ByteArrayFunnel implements Funnel<byte[]> { INSTANCE; @Override public void funnel(byte[] from, PrimitiveSink into) { into.putBytes(from); } @Override public String toString() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 25 20:32:46 GMT 2022 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
public <E extends Comparable<?>> E min(E a, E b) { return NaturalOrdering.INSTANCE.max(a, b); } @Override public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) { return NaturalOrdering.INSTANCE.max(a, b, c, rest); } @Override public <E extends Comparable<?>> E min(Iterator<E> iterator) { return NaturalOrdering.INSTANCE.max(iterator); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Jun 20 14:22:42 GMT 2021 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
if (Serializable.class.isAssignableFrom(classToTest)) { try { Object instance = tester.instantiate(classToTest); if (instance != null) { if (isEqualsDefined(classToTest)) { SerializableTester.reserializeAndAssert(instance); } else { SerializableTester.reserialize(instance); } } } catch (Throwable e) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
* * @param escaper the instance to be wrapped * @return a UnicodeEscaper with the same behavior as the given instance * @throws NullPointerException if escaper is null * @throws IllegalArgumentException if escaper is not a UnicodeEscaper or a CharEscaper */ static UnicodeEscaper asUnicodeEscaper(Escaper escaper) { checkNotNull(escaper); if (escaper instanceof UnicodeEscaper) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all()) .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of())) .put(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all()) .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of())) .put(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java
try { Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS); Object instance = container.lookup(clazz); Method method = clazz.getMethod("prompt", String.class, List.class, String.class); return (String) method.invoke(instance, message, possibleValues, defaultReply); } catch (Exception e) { throw new PrompterException("Unable to call prompter", e);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 3K bytes - Viewed (0) -
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`: === "Python 3.9+" ```Python hl_lines="12"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
super(message); } /** * Creates a new instance with the given detail message and cause. Prefer to provide a * non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 17:52:19 GMT 2024 - 3.8K bytes - Viewed (0)