Can you please explain your questions more clearly? Both questions sound a little bit strange.
An ArrayList is just a list of objects. A HashMap is a
dictionary data structure; it allows you to store values that can be retrieved by keys, and the keys can be any kind of object. ArrayList and HashMap are two completely different things.
HashMap is one of
Java's collection classes. So what do you mean with your second question? Do you want to create a HashMap without using a HashMap??