2017-01-13 14:28:08 -08:00
|
|
|
// concurrent/TestStaticIDField.java
|
2021-01-31 15:42:31 -07:00
|
|
|
// (c)2021 MindView LLC: see Copyright.txt
|
2017-01-13 14:28:08 -08:00
|
|
|
// We make no guarantees that this code is fit for any purpose.
|
|
|
|
// Visit http://OnJava8.com for more book information.
|
|
|
|
|
|
|
|
public class TestStaticIDField {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
IDChecker.test(StaticIDField::new);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Output:
|
2021-01-31 15:42:31 -07:00
|
|
|
21397
|
2017-01-13 14:28:08 -08:00
|
|
|
*/
|