public static NSFileSystemAttribute valueOf(NSString value) { for (NSFileSystemAttribute v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException( "No constant with value " + value + " found in " + /*<name>*/ NSFileSystemAttribute /*</name>*/.class.getName()); }
public NSObject get(NSFileSystemAttribute key) { if (has(key)) { return data.get(key.value()); } return null; }
public NSFileSystemAttributes set(NSFileSystemAttribute key, NSObject value) { data.put(key.value(), value); return this; }
/*<methods>*/ public boolean has(NSFileSystemAttribute key) { return data.containsKey(key.value()); }