Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2391 - 2400 of 4,422 for 1Final (0.26 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                        public final String finalField = "some";
                        public String foo() { return "bar"; }
                    }
                """,
                v2 = """
                    import $nullableAnnotationName;
                    public class Source {
                        @Nullable public String nonFinalField = null;
                        @Nullable public final String finalField = null;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

          list.add(() -> integer.compareAndSet(expectedCount, expectedCount + 1), directExecutor());
        }
        list.execute();
        assertEquals(10, integer.get());
      }
    
      private static final class MockRunnable implements Runnable {
        final CountDownLatch countDownLatch;
    
        MockRunnable(CountDownLatch countDownLatch) {
          this.countDownLatch = countDownLatch;
        }
    
        @Override
        public void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            for (int j = 0; j < 3; ++j) {
                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

                  requireNonNull(localAlternatingKeysAndValues[inI++]);
            }
          }
          return newAlternatingKeysAndValues;
        }
    
        static final class DuplicateKey {
          private final Object key;
          private final Object value1;
          private final Object value2;
    
          DuplicateKey(Object key, Object value1, Object value2) {
            this.key = key;
            this.value1 = value1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtIncompatible
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
      private final Object lock = new Object();
    
      /**
       * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

     * @since 10.0
     */
    public class EventBus {
    
      private static final Logger logger = Logger.getLogger(EventBus.class.getName());
    
      private final String identifier;
      private final Executor executor;
      private final SubscriberExceptionHandler exceptionHandler;
    
      private final SubscriberRegistry subscribers = new SubscriberRegistry(this);
      private final Dispatcher dispatcher;
    
      /** Creates a new EventBus named "default". */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        }
      }
    
      private static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
          implements MapDifference<K, V> {
        final Map<K, V> onlyOnLeft;
        final Map<K, V> onlyOnRight;
        final Map<K, V> onBoth;
        final Map<K, ValueDifference<V>> differences;
    
        MapDifferenceImpl(
            Map<K, V> onlyOnLeft,
            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Maps.java

        }
      }
    
      private static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
          implements MapDifference<K, V> {
        final Map<K, V> onlyOnLeft;
        final Map<K, V> onlyOnRight;
        final Map<K, V> onBoth;
        final Map<K, ValueDifference<V>> differences;
    
        MapDifferenceImpl(
            Map<K, V> onlyOnLeft,
            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  10. docs/features/events.md

    ```java
    class PrintingEventListener extends EventListener {
      public static final Factory FACTORY = new Factory() {
        final AtomicLong nextCallId = new AtomicLong(1L);
    
        @Override public EventListener create(Call call) {
          long callId = nextCallId.getAndIncrement();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top