Package org.jheaps.annotations
Annotation Interface LogLogTime
Marker interface to indicate that an operation takes O(loglog(n)) time where
n is the size of the input. The primary purpose of this interface is to allow
generic algorithms to alter their behavior to provide good performance.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Whether the running time is amortized or actual.
-
Element Details
-
amortized
boolean amortizedWhether the running time is amortized or actual.- Returns:
true
if amortized,false
if actual
- Default:
- false
-