|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.joe_e.JoeE
public class JoeE
Joe-E core library functions. These provide fundamental features, similar
to the methods in java.lang.System, such as the interface to the
overlay type system.
| Method Summary | |
|---|---|
static Error |
abort(Error reason)
Aborts the current flow of control. |
static boolean |
instanceOf(Object obj,
Class<?> type)
Tests whether the specified object belongs to the specified type in the overlay type system. |
static boolean |
isFrozen(Object x)
Is the object one-level deep immutable? |
static boolean |
isSubtypeOf(Class<?> c1,
Class<?> c2)
Tests whether the first class is a subtype of the second in the overlay type system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean instanceOf(Object obj,
Class<?> type)
instanceof
operator, for the overlay type system.
obj - the object to testtype - the type to test membership of
public static boolean isSubtypeOf(Class<?> c1,
Class<?> c2)
c1 - the potential subtypec2 - the potential supertype
public static Error abort(Error reason)
reason - reason for the abort
public static boolean isFrozen(Object x)
x - candidate object
true if x is one-level deep immutable,
false if it might not be
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||