Package com.webobjects.foundation

Examples of com.webobjects.foundation._NSCollectionReaderWriterLock


  }

  @Override
  public NSKeyValueCoding._KeyBinding _storedKeyGetBindingForKey(String key) {
    Class<?> objectClass = getClass();
    _NSThreadsafeMutableDictionary mapTable = classDescription()._kvcMapForClass(objectClass)._storedGetBindings;
    NSKeyValueCoding._KeyBinding keyBinding = (NSKeyValueCoding._KeyBinding) mapTable.objectForKey(key);
    if (keyBinding == null) {
      keyBinding = _createStoredKeyGetBindingForKey(key);
      mapTable.setObjectForKey(keyBinding != null ? keyBinding : new NSKeyValueCoding._KeyBinding(objectClass,
          key), key);
    }
    return keyBinding;
  }
View Full Code Here


  }

  @Override
  public NSKeyValueCoding._KeyBinding _storedKeySetBindingForKey(String key) {
    Class<?> objectClass = getClass();
    _NSThreadsafeMutableDictionary mapTable = classDescription()._kvcMapForClass(objectClass)._storedSetBindings;
    NSKeyValueCoding._KeyBinding keyBinding = (NSKeyValueCoding._KeyBinding) mapTable.objectForKey(key);
    if (keyBinding == null) {
      keyBinding = _createStoredKeySetBindingForKey(key);
      mapTable.setObjectForKey(keyBinding != null ? keyBinding : new NSKeyValueCoding._KeyBinding(objectClass,
          key), key);
    }
    return keyBinding;
  }
View Full Code Here

TOP

Related Classes of com.webobjects.foundation._NSCollectionReaderWriterLock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.