test_class.declarator: thrown = ExpectedException.none()
test_class.modifier: @Rule public
test_class.original_string: @Rule public ExpectedException thrown = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.file: jme3-core/src/test/java/com/jme3/scene/mesh/VirtualIndexBufferTest.java
test_class.identifier: VirtualIndexBufferTest
test_case.body: @Test
      public void testRemaining() {
          final VirtualIndexBuffer bufferPoints = new VirtualIndexBuffer(8, Mode.Points);
          assertEquals(8, bufferPoints.remaining());
          bufferPoints.get();
          assertEquals(7, bufferPoints.remaining());
  
          final VirtualIndexBuffer bufferLineLoop = new VirtualIndexBuffer(8, Mode.LineLoop);
          assertEquals(15, bufferLineLoop.remaining());
  
          final VirtualIndexBuffer bufferLineStrip = new VirtualIndexBuffer(8, Mode.LineStrip);
          assertEquals(14, bufferLineStrip.remaining());
  
          final VirtualIndexBuffer bufferLines = new VirtualIndexBuffer(8, Mode.Lines);
          assertEquals(8, bufferLines.remaining());
  
          final VirtualIndexBuffer bufferTriangleFan = new VirtualIndexBuffer(8, Mode.TriangleFan);
          assertEquals(18, bufferTriangleFan.remaining());
  
          final VirtualIndexBuffer bufferTriangleStrip = new VirtualIndexBuffer(8, Mode.TriangleStrip);
          assertEquals(18, bufferTriangleStrip.remaining());
  
          final VirtualIndexBuffer bufferTriangles = new VirtualIndexBuffer(8, Mode.Triangles);
          assertEquals(8, bufferTriangles.remaining());
  
          final VirtualIndexBuffer bufferPatch = new VirtualIndexBuffer(8, Mode.Patch);
          assertEquals(0, bufferPatch.remaining());
      }
test_case.class_method_signature: VirtualIndexBufferTest.testRemaining()
test_case.full_signature: @Test public void testRemaining()
test_case.identifier: testRemaining
test_case.invocations: assertEquals remaining get assertEquals remaining assertEquals remaining assertEquals remaining assertEquals remaining assertEquals remaining assertEquals remaining assertEquals remaining assertEquals remaining
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRemaining()
focal_class.declarator: numVerts = 0
focal_class.modifier: protected
focal_class.original_string: protected int numVerts = 0;
focal_class.type: int
focal_class.var_name: numVerts
focal_class.declarator: numIndices = 0
focal_class.modifier: protected
focal_class.original_string: protected int numIndices = 0;
focal_class.type: int
focal_class.var_name: numIndices
focal_class.declarator: meshMode
focal_class.modifier: protected
focal_class.original_string: protected Mode meshMode;
focal_class.type: Mode
focal_class.var_name: meshMode
focal_class.declarator: position = 0
focal_class.modifier: protected
focal_class.original_string: protected int position = 0;
focal_class.type: int
focal_class.var_name: position
focal_class.file: jme3-core/src/main/java/com/jme3/scene/mesh/VirtualIndexBuffer.java
focal_class.identifier: VirtualIndexBuffer
focal_class.class_method_signature: VirtualIndexBuffer.VirtualIndexBuffer(int numVerts, Mode meshMode)
focal_class.full_signature: public  VirtualIndexBuffer(int numVerts, Mode meshMode)
focal_class.identifier: VirtualIndexBuffer
focal_class.modifiers: public
focal_class.parameters: (int numVerts, Mode meshMode)
focal_class.signature:  VirtualIndexBuffer(int numVerts, Mode meshMode)
focal_class.class_method_signature: VirtualIndexBuffer.get()
focal_class.full_signature: @Override public int get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int get()
focal_class.class_method_signature: VirtualIndexBuffer.rewind()
focal_class.full_signature: @Override public void rewind()
focal_class.identifier: rewind
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rewind()
focal_class.class_method_signature: VirtualIndexBuffer.remaining()
focal_class.full_signature: @Override public int remaining()
focal_class.identifier: remaining
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int remaining()
focal_class.class_method_signature: VirtualIndexBuffer.get(int i)
focal_class.full_signature: @Override public int get(int i)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (int i)
focal_class.return: int
focal_class.signature: int get(int i)
focal_class.class_method_signature: VirtualIndexBuffer.put(int i, int value)
focal_class.full_signature: @Override public IndexBuffer put(int i, int value)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (int i, int value)
focal_class.return: IndexBuffer
focal_class.signature: IndexBuffer put(int i, int value)
focal_class.class_method_signature: VirtualIndexBuffer.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: VirtualIndexBuffer.getBuffer()
focal_class.full_signature: @Override public Buffer getBuffer()
focal_class.identifier: getBuffer
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Buffer
focal_class.signature: Buffer getBuffer()
focal_class.class_method_signature: VirtualIndexBuffer.put(int value)
focal_class.full_signature: @Override public IndexBuffer put(int value)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (int value)
focal_class.return: IndexBuffer
focal_class.signature: IndexBuffer put(int value)
focal_class.class_method_signature: VirtualIndexBuffer.getFormat()
focal_class.full_signature: @Override public Format getFormat()
focal_class.identifier: getFormat
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Format
focal_class.signature: Format getFormat()
focal_class.superclass: extends IndexBuffer
focal_method.body: @Override
      public int remaining() {
          return numIndices - position;
      }
focal_method.class_method_signature: VirtualIndexBuffer.remaining()
focal_method.full_signature: @Override public int remaining()
focal_method.identifier: remaining
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int remaining()