study notes about java nio