test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/utilities/DoubleListTest.java
test_class.identifier: DoubleListTest
test_case.body: @Test
      public void testSort() {
          DoubleList list = new DoubleList();
          list.sort();
          assertThat(list.toArray()).isEmpty();
          list.add(10d);
          list.add(5d);
          list.sort();
          assertThat(list.toArray()).containsExactly(5d, 10d);
      }
test_case.class_method_signature: DoubleListTest.testSort()
test_case.full_signature: @Test public void testSort()
test_case.identifier: testSort
test_case.invocations: sort isEmpty assertThat toArray add add sort containsExactly assertThat toArray
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSort()
focal_class.declarator: DEFAULT_SIZE = 128
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_SIZE = 128;
focal_class.type: int
focal_class.var_name: DEFAULT_SIZE
focal_class.declarator: _array
focal_class.modifier: private
focal_class.original_string: private double[] _array;
focal_class.type: double[]
focal_class.var_name: _array
focal_class.declarator: _limit
focal_class.modifier: private
focal_class.original_string: private int _limit;
focal_class.type: int
focal_class.var_name: _limit
focal_class.declarator: fillval = 0
focal_class.modifier: private
focal_class.original_string: private double fillval = 0;
focal_class.type: double
focal_class.var_name: fillval
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/utilities/DoubleList.java
focal_class.identifier: DoubleList
focal_class.class_method_signature: DoubleList.DoubleList()
focal_class.full_signature: public  DoubleList()
focal_class.identifier: DoubleList
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DoubleList()
focal_class.class_method_signature: DoubleList.DoubleList(final int initialCapacity)
focal_class.full_signature: public  DoubleList(final int initialCapacity)
focal_class.identifier: DoubleList
focal_class.modifiers: public
focal_class.parameters: (final int initialCapacity)
focal_class.signature:  DoubleList(final int initialCapacity)
focal_class.class_method_signature: DoubleList.DoubleList(final DoubleList list)
focal_class.full_signature: public  DoubleList(final DoubleList list)
focal_class.identifier: DoubleList
focal_class.modifiers: public
focal_class.parameters: (final DoubleList list)
focal_class.signature:  DoubleList(final DoubleList list)
focal_class.class_method_signature: DoubleList.DoubleList(final int initialCapacity, double fillvalue)
focal_class.full_signature: public  DoubleList(final int initialCapacity, double fillvalue)
focal_class.identifier: DoubleList
focal_class.modifiers: public
focal_class.parameters: (final int initialCapacity, double fillvalue)
focal_class.signature:  DoubleList(final int initialCapacity, double fillvalue)
focal_class.class_method_signature: DoubleList.add(final int index, final double value)
focal_class.full_signature: public void add(final int index, final double value)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (final int index, final double value)
focal_class.return: void
focal_class.signature: void add(final int index, final double value)
focal_class.class_method_signature: DoubleList.add(final double value)
focal_class.full_signature: public boolean add(final double value)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (final double value)
focal_class.return: boolean
focal_class.signature: boolean add(final double value)
focal_class.class_method_signature: DoubleList.addAll(final DoubleList c)
focal_class.full_signature: public boolean addAll(final DoubleList c)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (final DoubleList c)
focal_class.return: boolean
focal_class.signature: boolean addAll(final DoubleList c)
focal_class.class_method_signature: DoubleList.addAll(final int index, final DoubleList c)
focal_class.full_signature: public boolean addAll(final int index, final DoubleList c)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (final int index, final DoubleList c)
focal_class.return: boolean
focal_class.signature: boolean addAll(final int index, final DoubleList c)
focal_class.class_method_signature: DoubleList.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: DoubleList.contains(final double o)
focal_class.full_signature: public boolean contains(final double o)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (final double o)
focal_class.return: boolean
focal_class.signature: boolean contains(final double o)
focal_class.class_method_signature: DoubleList.containsAll(final DoubleList c)
focal_class.full_signature: public boolean containsAll(final DoubleList c)
focal_class.identifier: containsAll
focal_class.modifiers: public
focal_class.parameters: (final DoubleList c)
focal_class.return: boolean
focal_class.signature: boolean containsAll(final DoubleList c)
focal_class.class_method_signature: DoubleList.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: DoubleList.get(final int index)
focal_class.full_signature: public double get(final int index)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (final int index)
focal_class.return: double
focal_class.signature: double get(final int index)
focal_class.class_method_signature: DoubleList.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DoubleList.indexOf(final double o)
focal_class.full_signature: public int indexOf(final double o)
focal_class.identifier: indexOf
focal_class.modifiers: public
focal_class.parameters: (final double o)
focal_class.return: int
focal_class.signature: int indexOf(final double o)
focal_class.class_method_signature: DoubleList.isEmpty()
focal_class.full_signature: public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: DoubleList.lastIndexOf(final double o)
focal_class.full_signature: public int lastIndexOf(final double o)
focal_class.identifier: lastIndexOf
focal_class.modifiers: public
focal_class.parameters: (final double o)
focal_class.return: int
focal_class.signature: int lastIndexOf(final double o)
focal_class.class_method_signature: DoubleList.remove(final int index)
focal_class.full_signature: public double remove(final int index)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (final int index)
focal_class.return: double
focal_class.signature: double remove(final int index)
focal_class.class_method_signature: DoubleList.removeValue(final double o)
focal_class.full_signature: public boolean removeValue(final double o)
focal_class.identifier: removeValue
focal_class.modifiers: public
focal_class.parameters: (final double o)
focal_class.return: boolean
focal_class.signature: boolean removeValue(final double o)
focal_class.class_method_signature: DoubleList.removeAll(final DoubleList c)
focal_class.full_signature: public boolean removeAll(final DoubleList c)
focal_class.identifier: removeAll
focal_class.modifiers: public
focal_class.parameters: (final DoubleList c)
focal_class.return: boolean
focal_class.signature: boolean removeAll(final DoubleList c)
focal_class.class_method_signature: DoubleList.retainAll(final DoubleList c)
focal_class.full_signature: public boolean retainAll(final DoubleList c)
focal_class.identifier: retainAll
focal_class.modifiers: public
focal_class.parameters: (final DoubleList c)
focal_class.return: boolean
focal_class.signature: boolean retainAll(final DoubleList c)
focal_class.class_method_signature: DoubleList.set(final int index, final double element)
focal_class.full_signature: public double set(final int index, final double element)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (final int index, final double element)
focal_class.return: double
focal_class.signature: double set(final int index, final double element)
focal_class.class_method_signature: DoubleList.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: DoubleList.toArray()
focal_class.full_signature: public double[] toArray()
focal_class.identifier: toArray
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] toArray()
focal_class.class_method_signature: DoubleList.toArray(final double[] a)
focal_class.full_signature: public double[] toArray(final double[] a)
focal_class.identifier: toArray
focal_class.modifiers: public
focal_class.parameters: (final double[] a)
focal_class.return: double[]
focal_class.signature: double[] toArray(final double[] a)
focal_class.class_method_signature: DoubleList.growArray(final int new_size)
focal_class.full_signature: private void growArray(final int new_size)
focal_class.identifier: growArray
focal_class.modifiers: private
focal_class.parameters: (final int new_size)
focal_class.return: void
focal_class.signature: void growArray(final int new_size)
focal_class.class_method_signature: DoubleList.stream()
focal_class.full_signature: public DoubleStream stream()
focal_class.identifier: stream
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DoubleStream
focal_class.signature: DoubleStream stream()
focal_class.class_method_signature: DoubleList.replaceAll(DoubleUnaryOperator operator)
focal_class.full_signature: public void replaceAll(DoubleUnaryOperator operator)
focal_class.identifier: replaceAll
focal_class.modifiers: public
focal_class.parameters: (DoubleUnaryOperator operator)
focal_class.return: void
focal_class.signature: void replaceAll(DoubleUnaryOperator operator)
focal_class.class_method_signature: DoubleList.sort()
focal_class.full_signature: public void sort()
focal_class.identifier: sort
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sort()
focal_class.class_method_signature: DoubleList.spliterator()
focal_class.full_signature: public Spliterator.OfDouble spliterator()
focal_class.identifier: spliterator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Spliterator.OfDouble
focal_class.signature: Spliterator.OfDouble spliterator()
focal_class.class_method_signature: DoubleList.removeIf(DoublePredicate filter)
focal_class.full_signature: public boolean removeIf(DoublePredicate filter)
focal_class.identifier: removeIf
focal_class.modifiers: public
focal_class.parameters: (DoublePredicate filter)
focal_class.return: boolean
focal_class.signature: boolean removeIf(DoublePredicate filter)
focal_class.class_method_signature: DoubleList.forEach(DoubleConsumer action)
focal_class.full_signature: public void forEach(DoubleConsumer action)
focal_class.identifier: forEach
focal_class.modifiers: public
focal_class.parameters: (DoubleConsumer action)
focal_class.return: void
focal_class.signature: void forEach(DoubleConsumer action)
focal_method.body: public void sort() {
          Arrays.sort(_array, 0, _limit);
      }
focal_method.class_method_signature: DoubleList.sort()
focal_method.full_signature: public void sort()
focal_method.identifier: sort
focal_method.invocations: sort
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void sort()