-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed, cleaned and tested lists examples.
Signed-off-by: Lucas Estrella <Lucas Estrella>
- Loading branch information
Lucas Estrella
authored and
Lucas Estrella
committed
Feb 26, 2017
1 parent
8c08cb6
commit 94a6bae
Showing
23 changed files
with
147 additions
and
795 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
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
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
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 not shown.
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
14 changes: 7 additions & 7 deletions
14
Hello_World_Tutorials/tutorial-source-code/Java_CDLL/cdllist.java
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 not shown.
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
16 changes: 8 additions & 8 deletions
16
Hello_World_Tutorials/tutorial-source-code/Java_CSLL/csllist.java
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 not shown.
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
13 changes: 8 additions & 5 deletions
13
Hello_World_Tutorials/tutorial-source-code/Java_DLL/dllist.java
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 not shown.
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
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,23 +1,18 @@ | ||
/** | ||
package Java_SLL; | ||
/** | ||
* Created by Lucas Estrella on 1/31/2017. | ||
* [email protected] | ||
*/ | ||
import bridges.connect.Bridges; | ||
import bridges.base.SLelement; | ||
import com.google.gson.JsonObject; | ||
import model.Student; | ||
import org.json.simple.parser.ParseException; | ||
import provider.StudentProvider; | ||
import util.Auth; | ||
|
||
import java.io.FileNotFoundException; | ||
public class sllist { | ||
|
||
public class Main { | ||
public static void main(String[] args) throws Exception { | ||
|
||
public static void main(String[] args) throws FileNotFoundException, ParseException { | ||
|
||
|
||
Bridges<String, StudentInfo> bridges = new <String, StudentInfo>(1, "YOUR_API_KEY", "YOUR_USER_ID"); | ||
final String YOUR_API_KEY = ""; | ||
final String YOUR_USER_ID = ""; | ||
Bridges<String, StudentInfo> bridges = new Bridges<String, StudentInfo>(3, YOUR_API_KEY, YOUR_USER_ID); | ||
|
||
|
||
/** | ||
|
@@ -86,7 +81,7 @@ public static void main(String[] args) throws FileNotFoundException, ParseExcept | |
el2.setNext(el3); | ||
el3.setNext(el4); | ||
|
||
SLelement<Student> currentElement = el0; | ||
SLelement<StudentInfo> currentElement = el0; | ||
|
||
while(currentElement != null){ | ||
currentElement.getVisualizer().setColor(currentElement.getValue().getFavoriteColor()); | ||
|
@@ -108,8 +103,8 @@ public static void main(String[] args) throws FileNotFoundException, ParseExcept | |
currentElement = currentElement.getNext(); | ||
} | ||
|
||
bridge.setDataStructure(el0); | ||
bridge.visualize(); | ||
bridges.setDataStructure(el0); | ||
bridges.visualize(); | ||
|
||
|
||
} | ||
|
Oops, something went wrong.