- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,083 for instance2 (0.04 sec)
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */ public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) { method.setAccessible(true); testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
/** * Creates a new empty DataStoreParams instance. * Initializes the internal parameter map with a ParamMap wrapper. */ public DataStoreParams() { params = new ParamMap<>(new HashMap<>()); } /** * Creates a new DataStoreParams instance with a copy of the provided parameters. * This protected constructor is used for creating new instances from existing parameter maps. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
this.valueTypeOrObjectUnderJ2cl = valueTypeOrObjectUnderJ2cl; } static <K extends Enum<K>> Class<K> inferKeyTypeOrObjectUnderJ2cl(Map<K, ?> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } if (map instanceof EnumHashBiMap) { return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* is used to construct the sample instances. In case of tie, the candidate constructors or * factories are tried one after another until one can be used to construct sample * instances. * <li>For the constructor or static factory method used to construct instances, it's checked * that when equal parameters are passed, the result instance should also be equal; and vice * versa.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} private <T> T pickInstance(T[] instances, T defaultValue) { return pickInstance(Arrays.asList(instances), defaultValue); } private <T> T pickInstance(Collection<T> instances, T defaultValue) { if (instances.isEmpty()) { return defaultValue; } // generateInt() is 1-based. return Iterables.get(instances, (generateInt() - 1) % instances.size()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
*/ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* identically to this equivalence. * * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Equivalence} instances in this library have implemented this method to * recognize certain cases where distinct {@code Equivalence} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
lines.add(line); } }; /** Creates a new instance that will read lines from the given {@code Readable} object. */ public LineReader(Readable readable) { this.readable = checkNotNull(readable); this.reader = (readable instanceof Reader) ? (Reader) readable : null; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
/** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride protected abstract B doForward(A a);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
.build(); } /** * Returns a new builder for creating XmlNode instances. * * @return a new Builder instance */ static Builder newBuilder() { return new Builder(); } /** * Builder class for creating XmlNode instances. * <p> * This builder provides a fluent API for setting the various properties of an XML node.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jul 19 11:09:56 UTC 2025 - 18.2K bytes - Viewed (0)