- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for LocalInnerClass (0.09 sec)
-
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
// Local inner classes have names ending like "Outer.$1Inner" class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString(); assertEquals("LocalInnerClass{}", toTest); } public void testToStringHelperLenient_localInnerClass() { class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString(); assertTrue(toTest, toTest.matches(".*\\{\\}")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0)