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 homework.HomeWork13; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class CallCenter { | |
| private final static int NUM_TRYING = 3; | |
| List<Operator> operators = new ArrayList<>(); | |
| public CallCenter(List<Operator> operators) { |
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 homework.HomeWork12; | |
| public class JavaExample { | |
| public String surname; | |
| public int age; | |
| public int id; | |
| public String name; | |
| public String group; | |
| public JavaExample(int id, String name, String surname, int age, String group) { |
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 homework.HomeWork11; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.LinkedHashMap; | |
| import java.util.LinkedList; | |
| import java.util.List; | |
| import java.util.Map; | |
| public class MainClassTask11 { |
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 homework.homeWork10; | |
| import java.util.Objects; | |
| public class Book implements Comparable<Book> { | |
| private String titleBook; | |
| private long publishingYear; | |
| private String authorName; | |
| private String authorLastName; | |
| private String authorMiddleName; |
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 homework.homeWork10; | |
| import java.util.Objects; | |
| public class Book implements Comparable<Book> { | |
| private String titleBook; | |
| private long publishingYear; | |
| private String authorName; | |
| private String authorLastName; | |
| private String authorMiddleName; |
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 homework.homeWork10; | |
| import java.util.Objects; | |
| public class Book implements Comparable<Book> { | |
| private String titleBook; | |
| private long publishingYear; | |
| private String authorName; | |
| private String authorLastName; | |
| private String authorMiddleName; |
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 com.htp.lesson9Test; | |
| public class Main { | |
| public static void main(String[] args) { | |
| User[] usr = new User[4]; | |
| usr[0] = new User(1, "Vova", "Admin", "GT1234567890", "192.168.98.3"); | |
| usr[1] = new User(0, "Ivan", "User", "AB1234", "192.168.98.3"); | |
| usr[2] = new User(2, "Ignat", "Client", "GT1234567890", "192.168.99.99"); | |
| usr[3] = new User(3, "Alex", "User", "112RE234414124", "192.168.99.99"); | |
| Validator validator = new Validator(); |
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 com.htp.lesson9Test; | |
| public class Main { | |
| public static void main(String[] args) { | |
| User[] usr = new User[4]; | |
| usr[0] = new User(1, "Vova", "Admin", "GT1234567890", "192.168.98.3"); | |
| usr[1] = new User(0, "Ivan", "User", "AB1234", "192.168.98.3"); | |
| usr[2] = new User(2, "Ignat", "Client", "GT1234567890", "192.168.99.99"); | |
| usr[3] = new User(3, "Alex", "User", "112RE234414124", "192.168.99.99"); | |
| Validator validator = new Validator(); |
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 homework.homeWork10; | |
| import java.util.Objects; | |
| public class Book { | |
| private String titleBook; | |
| private long publishingYear; | |
| private String authorName; | |
| private String authorLastName; | |
| private String authorMiddleName; |
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 com.htp.lesson9Test; | |
| public class CheckUser { | |
| public static final int severity = 20; | |
| public static final int lengthPassowrd = 10; | |
| public static User userChk; | |
| public CheckUser(User user) { | |
| userChk = user; | |
| } |
NewerOlder