Conversion:
When elements are added they can be converted to the
destination element type.

Automatic processing:
The processing to perform when the source observable changes. This behavior
is configured via policies provided on construction of the strategy (e.g.
POLICY_NEVER, POLICY_ON_REQUEST, POLICY_UPDATE).

Policy constant denoting that the source observable's state should be
tracked, and that conversion and updating the destination observable's
state should be performed automatically on every change of the source
observable state.

Field Detail

POLICY_NEVER

Policy constant denoting that the source observable's state should not be
tracked and that the destination observable's state should never be
updated.

POLICY_ON_REQUEST

public static final int POLICY_ON_REQUEST

Policy constant denoting that the source observable's state should not be
tracked, but that conversion and updating the destination observable's
state should be performed when explicitly requested.

POLICY_UPDATE

public static final int POLICY_UPDATE

Policy constant denoting that the source observable's state should be
tracked, and that conversion and updating the destination observable's
state should be performed automatically on every change of the source
observable state.

provideDefaults

protected boolean provideDefaults

converter

Constructor Detail

UpdateSetStrategy

public UpdateSetStrategy()

Creates a new update list strategy for automatically updating the
destination observable list whenever the source observable list changes.
A default converter will be provided. The defaults can be changed by
calling one of the setter methods.

UpdateSetStrategy

public UpdateSetStrategy(int updatePolicy)

Creates a new update list strategy with a configurable update policy. A
default converter will be provided. The defaults can be changed by
calling one of the setter methods.