fr.etai.xat2v2.util
Class ShuttleUtil
java.lang.Object
fr.etai.xat2v2.util.ShuttleUtil
public final class ShuttleUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getVehicleListBySource
public static Vehicle[] getVehicleListBySource(Shuttle shuttle,
String source)
- Returns the vehicles contained in the shuttle whose
source is the one given
- Parameters:
shuttle
- source
-
- Returns:
- null if the shuttle or the source is null, the matching vehicle otherwise. If the vehicleList
of the shuttle is null, this methods returns an empty array.
getPartListByBreakdown
public static Part[] getPartListByBreakdown(Shuttle shuttle,
String ref)
- Returns the parts in this shuttle whose
type matches the ref given.
- Parameters:
shuttle
- ref
-
- Returns:
- null if the shuttle or the ref is null, the matching parts otherwise.
Copyright © 2012. All Rights Reserved.