Remove unstable EntityInternalMap methods

This commit is contained in:
Magnus Ulf Jørgensen 2017-05-28 17:59:57 +02:00
parent 5c416c3a1d
commit 1dbe07ca7b

View File

@ -203,13 +203,7 @@ public class EntityInternalMap<E extends EntityInternal<E>> extends EntityContai
Objects.requireNonNull(id, "id"); Objects.requireNonNull(id, "id");
return this.getIdToEntityRaw().containsKey(id); return this.getIdToEntityRaw().containsKey(id);
} }
public E remove(String id)
{
Objects.requireNonNull(id, "id");
return this.getIdToEntityRaw().remove(id);
}
public int size() public int size()
{ {
return this.getIdToEntityRaw().size(); return this.getIdToEntityRaw().size();
@ -220,9 +214,4 @@ public class EntityInternalMap<E extends EntityInternal<E>> extends EntityContai
return this.getIdToEntityRaw().isEmpty(); return this.getIdToEntityRaw().isEmpty();
} }
public void clear()
{
this.getIdToEntityRaw().clear();
}
} }