NoCopySpan.Concrete

  • NoCopySpan.Concrete provides a convenient way to create a NoCopySpan object without needing to define a new class.

  • It is essentially a pre-built, empty NoCopySpan object you can use directly for spans that should not be copied.

  • Developers should use NoCopySpan.Concrete instead of creating a new Object() for no-copy spans.

public static class NoCopySpan.Concrete extends Object
implements NoCopySpan

Convenience equivalent for when you would just want a new Object() for a span but want it to be no-copy. Use this instead.

Public Constructor Summary

Inherited Method Summary

Public Constructors

public Concrete ()