This file contains hidden or 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
/** | |
* We are constructing a User class like the one mentioned in the blog-post only | |
* the name and phone number are obligatory | |
* | |
* @author Mehdi Maick | |
*/ | |
public class User { |
This file contains hidden or 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
/** | |
* @Author Mehdi Maick | |
* Created on 13/11/16. | |
*/ | |
import java.util.*; | |
import java.io.*; | |
import static java.lang.Math.*; |
This file contains hidden or 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.*; | |
import java.io.*; | |
/** | |
* | |
* @author Mehdi Maick | |
* | |
*/ | |
public class CostumeObject implements Externalizable { |
This file contains hidden or 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.io.*; | |
import java.util.*; | |
/** | |
* @author Mehdi Maick | |
**/ | |
public class scorify { | |
public static void solve(Scanner fs, PrintWriter pw) { |
This file contains hidden or 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
/** | |
* @Author Mehdi Maick | |
* Created on 15/11/2016. | |
*/ | |
import java.util.*; | |
import java.io.*; | |
import static java.lang.Math.*; | |
public class MouadBot { |
This file contains hidden or 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
/** | |
* @Author Mehdi Maick | |
* Created on 15/11/2016. | |
*/ | |
import java.util.*; | |
import java.io.*; | |
import static java.lang.Math.*; | |
public class PreMcpcB { |
This file contains hidden or 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
/** | |
* @Author Mehdi Maick | |
* Created on 15/11/2016. | |
*/ | |
import java.util.*; | |
import java.io.*; | |
import static java.lang.Math.*; |
This file contains hidden or 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
// simple class written as a Java bean | |
public class Settings { | |
private String settings1; | |
private Integer settings2; | |
public Settings(){} |
This file contains hidden or 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.beans.ExceptionListener; | |
import java.beans.XMLDecoder; | |
import java.beans.XMLEncoder; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
/** | |
* @author Mehdi Maick | |
* Created by mac on 17/11/2016. |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<java version="1.8.0_60" class="java.beans.XMLDecoder"> | |
<object class="lib.Settings"> | |
<void property="settings1"> | |
<string>user settings</string> | |
</void> | |
<void property="settings2"> | |
<int>98</int> | |
</void> | |
</object> |