001/**
002 * Copyright (c) 2001, Sergey A. Samokhodkin
003 * All rights reserved.
004 * <p>
005 * Redistribution and use in source and binary forms, with or without modification,
006 * are permitted provided that the following conditions are met:
007 * <p>
008 * - Redistributions of source code must retain the above copyright notice,
009 * this list of conditions and the following disclaimer.
010 * - Redistributions in binary form
011 * must reproduce the above copyright notice, this list of conditions and the following
012 * disclaimer in the documentation and/or other materials provided with the distribution.
013 * - Neither the name of jregex nor the names of its contributors may be used
014 * to endorse or promote products derived from this software without specific prior
015 * written permission.
016 * <p>
017 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
018 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
019 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
020 * IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
021 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
022 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
023 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
024 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
025 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
026 *
027 * @version 1.2_01
028 */
029
030package regexodus;
031
032public interface UnicodeConstants {
033    int CATEGORY_COUNT = 32;
034    int Cc = 15;//Character.CONTROL;
035    int Cf = 16;//Character.FORMAT;
036    int Co = 18;//Character.PRIVATE_USE;
037    int Cn = 0;//Character.UNASSIGNED;
038    int Lu = 1;//Character.UPPERCASE_LETTER;
039    int Ll = 2;//Character.LOWERCASE_LETTER;
040    int Lt = 3;//Character.TITLECASE_LETTER;
041    int Lm = 4;//Character.MODIFIER_LETTER;
042    int Lo = 5;//Character.OTHER_LETTER;
043    int Mn = 6;//Character.NON_SPACING_MARK;
044    int Me = 7;//Character.ENCLOSING_MARK;
045    int Mc = 8;//Character.COMBINING_SPACING_MARK;
046    int Nd = 9;//Character.DECIMAL_DIGIT_NUMBER;
047    int Nl = 10;//Character.LETTER_NUMBER;
048    int No = 11;//Character.OTHER_NUMBER;
049    int Zs = 12;//Character.SPACE_SEPARATOR;
050    int Zl = 13;//Character.LINE_SEPARATOR;
051    int Zp = 14;//Character.PARAGRAPH_SEPARATOR;
052    int Cs = 19;//Character.SURROGATE;
053    int Pd = 20;//Character.DASH_PUNCTUATION;
054    int Ps = 21;// Character.START_PUNCTUATION;
055    int Pi = 29;//Character.INITIAL_QUOTE_PUNCTUATION;
056    int Pe = 22;//Character.END_PUNCTUATION;
057    int Pf = 30;//Character.FINAL_QUOTE_PUNCTUATION;
058    int Pc = 23;//Character.CONNECTOR_PUNCTUATION;
059    int Po = 24;//Character.OTHER_PUNCTUATION;
060    int Sm = 25;//Character.MATH_SYMBOL;
061    int Sc = 26;//Character.CURRENCY_SYMBOL;
062    int Sk = 27;//Character.MODIFIER_SYMBOL;
063    int So = 28;//Character.OTHER_SYMBOL;
064
065    int BLOCK_COUNT = 256;
066    int BLOCK_SIZE = 256;
067
068    int MAX_WEIGHT = Character.MAX_VALUE + 1;
069}