Re: does both below code do the same thing? I had to refactor code to fit in spark-sql
Guys! Please Reply On Tue, Jan 31, 2017 at 12:31 PM, Alexwrote: > public Object get(Object name) { > int pos = getPos((String) name); > if (pos < 0) > return null; > String f = "string"; >
does both below code do the same thing? I had to refactor code to fit in spark-sql
public Object get(Object name) { int pos = getPos((String) name); if (pos < 0) return null; String f = "string"; Object obj = list.get(pos); Object result = null; if (obj ==