Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for result (0.17 sec)

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

            return (result[0] == 0) ? this : rebalance();
          } else if (cmp > 0) {
            AvlNode<E> initRight = right;
            if (initRight == null) {
              result[0] = 0;
              return this;
            }
    
            right = initRight.remove(comparator, e, count, result);
    
            if (result[0] > 0) {
              if (count >= result[0]) {
                this.distinctElements--;
                this.totalCount -= result[0];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        if (elements instanceof ImmutableMultiset) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableMultiset<E> result = (ImmutableMultiset<E>) elements;
          if (!result.isPartialView()) {
            return result;
          }
        }
    
        Multiset<? extends E> multiset =
            (elements instanceof Multiset)
                ? Multisets.cast(elements)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

        checkNotNull(type);
        AtomicReference<@Nullable Type> result = new AtomicReference<>();
        new TypeVisitor() {
          @Override
          void visitTypeVariable(TypeVariable<?> t) {
            result.set(subtypeOfComponentType(t.getBounds()));
          }
    
          @Override
          void visitWildcardType(WildcardType t) {
            result.set(subtypeOfComponentType(t.getUpperBounds()));
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

      private Multisets() {}
    
      /**
       * Returns a {@code Collector} that accumulates elements into a multiset created via the specified
       * {@code Supplier}, whose elements are the result of applying {@code elementFunction} to the
       * inputs, with counts equal to the result of applying {@code countFunction} to the inputs.
       * Elements are added in encounter order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    
      private ImmutableSetMultimap<V, K> invert() {
        Builder<V, K> builder = builder();
        for (Entry<K, V> entry : entries()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @Override
      public ImmutableSortedSet<E> descendingSet() {
        // racy single-check idiom
        ImmutableSortedSet<E> result = descendingSet;
        if (result == null) {
          result = descendingSet = createDescendingSet();
          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        Object result = get(hashTable, alternatingKeysAndValues, size, 0, key);
        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
        } else {
          return (V) result;
        }
      }
    
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/BaseEncoding.java

          BaseEncoding result = upperCase;
          if (result == null) {
            Alphabet upper = alphabet.upperCase();
            result = upperCase = (upper == alphabet) ? this : newInstance(upper, paddingChar);
          }
          return result;
        }
    
        @Override
        public BaseEncoding lowerCase() {
          BaseEncoding result = lowerCase;
          if (result == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top