add java doc to key interface