Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 675 for CheckForNull (0.14 sec)

  1. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
          return isFull() ? keyToIndex().keySet() : super.createKeySet();
        }
    
        @Override
        public int size() {
          return size;
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Listener {
        static final Listener TOMBSTONE = new Listener();
        @CheckForNull // null only for TOMBSTONE
        final Runnable task;
        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
        Listener(Runnable task, Executor executor) {
          this.task = task;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  3. guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Listener {
        static final Listener TOMBSTONE = new Listener();
        @CheckForNull // null only for TOMBSTONE
        final Runnable task;
        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
        Listener(Runnable task, Executor executor) {
          this.task = task;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  4. guava/src/com/google/common/graph/MapRetrievalCache.java

      // See the note about volatile in the superclass.
      @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry1;
      @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2;
    
      MapRetrievalCache(Map<K, V> backingMap) {
        super(backingMap);
      }
    
      @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map.
      @Override
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

        @CheckForNull Segment<K, V, E, S> currentSegment;
        @CheckForNull AtomicReferenceArray<E> currentTable;
        @CheckForNull E nextEntry;
        @CheckForNull WriteThroughEntry nextExternal;
        @CheckForNull WriteThroughEntry lastReturned;
    
        HashIterator() {
          nextSegmentIndex = segments.length - 1;
          nextTableIndex = -1;
          advance();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultiset.java

            header);
      }
    
      private static final class Reference<T> {
        @CheckForNull private T value;
    
        @CheckForNull
        public T get() {
          return value;
        }
    
        public void checkAndSet(@CheckForNull T expected, @CheckForNull T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Verify.java

       *
       * @since 23.1 (varargs overload since 17.0)
       */
      public static void verify(
          boolean expression,
          String errorMessageTemplate,
          @CheckForNull Object p1,
          @CheckForNull Object p2,
          @CheckForNull Object p3,
          @CheckForNull Object p4) {
        if (!expression) {
          throw new VerifyException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
      }
    
      /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    @ElementTypesAreNonnullByDefault
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      public int compare(@CheckForNull Object left, @CheckForNull Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
        return Lists.newArrayList(iterable);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AllEqualOrdering.java

    @ElementTypesAreNonnullByDefault
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      public int compare(@CheckForNull Object left, @CheckForNull Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
        return Lists.newArrayList(iterable);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        return (index >= 0 && get(index).equals(target)) ? index : -1;
      }
    
      @GwtIncompatible // ImmutableSortedSet.indexOf
      @Override
      public int lastIndexOf(@CheckForNull Object target) {
        return indexOf(target);
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        // Necessary for ISS's with comparators inconsistent with equals.
        return indexOf(target) >= 0;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top