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
package newcontactlist; | |
import java.util.*; | |
/** | |
* ContactList class | |
*/ | |
//public class ContactList extends Contact { | |
public class ContactList{ |
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
package week6.myHashTable; | |
import java.lang.reflect.Array; | |
import java.util.*; | |
/** | |
* Created by Vladislav on 11.08.2016. | |
*/ | |
public class MyHashTable<K,V> implements Map, Iterable<Node<K,V>>{ |
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
package Level_2.week_1.university; | |
/** | |
* Created by pc on 09.08.2016. | |
*/ | |
public class Student { | |
private Subject[] subjectList; | |
private String name; |
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
package Level_2.week_1.ContactListApplication; | |
/** | |
* Created by pc on 08.08.2016. | |
*/ | |
public class ContactList { | |
private Contact[] contactList; | |
private int busyPlaces; |
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
package week5.main.stack; | |
/** | |
* Created by sasha on 09.08.2016. | |
*/ | |
public interface IMyStack<E> { | |
void push(E element); | |
E pop(); |
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
package week5.main.queue; | |
/** | |
* Created by Agryzkov on 11.08.2016. | |
*/ | |
public interface IMyQueue<E> { | |
void insert(E element); | |
E remove(); |
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
package week5.main.queue; | |
import week5.main.stack.Node; | |
/** | |
* Created by Agryzkov on 11.08.2016. | |
*/ | |
public class MyLinkedQueue<E> implements IMyQueue<E> { | |
private int capacity; |
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
package week5.main.queue; | |
/** | |
* Created by Agryzkov on 11.08.2016. | |
*/ | |
public class MyArrayQueue<E> implements IMyQueue<E> { | |
private E[] arrayQueue; | |
private final int DEFAULT_CAPACITY = 5; | |
private int front, rear; |
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
package week6.myHashTable; | |
import java.lang.reflect.Array; | |
import java.util.*; | |
/** | |
* Created by Vladislav on 11.08.2016. | |
*/ | |
public class MyHashTable<K,V> implements Map, Iterator { //Yanchevskaya A почему Iterator, а не Iterable? |
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
package ua.artcode.week6; | |
import java.util.Collection; | |
import java.util.HashSet; | |
import java.util.Map; | |
import java.util.Set; | |
import java.util.stream.Collectors; | |
/** | |
* Created by Serhii Fursenko on 08.08.16. |