All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.placesapiclient.client.entity.MatchedSubstring Maven / Gradle / Ivy

The newest version!
package com.googlecode.placesapiclient.client.entity;

/**
 */
public class MatchedSubstring {

    private Integer length;
    private Integer offset;

    public MatchedSubstring(Integer length, Integer offset) {
        this.length = length;
        this.offset = offset;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MatchedSubstring{");
        sb.append("length=").append(length);
        sb.append(", offset=").append(offset);
        sb.append('}');
        return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy