User Tools

Site Tools


ios-labs-s14:basics-structs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ios-labs-s14:basics-structs [2014/02/17 11:39]
mbarboi
ios-labs-s14:basics-structs [2014/02/26 13:06] (current)
mbarboi
Line 18: Line 18:
 Pairs keys to objects (like dictionary definitions paired to dictionary words). Pairs keys to objects (like dictionary definitions paired to dictionary words).
  
-No guarantees about the order of keys or objects within dictionary. Keys must implement //​Comparable//​ (must be unique and comparable). Strings are commonly used as keys. Cannot have duplicate keys (can have duplicate objects)+No guarantees about the order of keys or objects within dictionary. Keys must implement //​Comparable//​ (must be unique and comparable) ​by overriding //​equalTo://​ method. Strings are commonly used as keys. Cannot have duplicate keys (can have duplicate objects)
  
 Common methods: Common methods:
ios-labs-s14/basics-structs.txt ยท Last modified: 2014/02/26 13:06 by mbarboi