- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for Splitter (0.07 sec)
-
guava/src/com/google/common/base/Splitter.java
* * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration method has no * effect on the receiving instance; you must store and use the new splitter instance it returns * instead. * * <pre>{@code * // Do NOT do this * Splitter splitter = Splitter.on('/'); * splitter.trimResults(); // does nothing! * return splitter.split("wrong / wrong / wrong"); * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 21:14:05 UTC 2024 - 24.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
assertThat(letters).containsExactly("a", "b", "c").inOrder(); } @GwtIncompatible // Splitter.onPattern public void testPatternSimpleSplitWithNoDelimiter() { String simple = "a,b,c"; Iterable<String> letters = Splitter.onPattern("foo").split(simple); assertThat(letters).containsExactly("a,b,c").inOrder(); } @GwtIncompatible // Splitter.onPattern
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 29.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
/** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
/** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
*/ if (!field.isSynthetic() && field.getType() == String.class) { builder.add(field); } } return builder.build(); } private static final Splitter SPLITTER = Splitter.on('_'); private static final Joiner JOINER = Joiner.on('-'); private static String upperToHttpHeaderName( String constantName, ImmutableBiMap<String, String> specialCases,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 22 21:08:08 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
*/ if (!field.isSynthetic() && field.getType() == String.class) { builder.add(field); } } return builder.build(); } private static final Splitter SPLITTER = Splitter.on('_'); private static final Joiner JOINER = Joiner.on('-'); private static String upperToHttpHeaderName( String constantName, ImmutableBiMap<String, String> specialCases,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 22 21:08:08 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/s3select/csv/reader.go
) // Reader - CSV record reader for S3Select. type Reader struct { args *ReaderArgs readCloser io.ReadCloser // raw input buf *bufio.Reader // input to the splitter columnNames []string // names of columns nameIndexMap map[string]int64 // name to column index current [][]string // current block of results to be returned
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
src/bufio/scan_test.go
if err != nil { t.Fatal(err) } } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final line with a carriage return but no newline.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
package com.google.common.util.concurrent; import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH; import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; // TODO(b/65488446): Make this a public API.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 13 20:26:15 UTC 2017 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
package com.google.common.util.concurrent; import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH; import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; // TODO(b/65488446): Make this a public API.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 13 20:26:15 UTC 2017 - 2.3K bytes - Viewed (0)