design: added selector interface
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
library facade.collection;
|
||||
|
||||
import 'dart:collection' show HashMap;
|
||||
export 'dart:collection' show Map;
|
||||
export 'dart:core' show List;
|
||||
export 'dart:core' show Map, List, Set;
|
||||
|
||||
class MapWrapper {
|
||||
static HashMap create() => new HashMap();
|
||||
|
@ -1,5 +1,7 @@
|
||||
export var List = window.Array;
|
||||
export var Map = window.Map;
|
||||
export var Set = window.Set;
|
||||
|
||||
export class MapWrapper {
|
||||
static create():HashMap { return new HashMap(); }
|
||||
static get(m, k) { return m[k]; }
|
||||
|
Reference in New Issue
Block a user