TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Pure in CodeX

The annotated method does not have any side effects.

sealed class Pure extends Attribute

Remarks

A pure method does not modify the internal state of the object it is called on. In fact, it does not modify any state, which makes it inherently thread-safe.

Method invocation expressions on pure methods can be evaluated in any order and will still yield the same results.