public static < R > Result < List < R > > ok ( List < R > value ) { return new Result < List < R > > ( value , OK , SUCCESS , null ) . emptyList ( value . size ( ) == 0 ) ; }
Accept Lists and mark as empty or not