- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 228 for Factory (0.06 seconds)
-
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");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 16.2K bytes - Click Count (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; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
CrawlerPooledObjectFactory<TestComponent> factory2 = createFactory("singletonComponent", listener); // Each factory retains its own configuration assertEquals("testComponent", factory.getComponentName()); assertNull(factory.getOnDestroyListener()); assertEquals("singletonComponent", factory2.getComponentName()); assertSame(listener, factory2.getOnDestroyListener()); } /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 13:07:01 GMT 2025 - 36.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
// The ubiquitous EnumLinkedListMultimap CountingSupplier<Queue<Integer>> factory = new QueueSupplier(); Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class); Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); assertEquals(0, factory.count); multimap.putAll(Color.BLUE, asList(3, 1, 4)); assertEquals(1, factory.count); multimap.putAll(Color.RED, asList(2, 7, 1, 8));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 38.9K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* } * * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory = * CycleDetectingLockFactory.newInstanceWithExplicitOrdering(Policies.THROW); * * Lock lock1 = factory.newReentrantLock(MyLockOrder.FIRST); * Lock lock2 = factory.newReentrantLock(MyLockOrder.SECOND); * Lock lock3 = factory.newReentrantLock(MyLockOrder.THIRD); * * lock1.lock(); * lock3.lock();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* {@link NullPointerException}. * <li>If there is any visible constructor or visible static factory method declared by the * class, all visible instance methods will be checked too using the instance created by * invoking the constructor or static factory method. * <li>If the constructor or factory method used to construct instance takes a parameter thatCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 17.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
Request .Builder() .url("https://$uriHost:$uriPort/") .build(), ) as RealCall } @AfterEach fun tearDown() { factory.close() } @Test fun singleRoute() { val address = factory.newAddress() val routeSelector = newRouteSelector(address) assertThat(routeSelector.hasNext()).isTrue() dns[uriHost] = dns.allocate(1) val selection = routeSelector.next()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
} /** * Gets the ingest factory component. * @return The ingest factory. */ public static IngestFactory getIngestFactory() { return getComponent(INGEST_FACTORY); } /** * Gets the script engine factory component. * @return The script engine factory. */ public static ScriptEngineFactory getScriptEngineFactory() {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 28.9K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
* * @return the logger instance */ @Nonnull Logger logger(); /** * Returns the factory for creating message builders. * * @return the message builder factory */ @Nonnull MessageBuilderFactory messageBuilderFactory(); /** * Returns the command-line arguments to be parsed. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0)