-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
2,084 additions
and
1,519 deletions.
There are no files selected for viewing
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
Binary file added
BIN
+70 Bytes
...ace/.metadata/.plugins/org.eclipse.core.resources/.projects/Fib/.indexes/af/history.index
Binary file not shown.
Binary file added
BIN
+732 Bytes
...data/.plugins/org.eclipse.core.resources/.projects/Fib/.indexes/e4/81/2e/ff/history.index
Binary file not shown.
Binary file added
BIN
+948 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Fib/.markers.snap
Binary file not shown.
Binary file added
BIN
+160 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Fib/.syncinfo.snap
Binary file not shown.
Binary file removed
BIN
-70 Bytes
.../.metadata/.plugins/org.eclipse.core.resources/.projects/Graphs/.indexes/af/history.index
Binary file not shown.
Binary file added
BIN
+292 Bytes
...a/.plugins/org.eclipse.core.resources/.projects/Graphs/.indexes/e4/81/2e/2b/history.index
Binary file not shown.
Binary file modified
BIN
-1.71 KB
(25%)
...a/.plugins/org.eclipse.core.resources/.projects/Graphs/.indexes/e4/81/2e/4e/history.index
Binary file not shown.
Binary file modified
BIN
-384 Bytes
(44%)
...a/.plugins/org.eclipse.core.resources/.projects/Graphs/.indexes/e4/81/2e/58/history.index
Binary file not shown.
Binary file added
BIN
+4.46 KB
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Graphs/.markers.snap
Binary file not shown.
Binary file added
BIN
+160 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Graphs/.syncinfo.snap
Binary file not shown.
Binary file removed
BIN
-155 KB
...adata/.plugins/org.eclipse.core.resources/.projects/Graphs/org.eclipse.jdt.core/state.dat
Binary file not shown.
Binary file removed
BIN
-619 Bytes
.../.plugins/org.eclipse.core.resources/.projects/Huffman/.indexes/e4/81/2e/71/history.index
Binary file not shown.
Binary file removed
BIN
-69 Bytes
.../.plugins/org.eclipse.core.resources/.projects/Huffman/.indexes/e4/81/2e/9e/history.index
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Huffman/.markers
Binary file not shown.
Binary file added
BIN
+3.33 KB
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Huffman/.markers.snap
Binary file not shown.
Binary file added
BIN
+160 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Huffman/.syncinfo.snap
Binary file not shown.
Binary file removed
BIN
-158 KB
...data/.plugins/org.eclipse.core.resources/.projects/Huffman/org.eclipse.jdt.core/state.dat
Binary file not shown.
Binary file removed
BIN
-1.19 KB
...data/.plugins/org.eclipse.core.resources/.projects/Que/.indexes/e4/81/2e/92/history.index
Binary file not shown.
Binary file removed
BIN
-2.88 KB
...data/.plugins/org.eclipse.core.resources/.projects/Que/.indexes/e4/81/2e/9e/history.index
Binary file not shown.
Binary file removed
BIN
-729 Bytes
...data/.plugins/org.eclipse.core.resources/.projects/Que/.indexes/e4/81/2e/c1/history.index
Binary file not shown.
Binary file added
BIN
+1.6 KB
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Que/.markers.snap
Binary file not shown.
Binary file added
BIN
+160 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/Que/.syncinfo.snap
Binary file not shown.
Binary file removed
BIN
-156 KB
...metadata/.plugins/org.eclipse.core.resources/.projects/Que/org.eclipse.jdt.core/state.dat
Binary file not shown.
Binary file added
BIN
+187 Bytes
Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
Binary file not shown.
Binary file renamed
BIN
+6.1 KB
.../org.eclipse.core.resources/.root/24.tree → .../org.eclipse.core.resources/.root/25.tree
Binary file not shown.
Binary file modified
BIN
+4.44 KB
(540%)
...space/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
Workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/Fib.launch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | ||
<listEntry value="/Fib/src/com/fresh/fib/Fib.java"/> | ||
</listAttribute> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | ||
<listEntry value="1"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.fresh.fib.Fib"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Fib"/> | ||
</launchConfiguration> |
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
3,045 changes: 1,586 additions & 1,459 deletions
3,045
Workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+370 Bytes
(110%)
Workspace/.metadata/.plugins/org.eclipse.jdt.core/1528163545.index
Binary file not shown.
Binary file not shown.
23 changes: 3 additions & 20 deletions
23
Workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,8 @@ | ||
INDEX VERSION 1.127+D:\Dropbox\Dropbox\School\Semester12\Algo 2\Git\Algo2\Workspace\.metadata\.plugins\org.eclipse.jdt.core | ||
4183445374.index | ||
735681076.index | ||
2394657268.index | ||
2708055714.index | ||
1528163545.index | ||
3926188048.index | ||
1893439535.index | ||
3272298222.index | ||
774558276.index | ||
3167461448.index | ||
1244022644.index | ||
2943934462.index | ||
2725327845.index | ||
1893439535.index | ||
3581737588.index | ||
2725327845.index | ||
2860809195.index | ||
648820999.index | ||
3224974857.index | ||
3549880408.index | ||
2010491873.index | ||
2503134553.index | ||
3829748403.index | ||
1369127545.index | ||
182735413.index | ||
2573849602.index | ||
2705315894.index |
Binary file modified
BIN
+94 Bytes
(100%)
Workspace/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
Binary file not shown.
Binary file modified
BIN
+17 Bytes
(110%)
Workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+343 Bytes
(330%)
Workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(95%)
Workspace/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...plugins/org.eclipse.ltk.core.refactoring/.refactorings/Fib/2014/9/36/refactorings.history
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<session version="1.0"> | ||
<refactoring clone="true" comment="Infer generic type arguments on 'Fib'
- Original project: 'Fib'
- Original elements:
 com.fresh.fib.Fib.java
