ZOFTINO.COM android and web dev tutorials

Java Set Examples

Java Set is a collections interface and it contains non duplicate elements. Sub interfaces of set are SortedSet and NavigableSet. Implementations of Set are HashSet, EnumSet, LinkedHashSet and TreeSet.

Java Collections

Collections are containers of objects with functionality to add, remove, modify and aggregate objects.

Java Concurrency Fork Join Executor Examples

Fork join executor is similar to other executors provided in Java concurrency frame work in that it runs tasks on worker threads in a thread pool.

Java Concurrency Executors Framework Tutorial

Java executor framework allows separation of thread creation and management from the task or application logic which is executed on the thread.

Java Concurrency Lock and Condition Examples

Java concurrency framework provides external Locks which are similar to intrinsic lock obtained entering synchronized blocks but give flexibility and provide other features.

Java Multithreading and Concurrency

Running programs parallel improves application’s responsiveness. In this tutorial, you can learn how to write Java programs which can run parallel using threads.

Java Asynchronous IO NIO2

Like asynchronous programming used for any other operations, asynchronous IO makes it possible for a program to perform other operations while performing IO operations or execute multiple IO operation concurrently.

Java Memory Mapped Files

A segment of virtual memory containing a part of a file which exists on the disk or other file resource is called memory mapped file.

Java File System Watcher Example

Java NIO API provides framework that allows you to create components which can monitor file system for changes.

Java Random Access Files

Java IO and NIO APIs allow you to randomly access files to read content from and write content to files anywhere in the files.

Java File Input Output Using NIO2 API

To access files, file attributes and file system, Java provides classes and interfaces (new IO API called NIO2) which exist in the java.nio.file and java.nio.file.attribute packages.

Java NIO Tutorial

Java new input output library allows you to perform input and output operations efficiently. Unlike Java I/O classes which read and write data byte by byte using stream objects, Java NIO reads and writes data in blocks using channels which use operating system features.