Class InternedIRI

java.lang.Object
org.eclipse.rdf4j.model.base.InternedIRI
All Implemented Interfaces:
Serializable, IRI, Resource, Value

@InternalUseOnly public final class InternedIRI extends Object implements IRI
An IRI implementation that interns the stringValue so that two objects can be compared by their stringValue reference. Must only be used for IRIs that are effectively ´public static final´ and only for a very limited number of objects because string interning affects the GC root set (https://shipilev.net/jvm/anatomy-quarks/10-string-intern/).
See Also: