Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Kasper (0.17 sec)

  1. src/test/java/org/codelibs/fess/it/ITBase.java

    package org.codelibs.fess.it;
    
    import static io.restassured.RestAssured.given;
    
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    import io.restassured.mapper.ObjectMapperType;
    import io.restassured.specification.RequestSpecification;
    
    public class ITBase {
        private static final Logger logger = LogManager.getLogger(ITBase.class);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

    public class MappedCollection<U, V> extends AbstractCollection<U> {
        private final Collection<V> list;
        private final Function<V, U> mapper;
    
        public MappedCollection(Collection<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicate.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>The {@link Predicates} class provides common predicates and related utilities.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicate.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
     * java.util.function.Predicate} is expected, use the method reference {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedList.java

    public class MappedList<U, V> extends AbstractList<U> {
        private final List<V> list;
        private final Function<V, U> mapper;
    
        public MappedList(List<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public U get(int index) {
            return mapper.apply(list.get(index));
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                    return plugin;
                }
            });
        }
    
        static <T> List<T> map(List<T> list, Function<T, T> mapper) {
            List<T> newList = list;
            for (int i = 0; i < newList.size(); i++) {
                T oldT = newList.get(i);
                T newT = mapper.apply(oldT);
                if (newT != oldT) {
                    if (newList == list) {
                        newList = new ArrayList<>(list);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java

            }
            return model;
        }
    
        private <T> List<T> map(List<T> resources, Function<T, T> mapper) {
            List<T> newResources = null;
            if (resources != null) {
                for (int i = 0; i < resources.size(); i++) {
                    T resource = resources.get(i);
                    T newResource = mapper.apply(resource);
                    if (newResource != null) {
                        if (newResources == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top