- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setNameFormat (0.06 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) { assertThat(factory.newThread(monitoredRunnable).getName()) .isEqualTo(rootLocaleFormat(format, i)); } } public void testNameFormatWithPercentD_custom() { String format = "super-duper-thread-%d"; ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) { assertThat(factory.newThread(monitoredRunnable).getName()) .isEqualTo(rootLocaleFormat(format, i)); } } public void testNameFormatWithPercentD_custom() { String format = "super-duper-thread-%d"; ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0)