61 строка
2.4 KiB
YAML
61 строка
2.4 KiB
YAML
### YamlMime:JavaType
|
|
constructors:
|
|
- fullName: microsoft.servicefabric.data.ConditionalValue<TValue>.ConditionalValue(boolean hasValue, TValue value)
|
|
name: ConditionalValue(boolean hasValue, TValue value)
|
|
nameWithType: ConditionalValue<TValue>.ConditionalValue(boolean hasValue, TValue value)
|
|
parameters:
|
|
- description: <p>Indicates whether the value is valid. </p>
|
|
name: hasValue
|
|
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
|
|
- description: <p>The value. </p>
|
|
name: value
|
|
type: <xref href="TValue?alt=TValue&text=TValue" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Initializes a new instance of the ConditionalValue class with the given value.</p>
|
|
|
|
<p></p>
|
|
syntax: public ConditionalValue(boolean hasValue, TValue value)
|
|
uid: microsoft.servicefabric.data.ConditionalValue.ConditionalValue(boolean,TValue)
|
|
inheritances:
|
|
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
|
methods:
|
|
- fullName: microsoft.servicefabric.data.ConditionalValue<TValue>.getValue()
|
|
name: getValue()
|
|
nameWithType: ConditionalValue<TValue>.getValue()
|
|
returns:
|
|
description: <p>The value. </p>
|
|
type: <xref href="TValue?alt=TValue&text=TValue" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Gets the value.</p>
|
|
|
|
<p></p>
|
|
syntax: public TValue getValue()
|
|
uid: microsoft.servicefabric.data.ConditionalValue.getValue()
|
|
- fullName: microsoft.servicefabric.data.ConditionalValue<TValue>.hasValue()
|
|
name: hasValue()
|
|
nameWithType: ConditionalValue<TValue>.hasValue()
|
|
returns:
|
|
description: <p>Whether the value is valid. </p>
|
|
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Gets a value indicating whether the value is valid.</p>
|
|
|
|
<p></p>
|
|
syntax: public boolean hasValue()
|
|
uid: microsoft.servicefabric.data.ConditionalValue.hasValue()
|
|
nameWithType: ConditionalValue<TValue>
|
|
syntax: public class ConditionalValue<TValue>
|
|
type: class
|
|
typeParameters:
|
|
- description: <p>Value to initialize the result with. </p>
|
|
name: TValue
|
|
uid: microsoft.servicefabric.data.ConditionalValue
|
|
fullName: microsoft.servicefabric.data.ConditionalValue<TValue>
|
|
name: ConditionalValue<TValue>
|
|
package: microsoft.servicefabric.data
|
|
summary: >-
|
|
<p>Result class returned by DistributedCollections APIs that may or may not return a value.</p>
|
|
|
|
<p></p>
|
|
metadata: {}
|