Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 432 for setMap (0.03 sec)

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

           * requireNonNull is safe for a properly serialized multimap: We've already inserted a
           * collection for each key that we expect.
           */
          requireNonNull(map.get(key)).add(value);
        }
        setMap(map);
      }
    
      private static final class MultimapIterationChain<
          K extends @Nullable Object, V extends @Nullable Object> {
        @Nullable ValueEntry<K, V> firstEntry;
        @Nullable ValueEntry<K, V> lastEntry;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       */
      protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) {
        checkArgument(map.isEmpty());
        this.map = map;
      }
    
      /** Used during deserialization only. */
      final void setMap(Map<K, Collection<V>> map) {
        this.map = map;
        totalSize = 0;
        for (Collection<V> values : map.values()) {
          checkArgument(!values.isEmpty());
          totalSize += values.size();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean() throws Exception {
            final MyClass src = new MyClass();
            src.setAaa("111");
            src.setCcc("333");
    
            final MyClass2 dest = new MyClass2();
            dest.setAaa("aaa");
            dest.setBbb("bbb");
            dest.setDdd("ddd");
    
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.getAaa(), is("111"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            }
    
            /**
             * @param i
             */
            public void setAaa(final int i) {
            }
    
            /**
             * @param s
             */
            public void setAaa(final String s) {
            }
        }
    
        /** */
        public static class Hoge {
    
            /** */
            public List<String> foo;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            aggregateLogJob = new AggregateLogJob();
        }
    
        public void test_constructor() {
            // Test default constructor
            AggregateLogJob job = new AggregateLogJob();
            assertNotNull(job);
        }
    
        public void test_execute_success() {
            // Setup mock SearchLogHelper that succeeds
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        private ScriptExecutor scriptExecutor;
        private ScriptEngineFactory scriptEngineFactory;
        private TestScriptEngine testScriptEngine;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            scriptExecutor = new ScriptExecutor();
            scriptEngineFactory = new ScriptEngineFactory();
            testScriptEngine = new TestScriptEngine();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessClientTest.java

        private InetAddress witnessServer;
        private InetAddress serverAddress;
    
        @BeforeEach
        void setUp() throws Exception {
            witnessServer = InetAddress.getByName("192.168.1.200");
            serverAddress = InetAddress.getByName("192.168.1.100");
    
            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            for (int i = 0; i < expected.length; i++) {
                assertEquals("Array element at index " + i + " differs", expected[i], actual[i]);
            }
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlJob = new CrawlJob();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test constructor and field initialization
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

    public class FessUserLocaleProcessProviderTest extends UnitFessTestCase {
    
        private FessUserLocaleProcessProvider provider;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            provider = new FessUserLocaleProcessProvider();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
            lenient().when(mockSmbNamedPipe.openPipe()).thenReturn(mockSmbPipeHandle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top