Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SynchronizedTable (0.3 sec)

  1. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>It is imperative that the user manually synchronize on the returned table when accessing any
       * of its collection views:
       *
       * <pre>{@code
       * Table<R, C, V> table = Tables.synchronizedTable(HashBasedTable.<R, C, V>create());
       * ...
       * Map<C, V> row = table.row(rowKey);  // Needn't be in synchronized block
       * ...
       * synchronized (table) {  // Synchronizing on table, not row!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

          Table<R, C, V> table(Table<R, C, V> table, @CheckForNull Object mutex) {
        return new SynchronizedTable<>(table, mutex);
      }
    
      static final class SynchronizedTable<
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedObject implements Table<R, C, V> {
    
        SynchronizedTable(Table<R, C, V> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

          Table<R, C, V> table(Table<R, C, V> table, @CheckForNull Object mutex) {
        return new SynchronizedTable<>(table, mutex);
      }
    
      static final class SynchronizedTable<
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedObject implements Table<R, C, V> {
    
        SynchronizedTable(Table<R, C, V> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top