Package cdc.enums
Interface SynthesisMaskSupport<M extends SynthesisMask<M,V>,V>
public interface SynthesisMaskSupport<M extends SynthesisMask<M,V>,V>
-
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a synthesis mask from a standard mask.create(SynthesisStatus status) Creates a synthesis mask with values set to the same status.create(Map<V, SynthesisStatus> map) Creates a synthesis mask for a map.getType()boolean
-
Method Details
-
getSynthesisMaskClass
- Returns:
- The class of the synthesis mask.
-
getType
- Returns:
- The value list type.
-
isNullable
boolean isNullable()- Returns:
trueifnullis a valid synthesis mask value.
-
create
M create()- Returns:
- A new synthesis mask with all values set to
SynthesisStatus.UNDEFINED.
-
create
Creates a synthesis mask for a map.- Parameters:
map- The map giving statuses.- Returns:
- A synthesis mask matching
map.
-
create
Creates a synthesis mask with values set to the same status.- Parameters:
status- The status.- Returns:
- A synthesis mask with all values set to
status.
-
create
Creates a synthesis mask from a standard mask.All set values in
maskare mapped toSynthesisStatus.ALL.
All clear values inmaskare mapped toSynthesisStatus.NONE.- Parameters:
mask- The mask.- Returns:
- The synthesis mask corresponding to
mask.
-