question: public static Object constraint ( SLayout ... flags ) { EnumSet < SLayout > obj = EnumSet . noneOf ( SLayout . class ) ; for ( SLayout flag : flags ) { obj . add ( flag ) ; } return obj ; }
target:  Create a constraints object.