Should I cache the return value of a getter if it is just a simple delegate?
<p>For example:</p>

<p>I'm creating a CSV file and I have a <code>CsvOptions</code> object which holds several parameters for the CSV file creation.</p>

<pre><code>if (cells.hasNext()) {
    output.write(csvOptions.getDelimiter());
}
</code></pre>

<p>The <code>csvOptions</code> is just a simple container object, that kind you are tempted to not use any getters at all. The getter just returns the value from a private field.</p>

<p>Is it worth to cache the return value of a trivial getter, like <code>getDelimiter()</code> in my example, in terms of</p>

<ul>
<li>... execution speed?</li>
<li>... coding style?</li>
</ul>
