Java tutorial
//package com.java2s; /** * @(#)Helpers.java 8.0.1 2011-6-5 * * Copyright 2004-2011 mymmsc.org (MyMMSC), Inc. All rights reserved. * MyMMSC PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ import java.util.HashMap; public class Main { private static HashMap<String, Integer> hmPages = new HashMap<String, Integer>(); public static void setCurrentPage(String key, int currentPage) { hmPages.put(key, Integer.valueOf(currentPage)); } }