SET : Java Glossary

go to home page S words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 Roedy Green, Canadian Mind Products
Set
Set has at least three meanings:
  1. A Java Collection interface that simply tracks whether elements are in a Collection or not, but nothing else. The most common implemetation is HashSet. Most of the operations you do on your Sets will be methods of Collection.
  2. Mastercard and Visa’s under-development protocol for sending encrypted credit card numbers over the net. What makes it interesting in that the merchant never gets to know your credit card number — only the bank does. This will cut out most credit card fraud.
  3. A command in Windows BAT files to set the value of a script variable. The SET environment is a feature of DOS and W95/W98/Me/NT/W2K/XP/W2K3/Vista/W7 to pass large numbers of parameters to programs. It is only half-heartedly suppored by Java with System.getEnv. There is is no equivalent in other operating systems. You can use JNI to get at it, or exec, or you can snaffle set parms and pass them in the java.exe command line with the -D option. Java Properties take the place of Windows SET environment and INI files. You could also read them capturing output of an exec 'ed SET. To set them would require some JNI. In NT/W2K/XP/W2K3 they are stored in the registry.

Tips

Gotchas

Learning More

Sun’s Javadoc on Set class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/set.html J:\mindprod\jgloss\set.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.103]
You are visitor number 13,952.