亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pgtokenizer.java

?? 關系型數據庫 Postgresql 6.5.2
?? JAVA
字號:
package postgresql.util;import java.sql.*;import java.util.*;/** * This class is used to tokenize the text output of postgres. * * <p>It's mainly used by the geometric classes, but is useful in parsing any * output from custom data types output from postgresql. * * @see postgresql.geometric.PGbox * @see postgresql.geometric.PGcircle * @see postgresql.geometric.PGlseg * @see postgresql.geometric.PGpath * @see postgresql.geometric.PGpoint * @see postgresql.geometric.PGpolygon */public class PGtokenizer{  // Our tokens  protected Vector	tokens;    /**   * Create a tokeniser.   *   * <p>We could have used StringTokenizer to do this, however, we needed to   * handle nesting of '(' ')' '[' ']' '&lt;' and '&gt;' as these are used   * by the geometric data types.   *   * @param string containing tokens   * @param delim single character to split the tokens   */  public PGtokenizer(String string,char delim)  {    tokenize(string,delim);  }    /**   * This resets this tokenizer with a new string and/or delimiter.   *   * @param string containing tokens   * @param delim single character to split the tokens   */  public int tokenize(String string,char delim)  {    tokens = new Vector();        // nest holds how many levels we are in the current token.    // if this is > 0 then we don't split a token when delim is matched.    //    // The Geometric datatypes use this, because often a type may have others    // (usualls PGpoint) imbedded within a token.    //    // Peter 1998 Jan 6 - Added < and > to the nesting rules    int nest=0,p,s;        for(p=0,s=0;p<string.length();p++) {      char c = string.charAt(p);            // increase nesting if an open character is found      if(c == '(' || c == '[' || c == '<')	nest++;            // decrease nesting if a close character is found      if(c == ')' || c == ']' || c == '>')	nest--;            if(nest==0 && c==delim) {	tokens.addElement(string.substring(s,p));	s=p+1; // +1 to skip the delimiter      }          }        // Don't forget the last token ;-)    if(s<string.length())      tokens.addElement(string.substring(s));        return tokens.size();  }    /**   * @return the number of tokens available   */  public int getSize()  {    return tokens.size();  }    /**   * @param n Token number ( 0 ... getSize()-1 )   * @return The token value   */  public String getToken(int n)  {    return (String)tokens.elementAt(n);  }    /**   * This returns a new tokenizer based on one of our tokens.   *   * The geometric datatypes use this to process nested tokens (usually   * PGpoint).   *   * @param n Token number ( 0 ... getSize()-1 )   * @param delim The delimiter to use   * @return A new instance of PGtokenizer based on the token   */  public PGtokenizer tokenizeToken(int n,char delim)  {    return new PGtokenizer(getToken(n),delim);  }    /**   * This removes the lead/trailing strings from a string   * @param s Source string   * @param l Leading string to remove   * @param t Trailing string to remove   * @return String without the lead/trailing strings   */  public static String remove(String s,String l,String t)  {    if(s.startsWith(l))	s = s.substring(l.length());    if(s.endsWith(t))	s = s.substring(0,s.length()-t.length());    return s;  }    /**   * This removes the lead/trailing strings from all tokens   * @param l Leading string to remove   * @param t Trailing string to remove   */  public void remove(String l,String t)  {    for(int i=0;i<tokens.size();i++) {      tokens.setElementAt(remove((String)tokens.elementAt(i),l,t),i);    }  }    /**   * Removes ( and ) from the beginning and end of a string   * @param s String to remove from   * @return String without the ( or )   */  public static String removePara(String s)  {    return remove(s,"(",")");  }    /**   * Removes ( and ) from the beginning and end of all tokens   * @return String without the ( or )   */  public void removePara()  {    remove("(",")");  }    /**   * Removes [ and ] from the beginning and end of a string   * @param s String to remove from   * @return String without the [ or ]   */  public static String removeBox(String s)  {    return remove(s,"[","]");  }    /**   * Removes [ and ] from the beginning and end of all tokens   * @return String without the [ or ]   */  public void removeBox()  {    remove("[","]");  }    /**   * Removes &lt; and &gt; from the beginning and end of a string   * @param s String to remove from   * @return String without the &lt; or &gt;   */  public static String removeAngle(String s)  {    return remove(s,"<",">");  }    /**   * Removes &lt; and &gt; from the beginning and end of all tokens   * @return String without the &lt; or &gt;   */  public void removeAngle()  {    remove("<",">");  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产美女浴室洗澡无遮挡| 欧美羞羞免费网站| 日本va欧美va欧美va精品| 亚洲欧美aⅴ...| 椎名由奈av一区二区三区| 欧美国产禁国产网站cc| 国产精品国产精品国产专区不片| 国产日韩成人精品| 亚洲欧美综合色| 亚洲免费观看高清完整版在线观看熊| 亚洲视频电影在线| 亚洲一区中文在线| 午夜精品视频一区| 久久国产精品露脸对白| 高清视频一区二区| 日本成人在线不卡视频| 久久久久久一二三区| 久久久精品影视| 中文字幕制服丝袜成人av| 亚洲欧洲成人自拍| 亚洲高清视频的网址| 奇米一区二区三区| 极品少妇xxxx精品少妇| 国产成a人亚洲精| heyzo一本久久综合| 欧美日韩久久一区二区| 日韩亚洲欧美在线| 亚洲国产精品99久久久久久久久| 中文字幕一区二区三区av| 亚洲午夜精品久久久久久久久| 日韩精品成人一区二区三区| 国模冰冰炮一区二区| youjizz久久| 欧美一区二区视频网站| 欧美国产激情一区二区三区蜜月 | 日韩精品一级中文字幕精品视频免费观看| 亚洲一区二区欧美| 国产原创一区二区三区| 欧美亚洲综合久久| 国产拍欧美日韩视频二区| 人人爽香蕉精品| 亚洲图片你懂的| 日本在线不卡视频| 国产精品一区二区久久不卡| 成人av免费在线| 91精品国产福利| 亚洲视频一区二区免费在线观看| 婷婷开心久久网| 99久久精品国产一区| 日韩久久久久久| 午夜电影网亚洲视频| 成人av小说网| 久久综合一区二区| 日本欧美一区二区三区乱码| 欧美理论片在线| 国内成人免费视频| 日本二三区不卡| 精品伦理精品一区| 午夜视频一区二区三区| 99久久99久久免费精品蜜臀| 欧美一区二区日韩| 日韩精品电影一区亚洲| 欧美吻胸吃奶大尺度电影 | 1024成人网| 国产成人免费xxxxxxxx| 精品国产不卡一区二区三区| 亚洲一二三四久久| 91福利精品第一导航| 亚洲欧洲精品一区二区精品久久久 | 久久成人免费网站| 91精品啪在线观看国产60岁| 肉丝袜脚交视频一区二区| 欧美日韩中文字幕一区| 亚洲国产精品欧美一二99| 欧美专区日韩专区| 伊人色综合久久天天| 91传媒视频在线播放| 亚洲一区二区三区四区不卡| 欧美在线视频不卡| 午夜私人影院久久久久| 欧美精品九九99久久| 日本中文字幕一区二区有限公司| 在线成人午夜影院| 美女视频一区在线观看| 欧美精品一区二区三区蜜桃视频 | 狠狠色丁香久久婷婷综合丁香| 日韩一级黄色片| 国产一区二区三区在线观看免费| 337p粉嫩大胆噜噜噜噜噜91av | 欧美一区二区三区在线看| 美女精品一区二区| 日韩美女天天操| 国产凹凸在线观看一区二区| 中文字幕第一区二区| 91麻豆高清视频| 亚洲成人1区2区| 欧美一区中文字幕| 国产乱人伦精品一区二区在线观看| 国产午夜精品一区二区三区视频| 成人av在线播放网址| 亚洲曰韩产成在线| 精品日韩成人av| 成人网男人的天堂| 亚洲电影一区二区| 精品对白一区国产伦| 成人性生交大片免费看在线播放| 日韩毛片精品高清免费| 欧美久久一二区| 国产露脸91国语对白| 亚洲欧美区自拍先锋| 在线电影国产精品| 99久久综合国产精品| 婷婷综合在线观看| 国产欧美在线观看一区| 欧美日韩另类国产亚洲欧美一级| 久久精品久久综合| 亚洲日本一区二区| 国产亚洲综合色| 欧美日韩国产天堂| 成人网男人的天堂| 久久精品久久99精品久久| 中文字幕日本不卡| 精品日韩一区二区三区免费视频| 91视频精品在这里| 国产在线精品一区二区夜色| 一区二区三区在线播放| 国产亚洲人成网站| 制服丝袜在线91| 色www精品视频在线观看| 狠狠色狠狠色综合日日91app| 亚洲精品免费视频| 中文字幕乱码日本亚洲一区二区| 欧美精三区欧美精三区| 本田岬高潮一区二区三区| 久久99精品视频| 日本人妖一区二区| 日日嗨av一区二区三区四区| 日韩伦理免费电影| 国产精品久久久久久久久免费相片| 日韩欧美在线观看一区二区三区| 欧美亚洲尤物久久| 色先锋久久av资源部| 91免费观看视频| 91小视频免费观看| 91免费看片在线观看| av在线播放一区二区三区| 懂色av一区二区三区免费看| 极品瑜伽女神91| 激情欧美一区二区三区在线观看| 日日夜夜免费精品视频| 日韩国产精品91| 美洲天堂一区二卡三卡四卡视频| 日韩综合小视频| 美女视频免费一区| 久久精品国产久精国产| 国产综合久久久久久久久久久久| 久久精品免费观看| 国产精品1区2区3区在线观看| 精品在线一区二区| 久草在线在线精品观看| 调教+趴+乳夹+国产+精品| 日产精品久久久久久久性色| 亚洲一区日韩精品中文字幕| 亚洲欧美福利一区二区| 日本一区二区三区高清不卡| 国产日本欧洲亚洲| 国产区在线观看成人精品| 精品国产成人系列| 欧美日韩大陆一区二区| 欧美一区二区免费| 日韩欧美资源站| 日韩欧美中文一区| 欧美一区二区久久| 欧美大片在线观看一区| 日韩一级片在线播放| 日韩一区和二区| 国产精品福利一区二区| 国产精品久久久久婷婷二区次| 久久久久久一级片| 一区二区三区 在线观看视频| 亚洲女人小视频在线观看| 亚洲欧洲精品一区二区三区不卡| 国产精品国产三级国产普通话99| 五月综合激情网| 理论片日本一区| 国产黄色91视频| 久久av资源网| 成人蜜臀av电影| 91黄视频在线观看| 91精品国产综合久久精品麻豆| 欧美一区二区三区在线看| 久久久久国产精品免费免费搜索| 国产精品国产三级国产| 亚洲成人免费看| 国产资源精品在线观看| 国产专区综合网| 欧美影片第一页| 国产精品国产三级国产aⅴ原创| 亚洲最新视频在线观看| 日韩电影在线免费|