Best practice for returning multiple values in Java?

前端 未结 7 1212
走了就别回头了
走了就别回头了 2020-12-05 17:31

Today I\'ve added a extra security check behind my login forms, to slow down brute force attacks. I\'ve got multiple login forms and made a nice easy to call function that d

7条回答
  •  旧巷少年郎
    2020-12-05 18:16

    No, this kind of structure doesn't exists nativily in Java, but you can look at JavaTuples library that may suit your need and provide a quite elegant solution. Using a Triplet

提交回复
热议问题