fr.umlv.tatoo.cc.lexer.charset
Class CharacterInterval
java.lang.Object
fr.umlv.tatoo.cc.lexer.charset.CharacterInterval
public class CharacterInterval
- extends Object
- Author:
- jcervell
CharacterInterval
public CharacterInterval(char c,
Encoding encoding)
CharacterInterval
public CharacterInterval(char begin,
char end,
Encoding encoding)
CharacterInterval
public CharacterInterval(int begin,
int end)
getBegin
public int getBegin()
getEnd
public int getEnd()
in
public boolean in(int c)
joinable
public boolean joinable(CharacterInterval interval)
join
public CharacterInterval join(CharacterInterval interval)
inter
public CharacterInterval inter(CharacterInterval interval)
toString
public String toString(Encoding encoding)
toString
public static String toString(int v,
Encoding encoding)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object