@Test public void testGetAvailablePorts_int_int() { Set<Integer> result = AvailablePortFinder.getAvailablePorts( 1000, 2000 ); assertTrue( !result.isEmpty() ); }
public static Set<Integer> getAvailablePorts() { return getAvailablePorts( MIN_PORT_NUMBER, MAX_PORT_NUMBER ); }
AvailablePortFinder { public static Set<Integer> getAvailablePorts() { return getAvailablePorts( MIN_PORT_NUMBER, MAX_PORT_NUMBER ); } }
AvailablePortFinder { public static Set<Integer> getAvailablePorts() { return getAvailablePorts( MIN_PORT_NUMBER, MAX_PORT_NUMBER ); } private  AvailablePortFinder(); }
AvailablePortFinder { public static Set<Integer> getAvailablePorts() { return getAvailablePorts( MIN_PORT_NUMBER, MAX_PORT_NUMBER ); } private  AvailablePortFinder(); static Set<Integer> getAvailablePorts(); static int getNextAvailable(); static int getNextAvailable( int fromPort ); static boolean available( int port ); static Set<Integer> getAvailablePorts( int fromPort, int toPort ); }
AvailablePortFinder { public static Set<Integer> getAvailablePorts() { return getAvailablePorts( MIN_PORT_NUMBER, MAX_PORT_NUMBER ); } private  AvailablePortFinder(); static Set<Integer> getAvailablePorts(); static int getNextAvailable(); static int getNextAvailable( int fromPort ); static boolean available( int port ); static Set<Integer> getAvailablePorts( int fromPort, int toPort ); static final int MIN_PORT_NUMBER; static final int MAX_PORT_NUMBER; }