This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; // allows use of Scanner class in java.util package | |
public class Copy | |
{ | |
public static void main( String[] args ) | |
{ | |
Scanner sysIn = new Scanner(System.in); | |
String s; | |
while ( sysIn.hasNextLine() ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; // allows use of Scanner class in java.util package | |
public class TestDBL | |
{ | |
public static void main( String[] args ) | |
{ | |
Scanner sysIn = new Scanner(System.in); | |
double x; | |
System.out.print( "Enter an floating point number: " ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Multi-threaded program to compute the product of two compatible matrices | |
* Reads in (and neatly print out) two matrices from a file | |
* Uses separate threads for computing each row of the product matrix | |
* Prints out product matrix | |
* | |
* @author Christopher Duarte | |
* @course cis551 | |
* @assignment homework 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Driver - Uses stack to parse simplified XML files. By "simplified", | |
* we mean that: | |
* | |
* 1. all tags may appear anywhere, as long as they are properly nested | |
* 2. tags do not include attributes | |
* 3. multiple lines of data for a given element are OK | |
* | |
* @author christopherduarte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* MyTreeMap<K,V> - Simple binary tree implementation. | |
* | |
* @author christopherduarte | |
* @course cis551 | |
* @assignment HW7 | |
* | |
* @param <K,V> | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Driver - Driver for implementation of generic Hash Table class, | |
* similar to Java HashMap<K,V> class. | |
* | |
* @author christopherduarte | |
* @reference professor robertirwin | |
* | |
* CIS551 | |
* Lab16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* MyHashTable - implementation of generic Hash Table class, | |
* similar to Java HashMap<K,V> class. | |
* | |
* @author christopherduarte | |
* @reference robertirwin | |
* | |
* CIS551 | |
* Lab16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Driver - for Queue<E> generic class. | |
* | |
* @author christopher duarte | |
* @author robert irwin | |
* @course cis551 | |
* @assignment homework5 | |
* @param <E> | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Queue<E> - circular array implementation of generic Queue<E> class; | |
* max #elements storeable is 1 less than the size of array, | |
* so we can distinguish between full and empty conditions. | |
* | |
* @author christopherduarte | |
* @reference robertirwin | |
* @course cis551 | |
* @assignment Lab15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Driver - for Java generic MyLinkedList<E> class | |
* | |
* @author christopher duarte | |
* @course cis551 | |
* @assignment HW6 | |
* @param <E> | |
*/ |
NewerOlder