Java

Logo

The Java logo.

Child Pages

Enumerations
Iterating over an enum, using an enum as an array index and more info about Java enumerations.
Exceptions
Checked exceptions, the RuntimeException, the ConcurrentModificationException and more info about Java exceptions.
Guava EventBus
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.
JavaFX
FXML files, circular buttons, custom controls, CSS-based styling and more info about JavaFX.
Logging
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.
Serial Ports
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...
Unit Tests
Contentsjunitjunit @Before Like this:Like Loading...

Posted: June 7th, 2016 at 10:14 am
Last Updated on: April 10th, 2017 at 10:52 am