1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> */ package scala.compat.java8; import scala.runtime.BoxedUnit; @FunctionalInterface public interface JProcedure1<T1> extends JFunction1<T1, BoxedUnit> { default void $init$() { } void applyVoid(T1 t1); default BoxedUnit apply(T1 t1) { applyVoid(t1); return BoxedUnit.UNIT; } }