com.atlassian.diff
Class WordChunk
java.lang.Object
com.atlassian.diff.WordChunk
- All Implemented Interfaces:
- DiffChunk
public class WordChunk
- extends Object
- implements DiffChunk
WordChunk
public WordChunk(DiffType type,
String text)
WordChunk
public WordChunk(DiffType type,
List<CharacterChunk> characterChunks)
getType
public DiffType getType()
- Specified by:
getType
in interface DiffChunk
getText
public String getText()
- Specified by:
getText
in interface DiffChunk
isChangedChunk
public boolean isChangedChunk()
getCharacterChunks
public List<CharacterChunk> getCharacterChunks()
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-2012 Atlassian. All Rights Reserved.