internal static ICollection <object> QueryWLog(
            MXCIFQuadTree quadTree,
            double x,
            double y,
            double width,
            double height)
        {
            var values = MXCIFQuadTreeRowIndexQuery.QueryRange(quadTree, x, y, width, height);

            // Comment-me-in: System.out.println("// query(tree, " + x + ", " + y + ", " + width + ", " + height + "); -=> " + values);
            return(values);
        }
        internal static void AssertFound(
            MXCIFQuadTree quadTree,
            double x,
            double y,
            double width,
            double height,
            object[] ids)
        {
            var values = MXCIFQuadTreeRowIndexQuery.QueryRange(quadTree, x, y, width, height);

            if (ids == null || ids.Length == 0)
            {
                Assert.IsTrue(values == null);
            }
            else
            {
                if (values == null)
                {
                    Assert.Fail("Nothing returned, expected " + Arrays.AsList(ids));
                }

                EPAssertionUtil.AssertEqualsAnyOrder(ids, values.ToArray());
            }
        }