@API(value=UNSTABLE) public interface PlanHashable
Object.hashCode()
.Modifier and Type | Method and Description |
---|---|
static int |
combineHashes(List<Integer> hashes) |
static int |
iterablePlanHash(Iterable<?> objects) |
static int |
objectPlanHash(Object obj) |
static int |
objectsPlanHash(Object... objects) |
int |
planHash()
Return a hash similar to
hashCode , but with the additional guarantee that is is stable across JVMs. |
static int |
planHash(Iterable<? extends PlanHashable> hashables) |
static int |
planHash(PlanHashable... hashables) |
static int |
planHashUnordered(Iterable<? extends PlanHashable> hashables) |
static int |
stringHashUnordered(Iterable<String> strings) |
int planHash()
hashCode
, but with the additional guarantee that is is stable across JVMs.static int planHash(@Nonnull Iterable<? extends PlanHashable> hashables)
static int planHash(PlanHashable... hashables)
static int planHashUnordered(@Nonnull Iterable<? extends PlanHashable> hashables)
static int objectsPlanHash(Object... objects)