commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <>
Subject ImmutablePair and compareTo()
Date Thu, 02 Mar 2017 21:55:11 GMT
I was going to replace my custom pair class with ImmutablePair but it looks
like the compareTo() methods in the superclass creates a LOT of objects on
each call. Any thoughts on a custom implementation that would not create to
much garbage to collect?

E-Mail: |
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition

Spring Batch in Action

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message