Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for Present (0.25 sec)

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

    import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_HIGHER;
    import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_LOWER;
    import static com.google.common.collect.SortedLists.KeyPresentBehavior.ANY_PRESENT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.SortedLists.KeyAbsentBehavior;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

    import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_HIGHER;
    import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_LOWER;
    import static com.google.common.collect.SortedLists.KeyPresentBehavior.ANY_PRESENT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    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)
  3. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      @CheckForNull
      public V get(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(key),
                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
        if (index == -1) {
          return null;
        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? values.get(index) : null;
        }
    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)
  4. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        // Backward compat
    
        /**
         * Returns the plugin context for given key ({@link PluginDescriptor#getPluginLookupKey()} and
         * {@link MavenProject}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the returned map instance
         * implements {@link ConcurrentMap} as well.
         *
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code int} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Set<Feature<?>> moreAbsentFeatures = moreRequirements.getAbsentFeatures();
        checkConflict("absent", absentFeatures, "present", morePresentFeatures, source);
        checkConflict("present", presentFeatures, "absent", moreAbsentFeatures, source);
        presentFeatures.addAll(morePresentFeatures);
        absentFeatures.addAll(moreAbsentFeatures);
        return requirements;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            unwantedFeatures.retainAll(features);
            logger.finer(
                Platform.format(
                    "%s: skipping because these features are present: %s", method, unwantedFeatures));
          }
          return false;
        }
        return true;
      }
    
      private static boolean intersect(Set<?> a, Set<?> b) {
        return !disjoint(a, b);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

       */
      @CanIgnoreReturnValue
      int remove(@CompatibleWith("E") @CheckForNull Object element, int occurrences);
    
      /**
       * Removes a <i>single</i> occurrence of the specified element from this multiset, if present.
       *
       * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code char} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top