public final class Platform extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
TYPE_PATTERN |
Modifier and Type | Method and Description |
---|---|
static AssertionError |
comparisonFailure(String message,
String expected,
String actual) |
static String |
compressType(String type)
Inspired by JavaWriter.
|
static boolean |
containsMatch(String subject,
String regex)
Determines if the given subject contains a match for the given regex.
|
static boolean |
isInstanceOfType(Object instance,
Class<?> clazz)
Returns true if the instance is assignable to the type Clazz.
|
public static final Pattern TYPE_PATTERN
Copyright © 2017. All rights reserved.