- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,618 for constructors (0.6 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <ul> * <li>The visible constructor or visible static factory method with the most parameters 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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
* * @author Colin Decker */ @NullUnmarked public class CharSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors. public static TestSuite suite() { TestSuite suite = new TestSuite(); for (boolean asByteSource : new boolean[] {false, true}) { suite.addTest( CharSourceTester.tests(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
} /** * Prepares the constructors. */ protected void setupConstructorDescs() { for (final Constructor<?> constructor : beanClass.getConstructors()) { constructorDescs.add(new ConstructorDescImpl(this, constructor)); } } /** * Prepares the methods. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
return method.isVarArgs(); } } static class ConstructorInvokable<T> extends Invokable<T, T> { final Constructor<?> constructor; ConstructorInvokable(Constructor<?> constructor) { super(constructor); this.constructor = constructor; } @Override final Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
} @Test @DisplayName("Test all constructors with name parameter") void testConstructorsWithName() { // Test constructor with command, name, and andx TestAndXServerMessageBlock block1 = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, mockAndxCommand) { { // Access protected constructor via anonymous class super.setCommand((byte) 0x25);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
when(mockConfig.isUseUnicode()).thenReturn(true); return mockContext; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Constructor with CIFSContext should create message with default flags") void testConstructor_CIFSContext() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking * advantage of <a * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond" * syntax</a>. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
public static CharMatcher forPredicate(Predicate<? super Character> predicate) { return predicate instanceof CharMatcher ? (CharMatcher) predicate : new ForPredicate(predicate); } // Constructors /** * Constructor for use by subclasses. When subclassing, you may want to override {@code * toString()} to provide a useful description. */ protected CharMatcher() {} // Abstract methods
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0)