List keyeq() and keyindex() methods as abstract on LuaTable.Entry.

This commit is contained in:
James Roseborough
2015-03-14 18:12:13 +00:00
parent 8c8c98fb00
commit 63e99c1500
2 changed files with 3 additions and 0 deletions

View File

@@ -973,6 +973,7 @@ Files are no longer hosted at LuaForge.
<li>Add sample build.gradle file for Android example.</li> <li>Add sample build.gradle file for Android example.</li>
<li>collectgarbage() now behaves same as collectgarbage("collect") (fixes issue #41).</li> <li>collectgarbage() now behaves same as collectgarbage("collect") (fixes issue #41).</li>
<li>Allow access to Java inner classes using lua field syntax (fixes issue #40).</li> <li>Allow access to Java inner classes using lua field syntax (fixes issue #40).</li>
<li>List keyeq() and keyindex() methods as abstract on LuaTable.Entry (issue #37).</li>
</ul></td></tr> </ul></td></tr>
</table></td></tr></table> </table></td></tr></table>

View File

@@ -1073,6 +1073,8 @@ public class LuaTable extends LuaValue implements Metatable {
public abstract LuaValue key(); public abstract LuaValue key();
public abstract LuaValue value(); public abstract LuaValue value();
abstract Entry set(LuaValue value); abstract Entry set(LuaValue value);
public abstract boolean keyeq( LuaValue key );
public abstract int keyindex( int hashMask );
public int arraykey( int max ) { public int arraykey( int max ) {
return 0; return 0;