public static Map<String, Object> toMap( final Object object, final String... ignore ) {
        return toMap( object, Sets.set( ignore ) );
    }
public static Map<String, Object> toMap( final Object object, final String... ignore ) {
        return toMap( object, Sets.set( ignore ) );
    }
public static Map < String , Object > toMap ( final Object object , final String ... ignore ) { return toMap ( object , Sets . set ( ignore ) ) ; }
Basic toMap to create an object into a map.
@param object the object we want to convert to a list
@param ignore do we honor ignore properties
@return new map
Basic toMap to create an object into a map .