Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,799 for ADD (0.03 sec)

  1. guava/src/com/google/common/base/MoreObjects.java

       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .toString();
       *
       * // Returns "MyObject{x=1}"
       * MoreObjects.toStringHelper("MyObject")
       *     .add("x", 1)
       *     .toString();
       *
       * // Returns "ClassName{x=1, y=foo}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .add("y", "foo")
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/middleware.md

    ///
    
    ### Before and after the `response` { #before-and-after-the-response }
    
    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(ListMultimapAsMapTester.class);
        testers.add(ListMultimapEqualsTester.class);
        testers.add(ListMultimapPutTester.class);
        testers.add(ListMultimapPutAllTester.class);
        testers.add(ListMultimapRemoveTester.class);
        testers.add(ListMultimapReplaceValuesTester.class);
        return testers;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/DataConfigDbm.java

            List<ColumnInfo> ls = newArrayList();
            ls.add(columnAvailable());
            ls.add(columnBoost());
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
            ls.add(columnDescription());
            ls.add(columnHandlerName());
            ls.add(columnHandlerParameter());
            ls.add(columnHandlerScript());
            ls.add(columnName());
            ls.add(columnPermissions());
            ls.add(columnSortOrder());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        /**
         * Adds multiple command-line arguments to pass to the Python script.
         *
         * @param values the argument values to add
         * @return this PythonJob instance for method chaining
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test3() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.add(new TestDisposable2());
            DisposableUtil.add(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(3));
            DisposableUtil.dispose();
            assertThat(count, is(3));
            assertThat(names, is("ba"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

          Headers
            .Builder()
            .add("A", "a")
            .add("B", "bb")
            .build()
        assertThat(headers.toString()).isEqualTo("A: a\nB: bb\n")
      }
    
      @Test fun headersToStringRedactsSensitiveHeaders() {
        val headers =
          Headers
            .Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top