Changeset f79ee0d for doc/theses/andrew_beach_MMath/code/TryFinally.java
- Timestamp:
- Aug 19, 2021, 1:58:46 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 262deda0
- Parents:
- 8a1d95af
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/TryFinally.java
r8a1d95af rf79ee0d 1 // Cross a Try Statement with a Finally Clause1 // Enter and Leave a Try Statement with a Finally Handler 2 2 3 public class CrossFinally {3 public class TryFinally { 4 4 private static boolean shouldThrow = false; 5 5 … … 27 27 28 28 long time = loop(times); 29 System.out. println("Run-Time (ns): " + time);29 System.out.format("Run-Time (s): %.1f%n", time / 1_000_000_000.); 30 30 } 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.