Interface Primitive


  • public interface Primitive
    A marker interface for indicating that a view is "primitive", i.e., it is not a transformation of another view.

    Primitive is only of concern to implementers of custom views.

    It is optional for custom views to mix in this trait. If present, internal copying routines in the collection-views library may use this as a hint for optimization.

    While presence of Primitive indicates that the view is not a transformation, you should not rely on the absence of Primitive to indicate that it is a transformation.