method2testcases stringlengths 118 6.63k |
|---|
### Question:
PlatformImpl implements Platform { void validateBundle( final URL url, final File file ) throws PlatformException { String bundleSymbolicName = null; String bundleName = null; JarFile jar = null; try { jar = new JarFile( file, false ); final Manifest manifest = jar.getManifest(); if ( manifest == null ) {... |
### Question:
PlatformImpl implements Platform { String determineCachingName( final File file, final String defaultBundleSymbolicName ) { String bundleSymbolicName = null; String bundleVersion = null; JarFile jar = null; try { jar = new JarFile( file, false ); final Manifest manifest = jar.getManifest(); if ( manifest ... |
### Question:
ConfigurationImpl implements Configuration { public String getProperty( final String key ) { return m_properties.getProperty( key ); } ConfigurationImpl( final String url ); String getProperty( final String key ); @SuppressWarnings( "unchecked" ) String[] getPropertyNames( final String regex ); }### Answ... |
### Question:
ExecutionEnvironment { public String getSystemPackages() { return m_systemPackages; } ExecutionEnvironment( final String ee ); String getSystemPackages(); String getExecutionEnvironment(); static String join( final Collection<String> toJoin,
final String delimiter ); }### A... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public URL getDefinitionURL() throws MalformedURLException { if( !contains( ServiceConstants.CONFIG_DEFINITION_URL ) ) { final String urlSpec = m_propertyResolver.get( ServiceConstants.CONFIG_DEFINITION_URL ); URL url = null; if( urlSpec !... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getWorkingDirectory() { if( !contains( ServiceConstants.CONFIG_WORKING_DIRECTORY ) ) { String workDir = m_propertyResolver.get( ServiceConstants.CONFIG_WORKING_DIRECTORY ); if( workDir == null ) { workDir = DEFAULT_WORKING_DI... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getSystemPackages() { if( !contains( ServiceConstants.CONFIG_SYSTEM_PACKAGES ) ) { return set( ServiceConstants.CONFIG_SYSTEM_PACKAGES, m_propertyResolver.get( ServiceConstants.CONFIG_SYSTEM_PACKAGES ) ); } return get( Servic... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getExecutionEnvironment() { if( !contains( ServiceConstants.CONFIG_EXECUTION_ENV ) ) { String javaVersion = m_propertyResolver.get( ServiceConstants.CONFIG_EXECUTION_ENV ); if( javaVersion == null ) { javaVersion = "J2SE-" + ... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getJavaHome() { if( !contains( ServiceConstants.CONFIG_JAVA_HOME ) ) { String javaHome = m_propertyResolver.get( ServiceConstants.CONFIG_JAVA_HOME ); if( javaHome == null ) { javaHome = System.getProperty( "JAVA_HOME" ); if( ... |
### Question:
Activator implements BundleActivator { public void start( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); m_bundleContext = bundleContext; m_registrations = new HashMap<ServiceReference, ServiceRegistration>(); m_platforms = ... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Integer getProfileStartLevel() { return resolveStartLevel( ServiceConstants.CONFIG_PROFILE_START_LEVEL, DEFAULT_PROFILE_START_LEVEL ); } ConfigurationImpl( final PropertyResolver propertyResolver ); URL getDefinitionURL(); String ge... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Integer getStartLevel() { return resolveStartLevel( ServiceConstants.CONFIG_START_LEVEL, DEFAULT_START_LEVEL ); } ConfigurationImpl( final PropertyResolver propertyResolver ); URL getDefinitionURL(); String getWorkingDirectory(); St... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Integer getBundleStartLevel() { return resolveStartLevel( ServiceConstants.CONFIG_BUNDLE_START_LEVEL, DEFAULT_BUNDLE_START_LEVEL ); } ConfigurationImpl( final PropertyResolver propertyResolver ); URL getDefinitionURL(); String getWo... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean usePersistedState() { if( !contains( ServiceConstants.CONFIG_USE_PERSISTED_STATE ) ) { String usePersistedState = m_propertyResolver.get( ServiceConstants.CONFIG_USE_PERSISTED_STATE ); if( usePersistedState == null ) { retur... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean startConsole() { if( !contains( ServiceConstants.CONFIG_CONSOLE ) ) { String console = m_propertyResolver.get( ServiceConstants.CONFIG_CONSOLE ); if( console == null ) { return set( ServiceConstants.CONFIG_CONSOLE, Boolean.T... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getProfiles() { if( !contains( ServiceConstants.CONFIG_PROFILES ) ) { return set( ServiceConstants.CONFIG_PROFILES, m_propertyResolver.get( ServiceConstants.CONFIG_PROFILES ) ); } return get( ServiceConstants.CONFIG_PROFILES ... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getFrameworkProfile() { if( !contains( ServiceConstants.CONFIG_FRAMEWORK_PROFILE ) ) { String profile = m_propertyResolver.get( ServiceConstants.CONFIG_FRAMEWORK_PROFILE ); if( profile == null ) { profile = DEFAULT_FRAMEWORK_... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isOverwrite() { if( !contains( ServiceConstants.CONFIG_OVERWRITE ) ) { return set( ServiceConstants.CONFIG_OVERWRITE, Boolean.valueOf( m_propertyResolver.get( ServiceConstants.CONFIG_OVERWRITE ) ) ); } return get( ServiceCon... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String[] getVMOptions() { if( !contains( ServiceConstants.CONFIG_VMOPTIONS ) ) { final String vmOptions = m_propertyResolver.get( ServiceConstants.CONFIG_VMOPTIONS ); if( vmOptions != null ) { if( vmOptions.contains( "-D" + Constant... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isOverwriteUserBundles() { if( !contains( ServiceConstants.CONFIG_OVERWRITE_USER_BUNDLES ) ) { return set( ServiceConstants.CONFIG_OVERWRITE_USER_BUNDLES, Boolean.valueOf( m_propertyResolver.get( ServiceConstants.CONFIG_OVER... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isOverwriteSystemBundles() { if( !contains( ServiceConstants.CONFIG_OVERWRITE_SYSTEM_BUNDLES ) ) { return set( ServiceConstants.CONFIG_OVERWRITE_SYSTEM_BUNDLES, Boolean.valueOf( m_propertyResolver.get( ServiceConstants.CONFI... |
### Question:
Activator implements BundleActivator { public void stop( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); if( m_serviceTracker != null ) { m_serviceTracker.close(); m_serviceTracker = null; } if( m_registrations != null ) { fo... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isDebugClassLoading() { if( !contains( ServiceConstants.CONFIG_DEBUG_CLASS_LOADING ) ) { return set( ServiceConstants.CONFIG_DEBUG_CLASS_LOADING, Boolean.valueOf( m_propertyResolver.get( ServiceConstants.CONFIG_DEBUG_CLASS_L... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isDownloadFeedback() { if( !contains( ServiceConstants.CONFIG_DOWNLOAD_FEEDBACK ) ) { String downloadFeedback = m_propertyResolver.get( ServiceConstants.CONFIG_DOWNLOAD_FEEDBACK ); if( downloadFeedback == null ) { downloadFe... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public String getBootDelegation() { if( !contains( ServiceConstants.CONFIG_BOOT_DELEGATION ) ) { String bootDelegation = m_propertyResolver.get( ServiceConstants.CONFIG_BOOT_DELEGATION ); if( bootDelegation != null ) { bootDelegation = boo... |
### Question:
ConfigurationImpl extends PropertyStore implements Configuration { public Boolean isAutoWrap() { if( !contains( ServiceConstants.CONFIG_AUTO_WRAP ) ) { return set( ServiceConstants.CONFIG_AUTO_WRAP, Boolean.valueOf( m_propertyResolver.get( ServiceConstants.CONFIG_AUTO_WRAP ) ) ); } return get( ServiceCons... |
### Question:
AbstractPlatformBuilderActivator implements BundleActivator { public void start( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); m_bundleContext = bundleContext; registerPlatformBuilders( createPlatformBuilders( m_bundleConte... |
### Question:
AbstractPlatformBuilderActivator implements BundleActivator { public void stop( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); if( m_platformBuilderServiceReg != null ) { for( ServiceRegistration registration : m_platformBui... |
### Question:
Activator implements BundleActivator { public void start( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); m_bundleContext = bundleContext; m_extender = createExtender(); m_extender.start(); trackURLStreamHandlerService(); LOG... |
### Question:
Activator implements BundleActivator { public void stop( final BundleContext bundleContext ) throws Exception { NullArgumentException.validateNotNull( bundleContext, "Bundle context" ); if( m_serviceTracker != null ) { m_serviceTracker.close(); m_serviceTracker = null; } m_extender = null; m_bundleContext... |
### Question:
URLUtils { public static URLStreamHandlerFactory getURLStreamHandlerFactory() { Field field = getURLStreamHandlerFactoryField(); field.setAccessible( true ); try { return (URLStreamHandlerFactory) field.get( null ); } catch( IllegalAccessException e ) { throw new RuntimeException( "Cannot access URLStream... |
### Question:
URLUtils { public static void setURLStreamHandlerFactory( final URLStreamHandlerFactory urlStreamHandlerFactory ) { try { URL.setURLStreamHandlerFactory( urlStreamHandlerFactory ); } catch( Error err ) { LOGGER.debug( "URLStreamHandlerFactory already set in the system. Replacing it with a composite" ); sy... |
### Question:
URLStreamHandlerExtender implements URLStreamHandlerFactory { public void register( final String[] protocols, final URLStreamHandlerService urlStreamHandlerService ) { LOGGER.debug( "Registering protocols [" + Arrays.toString( protocols ) + "] to service [" + urlStreamHandlerService + "]" ); NullArgumentE... |
### Question:
URLStreamHandlerExtender implements URLStreamHandlerFactory { public void unregister( final String[] protocols ) { LOGGER.debug( "Unregistering protocols [" + Arrays.toString( protocols ) + "]" ); NullArgumentException.validateNotEmptyContent( protocols, true, "Protocols" ); for( String protocol : protoco... |
### Question:
URLStreamHandlerExtender implements URLStreamHandlerFactory { public URLStreamHandler createURLStreamHandler( final String protocol ) { NullArgumentException.validateNotEmpty( protocol, true, "Protocol" ); return m_proxies.get( protocol ); } URLStreamHandlerExtender(); void start(); void register( final S... |
### Question:
FelixPlatformBuilderF100T122 extends FelixPlatformBuilder { @Override public String[] getVMOptions( final PlatformContext context ) { List<String> vmOptions = new ArrayList<String>( Arrays.asList( super.getVMOptions( context ) ) ); final File workingDirectory = context.getWorkingDirectory(); final File co... |
### Question:
ConciergePlatformBuilder implements PlatformBuilder { public String getMainClassName() { return MAIN_CLASS_NAME; } ConciergePlatformBuilder( final BundleContext bundleContext, final String version ); void prepare( final PlatformContext context ); String getMainClassName(); String[] getArguments( final Pla... |
### Question:
ConciergePlatformBuilder implements PlatformBuilder { public String getRequiredProfile( final PlatformContext context ) { final Boolean console = context.getConfiguration().startConsole(); if( console == null || !console ) { return null; } else { return CONSOLE_PROFILE; } } ConciergePlatformBuilder( final... |
### Question:
CordeauReader { public CordeauReader(VehicleRoutingProblem.Builder vrpBuilder) { super(); this.vrpBuilder = vrpBuilder; } CordeauReader(VehicleRoutingProblem.Builder vrpBuilder); void read(String fileName); void setCoordProjectionFactor(double coordProjectionFactor); }### Answer:
@Test public void testCo... |
### Question:
VehicleImpl extends AbstractVehicle { @Override public Location getEndLocation() { return endLocation; } private VehicleImpl(Builder builder); static Vehicle copyOf(Vehicle vehicle); static NoVehicle createNoVehicle(); @Override String toString(); @Override double getEarliestDeparture(); @Override double... |
### Question:
VehicleImpl extends AbstractVehicle { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; VehicleImpl other = (VehicleImpl) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equal... |
### Question:
VehicleImpl extends AbstractVehicle { @Override public Skills getSkills() { return skills; } private VehicleImpl(Builder builder); static Vehicle copyOf(Vehicle vehicle); static NoVehicle createNoVehicle(); @Override String toString(); @Override double getEarliestDeparture(); @Override double getLatestAr... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public Capacity getCapacityDimensions() { return capacityDimensions; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Override String getTypeId(); @... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public String getTypeId() { return typeId; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Override String getTypeId(); @Override VehicleTypeImpl.V... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public double getMaxVelocity() { return maxVelocity; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Override String getTypeId(); @Override Vehicle... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public VehicleTypeImpl.VehicleCostParams getVehicleCostParams() { return vehicleCostParams; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Overrid... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof VehicleTypeImpl)) return false; VehicleTypeImpl that = (VehicleTypeImpl) o; if (Double.compare(that.maxVelocity, maxVelocity) != 0) return false; if (!typeId.equals(that.type... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public String getProfile() { return profile; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Override String getTypeId(); @Override VehicleTypeImpl... |
### Question:
VehicleTypeImpl implements VehicleType { @Override public Object getUserData() { return userData; } private VehicleTypeImpl(VehicleTypeImpl.Builder builder); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getUserData(); @Override String getTypeId(); @Override VehicleTypeIm... |
### Question:
VehicleTypeKey extends AbstractVehicle.AbstractTypeKey { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; VehicleTypeKey that = (VehicleTypeKey) o; if (Double.compare(that.earliestStart, earliestStart) != 0) return false; if... |
### Question:
ConstraintManager implements HardActivityConstraint, HardRouteConstraint, SoftActivityConstraint, SoftRouteConstraint { public Collection<Constraint> getConstraints() { List<Constraint> constraints = new ArrayList<Constraint>(); constraints.addAll(actLevelConstraintManager.getAllConstraints()); constraint... |
### Question:
Skills { public boolean containsSkill(String skill) { return skills.contains(skill.trim().toLowerCase()); } private Skills(Builder builder); Set<String> values(); String toString(); boolean containsSkill(String skill); @Override boolean equals(Object o); @Override int hashCode(); }### Answer:
@Test publ... |
### Question:
JobInsertionContext { public VehicleRoute getRoute() { return route; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); double getNewDepTime(); List<TourActivity... |
### Question:
JobInsertionContext { public Job getJob() { return job; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); double getNewDepTime(); List<TourActivity> getAssociat... |
### Question:
JobInsertionContext { public Vehicle getNewVehicle() { return newVehicle; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); double getNewDepTime(); List<TourAct... |
### Question:
JobInsertionContext { public Driver getNewDriver() { return newDriver; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); double getNewDepTime(); List<TourActivi... |
### Question:
JobInsertionContext { public double getNewDepTime() { return newDepTime; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); double getNewDepTime(); List<TourActi... |
### Question:
JobInsertionContext { public List<TourActivity> getAssociatedActivities() { return associatedActivities; } JobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime); VehicleRoute getRoute(); Job getJob(); Vehicle getNewVehicle(); Driver getNewDriver(); doubl... |
### Question:
Location implements HasIndex, HasId { public static Location newInstance(double x, double y) { return Location.Builder.newInstance().setCoordinate(Coordinate.newInstance(x, y)).build(); } private Location(Builder builder); static Location newInstance(double x, double y); static Location newInstance(Strin... |
### Question:
VehicleRoutingProblem { public FleetSize getFleetSize() { return fleetSize; } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<String, Job> getJobsInclusiveInitialJobsInRoutes(); C... |
### Question:
VehicleRoutingProblem { public Collection<Vehicle> getVehicles() { return Collections.unmodifiableCollection(vehicles); } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<String, J... |
### Question:
VehicleRoutingProblem { public Collection<VehicleType> getTypes() { return Collections.unmodifiableCollection(vehicleTypes); } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<Stri... |
### Question:
VehicleRoutingProblem { public VehicleRoutingActivityCosts getActivityCosts() { return activityCosts; } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<String, Job> getJobsInclusi... |
### Question:
VehicleRoutingProblem { public VehicleRoutingTransportCosts getTransportCosts() { return transportCosts; } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<String, Job> getJobsIncl... |
### Question:
VehicleRoutingProblem { public Collection<VehicleRoute> getInitialVehicleRoutes() { Collection<VehicleRoute> copiedInitialRoutes = new ArrayList<>(); for (VehicleRoute route : initialVehicleRoutes) { copiedInitialRoutes.add(VehicleRoute.copyOf(route)); } return copiedInitialRoutes; } private VehicleRouti... |
### Question:
VehicleRoutingProblem { public Collection<Location> getAllLocations(){ return allLocations; } private VehicleRoutingProblem(Builder builder); @Override String toString(); FleetSize getFleetSize(); Map<String, Job> getJobs(); Collection<Job> getJobsWithLocation(); Map<String, Job> getJobsInclusiveInitialJ... |
### Question:
Capacity { public int getNuOfDimensions() { return dimensions.length; } private Capacity(Capacity capacity); private Capacity(Builder builder); static Capacity addup(Capacity cap1, Capacity cap2); static Capacity subtract(Capacity cap, Capacity cap2subtract); static Capacity invert(Capacity cap2invert);... |
### Question:
Capacity { public int get(int index) { if (index < dimensions.length) return dimensions[index]; return 0; } private Capacity(Capacity capacity); private Capacity(Builder builder); static Capacity addup(Capacity cap1, Capacity cap2); static Capacity subtract(Capacity cap, Capacity cap2subtract); static C... |
### Question:
Capacity { public static Capacity copyOf(Capacity capacity) { if (capacity == null) return null; return new Capacity(capacity); } private Capacity(Capacity capacity); private Capacity(Builder builder); static Capacity addup(Capacity cap1, Capacity cap2); static Capacity subtract(Capacity cap, Capacity c... |
### Question:
Capacity { public static Capacity addup(Capacity cap1, Capacity cap2) { if (cap1 == null || cap2 == null) throw new NullPointerException("arguments must not be null"); Capacity.Builder capacityBuilder = Capacity.Builder.newInstance(); for (int i = 0; i < Math.max(cap1.getNuOfDimensions(), cap2.getNuOfDime... |
### Question:
Capacity { public static Capacity subtract(Capacity cap, Capacity cap2subtract) { if (cap == null || cap2subtract == null) throw new NullPointerException("arguments must not be null"); Capacity.Builder capacityBuilder = Capacity.Builder.newInstance(); for (int i = 0; i < Math.max(cap.getNuOfDimensions(), ... |
### Question:
Capacity { public boolean isLessOrEqual(Capacity toCompare) { if (toCompare == null) throw new NullPointerException(); for (int i = 0; i < this.getNuOfDimensions(); i++) { if (this.get(i) > toCompare.get(i)) return false; } return true; } private Capacity(Capacity capacity); private Capacity(Builder bui... |
### Question:
Capacity { public boolean isGreaterOrEqual(Capacity toCompare) { if (toCompare == null) throw new NullPointerException(); for (int i = 0; i < Math.max(this.getNuOfDimensions(), toCompare.getNuOfDimensions()); i++) { if (this.get(i) < toCompare.get(i)) return false; } return true; } private Capacity(Capac... |
### Question:
Capacity { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Capacity)) return false; Capacity capacity = (Capacity) o; return Arrays.equals(dimensions, capacity.dimensions); } private Capacity(Capacity capacity); private Capacity(Builder builder); static Capacit... |
### Question:
Shipment extends AbstractJob { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Shipment other = (Shipment) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) ... |
### Question:
Shipment extends AbstractJob { @Override public Capacity getSize() { return capacity; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWindow(); Col... |
### Question:
Shipment extends AbstractJob { public Location getPickupLocation() { return pickupLocation_; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWindow... |
### Question:
Shipment extends AbstractJob { public Location getDeliveryLocation() { return deliveryLocation_; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWi... |
### Question:
Shipment extends AbstractJob { public double getPickupServiceTime() { return pickupServiceTime; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWin... |
### Question:
Shipment extends AbstractJob { public double getDeliveryServiceTime() { return deliveryServiceTime; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTim... |
### Question:
Shipment extends AbstractJob { public TimeWindow getPickupTimeWindow() { return pickupTimeWindows.getTimeWindows().iterator().next(); } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServic... |
### Question:
Shipment extends AbstractJob { public TimeWindow getDeliveryTimeWindow() { return deliveryTimeWindows.getTimeWindows().iterator().next(); } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliverySe... |
### Question:
Shipment extends AbstractJob { public Collection<TimeWindow> getDeliveryTimeWindows() { return deliveryTimeWindows.getTimeWindows(); } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryService... |
### Question:
Shipment extends AbstractJob { public Collection<TimeWindow> getPickupTimeWindows() { return pickupTimeWindows.getTimeWindows(); } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime... |
### Question:
Shipment extends AbstractJob { @Override public Skills getRequiredSkills() { return skills; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWindow(... |
### Question:
Shipment extends AbstractJob { @Override public String getName() { return name; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWindow(); Collectio... |
### Question:
Shipment extends AbstractJob { @Override public int getPriority() { return priority; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTimeWindow(); Coll... |
### Question:
Shipment extends AbstractJob { @Override public double getMaxTimeInVehicle() { return maxTimeInVehicle; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliver... |
### Question:
Shipment extends AbstractJob { @Override public List<Activity> getActivities() { return activities; } Shipment(Builder builder); @Override String getId(); Location getPickupLocation(); double getPickupServiceTime(); Location getDeliveryLocation(); double getDeliveryServiceTime(); TimeWindow getDeliveryTim... |
### Question:
Service extends AbstractJob { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Service other = (Service) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) ret... |
### Question:
Service extends AbstractJob { @Override public Capacity getSize() { return size; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toString();... |
### Question:
Service extends AbstractJob { public String getType() { return type; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toString(); @Override i... |
### Question:
Service extends AbstractJob { public Location getLocation() { return location; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toString(); @... |
### Question:
Service extends AbstractJob { public double getServiceDuration() { return serviceTime; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toStr... |
### Question:
Service extends AbstractJob { public TimeWindow getTimeWindow() { return timeWindows.getTimeWindows().iterator().next(); } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String... |
### Question:
Service extends AbstractJob { @Override public Skills getRequiredSkills() { return skills; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String t... |
### Question:
Service extends AbstractJob { public Collection<TimeWindow> getTimeWindows(){ return timeWindows.getTimeWindows(); } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getTy... |
### Question:
Service extends AbstractJob { @Override public String getName() { return name; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toString(); @... |
### Question:
Service extends AbstractJob { @Override public int getPriority() { return priority; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @Override String toString... |
### Question:
Service extends AbstractJob { @Override public double getMaxTimeInVehicle() { return this.maxTimeInVehicle; } Service(Builder<?> builder); Collection<TimeWindow> getTimeWindows(); @Override String getId(); Location getLocation(); double getServiceDuration(); TimeWindow getTimeWindow(); String getType(); @... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.