Class CpuKey
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.system.rev200413.system.cpu.top.cpus.CpuKey
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.concepts.Identifier,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.yang.binding.Key<Cpu>
@Generated("mdsal-binding-generator")
public class CpuKey
extends Object
implements org.opendaylight.yangtools.yang.binding.Key<Cpu>
This class represents the key of
Cpu class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCpuKey(@NonNull SystemCpuState.Index _index) Constructs an instance.Creates a copy from Source Object. -
Method Summary
-
Constructor Details
-
CpuKey
Constructs an instance.- Parameters:
_index- the entity index- Throws:
NullPointerException- if any of the arguments are null
-
CpuKey
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details
-
getIndex
Return index, guaranteed to be non-null.- Returns:
Indexindex, guaranteed to be non-null.
-
hashCode
public int hashCode() -
equals
-
toString
-