- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,434 for created (0.04 sec)
-
TreeMultiset.java
E>>}, to support classes defined without generics. L78: */ L79: @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 L80: public static <E extends Comparable> TreeMultiset<E> create() { L81: return new TreeMultiset<>(Ordering.natural()); L82: } L83: L84: /** L85: * Creates a new, empty multiset, sorted according to the specified comparator. All elements L86: * inserted into the multiset must be <i>mutually comparable</i> by the specified comparator: L87: * {@code...github.com/google/guava/guava/src/com/google/co...Fri Oct 18 20:24:49 UTC 2024 34.5K bytes -
MultipartBody.kt
ReplaceWith(expression = "body"), L198: level = DeprecationLevel.ERROR, L199: ) L200: fun body(): RequestBody = body L201: L202: companion object { L203: @JvmStatic L204: fun create(body: RequestBody): Part = create(null, body) L205: L206: @JvmStatic L207: fun create( L208: headers: Headers?, L209: body: RequestBody, L210: ): Part { L211: require(headers?.get("Content-Type") == null) { "Unexpected header: Content-Type" } L212: re...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 10.9K bytes -
ImmutableIntArrayTest.java
L527: L528: @Override L529: public List<Integer> create(Object... elements) { L530: Integer[] array = new Integer[elements.length]; L531: int i = 0; L532: for (Object e : elements) { L533: array[i++] = (Integer) e; L534: } L535: return create(array); L536: } L537: L538: /** L539: * Creates a new collection containing the given elements; implement this method instead of L540: * {@link #create(Object...)}. L541: */ L542: protected abstract List<Integer>...github.com/google/guava/android/guava-tests/tes...Fri Oct 25 18:05:56 UTC 2024 20.1K bytes -
ImmutableDoubleArrayTest.java
} L544: L545: @Override L546: public List<Double> create(Object... elements) { L547: Double[] array = new Double[elements.length]; L548: int i = 0; L549: for (Object e : elements) { L550: array[i++] = (Double) e; L551: } L552: return create(array); L553: } L554: L555: /** L556: * Creates a new collection containing the given elements; implement this method instead of L557: * {@link #create(Object...)}. L558: */ L559: protected abstract List<Double>...github.com/google/guava/guava-tests/test/com/go...Fri Oct 25 18:05:56 UTC 2024 21.2K bytes -
CreateForm.java
@Min(value = 0) L114: @Max(value = 2147483647) L115: @ValidateTypeFailure L116: public Integer sortOrder; L117: L118: @Size(max = 1000) L119: public String createdBy; L120: L121: @ValidateTypeFailure L122: public Long createdTime; L123: L124: public void initialize() { L125: crudMode = CrudMode.CREATE; L126: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L127: includedUrls = fessConfig.getCrawlerDocumentHtmlDefaultIncludeIndexPatterns(); L128:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.2K bytes -
Queues.java
L51: L52: // ArrayBlockingQueue L53: L54: /** L55: * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access L56: * policy. L57: */ L58: @J2ktIncompatible L59: @GwtIncompatible // ArrayBlockingQueue L60: public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { L61: return new ArrayBlockingQueue<>(capacity); L62: } L63: L64: // ArrayDeque L65: L66: /** L67: * Creates an empty {@code ArrayDeque}. L68: * L69: * @since 12.0...github.com/google/guava/guava/src/com/google/co...Sat Oct 26 14:11:14 UTC 2024 18.2K bytes -
Relay.kt
@JvmField val PREFIX_DIRTY = "OkHttp DIRTY :(\n".encodeUtf8() L306: private const val FILE_HEADER_SIZE = 32L L307: L308: /** L309: * Creates a new relay that reads a live stream from [upstream], using [file] to share that data L310: * with other sources. L311: * L312: * **Warning:** callers to this method must immediately call [newSource] to create a source and L313: * close that when they're done. Otherwise a handle to [file] will be leaked. L314: */ L315: @Throws(IOException::class)...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 11.8K bytes -
ObjectCountHashMap.java
zable = true, emulated = true) L42:@ElementTypesAreNonnullByDefault L43:class ObjectCountHashMap<K extends @Nullable Object> { L44: L45: /** Creates an empty {@code ObjectCountHashMap} instance. */ L46: static <K extends @Nullable Object> ObjectCountHashMap<K> create() { L47: return new ObjectCountHashMap<K>(); L48: } L49: L50: /** L51: * Creates a {@code ObjectCountHashMap} instance, with a high enough "initial capacity" that it L52: * <i>should</i> hold {@code expectedSize} elements...github.com/google/guava/android/guava/src/com/g...Tue Jun 01 22:07:10 UTC 2021 15K bytes -
ReaderInputStream.java
boolean endOfInput; L71: /** Whether we're copying encoded bytes to the caller's buffer. */ L72: private boolean draining; L73: /** Whether we've successfully flushed the encoder. */ L74: private boolean doneFlushing; L75: L76: /** L77: * Creates a new input stream that will encode the characters from {@code reader} into bytes using L78: * the given character set. Malformed input and unmappable characters will be replaced. L79: * L80: * @param reader input source L81: * @param charset...github.com/google/guava/android/guava/src/com/g...Sat Oct 19 00:26:48 UTC 2024 9.3K bytes -
ReaderInputStream.java
boolean endOfInput; L71: /** Whether we're copying encoded bytes to the caller's buffer. */ L72: private boolean draining; L73: /** Whether we've successfully flushed the encoder. */ L74: private boolean doneFlushing; L75: L76: /** L77: * Creates a new input stream that will encode the characters from {@code reader} into bytes using L78: * the given character set. Malformed input and unmappable characters will be replaced. L79: * L80: * @param reader input source L81: * @param charset...github.com/google/guava/guava/src/com/google/co...Sat Oct 19 00:26:48 UTC 2024 9.3K bytes