File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
biojava-alignment/src/main/java/org/biojava/nbio/alignment
biojava-core/src/main/java/org/biojava/nbio/core/alignment/matrices Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2323
2424package org .biojava .nbio .alignment ;
2525
26+ import java .io .Serializable ;
27+
2628import org .biojava .nbio .alignment .template .GapPenalty ;
2729
2830/**
2931 * Implements a data structure for the gap penalties used during a sequence alignment routine.
3032 *
3133 * @author Mark Chapman
3234 */
33- public class SimpleGapPenalty implements GapPenalty {
35+ public class SimpleGapPenalty implements GapPenalty , Serializable {
3436
35- private static int dgop = 10 , dgep = 1 ;
37+ /**
38+ *
39+ */
40+ private static final long serialVersionUID = 3945671344135815456L ;
41+ private static int dgop = 10 , dgep = 1 ;
3642
3743 /**
3844 * Sets the default gap extension penalty.
Original file line number Diff line number Diff line change 3030import org .biojava .nbio .core .sequence .compound .NucleotideCompound ;
3131
3232import java .io .InputStreamReader ;
33+ import java .io .Serializable ;
3334import java .util .HashMap ;
3435import java .util .Map ;
3536
4041 * @author Mark Chapman
4142 * @author Paolo Pavan
4243 */
43- public class SubstitutionMatrixHelper {
44+ public class SubstitutionMatrixHelper implements Serializable {
4445
45- private static Map <String , SubstitutionMatrix <AminoAcidCompound >> aminoAcidMatrices =
46+ /**
47+ *
48+ */
49+ private static final long serialVersionUID = 148491724604653225L ;
50+
51+ private static Map <String , SubstitutionMatrix <AminoAcidCompound >> aminoAcidMatrices =
4652 new HashMap <String , SubstitutionMatrix <AminoAcidCompound >>();
4753 private static Map <String , SubstitutionMatrix <NucleotideCompound >> nucleotideMatrices =
4854 new HashMap <String , SubstitutionMatrix <NucleotideCompound >>();
You can’t perform that action at this time.
0 commit comments