test_class.declarator: DEFINE_NAMES = Arrays.asList("BOOL_VAR", "INT_VAR", "FLOAT_VAR")
test_class.modifier: private static final
test_class.original_string: private static final List<String> DEFINE_NAMES = Arrays.asList("BOOL_VAR", "INT_VAR", "FLOAT_VAR");
test_class.type: List<String>
test_class.var_name: DEFINE_NAMES
test_class.declarator: DEFINE_TYPES = Arrays.asList(VarType.Boolean, VarType.Int, VarType.Float)
test_class.modifier: private static final
test_class.original_string: private static final List<VarType> DEFINE_TYPES = Arrays.asList(VarType.Boolean, VarType.Int, VarType.Float);
test_class.type: List<VarType>
test_class.var_name: DEFINE_TYPES
test_class.declarator: NUM_DEFINES = DEFINE_NAMES.size()
test_class.modifier: private static final
test_class.original_string: private static final int NUM_DEFINES = DEFINE_NAMES.size();
test_class.type: int
test_class.var_name: NUM_DEFINES
test_class.declarator: BOOL_VAR = 0
test_class.modifier: private static final
test_class.original_string: private static final int BOOL_VAR = 0;
test_class.type: int
test_class.var_name: BOOL_VAR
test_class.declarator: INT_VAR = 1
test_class.modifier: private static final
test_class.original_string: private static final int INT_VAR = 1;
test_class.type: int
test_class.var_name: INT_VAR
test_class.declarator: FLOAT_VAR = 2
test_class.modifier: private static final
test_class.original_string: private static final int FLOAT_VAR = 2;
test_class.type: int
test_class.var_name: FLOAT_VAR
test_class.declarator: EMPTY = new DefineList(NUM_DEFINES)
test_class.modifier: private static final
test_class.original_string: private static final DefineList EMPTY = new DefineList(NUM_DEFINES);
test_class.type: DefineList
test_class.var_name: EMPTY
test_class.file: jme3-core/src/test/java/com/jme3/shader/DefineListTest.java
test_class.identifier: DefineListTest
test_case.body: @Test
      public void testDeepClone() {
          DefineList dl1 = new DefineList(NUM_DEFINES);
          DefineList dl2 = dl1.deepClone();
  
          assertNotSame(dl1, dl2);
          assertEquals(dl1, dl2);
          assertEquals(dl1.hashCode(), dl2.hashCode());
  
          dl1.set(BOOL_VAR, true);
          dl2 = dl1.deepClone();
  
          assertEquals(dl1, dl2);
          assertEquals(dl1.hashCode(), dl2.hashCode());
  
          dl1.set(BOOL_VAR, false);
          dl2 = dl1.deepClone();
  
          assertEquals(dl1, dl2);
          assertEquals(dl1.hashCode(), dl2.hashCode());
  
          dl1.set(INT_VAR, 123);
  
          assertNotEquals(dl1, dl2);
          assertNotEquals(dl1.hashCode(), dl2.hashCode());
  
          dl2 = dl1.deepClone();
  
          assertEquals(dl1, dl2);
          assertEquals(dl1.hashCode(), dl2.hashCode());
      }
