sbool isListOfElementType(O o, Class type) { if (!o instanceof L) false; ret allElementsAreOfType((List) o, type); } sbool nuLike isListOfElementType(Class type, O o) { ret isListOfElementType(o, type); }