Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for true (0.15 sec)

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

          int retainCount = occurrencesToRetain.count(entry.getElement());
          if (retainCount == 0) {
            entryIterator.remove();
            changed = true;
          } else if (retainCount < entry.getCount()) {
            multisetToModify.setCount(entry.getElement(), retainCount);
            changed = true;
          }
        }
        return changed;
      }
    
      /**
    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)
  2. android/guava/src/com/google/common/collect/Comparators.java

              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is <i>strictly</i>
       * greater than the element that preceded it, according to the specified comparator. Note that
       * this is always true when the iterable has fewer than two elements.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableMap} since 12.0)
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ImmutableMap<K, V>
        implements NavigableMap<K, V> {
      /**
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Mike Ward
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V>
        implements SetMultimap<K, V> {
      /**
    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/ImmutableRangeSet.java

      @LazyInit @CheckForNull private transient ImmutableRangeSet<C> complement;
    
      private final class ComplementRanges extends ImmutableList<Range<C>> {
        // True if the "positive" range set is empty or bounded below.
        private final boolean positiveBoundedBelow;
    
        // True if the "positive" range set is empty or bounded above.
        private final boolean positiveBoundedAbove;
    
        private final int size;
    
    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)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
    
      /**
    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)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

                } else {
                  return ranges.get(index + off);
                }
              }
    
              @Override
              boolean isPartialView() {
                return true;
              }
    
              // redeclare to help optimizers with b/310253115
              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible // serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. .github/workflows/scorecard.yml

              # For private repositories:
              #   - `publish_results` will always be set to `false`, regardless
              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return Iterators.find(unfiltered().headSet(e, true).descendingIterator(), predicate, null);
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
          return Iterables.find(unfiltered().tailSet(e, true), predicate, null);
        }
    
        @Override
        @CheckForNull
        public E higher(@ParametricNullness E e) {
    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)
Back to top