You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="type-signature"><spanclass="modifiers">public final class </span><spanclass="element-name"><ahref="../src-html/arez/ComputableValue.html#line-22">ComputableValue</a><T></span>
85
85
<spanclass="extends-implements">extends <ahref="Node.html" title="class in arez">Node</a></span></div>
86
86
<divclass="block">The ComputableValue represents an ObservableValue derived from other ObservableValues within
87
-
the Arez system. The value is calculated lazily. i.e. The ComputableValue will only
87
+
the Arez system. The value is calculated lazily. i.e., The ComputableValue will only
88
88
be calculated if the ComputableValue has observers.
89
89
90
90
<p>It should be noted that the ComputableValue is backed by both an ObservableValue and
91
-
an Observer. The id's of each of these nodes differ but they share the name and
92
-
thus while debugging appear to be a single element.</p></div>
91
+
an Observer. The id's of each of these nodes differ, but they share the name and
92
+
thus while debugging appears to be a single element.</p></div>
93
93
</section>
94
94
<sectionclass="summary">
95
95
<ulclass="summary-list">
@@ -173,9 +173,9 @@ <h2>Method Details</h2>
173
173
<li>
174
174
<sectionclass="detail" id="get()">
175
175
<h3>get</h3>
176
-
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="ComputableValue.html" title="type parameter in ComputableValue">T</a></span> <spanclass="element-name"><ahref="../src-html/arez/ComputableValue.html#line-148">get</a></span>()</div>
176
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="ComputableValue.html" title="type parameter in ComputableValue">T</a></span> <spanclass="element-name"><ahref="../src-html/arez/ComputableValue.html#line-134">get</a></span>()</div>
177
177
<divclass="block">Return the computable value, calculating the value if it is not up to date.
178
-
Before invoking this method, a transaction <b>MUST</b> be active but it may be read-only or read-write.</div>
178
+
Before invoking this method, a transaction <b>MUST</b> be active, but it may be read-only or read-write.</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="Disposable.html#isDisposed()">Disposable</a></code></span></div>
209
209
<divclass="block">Return true if dispose() has been called on object.</div>
210
210
<dlclass="notes">
@@ -216,11 +216,11 @@ <h3>isDisposed</h3>
216
216
<li>
217
217
<sectionclass="detail" id="keepAlive()">
218
218
<h3>keepAlive</h3>
219
-
<divclass="member-signature"><spanclass="annotations">@Nonnull </span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="Disposable.html" title="interface in arez">Disposable</a></span> <spanclass="element-name"><ahref="../src-html/arez/ComputableValue.html#line-298">keepAlive</a></span>()</div>
219
+
<divclass="member-signature"><spanclass="annotations">@Nonnull </span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="Disposable.html" title="interface in arez">Disposable</a></span> <spanclass="element-name"><ahref="../src-html/arez/ComputableValue.html#line-284">keepAlive</a></span>()</div>
220
220
<divclass="block">Invoke this method to ensure that the ComputableValue is activated and computing
221
221
a value even if there are no observers. This is used when there is a chance that
222
222
the value will be accessed multiple times, without being accessed from within a
223
-
tracking transaction (i.e. the value may only be accessed from actions or may have
223
+
tracking transaction (i.e., the value may only be accessed from actions or may have
224
224
observers come and go).
225
225
226
226
<p>This method should not be called if the computable value was created with the
<divclass="inheritance" title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<divclass="type-signature"><spanclass="modifiers">public final class </span><spanclass="element-name"><ahref="../src-html/arez/Hook.html#line-8">Hook</a></span>
75
+
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
76
+
<divclass="block">Hook that can be registered for the current observer.</div>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
86
+
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
0 commit comments