Skip to content
Snippets Groups Projects
Commit 336b81af authored by brutzman's avatar brutzman
Browse files

fix javadoc errors, now compiles cleanly, javadoc warnings remain

parent 78867868
No related branches found
No related tags found
No related merge requests found
Showing
with 1817 additions and 1809 deletions
......@@ -2,11 +2,13 @@ package MV3500Cohort2022MayJune.homework1.Duran;
import java.io.*;
import java.net.*;
/** Homework example 3 */
public class DuranTcpExample3Client {
/** preferred IP number */
public final static String LOCALHOST = "127.0.0.1";
/** main method for execution */
public static void main(String[] args) throws InterruptedException {
// Local variables/fields
......
package MV3500Cohort2022MayJune.homework1.Duran;
import MV3500Cohort2021JulySeptember.homework2.Domonique.*;
//import MV3500Cohort2021JulySeptember.homework2.Domonique.*;
import java.io.*;
import java.net.*;
/** Homework example */
public class DuranTcpExampleServer {
public static void main(String[] args) {
......
......@@ -5,8 +5,8 @@ import java.io.*;
import java.util.concurrent.atomic.AtomicBoolean;
/**
*
* @author nick
* Homework example
* @author Nick Royer
*/
public class TCPPeer {
private ServerSocket server_socket = null;
......
......@@ -5,11 +5,9 @@
*/
package royer.homework2;
import java.io.*;
/**
*
* @author nick
* Homework example
* @author Nicholas Royer
*/
public class Tester {
......
......@@ -11,10 +11,10 @@ import simkit.random.RandomVariate;
* events is scheduled based on an inter arrival time random variate. The state
* variable, simply counts the number of these arrivals.
*
* @see MV3500Cohort2022MayJune.projects.SimpleServer
* @see MV3500Cohort2022MayJune.projects.run.RunSimpleServerOpenDis7
* @see MV3500Cohort2022MayJune.projects.TwoCraneBerths
* @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerthOpenDis7
* @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/ArrivalProcessOpenDis7EventGraph.png">ArrivalProcessDisPdu.png</a>
* @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/SimpleServerComponentEventGraph.png">SimpleServerComponentEventGraph.png</a>
* @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/TwoCraneBerthsComponentEventGraph.png">TwoCraneBerthsComponentEventGraph.png</a>
* @author abuss@nps.edu
* @author brutzman@nps.edu
*/
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>MV3500Cohort2022MayJune projects Royer TwoCranesBerth</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>MV3500Cohort2022MayJune projects Royer TwoCranesBerth</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
<spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
<word>Accessor</word>
<word>interarrival</word>
</spellchecker-wordlist>
</configuration>
</project>
......@@ -7,8 +7,10 @@ import simkit.random.RandomVariate;
* @author Nick Royer
*/
public class ArrivalProcess extends simkit.SimEntityBase {
/** Random variate generator for interarrival intervals */
protected simkit.random.RandomVariate interarrivalTimeGenerator = null;
protected int numberArrivals = 0; // The raison d'etre of this whole thing
/** The raison d'etre of this whole thing */
protected int numberArrivals = 0;
/**
* @return the interarrival time generator
......@@ -23,7 +25,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
public void setInterarrivalTimeGenerator(simkit.random.RandomVariate iat_generator) {
this.interarrivalTimeGenerator = iat_generator;
}
/** Constructor */
public ArrivalProcess(RandomVariate iat_generator) {
this.interarrivalTimeGenerator = iat_generator;
}
......@@ -81,6 +83,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
}
/**
* Accessor method
* @return the numArrivals
*/
public int getNumArrivals() {
......@@ -88,6 +91,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
}
/**
* Accessor method
* @param numArrivals the numArrivals to set
*/
protected void setNumArrivals(int numArrivals) {
......
......@@ -16,7 +16,7 @@ import java.util.List;
// import edu.nps.moves.disenum.PlatformSurface;
/**
*
* Spit out PDUs
* @author Nicholas Royer
*/
public class PDUSpitter {
......
......@@ -10,8 +10,8 @@ import dockyard.ArrivalProcess;
import dockyard.Ship;
/**
*
* @author nick
* Dockyard project
* @author Nicholas Royer
*/
public class ShipArrivalProcess extends dockyard.ArrivalProcess {
......@@ -19,9 +19,9 @@ public class ShipArrivalProcess extends dockyard.ArrivalProcess {
/**
* Constructor for a new CustomerArrivalProcess
* @param iat_generator The interarrival time generator
* @param serviceTimeGen The generator for service times for customers
* @param renegeTimeGen The generator for renege times for customers
* @param interarrivalTimeGenerator The interarrival time generator
* @param unloadingTimeGenerator The generator for service times for customers
// * @param renegeTimeGen The generator for renege times for customers
*/
public ShipArrivalProcess(RandomVariate interarrivalTimeGenerator,
RandomVariate unloadingTimeGenerator)
......
......@@ -6,7 +6,7 @@ import dockyard.ShipArrivalProcess;
import dockyard.TwoCranesBerth;
/**
*
* Run the simulation
* @author Nicholas Royer
*/
public class RunTwoCranesBerth {
......
......@@ -15,7 +15,7 @@ import simkit.SimEntityBase;
/**
* Add DIS outputs to TwoCraneBerths simkit simulation
* @see TwoCraneBerths
* @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerth
* @see MV3500Cohort2022MayJune.projects.TwoCraneBerthsOpenDis7
* @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerthOpenDis7
* @see <a href="run/RunTwoCranesBerthOpenDis7Log.txt">RunTwoCranesBerthOpenDis7Log.txt</a>
* @see <a href="TwoCraneBerthsAssignment05.docx">TwoCraneBerthsAssignment05.docx</a>
......
package MV3500Cohort2022MayJune.projects;
/**
* Student projects produced as part of the NPS MOVES MV3500 Networked Graphics course.
*
......@@ -9,4 +7,5 @@ package MV3500Cohort2022MayJune.projects;
* @see <a href="https://stackoverflow.com/questions/624422/how-do-i-document-packages-in-java">StackOverflow: how-do-i-document-packages-in-java</a>
*/
package MV3500Cohort2022MayJune.projects;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment