Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3951 - 3960 of 7,594 for isclass (0.09 sec)

  1. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

    import org.apache.commons.lang3.ArrayUtils;
    import org.codelibs.core.stream.StreamUtil.StreamOf;
    import org.codelibs.fess.auth.chain.AuthenticationChain;
    import org.codelibs.fess.es.user.exentity.User;
    
    public class AuthenticationManager {
    
        protected AuthenticationChain[] chains = {};
    
        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import com.google.caliper.Param;
    import com.google.common.collect.Iterables;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6ListTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForArraysAsList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible // but no-op
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetSerializationTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
        Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.Credentials;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class Authenticate {
      private final OkHttpClient client;
    
      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Tests for Multimaps.filterEntries().asMap().
     *
     * @author Jared Levy
     */
    @GwtIncompatible(value = "untested")
    public class MultimapsFilterEntriesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
      private static final Predicate<Entry<String, Integer>> PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.exception.WebApiException;
    import org.lastaflute.web.util.LaRequestUtil;
    
    public final class WebApiUtil {
    
        private static final String WEB_API_EXCEPTION = "webApiException";
    
        private WebApiUtil() {
        }
    
        public static void setObject(final String name, final Object value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/exentity/Group.java

     */
    package org.codelibs.fess.es.user.exentity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.bsentity.BsGroup;
    
    /**
     * @author FreeGen
     */
    public class Group extends BsGroup {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top