Commit 38f34526 authored by Jacob Potter's avatar Jacob Potter

Regenerate example/

parent d028dfbb
...@@ -12,8 +12,8 @@ namespace textsort { ...@@ -12,8 +12,8 @@ namespace textsort {
struct ItemList final { struct ItemList final {
std::vector<std::string> items; std::vector<std::string> items;
ItemList(std::vector<std::string> items) ItemList(std::vector<std::string> items_)
: items(std::move(items)) : items(std::move(items_))
{} {}
}; };
......
...@@ -21,4 +21,12 @@ public final class ItemList { ...@@ -21,4 +21,12 @@ public final class ItemList {
public ArrayList<String> getItems() { public ArrayList<String> getItems() {
return mItems; return mItems;
} }
@Override
public String toString() {
return "ItemList{" +
"mItems=" + mItems +
"}";
}
} }
...@@ -19,4 +19,9 @@ ...@@ -19,4 +19,9 @@
return [[self alloc] initWithItems:items]; return [[self alloc] initWithItems:items];
} }
- (NSString *)description
{
return [NSString stringWithFormat:@"<%@ %p items:%@>", self.class, self, self.items];
}
@end @end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment