com.sun.grizzly.attributes
Interface NullaryFunction<T>


public interface NullaryFunction<T>

Attribute initializer. Is used by Attribute.get(AttributeHolder), if there is no attribute value stored in AttributeHolder, or attribute value is null.

Author:
Ken Cavanaugh
See Also:
Attribute, AttributeHolder

Method Summary
 T evaluate()
          Returns default Attribute value.
 

Method Detail

evaluate

T evaluate()
Returns default Attribute value.

Returns:
default Attribute value.


Copyright © 2009 SUN Microsystems. All Rights Reserved.