Package jetbrains.mps.lang.smodel
Class LanguageConceptIndex
- java.lang.Object
 - 
- jetbrains.mps.lang.smodel.LanguageConceptIndex
 
 
- 
- All Implemented Interfaces:
 ConceptIndex
public final class LanguageConceptIndex extends Object implements ConceptIndex
Index for concepts from the same language.- Since:
 - 3.5
 - See Also:
 LanguageConceptIndexBuilder
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intindex(SConceptId cid)Internal API, intended for use from StructureAspectDescriptor.intindex(SAbstractConcept c, int missingValue)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.lang.smodel.ConceptIndex
index 
 - 
 
 - 
 
- 
- 
Method Detail
- 
index
public int index(SConceptId cid)
Internal API, intended for use from StructureAspectDescriptor. 
- 
index
public int index(SAbstractConcept c, int missingValue)
- Specified by:
 indexin interfaceConceptIndex- Parameters:
 c- concept to look upmissingValue- value indicating index miss- Returns:
 - integer index of the concept, or 
missingValueif concept is null or not known to the index. 
 
 - 
 
 -