Learned IO in java.