test_class.declarator: dataFirstPart = new double[] {0., 0., 0., 0., 1., 1., 1, 2., 2., 3., 4., 5.}
test_class.modifier: private
test_class.original_string: private double[] dataFirstPart = new double[] {0., 0., 0., 0., 1., 1., 1, 2., 2., 3., 4., 5.};
test_class.type: double[]
test_class.var_name: dataFirstPart
test_class.declarator: dataSecondPart = new double[] {0., 1., 0., 1., 0., 1., 0, 1., 0., 1., 0., 5., 6.}
test_class.modifier: private
test_class.original_string: private double[] dataSecondPart = new double[] {0., 1., 0., 1., 0., 1., 0, 1., 0., 1., 0., 5., 6.};
test_class.type: double[]
test_class.var_name: dataSecondPart
test_class.declarator: hist1
test_class.modifier: private
test_class.original_string: private ObjectHistogram<Double> hist1;
test_class.type: ObjectHistogram<Double>
test_class.var_name: hist1
test_class.declarator: hist2
test_class.modifier: private
test_class.original_string: private ObjectHistogram<Double> hist2;
test_class.type: ObjectHistogram<Double>
test_class.var_name: hist2
test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/dataset/feature/ObjectHistogramTest.java
test_class.identifier: ObjectHistogramTest
test_case.body: @Test
      public void testBuckets() {
          testBuckets(hist1, new int[] {0, 1, 2, 3, 4, 5}, new int[] {4, 3, 2, 1, 1, 1});
          testBuckets(hist2, new int[] {0, 1, 5, 6}, new int[] {6, 5, 1, 1});
      }
test_case.class_method_signature: ObjectHistogramTest.testBuckets()
test_case.full_signature: @Test public void testBuckets()
test_case.identifier: testBuckets
test_case.invocations: testBuckets testBuckets
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBuckets()
focal_class.declarator: serialVersionUID = -2708731174031404487L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -2708731174031404487L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: hist = new TreeMap<>()
focal_class.modifier: private final
focal_class.original_string: private final TreeMap<Integer, Double> hist = new TreeMap<>();
focal_class.type: TreeMap<Integer, Double>
focal_class.var_name: hist
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/dataset/feature/ObjectHistogram.java
focal_class.identifier: ObjectHistogram
focal_class.interfaces: implements Histogram<T, ObjectHistogram<T>>, DistributionComputer
focal_class.class_method_signature: ObjectHistogram.addElement(T val)
focal_class.full_signature: @Override public void addElement(T val)
focal_class.identifier: addElement
focal_class.modifiers: @Override public
focal_class.parameters: (T val)
focal_class.return: void
focal_class.signature: void addElement(T val)
focal_class.class_method_signature: ObjectHistogram.buckets()
focal_class.full_signature: @Override public Set<Integer> buckets()
focal_class.identifier: buckets
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<Integer>
focal_class.signature: Set<Integer> buckets()
focal_class.class_method_signature: ObjectHistogram.getValue(Integer bucketId)
focal_class.full_signature: @Override public Optional<Double> getValue(Integer bucketId)
focal_class.identifier: getValue
focal_class.modifiers: @Override public
focal_class.parameters: (Integer bucketId)
focal_class.return: Optional<Double>
focal_class.signature: Optional<Double> getValue(Integer bucketId)
focal_class.class_method_signature: ObjectHistogram.computeDistributionFunction()
focal_class.full_signature: @Override public TreeMap<Integer, Double> computeDistributionFunction()
focal_class.identifier: computeDistributionFunction
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TreeMap<Integer, Double>
focal_class.signature: TreeMap<Integer, Double> computeDistributionFunction()
focal_class.class_method_signature: ObjectHistogram.plus(ObjectHistogram<T> other)
focal_class.full_signature: @Override public ObjectHistogram<T> plus(ObjectHistogram<T> other)
focal_class.identifier: plus
focal_class.modifiers: @Override public
focal_class.parameters: (ObjectHistogram<T> other)
focal_class.return: ObjectHistogram<T>
focal_class.signature: ObjectHistogram<T> plus(ObjectHistogram<T> other)
focal_class.class_method_signature: ObjectHistogram.addTo(Map<Integer, Double> from, Map<Integer, Double> to)
focal_class.full_signature: private void addTo(Map<Integer, Double> from, Map<Integer, Double> to)
focal_class.identifier: addTo
focal_class.modifiers: private
focal_class.parameters: (Map<Integer, Double> from, Map<Integer, Double> to)
focal_class.return: void
focal_class.signature: void addTo(Map<Integer, Double> from, Map<Integer, Double> to)
focal_class.class_method_signature: ObjectHistogram.isEqualTo(ObjectHistogram<T> other)
focal_class.full_signature: @Override public boolean isEqualTo(ObjectHistogram<T> other)
focal_class.identifier: isEqualTo
focal_class.modifiers: @Override public
focal_class.parameters: (ObjectHistogram<T> other)
focal_class.return: boolean
focal_class.signature: boolean isEqualTo(ObjectHistogram<T> other)
focal_class.class_method_signature: ObjectHistogram.mapToBucket(T obj)
focal_class.full_signature: public abstract Integer mapToBucket(T obj)
focal_class.identifier: mapToBucket
focal_class.modifiers: public abstract
focal_class.parameters: (T obj)
focal_class.return: Integer
focal_class.signature: Integer mapToBucket(T obj)
focal_class.class_method_signature: ObjectHistogram.mapToCounter(T obj)
focal_class.full_signature: public abstract Double mapToCounter(T obj)
focal_class.identifier: mapToCounter
focal_class.modifiers: public abstract
focal_class.parameters: (T obj)
focal_class.return: Double
focal_class.signature: Double mapToCounter(T obj)
focal_class.class_method_signature: ObjectHistogram.newInstance()
focal_class.full_signature: public abstract ObjectHistogram<T> newInstance()
focal_class.identifier: newInstance
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: ObjectHistogram<T>
focal_class.signature: ObjectHistogram<T> newInstance()
focal_method.body: @Override public Set<Integer> buckets() {
          return hist.keySet();
      }
focal_method.class_method_signature: ObjectHistogram.buckets()
focal_method.full_signature: @Override public Set<Integer> buckets()
focal_method.identifier: buckets
focal_method.invocations: keySet
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Set<Integer>
focal_method.signature: Set<Integer> buckets()