Monthly Archives: September 2015

Number. 89

the number 89’s “reverse add” sequence until it reaches palindrome glory. Advertisements

Posted in Uncategorized | Leave a comment

Watch “Fold and Cut Theorem – Numberphile” on YouTube

Fold and Cut Theorem – Numberphile: All alphabets created single cut by scissors

Posted in Uncategorized | Leave a comment

Spring inject value into a static field

using org.springframework.beans.factory.config.MethodInvokingFactoryBean to invoke a static setter. e.g public Class ClassName{ private static Object fieldName; public static void setFieldName(final Object fieldName) { ClassName.fieldName = fieldName; } } Spring Injection: <bean class=”org.springframework.beans.factory.config.MethodInvokingFactoryBean”> <property name=”staticMethod” value=”package.ClassName.setFieldName” /> <property name=”arguments”> <list> <ref bean=”refObject” … Continue reading

Posted in JAVA, spring | Tagged , | Leave a comment