Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dove (0.01 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesWritten, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

          object : ProgressListener {
            private var firstUpdate = true
    
            override fun update(
              bytesWritten: Long,
              contentLength: Long,
              done: Boolean,
            ) {
              if (done) {
                println("completed")
              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. docs/recipes.md

            fun run() {
              val progressListener = object : ProgressListener {
                private var firstUpdate = true
    
                override fun update(bytesWritten: Long, contentLength: Long, done: Boolean) {
                  if (done) {
                    println("completed")
                  } else {
                    if (firstUpdate) {
                      firstUpdate = false
                      if (contentLength == -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

        } else if (type instanceof WildcardType) {
          return resolveWildcardType((WildcardType) type);
        } else {
          // if Class<?>, no resolution needed, we are done.
          return type;
        }
      }
    
      @CanIgnoreReturnValue
      Type[] resolveTypesInPlace(Type[] types) {
        for (int i = 0; i < types.length; i++) {
          types[i] = resolveType(types[i]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. README.md

    // Bean metadata introspection
    BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
    PropertyDesc nameProperty = beanDesc.getPropertyDesc("name");
    nameProperty.setValue(bean, "John Doe");
    
    // Bean copying with flexible options
    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

        } else if (type instanceof WildcardType) {
          return resolveWildcardType((WildcardType) type);
        } else {
          // if Class<?>, no resolution needed, we are done.
          return type;
        }
      }
    
      @CanIgnoreReturnValue
      Type[] resolveTypesInPlace(Type[] types) {
        for (int i = 0; i < types.length; i++) {
          types[i] = resolveType(types[i]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top