APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.utilities.memo

public abstract Class MemoizedBoolean

extends Object
Class Inheritance

A memoized boolean. Override computeValue in subclasses; call getValue in using code.

Field Summary

Modifier and TypeField and Description
private boolean
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract boolean
computeValue()

Should compute the value of this memoized object.

public boolean
getValue()

Public accessor for the memoized value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

computedback to summary
private boolean computed
valueback to summary
private boolean value

Constructor Detail

MemoizedBooleanback to summary
public MemoizedBoolean()

Method Detail

computeValueback to summary
protected abstract boolean computeValue()

Should compute the value of this memoized object. This will only be called once, upon the first call to getValue.

getValueback to summary
public boolean getValue()

Public accessor for the memoized value.