Choose setIndex and setLength as method name

Change-Id: Ifc76faededfe368b60c968c9e7143712cac5bc34
Renamed DefaultXXX to XXXImpl

Change-Id: I6fc7778751ebe7dd0fc670344d6a8031534d7bf1