- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for names (0.27 sec)
-
guava-tests/test/com/google/common/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper("FooBar").toString(); assertEquals("FooBar{}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerClass() { // Local inner classes have names ending like "Outer.$1Inner" class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
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/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper("FooBar").toString(); assertEquals("FooBar{}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerClass() { // Local inner classes have names ending like "Outer.$1Inner" class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
InternetDomainName(String name) { // Normalize: // * ASCII characters to lowercase // * All dot-like characters to '.' // * Strip trailing '.' name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.')); if (name.endsWith(".")) { name = name.substring(0, name.length() - 1); } checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j)); } private static final ImmutableList<String> NUMBER_NAMES = ImmutableList.of("one", "two", "three", "four", "five", "six", "seven"); private static final ImmutableList<String> SORTED_NUMBER_NAMES = Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
* ListMultimap} and {@link SetMultimap}. These take their names from the fact that the collections * they return from {@code get} behave like (and, of course, implement) {@link List} and {@link * Set}, respectively. * * <p>For example, the "presidents" code snippet above used a {@code ListMultimap}; if it had used a * {@code SetMultimap} instead, two presidents would have vanished, and last names might or might * not appear in chronological order.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
} } /** * Creates a thread using {@link #platformThreadFactory}, and sets its name to {@code name} unless * changing the name is forbidden by the security manager. */ @J2ktIncompatible @GwtIncompatible // concurrency static Thread newThread(String name, Runnable runnable) { checkNotNull(name); checkNotNull(runnable); // TODO(b/139726489): Confirm that null is impossible here.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j)); } private static final ImmutableList<String> NUMBER_NAMES = ImmutableList.of("one", "two", "three", "four", "five", "six", "seven"); private static final ImmutableList<String> SORTED_NUMBER_NAMES = Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 45.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} /** * For the given Enum value {@code rank}, returns the value's {@code "EnumClass.name"}, which is * used in exception and warning output. */ private static String getLockName(Enum<?> rank) { return rank.getDeclaringClass().getSimpleName() + "." + rank.name(); } /** * A {@code CycleDetectingLockFactory.WithExplicitOrdering} provides the additional enforcement of
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
/** * Adds a name/value pair to the formatted output in {@code name=value} format. * * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}). */ @CanIgnoreReturnValue public ToStringHelper add(String name, boolean value) { return addUnconditionalHolder(name, String.valueOf(value)); } /** * Adds a name/value pair to the formatted output in {@code name=value} format. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
private final D genericDeclaration; private final String name; private final ImmutableList<Type> bounds; TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) { disallowPrimitiveType(bounds, "bound for type variable"); this.genericDeclaration = checkNotNull(genericDeclaration); this.name = checkNotNull(name); this.bounds = ImmutableList.copyOf(bounds); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0)