- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 190 for substring (0.17 seconds)
-
guava-tests/test/com/google/common/collect/ListsTest.java
private static final class RemoveFirstFunction implements Function<String, String>, Serializable { @Override public String apply(String from) { return (from.length() == 0) ? from : from.substring(1); } } private static class SomeIterable implements Iterable<Integer>, Serializable { @Override public Iterator<Integer> iterator() { return SOME_COLLECTION.iterator(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
} @Override public ImmutableList<Character> subList(int fromIndex, int toIndex) { checkPositionIndexes(fromIndex, toIndex, size()); // for GWT return charactersOf(string.substring(fromIndex, toIndex)); } @Override boolean isPartialView() { return false; } @Override public Character get(int index) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
"Missing artifactId did not cause validation error"); } private void assertPathSuffixEquals(String expected, Object actual) { String a = actual.toString(); a = a.substring(a.length() - expected.length()).replace('\\', '/'); assertEquals(expected, a); } private void assertPathWithNormalizedFileSeparators(Object value) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 94.8K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
public static boolean equals(String, String); public static boolean equalsIgnoreCase(String, String); public static int indexOfAny(String, String[]); public static int lastIndexOfAny(String, String[]); public static String substring(String, int); public static String substring(String, int, int); public static String left(String, int); public static String right(String, int); public static String mid(String, int, int); public static String[] split(String); public static String[] split(String, String);...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect( * toMultimap( * str -> str.charAt(0), * str -> str.substring(1), * MultimapBuilder.treeKeys().arrayListValues()::build)); * * // is equivalent to * * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP; * * static {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
doc/go_spec.html
Assigning to an element of a <code>nil</code> map causes a <a href="#Run_time_panics">run-time panic</a>. </p> <h3 id="Slice_expressions">Slice expressions</h3> <p> Slice expressions construct a substring or slice from a string, array, pointer to array, or slice operand. There are two variants: a simple form that specifies a low and high bound, and a full form that also specifies a bound on the capacity. </p>
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
creator.setString(0, "AB") creator.setString(1, "C") creator.commit() cache.close() assertJournalEquals("DIRTY k1", "CLEAN k1 2 1") } @Test fun revertedNewFileIsRemoveInJournal() { val creator = cache.edit("k1")!! assertJournalEquals("DIRTY k1") // DIRTY must always be flushed. creator.setString(0, "AB") creator.setString(1, "C") creator.abort()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
*/ void putString(@Nonnull String source, @Nonnull Charset charset, @Nonnull URI relativeTarget); /** * PUTs the source string using UTF8 charset to target URI. The target MUST BE relative from the * {@link RemoteRepository#getUrl()} root. * * @throws RuntimeException If PUT fails for any reason. */ default void putString(@Nonnull String source, @Nonnull URI relativeTarget) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0)