Class GroupAttrName<T>

java.lang.Object
org.apache.commons.jcs3.engine.control.group.GroupAttrName<T>
All Implemented Interfaces:
Serializable

public class GroupAttrName<T> extends Object implements Serializable
Description of the Class
See Also:
  • Field Details

    • groupId

      public final GroupId groupId
      Description of the Field
    • attrName

      public final T attrName
      the name of the attribute
  • Constructor Details

    • GroupAttrName

      public GroupAttrName(GroupId groupId, T attrName)
      Constructor for the GroupAttrName object
      Parameters:
      groupId -
      attrName -
  • Method Details

    • equals

      public boolean equals(Object obj)
      Tests object equality.
      Overrides:
      equals in class Object
      Parameters:
      obj - The GroupAttrName instance to test.
      Returns:
      Whether equal.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Returns:
      A hash code based on the hash code of @ #groupid} and attrName.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      the cached value.