RankableObjectWithFields function ( Tuple arg0 ) { List < Object > loc0 = Lists . newArrayList ( arg0 . getValues ( ) ) ; Object loc1 = loc0 . remove ( 0 ) ; Long loc2 = ( Long ) loc0 . remove ( 0 ) ; return new RankableObjectWithFields ( loc1 , loc2 , loc0 . toArray ( ) ) ; }
construct a new instance based on the provided tuple . this method expects the object to be ranked in the first field index 0 of the provided tuple , and the number of occurrences of the object its count in the second field index 1 . any further fields in the tuple will be extracted and tracked , too . these fields can be accessed via rankableobjectwithfields #getfields . concode_field_sep long serialVersionUID concode_elem_sep Object obj concode_elem_sep long count concode_elem_sep String toStringSeparator concode_elem_sep ImmutableList<Object> fields concode_field_sep Object getObject concode_elem_sep List<Object> getFields concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep Rankable copy concode_elem_sep long getCount