@Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        final Scene scene = (Scene) o;

        if (number != scene.number) return false;
        if (!meshUuid.equals(scene.meshUuid)) return false;
        if (!name.equals(scene.name)) return false;
        return addresses.equals(scene.addresses);
    }
Formats the scene number in to a 4 character hexadecimal String

@param number Scene number
@param add0x  Sets "0x" as prefix if set to true or false otherwise
mesh/src/main/java/no/nordicsemi/android/mesh/Scene.java