Mercurial > hg > Members > tatsuki > Alice
changeset 296:51ccd5480a86
remove unused method
author | sugi |
---|---|
date | Tue, 22 Oct 2013 16:58:57 +0900 |
parents | 26006214cf3b |
children | f51ea581b0ff |
files | src/alice/codesegment/OutputDataSegment.java |
diffstat | 1 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/codesegment/OutputDataSegment.java Sun Oct 20 18:44:57 2013 +0900 +++ b/src/alice/codesegment/OutputDataSegment.java Tue Oct 22 16:58:57 2013 +0900 @@ -14,18 +14,10 @@ DataSegment.getLocal().put(receiver.key, receiver.getObj()); } - public void put(String key, byte[] val) { - DataSegment.getLocal().put(key, val); - } - public <T> void put(String key, T val) { DataSegment.getLocal().put(key, val); } - public void update(String key, byte[] val) { - DataSegment.getLocal().update(key, val); - } - public <T> void update(String key, T val) { DataSegment.getLocal().update(key, val); } @@ -33,14 +25,6 @@ /** * for remote */ - public void put(String managerKey, String key, byte[] val) { - if (!managerKey.equals("local")){ - DataSegment.get(managerKey).put(key,val); - } else { - put(key, val); - } - } - public <T> void put(String managerKey, String key, T val) { if (!managerKey.equals("local")){ DataSegment.get(managerKey).put(key, val); @@ -49,14 +33,6 @@ } } - public void update(String managerKey, String key, byte[] val) { - if (!managerKey.equals("local")){ - DataSegment.get(managerKey).update(key, val); - } else { - update(key, val); - } - } - public <T> void update(String managerKey, String key, T val) { if (!managerKey.equals("local")){ DataSegment.get(managerKey).update(key, val);