// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.philips.lighting.model; import java.util.Arrays; // Referenced classes of package com.philips.lighting.model: // PHBridgeResource public class PHGroup extends PHBridgeResource { private String lightIdentifiers[]; public PHGroup(PHGroup phgroup) { super(isNull(phgroup).getName(), isNull(phgroup).getIdentifier()); lightIdentifiers = phgroup.lightIdentifiers; } public PHGroup(String s, String s1) { super(s, s1); } private static PHGroup isNull(PHGroup phgroup) { if (phgroup == null) { throw new IllegalArgumentException("Input parameter can't be null"); } else { return phgroup; } } public boolean equals(Object obj) { if (this != obj) { if (!super.equals(obj)) { return false; } if (!(obj instanceof PHGroup)) { return false; } obj = (PHGroup)obj; if (!Arrays.equals(lightIdentifiers, ((PHGroup) (obj)).lightIdentifiers)) { return false; } } return true; } public String[] getLightIdentifiers() { return lightIdentifiers; } public int hashCode() { return Arrays.hashCode(lightIdentifiers) + 31; } public void setLightIdentifiers(String as[]) { lightIdentifiers = as; } }