Java: How to limit access of a method to a specific class?
===

Here's an example:

    class A 
    {
       List l = new List ();
       list.insert("x");
    }

    class List
    {
       ...
       public void insert ()
       {
          /*insertion occurs*/
       }
       ...
    }

Is it possible at all to keep the insert() method public, but limit access only to class A so that no other class can access it, only when called from A?