true
157158159160161162163164165166167
*/ if (list == null || list.length == 0) { return new NullChain(); } ExitableChain currentPoint = list[0]; for (int i = 1; i < list.length; i++) { currentPoint = currentPoint.setNext(list[i]); } return currentPoint; }