@Test public void testBug() { String str = "batchResponse\u001Dce878ece-986c-454f-ada3-a0912f0793db.1.loadtest1409644512925\u001D31\u001Dwarmup-99908\u001D{\"username\":\"warmup-99908\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99911\u001D{\"username\":\"warmup-99911\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99914\u001D{\"username\":\"warmup-99914\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99917\u001D{\"username\":\"warmup-99917\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99920\u001D{\"username\":\"warmup-99920\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99923\u001D{\"username\":\"warmup-99923\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99926\u001D{\"username\":\"warmup-99926\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99929\u001D{\"username\":\"warmup-99929\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99932\u001D{\"username\":\"warmup-99932\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99935\u001D{\"username\":\"warmup-99935\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99938\u001D{\"username\":\"warmup-99938\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99941\u001D{\"username\":\"warmup-99941\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99944\u001D{\"username\":\"warmup-99944\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99947\u001D{\"username\":\"warmup-99947\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99950\u001D{\"username\":\"warmup-99950\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99953\u001D{\"username\":\"warmup-99953\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99956\u001D{\"username\":\"warmup-99956\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99959\u001D{\"username\":\"warmup-99959\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99962\u001D{\"username\":\"warmup-99962\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99965\u001D{\"username\":\"warmup-99965\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99968\u001D{\"username\":\"warmup-99968\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99971\u001D{\"username\":\"warmup-99971\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99974\u001D{\"username\":\"warmup-99974\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99977\u001D{\"username\":\"warmup-99977\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99980\u001D{\"username\":\"warmup-99980\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99983\u001D{\"username\":\"warmup-99983\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99986\u001D{\"username\":\"warmup-99986\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99989\u001D{\"username\":\"warmup-99989\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99992\u001D{\"username\":\"warmup-99992\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99995\u001D{\"username\":\"warmup-99995\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}\u001Dwarmup-99998\u001D{\"username\":\"warmup-99998\",\"tags\":{\"NYG\":100,\"NYJ\":100,\"RED_ZONE\":100,\"TB\":100,\"MIA\":100,\"SF\":100,\"NO\":100,\"TEN\":100,\"JAC\":100,\"DAL\":100,\"GB\":100,\"OTHER_CLUB\":100,\"PIT\":100,\"CHI\":100,\"WAS\":100,\"HOU\":100,\"STL\":100,\"BAL\":100,\"BUF\":100,\"DEN\":100,\"PHI\":100,\"ATL\":100,\"SD\":100,\"DET\":100,\"NE\":100,\"CIN\":100,\"CAR\":100,\"KC\":100,\"MIN\":100,\"IND\":100,\"ARI\":100,\"SEA\":100,\"CLE\":100,\"OAK\":100},\"players\":{\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23,\"asd.fkjasl;kdfjasl;kdjfal;ksdjfl;kasdfasdfaasdjf;lkasjdfl;kasjdfl;kasjdf;lkajsdf\":23},\"people\":{\"JASON_DANILE\":23,\"RICK_HIGHTOWER\":23},\"version\":1,\"lastDeviceUsed\":\"UNKNOWN\",\"lastConnectionSpeed\":\"UNKNOWN\",\"watchedVideos\":[-660512296],\"timeZone\":{\"type\":\"PST\"},\"user\":true}"; CharScanner.split(str.toCharArray(), '\u001D'); }
public static char[][] split( final char[] inputArray, final char split ) { char[][] results = new char[ 16 ][]; int resultIndex = 0; int startCurrentLineIndex = 0; int currentLineLength = 1; char c = 0; int index = 0; for (; index < inputArray.length; index++, currentLineLength++ ) { c = inputArray[ index ]; if ( c == split ) { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1 ); startCurrentLineIndex = index + 1; currentLineLength = 0; resultIndex++; } } if (c!=split) { if ( resultIndex == results.length ) { results = _grow( results ); } results[resultIndex] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1); resultIndex++; } else if (index == inputArray.length) { } else { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, inputArray.length - index - 1); resultIndex++; } int actualLength = resultIndex; if ( actualLength < results.length ) { final int newSize = results.length - actualLength; results = __shrink( results, newSize ); } return results; }
CharScanner { public static char[][] split( final char[] inputArray, final char split ) { char[][] results = new char[ 16 ][]; int resultIndex = 0; int startCurrentLineIndex = 0; int currentLineLength = 1; char c = 0; int index = 0; for (; index < inputArray.length; index++, currentLineLength++ ) { c = inputArray[ index ]; if ( c == split ) { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1 ); startCurrentLineIndex = index + 1; currentLineLength = 0; resultIndex++; } } if (c!=split) { if ( resultIndex == results.length ) { results = _grow( results ); } results[resultIndex] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1); resultIndex++; } else if (index == inputArray.length) { } else { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, inputArray.length - index - 1); resultIndex++; } int actualLength = resultIndex; if ( actualLength < results.length ) { final int newSize = results.length - actualLength; results = __shrink( results, newSize ); } return results; } }
CharScanner { public static char[][] split( final char[] inputArray, final char split ) { char[][] results = new char[ 16 ][]; int resultIndex = 0; int startCurrentLineIndex = 0; int currentLineLength = 1; char c = 0; int index = 0; for (; index < inputArray.length; index++, currentLineLength++ ) { c = inputArray[ index ]; if ( c == split ) { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1 ); startCurrentLineIndex = index + 1; currentLineLength = 0; resultIndex++; } } if (c!=split) { if ( resultIndex == results.length ) { results = _grow( results ); } results[resultIndex] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1); resultIndex++; } else if (index == inputArray.length) { } else { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, inputArray.length - index - 1); resultIndex++; } int actualLength = resultIndex; if ( actualLength < results.length ) { final int newSize = results.length - actualLength; results = __shrink( results, newSize ); } return results; }  }
CharScanner { public static char[][] split( final char[] inputArray, final char split ) { char[][] results = new char[ 16 ][]; int resultIndex = 0; int startCurrentLineIndex = 0; int currentLineLength = 1; char c = 0; int index = 0; for (; index < inputArray.length; index++, currentLineLength++ ) { c = inputArray[ index ]; if ( c == split ) { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1 ); startCurrentLineIndex = index + 1; currentLineLength = 0; resultIndex++; } } if (c!=split) { if ( resultIndex == results.length ) { results = _grow( results ); } results[resultIndex] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1); resultIndex++; } else if (index == inputArray.length) { } else { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, inputArray.length - index - 1); resultIndex++; } int actualLength = resultIndex; if ( actualLength < results.length ) { final int newSize = results.length - actualLength; results = __shrink( results, newSize ); } return results; }  static boolean isDigit( int c ); static boolean isDecimalDigit( int c ); static boolean isDecimalChar( int currentChar ); static boolean hasDecimalChar( char[] chars, boolean negative ); static boolean isDigits( final char[] inputArray ); static char[][] splitExact( final char[] inputArray,
                                       final char split, final int resultsArrayLength ); static char[][] splitExact( final char[] inputArray,
                                       final int resultsArrayLength, char... delims ); static char[][] splitLines( final char[] inputArray); static char[][] split( final char[] inputArray,
                                  final char split ); static char[][] splitFrom( final char[] inputArray,
                                  final char split, int from ); static char[][] split( final char[] inputArray,
                                  final char split, final int limit ); static char[][] splitFromStartWithLimit( final char[] inputArray,
                                  final char split, final int start,
                                  final int limit ); static char[][] splitByChars( final char[] inputArray,
                                         final char... delims ); static char[][] splitByCharsFromToDelims( final char[] inputArray, int from, int to,
                                                     final char... delims ); static char[][] splitByCharsNoneEmpty( final char[] inputArray,
                                                  final char... delims ); static char[][] splitByCharsNoneEmpty( final char[] inputArray, int from, int to,
                                                  final char... delims ); static char[][] compact( char[][] array ); static boolean isLong( char[] digitChars ); static boolean isLong( char[] digitChars, int offset, int len
                                   ); static boolean isInteger( char[] digitChars ); static boolean isInteger( char[] digitChars, int offset, int len); static int parseInt( char[] digitChars ); static int parseInt(char[] digitChars, int offset, int to); static int parseIntFromToIgnoreDot( char[] digitChars, int offset, int to ); static long parseLongFromToIgnoreDot( char[] digitChars, int offset, int to ); static long parseLong(char[] digitChars, int offset, int to); static long parseLong( char[] digitChars ); static Number parseJsonNumber( char[] buffer ); static Number parseJsonNumber( char[] buffer, int from, int to ); static final boolean isNumberDigit(int c); static boolean isDelimiter( int c ); static Number parseJsonNumber( char[] buffer, int from, int max, int size[] ); static float parseFloat( char[] buffer, int from, int to ); static float parseFloat( char[] buffer ); static double parseDouble( char[] buffer ); static double parseDouble( char[] buffer, int from, int to ); static int skipWhiteSpace( char [] array); static int skipWhiteSpace( char [] array, int index ); static int skipWhiteSpace( char [] array, int index, final int length ); static char[] readNumber( char[] array, int idx ); static char[] readNumber( char[] array, int idx, final int len ); static int skipWhiteSpaceFast( char [] array ); static int skipWhiteSpaceFast( char [] array, int index ); static String errorDetails( String message, char[] array, int index, int ch ); static String debugCharDescription( int c ); static final boolean isDoubleQuote( int c ); static final boolean isEscape( int c ); static boolean hasEscapeChar(char []array, int index, int[] indexHolder); static int findEndQuote(final char[] array,  int index); static char[][] splitComma(char[] inputArray); static char[][] splitBySpace( char[] inputArray); static char[][] splitByChar(int splitChar, char[] inputArray); static int findChar(char c, char[] line); static int findWhiteSpace(char[] line); static int findWhiteSpace( int start, char[] line); static int findChar(char c, int startIndex, char[] line); static int findString(String matchString, int startIndex, char[] line); static int findString(String matchString, char[] line); static int findChars(char[] matchChars, char[] line); static boolean matchChars(char[] matchChars, int startIndex, char[] line); static int findChars(char[] matchChars, int startIndex, char[] line); static char[][] splitByPipe(char[] inputArray); }
