Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for custom (0.18 sec)

  1. android/guava/src/com/google/common/base/Verify.java

        if (!expression) {
          throw new VerifyException();
        }
      }
    
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
       * custom message otherwise.
       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

      }
    
      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
        for (int i = 0; i < 11; i++) {
          assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
        }
      }
    
      public void testNameFormatWithPercentD_custom() {
        String format = "super-duper-thread-%d";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Verify.java

        if (!expression) {
          throw new VerifyException();
        }
      }
    
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
       * custom message otherwise.
       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                      exitLatch.countDown();
                    }
                  }
                },
                "Custom thread name");
        thread.start();
        enterLatch.await();
        assertFalse(task.isDone());
        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingObject.java

     * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface,
     * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
     * object being tested for equality to the custom interface. {@code ForwardingObject} implements no
     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        List<String> getInactiveProfileIds();
    
        /**
         * Add a {@link org.apache.maven.model.Profile} that has come from an external source. This may be from a custom
         * configuration like the MavenCLI settings.xml file, or from a custom dialog in an IDE integration like M2Eclipse.
         *
         * @param profile
         */
        void addProfile(Profile profile);
    
        void setProfiles(List<Profile> profiles);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                dslRef.getStylesheetDirectory().convention(extension.getSourceRoot().dir("stylesheets"));
                dslRef.getHighlightStylesheet().convention(dslRef.getStylesheetDirectory().file("custom-highlight/custom-xslthl-config.xml"));
    
                dslRef.getStagingRoot().convention(extension.getStagingRoot().dir("dsl"));
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(
                100,
                new Supplier<Lock>() {
                  @Override
                  public Lock get() {
                    return new ReentrantLock(true);
                  }
                }),
            Striped.custom(
                256,
                new Supplier<Lock>() {
                  @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                      exitLatch.countDown();
                    }
                  }
                },
                "Custom thread name");
        thread.start();
        enterLatch.await();
        assertFalse(task.isDone());
        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

     * GWT emulation of {@link SingletonImmutableSet}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top