Composite function ( Byteable ... arg0 ) { int loc0 = Arrays . loc0 ( arg0 ) ; Composite loc1 = CACHE . get ( loc0 ) ; if ( loc1 == null ) { loc1 = create ( arg0 ) ; CACHE . put ( loc0 , loc1 ) ; } return loc1 ; }
create a composite for the list of byteables with support forcaching . cached composites are not guaranteed to perfectly match up with the list of byteables because hash collisions can occur so it is only advisable to use this method of creation when precision is not a requirement . concode_field_sep ByteBuffer bytes concode_elem_sep Map<Integer,Composite> CACHE concode_field_sep void copyTo concode_elem_sep Composite fromByteBuffer concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Composite create concode_elem_sep String toString concode_elem_sep ByteBuffer getBytes