de.uplanet.lucy.server.dataobjects
Class NO_VALUE_HOLDER

java.lang.Object
  extended by de.uplanet.lucy.server.dataobjects.NO_VALUE_HOLDER

@ConstantClass
public final class NO_VALUE_HOLDER
extends java.lang.Object

Version:
$Revision: 70923 $

Field Summary
static IValueHolder<?> INSTANCE
          An instance of an immutable value holder.
 
Method Summary
static
<T> IValueHolder<T>
instance()
          Return INSTANCE with the correct generic type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final IValueHolder<?> INSTANCE
An instance of an immutable value holder.

All method calls on the IValueHolder interface of this instance will throw an java.lang.UnsupportedOperationException to enforce fail-fast programming style.

Method Detail

instance

public static <T> IValueHolder<T> instance()
Return INSTANCE with the correct generic type.

Returns:
Always INSTANCE.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.