Uses of Class
io.netty.util.DefaultAttributeMap.DefaultAttribute
-
Packages that use DefaultAttributeMap.DefaultAttribute Package Description io.netty.util Utility classes used across multiple packages. -
-
Uses of DefaultAttributeMap.DefaultAttribute in io.netty.util
Fields in io.netty.util declared as DefaultAttributeMap.DefaultAttribute Modifier and Type Field Description private DefaultAttributeMap.DefaultAttribute[]
DefaultAttributeMap. attributes
private static DefaultAttributeMap.DefaultAttribute[]
DefaultAttributeMap. EMPTY_ATTRIBUTES
Fields in io.netty.util with type parameters of type DefaultAttributeMap.DefaultAttribute Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicReferenceFieldUpdater<DefaultAttributeMap.DefaultAttribute,DefaultAttributeMap>
DefaultAttributeMap.DefaultAttribute. MAP_UPDATER
Methods in io.netty.util with parameters of type DefaultAttributeMap.DefaultAttribute Modifier and Type Method Description private static void
DefaultAttributeMap. orderedCopyOnInsert(DefaultAttributeMap.DefaultAttribute[] sortedSrc, int srcLength, DefaultAttributeMap.DefaultAttribute[] copy, DefaultAttributeMap.DefaultAttribute toInsert)
private <T> void
DefaultAttributeMap. removeAttributeIfMatch(AttributeKey<T> key, DefaultAttributeMap.DefaultAttribute<T> value)
private static int
DefaultAttributeMap. searchAttributeByKey(DefaultAttributeMap.DefaultAttribute[] sortedAttributes, AttributeKey<?> key)
Similarly toArrays::binarySearch
it perform a binary search optimized for this use case, in order to save polymorphic calls (on comparator side) and unnecessary class checks.
-