Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 1 | package org.projectfloodlight.openflow.annotations; |
2 | |||||
3 | /** | ||||
4 | * This annotation marks a class that is considered externally immutable. I.e., | ||||
5 | * the externally visible state of the class will not change after its | ||||
6 | * construction. Such a class can be freely shared between threads and does not | ||||
7 | * require defensive copying (don't call clone). | ||||
8 | * | ||||
9 | * @author Andreas Wundsam <andreas.wundsam@bigswitch.com> | ||||
10 | */ | ||||
11 | public @interface Immutable { | ||||
12 | |||||
13 | } |