Java Hashmap With Initial Values Of Linear Functions And Rate