Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 6,449 for _return (0.1 sec)

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

        return valueComparator;
      }
    
      /** @since 14.0 (present with return type {@code SortedSet} since 2.0) */
      @Override
      @GwtIncompatible // NavigableSet
      public NavigableSet<V> get(@ParametricNullness K key) {
        return (NavigableSet<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Objects.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link
       * java.util.Objects#equals} instead.
       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/AbstractBaseGraph.java

        if (isDirected()) {
          return IntMath.saturatedAdd(predecessors(node).size(), successors(node).size());
        } else {
          Set<N> neighbors = adjacentNodes(node);
          int selfLoopCount = (allowsSelfLoops() && neighbors.contains(node)) ? 1 : 0;
          return IntMath.saturatedAdd(neighbors.size(), selfLoopCount);
        }
      }
    
      @Override
      public int inDegree(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        public boolean equals(@Nullable Object o) {
          if (!(o instanceof ValidTestObject)) {
            return false;
          }
          ValidTestObject other = (ValidTestObject) o;
          if (aspect1 != other.aspect1) {
            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
        return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can
       * be suppressed in GWT tests.
       */
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullnessCasts.java

        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
      @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
      // The warnings are legitimate. Each time we use this method, we document why.
      @ParametricNullness
      static <T extends @Nullable Object> T unsafeNull() {
        return null;
      }
    
      private NullnessCasts() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/NullnessCasts.java

        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
      @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
      // The warnings are legitimate. Each time we use this method, we document why.
      @ParametricNullness
      static <T extends @Nullable Object> T unsafeNull() {
        return null;
      }
    
      private NullnessCasts() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          check(!closed) { "closed" }
          if (inputExhausted) return -1
    
          val read = super.read(sink, byteCount)
          if (read == -1L) {
            inputExhausted = true
            responseBodyComplete()
            return -1
          }
          return read
        }
    
        override fun close() {
          if (closed) return
          if (!inputExhausted) {
            responseBodyComplete()
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_op_attrs.h

     protected:
      enum AbstractOpAttrsKind { kEager, kTfrt };
      explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
      AbstractOpAttrsKind getKind() const { return kind_; }
      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    return INCOMPARABLE;
                }
    
                return MORE_SPECIFIC;
            }
    
            if (c2MoreSpecific) {
                return LESS_SPECIFIC;
            }
    
            // Incomparable due to non-related arguments (i.e.
            // foo(Runnable) vs. foo(Serializable))
            return INCOMPARABLE;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top