Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1981 - 1990 of 4,422 for 1Final (0.13 seconds)

  1. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      private final Comparator<? super T> comparator;
      private final boolean hasLowerBound;
      private final @Nullable T lowerEndpoint;
      private final BoundType lowerBoundType;
      private final boolean hasUpperBound;
      private final @Nullable T upperEndpoint;
      private final BoundType upperBoundType;
    
      private GeneralRange(
          Comparator<? super T> comparator,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // internal Sync object, so this is safe since the shadowed locks are never
        // exposed or used.
        private final CycleDetectingReentrantReadLock readLock;
        private final CycleDetectingReentrantWriteLock writeLock;
    
        private final LockGraphNode lockGraphNode;
    
        private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) {
          super(fair);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = new LinkedList<>();
        private final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      private ExecutorService exec;
    
      private final CountDownLatch runLatch = new CountDownLatch(1);
      private final CountDownLatch taskLatch = new CountDownLatch(1);
      private final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      private volatile boolean throwException = false;
    
      private final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

       */
      @J2ktIncompatible // serialization
      private static final class SerializedForm implements Serializable {
        final Object[] elements;
    
        SerializedForm(Object[] elements) {
          this.elements = elements;
        }
    
        Object readResolve() {
          return copyOf(elements);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. android/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)
  7. android/guava/src/com/google/common/reflect/TypeResolver.java

      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
        final Type capture(Type type) {
          checkNotNull(type);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        }
        derivedFeatures.remove(CollectionSize.ZERO);
        return derivedFeatures;
      }
    
      private static final class AsMapGenerator<K, V, M extends Multimap<K, V>>
          implements TestMapGenerator<K, Collection<V>>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator;
    
        AsMapGenerator(OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

          map.put(entry.getKey(), entry.getValue());
        }
      }
    
      static final Predicate<String> FILTER_KEYS =
          new Predicate<String>() {
            @Override
            public boolean apply(@Nullable String string) {
              return !Objects.equals(string, "banana") && !Objects.equals(string, "eggplant");
            }
          };
    
      static final Predicate<String> FILTER_VALUES =
          new Predicate<String>() {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbPipeOutputStream.java

     *
     * @author mbechler
     */
    public class SmbPipeOutputStream extends SmbFileOutputStream {
    
        private final SmbPipeHandleImpl handle;
    
        /**
         * @param handle
         * @throws SmbException
         */
        SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException {
            super(handle.getPipe(), th, null, 0, 0, 0);
            this.handle = handle;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top