public Object createSoftWeakRef(Object o){
  return new WeakReference(o);
}

public Object createSoftWeakRef ( Object o ) { return new WeakReference ( o ) ; }
creates a soft / weak reference to an object that allows it to be collected yet caches it . this method is in the porting layer since cldc only includes weak references while some platforms include nothing at all and some include the superior soft references .
