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

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

?? uuid.java

?? java se平臺藍牙開發的插件 ,包括源碼 根據readme 生成包很多東西可以自己DIY很實用
?? JAVA
字號:
/* Copyright 2004 Intel Corporation This file is part of Blue Cove. Blue Cove is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. Blue Cove is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Blue Cove; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package javax.bluetooth;public class UUID {	public static final UUID RFCOMM_PROTOCOL_UUID = new UUID(0x0003);	public static final UUID L2CAP_PROTOCOL_UUID = new UUID(0x0100);	public static final UUID OBEXFileTransferServiceClass_UUID = new UUID(			0x1106);	byte[] uuidValue;	private void init(String stringValue) throws NumberFormatException {		uuidValue = new byte[16];		for (int i = 0; i < 16; i++)			uuidValue[i] = (byte) Integer.parseInt(stringValue.substring(i * 2,					i * 2 + 2), 16);	}	UUID(byte[] uuidValue) {		this.uuidValue = uuidValue;	}	/*	 * Creates a UUID object from long value uuidValue. A UUID is defined as an	 * unsigned integer whose value can range from [0 to 2128-1]. However, this	 * constructor allows only those values that are in the range of [0 to 232	 * -1]. Negative values and values in the range of [2^32, 2^63-1] are not	 * allowed and will cause an IllegalArgumentException to be thrown.	 * Parameters: uuidValue - the 16-bit or 32-bit value of the UUID Throws:	 * IllegalArgumentException - if uuidValue is not in the range [0, 2^32-1]	 */	public UUID(long longValue) {		this(Long.toHexString(longValue), true);	}	/*	 * Creates a UUID object from the string provided. The characters in the	 * string must be from the hexadecimal set [0-9, a-f, A-F]. It is important	 * to note that the prefix "0x" generally used for hex representation of	 * numbers is not allowed. If the string does not have characters from the	 * hexadecimal set, an exception will be thrown. The string length has to be	 * positive and less than or equal to 32. A string length that exceeds 32 is	 * illegal and will cause an exception. Finally, a null input is also	 * considered illegal and causes an exception. If shortUUID is true,	 * uuidValue represents a 16-bit or 32-bit UUID. If uuidValue is in the	 * range 0x0000 to 0xFFFF then this constructor will create a 16-bit UUID.	 * If uuidValue is in the range 0x000010000 to 0xFFFFFFFF, then this	 * constructor will create a 32-bit UUID. Therefore, uuidValue may only be 8	 * characters long.	 * 	 * On the other hand, if shortUUID is false, then uuidValue represents a	 * 128-bit UUID. Therefore, uuidValue may only be 32 character long	 * 	 * Parameters: uuidValue - the string representation of a 16-bit, 32-bit or	 * 128-bit UUID shortUUID - indicates the size of the UUID to be	 * constructed; true is used to indicate short UUIDs, i.e. either 16-bit or	 * 32-bit; false indicates an 128-bit UUID Throws: NumberFormatException -	 * if uuidValue has characters that are not defined in the hexadecimal set	 * [0-9, a-f, A-F] IllegalArgumentException - if uuidValue length is zero;	 * if shortUUID is true and uuidValue's length is greater than 8; if	 * shortUUID is false and uuidValue's length is greater than 32	 * NullPointerException - if uuidValue is null	 */	public UUID(String stringValue, boolean shortUUID) {		int length = stringValue.length();		if (shortUUID) {			if (length < 1 || length > 8)				throw new IllegalArgumentException();			init("00000000".substring(length) + stringValue					+ "00001000800000805F9B34FB");		} else {			if (length < 1 || length > 32)				throw new IllegalArgumentException();			init("00000000000000000000000000000000".substring(length)					+ stringValue);		}	}	/*	 * Returns the string representation of the 128-bit UUID object. The string	 * being returned represents a UUID that contains characters from the	 * hexadecimal set, [0-9, A-F]. It does not include the prefix "0x" that is	 * generally used for hex representation of numbers. The return value will	 * never be null. Overrides: toString in class java.lang.Object Returns: the	 * string representation of the UUID	 */	public String toString() {		StringBuffer buf = new StringBuffer();		for (int i = 0; i < uuidValue.length; i++) {			buf.append(Integer.toHexString(uuidValue[i] >> 4 & 0xf));			buf.append(Integer.toHexString(uuidValue[i] & 0xf));		}		return buf.toString();	}	/*	 * Determines if two UUIDs are equal. They are equal if their 128 bit values	 * are the same. This method will return false if value is null or is not a	 * UUID object. Overrides: equals in class java.lang.Object Parameters:	 * value - the object to compare to Returns: true if the 128 bit values of	 * the two objects are equal, otherwise false	 */	public boolean equals(Object obj) {		if (obj == null || !(obj instanceof UUID))			return false;		for (int i = 0; i < 16; i++)			if (uuidValue[i] != ((UUID) obj).uuidValue[i])				return false;		return true;	}	/*	 * Computes the hash code for this object. This method retains the same	 * semantic contract as defined in the class java.lang.Object while	 * overriding the implementation. Overrides: hashCode in class	 * java.lang.Object Returns: the hash code for this object	 */	public int hashCode() {		return uuidValue[12] << 24 & 0xff000000 | uuidValue[13] << 16				& 0x00ff0000 | uuidValue[14] << 8 & 0x0000ff00 | uuidValue[15]				& 0x000000ff;	}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区在线观看| 波多野结衣中文一区| 成人黄色a**站在线观看| 欧洲精品中文字幕| 国产喂奶挤奶一区二区三区| 日本亚洲欧美天堂免费| 精品视频一区二区三区免费| 国产人伦精品一区二区| 狠狠色狠狠色综合| 欧美一区二区三级| 亚洲超碰97人人做人人爱| 99国产精品久久久久久久久久久| 精品久久久久久无| 美腿丝袜亚洲综合| 91精品国产欧美日韩| 舔着乳尖日韩一区| 欧美裸体一区二区三区| 亚洲一级片在线观看| 色屁屁一区二区| 国产精品全国免费观看高清| 粉嫩aⅴ一区二区三区四区五区| 亚洲午夜av在线| 91麻豆视频网站| 国产精品久久久一本精品| 国产成人免费视频网站高清观看视频| 日韩欧美电影一区| 久久国产精品露脸对白| 91精品国产欧美一区二区18 | 在线精品国精品国产尤物884a| 欧美激情一区在线| zzijzzij亚洲日本少妇熟睡| 欧美国产1区2区| 99热99精品| 亚洲一级在线观看| 69精品人人人人| 九色porny丨国产精品| 日韩欧美国产一区二区三区| 久久精品国产一区二区三 | 欧美成人精品1314www| 青青草国产成人av片免费| 日韩午夜精品电影| 精品一区二区三区免费毛片爱| 欧美电影免费观看高清完整版在线观看 | 一区二区三区四区激情| 欧美专区日韩专区| 蜜臀精品一区二区三区在线观看| 精品国产91乱码一区二区三区| 国产成a人亚洲| 亚洲精品高清在线| 欧美精品1区2区3区| 国产一区啦啦啦在线观看| 国产精品素人视频| 欧美日韩国产成人在线免费| 久久爱www久久做| 中文字幕日韩一区| 欧美日韩成人综合| 国产成人精品亚洲日本在线桃色| 亚洲欧洲综合另类| 日韩久久久精品| 91亚洲精华国产精华精华液| 日日摸夜夜添夜夜添精品视频| 久久婷婷国产综合国色天香| 91麻豆国产自产在线观看| 蜜臀久久99精品久久久久宅男| 国产精品美女久久久久久久| 欧美精品丝袜中出| 丁香另类激情小说| 丝袜国产日韩另类美女| 欧美激情在线一区二区| 91精品国产品国语在线不卡 | 韩国成人在线视频| 一区二区三区四区精品在线视频 | 国产精品自拍毛片| 亚洲福中文字幕伊人影院| 国产亚洲精品久| 亚洲一区二区在线播放相泽| 久久午夜色播影院免费高清| 精品污污网站免费看| 成人福利视频网站| 免播放器亚洲一区| 亚洲在线观看免费| 中文一区二区在线观看| 日韩欧美www| 6080午夜不卡| 色综合久久六月婷婷中文字幕| 九一九一国产精品| 三级久久三级久久| 亚洲人午夜精品天堂一二香蕉| 久久久精品欧美丰满| 欧美一区二区网站| 欧美精品18+| 欧美综合在线视频| 91麻豆福利精品推荐| 成人免费高清在线观看| 国产丶欧美丶日本不卡视频| 久久99国产精品久久99| 日韩av在线播放中文字幕| 亚洲成人中文在线| 一区二区三区精品视频| 亚洲欧美福利一区二区| 国产精品麻豆视频| 国产精品进线69影院| 国产亚洲综合性久久久影院| 日韩精品一区二| 欧美xxxxx裸体时装秀| 91精品国产全国免费观看| 在线播放欧美女士性生活| 欧美日本国产视频| 6080日韩午夜伦伦午夜伦| 91精品国产一区二区三区蜜臀 | 色综合久久久久综合99| a美女胸又www黄视频久久| 国产a级毛片一区| 国产成人精品在线看| 懂色av中文字幕一区二区三区| 国产宾馆实践打屁股91| 99久久综合狠狠综合久久| 91蜜桃视频在线| 欧美日韩激情一区二区三区| 69p69国产精品| 久久亚洲一区二区三区明星换脸| 久久日韩粉嫩一区二区三区| 中文久久乱码一区二区| 中文字幕一区在线观看视频| 亚洲精品日韩综合观看成人91| 亚洲最大成人综合| 日韩精品色哟哟| 国产在线看一区| 不卡一区二区三区四区| 99久久久国产精品免费蜜臀| 在线看国产一区二区| 欧美日韩另类一区| 2023国产精品自拍| 中文字幕制服丝袜一区二区三区| 亚洲日本丝袜连裤袜办公室| 亚洲第一在线综合网站| 久久99精品一区二区三区三区| 风间由美一区二区av101| 日本久久一区二区| 精品国产免费一区二区三区香蕉| 国产亚洲女人久久久久毛片| 一区二区三区久久久| 美女在线一区二区| 91在线观看污| 精品女同一区二区| **欧美大码日韩| 蜜桃91丨九色丨蝌蚪91桃色| 国产亚洲综合av| 亚洲国产成人91porn| 国产成人综合自拍| 欧美视频在线一区| 久久精品视频一区二区| 亚洲午夜一区二区| 国产高清久久久久| 欧美日韩免费高清一区色橹橹| 国产三级一区二区三区| 日韩经典一区二区| 99久久久久久| 久久久91精品国产一区二区三区| 一区二区视频在线看| 国产在线播放一区三区四| 欧美午夜精品电影| 国产日韩欧美一区二区三区乱码| 亚洲成av人片在线| 不卡在线视频中文字幕| www国产精品av| 日韩专区在线视频| 色综合久久66| 中文字幕日韩av资源站| 国产一区二区三区电影在线观看| 欧美美女直播网站| 亚洲美女少妇撒尿| 不卡一区在线观看| 国产视频911| 国产精品一二三四| 欧美成va人片在线观看| 天堂va蜜桃一区二区三区| 色婷婷av一区| 亚洲视频一区二区免费在线观看| 国产一区不卡在线| 精品对白一区国产伦| 久久狠狠亚洲综合| 欧美一区中文字幕| 日精品一区二区三区| 欧美精品高清视频| 三级亚洲高清视频| 5858s免费视频成人| 日韩二区在线观看| 91精品国产手机| 热久久一区二区| 日韩美女视频在线| 久久av老司机精品网站导航| 欧美一区二区三区喷汁尤物| 日本大胆欧美人术艺术动态| 这里只有精品免费| 久久精品国产精品亚洲精品| 日韩精品在线一区| 国产乱子伦视频一区二区三区| 久久久久久久久99精品| 国产91精品欧美|