test_class.declarator: lng = "Really long string that is easy to split into parts!"
test_class.modifier: static
test_class.original_string: static String lng = "Really long string that is easy to split into parts!";
test_class.type: String
test_class.var_name: lng
test_class.file: strings/src/test/java/com/dukescript/presenters/strings/BufferTest.java
test_class.identifier: BufferTest
test_case.body: @Test public void splitAndRandomize() {
          long seed = System.currentTimeMillis();
          
          Buffer b = new Buffer(lng, 3, seed);
          
          for (int i = 0; i < lng.length(); i++) {
              for (int j = i; j < lng.length(); j++) {
                  CharSequence mangled = b.subSequence(i, j);
                  CharSequence real = lng.subSequence(i, j);
                  
                  assertEquals(mangled.toString(), real.toString(), "At seed " + seed + " subSequence(" + i + ", " + j + ") are the same");
              }
          }
      }
test_case.class_method_signature: BufferTest.splitAndRandomize()
test_case.full_signature: @Test public void splitAndRandomize()
test_case.identifier: splitAndRandomize
test_case.invocations: currentTimeMillis length length subSequence subSequence assertEquals toString toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void splitAndRandomize()
focal_class.declarator: segmentLen
focal_class.modifier: private final
focal_class.original_string: private final int segmentLen;
focal_class.type: int
focal_class.var_name: segmentLen
focal_class.declarator: begins
focal_class.modifier: private final
focal_class.original_string: private final int[] begins;
focal_class.type: int[]
focal_class.var_name: begins
focal_class.declarator: buf
focal_class.modifier: final
focal_class.original_string: final StringBuilder buf;
focal_class.type: StringBuilder
focal_class.var_name: buf
focal_class.file: strings/src/main/java/com/dukescript/presenters/strings/Buffer.java
focal_class.identifier: Buffer
focal_class.class_method_signature: Buffer.Buffer(CharSequence sb, int segmentLen, long seed)
focal_class.full_signature:   Buffer(CharSequence sb, int segmentLen, long seed)
focal_class.identifier: Buffer
focal_class.parameters: (CharSequence sb, int segmentLen, long seed)
focal_class.signature:  Buffer(CharSequence sb, int segmentLen, long seed)
focal_class.class_method_signature: Buffer.charAt(int pos)
focal_class.full_signature:  char charAt(int pos)
focal_class.identifier: charAt
focal_class.parameters: (int pos)
focal_class.return: char
focal_class.signature: char charAt(int pos)
focal_class.class_method_signature: Buffer.segments(int from, int end)
focal_class.full_signature:  List<Integer> segments(int from, int end)
focal_class.identifier: segments
focal_class.parameters: (int from, int end)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> segments(int from, int end)
focal_class.class_method_signature: Buffer.subSequence(int from, int end)
focal_class.full_signature:  CharSequence subSequence(int from, int end)
focal_class.identifier: subSequence
focal_class.parameters: (int from, int end)
focal_class.return: CharSequence
focal_class.signature: CharSequence subSequence(int from, int end)
focal_method.body: CharSequence subSequence(int from, int end) {
          StringBuilder sb = new StringBuilder();
          Integer frm = null;
          final List<Integer> sgmnts = segments(from, end);
          for (Integer i1 : sgmnts) {
              if (frm == null) {
                  frm = i1;
                  continue;
              }
              sb.append(buf.subSequence(frm, i1));
              frm = null;
          }
          return sb;
      }
focal_method.class_method_signature: Buffer.subSequence(int from, int end)
focal_method.full_signature:  CharSequence subSequence(int from, int end)
focal_method.identifier: subSequence
focal_method.invocations: segments append subSequence
focal_method.parameters: (int from, int end)
focal_method.return: CharSequence
focal_method.signature: CharSequence subSequence(int from, int end)