import java.util.*; import eprog.*; class container { public static void main (String [] argv) { Set s = new HashSet (); s.add ("Test"); if (s.contains ("Test")) EprogIO.println ("vorhanden"); if (! s.contains ("Nicht")) EprogIO.println ("nicht vorhanden"); s.remove ("Test"); s.add ("a"); s.add ("b"); for (Iterator i=s.iterator(); i.hasNext();) EprogIO.println (i.next()); Properties sysprop = System.getProperties(); String str; for (Enumeration e=sysprop.propertyNames(); e.hasMoreElements();) { str = e.nextElement() + ""; EprogIO.print(str + "\t"); EprogIO.println (System.getProperty (str)); } } }
Archiviert am 14.02.2026
valid-html401.png patent_button.gif anybrowser.gif permaplant.png vim.gif elektra.jpg fsfe-logo.png valid-css.png