Convenience method to get this array as a {@link BigInteger} if it contains a single element. This method calls {@link JsonElement#getAsBigInteger()} on the element, therefore any of the exceptions declared by that method can occur. @return this element as a {@link BigInteger} if it is single eleme
()
| 303 | * @since 1.2 |
| 304 | */ |
| 305 | @Override |
| 306 | public BigInteger getAsBigInteger() { |
| 307 | return getAsSingleElement().getAsBigInteger(); |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Convenience method to get this array as a float if it contains a single element. This method |