class DefaultPartition implements Partition {

    @Override
    public boolean equals(Object other) {
        if (!(other instanceof DefaultPartition)) {
            return false;
        }
        DefaultPartition that = (DefaultPartition) other;
        return this.getId().equals(that.getId()) &&
                Sets.symmetricDifference(Sets.newHashSet(this.members), Sets.newHashSet(that.members)).isEmpty();
    }

    protected  DefaultPartition();
    public  DefaultPartition(PartitionId id, Collection<NodeId> members);
    public  DefaultPartition(Partition other);

}