public class AxedPropertyClass extends Object implements Serializable
Class
for an axed property.IGeneric.SystemProperty
,
Serialized FormConstructor and Description |
---|
AxedPropertyClass(Class<?> clazz,
int axe)
Constructs an
AxedPropertyClass with the specified clazz and axe . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this
AxedPropertyClass to the specified object. |
int |
getAxe()
Returns the axe of the
SystemProperty . |
Class<?> |
getClazz()
Returns the
Class of the SystemProperty . |
int |
hashCode()
Returns a hash code for this
AxedPropertyClass . |
String |
toString()
Returns a
String object representing this AxedPropertyClass 's value. |
public AxedPropertyClass(Class<?> clazz, int axe)
AxedPropertyClass
with the specified clazz
and axe
.clazz
- the Class
of the SystemProperty
.axe
- the position of the SystemProperty
.public Class<?> getClazz()
Class
of the SystemProperty
.Class
of the SystemProperty
.public int getAxe()
SystemProperty
.SystemProperty
.public boolean equals(Object obj)
AxedPropertyClass
to the specified object. The result is true
if and only if the argument is not null
and is an AxedPropertyClass
object that contains the same class and axe as this
object.public int hashCode()
AxedPropertyClass
. The hash code for a AxedPropertyClass
object is computed as the hash code of the Class
of the SystemProperty
.public String toString()
String
object representing this AxedPropertyClass
's value. The string consists of the left brace character '{
', the word class
, a space character, a colon character ':
', a
space character, the name of the class of the system property, the comma character ',
', a space character, the word axe
, a space character, a colon character ':
', the axe for the system property and a right
brace character '}
'. In other words, this method returns a string equal to the value of:
"{class : " + clazz.getSimpleName() + ", axe : " + axe + "}"
Copyright © 2022. All rights reserved.