test_class.file: parser/src/test/java/com/qihoo/qsql/org/apache/calcite/util/ChunkListTest.java
test_class.identifier: ChunkListTest
test_case.body: @Test public void testClear() {
      checkListClear(0);
      checkListClear(1);
      checkListClear(2);
      checkListClear(32);
      checkListClear(64);
      checkListClear(65);
      checkListClear(66);
      checkListClear(100);
      checkListClear(127);
      checkListClear(128);
      checkListClear(129);
    }
test_case.class_method_signature: ChunkListTest.testClear()
test_case.full_signature: @Test public void testClear()
test_case.identifier: testClear
test_case.invocations: checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear checkListClear
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testClear()
focal_class.declarator: HEADER_SIZE = 3
focal_class.modifier: private static final
focal_class.original_string: private static final int HEADER_SIZE = 3;
focal_class.type: int
focal_class.var_name: HEADER_SIZE
focal_class.declarator: CHUNK_SIZE = 64
focal_class.modifier: private static final
focal_class.original_string: private static final int CHUNK_SIZE = 64;
focal_class.type: int
focal_class.var_name: CHUNK_SIZE
focal_class.declarator: INTEGERS = new Integer[CHUNK_SIZE + 3]
focal_class.modifier: private static final
focal_class.original_string: private static final Integer[] INTEGERS = new Integer[CHUNK_SIZE + 3];
focal_class.type: Integer[]
focal_class.var_name: INTEGERS
focal_class.declarator: size
focal_class.modifier: private
focal_class.original_string: private int size;
focal_class.type: int
focal_class.var_name: size
focal_class.declarator: first
focal_class.modifier: private
focal_class.original_string: private Object[] first;
focal_class.type: Object[]
focal_class.var_name: first
focal_class.declarator: last
focal_class.modifier: private
focal_class.original_string: private Object[] last;
focal_class.type: Object[]
focal_class.var_name: last
focal_class.file: parser/src/main/java/com/qihoo/qsql/org/apache/calcite/util/ChunkList.java
focal_class.identifier: ChunkList
focal_class.class_method_signature: ChunkList.ChunkList()
focal_class.full_signature: public  ChunkList()
focal_class.identifier: ChunkList
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ChunkList()
focal_class.class_method_signature: ChunkList.ChunkList(Collection<E> collection)
focal_class.full_signature: public  ChunkList(Collection<E> collection)
focal_class.identifier: ChunkList
focal_class.modifiers: public
focal_class.parameters: (Collection<E> collection)
focal_class.signature:  ChunkList(Collection<E> collection)
focal_class.class_method_signature: ChunkList.isValid(boolean fail)
focal_class.full_signature:  boolean isValid(boolean fail)
focal_class.identifier: isValid
focal_class.parameters: (boolean fail)
focal_class.return: boolean
focal_class.signature: boolean isValid(boolean fail)
focal_class.class_method_signature: ChunkList.listIterator(int index)
focal_class.full_signature: @Override public ListIterator<E> listIterator(int index)
focal_class.identifier: listIterator
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: ListIterator<E>
focal_class.signature: ListIterator<E> listIterator(int index)
focal_class.class_method_signature: ChunkList.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: ChunkList.clear()
focal_class.full_signature: @Override public void clear()
focal_class.identifier: clear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: ChunkList.add(E element)
focal_class.full_signature: @Override public boolean add(E element)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (E element)
focal_class.return: boolean
focal_class.signature: boolean add(E element)
focal_class.class_method_signature: ChunkList.add(int index, E element)
focal_class.full_signature: @Override public void add(int index, E element)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (int index, E element)
focal_class.return: void
focal_class.signature: void add(int index, E element)
focal_class.class_method_signature: ChunkList.prev(Object[] chunk)
focal_class.full_signature: private static Object[] prev(Object[] chunk)
focal_class.identifier: prev
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk)
focal_class.return: Object[]
focal_class.signature: Object[] prev(Object[] chunk)
focal_class.class_method_signature: ChunkList.setPrev(Object[] chunk, Object[] prev)
focal_class.full_signature: private static void setPrev(Object[] chunk, Object[] prev)
focal_class.identifier: setPrev
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk, Object[] prev)
focal_class.return: void
focal_class.signature: void setPrev(Object[] chunk, Object[] prev)
focal_class.class_method_signature: ChunkList.next(Object[] chunk)
focal_class.full_signature: private static Object[] next(Object[] chunk)
focal_class.identifier: next
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk)
focal_class.return: Object[]
focal_class.signature: Object[] next(Object[] chunk)
focal_class.class_method_signature: ChunkList.setNext(Object[] chunk, Object[] next)
focal_class.full_signature: private static void setNext(Object[] chunk, Object[] next)
focal_class.identifier: setNext
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk, Object[] next)
focal_class.return: void
focal_class.signature: void setNext(Object[] chunk, Object[] next)
focal_class.class_method_signature: ChunkList.occupied(Object[] chunk)
focal_class.full_signature: private static int occupied(Object[] chunk)
focal_class.identifier: occupied
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk)
focal_class.return: int
focal_class.signature: int occupied(Object[] chunk)
focal_class.class_method_signature: ChunkList.setOccupied(Object[] chunk, int size)
focal_class.full_signature: private static void setOccupied(Object[] chunk, int size)
focal_class.identifier: setOccupied
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk, int size)
focal_class.return: void
focal_class.signature: void setOccupied(Object[] chunk, int size)
focal_class.class_method_signature: ChunkList.element(Object[] chunk, int index)
focal_class.full_signature: private static Object element(Object[] chunk, int index)
focal_class.identifier: element
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk, int index)
focal_class.return: Object
focal_class.signature: Object element(Object[] chunk, int index)
focal_class.class_method_signature: ChunkList.setElement(Object[] chunk, int index, Object element)
focal_class.full_signature: private static void setElement(Object[] chunk, int index, Object element)
focal_class.identifier: setElement
focal_class.modifiers: private static
focal_class.parameters: (Object[] chunk, int index, Object element)
focal_class.return: void
focal_class.signature: void setElement(Object[] chunk, int index, Object element)
focal_class.class_method_signature: ChunkList.locate(int index)
focal_class.full_signature: private ChunkListIterator locate(int index)
focal_class.identifier: locate
focal_class.modifiers: private
focal_class.parameters: (int index)
focal_class.return: ChunkListIterator
focal_class.signature: ChunkListIterator locate(int index)
focal_class.superclass: extends AbstractSequentialList<E>
focal_method.body: @Override public void clear() {
      // base class method works, but let's optimize
      size = 0;
      first = last = null;
    }
focal_method.class_method_signature: ChunkList.clear()
focal_method.full_signature: @Override public void clear()
focal_method.identifier: clear
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void clear()