@Test public void testToString() { String s = get().toString(); assertThat(s).contains(PerParticleFeeEntry.class.getSimpleName()); }
@Override public String toString() { return String.format("%s[>%s %s, %s per particle]", getClass().getSimpleName(), this.threshold, this.particleType.getSimpleName(), this.fee); }
PerParticleFeeEntry implements FeeEntry { @Override public String toString() { return String.format("%s[>%s %s, %s per particle]", getClass().getSimpleName(), this.threshold, this.particleType.getSimpleName(), this.fee); } }
PerParticleFeeEntry implements FeeEntry { @Override public String toString() { return String.format("%s[>%s %s, %s per particle]", getClass().getSimpleName(), this.threshold, this.particleType.getSimpleName(), this.fee); } private  PerParticleFeeEntry(long threshold, Class<? extends Particle> particleType, UInt256 fee); }
PerParticleFeeEntry implements FeeEntry { @Override public String toString() { return String.format("%s[>%s %s, %s per particle]", getClass().getSimpleName(), this.threshold, this.particleType.getSimpleName(), this.fee); } private  PerParticleFeeEntry(long threshold, Class<? extends Particle> particleType, UInt256 fee); static PerParticleFeeEntry of(Class<? extends Particle> particleType, long threshold, UInt256 fee); long threshold(); Class<? extends Particle> particleType(); UInt256 fee(); @Override UInt256 feeFor(Atom a, int feeSize, Set<Particle> outputs); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
PerParticleFeeEntry implements FeeEntry { @Override public String toString() { return String.format("%s[>%s %s, %s per particle]", getClass().getSimpleName(), this.threshold, this.particleType.getSimpleName(), this.fee); } private  PerParticleFeeEntry(long threshold, Class<? extends Particle> particleType, UInt256 fee); static PerParticleFeeEntry of(Class<? extends Particle> particleType, long threshold, UInt256 fee); long threshold(); Class<? extends Particle> particleType(); UInt256 fee(); @Override UInt256 feeFor(Atom a, int feeSize, Set<Particle> outputs); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }