Java Code Examples for com.sun.corba.se.spi.orb.OperationFactory#listAction()
The following examples show how to use
com.sun.corba.se.spi.orb.OperationFactory#listAction() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ParserTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 2
Source File: ParserTable.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 3
Source File: ParserTable.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 4
Source File: ParserTable.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 5
Source File: ParserTable.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 6
Source File: ParserTable.java From hottub with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 7
Source File: ParserTable.java From hottub with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 8
Source File: ParserTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 9
Source File: ParserTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 10
Source File: ParserTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 11
Source File: ParserTable.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 12
Source File: ParserTable.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 13
Source File: ParserTable.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 14
Source File: ParserTable.java From JDKSourceCode1.8 with MIT License | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 15
Source File: ParserTable.java From JDKSourceCode1.8 with MIT License | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 16
Source File: ParserTable.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 17
Source File: ParserTable.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 18
Source File: ParserTable.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }
Example 19
Source File: ParserTable.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private Operation makeUSLOperation() { Operation[] siop = { OperationFactory.stringAction(), OperationFactory.integerAction() } ; Operation op2 = OperationFactory.sequenceAction( ":", siop ) ; Operation uslop = new Operation() { public Object operate( Object value ) { Object[] values = (Object[])value ; String type = (String)(values[0]) ; Integer port = (Integer)(values[1]) ; return new USLPort( type, port.intValue() ) ; } } ; Operation op3 = OperationFactory.compose( op2, uslop ) ; Operation listenop = OperationFactory.listAction( ",", op3 ) ; return listenop ; }
Example 20
Source File: ParserTable.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
private Operation makeGVOperation() { Operation gvHelper = OperationFactory.listAction( ".", OperationFactory.integerAction() ) ; Operation gvMain = new Operation() { public Object operate( Object value ) { Object[] nums = (Object[])value ; int major = ((Integer)(nums[0])).intValue() ; int minor = ((Integer)(nums[1])).intValue() ; return new GIOPVersion( major, minor ) ; } } ; Operation result = OperationFactory.compose( gvHelper, gvMain ); return result ; }