Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,961 for isobject (0.05 sec)

  1. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
              @Override
              public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CaseFormat.java

        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter that = (StringConverter) object;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

         *
         * @param type
         *            変換先の型
         * @param o
         *            変換元のオブジェクト
         * @return {@literal type}に変換された{@link Number}
         */
        public static Object convertNumber(final Class<?> type, final Object o) {
            if (type == Integer.class) {
                return IntegerConversionUtil.toInteger(o);
            } else if (type == BigDecimal.class) {
                return BigDecimalConversionUtil.toBigDecimal(o);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * を返します。
         *
         * @param object
         *            オブジェクト
         * @return オブジェクトが配列の場合は{@literal true}。{@literal null}の場合は{@literal false}
         */
        public static boolean isArray(final Object object) {
            return object != null && object.getClass().isArray();
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSubjectGenerator<T extends @Nullable Object> {
      T createTestSubject();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

    import mockwebserver3.MockWebServer
    import org.junit.jupiter.api.Test
    
    class DispatcherCleanupTest {
      @Test
      fun testFinish(server: MockWebServer) {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractBaseGraph.java

        checkState((degreeSum & 1) == 0);
        return degreeSum >>> 1;
      }
    
      /**
       * An implementation of {@link BaseGraph#edges()} defined in terms of {@link Graph#nodes()} and
       * {@link #successors(Object)}.
       */
      @Override
      public Set<EndpointPair<N>> edges() {
        return new AbstractSet<EndpointPair<N>>() {
          @Override
          public UnmodifiableIterator<EndpointPair<N>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<Integer> builder = ImmutableList.builderWithExpectedSize(10);
        Object[] builderArray = builder.contents;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
        }
        Object[] builderArrayAfterAdds = builder.contents;
        RegularImmutableList<Integer> list = (RegularImmutableList<Integer>) builder.build();
        Object[] listInternalArray = list.array;
        assertSame(builderArray, builderArrayAfterAdds);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
      @Override
      public Set<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Set<AnEnum> create(AnEnum[] elements);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

      }
    
      /** Returns a request that transforms `request` to be all uppercase.  */
      private fun uppercaseRequest(request: Request): Request {
        val uppercaseBody: RequestBody =
          object : ForwardingRequestBody(request.body) {
            @Throws(IOException::class)
            override fun writeTo(sink: BufferedSink) {
              delegate().writeTo(uppercaseSink(sink).buffer())
            }
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top