static SortedRangeSet of ( Type type , Object first , Object ... rest ) { List < Range > ranges = new ArrayList <> ( rest . length + 1 ) ; ranges . add ( Range . equal ( type , first ) ) ; for ( Object value : rest ) { ranges . add ( Range . equal ( type , value ) ) ; } return copyOf ( type , ranges ) ; }
Provided discrete values that are unioned together to form the SortedRangeSet