Here you can find the source of getGUIDS(Hashtable table)
static Enumeration getGUIDS(Hashtable table)
//package com.java2s; /*//from w w w .ja va 2 s . c om * Copyright (c) Fiorano Software and affiliates. All rights reserved. http://www.fiorano.com * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */ import java.util.*; public class Main { static Enumeration getGUIDS(Hashtable table) { TreeSet<String> set = new TreeSet<>(); Enumeration eenum = table.keys(); while (eenum.hasMoreElements()) { String str = (String) eenum.nextElement(); set.add(str.substring(0, str.indexOf(";"))); } return Collections.enumeration(set); } }