Package cdc.enums
Interface SynthesisMaskSupport<M extends SynthesisMask<M,V>,V>
-
public interface SynthesisMaskSupport<M extends SynthesisMask<M,V>,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mcreate()Mcreate(Mask<?,V> mask)Creates a synthesis mask from a standard mask.Mcreate(SynthesisStatus status)Creates a synthesis mask with values set to the same status.Mcreate(Map<V,SynthesisStatus> map)Creates a synthesis mask for a map.Class<M>getSynthesisMaskClass()ListType<V>getType()booleanisNullable()
-
-
-
Method Detail
-
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
M create(Map<V,SynthesisStatus> map)
Creates a synthesis mask for a map.- Parameters:
map- The map giving statuses.- Returns:
- A synthesis mask matching
map.
-
create
M create(SynthesisStatus status)
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
M create(Mask<?,V> mask)
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.
-
-