@Test public void testEquals() { final AlarmId id1 = AlarmId.alarmId(11111L); final AlarmId sameAsId1 = AlarmId.alarmId(11111L); final AlarmId id2 = AlarmId.alarmId(22222L); new EqualsTester() .addEqualityGroup(id1, sameAsId1) .addEqualityGroup(id2) .testEquals(); }
private AlarmId(long id) { super(id); checkArgument(id != 0L, "id must be non-zero"); }
AlarmId extends Identifier<Long> { private AlarmId(long id) { super(id); checkArgument(id != 0L, "id must be non-zero"); } }
AlarmId extends Identifier<Long> { private AlarmId(long id) { super(id); checkArgument(id != 0L, "id must be non-zero"); } private  AlarmId(long id); private  AlarmId(); }
AlarmId extends Identifier<Long> { private AlarmId(long id) { super(id); checkArgument(id != 0L, "id must be non-zero"); } private  AlarmId(long id); private  AlarmId(); static AlarmId alarmId(long value); long fingerprint(); }
AlarmId extends Identifier<Long> { private AlarmId(long id) { super(id); checkArgument(id != 0L, "id must be non-zero"); } private  AlarmId(long id); private  AlarmId(); static AlarmId alarmId(long value); long fingerprint(); static final AlarmId NONE; }