- Assume clone() returns an instance of the receiver type
- Leave unconstrained type arguments raw" description="Infer generic type arguments" element1="/src<com.fresh.fib{Fib.java" flags="6" id="org.eclipse.jdt.ui.infer.typearguments" leave="true" stamp="1409850395945" version="1.0"/> | ||
</session> |
1 change: 1 addition & 0 deletions
1
.../.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Fib/2014/9/36/refactorings.index
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1409850395945 Infer generic type arguments |
3 changes: 3 additions & 0 deletions
3
...gins/org.eclipse.ltk.core.refactoring/.refactorings/Graphs/2014/9/36/refactorings.history
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<session version="1.0">
<refactoring comment="Rename field 'Mark' in 'com.fresh.graph.GraphMatrix' to 'mark'
- Original project: 'Graphs'
- Original element: 'com.fresh.graph.GraphMatrix.Mark'
- Renamed element: 'com.fresh.graph.GraphMatrix.mark'
- Update references to refactored element
- Update textual occurrences in comments and strings" delegate="false" deprecate="false" description="Rename field 'Mark'" flags="589826" getter="false" id="org.eclipse.jdt.ui.rename.field" input="/src<com.fresh.graph{GraphMatrix.java[GraphMatrix^Mark" name="mark" references="true" setter="false" stamp="1409932353006" textual="false" version="1.0"/>
<refactoring comment="Move 3 elements to 'Graphs/src/com.fresh.broken'
- Original project: 'Graphs'
- Destination element: 'Graphs/src/com.fresh.broken'
- Original elements:
 com.fresh.graph.MatrixGraph.java
 com.fresh.graph.ListGraph.java
 com.fresh.graph.Vertex.java
- Update references to refactored element" description="Move compilation units" destination="/src<com.fresh.broken" element1="/src<com.fresh.graph{MatrixGraph.java" element2="/src<com.fresh.graph{ListGraph.java" element3="/src<com.fresh.graph{Vertex.java" files="0" flags="589830" folders="0" id="org.eclipse.jdt.ui.move" patterns="*" policy="org.eclipse.jdt.ui.moveResources" qualified="false" references="true" stamp="1409932553199" units="3" version="1.0"/> | ||
</session> |
2 changes: 2 additions & 0 deletions
2
...lugins/org.eclipse.ltk.core.refactoring/.refactorings/Graphs/2014/9/36/refactorings.index
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1409932353006 Rename field 'Mark' | ||
1409932553199 Move compilation units |
2 changes: 1 addition & 1 deletion
2
Workspace/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Cached timestamps | ||
#Mon Aug 25 11:43:49 MDT 2014 | ||
#Thu Sep 04 09:29:13 MDT 2014 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#Thu Sep 04 09:14:38 MDT 2014 | ||
#Thu Sep 04 10:39:53 MDT 2014 | ||
org.eclipse.core.runtime=2 | ||
org.eclipse.platform=4.4.0.v20140606-1215 |
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
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/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Fib</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> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package com.fresh.fib; | ||
|
||
import java.util.HashMap; | ||
|
||
public class Fib | ||
{ | ||
static HashMap<Long, Long> fiblist = new HashMap<Long,Long>(); | ||
|
||
public static void main(String[] args) | ||
{ | ||
long time = System.nanoTime(); | ||
System.out.println(fib(25)); | ||
System.out.println("Fib time: " + (System.nanoTime() - time)/1000 + "ms"); | ||
|
||
time = System.nanoTime(); | ||
System.out.println(fib(50)); | ||
System.out.println("Fib time: " + (System.nanoTime() - time)/1000 + "ms"); | ||
|
||
time = System.nanoTime(); | ||
System.out.println(betterFib(50)); | ||
System.out.println("Fib time: " + (System.nanoTime() - time)/1000 + "ms"); | ||
} | ||
|
||
static long fib(long n) | ||
{ | ||
if(n < 2) | ||
return n; | ||
return fib(n-1) + fib(n-2); | ||
} | ||
|
||
static long betterFib(int n) | ||
{ | ||
if(n < 2) return n; | ||
|
||
long[] list = new long[n+1]; | ||
list[0] = 0; | ||
list[1] = 1; | ||
|
||
for(int i = 2; i <= n; i++) | ||
{ | ||
list[i] = list[i-2] + list[i-1]; | ||
} | ||
return list[n]; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
package com.fresh.broken; | ||
|
||
import java.lang.reflect.Array; | ||
import java.util.ArrayList; | ||
|
||
public class ListGraph | ||
{ | ||
public static final int VISITED = 2; | ||
//Vertex<T>[] verts; | ||
ArrayList<Edge>[] list; | ||
int[] marks; | ||
|
||
@SuppressWarnings("unchecked") | ||
public ListGraph(int n) | ||
{ | ||
//verts = (Vertex<T>[]) Array.newInstance(verts.getClass(), n); | ||
list = (ArrayList<Edge>[]) Array.newInstance(list.getClass(), n); | ||
marks = new int[n]; | ||
} | ||
|
||
public int first(int v) | ||
{ | ||
return list[v].get(0).v2; | ||
} | ||
|
||
public int vCount() | ||
{ | ||
return list.length; | ||
} | ||
|
||
public int neighborCount(int v) | ||
{ | ||
return list[v].size(); | ||
} | ||
|
||
public int next(int v, int lastNeighbor) | ||
{ | ||
return list[v].get(lastNeighbor + 1).v2; | ||
} | ||
|
||
/** | ||
* | ||
* @param vertex | ||
* @param neighbor | ||
* @param weight - any weight non-Zero | ||
* @throws Exception for a weight of Zero | ||
*/ | ||
public void addEdge(int vertex, int neighbor, int weight) throws Exception | ||
{ | ||
// add 0 throw exception | ||
if(weight == 0) | ||
{ | ||
throw new Exception("Weight of Zero"); | ||
} | ||
list[vertex].add(new Edge(neighbor, weight)); | ||
} | ||
|
||
public void removeEdge(int vertex, int neighbor) | ||
{ | ||
list[vertex].remove(new Edge(neighbor,0)); | ||
} | ||
/** | ||
* | ||
* @param vertex | ||
* @param neighbor | ||
* @return weight of edge or Zero if no weight found | ||
*/ | ||
public int weight(int vertex, int neighbor) | ||
{ | ||
return isEdge(vertex, neighbor)? list[vertex].get(list[vertex].indexOf(new Edge(neighbor, 0))).weight : 0; | ||
} | ||
|
||
public boolean isEdge(int vertex, int neighbor) | ||
{ | ||
return list[vertex].contains(new Edge(neighbor, 0)); | ||
} | ||
|
||
public void setMark(int vertex, int mark) | ||
{ | ||
marks[vertex] = mark; | ||
} | ||
|
||
public int getMark(int vertex) | ||
{ | ||
return marks[vertex]; | ||
} | ||
|
||
public void clearMarks() | ||
{ | ||
marks = new int[vCount()]; | ||
} | ||
|
||
private class Edge implements Comparable<Edge> | ||
{ | ||
public Integer v2; | ||
public int weight; | ||
|
||
public Edge(int v2, int weight) | ||
{ | ||
this.v2 = v2; | ||
this.weight = weight; | ||
} | ||
|
||
@Override | ||
public int compareTo(ListGraph.Edge o) | ||
{ | ||
return v2.compareTo(o.v2); | ||
} | ||
|
||
@Override | ||
public boolean equals(Object object) | ||
{ | ||
return ((ListGraph.Edge) object).v2 == v2; | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package com.fresh.broken; | ||
|
||
import java.lang.reflect.Array; | ||
import java.util.List; | ||
|
||
import com.fresh.graph.ClassGraph; | ||
|
||
public class MatrixGraph<T extends Vertex<E>, E extends Comparable<E>> | ||
{ | ||
private ClassGraph graph; | ||
private T[][] matrix; | ||
@SuppressWarnings("unchecked") | ||
public MatrixGraph(int n, Class<T> tClass) | ||
{ | ||
graph = new ClassGraph(n); | ||
matrix = (T[][]) Array.newInstance(tClass, n); | ||
} | ||
|
||
public int vCount() | ||
{ | ||
return matrix.length; | ||
} | ||
public boolean add(T p1, T p2) | ||
{ | ||
return false; | ||
} | ||
|
||
public boolean remove(T p1, T p2) | ||
{ | ||
return false; | ||
} | ||
|
||
public List<T> retreive(T p1) | ||
{ | ||
return null; | ||
} | ||
|
||
public int mark(T p1) | ||
{ | ||
return 0; | ||
} | ||
|
||
public T first(T p1) | ||
{ | ||
return null; | ||
} | ||
|
||
public T next(T p2, T p1) | ||
{ | ||
return null; | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.fresh.broken; | ||
|
||
public class Vertex<T extends Comparable<T>> | ||
{ | ||
public int mark; | ||
public T data; | ||
public Vertex(T data) | ||
{ | ||
this.data = data; | ||
} | ||
} |
Oops, something went wrong.