CharScanner { public static char[][] split( final char[] inputArray, final char split ) { char[][] results = new char[ 16 ][]; int resultIndex = 0; int startCurrentLineIndex = 0; int currentLineLength = 1; char c = 0; int index = 0; for (; index < inputArray.length; index++, currentLineLength++ ) { c = inputArray[ index ]; if ( c == split ) { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1 ); startCurrentLineIndex = index + 1; currentLineLength = 0; resultIndex++; } } if (c!=split) { if ( resultIndex == results.length ) { results = _grow( results ); } results[resultIndex] = Chr.copy( inputArray, startCurrentLineIndex, currentLineLength - 1); resultIndex++; } else if (index == inputArray.length) { } else { if ( resultIndex == results.length ) { results = _grow( results ); } results[ resultIndex ] = Chr.copy( inputArray, startCurrentLineIndex, inputArray.length - index - 1); resultIndex++; } int actualLength = resultIndex; if ( actualLength < results.length ) { final int newSize = results.length - actualLength; results = __shrink( results, newSize ); } return results; }  static boolean isDigit( int c ); static boolean isDecimalDigit( int c ); static boolean isDecimalChar( int currentChar ); static boolean hasDecimalChar( char[] chars, boolean negative ); static boolean isDigits( final char[] inputArray ); static char[][] splitExact( final char[] inputArray,
                                       final char split, final int resultsArrayLength ); static char[][] splitExact( final char[] inputArray,
                                       final int resultsArrayLength, char... delims ); static char[][] splitLines( final char[] inputArray); static char[][] split( final char[] inputArray,
                                  final char split ); static char[][] splitFrom( final char[] inputArray,
                                  final char split, int from ); static char[][] split( final char[] inputArray,
                                  final char split, final int limit ); static char[][] splitFromStartWithLimit( final char[] inputArray,
                                  final char split, final int start,
                                  final int limit ); static char[][] splitByChars( final char[] inputArray,
                                         final char... delims ); static char[][] splitByCharsFromToDelims( final char[] inputArray, int from, int to,
                                                     final char... delims ); static char[][] splitByCharsNoneEmpty( final char[] inputArray,
                                                  final char... delims ); static char[][] splitByCharsNoneEmpty( final char[] inputArray, int from, int to,
                                                  final char... delims ); static char[][] compact( char[][] array ); static boolean isLong( char[] digitChars ); static boolean isLong( char[] digitChars, int offset, int len
                                   ); static boolean isInteger( char[] digitChars ); static boolean isInteger( char[] digitChars, int offset, int len); static int parseInt( char[] digitChars ); static int parseInt(char[] digitChars, int offset, int to); static int parseIntFromToIgnoreDot( char[] digitChars, int offset, int to ); static long parseLongFromToIgnoreDot( char[] digitChars, int offset, int to ); static long parseLong(char[] digitChars, int offset, int to); static long parseLong( char[] digitChars ); static Number parseJsonNumber( char[] buffer ); static Number parseJsonNumber( char[] buffer, int from, int to ); static final boolean isNumberDigit(int c); static boolean isDelimiter( int c ); static Number parseJsonNumber( char[] buffer, int from, int max, int size[] ); static float parseFloat( char[] buffer, int from, int to ); static float parseFloat( char[] buffer ); static double parseDouble( char[] buffer ); static double parseDouble( char[] buffer, int from, int to ); static int skipWhiteSpace( char [] array); static int skipWhiteSpace( char [] array, int index ); static int skipWhiteSpace( char [] array, int index, final int length ); static char[] readNumber( char[] array, int idx ); static char[] readNumber( char[] array, int idx, final int len ); static int skipWhiteSpaceFast( char [] array ); static int skipWhiteSpaceFast( char [] array, int index ); static String errorDetails( String message, char[] array, int index, int ch ); static String debugCharDescription( int c ); static final boolean isDoubleQuote( int c ); static final boolean isEscape( int c ); static boolean hasEscapeChar(char []array, int index, int[] indexHolder); static int findEndQuote(final char[] array,  int index); static char[][] splitComma(char[] inputArray); static char[][] splitBySpace( char[] inputArray); static char[][] splitByChar(int splitChar, char[] inputArray); static int findChar(char c, char[] line); static int findWhiteSpace(char[] line); static int findWhiteSpace( int start, char[] line); static int findChar(char c, int startIndex, char[] line); static int findString(String matchString, int startIndex, char[] line); static int findString(String matchString, char[] line); static int findChars(char[] matchChars, char[] line); static boolean matchChars(char[] matchChars, int startIndex, char[] line); static int findChars(char[] matchChars, int startIndex, char[] line); static char[][] splitByPipe(char[] inputArray);  }