java doc pkg thread