Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 232 for function (4.72 sec)

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

       *
       * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list,
       * keyFunction)}.
       */
      public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch(
          List<E> list,
          Function<? super E, K> keyFunction,
          @ParametricNullness K key,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

    import com.google.common.base.Function;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Tables#transformValues}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTransformValuesTest extends AbstractTableTest<Character> {
    
      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 16:54:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicLong;
    import java.util.function.LongBinaryOperator;
    import java.util.function.LongUnaryOperator;
    import javax.annotation.CheckForNull;
    
    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.Deque;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.ListIterator;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingListIterator}.
     *
     * @author Robert Konigsberg
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

          Collection<F> fromCollection, Function<? super F, T> function) {
        return new TransformedCollection<>(fromCollection, function);
      }
    
      static class TransformedCollection<F extends @Nullable Object, T extends @Nullable Object>
          extends AbstractCollection<T> {
        final Collection<F> fromCollection;
        final Function<? super F, ? extends T> function;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.io.Serializable;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicates.java

       *
       * @param target the collection that may contain the function input
       */
      public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) {
        return new InPredicate<>(target);
      }
    
      /**
       * Returns the composition of a function and a predicate. For every {@code x}, the generated
       * predicate returns {@code predicate(function(x))}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      private static final class ConcatenatedHashFunction extends AbstractCompositeHashFunction {
    
        private ConcatenatedHashFunction(HashFunction... functions) {
          super(functions);
          for (HashFunction function : functions) {
            checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@link com.google.common.collect.ImmutableBiMap}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top