File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
driver/src/main/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,17 @@ public static Value value( boolean... input )
141141 }
142142 return new ListValue ( values );
143143 }
144+
145+ public static Value value ( char ... input )
146+ {
147+ Value [] values = new Value [input .length ];
148+ for ( int i = 0 ; i < input .length ; i ++ )
149+ {
150+ values [i ] = value ( input [i ] );
151+ }
152+ return new ListValue ( values );
153+ }
154+
144155 public static Value value ( long ... input )
145156 {
146157 Value [] values = new Value [input .length ];
@@ -207,7 +218,7 @@ public static Value value( Iterator<Object> val )
207218 return new ListValue ( values .toArray ( new Value [values .size ()] ) );
208219 }
209220
210- public static Value value (final char val ) { return new StringValue ( String .valueOf (val ) ); }
221+ public static Value value (final char val ) { return new StringValue ( String .valueOf ( val ) ); }
211222
212223 public static Value value ( final String val )
213224 {
You can’t perform that action at this time.
0 commit comments