Last updated 2004-06-28 by Roedy
Green ©1996-2004 Canadian Mind Products
Java definitions: 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
You are here : home : Java Glossary : I words : idempotent.
The computing science world uses the term for any operation than you can use repeatedly safely, and still have the effect of using it only once. This would include operations having no lasting observable effect on the state of the world e.g. a database query with no history of it recorded, and no change to the database, also an operation that if run more than once makes no further changes to the state, e.g. C header files that are safe to include multiple times. It would include an initialisation routine that allocated a singleton only the first time it is run, and thereafter just returns a reference to that singleton. The idempotent operation is permitted to have side effects or change state. It is just that it must be safe to repeat the operation without any further consequential effect.
home |
Canadian Mind Products | |||
| mindprod.com IP:[24.87.56.253] | ||||
| Your IP:[80.134.30.163] | ||||
| You are visitor number 2739. | ||||
| Please send errors, omissions and suggestions | ||||
| to improve this page to Roedy Green. | ||||
| You can get a fresh copy of this page from: | or possibly from your local J: drive mirror: | |||
| http://mindprod.com/jgloss/idempotent.html | J:\mindprod\jgloss\idempotent.html | |||