/** * Returns the {@link Signal} of the specified name. */ public static Signal valueOf(String name) { return pool.valueOf(name); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public static Signal valueOf(Class<?> firstNameComponent, String secondNameComponent) { return pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) { return (ChannelOption<T>) pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the {@link ChannelOption} of the specified name. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(String name) { return (ChannelOption<T>) pool.valueOf(name); }
/** * Returns the singleton instance of the {@link AttributeKey} which has the specified {@code name}. */ @SuppressWarnings("unchecked") public static <T> AttributeKey<T> valueOf(String name) { return (AttributeKey<T>) pool.valueOf(name); }
@SuppressWarnings("unchecked") public static <T> AttributeKey<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) { return (AttributeKey<T>) pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the {@link ChannelOption} of the specified name. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(String name) { return (ChannelOption<T>) pool.valueOf(name); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) { return (ChannelOption<T>) pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the {@link Signal} of the specified name. */ public static Signal valueOf(String name) { return pool.valueOf(name); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public static Signal valueOf(Class<?> firstNameComponent, String secondNameComponent) { return pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the singleton instance of the {@link AttributeKey} which has the specified {@code name}. */ @SuppressWarnings("unchecked") public static <T> AttributeKey<T> valueOf(String name) { return (AttributeKey<T>) pool.valueOf(name); }
@SuppressWarnings("unchecked") public static <T> AttributeKey<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) { return (AttributeKey<T>) pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the {@link Signal} of the specified name. */ public static Signal valueOf(String name) { return pool.valueOf(name); }
/** * Returns the singleton instance of the {@link AttributeKey} which has the specified {@code name}. */ @SuppressWarnings("unchecked") public static <T> AttributeKey<T> valueOf(String name) { return (AttributeKey<T>) pool.valueOf(name); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public static Signal valueOf(Class<?> firstNameComponent, String secondNameComponent) { return pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Returns the {@link ChannelOption} of the specified name. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(String name) { return (ChannelOption<T>) pool.valueOf(name); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ @SuppressWarnings("unchecked") public static <T> ChannelOption<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) { return (ChannelOption<T>) pool.valueOf(firstNameComponent, secondNameComponent); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public T valueOf(Class<?> firstNameComponent, String secondNameComponent) { if (firstNameComponent == null) { throw new NullPointerException("firstNameComponent"); } if (secondNameComponent == null) { throw new NullPointerException("secondNameComponent"); } return valueOf(firstNameComponent.getName() + '#' + secondNameComponent); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public T valueOf(Class<?> firstNameComponent, String secondNameComponent) { if (firstNameComponent == null) { throw new NullPointerException("firstNameComponent"); } if (secondNameComponent == null) { throw new NullPointerException("secondNameComponent"); } return valueOf(firstNameComponent.getName() + '#' + secondNameComponent); }
/** * Shortcut of {@link #valueOf(String) valueOf(firstNameComponent.getName() + "#" + secondNameComponent)}. */ public T valueOf(Class<?> firstNameComponent, String secondNameComponent) { if (firstNameComponent == null) { throw new NullPointerException("firstNameComponent"); } if (secondNameComponent == null) { throw new NullPointerException("secondNameComponent"); } return valueOf(firstNameComponent.getName() + '#' + secondNameComponent); }