test_class.file: splitmap/src/test/java/com/openkappa/splitmap/SliceTest.java
test_class.identifier: SliceTest
test_case.body: @Test
    public void shouldGetPopulatedValuesWhenIterating() {
      Slice<String, String> slice = new Slice<>("default");
      slice.set("foo", "bar");
      slice.set("bar", "foo");
      List<String> all = StreamSupport.stream(slice.spliterator(), false).collect(Collectors.toList());
      assertEquals(2, all.size());
      assertTrue(all.contains("foo"));
      assertTrue(all.contains("bar"));
    }
test_case.class_method_signature: SliceTest.shouldGetPopulatedValuesWhenIterating()
test_case.full_signature: @Test public void shouldGetPopulatedValuesWhenIterating()
test_case.identifier: shouldGetPopulatedValuesWhenIterating
test_case.invocations: set set collect stream spliterator toList assertEquals size assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldGetPopulatedValuesWhenIterating()
focal_class.declarator: values
focal_class.modifier: private final
focal_class.original_string: private final Map<Attribute, Value> values;
focal_class.type: Map<Attribute, Value>
focal_class.var_name: values
focal_class.declarator: defaultValue
focal_class.modifier: private final
focal_class.original_string: private final Value defaultValue;
focal_class.type: Value
focal_class.var_name: defaultValue
focal_class.file: splitmap/src/main/java/com/openkappa/splitmap/Slice.java
focal_class.identifier: Slice
focal_class.interfaces: implements Iterable<Value>
focal_class.class_method_signature: Slice.Slice(Value defaultValue)
focal_class.full_signature: public  Slice(Value defaultValue)
focal_class.identifier: Slice
focal_class.modifiers: public
focal_class.parameters: (Value defaultValue)
focal_class.signature:  Slice(Value defaultValue)
focal_class.class_method_signature: Slice.get(Attribute field)
focal_class.full_signature: public Value get(Attribute field)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (Attribute field)
focal_class.return: Value
focal_class.signature: Value get(Attribute field)
focal_class.class_method_signature: Slice.set(Attribute field, Value value)
focal_class.full_signature: public void set(Attribute field, Value value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (Attribute field, Value value)
focal_class.return: void
focal_class.signature: void set(Attribute field, Value value)
focal_class.class_method_signature: Slice.iterator()
focal_class.full_signature: @Override public Iterator<Value> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Value>
focal_class.signature: Iterator<Value> iterator()
focal_method.body: public void set(Attribute field, Value value) {
      values.put(field, value);
    }
focal_method.class_method_signature: Slice.set(Attribute field, Value value)
focal_method.full_signature: public void set(Attribute field, Value value)
focal_method.identifier: set
focal_method.invocations: put
focal_method.modifiers: public
focal_method.parameters: (Attribute field, Value value)
focal_method.return: void
focal_method.signature: void set(Attribute field, Value value)