fr.umlv.tatoo.cc.lexer.charset
Class CharacterInterval

java.lang.Object
  extended by fr.umlv.tatoo.cc.lexer.charset.CharacterInterval

public class CharacterInterval
extends Object

Author:
jcervell

Constructor Summary
CharacterInterval(char begin, char end, Encoding encoding)
           
CharacterInterval(char c, Encoding encoding)
           
CharacterInterval(int begin, int end)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getBegin()
           
 int getEnd()
           
 int hashCode()
           
 boolean in(int c)
           
 CharacterInterval inter(CharacterInterval interval)
           
 CharacterInterval join(CharacterInterval interval)
           
 boolean joinable(CharacterInterval interval)
           
 String toString(Encoding encoding)
           
static String toString(int v, Encoding encoding)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterInterval

public CharacterInterval(char c,
                         Encoding encoding)

CharacterInterval

public CharacterInterval(char begin,
                         char end,
                         Encoding encoding)

CharacterInterval

public CharacterInterval(int begin,
                         int end)
Method Detail

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