org.eclipse.jpt.common.core.utility
Class TextRange.Empty
java.lang.Object
org.eclipse.jpt.common.core.utility.AbstractTextRange
org.eclipse.jpt.common.core.utility.TextRange.Empty
- All Implemented Interfaces:
- TextRange
- Enclosing interface:
- TextRange
public static final class TextRange.Empty
- extends AbstractTextRange
Empty implementation of text range.
INSTANCE
public static final TextRange INSTANCE
instance
public static TextRange instance()
getLineNumber
public int getLineNumber()
- Description copied from interface:
TextRange
- Return the line number of the text.
getOffset
public int getOffset()
- Description copied from interface:
TextRange
- Return the offset of the text.
getLength
public int getLength()
- Description copied from interface:
TextRange
- Return the length of the text.
toString
public String toString()
- Overrides:
toString in class AbstractTextRange
Copyright (c) 2012 Oracle. All rights reserved.