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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? dataelement.java

?? java se平臺(tái)藍(lán)牙開(kāi)發(fā)的插件 ,包括源碼 根據(jù)readme 生成包很多東西可以自己DIY很實(shí)用
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* 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;import java.util.Enumeration;import java.util.Vector;public class DataElement {	/*	 * Defines data of type NULL. The value for data type DataElement.NULL is	 * implicit, i.e., there is no representation of it. Accordingly there is no	 * method to retrieve it, and attempts to retrieve the value will throw an	 * exception. The value of NULL is 0x00 (0).	 */	public static final int NULL = 0;	/*	 * Defines an unsigned integer of size one byte. The value of the constant	 * U_INT_1 is 0x08 (8).	 */	public static final int U_INT_1 = 8;	/*	 * Defines an unsigned integer of size two bytes. The value of the constant	 * U_INT_2 is 0x09 (9).	 */	public static final int U_INT_2 = 9;	/*	 * Defines an unsigned integer of size four bytes. The value of the constant	 * U_INT_4 is 0x0A (10).	 */	public static final int U_INT_4 = 10;	/*	 * Defines an unsigned integer of size eight bytes. The value of the	 * constant U_INT_8 is 0x0B (11).	 */	public static final int U_INT_8 = 11;	/*	 * Defines an unsigned integer of size sixteen bytes. The value of the	 * constant U_INT_16 is 0x0C (12).	 */	public static final int U_INT_16 = 12;	/*	 * Defines a signed integer of size one byte. The value of the constant	 * INT_1 is 0x10 (16).	 */	public static final int INT_1 = 16;	/*	 * Defines a signed integer of size two bytes. The value of the constant	 * INT_2 is 0x11 (17).	 */	public static final int INT_2 = 17;	/*	 * Defines a signed integer of size four bytes. The value of the constant	 * INT_4 is 0x12 (18).	 */	public static final int INT_4 = 18;	/*	 * Defines a signed integer of size eight bytes. The value of the constant	 * INT_8 is 0x13 (19).	 */	public static final int INT_8 = 19;	/*	 * Defines a signed integer of size sixteen bytes. The value of the constant	 * INT_16 is 0x14 (20).	 */	public static final int INT_16 = 20;	/*	 * Defines data of type URL. The value of the constant URL is 0x40 (64).	 */	public static final int URL = 64;	/*	 * Defines data of type UUID. The value of the constant UUID is 0x18 (24).	 */	public static final int UUID = 24;	/*	 * Defines data of type BOOL. The value of the constant BOOL is 0x28 (40).	 */	public static final int BOOL = 40;	/*	 * Defines data of type STRING. The value of the constant STRING is 0x20	 * (32).	 */	public static final int STRING = 32;	/*	 * Defines data of type DATSEQ. The service attribute value whose data has	 * this type must consider all the elements of the list, i.e. the value is	 * the whole set and not a subset. The elements of the set can be of any	 * type defined in this class, including DATSEQ. The value of the constant	 * DATSEQ is 0x30 (48).	 */	public static final int DATSEQ = 48;	/*	 * Defines data of type DATALT. The service attribute value whose data has	 * this type must consider only one of the elements of the set, i.e., the	 * value is the not the whole set but only one element of the set. The user	 * is free to choose any one element. The elements of the set can be of any	 * type defined in this class, including DATALT. The value of the constant	 * DATALT is 0x38 (56).	 */	public static final int DATALT = 56;	private Object value;	private int valueType;	/*	 * Creates a DataElement of type NULL, DATALT, or DATSEQ. Parameters:	 * valueType - the type of DataElement to create: NULL, DATALT, or DATSEQ	 * Throws: IllegalArgumentException - if valueType is not NULL, DATALT, or	 * DATSEQ See Also: NULL, DATALT, DATSEQ	 */	public DataElement(int valueType) {		switch (valueType) {		case NULL:			value = null;			break;		case DATALT:		case DATSEQ:			value = new Vector();			break;		default:			throw new IllegalArgumentException();		}		this.valueType = valueType;	}	/*	 * Creates a DataElement whose data type is BOOL and whose value is equal to	 * bool Parameters: bool - the value of the DataElement of type BOOL. See	 * Also: BOOL	 */	public DataElement(boolean bool) {		value = new Boolean(bool);		valueType = BOOL;	}	/*	 * Creates a DataElement that encapsulates an integer value of size U_INT_1,	 * U_INT_2, U_INT_4, INT_1, INT_2, INT_4, and INT_8. The legal values for	 * the valueType and the corresponding attribute values are: Value Type	 * Value Range U_INT_1 [0, 2^8-1] U_INT_2 [0, 2^16-1] U_INT_4 [0, 2^32-1]	 * INT_1 [-2^7, 2^7-1] INT_2 [-2^15, 2^15-1] INT_4 [-2^31, 2^31-1] INT_8	 * [-2^63, 2^63-1] All other pairings are illegal and will cause an	 * IllegalArgumentException to be thrown. Parameters: valueType - the data	 * type of the object that is being created; must be one of the following:	 * U_INT_1, U_INT_2, U_INT_4, INT_1, INT_2, INT_4, or INT_8 value - the	 * value of the object being created; must be in the range specified for the	 * given valueType Throws: IllegalArgumentException - if the valueType is	 * not valid or the value for the given legal valueType is outside the valid	 * range See Also: U_INT_1, U_INT_2, U_INT_4, INT_1, INT_2, INT_4, INT_8	 */	public DataElement(int valueType, long value) {		switch (valueType) {		case U_INT_1:			if (value < 0 || value > 0xff)				throw new IllegalArgumentException();			break;		case U_INT_2:			if (value < 0 || value > 0xffff)				throw new IllegalArgumentException();			break;		case U_INT_4:			if (value < 0 || value > 0xffffffffl)				throw new IllegalArgumentException();			break;		case INT_1:			if (value < -0x80 || value > 0x7f)				throw new IllegalArgumentException();			break;		case INT_2:			if (value < -0x8000 || value > 0x7fff)				throw new IllegalArgumentException();			break;		case INT_4:			if (value < -0x80000000 || value > 0x7fffffff)				throw new IllegalArgumentException();			break;		case INT_8:			break;		default:			throw new IllegalArgumentException();		}		this.value = new Long(value);		this.valueType = valueType;	}	/*	 * Creates a DataElement whose data type is given by valueType and whose	 * value is specified by the argument value. The legal values for the	 * valueType and the corresponding attribute values are: Value Type Java	 * Type / Value Range URL java.lang.String UUID javax.bluetooth.UUID STRING	 * java.lang.String INT_16 [-2127, 2127-1] as a byte array whose length must	 * be 16 U_INT_8 [0, 264-1] as a byte array whose length must be 8 U_INT_16	 * [0, 2128-1] as a byte array whose length must be 16 All other pairings	 * are illegal and would cause an IllegalArgumentException exception.	 * Parameters: valueType - the data type of the object that is being	 * created; must be one of the following: URL, UUID, STRING, INT_16,	 * U_INT_8, or U_INT_16 value - the value for the DataElement being created	 * of type valueType Throws: IllegalArgumentException - if the value is not	 * of the valueType type or is not in the range specified or is null See	 * Also: URL, UUID, STRING, U_INT_8, INT_16, U_INT_16	 */	public DataElement(int valueType, Object value) {		if (value == null)			throw new IllegalArgumentException();		switch (valueType) {		case URL:		case STRING:			if (!(value instanceof String))				throw new IllegalArgumentException();			break;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区在线电影| 久久精子c满五个校花| 国产精品一区二区视频| 一区二区国产盗摄色噜噜| 日韩欧美国产一二三区| 日本韩国精品一区二区在线观看| 国产精品1区2区3区在线观看| 亚洲成人av电影| 亚洲欧美日韩人成在线播放| 国产亚洲综合性久久久影院| 日韩精品在线一区| 欧美视频一区二区三区在线观看 | 日韩一区二区在线观看视频播放| 成人av小说网| 国产麻豆精品久久一二三| 日本午夜精品视频在线观看 | 精品久久久久久综合日本欧美| 91福利国产精品| aaa国产一区| 国产黄色精品视频| 激情综合网最新| 免费人成精品欧美精品| 水野朝阳av一区二区三区| 一区二区三区久久久| 亚洲欧美怡红院| 国产精品免费久久| 日本一区二区电影| 国产色产综合产在线视频| 精品国产91久久久久久久妲己| 欧美一区午夜精品| 91麻豆精品国产91久久久更新时间| 日本韩国精品在线| 欧美怡红院视频| 欧美专区在线观看一区| 欧美天堂一区二区三区| 欧美丝袜丝交足nylons图片| 欧美日韩国产一级| 欧美日本在线播放| 欧美一级理论片| 日韩精品一区二区在线| 日韩精品一区二区三区视频在线观看| 91麻豆精品久久久久蜜臀| 欧美电影在线免费观看| 欧美一区二区在线看| 日韩欧美国产一区二区三区| 亚洲精品在线三区| 国产午夜精品久久| 亚洲欧美日韩人成在线播放| 一二三四社区欧美黄| 爽好多水快深点欧美视频| 青青国产91久久久久久| 极品美女销魂一区二区三区| 粉嫩欧美一区二区三区高清影视| 成人性生交大片免费看视频在线 | 在线观看不卡一区| 欧美一区二区三区电影| 欧美va日韩va| 国产精品免费看片| 亚洲国产一区二区视频| 青青草国产精品97视觉盛宴| 国产一区二区三区免费在线观看| 国产成人精品免费视频网站| av中文字幕亚洲| 欧美色网一区二区| 欧美不卡一区二区三区四区| 国产精品免费视频网站| 亚洲影院在线观看| 国产在线麻豆精品观看| 91在线视频观看| 日韩精品中文字幕在线不卡尤物| 国产免费观看久久| 午夜激情久久久| 国产成人免费视频网站高清观看视频 | 日韩欧美精品在线视频| 中文字幕欧美日本乱码一线二线| 亚洲一区二区三区中文字幕| 紧缚奴在线一区二区三区| 色偷偷成人一区二区三区91| 日韩视频免费直播| 亚洲天堂免费在线观看视频| 蜜桃一区二区三区在线| jizz一区二区| 欧美一区二区三区播放老司机| 国产精品女同一区二区三区| 日本亚洲免费观看| 99综合电影在线视频| 日韩一级黄色大片| 一区二区在线观看视频在线观看| 久久99精品一区二区三区三区| 色综合天天性综合| 精品国产乱子伦一区| 亚洲精品大片www| 国产毛片精品视频| 欧美裸体一区二区三区| 中文字幕亚洲欧美在线不卡| 青青草原综合久久大伊人精品| 99精品国产99久久久久久白柏| 日韩女优制服丝袜电影| 亚洲小说春色综合另类电影| 成人美女视频在线观看| 欧美大片顶级少妇| 日韩中文欧美在线| 91福利区一区二区三区| 国产精品久久久久一区二区三区| 狠狠色丁香久久婷婷综合_中| 欧美三级三级三级| 亚洲精品中文在线观看| 国产成人av网站| 精品理论电影在线观看 | 懂色av中文字幕一区二区三区| 欧美一级午夜免费电影| 亚洲国产精品久久一线不卡| 99久久99久久久精品齐齐| 久久久777精品电影网影网 | 成人爽a毛片一区二区免费| 欧美电影免费提供在线观看| 亚洲国产精品一区二区久久| 色琪琪一区二区三区亚洲区| 日韩理论电影院| 国产99久久久国产精品潘金网站| 精品理论电影在线观看| 毛片av中文字幕一区二区| 538prom精品视频线放| 亚洲午夜精品在线| 欧美在线视频日韩| 一区二区三区四区不卡在线 | 26uuu亚洲| 精品系列免费在线观看| 欧美成人艳星乳罩| 老色鬼精品视频在线观看播放| 欧美一区二区人人喊爽| 日韩国产欧美在线观看| 欧美精品99久久久**| 日本伊人精品一区二区三区观看方式| 欧美久久免费观看| 日本vs亚洲vs韩国一区三区二区| 日韩一区二区三区视频在线观看| 日本免费在线视频不卡一不卡二 | 69久久夜色精品国产69蝌蚪网| 亚洲成av人在线观看| 欧美日韩美少妇| 五月天久久比比资源色| 4hu四虎永久在线影院成人| 奇米影视一区二区三区| 精品少妇一区二区三区免费观看| 另类综合日韩欧美亚洲| 久久九九久久九九| www.欧美亚洲| 亚洲成a人片综合在线| 欧美一区二区三区在线视频| 久久99日本精品| 国产欧美精品一区二区色综合朱莉| 大白屁股一区二区视频| 成人欧美一区二区三区黑人麻豆 | 欧美三级在线播放| 久久99在线观看| 国产精品护士白丝一区av| 91国产成人在线| 日韩国产在线一| 久久久久一区二区三区四区| 成人福利在线看| 亚洲综合色噜噜狠狠| 日韩欧美在线网站| 国产91色综合久久免费分享| 亚洲男同性视频| 日韩午夜中文字幕| 波多野结衣在线一区| 亚洲成人7777| 欧美国产一区在线| 欧美视频一区在线观看| 国产一区二区日韩精品| 一区二区在线免费观看| 精品国产一区久久| 色狠狠一区二区| 国产一区免费电影| 亚洲一区精品在线| 国产亚洲精品免费| 欧美体内she精高潮| 国产99精品国产| 丝袜美腿高跟呻吟高潮一区| 久久久久久99精品| 欧美日韩中文国产| 成人福利电影精品一区二区在线观看| 亚洲国产三级在线| 亚洲国产精品精华液ab| 欧美精品亚洲二区| 不卡av在线网| 韩国成人精品a∨在线观看| 亚洲欧美国产三级| 久久婷婷国产综合精品青草| 在线观看日产精品| 成人黄色777网| 精品一区二区成人精品| 一区二区三区 在线观看视频| 久久亚洲一级片| 日韩一区国产二区欧美三区| 色综合久久久久久久久久久| 国产精品综合一区二区| 视频一区视频二区中文字幕| 中文字幕在线观看一区|