test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/quantile/GroupTreeTest.java
test_class.identifier: GroupTreeTest
test_case.body: @Test
      public void testFloor() {
          // mostly tested in other tests
          GroupTree x = new GroupTree();
          for (int i = 0; i < 101; i++) {
              x.add(new TDigest.Group(i / 2));
          }
  
          assertNull(x.floor(new TDigest.Group(-30)));
      }
test_case.class_method_signature: GroupTreeTest.testFloor()
test_case.full_signature: @Test public void testFloor()
test_case.identifier: testFloor
test_case.invocations: add assertNull floor
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFloor()
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private int count;
focal_class.type: int
focal_class.var_name: count
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: depth
focal_class.modifier: private
focal_class.original_string: private int depth;
focal_class.type: int
focal_class.var_name: depth
focal_class.declarator: leaf
focal_class.modifier: private
focal_class.original_string: private TDigest.Group leaf;
focal_class.type: TDigest.Group
focal_class.var_name: leaf
focal_class.declarator: left
focal_class.modifier: private
focal_class.original_string: private GroupTree left, right;
focal_class.type: GroupTree
focal_class.var_name: left
focal_class.file: ml/streaminer/src/main/java/org/streaminer/stream/quantile/GroupTree.java
focal_class.identifier: GroupTree
focal_class.interfaces: implements Iterable<TDigest.Group>
focal_class.class_method_signature: GroupTree.GroupTree()
focal_class.full_signature: public  GroupTree()
focal_class.identifier: GroupTree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  GroupTree()
focal_class.class_method_signature: GroupTree.GroupTree(TDigest.Group leaf)
focal_class.full_signature: public  GroupTree(TDigest.Group leaf)
focal_class.identifier: GroupTree
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group leaf)
focal_class.signature:  GroupTree(TDigest.Group leaf)
focal_class.class_method_signature: GroupTree.GroupTree(GroupTree left, GroupTree right)
focal_class.full_signature: public  GroupTree(GroupTree left, GroupTree right)
focal_class.identifier: GroupTree
focal_class.modifiers: public
focal_class.parameters: (GroupTree left, GroupTree right)
focal_class.signature:  GroupTree(GroupTree left, GroupTree right)
focal_class.class_method_signature: GroupTree.add(TDigest.Group group)
focal_class.full_signature: public void add(TDigest.Group group)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group group)
focal_class.return: void
focal_class.signature: void add(TDigest.Group group)
focal_class.class_method_signature: GroupTree.rebalance()
focal_class.full_signature: private void rebalance()
focal_class.identifier: rebalance
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rebalance()
focal_class.class_method_signature: GroupTree.rotate(GroupTree a, GroupTree b, GroupTree c, GroupTree d)
focal_class.full_signature: private void rotate(GroupTree a, GroupTree b, GroupTree c, GroupTree d)
focal_class.identifier: rotate
focal_class.modifiers: private
focal_class.parameters: (GroupTree a, GroupTree b, GroupTree c, GroupTree d)
focal_class.return: void
focal_class.signature: void rotate(GroupTree a, GroupTree b, GroupTree c, GroupTree d)
focal_class.class_method_signature: GroupTree.depth()
focal_class.full_signature: private int depth()
focal_class.identifier: depth
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int depth()
focal_class.class_method_signature: GroupTree.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: GroupTree.headCount(TDigest.Group base)
focal_class.full_signature: public int headCount(TDigest.Group base)
focal_class.identifier: headCount
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group base)
focal_class.return: int
focal_class.signature: int headCount(TDigest.Group base)
focal_class.class_method_signature: GroupTree.headSum(TDigest.Group base)
focal_class.full_signature: public int headSum(TDigest.Group base)
focal_class.identifier: headSum
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group base)
focal_class.return: int
focal_class.signature: int headSum(TDigest.Group base)
focal_class.class_method_signature: GroupTree.first()
focal_class.full_signature: public TDigest.Group first()
focal_class.identifier: first
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TDigest.Group
focal_class.signature: TDigest.Group first()
focal_class.class_method_signature: GroupTree.iterator()
focal_class.full_signature: public Iterator<TDigest.Group> iterator()
focal_class.identifier: iterator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterator<TDigest.Group>
focal_class.signature: Iterator<TDigest.Group> iterator()
focal_class.class_method_signature: GroupTree.iterator(final TDigest.Group start)
focal_class.full_signature: private Iterator<TDigest.Group> iterator(final TDigest.Group start)
focal_class.identifier: iterator
focal_class.modifiers: private
focal_class.parameters: (final TDigest.Group start)
focal_class.return: Iterator<TDigest.Group>
focal_class.signature: Iterator<TDigest.Group> iterator(final TDigest.Group start)
focal_class.class_method_signature: GroupTree.remove(TDigest.Group base)
focal_class.full_signature: public void remove(TDigest.Group base)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group base)
focal_class.return: void
focal_class.signature: void remove(TDigest.Group base)
focal_class.class_method_signature: GroupTree.floor(TDigest.Group base)
focal_class.full_signature: public TDigest.Group floor(TDigest.Group base)
focal_class.identifier: floor
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group base)
focal_class.return: TDigest.Group
focal_class.signature: TDigest.Group floor(TDigest.Group base)
focal_class.class_method_signature: GroupTree.last()
focal_class.full_signature: public TDigest.Group last()
focal_class.identifier: last
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TDigest.Group
focal_class.signature: TDigest.Group last()
focal_class.class_method_signature: GroupTree.ceiling(TDigest.Group base)
focal_class.full_signature: public TDigest.Group ceiling(TDigest.Group base)
focal_class.identifier: ceiling
focal_class.modifiers: public
focal_class.parameters: (TDigest.Group base)
focal_class.return: TDigest.Group
focal_class.signature: TDigest.Group ceiling(TDigest.Group base)
focal_class.class_method_signature: GroupTree.tailSet(final TDigest.Group start)
focal_class.full_signature: public Iterable<TDigest.Group> tailSet(final TDigest.Group start)
focal_class.identifier: tailSet
focal_class.modifiers: public
focal_class.parameters: (final TDigest.Group start)
focal_class.return: Iterable<TDigest.Group>
focal_class.signature: Iterable<TDigest.Group> tailSet(final TDigest.Group start)
focal_class.class_method_signature: GroupTree.sum()
focal_class.full_signature: public int sum()
focal_class.identifier: sum
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int sum()
focal_class.class_method_signature: GroupTree.checkBalance()
focal_class.full_signature: public void checkBalance()
focal_class.identifier: checkBalance
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkBalance()
focal_class.class_method_signature: GroupTree.print(int depth)
focal_class.full_signature: public void print(int depth)
focal_class.identifier: print
focal_class.modifiers: public
focal_class.parameters: (int depth)
focal_class.return: void
focal_class.signature: void print(int depth)
focal_method.body: public TDigest.Group floor(TDigest.Group base) {
          if (size == 0) {
              return null;
          } else {
              if (size == 1) {
                  return base.compareTo(leaf) >= 0 ? leaf : null;
              } else {
                  if (base.compareTo(leaf) < 0) {
                      return left.floor(base);
                  } else {
                      TDigest.Group floor = right.floor(base);
                      if (floor == null) {
                          floor = left.last();
                      }
                      return floor;
                  }
              }
          }
      }
focal_method.class_method_signature: GroupTree.floor(TDigest.Group base)
focal_method.full_signature: public TDigest.Group floor(TDigest.Group base)
focal_method.identifier: floor
focal_method.invocations: compareTo compareTo floor floor last
focal_method.modifiers: public
focal_method.parameters: (TDigest.Group base)
focal_method.return: TDigest.Group
focal_method.signature: TDigest.Group floor(TDigest.Group base)