same as #next except this does n't move the iteratorpointer forward . calling this method multiple times in a row results in the same server being returned , unlike #next . if you call #peek and then #next , both will return the same server . concode_field_sep int securePort concode_elem_sep List<ServerEntry> servers concode_elem_sep String address concode_elem_sep int nextIndex concode_elem_sep int port concode_elem_sep long serialVersionUID concode_elem_sep int serverId concode_field_sep ServerEntry next concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep ServerEntry get concode_elem_sep String writeAsText concode_elem_sep void resetIndex concode_elem_sep FailoverListComposite readAsText concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep boolean hasNext concode_elem_sep void remove
ServerEntry function ( ) { if ( ! hasNext ( ) ) { return null ; } ServerEntry loc0 = servers . get ( nextIndex ) ; return loc0 ; }