com.starteam.diff
Class StringCharSequence

java.lang.Object
  extended by com.starteam.diff.StringCharSequence
All Implemented Interfaces:
CharSequence

public final class StringCharSequence
extends java.lang.Object
implements CharSequence

A String Char Sequence


Constructor Summary
StringCharSequence(java.lang.String src)
          Construct a String Char Sequence
 
Method Summary
 char charAt(int n)
          returns the character at the index
 int getLength()
          returns the length of the sequence
 java.lang.String toString()
          returns the underlying string representation of this char sequence
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringCharSequence

public StringCharSequence(java.lang.String src)
Construct a String Char Sequence

Parameters:
src - the string
Method Detail

charAt

public char charAt(int n)
returns the character at the index

Specified by:
charAt in interface CharSequence
Parameters:
n - the index
Returns:
char the character at the index

getLength

public int getLength()
returns the length of the sequence

Specified by:
getLength in interface CharSequence
Returns:
the length of the sequence

toString

public java.lang.String toString()
returns the underlying string representation of this char sequence

Overrides:
toString in class java.lang.Object
Returns:
the underlying string representation of this char sequence


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.