MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / shortValue

Method shortValue

vm/JavaAPI/src/java/lang/Float.java:193–195  ·  view source on GitHub ↗

Returns the value of this Float as a short (by casting to a short).

()

Source from the content-addressed store, hash-verified

191 * Returns the value of this Float as a short (by casting to a short).
192 */
193 public short shortValue(){
194 return (short)value;
195 }
196
197 /**
198 * Returns a String representation of this Float object. The primitive float value represented by this object is converted to a String exactly as if by the method toString of one argument.

Callers 15

writeObjectMethod · 0.45
buildRequestBodyMethod · 0.45
initMethod · 0.45
convertMethod · 0.45
primitiveSetMethod · 0.45
unaryOperationMethod · 0.45
castNumberMethod · 0.45
castNumberStrictJavaMethod · 0.45
getShortMethod · 0.45
invoke27Method · 0.45
invoke29Method · 0.45
invoke32Method · 0.45

Calls

no outgoing calls

Tested by 1

getShortMethod · 0.36