Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 3,329 for new1 (0.02 seconds)

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

       *
       * {@snippet :
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
       *         .put(BarHandler.class, new SubBarHandler())
       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }
       *
       * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

    public class IngestFactoryTest extends UnitFessTestCase {
    
        @Test
        public void test_add_1() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(1));
            factory.add(new TestIngester(2));
            factory.add(new TestIngester(3));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // Track specific call arguments
            List<String> createdIndices = new ArrayList<>();
            List<String> deletedIndices = new ArrayList<>();
            List<String[]> reindexPairs = new ArrayList<>();
            List<String[]> addMappingCalls = new ArrayList<>();
            List<String[]> createAliasCalls = new ArrayList<>();
            List<String[]> insertBulkDataCalls = new ArrayList<>();
            boolean lastLoadBulkData = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

        }
    
        @Test
        public void test_getCacheKey_emptyArrays() {
            String seed = "test_seed";
            String[] tags = new String[0];
            String[] roles = new String[0];
            String[] fields = new String[0];
            String[] excludes = new String[0];
    
            String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
    
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/LongAddables.java

          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
          return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod());
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top