public class NSDictionary<_KeyType,_ObjectType> extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration, NSFetchRequestResult, java.util.Map<_KeyType,_ObjectType>
| Modifier and Type | Class and Description |
|---|---|
static interface |
NSDictionary.Block_enumerateKeysAndObjectsUsingBlock |
static interface |
NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock |
static interface |
NSDictionary.Block_keysOfEntriesPassingTest |
static interface |
NSDictionary.Block_keysOfEntriesWithOptionsPassingTest |
static interface |
NSDictionary.Block_keysSortedByValueUsingComparator |
static interface |
NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSDictionary(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
NSArray<_KeyType> |
allKeys() |
NSArray<_KeyType> |
allKeysForObject(_ObjectType anObject) |
static NSDictionary<?,?> |
alloc() |
static NSDictionary<?,?> |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<_ObjectType> |
allValues() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
long |
count() |
long |
countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len) |
static java.lang.String |
debugDescription_static() |
java.lang.String |
description() |
java.lang.String |
descriptionInStringsFileFormat() |
java.lang.String |
descriptionWithLocale(java.lang.Object locale) |
java.lang.String |
descriptionWithLocaleIndent(java.lang.Object locale,
long level) |
static <_KeyType,_ObjectType> |
dictionary() |
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfFile(java.lang.String path)
These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release.
|
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfURL(NSURL url) |
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Reads dictionary stored in NSPropertyList format from the specified url.
|
static <_KeyType,_ObjectType> |
dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectForKey(_ObjectType object,
_KeyType key) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsAndKeys(java.lang.Object firstObject,
java.lang.Object... varargs) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects,
NSArray<_KeyType> keys) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys,
long cnt) |
void |
encodeWithCoder(NSCoder coder) |
java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> |
entrySet() |
void |
enumerateKeysAndObjectsUsingBlock(NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block) |
void |
enumerateKeysAndObjectsWithOptionsUsingBlock(long opts,
NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block) |
boolean |
equals(java.lang.Object object) |
NSDate |
fileCreationDate() |
boolean |
fileExtensionHidden() |
NSNumber |
fileGroupOwnerAccountID() |
java.lang.String |
fileGroupOwnerAccountName() |
int |
fileHFSCreatorCode() |
int |
fileHFSTypeCode() |
boolean |
fileIsAppendOnly() |
boolean |
fileIsImmutable() |
NSDate |
fileModificationDate() |
NSNumber |
fileOwnerAccountID() |
java.lang.String |
fileOwnerAccountName() |
long |
filePosixPermissions() |
long |
fileSize() |
long |
fileSystemFileNumber() |
long |
fileSystemNumber() |
java.lang.String |
fileType() |
_ObjectType |
get(java.lang.Object key) |
void |
getObjectsAndKeys(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys)
This method is unsafe because it could potentially cause buffer overruns.
|
void |
getObjectsAndKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys,
long count)
count refers to the number of elements in the dictionary
|
static long |
hash_static() |
int |
hashCode() |
NSDictionary<?,?> |
init() |
NSDictionary<?,?> |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSDictionary<_KeyType,_ObjectType> |
initWithContentsOfFile(java.lang.String path) |
NSDictionary<_KeyType,_ObjectType> |
initWithContentsOfURL(NSURL url) |
NSDictionary<java.lang.String,_ObjectType> |
initWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Reads dictionary stored in NSPropertyList format from the specified url.
|
NSDictionary<?,?> |
initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary) |
NSDictionary<?,?> |
initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary,
boolean flag) |
NSDictionary<?,?> |
initWithObjectsAndKeys(java.lang.Object firstObject,
java.lang.Object... varargs) |
NSDictionary<?,?> |
initWithObjectsForKeys(NSArray<_ObjectType> objects,
NSArray<_KeyType> keys) |
NSDictionary<?,?> |
initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys,
long cnt) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isEmpty() |
boolean |
isEqualToDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
NSEnumerator<_KeyType> |
keyEnumerator() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.util.Set<_KeyType> |
keySet() |
NSSet<_KeyType> |
keysOfEntriesPassingTest(NSDictionary.Block_keysOfEntriesPassingTest predicate) |
NSSet<_KeyType> |
keysOfEntriesWithOptionsPassingTest(long opts,
NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate) |
NSArray<_KeyType> |
keysSortedByValueUsingComparator(NSDictionary.Block_keysSortedByValueUsingComparator cmptr) |
NSArray<_KeyType> |
keysSortedByValueUsingSelector(org.moe.natj.objc.SEL comparator) |
NSArray<_KeyType> |
keysSortedByValueWithOptionsUsingComparator(long opts,
NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr) |
java.lang.Object |
mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static NSDictionary<?,?> |
new_objc() |
NSEnumerator<_ObjectType> |
objectEnumerator() |
_ObjectType |
objectForKey(_KeyType aKey) |
_ObjectType |
objectForKeyedSubscript(_KeyType key) |
NSArray<_ObjectType> |
objectsForKeysNotFoundMarker(NSArray<_KeyType> keys,
_ObjectType marker) |
_ObjectType |
put(_KeyType key,
_ObjectType value) |
void |
putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> arg0) |
_ObjectType |
remove(java.lang.Object key) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static <_KeyType,_ObjectType> |
sharedKeySetForKeys(NSArray<_KeyType> keys)
Use this method to create a key set to pass to +dictionaryWithSharedKeySet:.
|
int |
size() |
static org.moe.natj.objc.Class |
superclass_static() |
static <_KeyType,_ObjectType> |
supportsSecureCoding() |
_ObjectType |
valueForKey(java.lang.String key)
Return the result of sending -objectForKey: to the receiver.
|
java.util.Collection<_ObjectType> |
values() |
static long |
version_static() |
boolean |
writeToFileAtomically(java.lang.String path,
boolean useAuxiliaryFile) |
boolean |
writeToURLAtomically(NSURL url,
boolean atomically)
the atomically flag is ignored if url of a type that cannot be written atomically.
|
boolean |
writeToURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0).
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description_static, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSDictionary<?,?> alloc()
public static NSDictionary<?,?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionary()
public static <_KeyType,_ObjectType> NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfFile(java.lang.String path)
public static <_KeyType,_ObjectType> NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfURL(NSURL url)
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict)
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectForKey(_ObjectType object, _KeyType key)
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<_KeyType> keys)
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSDictionary<?,?> new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static <_KeyType,_ObjectType> java.lang.Object sharedKeySetForKeys(NSArray<_KeyType> keys)
public static org.moe.natj.objc.Class superclass_static()
public static <_KeyType,_ObjectType> boolean supportsSecureCoding()
public static long version_static()
public NSArray<_KeyType> allKeysForObject(_ObjectType anObject)
public NSArray<_ObjectType> allValues()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic long count()
public long countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len)
countByEnumeratingWithStateObjectsCount in interface NSFastEnumerationpublic java.lang.String description()
description in interface NSObjectdescription in class NSObjectpublic java.lang.String descriptionInStringsFileFormat()
public java.lang.String descriptionWithLocale(java.lang.Object locale)
public java.lang.String descriptionWithLocaleIndent(java.lang.Object locale,
long level)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic void enumerateKeysAndObjectsUsingBlock(NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block)
public void enumerateKeysAndObjectsWithOptionsUsingBlock(long opts,
NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block)
public NSDate fileCreationDate()
public boolean fileExtensionHidden()
public NSNumber fileGroupOwnerAccountID()
public java.lang.String fileGroupOwnerAccountName()
public int fileHFSCreatorCode()
public int fileHFSTypeCode()
public boolean fileIsAppendOnly()
public boolean fileIsImmutable()
public NSDate fileModificationDate()
public NSNumber fileOwnerAccountID()
public java.lang.String fileOwnerAccountName()
public long filePosixPermissions()
public long fileSize()
public long fileSystemFileNumber()
public long fileSystemNumber()
public java.lang.String fileType()
public void getObjectsAndKeys(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys)
public void getObjectsAndKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys, long count)
public NSDictionary<?,?> init()
public NSDictionary<?,?> initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSDictionary<_KeyType,_ObjectType> initWithContentsOfFile(java.lang.String path)
public NSDictionary<_KeyType,_ObjectType> initWithContentsOfURL(NSURL url)
public NSDictionary<?,?> initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
public NSDictionary<?,?> initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)
public NSDictionary<?,?> initWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<_KeyType> keys)
public NSDictionary<?,?> initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
public NSDictionary<?,?> initWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
public boolean isEqualToDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
public NSEnumerator<_KeyType> keyEnumerator()
public NSSet<_KeyType> keysOfEntriesPassingTest(NSDictionary.Block_keysOfEntriesPassingTest predicate)
public NSSet<_KeyType> keysOfEntriesWithOptionsPassingTest(long opts, NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate)
public NSArray<_KeyType> keysSortedByValueUsingComparator(NSDictionary.Block_keysSortedByValueUsingComparator cmptr)
public NSArray<_KeyType> keysSortedByValueUsingSelector(org.moe.natj.objc.SEL comparator)
public NSArray<_KeyType> keysSortedByValueWithOptionsUsingComparator(long opts, NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr)
public java.lang.Object mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
mutableCopyWithZone in interface NSMutableCopyingpublic NSEnumerator<_ObjectType> objectEnumerator()
public _ObjectType objectForKey(_KeyType aKey)
public _ObjectType objectForKeyedSubscript(_KeyType key)
public NSArray<_ObjectType> objectsForKeysNotFoundMarker(NSArray<_KeyType> keys, _ObjectType marker)
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic _ObjectType valueForKey(java.lang.String key)
valueForKey in class NSObjectpublic boolean writeToFileAtomically(java.lang.String path,
boolean useAuxiliaryFile)
public boolean writeToURLAtomically(NSURL url, boolean atomically)
public void clear()
clear in interface java.util.Map<_KeyType,_ObjectType>public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Map<_KeyType,_ObjectType>public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Map<_KeyType,_ObjectType>public java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> entrySet()
entrySet in interface java.util.Map<_KeyType,_ObjectType>public _ObjectType get(java.lang.Object key)
get in interface java.util.Map<_KeyType,_ObjectType>public boolean isEmpty()
isEmpty in interface java.util.Map<_KeyType,_ObjectType>public java.util.Set<_KeyType> keySet()
keySet in interface java.util.Map<_KeyType,_ObjectType>public _ObjectType put(_KeyType key, _ObjectType value)
put in interface java.util.Map<_KeyType,_ObjectType>public void putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> arg0)
putAll in interface java.util.Map<_KeyType,_ObjectType>public _ObjectType remove(java.lang.Object key)
remove in interface java.util.Map<_KeyType,_ObjectType>public int size()
size in interface java.util.Map<_KeyType,_ObjectType>public java.util.Collection<_ObjectType> values()
values in interface java.util.Map<_KeyType,_ObjectType>public boolean equals(java.lang.Object object)
equals in interface java.util.Map<_KeyType,_ObjectType>equals in class org.moe.natj.objc.ObjCObjectpublic int hashCode()
hashCode in interface java.util.Map<_KeyType,_ObjectType>hashCode in class java.lang.Objectpublic static <_KeyType,_ObjectType> NSDictionary<java.lang.String,_ObjectType> dictionaryWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
public NSDictionary<java.lang.String,_ObjectType> initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)