test_class.file: siri/gtfs_reader/src/test/java/il/org/hasadna/siri_client/gtfs/crud/BaseTripTest.java
test_class.identifier: BaseTripTest
test_case.body: @Test
  	public void testParse() {
  
  		Trip baseTrip = BaseTrip.parse("1,59884326,27727657_210518,רכבת מזרח/שוק,0,94990");
  
  		// assertEquals(null, baseTrip.getColor());
  		assertEquals(0, baseTrip.getDirectionId());
  		assertEquals("1", baseTrip.getRouteId());
  		assertEquals(new ServiceId("59884326"), baseTrip.getServiceId());
  		assertEquals(94990, baseTrip.getShapeId());
  		assertEquals("רכבת מזרח/שוק", baseTrip.getTripHeadsign());
  		assertEquals("27727657_210518", baseTrip.getTripId());
  
  	}
test_case.class_method_signature: BaseTripTest.testParse()
test_case.full_signature: @Test public void testParse()
test_case.identifier: testParse
test_case.invocations: parse assertEquals getDirectionId assertEquals getRouteId assertEquals getServiceId assertEquals getShapeId assertEquals sign()); assertEquals getTripId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParse()
focal_class.declarator: routeId
focal_class.modifier: final private
focal_class.original_string: final private String routeId;
focal_class.type: String
focal_class.var_name: routeId
focal_class.declarator: serviceId
focal_class.modifier: final private
focal_class.original_string: final private ServiceId serviceId;
focal_class.type: ServiceId
focal_class.var_name: serviceId
focal_class.declarator: tripId
focal_class.modifier: final private
focal_class.original_string: final private String tripId;
focal_class.type: String
focal_class.var_name: tripId
focal_class.declarator: tripHeadsign
focal_class.modifier: final private
focal_class.original_string: final private String tripHeadsign;
focal_class.type: String
focal_class.var_name: tripHeadsign
focal_class.declarator: directionId
focal_class.modifier: final private
focal_class.original_string: final private int directionId;
focal_class.type: int
focal_class.var_name: directionId
focal_class.declarator: shapeId
focal_class.modifier: final private
focal_class.original_string: final private int shapeId;
focal_class.type: int
focal_class.var_name: shapeId
focal_class.file: siri/gtfs_reader/src/main/java/il/org/hasadna/siri_client/gtfs/crud/BaseTrip.java
focal_class.identifier: BaseTrip
focal_class.interfaces: implements Trip
focal_class.class_method_signature: BaseTrip.parse(String csvRow)
focal_class.full_signature: public static BaseTrip parse(String csvRow)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String csvRow)
focal_class.return: BaseTrip
focal_class.signature: BaseTrip parse(String csvRow)
focal_class.class_method_signature: BaseTrip.BaseTrip(String routeId, ServiceId serviceId, String tripId, String tripHeadsign, int directionId,
  			int shapeId)
focal_class.full_signature: public  BaseTrip(String routeId, ServiceId serviceId, String tripId, String tripHeadsign, int directionId,
  			int shapeId)
focal_class.identifier: BaseTrip
focal_class.modifiers: public
focal_class.parameters: (String routeId, ServiceId serviceId, String tripId, String tripHeadsign, int directionId,
  			int shapeId)
focal_class.signature:  BaseTrip(String routeId, ServiceId serviceId, String tripId, String tripHeadsign, int directionId,
  			int shapeId)
focal_class.class_method_signature: BaseTrip.getRouteId()
focal_class.full_signature: @Override public String getRouteId()
focal_class.identifier: getRouteId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRouteId()
focal_class.class_method_signature: BaseTrip.getServiceId()
focal_class.full_signature: @Override public ServiceId getServiceId()
focal_class.identifier: getServiceId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ServiceId
focal_class.signature: ServiceId getServiceId()
focal_class.class_method_signature: BaseTrip.getTripId()
focal_class.full_signature: @Override public String getTripId()
focal_class.identifier: getTripId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTripId()
focal_class.class_method_signature: BaseTrip.getTripHeadsign()
focal_class.full_signature: @Override public String getTripHeadsign()
focal_class.identifier: getTripHeadsign
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTripHeadsign()
focal_class.class_method_signature: BaseTrip.getDirectionId()
focal_class.full_signature: @Override public int getDirectionId()
focal_class.identifier: getDirectionId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDirectionId()
focal_class.class_method_signature: BaseTrip.getShapeId()
focal_class.full_signature: @Override public int getShapeId()
focal_class.identifier: getShapeId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getShapeId()
focal_class.class_method_signature: BaseTrip.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: BaseTrip.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: BaseTrip.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static BaseTrip parse(String csvRow) {
  
  		List<String> items = Arrays.asList(csvRow.split(",", -1));
  
  		Iterator<String> iter = items.iterator();
  		String routeId = iter.next();
  		ServiceId serviceId = new ServiceId(iter.next());
  		String tripId = iter.next();
  		String tripHeadsign = iter.next();
  		int directionId = Integer.valueOf(iter.next());
  
  		String shapeIdStr = iter.next();
  		int shapeId = shapeIdStr.isEmpty() ? 0 : Integer.valueOf(shapeIdStr);
  
  		return new BaseTrip(routeId, serviceId, tripId, tripHeadsign, directionId, shapeId);
  	}
focal_method.class_method_signature: BaseTrip.parse(String csvRow)
focal_method.full_signature: public static BaseTrip parse(String csvRow)
focal_method.identifier: parse
focal_method.invocations: asList split iterator next next next next valueOf next next isEmpty valueOf
focal_method.modifiers: public static
focal_method.parameters: (String csvRow)
focal_method.return: BaseTrip
focal_method.signature: BaseTrip parse(String csvRow)