org.crsh.util
Class BlankSequence

java.lang.Object
  extended by org.crsh.util.BlankSequence
All Implemented Interfaces:
Serializable, CharSequence

public class BlankSequence
extends Object
implements CharSequence, Serializable

An immutable sequence of white spaces.

See Also:
Serialized Form

Method Summary
 char charAt(int index)
           
static BlankSequence create(int length)
           
 int length()
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static BlankSequence create(int length)

length

public int length()
Specified by:
length in interface CharSequence

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object


Copyright © 2015 eXo Platform SAS. All Rights Reserved.