FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

package test; import java.util.Arrays; public class HashFunction { String[] theArray; int arraySize; int ItemsInArray=0; public static void main(String[] args){ HashFunction Func1 = new HashFunction(60); String [] abc = {"5","4","22","6","24","56","44","15","0"}; String [] abc2 = {"236","6666","1098","2","4677","65432","1001","817","18","82","71","99","109","152","111","100","8282","104","45"}; Func1.hashFunction1(abc, Func1.theArray); Func1.displayTheStack(); Func1.hashFunction2(abc2, Func1.theArray); Func1.displayTheStack(); Func1.findKey("44"); Func1.findKey("1"); Func1.findKey("236"); } public void hashFunction1(String[] stringForArray, String[] theArray){ for(int i=0;i

Back | FazBrowse Home | New Git URL