Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for T1 (0.01 sec)

  1. src/main/java/org/codelibs/core/misc/Pair.java

     *
     * @author koichik
     * @param <T1>
     *            The type of the first value
     * @param <T2>
     *            The type of the second value
     */
    public class Pair<T1, T2> {
    
        /** The first value */
        protected T1 first;
    
        /** The second value */
        protected T2 second;
    
        /**
         * Creates and returns a pair of two values.
         *
         * @param <T1>
         *            The type of the first value
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p4/p4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          assertThat(source.readUtf8()).isEqualTo(responseBody)
          assertThat(response.peekTrailers()).isEqualTo(headersOf("t1", "v2"))
          assertThat(response.peekTrailers()).isEqualTo(headersOf("t1", "v2")) // Idempotent.
          assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2"))
        }
      }
    
      @Test
      fun trailersWithServerTruncatedResponseHttp1() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Tuple4.java

    /**
     * A tuple of four values.
     *
     * @param <T1>
     *            The type of the first value
     * @param <T2>
     *            The type of the second value
     * @param <T3>
     *            The type of the third value
     * @param <T4>
     *            The type of the fourth value
     */
    public class Tuple4<T1, T2, T3, T4> {
    
        /** The first value */
        protected T1 value1;
    
        /** The second value */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/Tuple5.java

         * @param value4
         *            The fourth value
         * @param value5
         *            The fifth value
         * @return A tuple of five values
         */
        public static <T1, T2, T3, T4, T5> Tuple5<T1, T2, T3, T4, T5> tuple5(final T1 value1, final T2 value2, final T3 value3, final T4 value4,
                final T5 value5) {
            return new Tuple5<>(value1, value2, value3, value4, value5);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1")));
        }
    
        public void test_toLineString() {
            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            /**
             * @return T1
             */
            T1[] array();
    
            /**
             * @return List
             */
            List<T2> list();
    
            /**
             * @return Set
             */
            Set<T1> set();
    
            /**
             * @return Map
             */
            Map<T1, T2> map();
        }
    
        /**
         *
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Tuple3.java

    /**
     * A tuple of three values.
     *
     * @author koichik
     * @param <T1>
     *            The type of the first value
     * @param <T2>
     *            The type of the second value
     * @param <T3>
     *            The type of the third value
     */
    public class Tuple3<T1, T2, T3> {
    
        /** The first value */
        protected T1 value1;
    
        /** The second value */
        protected T2 value2;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            @Override
            public int compare(final MyToken t1, final MyToken t2) {
                if (t1.startOffset < t2.startOffset) {
                    return -1;
                } else if (t1.startOffset > t2.startOffset) {
                    return 1;
                }
    
                if (t1.endOffset < t2.endOffset) {
                    return -1;
                } else if (t1.endOffset > t2.endOffset) {
                    return 1;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class));
      }
    
      public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() {
        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
      public <T> void testWhere_genericArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top