GapPenalties { public static GapPenalties create(final int match, final int replace, final int insert, final int delete, final int extend) { return new GapPenalties((short) match, (short) replace, (short) insert, (short) delete, (short) extend); } private  GapPenalties(final short match,
                         final short replace,
                         final short insert,
                         final short delete,
                         final short extend); short match(); short replace(); short insert(); short delete(); short extend(); static Builder builder(); static GapPenalties create(final int match,
                                      final int replace,
                                      final int insert,
                                      final int delete,
                                      final int extend);  }
@Test public void testCreate() { GapPenalties gapPenalties = create(0, 1, 2, 3, 4); assertEquals((short) 0, gapPenalties.match()); assertEquals((short) 1, gapPenalties.replace()); assertEquals((short) 2, gapPenalties.insert()); assertEquals((short) 3, gapPenalties.delete()); assertEquals((short) 4, gapPenalties.extend()); }