code
stringlengths
73
34.1k
label
stringclasses
1 value
public boolean checkResponseForException() { if (!finished && rsp != null) { Exception e; if ((e = rsp.getException()) != null) { setError(e.getMessage()); setFinished(); return true; } } return false; }
java
private SimpleOrderedMap<Object> createOutput(boolean detailed) { // checkResponseOnException(); SimpleOrderedMap<Object> output = new SimpleOrderedMap<>(); updateShardInfo(); output.add(NAME_KEY, key); output.add(NAME_REQUEST, request); if (errorStatus) { output.add(NAME_ERROR, errorMessa...
java
private final SimpleOrderedMap<Object> createShardsOutput() { SimpleOrderedMap<Object> output = new SimpleOrderedMap<>(); if (shardStageStatus != null && !shardStageStatus.isEmpty()) { List<SimpleOrderedMap<Object>> list = new ArrayList<>(); for (StageStatus stageStatus : shardStageStatus.values()) ...
java
private final Integer getInteger(NamedList<Object> response, String... args) { Object objectItem = response.findRecursive(args); if (objectItem != null && objectItem instanceof Integer) { return (Integer) objectItem; } else { return null; } }
java
private final Map<String, Integer> getIntegerMap(NamedList<Object> response, String... args) { Object objectItem = response.findRecursive(args); Map<String, Integer> result = null; if (objectItem != null && objectItem instanceof Map) { result = (Map) objectItem; } return result; }
java
private final Long getLong(NamedList<Object> response, String... args) { Object objectItem = response.findRecursive(args); if (objectItem != null && objectItem instanceof Long) { return (Long) objectItem; } else { return null; } }
java
private final Map<String, Long> getLongMap(NamedList<Object> response, String... args) { Object objectItem = response.findRecursive(args); if (objectItem != null && objectItem instanceof Map) { return (Map) objectItem; } else { return null; } }
java
public static base_response add(nitro_service client, vpnformssoaction resource) throws Exception { vpnformssoaction addresource = new vpnformssoaction(); addresource.name = resource.name; addresource.actionurl = resource.actionurl; addresource.userfield = resource.userfield; addresource.passwdfield = resourc...
java
public static base_response update(nitro_service client, vpnformssoaction resource) throws Exception { vpnformssoaction updateresource = new vpnformssoaction(); updateresource.name = resource.name; updateresource.actionurl = resource.actionurl; updateresource.userfield = resource.userfield; updateresource.pas...
java
public static base_responses update(nitro_service client, vpnformssoaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnformssoaction updateresources[] = new vpnformssoaction[resources.length]; for (int i=0;i<resources.length;i++){ updat...
java
public static vpnformssoaction[] get(nitro_service service) throws Exception{ vpnformssoaction obj = new vpnformssoaction(); vpnformssoaction[] response = (vpnformssoaction[])obj.get_resources(service); return response; }
java
public static vpnformssoaction get(nitro_service service, String name) throws Exception{ vpnformssoaction obj = new vpnformssoaction(); obj.set_name(name); vpnformssoaction response = (vpnformssoaction) obj.get_resource(service); return response; }
java
public static dnsview_dnspolicy_binding[] get(nitro_service service, String viewname) throws Exception{ dnsview_dnspolicy_binding obj = new dnsview_dnspolicy_binding(); obj.set_viewname(viewname); dnsview_dnspolicy_binding response[] = (dnsview_dnspolicy_binding[]) obj.get_resources(service); return response; ...
java
public static base_response kill(nitro_service client, aaasession resource) throws Exception { aaasession killresource = new aaasession(); killresource.username = resource.username; killresource.groupname = resource.groupname; killresource.iip = resource.iip; killresource.netmask = resource.netmask; killres...
java
public static base_responses kill(nitro_service client, aaasession resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { aaasession killresources[] = new aaasession[resources.length]; for (int i=0;i<resources.length;i++){ killresources[i] = new aaas...
java
public static aaasession[] get(nitro_service service) throws Exception{ aaasession obj = new aaasession(); aaasession[] response = (aaasession[])obj.get_resources(service); return response; }
java
public static aaasession[] get(nitro_service service, aaasession_args args) throws Exception{ aaasession obj = new aaasession(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); aaasession[] response = (aaasession[])obj.get_resources(service, option); return re...
java
public static base_response add(nitro_service client, aaakcdaccount resource) throws Exception { aaakcdaccount addresource = new aaakcdaccount(); addresource.kcdaccount = resource.kcdaccount; addresource.keytab = resource.keytab; addresource.realmstr = resource.realmstr; addresource.delegateduser = resource.d...
java
public static base_responses add(nitro_service client, aaakcdaccount resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { aaakcdaccount addresources[] = new aaakcdaccount[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = ne...
java
public static base_response delete(nitro_service client, String kcdaccount) throws Exception { aaakcdaccount deleteresource = new aaakcdaccount(); deleteresource.kcdaccount = kcdaccount; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String kcdaccount[]) throws Exception { base_responses result = null; if (kcdaccount != null && kcdaccount.length > 0) { aaakcdaccount deleteresources[] = new aaakcdaccount[kcdaccount.length]; for (int i=0;i<kcdaccount.length;i++){ deleteresources[...
java
public static base_response update(nitro_service client, aaakcdaccount resource) throws Exception { aaakcdaccount updateresource = new aaakcdaccount(); updateresource.kcdaccount = resource.kcdaccount; updateresource.keytab = resource.keytab; updateresource.realmstr = resource.realmstr; updateresource.delegate...
java
public static base_responses update(nitro_service client, aaakcdaccount resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { aaakcdaccount updateresources[] = new aaakcdaccount[resources.length]; for (int i=0;i<resources.length;i++){ updateresource...
java
public static base_response unset(nitro_service client, aaakcdaccount resource, String[] args) throws Exception{ aaakcdaccount unsetresource = new aaakcdaccount(); unsetresource.kcdaccount = resource.kcdaccount; unsetresource.keytab = resource.keytab; unsetresource.usercert = resource.usercert; unsetresource....
java
public static aaakcdaccount[] get(nitro_service service) throws Exception{ aaakcdaccount obj = new aaakcdaccount(); aaakcdaccount[] response = (aaakcdaccount[])obj.get_resources(service); return response; }
java
public static aaakcdaccount get(nitro_service service, String kcdaccount) throws Exception{ aaakcdaccount obj = new aaakcdaccount(); obj.set_kcdaccount(kcdaccount); aaakcdaccount response = (aaakcdaccount) obj.get_resource(service); return response; }
java
public static aaakcdaccount[] get(nitro_service service, String kcdaccount[]) throws Exception{ if (kcdaccount !=null && kcdaccount.length>0) { aaakcdaccount response[] = new aaakcdaccount[kcdaccount.length]; aaakcdaccount obj[] = new aaakcdaccount[kcdaccount.length]; for (int i=0;i<kcdaccount.length;i++) { ...
java
public static base_response update(nitro_service client, nsparam resource) throws Exception { nsparam updateresource = new nsparam(); updateresource.httpport = resource.httpport; updateresource.maxconn = resource.maxconn; updateresource.maxreq = resource.maxreq; updateresource.cip = resource.cip; updatereso...
java
public static base_response unset(nitro_service client, nsparam resource, String[] args) throws Exception{ nsparam unsetresource = new nsparam(); return unsetresource.unset_resource(client,args); }
java
public static nsparam get(nitro_service service) throws Exception{ nsparam obj = new nsparam(); nsparam[] response = (nsparam[])obj.get_resources(service); return response[0]; }
java
public static boolean checkOffsets(CoreMap docAnnotation) { boolean okay = true; String docText = docAnnotation.get(CoreAnnotations.TextAnnotation.class); String docId = docAnnotation.get(CoreAnnotations.DocIDAnnotation.class); List<CoreLabel> docTokens = docAnnotation.get(CoreAnnotations.TokensA...
java
public static void copyUnsetAnnotations(CoreMap src, CoreMap dest) { Set<Class<?>> otherKeys = src.keySet(); for (Class key : otherKeys) { if (!dest.has(key)) { dest.set(key, src.get(key)); } } }
java
public static Interval<Integer> getChunkOffsetsUsingCharOffsets(List<? extends CoreMap> chunkList, int charStart, int charEnd) { int chunkStart = 0; int chunkEnd = chunkList.size(); // Find first chunk with start > charStart for (int i = 0; i < chunkList.si...
java
public static void annotateChunkText(CoreMap chunk, CoreMap origAnnotation) { String annoText = origAnnotation.get(CoreAnnotations.TextAnnotation.class); Integer annoBeginCharOffset = origAnnotation.get(CoreAnnotations.CharacterOffsetBeginAnnotation.class); if (annoBeginCharOffset == null) { annoBegin...
java
public static void annotateChunkTokens(CoreMap chunk, Class tokenChunkKey, Class tokenLabelKey) { List<CoreLabel> chunkTokens = chunk.get(CoreAnnotations.TokensAnnotation.class); if (tokenLabelKey != null) { String text = chunk.get(CoreAnnotations.TextAnnotation.class); for (CoreLabel t: chun...
java
private void computeComparableValue() { recomputeComparableSortValue = false; try { int type = getCompareValueType(); switch (type) { case 0: comparableSortValue = getCompareValue0(); break; case 1: comparableSortValue = getCompareValue1(); break; ca...
java
public static service_scpolicy_binding[] get(nitro_service service, String name) throws Exception{ service_scpolicy_binding obj = new service_scpolicy_binding(); obj.set_name(name); service_scpolicy_binding response[] = (service_scpolicy_binding[]) obj.get_resources(service); return response; }
java
public static appfwpolicy_appfwglobal_binding[] get(nitro_service service, String name) throws Exception{ appfwpolicy_appfwglobal_binding obj = new appfwpolicy_appfwglobal_binding(); obj.set_name(name); appfwpolicy_appfwglobal_binding response[] = (appfwpolicy_appfwglobal_binding[]) obj.get_resources(service); ...
java
public static transformpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{ transformpolicy_lbvserver_binding obj = new transformpolicy_lbvserver_binding(); obj.set_name(name); transformpolicy_lbvserver_binding response[] = (transformpolicy_lbvserver_binding[]) obj.get_resources(se...
java
public static base_response update(nitro_service client, systemparameter resource) throws Exception { systemparameter updateresource = new systemparameter(); updateresource.rbaonresponse = resource.rbaonresponse; updateresource.promptstring = resource.promptstring; updateresource.natpcbforceflushlimit = resourc...
java
public static base_response unset(nitro_service client, systemparameter resource, String[] args) throws Exception{ systemparameter unsetresource = new systemparameter(); return unsetresource.unset_resource(client,args); }
java
public static systemparameter get(nitro_service service) throws Exception{ systemparameter obj = new systemparameter(); systemparameter[] response = (systemparameter[])obj.get_resources(service); return response[0]; }
java
public static auditnslogpolicy_appfwglobal_binding[] get(nitro_service service, String name) throws Exception{ auditnslogpolicy_appfwglobal_binding obj = new auditnslogpolicy_appfwglobal_binding(); obj.set_name(name); auditnslogpolicy_appfwglobal_binding response[] = (auditnslogpolicy_appfwglobal_binding[]) obj.g...
java
public static clusterinstance_stats[] get(nitro_service service) throws Exception{ clusterinstance_stats obj = new clusterinstance_stats(); clusterinstance_stats[] response = (clusterinstance_stats[])obj.stat_resources(service); return response; }
java
public static clusterinstance_stats get(nitro_service service, Long clid) throws Exception{ clusterinstance_stats obj = new clusterinstance_stats(); obj.set_clid(clid); clusterinstance_stats response = (clusterinstance_stats) obj.stat_resource(service); return response; }
java
public Arguments set(final int index, final Fixed f) { this.argumentRefs.add(f); this.pointer.get(index) .setF(f.getRaw()); return this; }
java
public static void store(final long pointer, final Object object) { final Object oldValue = MAPPED_OBJECTS.put(pointer, object); if (oldValue != null) { //put it back! MAPPED_OBJECTS.put(pointer, ...
java
public static Optional<Map<QName, XMLElementReader<List<ModelNode>>>> mapParserNamespaces(AbstractParserFactory factory) { Map<QName, XMLElementReader<List<ModelNode>>> result = factory.create().entrySet() .stream() .collect(Collectors.toMap( ...
java
public Resource<?> getObject(final int id) { return ObjectCache.from(WaylandServerCore.INSTANCE() .wl_client_get_object(this.pointer, id)); }
java
public int getIndexForPosition(int position) { int nSections = 0; Set<Entry<String, Integer>> entrySet = mSections.entrySet(); for(Entry<String, Integer> entry : entrySet) { if(entry.getValue() < position) { nSections++; } } return positi...
java
@Override public void init(ProcessingEnvironment processingEnv) { super.init(processingEnv); trees = Trees.instance(processingEnv); messager = processingEnv.getMessager(); types = processingEnv.getTypeUtils(); elements = processingEnv.getElementUtils(); try { ...
java
private <J, T extends Proxy<J>> T marshalConstructor(final int opcode, final J implementation, final int version, final Class<T> newProxyCls, ...
java
public void destroy() { WaylandClientCore.INSTANCE() .wl_proxy_destroy(this.pointer); ObjectCache.remove(this.pointer); this.jObjectPointer.close(); }
java
public static void main(String... args) throws Exception { if (System.getProperty("boot.module.loader") == null) { System.setProperty("boot.module.loader", "org.wildfly.swarm.bootstrap.modules.BootModuleLoader"); } Module bootstrap = Module.getBootModuleLoader().loadModule(ModuleIden...
java
public final void bindToView(final ViewGroup parent, final View view, final T instance, final int position) { SparseArray<Holder> holders = (SparseArray<Holder>) view.getTag(mLayoutResourceId); updateAnnotatedViews(holders, view, instance, position); executeViewHandlers(holders, pare...
java
public final View createNewView(final Context context, final ViewGroup parent) { View view = mLayoutInflater.inflate(mLayoutResourceId, parent, false); SparseArray<Holder> holders = new SparseArray<Holder>(); int size = mViewIdsAndMetaCache.size(); for (int i = 0; i < size; i++) { ...
java
private <T> void visitFractions(Container container, T context, FractionProcessor<T> fn) { OUTER: for (ServerConfiguration eachConfig : this.configList) { boolean found = false; INNER: for (Fraction eachFraction : container.fractions()) { if (eachConfi...
java
private void handle(final JCTree.JCFieldAccess fieldAccess, final Stack<MethodAndParameter> stack, final MethodInvocationTree node, final StatementInfo statementInfo, final ScannerParams scannerParams) { if (fieldAcc...
java
private String formatWithStatementLocation(String format, StatementInfo statementInfo, Object... args) { return format(format, args) + format(" [%s:%s]", statementInfo.getSourceFileName(), statementInfo.getLineNumber()); }
java
private void addVariablesToBuffer(final java.util.List<VariableAndValue> usedVariables, final ListBuffer listBuffer) { for (VariableAndValue variableAndValue : usedVariables) { listBuffer.add(variableAndValue.getValue()); } }
java
public Command[] toArgs(final String line) { if (line == null || line.isEmpty()) { throw new IllegalArgumentException("Empty command."); } final List<Command> commands = new ArrayList<>(); final List<String> result = new ArrayList<>(); final StringBuilder current = n...
java
public static LoggingFraction createDefaultLoggingFraction(Level level) { return new LoggingFraction() .defaultColorFormatter() .consoleHandler(level, COLOR_PATTERN) .rootLogger(level, CONSOLE); }
java
public LoggingFraction formatter(String name, String pattern) { patternFormatter(new PatternFormatter(name).pattern(pattern)); return this; }
java
public LoggingFraction consoleHandler(Level level, String formatter) { consoleHandler(new ConsoleHandler(CONSOLE) .level(level) .namedFormatter(formatter)); return this; }
java
public LoggingFraction fileHandler(String name, String path, Level level, String formatter) { Map<Object, Object> fileProperties = new HashMap<>(); fileProperties.put("path", path); fileProperties.put("relative-to", "jboss.server.log.dir"); fileHandler(new FileHandler(name) ...
java
public LoggingFraction customHandler(String name, String module, String className, Properties properties, String formatter) { Map<Object, Object> handlerProperties = new HashMap<>(); final Enumeration<?> names = properties.propertyNames(); while (names.hasMoreElements()) { final Stri...
java
public LoggingFraction rootLogger(Level level, String... handlers) { rootLogger(new RootLogger().level(level) .handlers(handlers)); return this; }
java
private Condition buildIdCondition(Object argument) { if (argument instanceof String && ObjectId.isValid((String) argument)) { return new Condition(ID_FIELD, new ObjectId((String) argument)); } else if (Iterable.class.isAssignableFrom(argument.getClass())) { List<Object> obje...
java
@Override public void audit(final LoggingEvent e) { try { logger.info(MarkerFactory.getMarker(AUDIT), serialize(e)); } catch (Exception ex) { throw new RuntimeException("unable to serialize event", ex); } }
java
@Override public String getUsage() { String commandName = name; Class<?> declaringClass = method.getDeclaringClass(); Map<String, Cmd> commands = Commands.get(declaringClass); if (commands.size() == 1 && commands.values().iterator().next() instanceof CmdGroup) { final Cm...
java
public BatchFraction defaultJobRepository(final String name, final DatasourcesFraction datasource) { jdbcJobRepository(name, datasource); return defaultJobRepository(name); }
java
public BatchFraction jdbcJobRepository(final String name, final DatasourcesFraction datasource) { return jdbcJobRepository(new JDBCJobRepository<>(name).dataSource(datasource.getKey())); }
java
public BatchFraction defaultThreadPool(final String name, final int maxThreads, final int keepAliveTime, final TimeUnit keepAliveUnits) { threadPool(name, maxThreads, keepAliveTime, keepAliveUnits); return defaultThreadPool(name); }
java
public BatchFraction threadPool(final String name, final int maxThreads, final int keepAliveTime, final TimeUnit keepAliveUnits) { final ThreadPool<?> threadPool = new ThreadPool<>(name); threadPool.maxThreads(maxThreads) .keepaliveTime("time", Integer.toBinaryString(keepAliveTime)) ...
java
@Warmup(iterations = 5) @Measurement(iterations = 5) @Benchmark public void structLoggerLogging1Call() { structLoggerNoMessageParametrization.info("Event with double and boolean") .varDouble(1.2) .varBoolean(false) .log(); }
java
@Warmup(iterations = 5) @Measurement(iterations = 5) @Benchmark public void logstashStructuredParametrizedMessageLogging1Call() { loggerLogstashParametrizedMessage.info("Event with double={} and boolean={}", value("varDouble", 1.2), value("varBoolean", false)); }
java
@Warmup(iterations = 5) @Measurement(iterations = 5) @Benchmark public void logstashStructuredLogging1Calls() { loggerLogstash.info("Event with double and boolean", keyValue("varDouble", 1.2), keyValue("varBoolean", false)); }
java
public JavaFile createPojo(final String name, final JCTree.JCLiteral literal, final List<VariableAndValue> usedVariables) throws PackageNameException { String eventName; String packageName; if (name != null) { //get event ...
java
private void checkStringIsValidName(final String s) throws PackageNameException { final boolean packageContainsJavaKeyword = javaKeywords.stream().anyMatch(s::equals); if (packageContainsJavaKeyword || s.matches("\\d.*")) { throw new PackageNameException("string is not valid"); } ...
java
private void addCommonLoggingEventFieldsToConstructor(final MethodSpec.Builder constructorBuilder) { constructorBuilder.addParameter(TypeName.get(String.class), "message", Modifier.FINAL); constructorBuilder.addParameter(TypeName.get(String.class), "sourceFile", Modifier.FINAL); constructorBuild...
java
private void addPojoField(final TypeSpec.Builder classBuilder, final MethodSpec.Builder constructorBuilder, final String fieldName, final TypeName fieldClass) { classBuilder.addField(fieldClass, fieldName, Modifier.PRIVATE...
java
private void addConstructorParameter(final MethodSpec.Builder constructorBuilder, final String attributeName, final TypeName type) { constructorBuilder.addParameter(type, attributeName, Modifier.FINAL); constructorBuilder.addCode("this." + attributeName + "=" + attributeName + ";"); }
java
private void addGetter(final TypeSpec.Builder classBuilder, final String attributeName, final TypeName type) { final String getterMethodName = "get" + attributeName.substring(0, 1).toUpperCase() + attributeName.substring(1); final MethodSpec.Builder getterBuilder = MethodSpec.methodBuilder(getterMethodN...
java
private String hash(String string) { final String sha1Hex = DigestUtils.sha1Hex(string); return StringUtils.substring(sha1Hex, 0, 8); }
java
public T newInstance() { try { return getEnhancedClass().newInstance(); } catch (Exception e) { logger.error("Could not instantiate enhanced object.", e); throw ExceptionUtil.propagate(e); } }
java
public T enhance(T t) { if (!needsEnhancement(t)) { return t; } try { return getEnhancedClass().getConstructor(baseClass).newInstance(t); } catch (Exception e) { throw new RuntimeException(String.format("Could not enhance object %s (%s)", t, t.getClas...
java
public static boolean objectIsMutable(Object object) { if (object == null) { return false; } Class<?> clazz = object.getClass(); return Collection.class.isAssignableFrom(clazz); }
java
public Container fraction(Fraction fraction) { if (fraction != null) { this.fractions.put(fractionRoot(fraction.getClass()), fraction); this.fractionsBySimpleName.put(fraction.simpleName(), fraction); fraction.initialize(new InitContext()); } return this; ...
java
public Container iface(String name, String expression) { this.interfaces.add(new Interface(name, expression)); return this; }
java
public Archive createDefaultDeployment() { try { Iterator<DefaultDeploymentFactory> providerIter = Module.getBootModuleLoader() .loadModule(ModuleIdentifier.create("swarm.application")) .loadService(DefaultDeploymentFactory.class) .iterator...
java
protected CliEnvironment createMainEnvironment(final AtomicReference<InputReader> dynamicInputReaderRef, final AtomicReference<History> dynamicHistoryAtomicReference) { final Map<String, ?> data = new HashMap<String, Object>(); return new CliEnv() { ...
java
public Set<Explanation<OWLAxiom>> getExplanations(OWLAxiom entailment) throws ExplanationException { return getExplanations(entailment, Integer.MAX_VALUE); }
java
private Object tryInitiatingObject(String targetType, String initMethodName, List<Object> fieldObjects) throws TransformationOperationException { Class<?> targetClass = loadClassByName(targetType); try { if (initMethodName == null) { return initiateByConstructor(targe...
java
private Object initiateByMethodName(Class<?> targetClass, String initMethodName, List<Object> objects) throws Exception { Method method = targetClass.getMethod(initMethodName, getClassList(objects)); if (Modifier.isStatic(method.getModifiers())) { return method.invoke(null, objects.t...
java
private Object initiateByConstructor(Class<?> targetClass, List<Object> objects) throws Exception { Constructor<?> constr = targetClass.getConstructor(getClassList(objects)); return constr.newInstance(objects.toArray()); }
java
private Class<?>[] getClassList(List<Object> objects) { Class<?>[] classes = new Class<?>[objects.size()]; for (int i = 0; i < objects.size(); i++) { classes[i] = objects.get(i).getClass(); } return classes; }
java
private Class<?> loadClassByName(String className) throws TransformationOperationException { Exception e; if (className.contains(";")) { try { String[] parts = className.split(";"); ModelDescription description = new ModelDescription(); descrip...
java
public void update(Object target) { if (target == null) { throw new IllegalArgumentException( "Target to update cannot be null"); } BeanWrapper bw = new BeanWrapperImpl(target); bw.registerCustomEditor(Date.class, new CustomDateEditor(new SimpleDateFormat...
java
private IntervalCategoryDataset createDataset() { TaskSeries ts = null; TaskSeriesCollection collection = new TaskSeriesCollection(); if ( solver.getVariables().length == 0) { return collection; } ts = new TaskSeries("All"); for (int i = 0; i < solver.getVariables().length ; i++) { ...
java
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) { try { Rectangle r = c.modelToView(c.getCaretPosition()); g.setColor( color ); g.fillRect(0, r.y, c.getWidth(), r.height); if (lastView == null) lastView = r; } catch(BadLocationException ble) {System.out.println(bl...
java