test_class.file: common-tools/clas-detector/src/test/java/org/jlab/detector/base/DetectorDescriptorTest.java
test_class.identifier: DetectorDescriptorTest
test_case.body: @Test
  	public void testDetectorDescriptor() {
  		DetectorDescriptor dd = new DetectorDescriptor(DetectorType.DC);
          dd.setOrder(0);
          dd.setCrateSlotChannel(1, 2, 3);
          dd.setSectorLayerComponent(4, 5, 6);
  		assertEquals(dd.getOrder(), 0);
  		assertEquals(dd.getCrate(), 1);
  		assertEquals(dd.getSlot(), 2);
  		assertEquals(dd.getChannel(), 3);
  		assertEquals(dd.getSector(), 4);
  		assertEquals(dd.getLayer(), 5);
  		assertEquals(dd.getComponent(), 6);
  
  		DetectorDescriptor dd2 = new DetectorDescriptor(DetectorType.DC);
          dd2.setOrder(0);
          dd2.setCrateSlotChannel(1, 2, 3);
          dd2.setSectorLayerComponent(4, 5, 6);
  		assertEquals(dd.compare(dd2), true);
  	}
test_case.class_method_signature: DetectorDescriptorTest.testDetectorDescriptor()
test_case.full_signature: @Test public void testDetectorDescriptor()
test_case.identifier: testDetectorDescriptor
test_case.invocations: setOrder setCrateSlotChannel setSectorLayerComponent assertEquals getOrder assertEquals getCrate assertEquals getSlot assertEquals getChannel assertEquals getSector assertEquals getLayer assertEquals getComponent setOrder setCrateSlotChannel setSectorLayerComponent assertEquals compare
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDetectorDescriptor()
focal_class.declarator: detectorType = DetectorType.UNDEFINED
focal_class.modifier: private
focal_class.original_string: private DetectorType  detectorType = DetectorType.UNDEFINED;
focal_class.type: DetectorType
focal_class.var_name: detectorType
focal_class.declarator: hw_CRATE     = 0
focal_class.modifier: private
focal_class.original_string: private Integer hw_CRATE     = 0;
focal_class.type: Integer
focal_class.var_name: hw_CRATE
focal_class.declarator: hw_SLOT      = 0
focal_class.modifier: private
focal_class.original_string: private Integer hw_SLOT      = 0;
focal_class.type: Integer
focal_class.var_name: hw_SLOT
focal_class.declarator: hw_CHANNEL   = 0
focal_class.modifier: private
focal_class.original_string: private Integer hw_CHANNEL   = 0;
focal_class.type: Integer
focal_class.var_name: hw_CHANNEL
focal_class.declarator: dt_SECTOR    = 0
focal_class.modifier: private
focal_class.original_string: private Integer dt_SECTOR    = 0;
focal_class.type: Integer
focal_class.var_name: dt_SECTOR
focal_class.declarator: dt_LAYER     = 0
focal_class.modifier: private
focal_class.original_string: private Integer dt_LAYER     = 0;
focal_class.type: Integer
focal_class.var_name: dt_LAYER
focal_class.declarator: dt_COMPONENT = 0
focal_class.modifier: private
focal_class.original_string: private Integer dt_COMPONENT = 0;
focal_class.type: Integer
focal_class.var_name: dt_COMPONENT
focal_class.declarator: dt_ORDER     = 0
focal_class.modifier: private
focal_class.original_string: private Integer dt_ORDER     = 0;
focal_class.type: Integer
focal_class.var_name: dt_ORDER
focal_class.file: common-tools/clas-detector/src/main/java/org/jlab/detector/base/DetectorDescriptor.java
focal_class.identifier: DetectorDescriptor
focal_class.interfaces: implements Comparable<DetectorDescriptor>
focal_class.class_method_signature: DetectorDescriptor.DetectorDescriptor()
focal_class.full_signature: public  DetectorDescriptor()
focal_class.identifier: DetectorDescriptor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DetectorDescriptor()
focal_class.class_method_signature: DetectorDescriptor.DetectorDescriptor(DetectorType type)
focal_class.full_signature: public  DetectorDescriptor(DetectorType type)
focal_class.identifier: DetectorDescriptor
focal_class.modifiers: public
focal_class.parameters: (DetectorType type)
focal_class.signature:  DetectorDescriptor(DetectorType type)
focal_class.class_method_signature: DetectorDescriptor.DetectorDescriptor(String name)
focal_class.full_signature: public  DetectorDescriptor(String name)
focal_class.identifier: DetectorDescriptor
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  DetectorDescriptor(String name)
focal_class.class_method_signature: DetectorDescriptor.getCopy()
focal_class.full_signature: public DetectorDescriptor getCopy()
focal_class.identifier: getCopy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DetectorDescriptor
focal_class.signature: DetectorDescriptor getCopy()
focal_class.class_method_signature: DetectorDescriptor.getCrate()
focal_class.full_signature: public int getCrate()
focal_class.identifier: getCrate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCrate()
focal_class.class_method_signature: DetectorDescriptor.getChannel()
focal_class.full_signature: public int getChannel()
focal_class.identifier: getChannel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getChannel()
focal_class.class_method_signature: DetectorDescriptor.getComponent()
focal_class.full_signature: public int getComponent()
focal_class.identifier: getComponent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getComponent()
focal_class.class_method_signature: DetectorDescriptor.getLayer()
focal_class.full_signature: public int getLayer()
focal_class.identifier: getLayer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getLayer()
focal_class.class_method_signature: DetectorDescriptor.getSlot()
focal_class.full_signature: public int getSlot()
focal_class.identifier: getSlot
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSlot()
focal_class.class_method_signature: DetectorDescriptor.getSector()
focal_class.full_signature: public int getSector()
focal_class.identifier: getSector
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSector()
focal_class.class_method_signature: DetectorDescriptor.getOrder()
focal_class.full_signature: public int getOrder()
focal_class.identifier: getOrder
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getOrder()
focal_class.class_method_signature: DetectorDescriptor.setSector(int sector)
focal_class.full_signature: public void setSector(int sector)
focal_class.identifier: setSector
focal_class.modifiers: public
focal_class.parameters: (int sector)
focal_class.return: void
focal_class.signature: void setSector(int sector)
focal_class.class_method_signature: DetectorDescriptor.setOrder(int order)
focal_class.full_signature: public void setOrder(int order)
focal_class.identifier: setOrder
focal_class.modifiers: public
focal_class.parameters: (int order)
focal_class.return: void
focal_class.signature: void setOrder(int order)
focal_class.class_method_signature: DetectorDescriptor.getType()
focal_class.full_signature: public DetectorType getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DetectorType
focal_class.signature: DetectorType getType()
focal_class.class_method_signature: DetectorDescriptor.setType(DetectorType type)
focal_class.full_signature: public final void setType(DetectorType type)
focal_class.identifier: setType
focal_class.modifiers: public final
focal_class.parameters: (DetectorType type)
focal_class.return: void
focal_class.signature: void setType(DetectorType type)
focal_class.class_method_signature: DetectorDescriptor.setLayer(int layer)
focal_class.full_signature: public final void setLayer(int layer)
focal_class.identifier: setLayer
focal_class.modifiers: public final
focal_class.parameters: (int layer)
focal_class.return: void
focal_class.signature: void setLayer(int layer)
focal_class.class_method_signature: DetectorDescriptor.setCrateSlotChannel(int crate, int slot, int channel)
focal_class.full_signature: public final void setCrateSlotChannel(int crate, int slot, int channel)
focal_class.identifier: setCrateSlotChannel
focal_class.modifiers: public final
focal_class.parameters: (int crate, int slot, int channel)
focal_class.return: void
focal_class.signature: void setCrateSlotChannel(int crate, int slot, int channel)
focal_class.class_method_signature: DetectorDescriptor.setSectorLayerComponent(int sector, int layer, int comp)
focal_class.full_signature: public final void setSectorLayerComponent(int sector, int layer, int comp)
focal_class.identifier: setSectorLayerComponent
focal_class.modifiers: public final
focal_class.parameters: (int sector, int layer, int comp)
focal_class.return: void
focal_class.signature: void setSectorLayerComponent(int sector, int layer, int comp)
focal_class.class_method_signature: DetectorDescriptor.generateHashCode(int s, int l, int c)
focal_class.full_signature: public static int generateHashCode(int s, int l, int c)
focal_class.identifier: generateHashCode
focal_class.modifiers: public static
focal_class.parameters: (int s, int l, int c)
focal_class.return: int
focal_class.signature: int generateHashCode(int s, int l, int c)
focal_class.class_method_signature: DetectorDescriptor.getHashCode()
focal_class.full_signature: public int getHashCode()
focal_class.identifier: getHashCode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getHashCode()
focal_class.class_method_signature: DetectorDescriptor.copy(DetectorDescriptor desc)
focal_class.full_signature: public void copy(DetectorDescriptor desc)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (DetectorDescriptor desc)
focal_class.return: void
focal_class.signature: void copy(DetectorDescriptor desc)
focal_class.class_method_signature: DetectorDescriptor.compare(DetectorDescriptor desc)
focal_class.full_signature: public boolean compare(DetectorDescriptor desc)
focal_class.identifier: compare
focal_class.modifiers: public
focal_class.parameters: (DetectorDescriptor desc)
focal_class.return: boolean
focal_class.signature: boolean compare(DetectorDescriptor desc)
focal_class.class_method_signature: DetectorDescriptor.getName(String base, int... ids)
focal_class.full_signature: public static String getName(String base, int... ids)
focal_class.identifier: getName
focal_class.modifiers: public static
focal_class.parameters: (String base, int... ids)
focal_class.return: String
focal_class.signature: String getName(String base, int... ids)
focal_class.class_method_signature: DetectorDescriptor.getTitle(String base, int... ids)
focal_class.full_signature: public static String getTitle(String base, int... ids)
focal_class.identifier: getTitle
focal_class.modifiers: public static
focal_class.parameters: (String base, int... ids)
focal_class.return: String
focal_class.signature: String getTitle(String base, int... ids)
focal_class.class_method_signature: DetectorDescriptor.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_class.class_method_signature: DetectorDescriptor.compareTo(DetectorDescriptor o)
focal_class.full_signature: @Override public int compareTo(DetectorDescriptor o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (DetectorDescriptor o)
focal_class.return: int
focal_class.signature: int compareTo(DetectorDescriptor o)
focal_method.body: public DetectorDescriptor(){
          
      }
focal_method.class_method_signature: DetectorDescriptor.DetectorDescriptor()
focal_method.full_signature: public  DetectorDescriptor()
focal_method.identifier: DetectorDescriptor
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  DetectorDescriptor()