test_case.class_method_signature: DefineListTest.testDeepClone()
test_case.full_signature: @Test public void testDeepClone()
test_case.identifier: testDeepClone
test_case.invocations: deepClone assertNotSame assertEquals assertEquals hashCode hashCode set deepClone assertEquals assertEquals hashCode hashCode set deepClone assertEquals assertEquals hashCode hashCode set assertNotEquals assertNotEquals hashCode hashCode deepClone assertEquals assertEquals hashCode hashCode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDeepClone()
focal_class.declarator: MAX_DEFINES = 64
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_DEFINES = 64;
focal_class.type: int
focal_class.var_name: MAX_DEFINES
focal_class.declarator: isSet
focal_class.modifier: private
focal_class.original_string: private long isSet;
focal_class.type: long
focal_class.var_name: isSet
focal_class.declarator: values
focal_class.modifier: private final
focal_class.original_string: private final int[] values;
focal_class.type: int[]
focal_class.var_name: values
focal_class.file: jme3-core/src/main/java/com/jme3/shader/DefineList.java
focal_class.identifier: DefineList
focal_class.class_method_signature: DefineList.DefineList(int numValues)
focal_class.full_signature: public  DefineList(int numValues)
focal_class.identifier: DefineList
focal_class.modifiers: public
focal_class.parameters: (int numValues)
focal_class.signature:  DefineList(int numValues)
focal_class.class_method_signature: DefineList.DefineList(DefineList original)
focal_class.full_signature: private  DefineList(DefineList original)
focal_class.identifier: DefineList
focal_class.modifiers: private
focal_class.parameters: (DefineList original)
focal_class.signature:  DefineList(DefineList original)
focal_class.class_method_signature: DefineList.rangeCheck(int id)
focal_class.full_signature: private void rangeCheck(int id)
focal_class.identifier: rangeCheck
focal_class.modifiers: private
focal_class.parameters: (int id)
focal_class.return: void
focal_class.signature: void rangeCheck(int id)
focal_class.class_method_signature: DefineList.isSet(int id)
focal_class.full_signature: public boolean isSet(int id)
focal_class.identifier: isSet
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: boolean
focal_class.signature: boolean isSet(int id)
focal_class.class_method_signature: DefineList.unset(int id)
focal_class.full_signature: public void unset(int id)
focal_class.identifier: unset
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: void
focal_class.signature: void unset(int id)
focal_class.class_method_signature: DefineList.set(int id, int val)
focal_class.full_signature: public void set(int id, int val)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (int id, int val)
focal_class.return: void
focal_class.signature: void set(int id, int val)
focal_class.class_method_signature: DefineList.set(int id, float val)
focal_class.full_signature: public void set(int id, float val)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (int id, float val)
focal_class.return: void
focal_class.signature: void set(int id, float val)
focal_class.class_method_signature: DefineList.set(int id, boolean val)
focal_class.full_signature: public void set(int id, boolean val)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (int id, boolean val)
focal_class.return: void
focal_class.signature: void set(int id, boolean val)
focal_class.class_method_signature: DefineList.set(int id, VarType type, Object value)
focal_class.full_signature: public void set(int id, VarType type, Object value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (int id, VarType type, Object value)
focal_class.return: void
focal_class.signature: void set(int id, VarType type, Object value)
focal_class.class_method_signature: DefineList.setAll(DefineList other)
focal_class.full_signature: public void setAll(DefineList other)
focal_class.identifier: setAll
focal_class.modifiers: public
focal_class.parameters: (DefineList other)
focal_class.return: void
focal_class.signature: void setAll(DefineList other)
focal_class.class_method_signature: DefineList.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: DefineList.getBoolean(int id)
focal_class.full_signature: public boolean getBoolean(int id)
focal_class.identifier: getBoolean
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: boolean
focal_class.signature: boolean getBoolean(int id)
focal_class.class_method_signature: DefineList.getFloat(int id)
focal_class.full_signature: public float getFloat(int id)
focal_class.identifier: getFloat
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: float
focal_class.signature: float getFloat(int id)
focal_class.class_method_signature: DefineList.getInt(int id)
focal_class.full_signature: public int getInt(int id)
focal_class.identifier: getInt
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: int
focal_class.signature: int getInt(int id)
focal_class.class_method_signature: DefineList.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: DefineList.equals(Object other)
focal_class.full_signature: @Override public boolean equals(Object other)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object other)
focal_class.return: boolean
focal_class.signature: boolean equals(Object other)
focal_class.class_method_signature: DefineList.deepClone()
focal_class.full_signature: public DefineList deepClone()
focal_class.identifier: deepClone
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DefineList
focal_class.signature: DefineList deepClone()
focal_class.class_method_signature: DefineList.generateSource(StringBuilder sb, List<String> defineNames, List<VarType> defineTypes)
focal_class.full_signature: public void generateSource(StringBuilder sb, List<String> defineNames, List<VarType> defineTypes)
focal_class.identifier: generateSource
focal_class.modifiers: public
focal_class.parameters: (StringBuilder sb, List<String> defineNames, List<VarType> defineTypes)
focal_class.return: void
focal_class.signature: void generateSource(StringBuilder sb, List<String> defineNames, List<VarType> defineTypes)
focal_class.class_method_signature: DefineList.generateSource(List<String> defineNames, List<VarType> defineTypes)
focal_class.full_signature: public String generateSource(List<String> defineNames, List<VarType> defineTypes)
focal_class.identifier: generateSource
focal_class.modifiers: public
focal_class.parameters: (List<String> defineNames, List<VarType> defineTypes)
focal_class.return: String
focal_class.signature: String generateSource(List<String> defineNames, List<VarType> defineTypes)
focal_method.body: public DefineList deepClone() {
          return new DefineList(this);
      }
focal_method.class_method_signature: DefineList.deepClone()
focal_method.full_signature: public DefineList deepClone()
focal_method.identifier: deepClone
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: DefineList
focal_method.signature: DefineList deepClone()