there are two class A.class and B.class .....about pattern
<p>A.class have a instance of B, which is b.  And in B , I want to use some method of A, can I have some method to make this simple?  case below.</p>

<pre><code>class A{
   private B b = new B(this)

   public void anyMethod(){

   }
}



class B{
   private A mA;
   B(A a){
     mA = a;
   }

   public void someMethod(){
      mA.anyMethod();
   }
}
</code></pre>

<p>yes I was looking for a more elegant solution</p>
