import java.util.List; class RawConditional { Integer first(boolean b, List raw, List parameterized) { return (b ? parameterized : raw).get(0); } }