- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,161 for stringa (0.17 sec)
-
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
} } String stringA = new String(charsA); String stringB = new String(charsB); assertThat(stringA).isNotEqualTo(stringB); assertThat(HASH_FN.hashUnencodedChars(stringA)) .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
} } String stringA = new String(charsA); String stringB = new String(charsB); assertThat(stringA).isNotEqualTo(stringB); assertThat(HASH_FN.hashUnencodedChars(stringA)) .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
* * @param string a string reference to check * @return {@code true} if the string is null or is the empty string */ public static boolean isNullOrEmpty(@CheckForNull String string) { return Platform.stringIsNullOrEmpty(string); } /** * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
public Set<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Set<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** * {@inheritDoc} *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ConverterTest.java
return new Converter<String, String>(handleNullAutomatically) { @Override protected String doForward(String string) { return "forward"; } @Override protected String doBackward(String string) { return "backward"; } }; } public void testSerialization_identity() { Converter<String, String> identityConverter = Converter.identity();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
} public void testToStringHelperWithArrays() { String[] strings = {"hello", "world"}; int[] ints = {2, 42}; Object[] objects = {"obj"}; String[] arrayWithNull = {null}; Object[] empty = {}; String toTest = MoreObjects.toStringHelper("TSH") .add("strings", strings) .add("ints", ints) .add("objects", objects)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
private static final String DELTA = "\u0394"; /** A domain part which is valid under lenient validation, but invalid under strict validation. */ static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62); private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127); private static final String ALMOST_TOO_LONG = Strings.repeat("aaaaa.", 40) + "1234567890.c";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
} public static class Strings extends SampleElements<String> { public Strings() { // elements aren't sorted, to better test SortedSet iteration ordering super("b", "a", "c", "d", "e"); } // for testing SortedSet and SortedMap methods public static final String BEFORE_FIRST = "\0"; public static final String BEFORE_FIRST_2 = "\0\0";
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
} public static class Strings extends SampleElements<String> { public Strings() { // elements aren't sorted, to better test SortedSet iteration ordering super("b", "a", "c", "d", "e"); } // for testing SortedSet and SortedMap methods public static final String BEFORE_FIRST = "\0"; public static final String BEFORE_FIRST_2 = "\0\0";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
public class TreeMultimapExplicitTest extends TestCase { /** * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is * less than any non-null value. */ private enum StringLength implements Comparator<@Nullable String> { COMPARATOR; @Override public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0)