Class Zebra


  • public final class Zebra
    extends Object
    Create zebra colors and other zebraish strings.
    • Method Detail

      • getZe

        public String getZe()
        Get the first stripe.
        Returns:
        The first stripe.
      • getBra

        public String getBra()
        Get the second stripe.
        Returns:
        The second stripe.
      • getStripe

        public String getStripe()
        Get the current stripe, and then switch to the other stripe.
        Returns:
        The current stripe.
      • getStripe

        public String getStripe​(int p_iStripe)
        Get the stripe at the given index, then switch to the other stripe.
        Parameters:
        p_iStripe - The stripe index.
        Returns:
        The first stripe for even, and the second stripe for odd integers.