Can you post a description in pseudo code of the logic of the posted code?

Also posted at http://www.java-forums.org/advanced-java/63438-how-do-write-method-more-efficiency.html