org.truth0.util
Class Platform
java.lang.Object
org.truth0.util.Platform
public final class Platform
- extends Object
Extracted routines that need to be swapped in for GWT, to allow for
minimal deltas between the GWT and non-GWT version.
- Author:
- Christian Gruber (cgruber@google.com)
Method Summary |
static boolean |
isInstanceOfType(Object instance,
Class<?> clazz)
Returns true if the instance is assignable to the type Clazz. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isInstanceOfType
public static boolean isInstanceOfType(Object instance,
Class<?> clazz)
- Returns true if the instance is assignable to the type Clazz.
Copyright © 2014. All rights reserved.