|
UDK 3.2.7 Java API 言及/関連 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sun.星/主役にする.uno
Class AnyConverter
java.lang.反対するcom.sun.星/主役にする.uno.AnyConverter
public class AnyConverter
- 延長するs 反対する
This class 供給するs static methods which 目的(とする) at 調査するing the contents of an
Any and 抽出するing its value. All public methods take an 反対する argument that
either is the 即座の 反対する, such as Boolean, Type, interface 実施,
or an Any that 含む/封じ込めるs an 反対する.
The methods which 抽出する the value do a
広げるing 転換. See the method comments for the 各々の 転換s.
| 建設者 要約 | |
|---|---|
AnyConverter()
|
|
| Method 要約 | |
|---|---|
static Type |
getType(反対する 反対する)
決定するs the type of an any 反対する. |
static boolean |
isArray(反対する 反対する)
checks if the any 含む/封じ込めるs UNO idl sequence value (meaning a java array 含む/封じ込めるing elements which are values of UNO idl types). |
static boolean |
isBoolean(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type boolean. |
static boolean |
isByte(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type byte. |
static boolean |
isChar(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type char. |
static boolean |
isDouble(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type 二塁打. |
static boolean |
isEnum(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type enum. |
static boolean |
isFloat(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type float. |
static boolean |
isInt(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type long (which 地図/計画するs to a java-int). |
static boolean |
isLong(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type hyper (which 地図/計画するs to a java-long). |
static boolean |
isObject(反対する 反対する)
checks if the any 含む/封じ込めるs an interface, struct, exception, sequence or enum. |
static boolean |
isShort(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type short. |
static boolean |
isString(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type string. |
static boolean |
isType(反対する 反対する)
checks if the any 含む/封じ込めるs a value of the idl type type. |
static boolean |
isVoid(反対する 反対する)
checks if the any 含む/封じ込めるs the idl type 無効の. |
static 反対する |
toArray(反対する 反対する)
変えるs an array or an any 含む/封じ込めるing an array into an array. |
static boolean |
toBoolean(反対する 反対する)
変えるs an Boolean 反対する or an Any 反対する 含む/封じ込めるing a Boolean 反対する into a simple boolean. |
static byte |
toByte(反対する 反対する)
変えるs an Byte 反対する or an Any 反対する 含む/封じ込めるing a Byte 反対する into a simple byte. |
static char |
toChar(反対する 反対する)
変えるs an Char 反対する or an Any 反対する 含む/封じ込めるing a Char 反対する into a simple char. |
static 二塁打 |
toDouble(反対する 反対する)
変えるs a number 反対する into a simple 二塁打 and 許すs 広げるing 転換s. |
static float |
toFloat(反対する 反対する)
変えるs a number 反対する into a simple float and 許すs 広げるing 転換s. |
static int |
toInt(反対する 反対する)
変えるs a number 反対する into a simple int and 許すs 広げるing 転換s. |
static long |
toLong(反対する 反対する)
変えるs a number 反対する into a simple long and 許すs 広げるing 転換s. |
static 反対する |
toObject(Class clazz,
反対する 反対する)
変えるs a UNO 反対する (struct, exception, sequence, enum or interface) or an Any 含む/封じ込めるing these types into an UNO 反対する of a 明示するd 目的地 type. |
static 反対する |
toObject(Type type,
反対する 反対する)
変えるs a UNO 反対する (struct, exception, sequence, enum or interface) or an Any 含む/封じ込めるing these types into an UNO 反対する of a 明示するd 目的地 type. |
static short |
toShort(反対する 反対する)
変えるs a number 反対する into a simple short and 許すs 広げるing 転換s. |
static String |
toString(反対する 反対する)
変えるs a string or an any 含む/封じ込めるing a string into a string. |
static Type |
toType(反対する 反対する)
変えるs a Type or an any 含む/封じ込めるing a Type into a Type. |
static int |
toUnsignedInt(反対する 反対する)
変えるs a number 反対する into an idl unsigned long and 許すs 広げるing 転換s. |
static long |
toUnsignedLong(反対する 反対する)
変えるs a number 反対する into an idl unsigned hyper and 許すs 広げるing 転換s. |
static short |
toUnsignedShort(反対する 反対する)
変えるs a number 反対する into an idl unsigned short and 許すs 広げるing 転換s. |
| Methods 相続するd from class java.lang.反対する |
|---|
clone, equals, 完結する, getClass, hashCode, 通知する, notifyAll, toString, wait, wait, wait |
| 建設者 詳細(に述べる) |
|---|
AnyConverter
public AnyConverter()
| Method 詳細(に述べる) |
|---|
getType
public static Type getType(反対する 反対する)
- 決定するs the type of an any 反対する.
- Parameters:
反対する- any 反対する- Returns:
- type 反対する
isVoid
public static boolean isVoid(反対する 反対する)
- checks if the any 含む/封じ込めるs the idl type
無効の.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any is 無効の, 誤った さもなければ
isChar
public static boolean isChar(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
char.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a char, 誤った さもなければ.
isBoolean
public static boolean isBoolean(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
boolean.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a boolean, 誤った さもなければ.
isByte
public static boolean isByte(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
byte.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a byte, 誤った さもなければ.
isShort
public static boolean isShort(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
short.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a short, 誤った さもなければ.
isInt
public static boolean isInt(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
long(which 地図/計画するs to a java-int).- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a int, 誤った さもなければ.
isLong
public static boolean isLong(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
hyper(which 地図/計画するs to a java-long).- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a long, 誤った さもなければ.
isFloat
public static boolean isFloat(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
float.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a float, 誤った さもなければ.
isDouble
public static boolean isDouble(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
二塁打.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a 二塁打, 誤った さもなければ.
isString
public static boolean isString(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
string.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a string, 誤った さもなければ.
isEnum
public static boolean isEnum(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
enum.- Parameters:
反対する- the 反対する to check- Returns:
- true if the any 含む/封じ込めるs an enum, 誤った さもなければ
isType
public static boolean isType(反対する 反対する)
- checks if the any 含む/封じ込めるs a value of the idl type
type.- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs a type, 誤った さもなければ.
isObject
public static boolean isObject(反対する 反対する)
- checks if the any 含む/封じ込めるs an interface, struct, exception, sequence or enum.
If 反対する is an any with an interface type, then true is also returned if
the any 含む/封じ込めるs a null 言及/関連. This is because interfaces are 許すd to have
a null value contrary to other UNO types.
- Parameters:
反対する- the 反対する to check- Returns:
- true if the any 含む/封じ込めるs an 反対する
isArray
public static boolean isArray(反対する 反対する)
- checks if the any 含む/封じ込めるs UNO idl sequence value (meaning a java array
含む/封じ込めるing elements which are values of UNO idl types).
- Parameters:
反対する- the 反対する to check- Returns:
- true when the any 含む/封じ込めるs an 反対する which 器具/実施するs interfaces, 誤った さもなければ.
toChar
public static char toChar(反対する 反対する) throws IllegalArgumentException
- 変えるs an Char 反対する or an Any 反対する 含む/封じ込めるing a Char 反対する into a simple char.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the char 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no char is 含む/封じ込めるd within 反対する- See Also:
isChar(java.lang.反対する)
toBoolean
public static boolean toBoolean(反対する 反対する) throws IllegalArgumentException
- 変えるs an Boolean 反対する or an Any 反対する 含む/封じ込めるing a Boolean 反対する into a simple boolean.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the boolean 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no boolean is 含む/封じ込めるd within 反対する- See Also:
isBoolean(java.lang.反対する)
toByte
public static byte toByte(反対する 反対する) throws IllegalArgumentException
- 変えるs an Byte 反対する or an Any 反対する 含む/封じ込めるing a Byte 反対する into a simple byte.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the boolean 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no byte is 含む/封じ込めるd within 反対する- See Also:
isBoolean(java.lang.反対する)
toShort
public static short toShort(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into a simple short and 許すs 広げるing 転換s.
許すd argument types are Byte, Short or Any 含む/封じ込めるing these types.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the short 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no short or byte is 含む/封じ込めるd within 反対する
toUnsignedShort
public static short toUnsignedShort(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into an idl unsigned short and 許すs 広げるing 転換s.
許すd argument types are Anies 含む/封じ込めるing idl unsigned short values.
- Parameters:
反対する- the 反対する to 変える- Returns:
- an (unsigned) short
- Throws:
IllegalArgumentException- in 事例/患者 no idl unsigned short is 含む/封じ込めるd within Any
toInt
public static int toInt(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into a simple int and 許すs 広げるing 転換s.
許すd argument types are Byte, Short, Integer or Any 含む/封じ込めるing these types.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the int 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no short, byte or int is 含む/封じ込めるd within 反対する.
toUnsignedInt
public static int toUnsignedInt(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into an idl unsigned long and 許すs 広げるing 転換s.
許すd argument types are Anies 含む/封じ込めるing idl unsigned short or unsigned long values.
- Parameters:
反対する- the 反対する to 変える- Returns:
- an (unsigned) int
- Throws:
IllegalArgumentException- in 事例/患者 no idl unsigned short nor unsigned long is 含む/封じ込めるd within Any
toLong
public static long toLong(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into a simple long and 許すs 広げるing 転換s.
許すd argument types are Byte, Short, Integer, Long or Any 含む/封じ込めるing these types.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the long 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no short, byte, int or long is 含む/封じ込めるd within 反対する.
toUnsignedLong
public static long toUnsignedLong(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into an idl unsigned hyper and 許すs 広げるing 転換s.
許すd argument types are Anies 含む/封じ込めるing idl unsigned short, unsigned long or
unsigned hyper values.
- Parameters:
反対する- the 反対する to 変える- Returns:
- an (unsigned) long
- Throws:
IllegalArgumentException- in 事例/患者 no idl unsigned short, nor unsigned long nor unsigned hyper is 含む/封じ込めるd within 反対する.
toFloat
public static float toFloat(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into a simple float and 許すs 広げるing 転換s.
許すd argument types are Byte, Short, Float or Any 含む/封じ込めるing these types.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the float 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no byte, short or float is 含む/封じ込めるd within 反対する.
toDouble
public static 二塁打 toDouble(反対する 反対する) throws IllegalArgumentException
- 変えるs a number 反対する into a simple 二塁打 and 許すs 広げるing 転換s.
許すd argument types are Byte, Short, Int, Float, 二塁打 or Any 含む/封じ込めるing these types.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the 二塁打 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no byte, short, int, float or 二塁打 is 含む/封じ込めるd within 反対する.
toString
public static String toString(反対する 反対する) throws IllegalArgumentException
- 変えるs a string or an any 含む/封じ込めるing a string into a string.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the string 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no string is 含む/封じ込めるd within 反対する.
toType
public static Type toType(反対する 反対する) throws IllegalArgumentException
- 変えるs a Type or an any 含む/封じ込めるing a Type into a Type.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the type 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no type is 含む/封じ込めるd within 反対する.
toObject
public static 反対する toObject(Type type, 反対する 反対する) throws IllegalArgumentException
- 変えるs a UNO 反対する (struct, exception, sequence, enum or interface) or an Any 含む/封じ込めるing
these types into an UNO 反対する of a 明示するd 目的地 type.
For interfaces, the argument 反対する is queried for the interface 明示するd
by the type argument. That query (UnoRuntime.queryInterface) might return null,
if the interface is not 器具/実施するd or a null-ref or a VOID any is given.
- Parameters:
type- type of the returned value反対する- the 反対する that is to be 変えるd- Returns:
- 目的地 反対する
- Throws:
IllegalArgumentException- in 事例/患者 転換 is not possible
toObject
public static 反対する toObject(Class clazz, 反対する 反対する) throws IllegalArgumentException
- 変えるs a UNO 反対する (struct, exception, sequence, enum or interface) or an Any 含む/封じ込めるing
these types into an UNO 反対する of a 明示するd 目的地 type.
For interfaces, the argument 反対する is queried for the interface 明示するd
by the type argument. That query (UnoRuntime.queryInterface) might return null,
if the interface is not 器具/実施するd or a null-ref or a VOID any is given.
- Parameters:
clazz- class of the returned value反対する- the 反対する that is to be 変えるd- Returns:
- 目的地 反対する
- Throws:
IllegalArgumentException- in 事例/患者 転換 is not possible
toArray
public static 反対する toArray(反対する 反対する) throws IllegalArgumentException
- 変えるs an array or an any 含む/封じ込めるing an array into an array.
- Parameters:
反対する- the 反対する to 変える- Returns:
- the array 含む/封じ込めるd within the 反対する
- Throws:
IllegalArgumentException- in 事例/患者 no array is 含む/封じ込めるd within 反対する.
|
UDK 3.2.7 Java API 言及/関連 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

com.sun.星/主役にする.uno.AnyConverter
