Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 675 for CheckForNull (0.19 sec)

  1. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      @Override
      @CheckForNull
      public V value(N node) {
        return adjacentNodeValues.get(node);
      }
    
      @Override
      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      @CheckForNull
      public V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
      Comparator<? super E> comparator();
    
      @CheckForNull
      Entry<E> firstEntry();
    
      @CheckForNull
      Entry<E> lastEntry();
    
      @CheckForNull
      Entry<E> pollFirstEntry();
    
      @CheckForNull
      Entry<E> pollLastEntry();
    
      /**
       * Returns a {@link SortedSet} view of the distinct elements in this multiset. (Outside GWT, this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/EndpointPairIterator.java

        // It's a little weird that we add `null` to this set, but it makes for slightly simpler code.
        @CheckForNull private Set<@Nullable N> visitedNodes;
    
        private Undirected(BaseGraph<N> graph) {
          super(graph);
          this.visitedNodes = Sets.newHashSetWithExpectedSize(graph.nodes().size() + 1);
        }
    
        @Override
        @CheckForNull
        protected EndpointPair<N> computeNext() {
          while (true) {
            /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingQueue.java

      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
      @CheckForNull
      public E poll() {
        return delegate().poll();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E remove() {
        return delegate().remove();
      }
    
      @Override
      @CheckForNull
      public E peek() {
        return delegate().peek();
      }
    
      @Override
      @ParametricNullness
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ForwardingValueGraph.java

        return delegate().edgeValue(endpoints);
      }
    
      @Override
      @CheckForNull
      public V edgeValueOrDefault(N nodeU, N nodeV, @CheckForNull V defaultValue) {
        return delegate().edgeValueOrDefault(nodeU, nodeV, defaultValue);
      }
    
      @Override
      @CheckForNull
      public V edgeValueOrDefault(EndpointPair<N> endpoints, @CheckForNull V defaultValue) {
        return delegate().edgeValueOrDefault(endpoints, defaultValue);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMultiset.java

        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean remove(@CheckForNull Object element) {
        return remove(element, 1) > 0;
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

        this.delegate = delegate;
      }
    
      @Override
      @CheckForNull
      public <T extends B> T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CheckForNull
      public <T extends B> T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
          return true;
        }
        if (a == null || b == null) {
          return false;
        }
        return doEquivalent(a, b);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

          this.entryIterable = (Iterable) entryIterable;
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return get(key) != null;
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object key) {
          if (key instanceof Range) {
            Range<?> range = (Range<?>) key;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top