Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Complement (0.17 sec)

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

        }
      }
    
      @Override
      public ImmutableRangeSet<C> complement() {
        ImmutableRangeSet<C> result = complement;
        if (result != null) {
          return result;
        } else if (ranges.isEmpty()) {
          return complement = all();
        } else if (ranges.size() == 1 && ranges.get(0).equals(Range.all())) {
          return complement = of();
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * element, in order to determine the element type. If the collection could be empty, use {@link
       * #complementOf(Collection, Class)} instead of this method.
       *
       * @param collection the collection whose complement should be stored in the enum set
       * @return a new, modifiable {@code EnumSet} containing all values of the enum that aren't present
       *     in the given collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         */
        @DoNotCall
        @Deprecated
        @Override
        public final ImmutableSortedMap<K, V> buildKeepingLast() {
          // TODO(emcmanus): implement
          throw new UnsupportedOperationException(
              "ImmutableSortedMap.Builder does not yet implement buildKeepingLast()");
        }
      }
    
      private final transient RegularImmutableSortedSet<K> keySet;
      private final transient ImmutableList<V> valueList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * natural ordering. The sorted sets use {@link Ordering#natural()} as the comparator. This method
       * provides more type-safety than {@link #builder}, as it can be called only for classes that
       * implement {@link Comparable}.
       */
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
    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)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * inner lists of three and two elements, all in the original order.
       *
       * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()}
       * method. The returned lists implement {@link RandomAccess}, whether or not the input list does.
       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
    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)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              break;
            }
          }
        }
        return rValue;
      }
    
      /**
       * Subclasses can override this method to implement interruption of the future's computation. The
       * method is invoked automatically by a successful call to {@link #cancel(boolean) cancel(true)}.
       *
       * <p>The default implementation does nothing.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return bimap.hashCode();
        }
    
        // There's really no good way to implement toString() without printing the entire BiMap, right?
        @Override
        public String toString() {
          return "Maps.asConverter(" + bimap + ")";
        }
    
        private static final long serialVersionUID = 0L;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
     * implement {@code BiPredicate<T, T>} (as it does in the main Guava artifact), but we currently
     * target a lower API level. In the meantime, if you have support for method references you can use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
       * As a consequence, passing values like {@code Integer.MAX_VALUE} can lead to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

     * <i>chaining</i>, and <i>using</i>.
     *
     * <h4>Acquiring</h4>
     *
     * <p>The common ways to get an instance of {@code Ordering} are:
     *
     * <ul>
     *   <li>Subclass it and implement {@link #compare} instead of implementing {@link Comparator}
     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
     *   <li>Use the natural ordering, {@link Ordering#natural}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top