Package edu.pdx.cs410J.j2se15
Class TupleExample
java.lang.Object
edu.pdx.cs410J.j2se15.TupleExample
Uses the generic
Tuple
class to return a host/port
combination from a single method.- Since:
- Summer 2005
- Author:
- David Whitlock
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TupleExample
public TupleExample()
-
-
Method Details
-
getHostAndPort
Returns the host and port on which the server runs -
main
Main program that uses aTuple
-