Class PolymerChangeLogger<P extends Polymer>

    • Constructor Detail

      • PolymerChangeLogger

        public PolymerChangeLogger()
    • Method Detail

      • onSequenceUpdate

        public void onSequenceUpdate​(P protein,
                                     String oldSequence)
        Listen to the event where the sequence of a protein has been changed. If oldSequence is null, it means that the sequence has been initialised. If the sequence of the protein is null, it means that the sequence of the protein has been reset
        Specified by:
        onSequenceUpdate in interface PolymerChangeListener<P extends Polymer>
        Parameters:
        protein - : updated polymer
        oldSequence - : old sequence