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 Objectclone()Key<T,K>Clone()Returns deep copy of the instance.voidCloneTo(Key<T,K> that)Makes a deep copy of the instance into another instance.static booleanequals(Key obj1, Key obj2)Returns a value indicating whether specifiedobj1instance is equal to the specifiedobj2instance.booleanequals(Object obj)inthashCode()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 specifiedobj1instance is equal to the specifiedobj2instance.- Parameters:
obj1- the first object to compare.obj2- the second object to compare.- Returns:
- returns true if specified
obj1instance is equal to the specifiedobj2instance; otherwise, false.
-
-