Class GoldenRatioAmplifier

  • All Implemented Interfaces:
    Amplifier

    public class GoldenRatioAmplifier
    extends java.lang.Object
    implements Amplifier
    • Constructor Summary

      Constructors 
      Constructor Description
      GoldenRatioAmplifier​(long initialValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long amplify​(long index)
      增幅索引值。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GoldenRatioAmplifier

        public GoldenRatioAmplifier​(long initialValue)
    • Method Detail

      • amplify

        public long amplify​(long index)
        Description copied from interface: Amplifier
        增幅索引值。
        Specified by:
        amplify in interface Amplifier