comparison core/src/luan/LuanState.java @ 423:1eafb11a150d

remove Luan.repr()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 01 May 2015 16:30:28 -0600
parents 8fbb961aabd5
children f28320fd671d
comparison
equal deleted inserted replaced
422:af82b266fe89 423:1eafb11a150d
46 return new LuanBit(this,el); 46 return new LuanBit(this,el);
47 } 47 }
48 48
49 // convenience methods 49 // convenience methods
50 50
51 final LuanBit JAVA = bit(LuanElement.JAVA); 51 private final LuanBit JAVA = bit(LuanElement.JAVA);
52 52
53 public LuanException exception(Object msg) { 53 public LuanException exception(Object msg) {
54 return JAVA.exception(msg); 54 return JAVA.exception(msg);
55 } 55 }
56 56
76 76
77 public String toString(Object obj) throws LuanException { 77 public String toString(Object obj) throws LuanException {
78 return JAVA.toString(obj); 78 return JAVA.toString(obj);
79 } 79 }
80 80
81 public String repr(Object obj) throws LuanException {
82 return JAVA.repr(obj);
83 }
84
85 public boolean isLessThan(Object o1,Object o2) throws LuanException { 81 public boolean isLessThan(Object o1,Object o2) throws LuanException {
86 return JAVA.isLessThan(o1,o2); 82 return JAVA.isLessThan(o1,o2);
87 } 83 }
88 } 84 }