Package cdc.enums

Interface SynthesisMaskSupport<M extends SynthesisMask<M,​V>,​V>


  • public interface SynthesisMaskSupport<M extends SynthesisMask<M,​V>,​V>
    • Method Detail

      • getSynthesisMaskClass

        Class<M> getSynthesisMaskClass()
        Returns:
        The class of the synthesis mask.
      • getType

        ListType<V> getType()
        Returns:
        The value list type.
      • isNullable

        boolean isNullable()
        Returns:
        true if null is a valid synthesis mask value.
      • 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 mask are mapped to SynthesisStatus.ALL.
        All clear values in mask are mapped to SynthesisStatus.NONE.

        Parameters:
        mask - The mask.
        Returns:
        The synthesis mask corresponding to mask.