org.crsh.util
Class CharSlicer
java.lang.Object
org.crsh.util.CharSlicer
-
public class CharSlicer
- extends Object
-
Field Summary |
private Pair<Integer,Integer> |
size
. |
private String |
value
. |
Method Summary |
Pair<Integer,Integer>[] |
lines(int width)
|
private Pair<Integer,Integer>[] |
lines(Iterator<Pair<Integer,Integer>> i, int count)
|
Iterator<Pair<Integer,Integer>> |
linesIterator(int width)
|
Pair<Integer,Integer> |
size()
|
private static Pair<Integer,Integer> |
size(String s, int index, int height)
|
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 © 2014 eXo Platform SAS. All Rights Reserved.