This repository was archived by the owner on Aug 17, 2019. It is now read-only.
File tree 2 files changed +2
-16
lines changed
src/main/scala/com/ckkloverdos/convert
2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ class Converters(selector: ConverterSelectionStrategy) extends CanConvert {
56
56
}
57
57
58
58
def convertValueToInt [S : Manifest ](sourceValue : S ): Maybe [Int ] = convertValue(sourceValue, Manifest .Int )
59
+
59
60
def convertValueToLong [S : Manifest ](sourceValue : S ): Maybe [Long ] = convertValue(sourceValue, Manifest .Long )
61
+
60
62
def convertValueToBoolean [S : Manifest ](sourceValue : S ): Maybe [Boolean ] = convertValue(sourceValue, Manifest .Boolean )
61
63
}
Original file line number Diff line number Diff line change 17
17
package com .ckkloverdos .convert
18
18
package select
19
19
20
- /*
21
- * Copyright 2011 Christos KK Loverdos
22
- *
23
- * Licensed under the Apache License, Version 2.0 (the "License");
24
- * you may not use this file except in compliance with the License.
25
- * You may obtain a copy of the License at
26
- *
27
- * http://www.apache.org/licenses/LICENSE-2.0
28
- *
29
- * Unless required by applicable law or agreed to in writing, software
30
- * distributed under the License is distributed on an "AS IS" BASIS,
31
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32
- * See the License for the specific language governing permissions and
33
- * limitations under the License.
34
- */
35
-
36
20
import Converter .{AnyManifest , AnyConverter }
37
21
import com .ckkloverdos .maybe .{NoVal , Just , Maybe }
38
22
You can’t perform that action at this time.
0 commit comments