• No replies
1 Post

Pinned topic Creating setter method for multiple parameters

‏2012-06-27T17:42:30Z |
I am trying to write setter method for 2 parameters and need help.
My code:

private String fname_box;
private String lname_box;

This is the getter method;

public Rect getPoorQualityBoundingBox() {
return Rect.fromArray(LTRBUtil.unionLTRB(lname_box, fname_box));
public Rect getPoorQualityBoundingBox(String fname_box, String lname_box) {

How do I set fname_box and lname_box here?