comparison src/main/java/jp/ac/u_ryukyu/cr/ie/tatsuki/bbs/GetAttributeImp.java @ 44:5e8eac03fed3

miner change
author one
date Tue, 25 Nov 2014 17:51:35 +0900
parents 037731e99d6e
children
comparison
equal deleted inserted replaced
43:1bdd50e26fac 44:5e8eac03fed3
1 package jp.ac.u_ryukyu.cr.ie.tatsuki.bbs; 1 package jp.ac.u_ryukyu.cr.ie.tatsuki.bbs;
2 2
3 import java.util.Iterator;
4 3
5 import fj.data.List; 4 import fj.data.List;
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode; 5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode;
7 6
8 public class GetAttributeImp { 7 public class GetAttributeImp {
10 9
11 public GetAttributeImp(TreeNode _node) { 10 public GetAttributeImp(TreeNode _node) {
12 node = _node; 11 node = _node;
13 } 12 }
14 13
15 public Iterator<String> getMessage(String key) { 14 public String getMessage(String key) {
16 return node.getAttributes().getString(key); 15 return node.getAttributes().getString(key);
17 } 16 }
18 17
19 public List<String> getKeys() { 18 public List<String> getKeys() {
20 return node.getAttributes().getKeys(); 19 return node.getAttributes().getKeys();