\r\n

51Degrees Device Detection Java  4.1Newer Version 4.4

Device detection services for 51Degrees Pipeline
  • fiftyone
  • devicedetection
  • hash
  • engine
  • onpremise
  • interop
  • Swig

fiftyone.devicedetection.hash.engine.onpremise.interop.Swig Class Reference

Detailed Description

Static methods to help interoperability through the SWIG layer to C++.

Static Public Member Functions

static List< String >  asList (VectorStringSwig vector)
Copy the values in the native string vector to a List. More...
static List< String >  asUnmodifiableList (VectorStringSwig vector)
The same as asList(VectorStringSwig) but makes the returned list unmodifiable. More...
static VectorStringSwig  asVector (List< String > list)
Copy the values in the List to a new native string vector. More...

Member Function Documentation

◆ asList()

static List<String> fiftyone.devicedetection.hash.engine.onpremise.interop.Swig.asList ( VectorStringSwig   vector )
static

Copy the values in the native string vector to a List.

Parameters
vector - native instance to copy
Returns
list with values from the vector

◆ asUnmodifiableList()

static List<String> fiftyone.devicedetection.hash.engine.onpremise.interop.Swig.asUnmodifiableList ( VectorStringSwig   vector )
static

The same as asList(VectorStringSwig) but makes the returned list unmodifiable.

Parameters
vector - native instance to copy
Returns
unmodifiable list with values from the vector

◆ asVector()

static VectorStringSwig fiftyone.devicedetection.hash.engine.onpremise.interop.Swig.asVector ( List< String >   list )
static

Copy the values in the List to a new native string vector.

Parameters
list - the list to copy
Returns
new native vector with values from the list