Get the size compared to by this Size ResourceSelector.returnthe long resource size. return size;
return size;
Get the comparison mode.returna Comparison object. return when;
return when;
Return true if this Resource is selected.paramr the Resource to check.returnwhether the Resource was selected. long diff = r.getSize() - size; return when.evaluate(diff == 0 ? 0 : (int) (diff / Math.abs(diff)));
long diff = r.getSize() - size; return when.evaluate(diff == 0 ? 0 : (int) (diff / Math.abs(diff)));
Set the size to compare against.paraml the long resource size. size = l;
size = l;
Set the comparison mode.paramc a Comparison object. when = c;
when = c;