Skip to content

Commit

Permalink
creation of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuit committed Feb 11, 2013
0 parents commit 9e0dfce
Show file tree
Hide file tree
Showing 18 changed files with 462 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>m4</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Binary file added M4/M4/lib/resources.jar
Binary file not shown.
49 changes: 49 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/person/Person1.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package edu.gatech.oad.antlab.person;

/**
* A simple class for person 1
* returns their name and a
* modified string
*
* @author Bob
* @version 1.1
*/
public class Person1 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
* name
* @param pname the person's real name
*/
public Person1(String pname) {
name = pname;
}
/**
* This method should take the string
* input and return its characters rotated
* 2 positions.
* given "gtg123b" it should return
* "g123bgt".
*
* @param input the string to be modified
* @return the modified string
*/
private String calc(String input) {
//Person 1 put your implementation here
return null;
}

/**
* Return a string rep of this object
* that varies with an input string
*
* @param input the varying string
* @return the string representing the
* object
*/
public String toString(String input) {
return name + calc(input);
}

}
47 changes: 47 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/person/Person2.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package edu.gatech.oad.antlab.person;

/**
* A simple class for person 2
* returns their name and a
* modified string
*
* @author Bob
* @version 1.1
*/
public class Person2 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
* name
* @param pname the person's real name
*/
public Person2(String pname) {
name = pname;
}
/**
* This method should take the string
* input and return its characters in
* random order.
* given "gtg123b" it should return
* something like "g3tb1g2".
*
* @param input the string to be modified
* @return the modified string
*/
private String calc(String input) {
//Person 2 put your implementation here
return null;
}
/**
* Return a string rep of this object
* that varies with an input string
*
* @param input the varying string
* @return the string representing the
* object
*/
public String toString(String input) {
return name + calc(input);
}
}
48 changes: 48 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/person/Person3.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package edu.gatech.oad.antlab.person;
/**
* A simple class for person 3
* returns their name and a
* reversed string
*
* @author Bob
* @version 1.1
*/
public class Person3 {
/** Holds the persons real name */
private String name;

/**
* The constructor, takes in the persons
* name
* @param pname the person's real name
*/
public Person3(String pname){
name = pname;
}

/**
* Return a string rep of this object
* that varies with an input string
*
* @param input the varying string
* @return the string representing the
* object
*/
public String toString(String input) {
return name + calc(input);
}

/**
* This method should take the string
* input and return its reverse.
* given "gtg123b" it should return
* b321gtg.
*
* @param input the string to be reversed
* @return the reversed string
*/
private String calc(String input) {
//Person 3 put your implementation here
return null;
}
}
50 changes: 50 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/person/Person4.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package edu.gatech.oad.antlab.person;

/**
* A simple class for person 4
* returns their name and a
* modified string
*
* @author Bob
* @version 1.1
*/
public class Person4 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
* name
* @param pname the person's real name
*/
public Person4(String pname) {
name = pname;
}
/**
* This method should take the string
* input and return its characters rotated
* 1 position.
* given "gtg123b" it should return
* "tg123bg".
*
* @param input the string to be modified
* @return the modified string
*/
private String calc(String input) {
//Person 4 put your implementation here
return null;
}

/**
* Return a string rep of this object
* that varies with an input string
*
* @param input the varying string
* @return the string representing the
* object
*/
public String toString(String input) {
return name + calc(input);
}

}

49 changes: 49 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/person/Person5.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package edu.gatech.oad.antlab.person;

/**
* A simple class for person 5
* returns their name and a
* modified string
*
* @author Bob
* @version 1.1
*/
public class Person5 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
* name
* @param pname the person's real name
*/
public Person5(String pname) {
name = pname;
}
/**
* This method should take the string
* input and return its characters rotated
* 3 positions.
* given "gtg123b" it should return
* "123bgtg".
*
* @param input the string to be modified
* @return the modified string
*/
private String calc(String input) {
//Person 5 put your implementation here
return null;
}

/**
* Return a string rep of this object
* that varies with an input string
*
* @param input the varying string
* @return the string representing the
* object
*/
public String toString(String input) {
return name + calc(input);
}

}
23 changes: 23 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/pkg1/AntLab11.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package edu.gatech.oad.antlab.pkg1;



/**
* CS2340 Ant Lab
*
* AntLab11.java helper class
* @author Robert
* @version 1.0
*/
public class AntLab11 {


/**
* retrieves a pre-stored string message
* @return the string
*/
public String getMessage() {
return "Congrats!";
}

}
21 changes: 21 additions & 0 deletions M4/M4/src/edu/gatech/oad/antlab/pkg1/AntLab12.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package edu.gatech.oad.antlab.pkg1;



/**
* CS2335 Ant Lab
*
* AntLab12.java helper class
*/
public class AntLab12 {


/**
* retrieves a pre-stored string message
* @return the string
*/
public String getMessage() {
return " You";
}

}
Loading

0 comments on commit 9e0dfce

Please sign in to comment.