- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 778 for Cell (0.03 sec)
-
android/guava/src/com/google/common/collect/SparseImmutableTable.java
int[] cellColumnInRowIndices = new int[cellList.size()]; for (int i = 0; i < cellList.size(); i++) { Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); V value = cell.getValue(); /* * These requireNonNull calls are safe because we construct the maps to hold all the provided * cells. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Table.java
* * @since 7.0 */ interface Cell< R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> { /** Returns the row key of this cell. */ @ParametricNullness R getRowKey(); /** Returns the column key of this cell. */ @ParametricNullness C getColumnKey(); /** Returns the value of this cell. */ @ParametricNullness V getValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAdder.java
public LongAdder() {} /** * Adds the given value. * * @param x the value to add */ @Override public void add(long x) { Cell[] as; long b, v; int[] hc; Cell a; int n; if ((as = cells) != null || !casBase(b = base, b + x)) { boolean uncontended = true; if ((hc = threadHashCode.get()) == null || as == null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
checkNotNull(cell.getValue(), "value"); @SuppressWarnings("unchecked") // all supported methods are covariant Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell; cells.add(immutableCell); } else { put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); } return this; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
boolean collide = false; // True if last slot nonempty for (; ; ) { Cell[] as; Cell a; int n; long v; if ((as = cells) != null && (n = as.length) > 0) { if ((a = as[(n - 1) & h]) == null) { if (busy == 0) { // Try to attach new Cell Cell r = new Cell(x); // Optimistically create if (busy == 0 && casBusy()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTest.java
public void testImmutableEntrySerialization() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); SerializableTester.reserializeAndAssert(entry); } public void testImmutableEntryToString() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); assertEquals("(foo,1)=a", entry.toString()); Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
} @Override public Set<Cell<String, Integer, Character>> create(Object... elements) { Table<String, Integer, Character> table = createTable(); for (Object element : elements) { @SuppressWarnings("unchecked") Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element; table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
} @Override public Set<Cell<String, Integer, Character>> create(Object... elements) { Table<String, Integer, Character> table = createTable(); for (Object element : elements) { @SuppressWarnings("unchecked") Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element; table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnIndices = new int[cellList.size()]; for (int i = 0; i < cellList.size(); i++) { Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); // The requireNonNull calls are safe because we construct the indexes with indexMap. int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
} Function<Cell<R, C, V1>, Cell<R, C, V2>> cellFunction() { return new Function<Cell<R, C, V1>, Cell<R, C, V2>>() { @Override public Cell<R, C, V2> apply(Cell<R, C, V1> cell) { return immutableCell( cell.getRowKey(), cell.getColumnKey(), function.apply(cell.getValue())); } }; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0)