Converts the text of this GPathResult to a Long object. @return the GPathResult, converted to a Long
()
| 831 | * @return the GPathResult, converted to a <code>Long</code> |
| 832 | */ |
| 833 | public Long toLong() { |
| 834 | if(textIsEmptyOrNull()){ |
| 835 | return null; |
| 836 | } |
| 837 | return StringGroovyMethods.toLong((CharSequence)text()); |
| 838 | } |
| 839 | |
| 840 | /** |
| 841 | * Converts the text of this GPathResult to a Float object. |
nothing calls this directly
no test coverage detected