Get/Search concepts

Can this be done through Optional.fromNullable ?