question: public static int encodeCacheFlags ( Collection < GridClientCacheFlag > flagSet ) { int bits = 0 ; if ( flagSet . contains ( GridClientCacheFlag . SKIP_STORE ) ) bits |= 1 ; return bits ; }
target:  Encodes cache flags to bit map.