public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "termfrom", cutPointTerm[ i ] ); properties[ i ].addProperty( "termto", cutPointTerm[ i + 1 ] ); properties[ i ].addProperty( "termnumberfrom", cutPoint[ i ] ); properties[ i ].addProperty( "termnumberto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "termfrom", cutPointTerm[ i ] ); properties[ i ].addProperty( "termto", cutPointTerm[ i + 1 ] ); properties[ i ].addProperty( "termnumberfrom", cutPoint[ i ] ); properties[ i ].addProperty( "termnumberto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "termfrom", cutPointTerm[ i ] ); properties[ i ].addProperty( "termto", cutPointTerm[ i + 1 ] ); properties[ i ].addProperty( "termnumberfrom", cutPoint[ i ] ); properties[ i ].addProperty( "termnumberto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "termfrom", cutPointTerm[ i ] ); properties[ i ].addProperty( "termto", cutPointTerm[ i + 1 ] ); properties[ i ].addProperty( "termnumberfrom", cutPoint[ i ] ); properties[ i ].addProperty( "termnumberto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "pointerfrom", cutPoint[ i ] ); properties[ i ].addProperty( "pointerto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "pointerfrom", cutPoint[ i ] ); properties[ i ].addProperty( "pointerto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "pointerfrom", cutPoint[ i ] ); properties[ i ].addProperty( "pointerto", cutPoint[ i + 1 ] ); } return properties; }
public Properties[] properties() { Properties[] properties = new Properties[ k ]; for( int i = 0; i < k; i++ ) { properties[ i ] = new Properties(); properties[ i ].addProperty( "pointerfrom", cutPoint[ i ] ); properties[ i ].addProperty( "pointerto", cutPoint[ i + 1 ] ); } return properties; }
public void addProperty( final Enum<?> key, Object arg ) { addProperty( key.name().toLowerCase(), arg ); }
public void addProperty(final Enum<?> key, Object arg) { addProperty(key.name().toLowerCase(), arg); }
public void addProperty( final Enum<?> key, Object arg ) { addProperty( key.name().toLowerCase(), arg ); }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileIndex.class.getName() ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; } }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileIndex.class.getName() ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; } }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileIndex.class.getName() ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; } }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileIndex.class.getName() ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; } }
@Override public Properties properties() { Properties properties = new Properties(); properties.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); properties.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); properties.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); properties.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); properties.setProperty( Index.PropertyKeys.INDEXCLASS, QuasiSuccinctIndex.class.getName() ); properties.setProperty( BitStreamIndex.PropertyKeys.SKIPQUANTUM, 1L << log2Quantum ); properties.setProperty( QuasiSuccinctIndex.PropertyKeys.BYTEORDER, byteOrder.toString() ); if ( counts == null ) properties.addProperty( Index.PropertyKeys.CODING, CompressionFlags.Component.COUNTS + ":" + CompressionFlags.NONE ); if ( positions == null ) properties.addProperty( Index.PropertyKeys.CODING, CompressionFlags.Component.POSITIONS + ":" + CompressionFlags.NONE ); return properties; }
@Override public Properties properties() { Properties properties = new Properties(); properties.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); properties.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); properties.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); properties.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); properties.setProperty( Index.PropertyKeys.INDEXCLASS, QuasiSuccinctIndex.class.getName() ); properties.setProperty( BitStreamIndex.PropertyKeys.SKIPQUANTUM, 1L << log2Quantum ); properties.setProperty( QuasiSuccinctIndex.PropertyKeys.BYTEORDER, byteOrder.toString() ); if ( counts == null ) properties.addProperty( Index.PropertyKeys.CODING, CompressionFlags.Component.COUNTS + ":" + CompressionFlags.NONE ); if ( positions == null ) properties.addProperty( Index.PropertyKeys.CODING, CompressionFlags.Component.POSITIONS + ":" + CompressionFlags.NONE ); return properties; }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileHPIndex.class.getName() ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPQUANTUM, variableQuanta ? 0 : quantum ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPHEIGHT, height ); if ( COOKIES ) result.setProperty( "cookies", true ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileHPIndex.class.getName() ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPQUANTUM, variableQuanta ? 0 : quantum ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPHEIGHT, height ); if ( COOKIES ) result.setProperty( "cookies", true ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; }
public Properties properties() { Properties result = new Properties(); result.setProperty( Index.PropertyKeys.DOCUMENTS, numberOfDocuments ); result.setProperty( Index.PropertyKeys.TERMS, currentTerm + 1 ); result.setProperty( Index.PropertyKeys.POSTINGS, numberOfPostings ); result.setProperty( Index.PropertyKeys.MAXCOUNT, maxCount ); result.setProperty( Index.PropertyKeys.INDEXCLASS, FileHPIndex.class.getName() ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPQUANTUM, variableQuanta ? 0 : quantum ); result.setProperty( BitStreamIndex.PropertyKeys.SKIPHEIGHT, height ); if ( COOKIES ) result.setProperty( "cookies", true ); // We save all flags, except for the PAYLOAD component, which is just used internally. for( Map.Entry<Component,Coding> e: flags.entrySet() ) if ( e.getKey() != Component.PAYLOADS ) result.addProperty( Index.PropertyKeys.CODING, new MutableString().append( e.getKey() ).append( ':' ).append( e.getValue() ) ); return result; }