Package net.rim.device.api.util

Examples of net.rim.device.api.util.IntEnumeration


     * each category to the tree field.
     */
    private void populateCategories() {
        _categoriesHashtable = _sqlManager.getCategories();

        final IntEnumeration enumeration = _categoriesHashtable.keys();

        int key;
        Category category;
        int categoryNode;
        while (enumeration.hasMoreElements()) {
            key = enumeration.nextElement();
            category = (Category) _categoriesHashtable.get(key);
            categoryNode = _treeField.addChildNode(0, category);
            category.setNode(categoryNode);
        }
    }
View Full Code Here

TOP

Related Classes of net.rim.device.api.util.IntEnumeration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.