Class ObfuscatorTask.LineNumberScrambler

  • Enclosing class:
    ObfuscatorTask

    public static final class ObfuscatorTask.LineNumberScrambler
    extends java.lang.Object
    The type Line number scrambler.
    • Constructor Summary

      Constructors 
      Constructor Description
      LineNumberScrambler​(int size, long seed)
      Instantiates a new Line number scrambler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int scramble​(int i)
      Scramble int.
      int unscramble​(int i)
      Unscramble int.
      • Methods inherited from class java.lang.Object

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

      • LineNumberScrambler

        public LineNumberScrambler​(int size,
                                   long seed)
        Instantiates a new Line number scrambler.
        Parameters:
        size - the size
        seed - the seed
    • Method Detail

      • scramble

        public int scramble​(int i)
        Scramble int.
        Parameters:
        i - the
        Returns:
        the int
      • unscramble

        public int unscramble​(int i)
        Unscramble int.
        Parameters:
        i - the
        Returns:
        the int