# Is there any document for daml-lf-dev-archive-java-proto library?

**URL:** <https://forum.canton.network/t/is-there-any-document-for-daml-lf-dev-archive-java-proto-library/3371>\
**Category:** App Development\
**Tags:** daml, daml-sdk\
**Created:** [October 26, 2021, 1:19am UTC](https://forum.canton.network/t/is-there-any-document-for-daml-lf-dev-archive-java-proto-library/3371 "2021-10-26T01:19:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiuu](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/shiuu/32/2222_2.png) [@shiuu](https://forum.canton.network/u/shiuu)\
**Post date:** [October 26, 2021, 1:19am UTC](https://forum.canton.network/t/is-there-any-document-for-daml-lf-dev-archive-java-proto-library/3371/1 "2021-10-26T01:19:13Z")

</div>

I am using

```haskell
<dependency>
    <groupId>com.daml</groupId>
    <artifactId>daml-lf-dev-archive-java-proto</artifactId>
    <version>1.17.1</version>
</dependency>

```

and wondering if there are any documentations about the library.  
For example, I don’t quite understand the following methods of class com.daml.daml\_lf\_dev.DamlLf1:  
getInternedStringsList()  
getInternedDottedNamesList().

What are InteredStrings and InternedDottedNames?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [October 26, 2021, 6:19am UTC](https://forum.canton.network/t/is-there-any-document-for-daml-lf-dev-archive-java-proto-library/3371/2 "2021-10-26T06:19:01Z")

</div>

I don’t think there is detailed documentaton around this unfortunately. The best way to understand this is probably to look at the corresponding [protobuf](https://github.com/digital-asset/daml/blob/b14077a607b074e1cbfaf56eb2c03ae5b00edccd/daml-lf/archive/src/stable/protobuf/com/daml/daml_lf_1_14/daml_lf_1.proto) from which the Java code is generated.

For interned strings specifically, there is an array of interned strings per package [daml/daml\_lf\_1.proto at b14077a607b074e1cbfaf56eb2c03ae5b00edccd · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/blob/b14077a607b074e1cbfaf56eb2c03ae5b00edccd/daml-lf/archive/src/stable/protobuf/com/daml/daml_lf_1_14/daml_lf_1.proto#L1582).  
Each string is then represented as an index in that array, e.g., for template names [daml/daml\_lf\_1.proto at b14077a607b074e1cbfaf56eb2c03ae5b00edccd · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/blob/b14077a607b074e1cbfaf56eb2c03ae5b00edccd/daml-lf/archive/src/stable/protobuf/com/daml/daml_lf_1_14/daml_lf_1.proto#L116).

That way repeated strings are only stored once which makes the Dalf much smaller.
