Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 675 for CheckForNull (0.21 sec)

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

       *
       * @return the converted value; is null <i>if and only if</i> {@code a} is null
       */
      @CheckForNull
      public final B convert(@CheckForNull A a) {
        return correctedDoForward(a);
      }
    
      @CheckForNull
      B correctedDoForward(@CheckForNull A a) {
        if (handleNullAutomatically) {
          // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert?
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

        // which would cause memory leaks when non-empty HashBiMap with cyclic BiEntry
        // instances is deallocated.
        @CheckForNull BiEntry<K, V> nextInKToVBucket;
        @Weak @CheckForNull BiEntry<K, V> nextInVToKBucket;
    
        @Weak @CheckForNull BiEntry<K, V> nextInKeyInsertionOrder;
        @Weak @CheckForNull BiEntry<K, V> prevInKeyInsertionOrder;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/VerifyException.java

      public VerifyException(@CheckForNull String message) {
        super(message);
      }
    
      /**
       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          throw new NoSuchElementException();
        }
        return elements.get(size() - 1);
      }
    
      @Override
      @CheckForNull
      public E lower(E element) {
        int index = headIndex(element, false) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
      protected E standardLower(@ParametricNullness E e) {
        return Iterators.getNext(headSet(e, false).descendingIterator(), null);
      }
    
      @Override
      @CheckForNull
      public E floor(@ParametricNullness E e) {
        return delegate().floor(e);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @LazyInit @CheckForNull private transient Set<Entry<E>> entrySet;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

      @Override
      public Comparator<? super E> comparator() {
        return comparator;
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingMap.java

      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V remove(@CheckForNull Object key) {
        return delegate().remove(key);
      }
    
      @Override
      public void clear() {
        delegate().clear();
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return delegate().containsKey(key);
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableTable.java

        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      static <R, C, V> RegularImmutableTable<R, C, V> forCells(
          List<Cell<R, C, V>> cells,
          @CheckForNull Comparator<? super R> rowComparator,
          @CheckForNull Comparator<? super C> columnComparator) {
        checkNotNull(cells);
        if (rowComparator != null || columnComparator != null) {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @ParametricNullness final K key;
        Collection<V> delegate;
        @CheckForNull final WrappedCollection ancestor;
        @CheckForNull final Collection<V> ancestorDelegate;
    
        WrappedCollection(
            @ParametricNullness K key,
            Collection<V> delegate,
            @CheckForNull WrappedCollection ancestor) {
          this.key = key;
          this.delegate = delegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
Back to top