idempotent
US /ˌaɪ.demˈpoʊ.t̬ənt/
UK /ˌɪd.əmˈpəʊ.tənt/
形容词
幂等的
(of an operation or function) producing the same result if it is applied to itself once or repeatedly
示例:
•
In mathematics, an operation is idempotent if applying it multiple times yields the same result as applying it once.
在数学中,如果一个操作多次应用后产生与一次应用相同的结果,则该操作是幂等的。
•
Saving a file is an idempotent action; saving it multiple times doesn't change the final state of the file.
保存文件是一个幂等操作;多次保存不会改变文件的最终状态。