Update Utility.java

Added search method