org.eclipse.jdt.internal.compiler.apt.model
Class NameImpl
java.lang.Object
org.eclipse.jdt.internal.compiler.apt.model.NameImpl
- All Implemented Interfaces:
- CharSequence, Name
public class NameImpl
- extends Object
- implements Name
A String-based implementation of the type used to return strings in javax.lang.model.
NameImpl
public NameImpl(CharSequence cs)
NameImpl
public NameImpl(char[] chars)
contentEquals
public boolean contentEquals(CharSequence cs)
- Specified by:
contentEquals
in interface Name
charAt
public char charAt(int index)
- Specified by:
charAt
in interface CharSequence
length
public int length()
- Specified by:
length
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
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Name
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Name
- Overrides:
equals
in class Object
Copyright © 2012. All Rights Reserved.