@Test public void shouldBeAbleToReturnTheOneOfTheFiniteField() { FiniteField.Element<Z> one = field.getOne(); assertEquals(field, one.getFiniteField()); }
@Override public FiniteField.Element<Z> getOne() { return element(BigInteger.ONE); }
Z implements Identifiable, FiniteField<Z> { @Override public FiniteField.Element<Z> getOne() { return element(BigInteger.ONE); } }
Z implements Identifiable, FiniteField<Z> { @Override public FiniteField.Element<Z> getOne() { return element(BigInteger.ONE); } Z(int q);  Z(int q, Random random);  Z(BigInteger q);  Z(BigInteger q, Random random); }
Z implements Identifiable, FiniteField<Z> { @Override public FiniteField.Element<Z> getOne() { return element(BigInteger.ONE); } Z(int q);  Z(int q, Random random);  Z(BigInteger q);  Z(BigInteger q, Random random); @Override String getIdentity(); @Override FiniteField.Element<Z> getZero(); FiniteField.Element<Z> element(BigInteger element); FiniteField.Element<Z> element(Integer element); @Override FiniteField.Element<Z> getOne(); @Override FiniteField.Element<Z> getRandomElement(); }
Z implements Identifiable, FiniteField<Z> { @Override public FiniteField.Element<Z> getOne() { return element(BigInteger.ONE); } Z(int q);  Z(int q, Random random);  Z(BigInteger q);  Z(BigInteger q, Random random); @Override String getIdentity(); @Override FiniteField.Element<Z> getZero(); FiniteField.Element<Z> element(BigInteger element); FiniteField.Element<Z> element(Integer element); @Override FiniteField.Element<Z> getOne(); @Override FiniteField.Element<Z> getRandomElement();  }