Java String Array Combine combine(String style1, String style2)

Here you can find the source of combine(String style1, String style2)

Description

Combines multiple styles

License

Open Source License

Parameter

Parameter Description
style1 first style
style2 second style

Return

combination of given styles

Declaration

public static String combine(String style1, String style2) 

Method Source Code

//package com.java2s;

public class Main {
    /** //from ww  w .  j a  va2s  .  co m
     * Combines multiple styles
     * @param style1 first style
     * @param style2 second style
     * @return combination of given styles
     */
    public static String combine(String style1, String style2) {
        return style1 + "," + style2;
    }
}

Related

  1. combine(final String[] left, final String[] right)
  2. combine(String sep, String... s)
  3. combine(String... s)
  4. combine(String... vals)
  5. combine(String[] a, String[] b, String glue)
  6. combine(String[] array1, String[] array2)