Package org.eclipse.emf.spi.cdo
Class InternalCDOView.ViewAndState
java.lang.Object
org.eclipse.emf.spi.cdo.InternalCDOView.ViewAndState
- Enclosing interface:
- InternalCDOView
Optimizes the storage of
CDOObject.cdoView() and CDOObject.cdoState(). All objects of a view
share a small number of CDOState literals, so they are moved into a final AbstractCDOView.viewAndStates array.
For the TRANSIENT state, where there is no view associated with a CDOObject, this class
maintains a static VIEW_AND_STATES array.- Since:
- 4.2
- Author:
- Eike Stepper
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CDOStatestatic final InternalCDOView.ViewAndStatefinal InternalCDOView -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalCDOView.ViewAndState[]create(InternalCDOView view) getViewAndState(CDOState state) toString()