- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for orderRowsBy (0.15 sec)
-
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
table.put('a', 2, "baz"); ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder(); Table<Character, Integer, String> copy = builder .orderRowsBy(Ordering.natural()) .orderColumnsBy(Ordering.natural()) .putAll(table) .build(); assertThat(copy.rowKeySet()).containsExactly('a', 'b').inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* copied table may have different iteration orders. For more control over the ordering, create a * {@link Builder} and call {@link Builder#orderRowsBy}, {@link Builder#orderColumnsBy}, and * {@link Builder#putAll} * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)