add java foundation&java equals