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
/* | |
* Copyright (c) 2013 midgardabc.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.util.Random; | |
/** |
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
/* | |
* Copyright (c) 2013 midgardabc.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.util.Random; | |
/** |
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
package Lesson3.KeyPoint4; | |
/** | |
* Created by Юрий on 05.01.2016. | |
*/ | |
public class StringGetQuadrant { | |
public static void main(String[] args) { | |
System.out.println(getQuadrant(0, 60)); | |
System.out.println(getQuadrant(0, 64)); | |
System.out.println(getQuadrant(68, 96)); |
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
/* | |
* Copyright (c) 2013 midgardabc.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.util.Random; | |
/** |
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
/* | |
* Copyright (c) 2013 midgardabc.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.util.Random; | |
/** |
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
/* | |
* Copyright (c) 2014 kademika.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
public class BattleFieldTemplate_tankDirection extends JPanel { |
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
/* | |
* Copyright (c) 2014 kademika.com | |
*/ | |
package Lesson3.KeyPoint4; | |
import javax.swing.*; | |
import java.awt.*; | |
public class BattleFieldTemplate_MoveToQuadrant_modif extends JPanel { |
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
package Lesson3.KeyPoint3; | |
import java.util.Arrays; | |
/** | |
* Created by Юрий on 30.12.2015. | |
*/ | |
public class Union { | |
static int[] union(int[] data1, int[] data2) { |
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
package Lesson3.KeyPoint3; | |
/** | |
* Created by Юрий on 28.12.2015. | |
*/ | |
public class longGetPopulation { | |
public static void main(String[] args) { | |
String[][] population = {{"China", "Peking", "1354040000"}, {"India", "New Delhi", "1210569573"}, | |
{"USA", "Washington", "316305000"}, {"Indonesia", "Jakarta", "237641326"}, | |
{"Brazil", "Brasilia", "193946886"}, {"Pakistan", "Islamabad", "183748060"}}; |
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
package Lesson3.KeyPoint3; | |
import java.util.Arrays; | |
/** | |
* Created by Юрий on 23.12.2015. | |
*/ | |
public class SortUseSwapMinTimes { | |
public static void main(String[] args) { |