com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Key<T,K>

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<Key<T,K>>
        • com.aspose.tasks.Key<T,K>
  • Type Parameters:
    T - The type of property value.
    K - The type of property key.


    public class Key<T,K>
    extends com.aspose.ms.lang.Struct<Key<T,K>>

    Represents a property key of a class of the specified type. An instance of this class is used when getting or setting property of a container.

    • Method Detail

      • Clone

        public Key<T,K> Clone()
        Returns deep copy of the instance.
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<Key<T,K>>
        Returns:
        deep copy of the instance.
      • CloneTo

        public void CloneTo(Key<T,K> that)
        Makes a deep copy of the instance into another instance.
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<Key<T,K>>
        Parameters:
        that - another instance.
      • equals

        public boolean equals(Object obj)
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
      • equals

        public static boolean equals(Key obj1,
                                     Key obj2)
        Returns a value indicating whether specified obj1 instance is equal to the specified obj2 instance.
        Parameters:
        obj1 - the first object to compare.
        obj2 - the second object to compare.
        Returns:
        returns true if specified obj1 instance is equal to the specified obj2 instance; otherwise, false.
      • hashCode

        public int hashCode()
        Returns a hash code for the instance of the Key class.
        Overrides:
        hashCode in class Object
        Returns:
        returns a hash code for this object.