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.javarush.task.task24.task2410; | |
| import java.util.LinkedList; | |
| import java.util.List; | |
| /* | |
| Рефакторинг, анонимные классы | |
| */ | |
| public class Solution { | |
| public static List<Iterator> iterators = new LinkedList<>(); | 
  
    
      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.javarush.task.task24.task2406; | |
| import java.math.BigDecimal; | |
| /* | |
| Наследование от внутреннего класса | |
| */ | |
| public class Solution { | |
| public class Building { | |
| public class Hall { | 
  
    
      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.javarush.task.task24.task2404; | |
| public interface HasHeight { | |
| double getHeight(); | |
| } | 
  
    
      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.javarush.task.task24.task2401; | |
| /** | |
| * Created by User on 08.07.2017. | |
| */ | |
| public interface SelfInterfaceMarker { | |
| } | 
  
    
      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.javarush.task.task23.task2311; | |
| /* | |
| Повторяем threads | |
| */ | |
| public class Solution { | |
| public final String name; | |
| public final String food; | |
| public final String sound; | 
  
    
      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.javarush.task.task23.task2303; | |
| /* | |
| Запрети создание экземпляров класса | |
| */ | |
| public class Solution { | |
| public abstract static class Listener { | |
| public void onMouseDown(int x, int y) { | |
| //do something on mouse down event | 
  
    
      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.javarush.task.task21.task2106; | |
| import java.util.Date; | |
| /* | |
| Ошибка в equals/hashCode | |
| */ | |
| public class Solution { | |
| private int anInt; | |
| private String string; | 
  
    
      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.javarush.task.task21.task2105; | |
| import java.util.HashSet; | |
| import java.util.Set; | |
| /* | |
| Исправить ошибку. Сравнение объектов | |
| */ | |
| public class Solution { | |
| private final String first, last; | 
  
    
      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.javarush.task.task20.task2025; | |
| import java.util.*; | |
| /* | |
| Алгоритмы-числа | |
| */ | |
| public class Solution { | |
| public static long[] getNumbers(long N) { | 
  
    
      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.javarush.task.task20.task2002; | |
| import java.io.*; | |
| import java.util.ArrayList; | |
| import java.util.*; | |
| /* | |
| Читаем и пишем в файл: JavaRush | |
| */ | |
| public class Solution { | 
NewerOlder