I have this collection

```
class ConvEntry(designation: String, saeThick: Double, common: Boolean)
val convList = immutable.List(
new ConvEntry("16 Gauge", 0.0598, true),
new ConvEntry("1/16th Inch", 0.0625, true),
new ConvEntry("15 Gauge", 0.0673, false),
new ConvEntry("14 Gauge", 0.0747, false),
new ConvEntry("13 Gauge", 0.0897, false),
new ConvEntry("12 Gauge", 0.1046, true),
new ConvEntry("11 Gauge", 0.1196, false),
new ConvEntry("1/8th Inch", 0.1250, true),
new ConvEntry("10 Gauge", 0.1345, false),
new ConvEntry("0.160 Inch", 0.1600, false),
new ConvEntry("8 Gauge", 0.1644, false),
new ConvEntry("3/16th Inch", 0.1875, true),
new ConvEntry("0.190 Inch", 0.1900, false),
new ConvEntry("0.204 Inch", 0.2040, false),
new ConvEntry("1/4 Inch", 0.2500, true),
new ConvEntry("5/16th Inch", 0.3125, true),
new ConvEntry("3/8th Inch", 0.3750, true),
new ConvEntry("7/16th Inch", 0.4375, true),
new ConvEntry("1/2 Inch", 0.5000, true),
new ConvEntry("9/16th Inch", 0.5625, true),
new ConvEntry("5/8th Inch", 0.6250, true),
new ConvEntry("11/16th Inch", 0.6875, true),
new ConvEntry("3/4th Inch", 0.7500, true),
new ConvEntry("13/16th Inch", 0.8125, true),
new ConvEntry("7/8 Inch", 0.8750, true),
new ConvEntry("1 Inch", 1.0000, true),
new ConvEntry("1 1/4 Inch", 1.2500, true),
new ConvEntry("1 1/2 Inch", 1.5000, true),
new ConvEntry("1 3/4 Inch", 1.7500, true),
new ConvEntry("2 Inch", 2.0000, true),
new ConvEntry("2 1/2 Inch", 2.5000, true)
)
```

What im trying to figure out how to do is filter the collection based on various values in the fields. i need an algorithm based on the list of true values, a list of false values, and a i need to find the entry directly above and below a given number.

is this possible with collections or do i need to do the old fashioned brute force loop method.