Package graphql.util
Class Interning
- java.lang.Object
-
- graphql.util.Interning
-
public class Interning extends java.lang.Object
Interner allowing object-identity comparison of key entities like field names. This is useful on hotspot areas like the engine where we look up field names a lot inside maps, and those maps use object identity first inside the key lookup code.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull java.lang.String
intern(@NonNull java.lang.String name)
-