Skip to content

Commit 29ec564

Browse files
author
luke czapla
committed
getters and setters all have full sentence JavaDoc
1 parent 077bc2a commit 29ec564

File tree

2 files changed

+44
-5
lines changed

2 files changed

+44
-5
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/MismatchedBasePairParameters.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,34 +120,66 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
120120
return result;
121121
}
122122

123+
/**
124+
* This method returns the maximum stagger between bases used as criteria for the characterization of two bases as being paired.
125+
* @return the maximum propeller ("propeller-twist", in degrees) allowed.
126+
*/
123127
public static double getMaxStagger() {
124128
return MaxStagger;
125129
}
126130

131+
/**
132+
* This method sets the maximum stagger allowed for a base pair, prior to analyze() call
133+
* @param maxStagger The maximum propeller (in Å) allowed to consider two bases paired
134+
*/
127135
public static void setMaxStagger(double maxStagger) {
128136
MaxStagger = maxStagger;
129137
}
130138

139+
/**
140+
* This method returns the maximum shear between bases used as criteria for the characterization of two bases as being paired.
141+
* @return the maximum shear (in Å) allowed.
142+
*/
131143
public static double getMaxShear() {
132144
return MaxShear;
133145
}
134146

147+
/**
148+
* This method sets the maximum shear allowed for a base pair, prior to analyze() call
149+
* @param maxShear The maximum shear (in Å) allowed to consider two bases paired
150+
*/
135151
public static void setMaxShear(double maxShear) {
136152
MaxShear = maxShear;
137153
}
138154

155+
/**
156+
* This method returns the maximum stretch between bases used as criteria for the characterization of two bases as being paired.
157+
* @return the maximum stretch (in Å) allowed.
158+
*/
139159
public static double getMaxStretch() {
140160
return MaxStretch;
141161
}
142162

163+
/**
164+
* This method sets the maximum stretch allowed for a base pair, prior to analyze() call.
165+
* @param maxStretch The maximum stretch (in Å) allowed to consider two bases paired
166+
*/
143167
public static void setMaxStretch(double maxStretch) {
144168
MaxStretch = maxStretch;
145169
}
146170

171+
/**
172+
* This method returns the maximum propeller twist between bases used as criteria for the characterization of two bases as being paired.
173+
* @return the maximum propeller ("propeller-twist", in degrees) allowed.
174+
*/
147175
public static double getMaxPropeller() {
148176
return MaxPropeller;
149177
}
150178

179+
/**
180+
* This method sets the maximum propeller allowed for a base pair, prior to analyze() call
181+
* @param maxPropeller The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired
182+
*/
151183
public static void setMaxPropeller(double maxPropeller) {
152184
MaxPropeller = maxPropeller;
153185
}

biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/TertiaryBasePairParameters.java

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,33 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
102102
return result;
103103
}
104104

105+
/**
106+
* This method returns the maximum stagger between bases used as criteria for the characterization of two bases as being paired.
107+
* @return the maximum stagger (in Å) allowed.
108+
*/
105109
public static double getMaxStagger() {
106110
return MaxStagger;
107111
}
108112

109113
/**
110-
* Set the maximum stagger allowed for a base pair, prior to analyze() call
111-
* @param maxStagger The maximum stagger allowed to consider two bases paired
114+
* This method sets the maximum stagger allowed for a base pair, prior to analyze() call
115+
* @param maxStagger The maximum stagger (in Å) allowed to consider two bases paired
112116
*/
113117
public static void setMaxStagger(double maxStagger) {
114118
MaxStagger = maxStagger;
115119
}
116120

117-
121+
/**
122+
* This method returns the maximum propeller twist between bases used as criteria for the characterization of two bases as being paired.
123+
* @return the maximum propeller ("propeller-twist", in degrees) allowed.
124+
*/
118125
public static double getMaxPropeller() {
119126
return MaxPropeller;
120127
}
121128

122129
/**
123-
* Set the maximum propeller allowed for a base pair, prior to analyze() call
124-
* @param maxPropeller The maximum propeller (a.k.a. "propeller-twist") allowed to consider two bases paired
130+
* This method sets the maximum propeller allowed for a base pair, prior to analyze() call
131+
* @param maxPropeller The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired
125132
*/
126133
public static void setMaxPropeller(double maxPropeller) {
127134
MaxPropeller = maxPropeller;

0 commit comments

Comments
 (0)