Java Code Examples for com.sun.corba.se.spi.orb.StringPair

The following examples show how to use com.sun.corba.se.spi.orb.StringPair. These examples are extracted from open source projects. 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
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 2
Source Project: jdk1.8-source-analysis   Source File: PrefixParserData.java    License: Apache License 2.0 5 votes vote down vote up
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 3
Source Project: jdk1.8-source-analysis   Source File: PrefixParserData.java    License: Apache License 2.0 5 votes vote down vote up
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 4
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 5
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 6
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 7
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 8
Source Project: jdk8u60   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 9
Source Project: jdk8u60   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 10
Source Project: JDKSourceCode1.8   Source File: ORBInitRefResolverImpl.java    License: MIT License 5 votes vote down vote up
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 11
Source Project: JDKSourceCode1.8   Source File: PrefixParserData.java    License: MIT License 5 votes vote down vote up
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 12
Source Project: JDKSourceCode1.8   Source File: PrefixParserData.java    License: MIT License 5 votes vote down vote up
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 13
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 14
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 15
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 16
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 17
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 18
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 19
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 20
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 21
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 22
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 23
Source Project: hottub   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 24
Source Project: hottub   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 25
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 26
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 27
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 28
public ORBInitRefResolverImpl( Operation urlHandler, StringPair[] initRefs )
{
    this.urlHandler = urlHandler ;
    orbInitRefTable = new java.util.HashMap() ;

    for( int i = 0; i < initRefs.length ; i++ ) {
        StringPair sp = initRefs[i] ;
        orbInitRefTable.put( sp.getFirst(), sp.getSecond() ) ;
    }
}
 
Example 29
Source Project: openjdk-8   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public PrefixParserData( String  propertyName,
    Operation operation, String fieldName, Object defaultValue,
    Object testValue, StringPair[] testData, Class componentType )
{
    super( propertyName, operation, fieldName, defaultValue, testValue ) ;
    this.testData = testData ;
    this.componentType = componentType ;
}
 
Example 30
Source Project: openjdk-8   Source File: PrefixParserData.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void addToProperties( Properties props )
{
    for (int ctr=0; ctr<testData.length; ctr++) {
        StringPair sp = testData[ctr] ;

        String propName = getPropertyName() ;
        if (propName.charAt( propName.length() - 1 ) != '.')
            propName += "." ;

        props.setProperty( propName + sp.getFirst(), sp.getSecond() ) ;
    }
}