Package 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Key<T,K>
Clone()
Returns deep copy of the instance.void
CloneTo(Key<T,K> that)
Makes a deep copy of the instance into another instance.static boolean
equals(Key obj1, Key obj2)
Returns a value indicating whether specifiedobj1
instance is equal to the specifiedobj2
instance.boolean
equals(Object obj)
int
hashCode()
Returns a hash code for the instance of the Key class.
-
-
-
Method Detail
-
CloneTo
public void CloneTo(Key<T,K> that)
Makes a deep copy of the instance into another instance.
-
clone
public Object clone()
- Returns:
-
equals
public boolean equals(Object obj)
-
equals
public static boolean equals(Key obj1, Key obj2)
Returns a value indicating whether specifiedobj1
instance is equal to the specifiedobj2
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 specifiedobj2
instance; otherwise, false.
-
-