
![image](https://user-images.githubusercontent.com/12162539/50417924-d6cc2b80-0863-11e9-860f-bf9d132db570.png)

public Border add(int border) {
            return set(get() | border);
        }
        public Border remove(int border) {
            return set(get() ^ border);
        }
    }
    public static String wrap(String string, int width) {
        final StringBuilder sb = new StringBuilder();
        final char[] buffer = string.toCharArray();
        int count = 0;
        for (char c : buffer) {
            if (count == width) {
                count = 0;
                sb.append('\n');
                if (c == '\n') {
                    continue;
                }
            }
            if (c == '\n') {
                count = 0;
            } else {
                count++;
            }
            sb.append(c);
        }
        return sb.toString();
    }
}