com.atlassian.diff
Class CharacterChunk
java.lang.Object
com.atlassian.diff.CharacterChunk
- All Implemented Interfaces:
- DiffChunk
public class CharacterChunk
- extends Object
- implements DiffChunk
Represents a group of characters sharing the same diff type - unchanged, added or deleted.
CharacterChunk
public CharacterChunk(DiffType type,
String text)
getType
public DiffType getType()
- Specified by:
getType
in interface DiffChunk
getText
public String getText()
- Specified by:
getText
in interface DiffChunk
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2011 Atlassian. All Rights Reserved.