116117118119120121122123
throw new IllegalArgumentException("Must supply three node types"); } } private Attribute createAttribute(String name, NodeType type) { PositionName positionName = new PositionName(name + nameCounter); return new AttributeImpl(positionName, type); }
8283848586878889909192
final byte b = tupleInput.readByte(); final String name = tupleInput.readString(); AttributeName attributeName; switch (b) { case POSITION_NAME: attributeName = new PositionName(name); break; case VARIABLE_NAME: attributeName = new VariableName(name); break; default: