fork download
  1. public class Main {
  2. public static void main (String[] args) {
  3. java.util.function.Function<Integer, Boolean> f = i -> i.toHexString(i).matches("[a-f]+");
  4. System.out.println(f.apply(11259375));
  5. }
  6. }
Success #stdin #stdout 0.19s 320832KB
stdin
Standard input is empty
stdout
true