Fixed Javadoc warnings.
This commit is contained in:
parent
b841a7f14b
commit
3f76c3692d
10 changed files with 65 additions and 70 deletions
|
@ -224,7 +224,7 @@ public class IDFactory extends GenericTibFactory implements TibConstants
|
|||
* set the text's number within the category but it leaves a last Tibid empty ready for that information.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the master ID string
|
||||
* @param masterID String - masterID the master ID string
|
||||
*
|
||||
* @return String - the new file name based on the master ID
|
||||
*/
|
||||
|
|
|
@ -98,8 +98,8 @@ public class TextPane extends JTextPane implements TibConstants
|
|||
* this <code>TextPane</code>'s document.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>String[]</code> - The array of text phrases to be added to the document
|
||||
* @param <code>String[]</code> - The array of styles associated with the respective text phrases.
|
||||
* @param phrases <code>String[]</code> - The array of text phrases to be added to the document
|
||||
* @param styles <code>String[]</code> - The array of styles associated with the respective text phrases.
|
||||
*/
|
||||
public void setTextPane(String[] phrases, String[] styles)
|
||||
{
|
||||
|
@ -193,9 +193,6 @@ public class TextPane extends JTextPane implements TibConstants
|
|||
* types of annotations. Green = addition; yellow = alternative reading or variant;
|
||||
* red = omission/deletion.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>JTextPane</code> to which the new styles are added.
|
||||
*
|
||||
*/
|
||||
protected void initStyles() {
|
||||
|
||||
|
|
|
@ -139,9 +139,9 @@ public class TibDoc extends XMLDoc
|
|||
* the editor's full name and his/her responsibility regarding the document.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the editor's (preferrably) three initials, such as snw or dfg.
|
||||
* @param String - the editor's full name to be recorded in the metadata.
|
||||
* @param String - the present date.
|
||||
* @param initials String - the editor's (preferably) three initials, such as snw or dfg.
|
||||
* @param fullName String - the editor's full name to be recorded in the metadata.
|
||||
* @param today String - the present date.
|
||||
*/
|
||||
public void addEditor(String initials, String fullName, String today)
|
||||
{
|
||||
|
@ -294,10 +294,10 @@ public class TibDoc extends XMLDoc
|
|||
* editor who is the source of this critical title.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the Title element that is to serve as the basis of the critical title. This is
|
||||
* @param el org.jdom.Element - the Title element that is to serve as the basis of the critical title. This is
|
||||
* the element that is cloned to create the critical version.
|
||||
*
|
||||
* @param initials - the initials of the editor creating the critical title.
|
||||
* @param initials String - the initials of the editor creating the critical title.
|
||||
*/
|
||||
public org.jdom.Element createCriticalTitle(org.jdom.Element el, String initials)
|
||||
{
|
||||
|
@ -377,9 +377,9 @@ public class TibDoc extends XMLDoc
|
|||
* containing the English translation of it.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the Tibetan doxographical statement
|
||||
* @param tibDox String - the Tibetan doxographical statement
|
||||
*
|
||||
* @param String - the English doxographical statement.
|
||||
* @param engDox String - the English doxographical statement.
|
||||
*/
|
||||
public void setDoxography(String tibDox, String engDox)
|
||||
{
|
||||
|
@ -433,7 +433,7 @@ public class TibDoc extends XMLDoc
|
|||
* the nested Tibid mark-up.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the new ID string delimited by periods.
|
||||
* @param idString String - the new ID string delimited by periods.
|
||||
*/
|
||||
public void setMasterID(String idString)
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class TibDoc extends XMLDoc
|
|||
*
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the title list's titledecl.
|
||||
* @param tdecl org.jdom.Element - the title list's titledecl.
|
||||
*
|
||||
* @return String - the sigla of the edition that is the source for the title, derrived from the first titleitem element.
|
||||
*/
|
||||
|
@ -487,8 +487,8 @@ public class TibDoc extends XMLDoc
|
|||
* its Lang=eng, and putting the text in its content.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the text of the translation
|
||||
* @param org.jdom.Element - the Title element (lang=tib) that contains the title being translated.
|
||||
* @param text String - the text of the translation
|
||||
* @param el org.jdom.Element - the Title element (lang=tib) that contains the title being translated.
|
||||
*/
|
||||
public void addTranslation(String text, org.jdom.Element el)
|
||||
{
|
||||
|
@ -525,9 +525,9 @@ public class TibDoc extends XMLDoc
|
|||
*
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the title element to be cloned.
|
||||
* @param String - the sigla of the new title element.
|
||||
* @param String - the pagination of the new title.
|
||||
* @param elem org.jdom.Element - the title element to be cloned.
|
||||
* @param sigla String - the sigla of the new title element.
|
||||
* @param pagination String - the pagination of the new title.
|
||||
*
|
||||
* @return org.jdom.Element - the new edition title with corresp=sigla that is a sibling of the originally given title element.
|
||||
*/
|
||||
|
@ -613,7 +613,7 @@ public class TibDoc extends XMLDoc
|
|||
* the Lem child (i.e., the main reading).
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the title whose text is desired.
|
||||
* @param title org.jdom.Element - the title whose text is desired.
|
||||
*
|
||||
* @return String - the display text for that title element.
|
||||
*/
|
||||
|
@ -632,9 +632,9 @@ public class TibDoc extends XMLDoc
|
|||
* and adds the app element. If all succeeds, the app element is then returned.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the title in which the app is to be inserted.
|
||||
* @param String - the text selected in the {@link TextPane} that indicates where the app is to be inserted.
|
||||
* @param int - the offset from the beginning of the text's display title, where the insertion point is.
|
||||
* @param title org.jdom.Element - the title in which the app is to be inserted.
|
||||
* @param selText String - the text selected in the {@link TextPane} that indicates where the app is to be inserted.
|
||||
* @param offset int - the offset from the beginning of the text's display title, where the insertion point is.
|
||||
*
|
||||
* @return org.jdom.Element - the app element that has been successfully inserted or null if unsuccessfull.
|
||||
*/
|
||||
|
@ -699,7 +699,7 @@ System.out.println("TExt at title offset is: " + text);
|
|||
* This method removes an existing App element, replacing it with the text of its lemma or main reading child.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the app to be removed.
|
||||
* @param appToRemove org.jdom.Element - the app to be removed.
|
||||
*/
|
||||
public void removeApp(org.jdom.Element appToRemove)
|
||||
{
|
||||
|
@ -766,7 +766,7 @@ System.out.println("TExt at title offset is: " + text);
|
|||
* is sent to this method, it returns an empty String.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the text to be cleaned.
|
||||
* @param text String - the text to be cleaned.
|
||||
*
|
||||
* @return String - the clean text.
|
||||
*/
|
||||
|
@ -796,7 +796,7 @@ System.out.println("TExt at title offset is: " + text);
|
|||
* back to an Element. This method returns a fixed array of Elements that do not require such casting.
|
||||
* </p>
|
||||
*
|
||||
* @param java.util.List - the list of content or children of an element.
|
||||
* @param childs java.util.List - the list of content or children of an element.
|
||||
*
|
||||
* @return org.jdom.Element[] - the array of element children derrived from the list.
|
||||
*/
|
||||
|
@ -816,8 +816,8 @@ System.out.println("TExt at title offset is: " + text);
|
|||
* element with the first child being this lem element and one empty rdg (reading) element for non-main-readings.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the sigla of the lemma's witness.
|
||||
* @param String - the text of the lemma's reading.
|
||||
* @param mainWit String - the sigla of the lemma's witness.
|
||||
* @param lemma String - the text of the lemma's reading.
|
||||
*
|
||||
* @return org.jdom.Element - the app element created.
|
||||
*/
|
||||
|
@ -856,7 +856,7 @@ System.out.println("TExt at title offset is: " + text);
|
|||
* TibDoc has a single constructor that takes a root element for the document.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the new TibDoc's root element.
|
||||
* @param rootElement org.jdom.Element - the new TibDoc's root element.
|
||||
*/
|
||||
public TibDoc(org.jdom.Element rootElement)
|
||||
{
|
||||
|
|
|
@ -291,7 +291,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* instantiation of the main {@link TiblEdit} program.
|
||||
* </p>
|
||||
*
|
||||
* @param TiblEdit - the controller of the program.
|
||||
* @param jt TiblEdit - the controller of the program.
|
||||
*/
|
||||
public void setController (TiblEdit jt)
|
||||
{
|
||||
|
@ -315,7 +315,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* This method sets the list of recent files in the file menu.
|
||||
* </p>
|
||||
*
|
||||
* @param recent - A Vector of the recent files from the controller.
|
||||
* @param recent Vector - A Vector of the recent files from the controller.
|
||||
*/
|
||||
public void setRecentFiles(Vector recent)
|
||||
{
|
||||
|
@ -554,7 +554,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* JPanel} that has a table with an apparatus' info and control buttons.
|
||||
* </p>
|
||||
*
|
||||
* @param TibTable the TibTable object that contains the tabular information to be displayed.
|
||||
* @param tt TibTable - the TibTable object that contains the tabular information to be displayed.
|
||||
*/
|
||||
public void showTable(TibTable tt)
|
||||
{
|
||||
|
@ -613,7 +613,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* can find the associated element and make the appropriate options available.
|
||||
* </p>
|
||||
*
|
||||
* @param TitleFactory - The TibDocs TitleFactory object for retrieving title information
|
||||
* @param tf TitleFactory - The TibDocs TitleFactory object for retrieving title information
|
||||
*
|
||||
* @return ElementList - The ElementList returned by the TextPane once its document is set.
|
||||
*
|
||||
|
@ -747,7 +747,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* index in the vector.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the selected element.
|
||||
* @param el org.jdom.Element - the selected element.
|
||||
*
|
||||
* @return int - that element's index in the ElementStyle Vector.
|
||||
*/
|
||||
|
@ -784,7 +784,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* This constructor simply takes a title as the corresponding JFrame contructor.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the frame's title.
|
||||
* @param title String - the frame's title.
|
||||
*/
|
||||
public TibFrame(String title)
|
||||
{
|
||||
|
@ -821,7 +821,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
* menu item. If not, that item is turned off.
|
||||
* </p>
|
||||
*
|
||||
* @param CaretEvent - the required parameter of this abstract method. It is not used here.
|
||||
* @param ce CaretEvent - the required parameter of this abstract method. It is not used here.
|
||||
*/
|
||||
public void caretUpdate(CaretEvent ce)
|
||||
{
|
||||
|
@ -859,7 +859,7 @@ public class TibFrame extends JFrame implements CaretListener, TibConstants
|
|||
|
||||
/** See class comment.
|
||||
*
|
||||
* @param WindowEvent - the required parameter for this abstract method.
|
||||
* @param e WindowEvent - the required parameter for this abstract method.
|
||||
*/
|
||||
public void windowClosing(WindowEvent e)
|
||||
{
|
||||
|
|
|
@ -392,8 +392,6 @@ System.out.println("in getEditorINfo!");
|
|||
* the variables {@link #editorsName} and {@link #editorsInitials} are set.
|
||||
* </p>
|
||||
*
|
||||
* @param tdia - the {@link TibDialog} which has gathered the information.
|
||||
*
|
||||
*/
|
||||
public void setEditor()
|
||||
{
|
||||
|
@ -492,7 +490,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* Sets the current directory to the given path.
|
||||
* </p>
|
||||
*
|
||||
* @param A <code>File</code> object that represents the path of the current directory.
|
||||
* @param cd A <code>File</code> object that represents the path of the current directory.
|
||||
*/
|
||||
public void setCurrentDirectory(File cd)
|
||||
{
|
||||
|
@ -533,7 +531,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* </ol>
|
||||
* </p>
|
||||
*
|
||||
* @param int m - the value that sets the mode as above.
|
||||
* @param m int - the value that sets the mode as above.
|
||||
*/
|
||||
public void setMode(int m)
|
||||
{
|
||||
|
@ -583,7 +581,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* Sets the {@link #selected_element} variable to the presently selected element.
|
||||
* </p>
|
||||
*
|
||||
* @param org.jdom.Element - the selected element.
|
||||
* @param e org.jdom.Element - the selected element.
|
||||
*/
|
||||
public void setSelectedElement(org.jdom.Element e)
|
||||
{
|
||||
|
@ -663,7 +661,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* when the Master ID is set so that the name of the file reflects the master ID.
|
||||
* </p>
|
||||
*
|
||||
* @param String - the Master ID string that serves as the base of the file name
|
||||
* @param masterID String - the Master ID string that serves as the base of the file name
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@ -709,9 +707,9 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* the end of the name until a unique name is arrived at.
|
||||
* </p>
|
||||
*
|
||||
* @param File outDirectory - this is the directory to which processed files are written.
|
||||
* @param outDirectory File - this is the directory to which processed files are written.
|
||||
*
|
||||
* @param String masterName - the is the master name for the file, e.g. Ng3.1.5.gsang_ba_'dus
|
||||
* @param masterName String - the is the master name for the file, e.g. Ng3.1.5.gsang_ba_'dus
|
||||
*
|
||||
* @return File - the uniquely named file created by combining the two above and checking for conflicts.
|
||||
*/
|
||||
|
@ -770,7 +768,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* to the {@link TibFrame} using its {@link TibFrame#fileOpened} method.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>File</code> the file to be opened, sent by the file chooser.
|
||||
* @param file <code>File</code> the file to be opened, sent by the file chooser.
|
||||
*/
|
||||
|
||||
public void openFile(File file)
|
||||
|
@ -806,7 +804,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* If it is not, then it adds it to the list.
|
||||
* </p>
|
||||
*
|
||||
* @param File - the file to be added to the recent list.
|
||||
* @param newFile File - the file to be added to the recent list.
|
||||
*
|
||||
*/
|
||||
public void addToRecent(File newFile)
|
||||
|
@ -901,7 +899,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* from the {@link #saveAs} method.
|
||||
* </p>
|
||||
*
|
||||
* @param File - the file to be saved
|
||||
* @param outFile File - the file to be saved
|
||||
*/
|
||||
public void save(File outFile)
|
||||
{
|
||||
|
@ -939,7 +937,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* the overwrite option is chosen, or it is cancelled.
|
||||
* </p>
|
||||
*
|
||||
* @param File - the file
|
||||
* @param outFile File - the file
|
||||
*
|
||||
* @return boolean - whether the save operation was successful.
|
||||
*/
|
||||
|
@ -1074,7 +1072,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* to display a place to enter the new title.
|
||||
* </p>
|
||||
*
|
||||
* @param TibDialog - The TibDialog with the information of the new title's sigla and pagination.
|
||||
* @param tdia TibDialog - The TibDialog with the information of the new title's sigla and pagination.
|
||||
*/
|
||||
public void insertNewEdTitle(TibDialog tdia)
|
||||
{
|
||||
|
@ -1104,7 +1102,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* This displays an entry place for the new title in the {@link TextPane}.
|
||||
* </p>
|
||||
*
|
||||
* @param TibDialog - the TibDialog with the information concerning the new edition.
|
||||
* @param tdia TibDialog - the TibDialog with the information concerning the new edition.
|
||||
*/
|
||||
public void insertNewEdAndTitle(TibDialog tdia)
|
||||
{
|
||||
|
@ -1373,12 +1371,12 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
/**
|
||||
* <p>
|
||||
* This method inserts a particular type of discussion depending on the setting of the
|
||||
* type parameter. When type equals {@link TibConstants#TITLE TITLE}, a discussion will be inserted
|
||||
* type parameter (FIXME: this routine no longer takes this parameter). When type equals {@link TibConstants#TITLE TITLE}, a discussion will be inserted
|
||||
* for the title at the cursor position of the {@link TextPane}. When type equals {@link TibConstants#GEN GEN}
|
||||
* the user will be prompted with a list of options to choose from.
|
||||
* </p>
|
||||
*
|
||||
* @param type - the string indicating which typeof discussion to insert.
|
||||
* The parameter type is the string indicating which typeof discussion to insert.
|
||||
*/
|
||||
public void insertDiscussion()
|
||||
{
|
||||
|
@ -1849,7 +1847,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* to {@link TibDoc#setMasterID(String) setMasterID}.
|
||||
* </p>
|
||||
*
|
||||
* @param DoxWindow - the doxography selection window that supplies the users input.
|
||||
* @param dw DoxWindow - the doxography selection window that supplies the users input.
|
||||
*/
|
||||
public void enterDox(DoxWindow dw)
|
||||
{
|
||||
|
@ -1870,7 +1868,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* The latter spec is converted to an integer.
|
||||
* </p>
|
||||
*
|
||||
* @param String[] - the specifications for the confirm dialog.
|
||||
* @param specs String[] - the specifications for the confirm dialog.
|
||||
*/
|
||||
|
||||
public void doMessage(String[] specs)
|
||||
|
@ -1901,7 +1899,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* </ol>
|
||||
* The latter spec is converted to an integer.
|
||||
*
|
||||
* @param String[] specs - the specifications for the confirm dialog.
|
||||
* @param specs String[] - the specifications for the confirm dialog.
|
||||
*
|
||||
* @return int - the response
|
||||
* </p>
|
||||
|
@ -2071,7 +2069,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* The latter spec is converted to an integer. It returns the <code>String</code>
|
||||
* that was inputed.
|
||||
* </p>
|
||||
* @param String[] - the specifications for the input dialog
|
||||
* @param specs String[] - the specifications for the input dialog
|
||||
*
|
||||
* @return String - the string entered by the user.
|
||||
*
|
||||
|
@ -2086,7 +2084,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* A public static method that converts a <code>Vector</code> into an array of <code>Strings</code>.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>Vector</code> The vector to be converted.
|
||||
* @param v <code>Vector</code> The vector to be converted.
|
||||
*
|
||||
* @return <code>String[]</code> The resulting array of <code>Strings</code>.
|
||||
*/
|
||||
|
@ -2104,7 +2102,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* A public static method that converts an <code>Object</code> array into an array of <code>Strings</code>.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>Object[]</code> The object array to be converted.
|
||||
* @param objs <code>Object[]</code> The object array to be converted.
|
||||
*
|
||||
* @return <code>String[]</code> The resulting array of <code>Strings</code>.
|
||||
*/
|
||||
|
@ -2124,7 +2122,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* This is a public, static method that can be called from anywhere with this classes prefix.
|
||||
* </p>
|
||||
*
|
||||
* @param <code>org.jdom.Element</code> The element to be turned into a string.
|
||||
* @param e <code>org.jdom.Element</code> The element to be turned into a string.
|
||||
*
|
||||
* @return <code>String</code> The resulting string version of the element.
|
||||
*/
|
||||
|
@ -2197,7 +2195,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* {@link #showApp}.
|
||||
* </p>
|
||||
*
|
||||
* @param MouseEvent - the required parameter for this abstract method.
|
||||
* @param me MouseEvent - the required parameter for this abstract method.
|
||||
*/
|
||||
public void mouseClicked(MouseEvent me)
|
||||
{
|
||||
|
@ -2255,7 +2253,7 @@ System.out.println("EdInits given: " + editorsInitials);
|
|||
* If the mode is {@link #NEW_TITLE}, it calls {@link #insertNewTitleAndTranslation}.
|
||||
* </p>
|
||||
*
|
||||
* @param KeyEvent - the required parameter for this abstract method.
|
||||
* @param ke KeyEvent - the required parameter for this abstract method.
|
||||
*/
|
||||
public void keyPressed(KeyEvent ke) {
|
||||
if(ke.getKeyCode() == KeyEvent.VK_ENTER) {
|
||||
|
|
|
@ -82,7 +82,7 @@ public class DuffData {
|
|||
}
|
||||
|
||||
/** Changes the text and font this DuffData represents.
|
||||
* @param c a String of TibetanMachineWeb or TibetanMachine text
|
||||
* @param s a String of TibetanMachineWeb or TibetanMachine text
|
||||
* @param i a TibetanMachineWeb or TibetanMachine font number
|
||||
*/
|
||||
public void setData(String s, int i) {
|
||||
|
|
|
@ -332,7 +332,7 @@ public class TibetanKeyboard {
|
|||
* parameter, assuming it is in fact a character
|
||||
* in this keyboard; if not, returns null.
|
||||
*
|
||||
* @param the possible character
|
||||
* @param s the possible character
|
||||
*/
|
||||
public String getWylieForChar(String s) {
|
||||
if (!charMap.containsKey(s))
|
||||
|
@ -391,7 +391,7 @@ public class TibetanKeyboard {
|
|||
* parameter, assuming it is in fact a vowel
|
||||
* in this keyboard; if not, returns null.
|
||||
*
|
||||
* @param the possible vowel
|
||||
* @param s the possible vowel
|
||||
*/
|
||||
public String getWylieForVowel(String s) {
|
||||
if (!vowelMap.containsKey(s))
|
||||
|
|
|
@ -1622,7 +1622,7 @@ public static String getAVowel() {
|
|||
|
||||
/**
|
||||
* Returns true iff this glyph is a top (superscript) vowel.
|
||||
* @param a DuffCode representing a TibetanMachineWeb glyph
|
||||
* @param dc a DuffCode representing a TibetanMachineWeb glyph
|
||||
* @return true if the glyph is a top-hanging (superscript) vowel (i,
|
||||
* u, e, o, ai, or ao) and false if not */
|
||||
public static boolean isTopVowel(DuffCode dc) {
|
||||
|
|
|
@ -32,7 +32,7 @@ public class SimpleFrame extends JFrame {
|
|||
* component comp.
|
||||
*
|
||||
* @param frameTitle the title (on the title bar) of the window
|
||||
* @param rtfPane the */
|
||||
* @param comp the component to be placed within this frame */
|
||||
public SimpleFrame(String frameTitle, final Component comp)
|
||||
{
|
||||
super(frameTitle);
|
||||
|
|
|
@ -95,7 +95,7 @@ public class Primes
|
|||
} // end above
|
||||
|
||||
/**
|
||||
* @param return first prime less than candidate
|
||||
* @return first prime less than candidate
|
||||
*/
|
||||
public int below (int candidate)
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ public class Primes
|
|||
/**
|
||||
* calc all primes in the range 1..n,
|
||||
* not the first n primes.
|
||||
* @param n, highest candidate, not necessarily prime.
|
||||
* @param n highest candidate, not necessarily prime.
|
||||
* @return list of primes 1..n in an array
|
||||
*/
|
||||
public final int[] getPrimes(int n)
|
||||
|
|
Loading…
Reference in a new issue