@@ -0,0 +1,1320 @@
+package ru.matevosyan;%0A%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0A%0A/**%0A * Created isNumber for get true or false.%0A * Created on 09.02.2017.%0A * @since 1.0%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class EvenAndOddNumber %7B%0A    private boolean checkEvenAndOddNumber  = false;%0A%0A    /**%0A     * isNumber created for checking eve numbers in the stream.%0A     * @param in input stream%0A     * @return checkEvenAndOddNumber which is boolean and can return true is number is even.%0A     * @throws IOException%0A     */%0A%0A        public boolean isNumber (InputStream in) throws IOException %7B%0A            try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(in))) %7B%0A%0A            for(int b; (b = bufferedReader.read()) != -1;) %7B%0A                try %7B%0A                    if ((b %25 2) == 0) %7B%0A                        this.checkEvenAndOddNumber = true;%0A                        break;%0A                    %7D%0A                %7D catch(NumberFormatException nfe) %7B%0A                    System.out.println(%22Number is no available%22);%0A                %7D%0A            %7D%0A        %7D catch(IOException ioe) %7B%0A                System.out.println(%22Input/Output problem%22);%0A            %7D%0A            return this.checkEvenAndOddNumber;%0A    %7D%0A%0A%7D%0A

add EvenAndOddNumber.java