Filter Realm Result by Integer
<p>There are two methods to filter realmResult in java by "string"</p>

<pre><code>RealmResults  data = realm.where(RasifalDTO.class).contains(keyString,valueString);
</code></pre>

<p>But what i want to do is filter the Result with Respect to integer so i tried:</p>

<pre><code>RealmResults  data = realm.where(RasifalDTO.class).contains(keyString,vauleInt+"");
</code></pre>

<p>But i get  :</p>

<p><code>java.lang.IllegalArgumentException: Field 'rasifalType': type mismatch. Was INTEGER, expected [STRING]</code>.</p>