org.eclipse.jpt.common.utility
Interface ReadOnlyObjectReference<V>

All Known Subinterfaces:
ObjectReference<V>

public interface ReadOnlyObjectReference<V>

Provide a container for holding an object that cannot be changed.

See Also:
ObjectReference

Method Summary
 V getValue()
          Return the current value.
 boolean isNotNull()
          Return whether the current value is not null.
 boolean isNull()
          Return whether the current value is null.
 boolean valueEquals(java.lang.Object object)
          Return whether the current value is equal to the specified value.
 boolean valueNotEqual(java.lang.Object object)
          Return whether the current value is not equal to the specified value.
 

Method Detail

getValue

V getValue()
Return the current value.


valueEquals

boolean valueEquals(java.lang.Object object)
Return whether the current value is equal to the specified value.


valueNotEqual

boolean valueNotEqual(java.lang.Object object)
Return whether the current value is not equal to the specified value.


isNull

boolean isNull()
Return whether the current value is null.


isNotNull

boolean isNotNull()
Return whether the current value is not null.