org.crsh.util
Class CharSlicer
java.lang.Object
org.crsh.util.CharSlicer
public class CharSlicer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private final String value
- .
size
private Pair<Integer,Integer> size
- .
CharSlicer
public CharSlicer(String value)
size
public Pair<Integer,Integer> size()
size
private static Pair<Integer,Integer> size(String s,
int index,
int height)
lines
public Pair<Integer,Integer>[] lines(int width)
lines
private Pair<Integer,Integer>[] lines(Iterator<Pair<Integer,Integer>> i,
int count)
linesIterator
public Iterator<Pair<Integer,Integer>> linesIterator(int width)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.