Package com._1c.g5.v8.dt.lcore.util
Class FeatureIndex
java.lang.Object
com._1c.g5.v8.dt.lcore.util.FeatureIndex
Groups a feature with a value index.
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature, int index) Constructs a new feature/index. -
Method Summary
-
Constructor Details
-
FeatureIndex
public FeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature, int index) Constructs a new feature/index.- Parameters:
feature- a feature (notnull)index- the index of a value in the list of feature values. Ignored if the feature is single-valued
-
-
Method Details
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()Returns the feature.- Returns:
- the feature (never
null)
-
getIndex
public int getIndex()Returns the index of a value in the list of feature values. Returns0if the feature is single-valued.- Returns:
- the value index
-
equals
-
hashCode
public int hashCode() -
toString
-