Class Zebra

java.lang.Object
de.uplanet.lucy.server.auxiliaries.Zebra

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

    • 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.
    • getSameStripe

      public String getSameStripe()
      Get the same stripe as with the last call to getSameStripe(), or getStripe(int).
      Returns:
      The same stripe as before.
    • 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.