question: public static void applySampledState ( SampledVertex v , Attributes attrs ) { String str = attrs . getValue ( SAMPLED_ATTR ) ; if ( str != null ) v . sample ( new Integer ( str ) ) ; }
target:  Parses the attributes data for information of the sampled state of the vertex and sets the vertex to the corresponding state.