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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBra()Get the second stripe.StringgetSameStripe()Get the same stripe as with the last call togetSameStripe(), orgetStripe(int).StringgetStripe()Get the current stripe, and then switch to the other stripe.StringgetStripe(int p_iStripe)Get the stripe at the given index, then switch to the other stripe.StringgetZe()Get the first stripe.
-
-
-
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.
-
getSameStripe
public String getSameStripe()
Get the same stripe as with the last call togetSameStripe(), orgetStripe(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.
-
-