Inline Function In Java