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

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

?? supportclass.cs

?? 這是C#版本開發的SVM類庫包,適合不同愛好的同學學習.
?? CS
字號:
//
// In order to convert some functionality to Visual C#, the Java Language Conversion Assistant
// creates "support classes" that duplicate the original functionality.  
//
// Support classes replicate the functionality of the original code, but in some cases they are 
// substantially different architecturally. Although every effort is made to preserve the 
// original architecture of the application in the converted project, the user should be aware that 
// the primary goal of these support classes is to replicate functionality, and that at times 
// the architecture of the resulting solution may differ somewhat.
//

using System;

/// <summary>
/// Contains conversion support elements such as classes, interfaces and static methods.
/// </summary>
public class SupportClass
{
	//Provides access to a static System.Random class instance
	static public System.Random Random = new System.Random();

	/*******************************/
	/// <summary>
	/// The class performs token processing in strings
	/// </summary>
	public class Tokenizer: System.Collections.IEnumerator
	{
		/// Position over the string
		private long currentPos = 0;

		/// Include demiliters in the results.
		private bool includeDelims = false;

		/// Char representation of the String to tokenize.
		private char[] chars = null;
			
		//The tokenizer uses the default delimiter set: the space character, the tab character, the newline character, and the carriage-return character and the form-feed character
		private string delimiters = " \t\n\r\f";		

		/// <summary>
		/// Initializes a new class instance with a specified string to process
		/// </summary>
		/// <param name="source">String to tokenize</param>
		public Tokenizer(System.String source)
		{			
			this.chars = source.ToCharArray();
		}

		/// <summary>
		/// Initializes a new class instance with a specified string to process
		/// and the specified token delimiters to use
		/// </summary>
		/// <param name="source">String to tokenize</param>
		/// <param name="delimiters">String containing the delimiters</param>
		public Tokenizer(System.String source, System.String delimiters):this(source)
		{			
			this.delimiters = delimiters;
		}


		/// <summary>
		/// Initializes a new class instance with a specified string to process, the specified token 
		/// delimiters to use, and whether the delimiters must be included in the results.
		/// </summary>
		/// <param name="source">String to tokenize</param>
		/// <param name="delimiters">String containing the delimiters</param>
		/// <param name="includeDelims">Determines if delimiters are included in the results.</param>
		public Tokenizer(System.String source, System.String delimiters, bool includeDelims):this(source,delimiters)
		{
			this.includeDelims = includeDelims;
		}	


		/// <summary>
		/// Returns the next token from the token list
		/// </summary>
		/// <returns>The string value of the token</returns>
		public System.String NextToken()
		{				
			return NextToken(this.delimiters);
		}

		/// <summary>
		/// Returns the next token from the source string, using the provided
		/// token delimiters
		/// </summary>
		/// <param name="delimiters">String containing the delimiters to use</param>
		/// <returns>The string value of the token</returns>
		public System.String NextToken(System.String delimiters)
		{
			//According to documentation, the usage of the received delimiters should be temporary (only for this call).
			//However, it seems it is not true, so the following line is necessary.
			this.delimiters = delimiters;

			//at the end 
			if (this.currentPos == this.chars.Length)
				throw new System.ArgumentOutOfRangeException();
			//if over a delimiter and delimiters must be returned
			else if (   (System.Array.IndexOf(delimiters.ToCharArray(),chars[this.currentPos]) != -1)
				     && this.includeDelims )                	
				return "" + this.chars[this.currentPos++];
			//need to get the token wo delimiters.
			else
				return nextToken(delimiters.ToCharArray());
		}

		//Returns the nextToken wo delimiters
		private System.String nextToken(char[] delimiters)
		{
			string token="";
			long pos = this.currentPos;

			//skip possible delimiters
			while (System.Array.IndexOf(delimiters,this.chars[currentPos]) != -1)
				//The last one is a delimiter (i.e there is no more tokens)
				if (++this.currentPos == this.chars.Length)
				{
					this.currentPos = pos;
					throw new System.ArgumentOutOfRangeException();
				}
			
			//getting the token
			while (System.Array.IndexOf(delimiters,this.chars[this.currentPos]) == -1)
			{
				token+=this.chars[this.currentPos];
				//the last one is not a delimiter
				if (++this.currentPos == this.chars.Length)
					break;
			}
			return token;
		}

				
		/// <summary>
		/// Determines if there are more tokens to return from the source string
		/// </summary>
		/// <returns>True or false, depending if there are more tokens</returns>
		public bool HasMoreTokens()
		{
			//keeping the current pos
			long pos = this.currentPos;
			
			try
			{
				this.NextToken();
			}
			catch (System.ArgumentOutOfRangeException)
			{				
				return false;
			}
			finally
			{
				this.currentPos = pos;
			}
			return true;
		}

