Package org.jheaps.annotations
Annotation Type ConstantTime
-
@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) public @interface ConstantTime
Marker interface to indicate that an operation takes constant time. The primary purpose of this interface is to allow generic algorithms to alter their behavior to provide good performance.- Author:
- Dimitrios Michail
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
amortized
Whether the running time is amortized or actual.
-