|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfabric.lang.WrappedJavaInlineable<T>
public class WrappedJavaInlineable<T>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface fabric.lang.JavaInlineable |
|---|
JavaInlineable._Proxy |
| Nested classes/interfaces inherited from interface fabric.lang.Object |
|---|
Object._Impl, Object._Static |
| Field Summary | |
|---|---|
T |
obj
|
| Method Summary | |
|---|---|
void |
$forceRenumber(long onum)
This method changes the onum of the object. |
long |
$getOnum()
The object's onum. |
Object._Proxy |
$getProxy()
A proxy for this object. |
Store |
$getStore()
The store where the object resides. |
T |
$unwrap()
Unwraps a wrapped Java inlineable. |
static java.lang.Object |
$unwrap(Object obj)
Given a Fabric object, returns an unwrapped version of that object. |
static Object |
$wrap(java.lang.Object obj)
Given an object that, in the Fabric type system, implements fabric.lang.JavaInlineable, returns a wrapped version of that object. |
static ObjectArray |
$wrap(Store store,
Label label,
java.lang.Object[] array)
Creates a Fabric version of the given array. |
Statistics |
createStatistics()
Creates a Statistics object to determine promises for this Object. |
boolean |
equals(Object o)
Whether this object is "equal" to another object. |
boolean |
equals(java.lang.Object obj)
|
Object |
fetch()
Fetches the object if this is a proxy; returns itself if it's an impl. |
Label |
get$label()
Label for this object |
int |
hashCode()
|
boolean |
idEquals(Object other)
Whether this object has the same identity as another object. |
Label |
set$label(Label label)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final T obj
| Method Detail |
|---|
public static final Object $wrap(java.lang.Object obj)
public static final java.lang.Object $unwrap(Object obj)
public static ObjectArray $wrap(Store store,
Label label,
java.lang.Object[] array)
public Store $getStore()
Object
$getStore in interface Objectpublic long $getOnum()
Object
$getOnum in interface Objectpublic Label get$label()
Object
get$label in interface Objectpublic Label set$label(Label label)
public boolean idEquals(Object other)
Object
idEquals in interface Objectpublic Object._Proxy $getProxy()
Object
$getProxy in interface Objectpublic Object fetch()
Object
fetch in interface Objectpublic T $unwrap()
Object
$unwrap in interface Objectpublic boolean equals(Object o)
Object
equals in interface Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void $forceRenumber(long onum)
ObjectThis method changes the onum of the object. Unless if you really know what you're doing, you should not call this, as it leaves the system in an inconsistent state.
This method is used to initialize object databases with objects at well-known onums (e.g., naming map and store principal).
$forceRenumber in interface Objectpublic Statistics createStatistics()
Object
createStatistics in interface Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||