Consider the following code:
public Fingerprint(HashMap<String, Integer> measurements) {
this();
mMeasurements = measurements;
}
public Fingerprint(HashMap<String, Integer> measurements, String map) {
this(measurements);
mMap = map;
}
public Fingerprint(int id, String map, PointF location) {
this();
mLocation = location;
}
public Fingerprint(int id, String map, PointF location, HashMap<String, Integer> measurements) {
this(id, map, location);
mMeasurements = measurements;
}
what is the purpose of this(); in this context? Since I have the idea that "this" refers to the fields of the current object. is it the same definition here?