		/// <summary>
		/// Remaining tokens count
		/// </summary>
		public int Count
		{
			get
			{
				//keeping the current pos
				long pos = this.currentPos;
				int i = 0;
			
				try
				{
					while (true)
					{
						this.NextToken();
						i++;
					}
				}
				catch (System.ArgumentOutOfRangeException)
				{				
					this.currentPos = pos;
					return i;
				}
			}
		}

		/// <summary>
		///  Performs the same action as NextToken.
		/// </summary>
		public System.Object Current
		{
			get
			{
				return (Object) this.NextToken();
			}		
		}		
		
		/// <summary>
		//  Performs the same action as HasMoreTokens.
		/// </summary>
		/// <returns>True or false, depending if there are more tokens</returns>
		public bool MoveNext()
		{
			return this.HasMoreTokens();
		}
		
		/// <summary>
		/// Does nothing.
		/// </summary>
		public void  Reset()
		{
			;
		}			
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成在线播放网站岛国| 懂色av噜噜一区二区三区av| 欧美bbbbb| 91在线一区二区| 精品嫩草影院久久| 亚洲欧美日韩电影| 国产美女视频91| 欧美一级午夜免费电影| 夜夜嗨av一区二区三区中文字幕| 国产毛片精品一区| 欧美一区二区三区四区视频| 亚洲欧洲日韩av| 国产精品77777竹菊影视小说| 777奇米四色成人影色区| 国产精品对白交换视频| 精品一区二区三区免费| 欧美亚洲综合网| 亚洲激情第一区| 99国产精品久| 亚洲欧美在线高清| 成人性色生活片| 国产欧美一区二区在线| 国内精品在线播放| 欧美成人女星排名| 另类中文字幕网| 欧美一区二区黄| 久久精品噜噜噜成人88aⅴ| 欧美日韩成人综合| 午夜精品久久久久久不卡8050| 一本一本大道香蕉久在线精品| 亚洲欧洲另类国产综合| 波多野洁衣一区| 国产精品久久久久婷婷| 五月婷婷久久丁香| 欧美老女人第四色| 日韩成人免费电影| 欧美一区二区视频观看视频| 日本网站在线观看一区二区三区| 欧美日韩激情一区二区| 丝袜美腿高跟呻吟高潮一区| 欧美日韩精品欧美日韩精品 | 日韩一区二区三区四区五区六区| 亚洲一区二区视频在线| 欧美日韩国产首页在线观看| 午夜久久久久久| 日韩精品在线一区二区| 国产一区二区三区四| 国产精品每日更新在线播放网址| 成人av免费网站| 一区二区三区精品| 日韩一级片在线播放| 精品综合免费视频观看| 久久精品视频在线看| 成人黄色小视频| 亚洲va天堂va国产va久| 日韩免费高清电影| 99久久婷婷国产| 日韩电影网1区2区| 欧美国产欧美亚州国产日韩mv天天看完整| 99国产精品视频免费观看| 亚洲无人区一区| 久久久久青草大香线综合精品| 不卡电影免费在线播放一区| 午夜精品久久久久| 国产欧美综合在线| 制服丝袜成人动漫| 国产精品亚洲人在线观看| 亚洲免费观看视频| 欧美mv日韩mv国产网站| 99re热这里只有精品免费视频| 婷婷综合五月天| 国产视频视频一区| 欧美日韩久久久一区| 福利一区二区在线| 日本在线不卡视频| 亚洲四区在线观看| 26uuu国产日韩综合| 在线观看视频91| 丁香五精品蜜臀久久久久99网站 | 2019国产精品| 欧美亚洲愉拍一区二区| 丁香婷婷综合网| 日本美女一区二区三区视频| 亚洲人成精品久久久久久| 欧美xxxxxxxx| 欧美日本韩国一区二区三区视频 | 欧美日精品一区视频| 粉嫩av亚洲一区二区图片| 天天色综合天天| 亚洲欧美日韩国产成人精品影院 | 国产精品99久| 蜜臀av性久久久久蜜臀aⅴ| 中文字幕 久热精品 视频在线| 91精品婷婷国产综合久久| 色嗨嗨av一区二区三区| 国产成人精品免费视频网站| 蜜臀av一区二区在线观看 | 欧美日韩精品一区二区在线播放| 成人激情免费视频| 精品一区二区日韩| 视频一区在线视频| 亚洲电影你懂得| 亚洲一卡二卡三卡四卡五卡| 亚洲欧美日韩一区| 一区在线播放视频| 亚洲视频一区二区在线| 中文字幕在线不卡一区二区三区| 国产色一区二区| 久久久久亚洲综合| 国产亚洲污的网站| 国产欧美日韩亚州综合| 久久久精品国产免大香伊| 亚洲精品一区二区精华| 日韩欧美一卡二卡| 精品久久久久久久久久久久久久久久久| 精品视频色一区| 欧美区视频在线观看| 欧美丰满少妇xxxbbb| 91麻豆精品国产91久久久久久| 欧美日韩精品免费观看视频| 欧美精品国产精品| 欧美高清视频一二三区 | 91在线播放网址| 欧美久久免费观看| 欧美视频在线观看一区二区| 欧美午夜精品一区二区蜜桃| 欧美日韩大陆在线| 欧美一激情一区二区三区| 欧美一区二区女人| 久久精品水蜜桃av综合天堂| 国产精品色呦呦| 一区二区三区在线影院| 婷婷中文字幕综合| 精品影院一区二区久久久| 国产不卡视频在线播放| 91污在线观看| 欧美精品久久久久久久多人混战 | 欧美性大战久久久久久久| 欧美图片一区二区三区| 日韩欧美色综合| 国产精品国产三级国产aⅴ中文| 亚洲精品国产成人久久av盗摄| 手机精品视频在线观看| 国模少妇一区二区三区| 99国产精品视频免费观看| 欧美精品粉嫩高潮一区二区| 久久你懂得1024| 亚洲韩国精品一区| 国产美女在线观看一区| 在线亚洲人成电影网站色www| 91精品国产一区二区三区蜜臀| 国产天堂亚洲国产碰碰| 亚洲国产精品久久人人爱| 国内偷窥港台综合视频在线播放| 91亚洲精品一区二区乱码| 欧美一区二区三级| 一区二区三区四区高清精品免费观看 | 粉嫩一区二区三区性色av| 国产欧美视频一区二区三区| 一二三四区精品视频| 九九视频精品免费| 色av一区二区| 久久久久久一二三区| 午夜婷婷国产麻豆精品| 国产凹凸在线观看一区二区| 这里只有精品免费| **性色生活片久久毛片| 九九在线精品视频| 欧美日本在线播放| 成人欧美一区二区三区白人 | 日韩伦理免费电影| 久久成人免费网站| 在线免费不卡电影| 久久精品视频免费| 蜜桃精品视频在线| 欧美体内she精高潮| 中文字幕色av一区二区三区| 蜜桃一区二区三区在线| 欧美系列亚洲系列| 成人欧美一区二区三区1314| 国产成人在线视频播放| 日韩欧美在线综合网| 性欧美疯狂xxxxbbbb| 色综合视频一区二区三区高清| 久久蜜桃av一区精品变态类天堂 | 欧美亚洲综合在线| 亚洲欧洲韩国日本视频| 高清不卡在线观看| 久久嫩草精品久久久久| 麻豆国产精品777777在线| 欧美人牲a欧美精品| 亚洲成人综合网站| 在线免费观看成人短视频| 亚洲男同1069视频| www.欧美日韩国产在线| 国产精品二三区| 成人毛片视频在线观看| 国产精品乱码一区二三区小蝌蚪| 国产精品一区一区三区| 国产日产欧美精品一区二区三区|