- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 300 for Factory (0.12 sec)
-
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
super.setUp(); CycleDetectingLockFactory factory = CycleDetectingLockFactory.newInstance(Policies.THROW); lockA = factory.newReentrantLock("LockA"); lockB = factory.newReentrantLock("LockB"); lockC = factory.newReentrantLock("LockC"); ReentrantReadWriteLock readWriteLockA = factory.newReentrantReadWriteLock("ReadWriteA"); ReentrantReadWriteLock readWriteLockB = factory.newReentrantReadWriteLock("ReadWriteB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
super.setUp(); CycleDetectingLockFactory factory = CycleDetectingLockFactory.newInstance(Policies.THROW); lockA = factory.newReentrantLock("LockA"); lockB = factory.newReentrantLock("LockB"); lockC = factory.newReentrantLock("LockC"); ReentrantReadWriteLock readWriteLockA = factory.newReentrantReadWriteLock("ReadWriteA"); ReentrantReadWriteLock readWriteLockB = factory.newReentrantReadWriteLock("ReadWriteB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SchemaUtil.java
* * @param factory * {@link SchemaFactory}。{@literal null}であってはいけません * @param schema * スキーマファイル。{@literal null}であってはいけません * @return {@link Schema} */ public static Schema newSchema(final SchemaFactory factory, final File schema) { assertArgumentNotNull("factory", factory); assertArgumentNotNull("schema", schema);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
class DefaultArtifactFactoryTest { @Inject ArtifactFactory factory; @Test void testPropagationOfSystemScopeRegardlessOfInheritedScope() { Artifact artifact = factory.createDependencyArtifact( "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
ArtifactRepositoryPolicy releases) { return injectSession(factory.createArtifactRepository(id, url, repositoryLayout, snapshots, releases), true); } public void setGlobalUpdatePolicy(String updatePolicy) { factory.setGlobalUpdatePolicy(updatePolicy); } public void setGlobalChecksumPolicy(String checksumPolicy) { factory.setGlobalChecksumPolicy(checksumPolicy); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
checkNotNull(factory); return new ByteSourceFactory() { @Override public ByteSource createSource(byte[] data) throws IOException { return factory.createSource(new String(data, UTF_8)).asByteSource(UTF_8); } @Override public byte[] getExpected(byte[] data) { return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
checkNotNull(factory); return new ByteSourceFactory() { @Override public ByteSource createSource(byte[] data) throws IOException { return factory.createSource(new String(data, UTF_8)).asByteSource(UTF_8); } @Override public byte[] getExpected(byte[] data) { return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AddressTest.kt
import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress() assertThat(b).isEqualTo(a) assertThat(b.hashCode()).isEqualTo(a.hashCode())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java
public class IngestFactoryTest extends UnitFessTestCase { public void test_add_1() { IngestFactory factory = new IngestFactory(); factory.add(new TestIngester(1)); factory.add(new TestIngester(2)); factory.add(new TestIngester(3)); Ingester[] ingesters = factory.getIngesters(); assertEquals(1, ingesters[0].getPriority()); assertEquals(2, ingesters[1].getPriority());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0)