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 String
getBra()
Get the second stripe.String
getSameStripe()
Get the same stripe as with the last call togetSameStripe()
, orgetStripe(int)
.String
getStripe()
Get the current stripe, and then switch to the other stripe.String
getStripe(int p_iStripe)
Get the stripe at the given index, then switch to the other stripe.String
getZe()
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.
-
-