Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~5K People Reached
Interests
Java

15 Posted Topics

Member Avatar for nikelin

Simple resources loader tool which help to find some file in classpath and load it's content with respect to sanitizing policies.

Member Avatar for JamesCherrill
0
408
Member Avatar for nikelin

Hi, guys! I really cannot describe my problem with a words, so I record debug process in a video. Here it is: [url]http://www.youtube.com/watch?v=5EVwNhdQ8o4&feature=player_detailpage[/url] Track changes of a IFormField<T>.this.value and object ID's in a memory and you understand what I mean.

Member Avatar for nikelin
0
119
Member Avatar for Sunshineserene

[QUOTE=Sunshineserene;1264878]Hi there, I am currently doing a bioinformatics project on dynamic programming. I need to read a text file, and extract the information in it and use the information in it for my dynamic programming java codes(both java codes must be together). May I know how to extract the information? …

Member Avatar for Sunshineserene
0
424
Member Avatar for nikelin

Simple package loader to load all packages contents from directory-based or from JAR-compressed class path entry.

Member Avatar for NormR1
0
413
Member Avatar for jt86442

[QUOTE=jt86442;1264958][B] Hi, i written a code for delete particular file which it was saved in some folder "temp" which it was shown in the below. [CODE] try{ java.io.File objFile = new java.io.File("F:/temp/FirstPdf-022.pdf"); objFile.delete(); } catch(Exception e) { } [/CODE] In the above code, i delete the file "FirstPdf-022.pdf". But i …

Member Avatar for NormR1
0
92
Member Avatar for hermann87

First of all - every interface is by default abstract entity, so you shouldn't use special modifier (abstract keyword). Second, saying in a structural way - yes - the class will be implements interface B_int, but not directly - it rather would extends A which must implements them after that …

Member Avatar for hermann87
0
90
Member Avatar for nikelin

Helps to filter objects by interfaces and annotations their contains/implements with respect to parental relations.

0
483
Member Avatar for seanvitalaim

The Krefie is right. Java use operator "==" to check equality by address. So in your case when Java find "D" literal - it's create new String object with value "D" which will be has different address in memory in runtime. And method [CODE]equals( Object o )[/CODE] which available in …

Member Avatar for nikelin
0
114
Member Avatar for skyzer

[code] import java.util.Map; import java.util.HashMap; public abstract class Factory { public static Factory defaultInstance = new ChineeseFactory(); private Map<Class<? extends Factory>, Factory> factories = new HashMap<Class<? extends Factory>, Factory>(); public static Factory getDefault() { return defaultInstance; } public static Factory getFactory( Class<? extends Factory> clazz ) throws Throwable { Factory …

Member Avatar for skyzer
0
166
Member Avatar for pateldeep454

[QUOTE=pateldeep454;1186167]I am having error in the following code. What should I do to fix it? Also, how should I call it in main method to test the code? please HELP :( [CODE] package sortingelements; public class Main { public static void main(String[] args) { } public int indexOfMaxInRange (int[] myArray, …

Member Avatar for Danny_501
0
123
Member Avatar for bufospro

It's take place because DivizionByZeroException is ancestor from ArithmeticException, but Java by default throws exactly ArithmeticException. To prevent throwing ArithmeticException with respect to DivizionByZeroException, you must catch ArithmeticException in printResult() method and manually throw DivizionByZeroException manually. For example: [code] public static void main( String[] args ) { try { float …

Member Avatar for bufospro
0
116
Member Avatar for hardik.rajani

It's impossible to do using standards methods because it's usually indicator (needing of byte-code mechanics ) of wrong application business logic ( Java will not compile code with callbacks for fields which does not exists anyway ). If you really want to make it work, you must read about [URL="http://www.csg.is.titech.ac.jp/~chiba/javassist/"]Javassist[/URL]. …

Member Avatar for nikelin
0
95
Member Avatar for khess
Member Avatar for bigbags911

[CODE] public final class StringUtils { private static final SPACE = " "; public static String reverseSentence( String sentence ) { StringBuilder builder = new StringBuilder(); for ( String sentencePart : sentence.split(SPACE) ) { builder.append(sentencePart) .append(SPACE); } return builder.reverse().toString(); } public static String reverse( String input ) { return String.valueOf( …

Member Avatar for bigbags911
0
2K
Member Avatar for CelestialDog

[QUOTE=CelestialDog;1177410]Hi guys, I've hit a problem I'm hoping someone can help me with. I'm trying to create a little irc bot application, just to learn how to use sockets in Java. Everything works fine so far up to the point where I try to pass the data coming from the …

Member Avatar for CelestialDog
0
116

The End.