Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 921 for builder_ (0.06 sec)

  1. docs/changelogs/changelog_2x.md

    requests, responses, headers, and calls. It uses modern Java patterns like
    immutability and chained builders. The API now offers asynchronous callbacks
    in addition to synchronous blocking calls.
    
    #### API Changes
    
     *  **New Request and Response types,** each with their own builder. There's also
        a `RequestBody` class to write the request body to the network and a
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
      }
    
      public void testBuilderPutNullValue() {
        Builder<String, Integer> builder = new Builder<>();
        assertThrows(NullPointerException.class, () -> builder.put("one", null));
      }
    
      public void testBuilderPutNullKeyViaPutAll() {
        Builder<String, Integer> builder = new Builder<>();
        assertThrows(
            NullPointerException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. clause/order_by.go

    	return "ORDER BY"
    }
    
    // Build build where clause
    func (orderBy OrderBy) Build(builder Builder) {
    	if orderBy.Expression != nil {
    		orderBy.Expression.Build(builder)
    	} else {
    		for idx, column := range orderBy.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column.Column)
    			if column.Desc {
    				builder.WriteString(" DESC")
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 03 02:30:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

          ImmutableSet.Builder<ResourceInfo> builder = ImmutableSet.builder();
          scannedFiles.add(home);
          scan(home, scannedFiles, builder);
          return builder.build();
        }
    
        private void scan(File file, Set<File> scannedUris, ImmutableSet.Builder<ResourceInfo> builder)
            throws IOException {
          try {
            if (!file.exists()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

      forObsoleteRfc2965: Boolean,
    ): String = cookie.toString(forObsoleteRfc2965)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
      line: String,
    ): Headers.Builder = builder.addLenient(line)
    
    internal fun addHeaderLenient(
      builder: Headers.Builder,
      name: String,
      value: String,
    ): Headers.Builder = builder.addLenient(name, value)
    
    internal fun cacheGet(
      cache: Cache,
      request: Request,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. clause/delete.go

    package clause
    
    type Delete struct {
    	Modifier string
    }
    
    func (d Delete) Name() string {
    	return "DELETE"
    }
    
    func (d Delete) Build(builder Builder) {
    	builder.WriteString("DELETE")
    
    	if d.Modifier != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(d.Modifier)
    	}
    }
    
    func (d Delete) MergeClause(clause *Clause) {
    	clause.Name = ""
    	clause.Expression = d
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 359 bytes
    - Viewed (0)
  7. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        }
        builder.append(template.substring(templateStart));
    
        // if we run out of placeholders, append the extra args in square braces
        if (i < args.length) {
          builder.append(" [");
          builder.append(args[i++]);
          while (i < args.length) {
            builder.append(", ");
            builder.append(args[i++]);
          }
          builder.append("]");
        }
    
        return builder.toString();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      }
    
      public static <K, V> Builder<K, V> builder() {
        return new Builder<K, V>();
      }
    
      public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> {
    
        public Builder() {}
    
        Builder(int initCapacity) {
          super(initCapacity);
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. clause/locking.go

    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    		builder.WriteQuoted(locking.Table)
    	}
    
    	if locking.Options != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(locking.Options)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 773 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        unused = builder.build(); // this is *also* allowed
      }
    
      public void testBuildMutate() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        builder.setPriority(2); // change the state of the builder
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top