See also: Data Transfer / Primitive Management for how Adhoc handles primitive types at runtime.
ints are generally treated as longs.
- Aggregations (e.g.
SUM) will automatically turnsintintolong EqualsMatcher,InMatcherandComparingMatcherwill automatically turnsintintolong
floats are generally treated as doubles.
SUMwill automatically turnsfloatintodoubleEqualsMatcher,InMatcherandComparingMatcherwill automatically turnsfloatintodouble
- Aggregations should generally aggregates as
long, elsedouble.