Here you can find the source of sum(long space1, String space2)
public static long sum(long space1, String space2)
//package com.java2s; /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ public class Main { public static long sum(long space1, String space2) { if (space1 == 0) { return Long.parseLong(space2); }/*from w ww . j av a 2 s . c om*/ long total2 = Long.parseLong(space2); return space1 + total2; } }