Here you can find the source of any(final String a, final String b)
public static String any(final String a, final String b)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { public static String any(final String a, final String b) { if (a != null && a.length() > 0) { return a; }/*from ww w .j a v a 2 s. c om*/ return b; } }