Home / Class/ DefaultEntry Class — netty Architecture

DefaultEntry Class — netty Architecture

Architecture documentation for the DefaultEntry class in DefaultChannelGroupFuture.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  61aaefde_fa11_c875_e1dd_b6cd91fc7a7d["DefaultEntry"]
  bf44c06f_5cc7_7329_6100_98a5c6929372["DefaultChannelGroupFuture.java"]
  61aaefde_fa11_c875_e1dd_b6cd91fc7a7d -->|defined in| bf44c06f_5cc7_7329_6100_98a5c6929372
  09e826e5_1171_c88f_5f7c_84e38297a50b["DefaultEntry()"]
  61aaefde_fa11_c875_e1dd_b6cd91fc7a7d -->|method| 09e826e5_1171_c88f_5f7c_84e38297a50b
  c96abb18_4000_78d7_5de8_e2eb04c121ac["K()"]
  61aaefde_fa11_c875_e1dd_b6cd91fc7a7d -->|method| c96abb18_4000_78d7_5de8_e2eb04c121ac
  7a4b2cd7_6038_3db6_cb6d_d65ae4e6c8a3["V()"]
  61aaefde_fa11_c875_e1dd_b6cd91fc7a7d -->|method| 7a4b2cd7_6038_3db6_cb6d_d65ae4e6c8a3

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java lines 235–258

    private static final class DefaultEntry<K, V> implements Map.Entry<K, V> {
        private final K key;
        private final V value;

        DefaultEntry(K key, V value) {
            this.key = key;
            this.value = value;
        }

        @Override
        public K getKey() {
            return key;
        }

        @Override
        public V getValue() {
            return value;
        }

        @Override
        public V setValue(V value) {
            throw new UnsupportedOperationException("read-only");
        }
    }

Frequently Asked Questions

What is the DefaultEntry class?
DefaultEntry is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java.
Where is DefaultEntry defined?
DefaultEntry is defined in transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java at line 235.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free