A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
Array to Hashmap
Joined: Feb 13, 2004
Feb 19, 2004 22:51:00
How do i create a Hashmap from an Array?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Feb 20, 2004 07:29:00
Since each entry in a
requires a key and a value, there is no single call to create a
from an array. Starting with a newly constructed
, you have to put( key, value ) for each value in the array.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Array to Hashmap
Array of Hashmaps
WA #1.....word association
Filling an ArrayList
switch on String
why we can't avoid hash collision in practice ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014