Searched defs:index (Results 1 - 25 of 103) sorted by relevance

12345

/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/
H A DRuntimeDescriptor.java126 protected void setValue(String name, int index, Object value) { argument
128 list.set(index, value);
132 protected Object getValue(String name, int index) { argument
134 return list.get(index);
146 int index = list.indexOf(value);
147 list.remove(index);
148 return index;
151 protected void removeValue(String name, int index) { argument
153 list.remove(index);
199 int index
221 setAttributeValue(String elementName, int index, String attributeName, Object value) argument
225 getAttributeValue(String elementName, int index, String attributeName) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/connector/
H A DMapElement.java80 public void setPrincipal(int index, Principal value) argument
82 this.setValue(PRINCIPAL, index, value);
86 public Principal getPrincipal(int index) argument
88 return (Principal)this.getValue(PRINCIPAL, index);
109 // Add a new element returning its index in the list
117 // Returns the index the element had in the list
H A DResourceAdapter.java71 public void setPropertyElement(int index, NameValuePairDescriptor value) argument
73 this.setValue(PROPERTY, index, value);
77 public boolean isPropertyElement(int index) argument
79 NameValuePairDescriptor ret = (NameValuePairDescriptor)this.getValue(PROPERTY, index);
101 // Add a new element returning its index in the list
109 // Returns the index the element had in the list
117 // Remove an element using its index
119 public void removePropertyElement(int index) argument
121 this.removeValue(PROPERTY, index);
H A DRoleMap.java66 public void setMapElement(int index, MapElement value) argument
68 this.setValue(MAP_ELEMENT, index, value);
72 public MapElement getMapElement(int index) argument
74 return (MapElement)this.getValue(MAP_ELEMENT, index);
95 // Add a new element returning its index in the list
103 // Returns the index the element had in the list
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/web/
H A DConstraintField.java75 public void setValue(int index, String value) argument
77 this.setValue(VALUE, index, value);
81 public String getValue(int index) argument
83 return (String)this.getValue(VALUE, index);
104 // Add a new element returning its index in the list
107 int index = this.addValue(VALUE, value);
108 if (getAttributeValue(VALUE, index, MATCH_EXPR)==null)
109 setAttributeValue(VALUE, index, MATCH_EXPR, "equals");
110 if (getAttributeValue(VALUE, index, CACHE_ON_MATCH)==null)
111 setAttributeValue(VALUE, index, CACHE_ON_MATC
[all...]
H A DLocaleCharsetInfo.java62 public void setLocaleCharsetMap(int index, LocaleCharsetMap value) argument
64 this.setValue(LOCALE_CHARSET_MAP, index, value);
68 public LocaleCharsetMap getLocaleCharsetMap(int index) argument
70 return (LocaleCharsetMap)this.getValue(LOCALE_CHARSET_MAP, index);
91 // Add a new element returning its index in the list
99 // Returns the index the element had in the list
H A DWebPropertyContainer.java69 public void setWebProperty(int index, WebProperty value) argument
71 this.setValue(PROPERTY, index, value);
75 public WebProperty getWebProperty(int index) argument
77 return (WebProperty)this.getValue(PROPERTY, index);
103 // Add a new element returning its index in the list
111 // Returns the index the element had in the list
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DXModuleType.java94 final Integer index; field in class:XModuleType
96 this.index = value;
99 public static XModuleType create(int index) { argument
101 if (!ModuleTypes.containsKey(index)) {
102 ModuleTypes.put(index, new XModuleType(index));
105 return ModuleTypes.get(index);
111 * Considers only {@link #index} for equality.
115 return this==o || (o!=null && getClass()==o.getClass() && index.equals((((XModuleType) o).index)));
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/interceptors/
H A DCallbackChainImpl.java59 public Object invokeNext(int index, CallbackInvocationContext invContext) argument
64 if (index < size) {
65 result = interceptors[index].intercept(invContext);
/glassfish-3.1.2/tests/embedded/maven-plugin/index/src/test/java/org/glassfish/tests/index/
H A DWebTest.java41 package org.glassfish.tests.index;
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DLogRecordHeader.java100 * @param index The index in the array where copy is to start.
106 LogRecordHeader(byte[] bytes, int index) { argument
107 recordType = (bytes[index++]&255) +
108 ((bytes[index++]&255) << 8) +
109 ((bytes[index++]&255) << 16) +
110 ((bytes[index++]&255) << 24);
112 currentLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF;
113 previousLSN = new LogLSN(bytes,index); inde
149 toBytes(byte[] bytes, int index) argument
[all...]
H A DLogRestartDescriptor.java102 * @param index The index in the array where copy is to start.
108 LogRestartDescriptor(byte[] bytes, int index) { argument
109 restartValid = (bytes[index++]&255) +
110 ((bytes[index++]&255) << 8) +
111 ((bytes[index++]&255) << 16) +
112 ((bytes[index++]&255) << 24);
114 restartDataLength = (bytes[index++]&255) +
115 ((bytes[index++]&255) << 8) +
116 ((bytes[index
135 toBytes(byte[] bytes, int index) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStrftime.java271 * @param index first character index
275 protected boolean translateCommand( StringBuilder buf, String pattern, int index, boolean oldInside ) { argument
276 char firstChar = pattern.charAt( index );
282 if ( index + 1 < pattern.length() ) {
283 newInside = translateCommand( buf, pattern, index + 1, oldInside );
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/util/
H A DCookieTokenizer.java71 * @param beginIndex The index in cookies to begin parsing from, inclusive
75 int index = beginIndex;
77 while (index < length) {
78 switch (cookies.charAt(index)) {
82 tokens[numTokens] = cookies.substring(beginIndex, index).trim();
88 return index + 1;
92 tokens[numTokens] = cookies.substring(beginIndex, index).trim();
94 return parseValue(cookies, index + 1);
98 do index++; while (cookies.charAt(index) !
157 tokenAt(int index) argument
[all...]
/glassfish-3.1.2/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/lb/
H A DClusterStatsInterface.java54 public void setInstanceStats(int index, com.sun.enterprise.admin.monitor.stats.lb.InstanceStats value); argument
56 public com.sun.enterprise.admin.monitor.stats.lb.InstanceStats getInstanceStats(int index); argument
H A DLoadBalancerStatsInterface.java50 public void setClusterStats(int index, com.sun.enterprise.admin.monitor.stats.lb.ClusterStats value); argument
62 public com.sun.enterprise.admin.monitor.stats.lb.ClusterStats getClusterStats(int index); argument
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/
H A DInputReader.java63 this.index = 0;
81 if (useLastChar || index <= 0) {
84 index -= 1;
98 this.index += 1;
113 this.index += 1;
176 this.index += pos;
202 private int index; field in class:InputReader
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DConstBasic.java51 /* The index of the constant entry in the constant pool */
52 protected int index = 0; field in class:ConstBasic
56 /* Get the index of this constant entry */
57 public int getIndex() { return index; }
65 * Sets the index of this constant with its containing constant pool
67 void setIndex(int ind) { index = ind; }
75 * Resolve integer index references to the actual constant pool
83 * Return the index of this constant in the constant pool as
86 String indexAsString() { return Integer.toString(index); }
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/
H A DSpecialDBOperation.java74 * Binds specified value to parameter at specified index that is bound to
77 * @param index Index of paramater marker in <code>ps</code>.
82 int index, String strVal, int length) throws SQLException;
81 bindFixedCharColumn(PreparedStatement ps, int index, String strVal, int length) argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/database/
H A DBaseSpecialDBOperation.java74 int index, String strVal, int length) throws SQLException {
75 ps.setString(index, strVal);
73 bindFixedCharColumn(PreparedStatement ps, int index, String strVal, int length) argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/constraint/
H A DConstraintParamIndex.java53 * Constraint which represent an index of a query parameter.
54 * This index is put to the stack and used
69 * @param index parameter index
73 public ConstraintParamIndex(int index, int enumType, LocalFieldDesc localField) { argument
74 super(new Integer(index), localField);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/
H A DInputParamValue.java53 * This class holds the index of the parameter, which is used
60 * @param index parameter index
64 public InputParamValue(Integer index, ColumnElement columnElement) { argument
65 super(index, columnElement);
H A DQueryTable.java85 public void setTableIndex(TableIndex index) { argument
86 this.tableIndex = index;
H A DTableIndex.java53 private int index; field in class:TableIndex
55 public TableIndex(int index) { argument
56 this.index = index;
60 return index;
64 return Integer.toString(index);
67 public void setValue(int index) { argument
68 this.index = index;
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DParameterInfo.java53 * Parameter index.
54 * The index corresponds to JDO QL parameters.
56 private final int index; field in class:ParameterInfo
71 public ParameterInfo(int index, int type) argument
73 this(index, type, null);
77 * Constructs a new ParameterInfo with the specified index, type and
79 * @param index
83 public ParameterInfo(int index, int type, String associatedField) argument
85 this.index = index;
[all...]

Completed in 1033 milliseconds

12345