You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="block">Additional utilities pertaining to <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a>.</div>
133
+
<divclass="block">Additional utilities pertaining to <code>CaseFormat</code>.</div>
134
134
</div>
135
135
<divclass="col-first odd-row-color all-classes-table all-classes-table-tab2"><ahref="com/google/mu/collect/Chain.html" title="class in com.google.mu.collect">Chain<T></a></div>
Copy file name to clipboardExpand all lines: apidocs/com/google/common/labs/csv/Csv.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -333,7 +333,7 @@ <h3>parseToMaps</h3>
333
333
field names in the header row. The first non-empty row is expected to be the header row.
334
334
335
335
<p>Upon duplicate header names, the latter wins. If you need alternative strategies,
336
-
such as to reject duplicate header names, or to use <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/ListMultimap.html" title="class or interface in com.google.common.collect" class="external-link"><code>ListMultimap</code></a>
336
+
such as to reject duplicate header names, or to use <code>ListMultimap</code>
337
337
to keep track of all duplicate header values, consider using <ahref="#parseWithHeaderFields(java.lang.String,com.google.mu.util.stream.BiCollector)"><code>parseWithHeaderFields(String, BiCollector)</code></a> instead. That is:
input</code> string into a lazy stream of <code>Map</code>, keyed by the header field names.
376
376
377
377
<p>Usually, if you need a <code>Map</code> of field names to column values, consider using <ahref="#parseToMaps(java.lang.String)"><code>parseToMaps(String)</code></a> instead. But if you need alternative strategies, such as collecting
378
-
each row to a <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/ListMultimap.html" title="class or interface in com.google.common.collect" class="external-link"><code>ListMultimap</code></a> to more gracefully handle
378
+
each row to a <code>ListMultimap</code> to more gracefully handle
</span><spanclass="modifiers">public final class </span><spanclass="element-name type-name-label">CaseFormats</span>
92
92
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
93
-
<divclass="block">Additional utilities pertaining to <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a>.
93
+
<divclass="block">Additional utilities pertaining to <code>CaseFormat</code>.
94
94
95
95
<p><b>Warning:</b> This class doesn't recognize <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">supplementary
<ahref="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> input)</code></div>
<divclass="block">Converts <code>input</code> string to using the given <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a>.</div>
133
+
<divclass="block">Converts <code>input</code> string to using the given <code>CaseFormat</code>.</div>
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name">toCase</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link">CaseFormat</a> caseFormat,
172
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name">toCase</span><wbr><spanclass="parameters">(com.google.common.base.CaseFormat caseFormat,
173
173
<ahref="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> input)</span></div>
174
-
<divclass="block">Converts <code>input</code> string to using the given <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a>. <code>input</code> can be in
174
+
<divclass="block">Converts <code>input</code> string to using the given <code>CaseFormat</code>. <code>input</code> can be in
<p>Given that <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a> only handles ascii, characters outside of the range of <code>
185
+
<p>Given that <code>CaseFormat</code> only handles ascii, characters outside of the range of <code>
186
186
[a-zA-Z0-9_-]</code> (e.g. whitespaces, parenthesis, non-ascii) are passed through as is. If you need
187
187
to support non-ascii camel case such as Greek upper case ('Β') and lower case ('β'), consider
188
188
using <ahref="../../../mu/util/CaseBreaker.html#breakCase(java.lang.CharSequence)"><code>CaseBreaker.breakCase(java.lang.CharSequence)</code></a> to break up words in the source and then apply target casing
<divclass="block">Additional utilities pertaining to <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/base/CaseFormat.html" title="class or interface in com.google.common.base" class="external-link"><code>CaseFormat</code></a>.</div>
91
+
<divclass="block">Additional utilities pertaining to <code>CaseFormat</code>.</div>
<divclass="block">Finds the <ahref="InsertionPoint.html" title="class in com.google.guava.labs.collect"><code>InsertionPoint</code></a> if <code>target</code> were to be added <em>in order</em>.</div>
150
150
</div>
151
-
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/Range.html" title="class or interface in com.google.common.collect" class="external-link">Range</a><wbr><<ahref="#type-param-C" title="type parameter in BinarySearch.Table">C</a>></code></div>
151
+
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.common.collect.Range<wbr><<ahref="#type-param-C" title="type parameter in BinarySearch.Table">C</a>></code></div>
152
152
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#rangeOf(K)" class="member-name-link">rangeOf</a><wbr>(<ahref="#type-param-K" title="type parameter in BinarySearch.Table">K</a> target)</code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/Range.html" title="class or interface in com.google.common.collect" class="external-link">Range</a><<ahref="#type-param-C" title="type parameter in BinarySearch.Table">C</a>></span> <spanclass="element-name">rangeOf</span><wbr><spanclass="parameters">(<ahref="#type-param-K" title="type parameter in BinarySearch.Table">K</a> target)</span></div>
188
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">com.google.common.collect.Range<<ahref="#type-param-C" title="type parameter in BinarySearch.Table">C</a>></span> <spanclass="element-name">rangeOf</span><wbr><spanclass="parameters">(<ahref="#type-param-K" title="type parameter in BinarySearch.Table">K</a> target)</span></div>
189
189
<divclass="block">Finds the range of elements that match <code>target</code>.
190
190
191
191
<p>If the target is found at index <code>i</code>, the single-element range <b><code>[i..i]</code></b>
<p>If there are ties from index <code>i</code> to <code>j</code>, the closed range <b><code>[i..j]</code></b>
195
195
is returned.
196
196
197
-
<p>If the target isn't found, an <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/Range.html#isEmpty()" title="class or interface in com.google.common.collect" class="external-link"><code>empty</code></a> range is returned whose endpoint
197
+
<p>If the target isn't found, an <code>empty</code> range is returned whose endpoint
198
198
is the "insertion point" (where the target would have been inserted without breaking order).
199
199
The direction of the open endpoint determines whether to insert before or after the point.
<li>For all insertion points except the last one after <code>MAX_VALUE</code>, the returned range
215
-
is <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/Range.html#closedOpen(C,C)" title="class or interface in com.google.common.collect" class="external-link"><code>closed-open</code></a><b><code>[i..i)</code></b>, indicating that the insertion
215
+
is <code>closed-open</code><b><code>[i..i)</code></b>, indicating that the insertion
216
216
point is immediately <em>before</em> endpoint <code>i</code>.
217
-
<li>While if the insertion point is after <code>MAX_VALUE</code>, the returned range is <ahref="https://javadoc.io/doc/com.google.guava/guava/latest/com/google/common/collect/Range.html#openClosed(C,C)" title="class or interface in com.google.common.collect" class="external-link"><code>open-closed</code></a><b><code>(MAX_VALUE..MAX_VALUE]</code></b>, indicating that the
217
+
<li>While if the insertion point is after <code>MAX_VALUE</code>, the returned range is <code>open-closed</code><b><code>(MAX_VALUE..MAX_VALUE]</code></b>, indicating that the
218
218
insertion point is immediately <em>after</em> endpoint <code>MAX_VALUE</code>.
0 commit comments