@Test public void equals() { State a = State.of((byte) 0x1, (byte) 0x2); State b = State.of((byte) 0x1, (byte) 0x2); State c = State.of((byte) 0x1, (byte) 0x4); byte array[] = {(byte) 0x1, (byte) 0x2}; assertThat(a.equals(a), is(true)); assertThat(a.equals(b), is(true)); assertThat(a.equals(c), is(false)); assertThat(a.equals(1), is(false)); assertThat(a.equals((byte) 1), is(false)); assertThat(a.equals(array), is(false)); }
public static State of(byte... values) { return new State(values); }
State extends UnsignedShortLEByteValue { public static State of(byte... values) { return new State(values); } }
State extends UnsignedShortLEByteValue { public static State of(byte... values) { return new State(values); } private  State(byte... values); private  State(int value); private  State(String stateId); private  State(ByteBuf byteBuf); }
State extends UnsignedShortLEByteValue { public static State of(byte... values) { return new State(values); } private  State(byte... values); private  State(int value); private  State(String stateId); private  State(ByteBuf byteBuf); static State of(byte... values); static State of(int value); static State of(ByteBuf byteBuf); static State of(String stateId); boolean isRequest(); @Override String toString(); }
State extends UnsignedShortLEByteValue { public static State of(byte... values) { return new State(values); } private  State(byte... values); private  State(int value); private  State(String stateId); private  State(ByteBuf byteBuf); static State of(byte... values); static State of(int value); static State of(ByteBuf byteBuf); static State of(String stateId); boolean isRequest(); @Override String toString(); static final State DEFAULT; static final State DEFAULT_RESPONSE; static final int NUM_BYTES; }