All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.weltraumschaf.commons.token.Null Maven / Gradle / Ivy

Go to download

Utilities for creating more complex shell commands with subcommands. It provides easy ability to parse the users command line input.

There is a newer version: 2.2.0
Show newest version
/*
 * LICENSE
 *
 * "THE BEER-WARE LICENSE" (Revision 43):
 * "Sven Strittmatter"  wrote this file.
 * As long as you retain this notice you can do whatever you want with
 * this stuff. If we meet some day, and you think this stuff is worth it,
 * you can buy me a non alcohol-free beer in return.
 *
 * Copyright (C) 2012 "Sven Strittmatter" 
 */
package de.weltraumschaf.commons.token;

import net.jcip.annotations.ThreadSafe;

/**
 * Represents a null value.
 * 

* Used instead of {@code null} to prevent null pointer exceptions. * Implemented as singleton w/o any state, so thread safe. *

* * @since 1.0.0 * @version $Id: $Id */ @ThreadSafe public final class Null { /** * The only reusable instance. */ public static final Null NULL = new Null(); /** * Hidden to prevent multiple instances. */ private Null() { super(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy