- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for setField (0.26 sec)
-
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} @Override public Field getField() { return field; } /** * Sets the public field recognized as a property. * * @param field * The public field recognized as a property. */ public void setField(final Field field) { this.field = field;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction() .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) .setField(fessConfig.getIndexFieldDocId()))); reader.setQuery(QueryBuilders .functionScoreQuery(QueryBuilders.matchAllQuery(),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
continue; } if (hasPropertyDesc(fname)) { final PropertyDescImpl pd = (PropertyDescImpl) propertyDescCache.get(field.getName()); pd.setField(field); continue; } if (FieldUtil.isPublicField(field)) { final PropertyDescImpl pd = new PropertyDescImpl(field.getName(), field.getType(), null, null, field, this);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception { final Field field = getClass().getField("intField");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt
val settings = Settings() assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) } @Test fun setFields() { val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096 assertThat(settings.headerTableSize).isEqualTo(8096) assertThat(settings.getEnablePush(true)).isTrue()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("HOGE"); assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE"))); assertThat(hoge.getFieldName(), is("HOGE")); assertThat(hoge.getFieldType(), is(sameClass(String.class))); assertThat(hoge.isPublic(), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
ClassUtil.forName(""); } /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetField_EmptyName() throws Exception { ClassUtil.getField(getClass(), ""); } /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetMethod_EmptyName() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
// Try another way. } try { int version = (int) Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null); int jellyBean = (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null); /* * I assume that this check can't fail because JELLY_BEAN will be present only if we're
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/FieldDesc.java
* * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns the field. * * @return the field */ Field getField(); /** * Returns the field name. * * @return the field name */ String getFieldName(); /** * Returns the type of the field. * * @param <T>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0)