Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2861 - 2870 of 4,422 for 1Final (0.36 seconds)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
      static final class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = new ArrayList<>();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
      public EqualsTester() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/FilteredMultimapValues.java

    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
      @Weak private final FilteredMultimap<K, V> multimap;
    
      FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
        this.multimap = checkNotNull(multimap);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

         * carried exit code will be returned from invoker {@link Invoker#invoke(InvokerRequest)} method.
         */
        public static final class ExitException extends InvokerException {
            private final int exitCode;
    
            public ExitException(int exitCode) {
                super("EXIT=" + exitCode);
                this.exitCode = exitCode;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java

    import java.util.regex.Pattern;
    
    /**
     * Checks the snippets included in the docs aren't too wide to fit on
     * the page.
     */
    public class SnippetLengthCheck extends AbstractFileSetCheck {
        private static final Pattern START = Pattern.compile("^( *)//\\s*tag::(.+?)\\s*$", Pattern.MULTILINE);
        private int max;
    
        /**
         * The maximum width that a snippet may have.
         */
        public void setMax(int max) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/headers/InjectHeaders.java

    public class InjectHeaders extends FeatureInjector implements RestTestTransformByParentObject {
    
        private static JsonNodeFactory jsonNodeFactory = JsonNodeFactory.withExactBigDecimals(false);
    
        private final Map<String, String> headers;
        private final Set<Function<ObjectNode, Boolean>> applyConditions;
    
        /**
         * @param headers The headers to inject
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 07 15:48:06 GMT 2021
    - 3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Platform.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CartesianList.java

    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            }
            builder.addAll(array);
          }
        },
        ;
    
        static final BuilderOp[] values = values();
    
        static BuilderOp randomOp() {
          return values[random.nextInt(values.length)];
        }
    
        abstract void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter);
      }
    
      private static final Random random = new Random(42);
    
      public void testLength() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
Back to Top