{"action":"opened","issue":{"url":"https://api.github.com/repos/cyjthink/blog/issues/17","repository_url":"https://api.github.com/repos/cyjthink/blog","labels_url":"https://api.github.com/repos/cyjthink/blog/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/cyjthink/blog/issues/17/comments","events_url":"https://api.github.com/repos/cyjthink/blog/issues/17/events","html_url":"https://github.com/cyjthink/blog/issues/17","id":226855127,"number":17,"title":"Android中的String、StringBuilder、StringBuffer、CharSequence","user":{"login":"cyjthink","id":14829641,"avatar_url":"https://avatars3.githubusercontent.com/u/14829641?v=3","gravatar_id":"","url":"https://api.github.com/users/cyjthink","html_url":"https://github.com/cyjthink","followers_url":"https://api.github.com/users/cyjthink/followers","following_url":"https://api.github.com/users/cyjthink/following{/other_user}","gists_url":"https://api.github.com/users/cyjthink/gists{/gist_id}","starred_url":"https://api.github.com/users/cyjthink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyjthink/subscriptions","organizations_url":"https://api.github.com/users/cyjthink/orgs","repos_url":"https://api.github.com/users/cyjthink/repos","events_url":"https://api.github.com/users/cyjthink/events{/privacy}","received_events_url":"https://api.github.com/users/cyjthink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-07T12:20:54Z","updated_at":"2017-05-07T12:20:54Z","closed_at":null,"body":"1.  关系\r\n   CharSequence是一个接口，用于表示有序的字符集合，并提供了一些基本的操作方法。\r\nString StringBuffer StringBuilder都实现了CharSequence这个接口。\r\n关系图如下：\r\n   ![String-StringBuilder-StringBuffer-CharSequence关系图](http://blog-1252212268.cosgz.myqcloud.com/String-StringBuilder-StringBuffer-CharSequence%E5%85%B3%E7%B3%BB%E5%9B%BE.jpg)\r\n\r\n2. 区别\r\n\t\r\n    | 名称   | 说明           |\r\n    | ---- | ------------- |\r\n    | CharSequence    | 接口，表示有序的字符集合          |\r\n    | String    | 常量，不可变     |\r\n    | StringBuffer    | 可变长度字符序列，线程安全 | \r\n    | StringBuilder    | 可变长度字符序列，非线程安全      | "}}
{"actor":{"display_login":"cyjthink"}}