package ru.parsentev.task_013;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static org.slf4j.LoggerFactory.getLogger;

/**
 * TODO: comment
 *
 * @author parsentev
 * @since 28.07.2016
 */
public class MonoArray {
    private static final Logger log = getLogger(MonoArray.class);

    private final int[] values;

    public MonoArray(final int[] values) {
        this.values = values;
    }

    public boolean exists() {
        throw new UnsupportedOperationException();
    }
}

@@ -53,40 +53,8 @@
 ger;
-%0Aimport org.slf4j.LoggerFactory;
 %0A%0Aim
@@ -418,49 +418,192 @@
     
-throw new UnsupportedOperationException()
+for (int i = 1; i %3C values.length; i++) %7B%0A            int tmp = values%5B0%5D;%0A            if (values%5Bi%5D != tmp) %7B%0A                return false;%0A            %7D%0A        %7D%0A        return true
 ;%0A  

Task_013