Skip to content

Commit 9c3aa99

Browse files
committed
update Java version
1 parent 1fbae5d commit 9c3aa99

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

api/com.upokecenter.cbor.CBORObject.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,14 +1802,16 @@ Converts this CBOR object to an object of an arbitrary type. See the
18021802
use the EncodeToBytes method instead.)</li> <li>If the type is a
18031803
one-dimensional or multidimensional array type and this CBOR object
18041804
is an array, returns an array containing the items in this CBOR
1805-
object.</li> <li>If the type is List or the generic or non-generic
1806-
List, ICollection, or Iterable, (or ArrayList, List, Collection, or
1807-
Iterable in Java), and if this CBOR object is an array, returns an
1808-
object conforming to the type, class, or interface passed to this
1809-
method, where the object will contain all items in this CBOR
1810-
array.</li> <li>If the type is Dictionary or the generic or
1811-
non-generic Map (or HashMap or Map in Java), and if this CBOR object
1812-
is a map, returns an object conforming to the type, class, or
1805+
object.</li> <li>If the type is List, ReadOnlyCollection or the
1806+
generic or non-generic List, ICollection, Iterable,
1807+
IReadOnlyCollection, or IReadOnlyList (or ArrayList, List,
1808+
Collection, or Iterable in Java), and if this CBOR object is an
1809+
array, returns an object conforming to the type, class, or interface
1810+
passed to this method, where the object will contain all items in
1811+
this CBOR array.</li> <li>If the type is Dictionary,
1812+
ReadOnlyDictionary or the generic or non-generic Map or
1813+
IReadOnlyDictionary (or HashMap or Map in Java), and if this CBOR
1814+
object is a map, returns an object conforming to the type, class, or
18131815
interface passed to this method, where the object will contain all
18141816
keys and values in this CBOR map.</li> <li>If the type is an
18151817
enumeration constant ("enum"), and this CBOR object is an integer or

src/main/java/com/upokecenter/cbor/CBORObject.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,14 +1489,16 @@ public <T> T ToObject(java.lang.reflect.Type t, PODOptions options) {
14891489
* use the EncodeToBytes method instead.)</li> <li>If the type is a
14901490
* one-dimensional or multidimensional array type and this CBOR object
14911491
* is an array, returns an array containing the items in this CBOR
1492-
* object.</li> <li>If the type is List or the generic or non-generic
1493-
* List, ICollection, or Iterable, (or ArrayList, List, Collection, or
1494-
* Iterable in Java), and if this CBOR object is an array, returns an
1495-
* object conforming to the type, class, or interface passed to this
1496-
* method, where the object will contain all items in this CBOR
1497-
* array.</li> <li>If the type is Dictionary or the generic or
1498-
* non-generic Map (or HashMap or Map in Java), and if this CBOR object
1499-
* is a map, returns an object conforming to the type, class, or
1492+
* object.</li> <li>If the type is List, ReadOnlyCollection or the
1493+
* generic or non-generic List, ICollection, Iterable,
1494+
* IReadOnlyCollection, or IReadOnlyList (or ArrayList, List,
1495+
* Collection, or Iterable in Java), and if this CBOR object is an
1496+
* array, returns an object conforming to the type, class, or interface
1497+
* passed to this method, where the object will contain all items in
1498+
* this CBOR array.</li> <li>If the type is Dictionary,
1499+
* ReadOnlyDictionary or the generic or non-generic Map or
1500+
* IReadOnlyDictionary (or HashMap or Map in Java), and if this CBOR
1501+
* object is a map, returns an object conforming to the type, class, or
15001502
* interface passed to this method, where the object will contain all
15011503
* keys and values in this CBOR map.</li> <li>If the type is an
15021504
* enumeration constant ("enum"), and this CBOR object is an integer or

0 commit comments

Comments
 (0)