Iterating over an enum, using an enum as an array index and more info about Java enumerations.
Checked exceptions, the RuntimeException, the ConcurrentModificationException and more info about Java exceptions.
An overview, advantages, disadvantages, exceptions and more info on the Guava EventBus for Java.
|Implementing The Observer Pattern In Java|
Advantages/disadvantages, java.lang.observer, writing your own observers, code examples and more info about the implementing the observer pattern in Java.
FXML files, circular buttons, custom controls, CSS-based styling and more info about JavaFX.
Instances, reporting levels, handlers, hierarchy, report forwarding, LogRecord, LogManager and more info about using the java.util.Logging class in Java.
|Primitive Data Types|
Uses, formats, bit-size, valid ranges, default values and more info about Java's primitive data types.
Response times, jSSC, RXTX, serial-comm, library comparisons and more info on com/serial port communication in Java.
|Thread Safety (Concurrency)|
ContentsOverviewsynchronizedOverview Thread safety is largely built into the Java language, either via specialised keywords such as synchronized or via standard library objects. synchronized The synchronized keyword (recognised by the Java compiler) can be used to enforce synchronous access (i.e. non-concurrent) to class methods. It is a quick tool to reach for if you have basic concurrency issues. Like this:Like Loading...
Contentsjunitjunit @Before Like this:Like Loading...
Posted: June 7th, 2016 at 10:14 am
Last Updated on: April 10th, 2017 at 10:52 am