query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102 values |
|---|---|---|---|---|---|---|
Do not modify addRestResourceClasses() method. It is automatically regenerated by NetBeans REST support to populate given list with all resources defined in the project. | private void addRestResourceClasses(Set<Class<?>> resources) {
resources.add(nl.tjonahen.abk.backend.AbkCrossOriginResourceSharingFilter.class);
resources.add(nl.tjonahen.abk.backend.boundry.account.AccountsResource.class);
resources.add(nl.tjonahen.abk.backend.boundry.contraaccount.ContraAccountsResource.class);
resources.add(nl.tjonahen.abk.backend.boundry.costcenter.CostCentersResource.class);
resources.add(nl.tjonahen.abk.backend.boundry.transaction.FinancialTransactionsResource.class);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(com.compguide.web.Persistence.WebService.ActiveIngredientFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.AutenticationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ConditionFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ConditionSetFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.CyclePartDefinitionFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.CyclePartPeriodicityFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.DurationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.EventFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ExamFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.FormulaFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.GeneratedTaskFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.GuideExecFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.GuidelineFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.InteractionpairFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.MedicationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.MedicationtaskFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.NonMedicationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.NotificationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ObservationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.OutcomeFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.PatientFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.PeriodicityFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ProcedureFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.ScheduleTaskFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.SimilarmedicationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.StopConditionSetFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.TaskFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.TemporalElementFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.TemporalOperatorFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.TemporalRestrictionFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.TemporalUnitFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.UserFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.WaitingTimeFacadeREST.class);\n resources.add(org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider.class);\n resources.add(org.codehaus.jackson.jaxrs.JacksonJsonProvider.class);\n resources.add(org.codehaus.jackson.jaxrs.JsonMappingExceptionMapper.class);\n resources.add(org.codehaus.jackson.jaxrs.JsonParseExceptionMapper.class);\n resources.add(org.eclipse.persistence.jpa.rs.exceptions.JPARSExceptionMapper.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.EntityResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.MetadataResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.PersistenceResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.PersistenceUnitResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.QueryResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.SingleResultQueryResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.unversioned.EntityResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.unversioned.PersistenceResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.unversioned.PersistenceUnitResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.unversioned.QueryResource.class);\n resources.add(org.eclipse.persistence.jpa.rs.resources.unversioned.SingleResultQueryResource.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(rest.RmiApiResource.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(org.olanto.translate.service.rest.myclass.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(co.matisses.web.mbean.BaruApplicationMBean.class);\n resources.add(co.matisses.web.mbean.ImagenProductoMBean.class);\n resources.add(co.matisses.web.rest.ClienteWebFacadeREST.class);\n resources.add(co.matisses.web.rest.DepartamentoSAPFacadeREST.class);\n resources.add(co.matisses.web.rest.EmpaqueVentaFacadeREST.class);\n resources.add(co.matisses.web.rest.EmpleadoFacadeREST.class);\n resources.add(co.matisses.web.rest.FacturaSAPFacadeREST.class);\n resources.add(co.matisses.web.rest.ItemInventarioFacadeREST.class);\n resources.add(co.matisses.web.rest.MercadoLibreREST.class);\n resources.add(co.matisses.web.rest.MunicipioFacadeREST.class);\n resources.add(co.matisses.web.rest.NotaCreditoFacadeREST.class);\n resources.add(co.matisses.web.rest.OperacionCajaFacadeREST.class);\n resources.add(co.matisses.web.rest.POSSessionValidatorREST.class);\n resources.add(co.matisses.web.rest.SocioDeNegociosFacadeREST.class);\n resources.add(co.matisses.web.rest.TarjetaCreditoSAPFacadeREST.class);\n resources.add(co.matisses.web.rest.TipoDocumentoREST.class);\n resources.add(co.matisses.web.rest.VentaPOSFacadeREST.class);\n resources.add(co.matisses.web.rest.regalos.ConsultaProductosREST.class);\n resources.add(co.matisses.web.rest.regalos.ContactoREST.class);\n resources.add(co.matisses.web.rest.regalos.FiltrosProductoREST.class);\n resources.add(co.matisses.web.rest.regalos.ListaRegalosREST.class);\n resources.add(co.matisses.web.rest.regalos.ListaRegalosSessionValidatorREST.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(CorsFilter.class);\n resources.add(ExceptionHandler.class);\n resources.add(org.glassfish.jersey.server.wadl.internal.WadlResource.class);\n resources.add(BaseResource.class);\n resources.add(CustomerResource.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(webservice.CampanhaFacadeREST.class);\n resources.add(webservice.CorreiosFacadeREST.class);\n resources.add(webservice.DisponibilidadecampanhasFacadeREST.class);\n resources.add(webservice.EmailFacadeREST.class);\n resources.add(webservice.EquipaFacadeREST.class);\n resources.add(webservice.EquipaTurnoFacadeREST.class);\n resources.add(webservice.EstabelecimentoFacadeREST.class);\n resources.add(webservice.GrupoFacadeREST.class);\n resources.add(webservice.HistoricocampanhaFacadeREST.class);\n resources.add(webservice.MaterialFacadeREST.class);\n resources.add(webservice.ModuloFacadeREST.class);\n resources.add(webservice.ModulogrupoFacadeREST.class);\n resources.add(webservice.NoticiaFacadeREST.class);\n resources.add(webservice.RelogiopontoFacadeREST.class);\n resources.add(webservice.TurnoEstabelecimentoFacadeREST.class);\n resources.add(webservice.TurnoFacadeREST.class);\n resources.add(webservice.UtilizadorFacadeREST.class);\n resources.add(webservice.VoluntarioEquipaFacadeREST.class);\n resources.add(webservice.VoluntarioFacadeREST.class);\n resources.add(webservice.VoluntarioMaterialFacadeREST.class);\n resources.add(webservice.VoluntarioTurnoFacadeREST.class);\n resources.add(webservice.VoluntariojuniorFacadeREST.class);\n resources.add(webservice.VoluntariosCampanhasFacadeREST.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\r\n resources.add(br.edu.femass.controleestagio.webservice.EstagioService.class);\r\n resources.add(br.edu.femass.controleestagio.webservice.Filter.class);\r\n resources.add(br.edu.femass.controleestagio.webservice.LoginService.class);\r\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(com.newgen.ws.usl.CCP.CCPApproval.class);\n resources.add(com.newgen.ws.usl.OTCBRZR.OTCBRZRApproval.class);\n resources.add(com.newgen.ws.usl.PTPInvoice.PTPInvoiceApproval.class);\n resources.add(com.newgen.ws.usl.PTPPayments.PTPPaymentsApproval.class);\n resources.add(com.newgen.ws.usl.SRApproval.SRApproval.class);\n resources.add(com.newgen.ws.usl.VM.VMApproval.class);\n resources.add(com.newgen.ws.usl.atl.ATLApproval.class);\n resources.add(com.newgen.ws.usl.legal.LegalApproval.class);\n resources.add(com.newgen.ws.usl.otc.OTCApproval.class);\n resources.add(com.newgen.ws.usl.rtr.RTRApproval.class);\n }",
"private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(controllers.KatedraController.class);\n resources.add(controllers.KorisnikController.class);\n resources.add(controllers.NastavnikController.class);\n resources.add(controllers.OsobaUVeziSaUdzbenikomController.class);\n resources.add(controllers.PredmetController.class);\n resources.add(controllers.PredmetNaStdProgramuController.class);\n resources.add(controllers.StatusPredmetaController.class);\n resources.add(controllers.StudijskiProgramController.class);\n resources.add(controllers.TematskaCelinaController.class);\n resources.add(controllers.TipNastaveController.class);\n resources.add(controllers.UdzbenikController.class);\n resources.add(controllers.UlogaController.class);\n resources.add(controllers.UlogaUdzbenikController.class);\n resources.add(controllers.VrstaINivoStudijaController.class);\n }",
"List<Resource> resources();",
"public List<Resource> listResources() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Resource.class);\n\t}",
"@Override\n public Set<Class<?>> getClasses() {\n\n Set<Class<?>> resources = new java.util.HashSet<>();\n resources.add(CountryResource.class);\n resources.add(DepartmentResource.class);\n resources.add(JobResource.class);\n return resources;\n }",
"public SimpleResList getResourceList() {\r\n\t\treturn new SimpleResList(resList);\r\n\t}",
"Collection<? extends Resource> getResources();",
"@Classpath\n @Incremental\n public abstract ConfigurableFileCollection getJavaResourceFiles();",
"public void setResources(List<PrimaryType> resources) {\n this.resources = resources;\n }",
"@Override\n public Set<Class<?>> getClasses() {\n Set<Class<?>> resources = new java.util.HashSet<>();\n resources.add(api.Auth.class);\n resources.add(api.UserApi.class);\n resources.add(api.TicketApi.class);\n resources.add(api.DepartmentApi.class);\n resources.add(api.MessageApi.class);\n resources.add(api.MilestoneApi.class);\n resources.add(api.InvitationApi.class);\n return resources;\n }",
"@Override\n\tpublic Vector<String[]> getResourceList() throws RemoteException {\n\t\tVector<String[]> resourceList = new Vector<String[]>();\n\t\tfor (Resource singleResource : resourceModel.getResources()) {\n\t\t\tresourceList.add(singleResource.toArrayStrings());\n\t\t}\n\t\treturn resourceList;\n\t}",
"public List<IResource> getResources();",
"public List<ResourceBase> listTypes() throws ResourceException;",
"@ApiModelProperty(required = true, value = \"`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \\\"services\\\", \\\"nodes/status\\\" ]. This list may not be empty. \\\"*\\\" matches all resources and, if present, must be the only entry. Required.\")\n\n public List<String> getResources() {\n return resources;\n }",
"public void setResources(List<String> resources) {\n this.resources = resources;\n }",
"@Override\n/// @XmlElement(name = \"resource\", namespace = Namespaces.SRV)\n public Collection<DataIdentification> getResources() {\n return resources = nonNullCollection(resources, DataIdentification.class);\n }",
"public RestApplication() {\n\t\tsingletons.add(new UtilResource());\n\t\tsingletons.add(new StudentResource());\n\t}",
"CollectionResource createCollectionResource();",
"public void addResources(Collection resources) {\n/* 81 */ if (resources != null) {\n/* 82 */ prepareResourceSet();\n/* 83 */ this.resources.addAll(resources);\n/* */ } \n/* */ }",
"public ArrayList<Resource> getResources(){\n\t\treturn _resources;\n\t}",
"public List<PrimaryType> getResources() {\n return resources;\n }",
"@Override\n protected void customizeResourceList(ResourceList resourceList) {\n resourceList.add(ResourcePair\n .constructSystemResourcePair(colorBarRscData));\n // Get the d2d legend resource\n resourceList.add(ResourcePair\n .constructSystemResourcePair(legendRscData));\n // Add the d2d select pane resource\n resourceList.add(ResourcePair\n .constructSystemResourcePair(selectedRscData));\n // Add the d2d sample resource\n resourceList.add(ResourcePair\n .constructSystemResourcePair(samplingRscData));\n }",
"public void processClassResourceAnnotations ()\n throws Exception\n {\n List<Class<?>> classes = _finder.getClassesForAnnotation(Resource.class);\n for (Class<?> clazz:classes)\n {\n if (!isServletType(clazz))\n {\n Log.debug(\"Ignoring @Resource annotation on on-servlet type class \"+clazz.getName());\n continue;\n }\n //Handle Resource annotation - add namespace entries\n Resource resource = (Resource)clazz.getAnnotation(Resource.class);\n if (resource != null)\n {\n String name = resource.name();\n String mappedName = resource.mappedName();\n Resource.AuthenticationType auth = resource.authenticationType();\n Class type = resource.type();\n boolean shareable = resource.shareable();\n \n if (name==null || name.trim().equals(\"\"))\n throw new IllegalStateException (\"Class level Resource annotations must contain a name (Common Annotations Spec Section 2.3)\");\n \n try\n {\n //TODO don't ignore the shareable, auth etc etc\n if (!org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp, name,mappedName))\n if (!org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp.getServer(), name,mappedName))\n throw new IllegalStateException(\"No resource at \"+(mappedName==null?name:mappedName));\n }\n catch (NamingException e)\n {\n throw new IllegalStateException(e);\n }\n }\n }\n }",
"@Classpath\n @Incremental\n public abstract ConfigurableFileCollection getFeatureJavaResourceFiles();",
"public List<Resources> getAllResources()\r\n\t{\r\n\t\tList<Resources> l = resourceRepository.findByResource();\r\n\t\treturn l;\r\n\t}",
"private void updateResourcesList() {\n this.resourcesJList.setModel(new ModelListSelectable(controller.getDemonstration().getResourcesList()));\n }",
"public VirtualMachineImageResourceList() {\n super();\n this.setResources(new LazyArrayList<VirtualMachineImageResource>());\n }",
"@Override\r\n\tpublic void add(Resources resources) {\n\t\t\r\n\t}",
"public List<ResourceItem> resourceList() {\n return this.resourceList;\n }",
"public org.semanticwb.model.GenericIterator<org.semanticwb.model.Resource> listResources()\r\n {\r\n return new org.semanticwb.model.GenericIterator<org.semanticwb.model.Resource>(getSemanticObject().listObjectProperties(swb_hasPTResource));\r\n }",
"public com.google.protobuf.ProtocolStringList\n getResourcesList() {\n return resources_;\n }",
"@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n\n }",
"@GET\r\n @Produces(MediaType.APPLICATION_JSON)\r\n public List<NewAccount> getAllNewAccounts(){\r\n return newaccountservice.getAllNewAccounts();\r\n }",
"public List<ResourceMethod> getResourceMethods() {\n return resourceMethods;\n }",
"@Override\n\tpublic void addResourceHandlers(ResourceHandlerRegistry registry) {\n\t\t\n\t}",
"List<ResourceType> resourceTypes();",
"public Set getResources() {\n/* 92 */ return Collections.unmodifiableSet(this.resources);\n/* */ }",
"@RequestMapping(value=\"/treenit\", method = RequestMethod.GET)\n\tpublic @ResponseBody List<Treeni> treeniListaRest() {\t\n\t return (List<Treeni>) repository.findAll();\n\t}",
"public Class<? extends Resources> getResourcesClass() {\n\t\treturn Resources.class;\n\t}",
"@Path(\"/list\")\n @GET\n @Produces({ MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML })\n public List<Food> getFoods_JSON() throws ClassNotFoundException {\n List<Food> listOfCountries=DBFood.listAllFoods();\t\n return listOfCountries;\n }",
"@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n }",
"public List<Resource> getResources(@Param(\"resourceIds\") Set<String> resourceIds);",
"public interface ResourceManager extends RemoteService{\n\n /**\n * This method returns a list of the resources.\n *\n * @return This list of resources.\n * @throws ResourcesException\n */\n public List<ResourceBase> listTypes() throws ResourceException;\n}",
"public void updateResources(List<Resource> resources) {\n\t\t\n\t}",
"public ReferenceList getResourceIdList( Locale locale )\n {\n ReferenceList list = new ReferenceList( );\n\n for ( InsertService service : InsertServiceManager.getInsertServicesList( ) )\n {\n list.addItem( service.getId( ), I18nService.getLocalizedString( service.getNameKey( ), locale ) );\n }\n\n return list;\n }",
"public ApiResponse<V1alpha2ResourceClassList> listResourceClassWithHttpInfo(String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Boolean sendInitialEvents, Integer timeoutSeconds, Boolean watch) throws ApiException {\n okhttp3.Call localVarCall = listResourceClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null);\n Type localVarReturnType = new TypeToken<V1alpha2ResourceClassList>(){}.getType();\n return localVarApiClient.execute(localVarCall, localVarReturnType);\n }",
"public List<DnsResource> additionalResources() {\n if (additional == null) {\n return Collections.emptyList();\n }\n return Collections.unmodifiableList(additional);\n }",
"interface ResourceClassIntrospector {\n \n /**\n * Initializes the recipient introspector.\n * @param reflectionService reflection service\n */\n void init(ReflectionService reflectionService);\n \n /**\n * Produces a set of resource method descriptors for the given resource\n * class.\n * <p>\n * An implementation of this method must traverse classes identified by\n * subresource locators to produce the complete set of resource methods \n * reachable from the given resource class.\n * \n * @param path path of the resource specified by {@code resourceClass}\n * @param resourceClass the subject resource class\n * @return set of resource method descriptors\n */\n Set<ResourceDescriptor> describe(String path, Class<?> resourceClass);\n \n}",
"@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n super.addResourceHandlers(registry);\n }",
"public com.google.protobuf.ProtocolStringList\n getResourcesList() {\n return resources_.getUnmodifiableView();\n }",
"public List<ResourceMethod> getSubResourceMethods() {\n return subResourceMethods;\n }",
"@Override\n public void addResourceHandlers(ResourceHandlerRegistry registry) {\n super.addResourceHandlers(registry);\n }",
"public final ArrayList<Class<? extends IResource>> getSelectableResourceTypes() {\n\treturn mSelectableResourceTypes;\n}",
"public Collection<Resource> getResources() {\n return resourceRegistry.getEntries().values();\n }",
"public interface ResourceService {\n public List<ResourceItemBean> getResourceItems();\n}",
"@RequestMapping( value = \"/\", method = RequestMethod.GET )\n public Iterable<ClassesDTO> list(){\n return classService.list();\n }",
"ResourceAPI createResourceAPI();",
"public List<String> getResources() {\n return resources;\n }",
"@Override\r\n\tpublic void addResourceHandlers(ResourceHandlerRegistry registry) {\n\t\tsuper.addResourceHandlers(registry);\r\n\t}",
"protected static ArrayList<Resource> asList(Resource... bundles) {\n\t\treturn new ArrayList<>(Arrays.asList(bundles));\n\t}",
"public List<ScheduleResource> neededSpecificResources();",
"public void processMethodResourceAnnotations ()\n throws Exception\n {\n //Get all methods that have a Resource annotation\n List<Method> methods = _finder.getMethodsForAnnotation(javax.annotation.Resource.class);\n \n for (Method m: methods)\n {\n if (!isServletType(m.getDeclaringClass()))\n {\n Log.debug(\"Ignoring @Resource annotation on on-servlet type method \"+m.getName());\n continue;\n }\n /*\n * Commons Annotations Spec 2.3\n * \" The Resource annotation is used to declare a reference to a resource.\n * It can be specified on a class, methods or on fields. When the \n * annotation is applied on a field or method, the container will \n * inject an instance of the requested resource into the application \n * when the application is initialized... Even though this annotation \n * is not marked Inherited, if used all superclasses MUST be examined \n * to discover all uses of this annotation. All such annotation instances \n * specify resources that are needed by the application. Note that this \n * annotation may appear on private fields and methods of the superclasses. \n * Injection of the declared resources needs to happen in these cases as \n * well, even if a method with such an annotation is overridden by a subclass.\"\n * \n * Which IMHO, put more succinctly means \"If you find a @Resource on any method\n * or field, inject it!\".\n */\n Resource resource = (Resource)m.getAnnotation(Resource.class);\n if (resource == null)\n continue;\n \n //JavaEE Spec 5.2.3: Method cannot be static\n if (Modifier.isStatic(m.getModifiers()))\n throw new IllegalStateException(m+\" cannot be static\");\n \n \n // Check it is a valid javabean \n if (!IntrospectionUtil.isJavaBeanCompliantSetter(m))\n throw new IllegalStateException(m+\" is not a java bean compliant setter method\");\n \n //default name is the javabean property name\n String name = m.getName().substring(3);\n name = name.substring(0,1).toLowerCase()+name.substring(1);\n name = m.getDeclaringClass().getCanonicalName()+\"/\"+name;\n //allow default name to be overridden\n name = (resource.name()!=null && !resource.name().trim().equals(\"\")? resource.name(): name);\n //get the mappedName if there is one\n String mappedName = (resource.mappedName()!=null && !resource.mappedName().trim().equals(\"\")?resource.mappedName():null);\n \n Class type = m.getParameterTypes()[0];\n \n //get other parts that can be specified in @Resource\n Resource.AuthenticationType auth = resource.authenticationType();\n boolean shareable = resource.shareable();\n \n //if @Resource specifies a type, check it is compatible with setter param\n if ((resource.type() != null) \n && \n !resource.type().equals(Object.class)\n &&\n (!IntrospectionUtil.isTypeCompatible(type, resource.type(), false)))\n throw new IllegalStateException(\"@Resource incompatible type=\"+resource.type()+ \" with method param=\"+type+ \" for \"+m);\n \n //check if an injection has already been setup for this target by web.xml\n Injection webXmlInjection = _injections.getInjection(m.getDeclaringClass(), m);\n if (webXmlInjection == null)\n {\n try\n {\n //try binding name to environment\n //try the webapp's environment first\n boolean bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp, name, mappedName);\n \n //try the server's environment\n if (!bound)\n bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(_webApp.getServer(), name, mappedName);\n \n //try the jvm's environment\n if (!bound)\n bound = org.mortbay.jetty.plus.naming.NamingEntryUtil.bindToENC(null, name, mappedName);\n \n //TODO if it is an env-entry from web.xml it can be injected, in which case there will be no\n //NamingEntry, just a value bound in java:comp/env\n if (!bound)\n {\n try\n {\n InitialContext ic = new InitialContext();\n String nameInEnvironment = (mappedName!=null?mappedName:name);\n ic.lookup(\"java:comp/env/\"+nameInEnvironment); \n bound = true;\n }\n catch (NameNotFoundException e)\n {\n bound = false;\n }\n }\n \n if (bound)\n {\n Log.debug(\"Bound \"+(mappedName==null?name:mappedName) + \" as \"+ name);\n // Make the Injection for it\n Injection injection = new Injection();\n injection.setTargetClass(m.getDeclaringClass());\n injection.setJndiName(name);\n injection.setMappingName(mappedName);\n injection.setTarget(m);\n _injections.add(injection);\n } \n else if (!isEnvEntryType(type))\n {\n \n //if this is an env-entry type resource and there is no value bound for it, it isn't\n //an error, it just means that perhaps the code will use a default value instead\n // JavaEE Spec. sec 5.4.1.3 \n throw new IllegalStateException(\"No resource at \"+(mappedName==null?name:mappedName));\n }\n }\n catch (NamingException e)\n { \n //if this is an env-entry type resource and there is no value bound for it, it isn't\n //an error, it just means that perhaps the code will use a default value instead\n // JavaEE Spec. sec 5.4.1.3\n if (!isEnvEntryType(type))\n throw new IllegalStateException(e);\n }\n }\n else\n {\n //if an injection is already set up for this name, then the types must be compatible\n //JavaEE spec sec 5.2.4\n \n Object value = webXmlInjection.lookupInjectedValue();\n if (!IntrospectionUtil.isTypeCompatible(type, value.getClass(), false))\n throw new IllegalStateException(\"Type of field=\"+type+\" is not compatible with Resource type=\"+value.getClass());\n }\n }\n }",
"public List<DataGridResource> getResources() {\n\t\tif(resources != null) Collections.sort(resources);\n\t\treturn resources;\n\t}",
"@Override\n/// @XmlElement(name = \"resourceReference\", namespace = Namespaces.SRV)\n public Collection<Citation> getResourceReferences() {\n return resourceReferences = nonNullCollection(resourceReferences, Citation.class);\n }",
"private List<JsonObject> addResourceDocsToRegistry(JsonObject swaggerDocObject, String sourceUrl,\n\t String swaggerDocPath) throws RegistryException {\n\n\t\tif (sourceUrl == null) {\n\t\t\tlog.debug(CommonConstants.EMPTY_URL);\n\t\t\tlog.warn(\"Resource paths cannot be read. Creating the REST service might fail.\");\n\t\t\treturn null;\n\t\t} else if (sourceUrl.startsWith(\"file\")) {\n\t\t\tsourceUrl = sourceUrl.substring(0,sourceUrl.lastIndexOf(\"/\"));\n\t\t}\n\n\t\tList<JsonObject> resourceObjects = new ArrayList<>();\n\t\t//Adding Resource documents to registry.\n\t\tJsonArray pathResources = swaggerDocObject.get(SwaggerConstants.APIS).getAsJsonArray();\n\t\tByteArrayOutputStream resourceContentStream = null;\n\t\tInputStream resourceInputStream = null;\n\t\tString path;\n\n\t\t/*\n\t\tLoops through apis array of the swagger 1.2 api-doc and reads all the resource documents and saves them in to\n\t\tthe registry.\n\t\t */\n\t\tfor (JsonElement pathResource : pathResources) {\n\t\t\tJsonObject resourceObj = pathResource.getAsJsonObject();\n\t\t\tpath = resourceObj.get(SwaggerConstants.PATH).getAsString();\n\t\t\ttry {\n\t\t\t\tresourceInputStream = new URL(sourceUrl + path).openStream();\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new RegistryException(\"The URL \" + sourceUrl + path + \" is incorrect.\", e);\n\t\t\t}\n\t\t\tresourceContentStream = CommonUtil.readSourceContent(resourceInputStream);\n\t\t\tJsonObject resourceObject = parser.parse(resourceContentStream.toString()).getAsJsonObject();\n\t\t\tresourceObjects.add(resourceObject);\n\t\t\tif (endpointElement == null) {\n\t\t\t\tcreateEndpointElement(resourceObject, SwaggerConstants.SWAGGER_VERSION_12);\n\t\t\t}\n\t\t\t//path = swaggerResourcesPath + path;\n path = path.replace(\"/\",\"\");\n path = CommonUtil.replaceExpressionOfPath(swaggerResourcesPath, \"name\", path);\n path = RegistryUtils.getAbsolutePath(registry.getRegistryContext(),path);\n\t\t\t//Save Resource document to registry\n\t\t\tif(addSwaggerDocumentToRegistry(resourceContentStream, path, documentVersion)) {\n //Adding an dependency to API_DOC\n registry.addAssociation(swaggerDocPath, path, CommonConstants.DEPENDS);\n }\n\t\t}\n\n\t\tCommonUtil.closeOutputStream(resourceContentStream);\n\t\tCommonUtil.closeInputStream(resourceInputStream);\n\t\treturn resourceObjects;\n\t}",
"@Override\n public void refreshResources() {\n\n }",
"public void setResources(List<ITranslationResource> resources){\n\t\tthis.resources = resources;\n\t}",
"public <T extends Base> List<T> list(Class<T> T) throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn Core.list(T, getHttpMethodExecutor());\n\t}",
"@Override\n\tpublic List<Resource> findAll(Sort sort) {\n\t\treturn null;\n\t}",
"@OneToMany(fetch = FetchType.LAZY, mappedBy = Resource.Attributes.SYSTEM, targetEntity = Resource.class, orphanRemoval = true)\n\tpublic Set<Resource> getResources() {\n\t\treturn this.resources;\n\t}",
"public com.google.protobuf.ProtocolStringList\n getResourceNamesList() {\n return resourceNames_;\n }",
"List<String> externalResources();",
"public Iterator<String> listAllClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\r\n\t}",
"public void addResource(S... resources) {\r\n\t\tfor (S resource : resources) {\r\n\t\t\tthis.resourcesList.add(resource);\r\n\t\t}\t\t\r\n\t}",
"public V1alpha2ResourceClassList listResourceClass(String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Boolean sendInitialEvents, Integer timeoutSeconds, Boolean watch) throws ApiException {\n ApiResponse<V1alpha2ResourceClassList> localVarResp = listResourceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch);\n return localVarResp.getData();\n }",
"@RequestMapping(value = \"/shopressources\", method = RequestMethod.GET)\n List<ShopRessource> getAllShopRessources();",
"public List<MessageResource> listMessageResource();",
"public ResourceSet getAllResources() {\n return getAllResourcesExcept(null);\n }",
"public static java.util.Iterator<org.semanticwb.model.ResourceType> listResourceTypes()\r\n {\r\n java.util.Iterator it=sclass.listInstances();\r\n return new org.semanticwb.model.GenericIterator<org.semanticwb.model.ResourceType>(it, true);\r\n }",
"java.util.List<java.lang.String>\n getResourcePatternsList();",
"public List<ResourceMethod> getSubResourceLocators() {\n return subResourceLocators;\n }",
"public List<ResourcePrice> listResourcePrices() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn new LinkedList<ResourcePrice>();\n\t}",
"@Override\n\tpublic Router getRestlet(Context context){\n\t\tRouter router = new Router(context);\n\t\trouter.attach(\"/links/json\", LinksResource.class);\n\t\trouter.attach(\"/config/json\",FdmReq_CapResource.class);\n\t\t\n\t\t\n\t\treturn router;\n\t}",
"com.microsoft.schemas.crm._2011.contracts.ArrayOfRequiredResource addNewRequiredResources();",
"@RepositoryRestResource(collectionResourceRel = \"items\", path = \"items\")\n\npublic interface ItemRepo extends CrudRepository<Item,Integer> {\n}",
"public Resources() {\n this(DSL.name(\"Resources\"), null);\n }",
"@ApiModelProperty(value = \"List of the resource name pattern strings to which the policy applies. Must conform to the pattern templates provided by the associated Managing Resource Types resource type\")\n public List<String> getResources() {\n return resources;\n }",
"public interface IResource {\n\n\t/**\n\t * An optional attribute that identifies the Resource-element.\n\t */\n\tpublic URI getId();\n\n\tpublic boolean setId(URI id);\n\n\t/**\n\t * An optional attribute. If present, it provides a relative URI template for the identifier of the resource. The\n\t * resource's base URI is given by the Resource-element's parent Resource- or Resources-element. The value of the\n\t * path-attribute may be static or may contain embedded template parameters.\n\t */\n\tpublic String getPath();\n\n\tpublic boolean setPath(String path);\n\n\t/**\n\t * An optional attribute whose type is a space-separated list of URIs. Each value in the list identifies a\n\t * ResourceType-element that defines a set of methods supported by the resource.\n\t */\n\tpublic List<URI> getType();\n\n\tpublic boolean setType(List<URI> type);\n\n\tpublic boolean addType(URI type);\n\n\t/**\n\t * Defines the media type for the query component of the resourve URI. Defaults to\n\t * 'application/x-www-form-urlencoded' if not specified which results in query strings being formatted as specified.\n\t */\n\tpublic String getQueryType();\n\n\tpublic boolean setQueryType(String queryType);\n\n\t/**\n\t * A Resource-element contains zero or more Doc-elements.\n\t */\n\tpublic List<IDoc> getDocs();\n\n\tpublic boolean addDoc(IDoc doc);\n\n\t/**\n\t * A Resource-element contains zero or more Param-elements with one of the following values for its style-attriute:\n\t * template, matrix, query, header.\n\t */\n\tpublic List<IParam> getParams();\n\n\tpublic boolean addParam(IParam param);\n\n\t/**\n\t * A Resource-element contains zero or more Method-elements, each of which describes the input to and output from an\n\t * HTTP protocol method that can be applied to the resource. Such locally-defined methods are added to any methods\n\t * included in ResourceType-elements referred to using the type-attribute.\n\t */\n\tpublic List<IMethod> getMethods();\n\n\tpublic boolean addMethod(IMethod method);\n\n\t/**\n\t * A Resource-element contains zero or more Resource-elements that describe sub-resources. Such sub-resources\n\t * inherit matrix and template parameters from the parent resource since their URI is relative to that of the parent\n\t * resource but they do not inherit query or header parameters specified globally for the parent resource.\n\t */\n\tpublic List<IResource> getResources();\n\n\tpublic boolean addResource(IResource resource);\n\n\tpublic String toString();\n\n}",
"public List<Resource> getAvailableResources();",
"public void setResources(Set<Resource> resources) {\n\t\tthis.resources = resources;\n\t}",
"public List<Resource> deployResources() throws Exception {\n List<Resource> developmentResources = findResources(m_developmentRepo, \"*\", \"*\");\n List<Resource> deployedResources = new ArrayList<>();\n for (Resource developmentResource : developmentResources) {\n deployedResources.add(deployResource(developmentResource));\n }\n return deployedResources;\n }",
"@Override\n\tpublic void selectList(RestRequest request, RestResponse response) throws Exception {\n\t\t\n\t}",
"@RequestMapping(\"/resources_nocb\")\n public ResponseEntity<List<Resource>> request_nocb() {\n IService1 service1 = Feign.builder()\n .decoder(new JacksonDecoder())\n .target(IService1.class, \"http://\"+service1host+\":\"+service1port);\n\n // Fetch and print a list of the contributors to this library.\n List<Resource> resources = service1.resources_nocb();\n\n return new ResponseEntity<List<Resource>>(resources, HttpStatus.OK);\n }"
] | [
"0.76765704",
"0.7597451",
"0.7577187",
"0.75252813",
"0.747066",
"0.7467359",
"0.7353644",
"0.73234576",
"0.7295699",
"0.64042795",
"0.62937796",
"0.62466836",
"0.6145518",
"0.60506964",
"0.60316294",
"0.59876394",
"0.5964215",
"0.5935867",
"0.59293914",
"0.59192985",
"0.58676505",
"0.5851388",
"0.5834618",
"0.5800903",
"0.5798857",
"0.5777774",
"0.5748783",
"0.5748343",
"0.57463527",
"0.5743528",
"0.57168734",
"0.56769",
"0.5651999",
"0.5632348",
"0.56261903",
"0.56089646",
"0.5579578",
"0.5560255",
"0.55562305",
"0.55213165",
"0.5517413",
"0.5508464",
"0.5505887",
"0.5499082",
"0.5497089",
"0.548894",
"0.5473207",
"0.5466265",
"0.5463991",
"0.54634714",
"0.5458984",
"0.54538524",
"0.54521966",
"0.5428924",
"0.54140943",
"0.5404169",
"0.54007196",
"0.5382885",
"0.5378714",
"0.5355022",
"0.5337655",
"0.5330058",
"0.52926016",
"0.52878803",
"0.5281655",
"0.52760816",
"0.5268524",
"0.52642393",
"0.52631325",
"0.52629906",
"0.525571",
"0.5246734",
"0.5227959",
"0.52239454",
"0.5222626",
"0.5221809",
"0.5220305",
"0.521903",
"0.52165484",
"0.5210013",
"0.52083176",
"0.51978827",
"0.5176331",
"0.5163432",
"0.5160263",
"0.5145267",
"0.5139448",
"0.5133444",
"0.51256776",
"0.51213175",
"0.5119221",
"0.5112056",
"0.5108023",
"0.51028556",
"0.5102587",
"0.50952196",
"0.5087094",
"0.5083602",
"0.5083449",
"0.50821704"
] | 0.7290079 | 9 |
Incredible hack required to ensure that classes are loaded at construction time I.E. so that it fails fast if they're not found. TODO fix this I thought about just depending on the API level, but that broke Robolectric. | public NativeFragmentUtil() throws ClassNotFoundException {
Class.forName(Fragment.class.getName());
Class.forName(FragmentManager.class.getName());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void init() throws ClassNotFoundException{\n }",
"public void initializeClass();",
"public static void initialize(){\r\n\t\tinitialize(new CurrentClassGetter().getClassName());\r\n\t}",
"private void loadClasses() {\n\t\tString[] classes = new String[] { \"com.sssprog.delicious.api.ApiAsyncTask\" };\n\t\tfor (String c : classes) {\n\t\t\ttry {\n\t\t\t\tClass.forName(c);\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"void injectorClassLoader() {\n\t\t//To get the package name\n\t\tString pkgName = context.getPackageName();\n\t\t//To get the context\n\t\tContext contextImpl = ((ContextWrapper) context).getBaseContext();\n\t\t//Access to the Activity of the main thread\n\t\tObject activityThread = null;\n\t\ttry {\n\t\t\tactivityThread = Reflection.getField(contextImpl, \"mMainThread\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//Get package container\n\t\tMap mPackages = null;\n\t\ttry {\n\t\t\tmPackages = (Map) Reflection.getField(activityThread, \"mPackages\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//To obtain a weak reference object, the standard reflection\n\t\tWeakReference weakReference = (WeakReference) mPackages.get(pkgName);\n\t\tif (weakReference == null) {\n\t\t\tlog.e(\"loadedApk is null\");\n\t\t} else {\n\t\t\t//Get apk need to be loaded\n\t\t\tObject loadedApk = weakReference.get();\n\t\t\t\n\t\t\tif (loadedApk == null) {\n\t\t\t\tlog.e(\"loadedApk is null\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (appClassLoader == null) {\n\t\t\t\t//Access to the original class loader\n\t\t\t\tClassLoader old = null;\n\t\t\t\ttry {\n\t\t\t\t\told = (ClassLoader) Reflection.getField(loadedApk,\n\t\t\t\t\t\t\t\"mClassLoader\");\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t//According to the default class loader instantiate a plug-in class loader\n\t\t\t\tappClassLoader = new SyknetAppClassLoader(old, this);\n\t\t\t}\n\t\t\t//Replace the new plug-in loader loader by default\n\t\t\ttry {\n\t\t\t\tReflection.setField(loadedApk, \"mClassLoader\", appClassLoader);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"@PostConstruct\r\n\tprivate void init()\r\n\t{\r\n\t\tSet<Method> freeMarkerMethods = classScannerService.getMethodsAnnotatedWith(FreeMarkerMethod.class);\r\n\t\t\r\n\t\tif(freeMarkerMethods == null)\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tSet<Class<?>> fmarkerClasses = new HashSet<Class<?>>();\r\n\t\t\r\n\t\tfor(Method method : freeMarkerMethods)\r\n\t\t{\r\n\t\t\tif(fmarkerClasses.contains(method.getDeclaringClass()))\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\r\n\t\t\tfreeMarkerEngine.loadClass(method.getDeclaringClass());\r\n\t\t}\r\n\t}",
"private SupplierLoaderUtil() {\n\t}",
"private void initClassloaders() {\n\t\tthis.commonloader = createClassloader(\"common\",null);\n\t\tthis.sharedloader = createClassloader(\"shared\", commonloader);\n\t\tthis.catalinaloader = createClassloader(\"server\", commonloader);\n\t}",
"protected void ensureLoaded()\n {\n if (!m_fLoaded)\n {\n if (m_abClazz != null)\n {\n ByteArrayInputStream streamRaw = new ByteArrayInputStream(m_abClazz);\n DataInput stream = new DataInputStream(streamRaw);\n try\n {\n disassemble(stream, m_pool);\n }\n catch (IOException e)\n {\n throw ensureRuntimeException(e);\n }\n }\n\n m_fLoaded = true;\n }\n }",
"public static void loadClass(String name) {\n\n }",
"private void init() {\n\t\tMvcs.scanPackagePath = analyseScanPath();\n\t\tif(StringHandler.isEmpty(Mvcs.scanPackagePath))\n\t\t\tthrow new RuntimeException(\"No scan path has been set! you need to setup ScanPackage annotation\");\n\t\t\n\t\t//put all class into the list\n\t\tList<String> allClassNames = scanAllClassNames();\n\t\tif(StringHandler.isEmpty(allClassNames)) //some loader may have no return value \n\t\t\treturn ;\n\t\t\n\t\tfor(String pkgPath : allClassNames){\n\t\t\tlist.add(ClassUtil.getClass(pkgPath));\n\t\t}\n\t}",
"private ClassUtil() {}",
"private void initializeBoot()\n {\n bootLoader = getClass().getClassLoader();\n\n // Get the home directory of the Java implementation we're being run by\n javaHomeDir = new File(System.getProperty(\"java.home\"));\n\n try {\n runtimeClassPath = getKnownJars(getBluejLibDir(), runtimeJars, false, numBuildJars);\n runtimeUserClassPath = getKnownJars(getBluejLibDir(), userJars, true, numUserBuildJars);\n }\n catch (Exception exc) {\n exc.printStackTrace();\n }\n }",
"default boolean canLoadClassPath(String classPath) { return true; }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassLoaderDomain domain, ClassLoaderPolicy policy)\n {\n // Remember some information\n this.system = system;\n this.domain = domain;\n this.policy = policy;\n \n // Create the classloader\n ClassLoader classLoader = system.registerClassLoaderPolicy(domain, policy);\n\n // Load the class from the isolated classloader\n try\n {\n clazz = classLoader.loadClass(clazz.getName());\n }\n catch (ClassNotFoundException e)\n {\n throw new RuntimeException(\"Unable to load test class in isolated classloader \" + clazz, e);\n }\n \n return clazz;\n }",
"public static synchronized void bootstrap() {\n ImplementingClassResolver.clearCache();\n if (bootstrapedNeeded) {\n reflectionsModel.rescann(\"\");\n }\n bootstrapedNeeded = false;\n }",
"public void prepare() throws ClassNotFoundException {\n }",
"public static void init() {\n try {\n createInstances();\n } catch (Exception e) {\n logger.error(\"Failed to instantiate classes.\", e);\n throw new RuntimeException(\"Failed to create instances.\", e);\n }\n }",
"private static void zza(java.lang.ClassLoader r3) throws com.google.android.gms.dynamite.DynamiteModule.zzc {\n /*\n r0 = 0\n java.lang.String r1 = \"com.google.android.gms.dynamiteloader.DynamiteLoaderV2\"\n java.lang.Class r3 = r3.loadClass(r1) // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n r1 = 0\n java.lang.Class[] r2 = new java.lang.Class[r1] // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n java.lang.reflect.Constructor r3 = r3.getConstructor(r2) // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n java.lang.Object[] r1 = new java.lang.Object[r1] // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n java.lang.Object r3 = r3.newInstance(r1) // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n android.os.IBinder r3 = (android.os.IBinder) r3 // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n if (r3 != 0) goto L_0x001a\n r3 = r0\n goto L_0x002e\n L_0x001a:\n java.lang.String r1 = \"com.google.android.gms.dynamite.IDynamiteLoaderV2\"\n android.os.IInterface r1 = r3.queryLocalInterface(r1) // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n boolean r2 = r1 instanceof com.google.android.gms.dynamite.zzl // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n if (r2 == 0) goto L_0x0028\n r3 = r1\n com.google.android.gms.dynamite.zzl r3 = (com.google.android.gms.dynamite.zzl) r3 // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n goto L_0x002e\n L_0x0028:\n com.google.android.gms.dynamite.zzm r1 = new com.google.android.gms.dynamite.zzm // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n r1.<init>(r3) // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n r3 = r1\n L_0x002e:\n zzaSH = r3 // Catch:{ ClassNotFoundException | IllegalAccessException | InstantiationException | NoSuchMethodException | InvocationTargetException -> 0x0031 }\n return\n L_0x0031:\n r3 = move-exception\n com.google.android.gms.dynamite.DynamiteModule$zzc r1 = new com.google.android.gms.dynamite.DynamiteModule$zzc\n java.lang.String r2 = \"Failed to instantiate dynamite loader\"\n r1.<init>(r2, r3, r0)\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.dynamite.DynamiteModule.zza(java.lang.ClassLoader):void\");\n }",
"private static AndroidNClassLoader createAndroidNClassLoader(PathClassLoader original, Application application) throws Exception {\n AndroidNClassLoader androidNClassLoader = new AndroidNClassLoader(\"\", original, application);\n Field originPathList = ShareReflectUtil.findField(original, \"pathList\");\n Object originPathListObject = originPathList.get(original);\n //should reflect definingContext also\n Field originClassloader = ShareReflectUtil.findField(originPathListObject, \"definingContext\");\n originClassloader.set(originPathListObject, androidNClassLoader);\n //copy pathList\n Field pathListField = ShareReflectUtil.findField(androidNClassLoader, \"pathList\");\n //just use PathClassloader's pathList\n pathListField.set(androidNClassLoader, originPathListObject);\n\n //we must recreate dexFile due to dexCache\n List<File> additionalClassPathEntries = new ArrayList<>();\n Field dexElement = ShareReflectUtil.findField(originPathListObject, \"dexElements\");\n Object[] originDexElements = (Object[]) dexElement.get(originPathListObject);\n for (Object element : originDexElements) {\n DexFile dexFile = (DexFile) ShareReflectUtil.findField(element, \"dexFile\").get(element);\n if (dexFile == null) {\n continue;\n }\n additionalClassPathEntries.add(new File(dexFile.getName()));\n //protect for java.lang.AssertionError: Failed to close dex file in finalizer.\n oldDexFiles.add(dexFile);\n }\n Method makePathElements = ShareReflectUtil.findMethod(originPathListObject, \"makePathElements\", List.class, File.class,\n List.class);\n ArrayList<IOException> suppressedExceptions = new ArrayList<>();\n Object[] newDexElements = (Object[]) makePathElements.invoke(originPathListObject, additionalClassPathEntries, null, suppressedExceptions);\n dexElement.set(originPathListObject, newDexElements);\n\n try {\n Class.forName(CHECK_CLASSLOADER_CLASS, true, androidNClassLoader);\n } catch (Throwable thr) {\n Log.e(TAG, \"load TinkerTestAndroidNClassLoader fail, try to fixDexElementsForProtectedApp\");\n fixDexElementsForProtectedApp(application, newDexElements);\n }\n\n return androidNClassLoader;\n }",
"@Override\n public ElementMatcher<ClassLoader> classLoaderMatcher() {\n return hasClassesNamed(className);\n }",
"public ClassNotFoundException () {\n\t\tsuper((Throwable)null); // Disallow initCause\n\t}",
"protected void setUpClassloader() throws Exception\n {\n threadContextClassLoader = Thread.currentThread()\n .getContextClassLoader();\n Thread.currentThread()\n .setContextClassLoader(\n new URLClassLoader(new URL[0], this.getClass()\n .getClassLoader()));\n classLoaderSet = true;\n }",
"public static void initClasses() {\n\t // base class must be initialized first\n\t \t SoAction.initClass();\n\t \t \n\t \t SoCallbackAction.initClass();\n\t \t SoGLRenderAction.initClass();\n\t \t SoGetBoundingBoxAction.initClass();\n\t \t SoGetMatrixAction.initClass();\n\t \t SoGetPrimitiveCountAction.initClass();\n\t \t SoHandleEventAction.initClass();\n\t \t SoPickAction.initClass();\n\t \t SoRayPickAction.initClass();\n\t \t SoSearchAction.initClass();\n\t \t SoWriteAction.initClass();\n\t \t \t \t\n\t }",
"private ModuleLoader() {\r\n }",
"private Class<?> loadClass(String className) {\n try {\n return Class.forName(className);\n } catch (ClassNotFoundException ignore) {\n return null;\n }\n }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ParentPolicy parentPolicy, ClassLoaderPolicy policy)\n {\n ClassLoaderDomain domain = system.createAndRegisterDomain(\"TEST\", parentPolicy);\n return initializeClassLoader(clazz, system, domain, policy);\n }",
"@Before\n public void setUp() throws Exception {\n classPathScanner =\n new ClassPathScanner(ClassPathScanner.getDefaultClasspaths(getInstrumentation()));\n }",
"LiveClassLoader()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tthis.defineClassMethod = ClassLoader.class.getDeclaredMethod(\"defineClass\", String.class, byte[].class, int.class, int.class);\r\n\t\t\tthis.defineClassMethod.setAccessible(true);\r\n\t\t}\r\n\t\tcatch (NoSuchMethodException | SecurityException e)\r\n\t\t{\r\n\t\t\t// TODO: debug..\r\n\t\t\tSystem.out.println(\"CLASS LOADER >> Erro ao recuperar o metodo 'ClassLoader.defineClass()'!\");\r\n\t\t\t\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public interface BuiltInsLoader {\n public static final Companion Companion = Companion.$$INSTANCE;\n\n PackageFragmentProvider createPackageFragmentProvider(StorageManager storageManager, ModuleDescriptor moduleDescriptor, Iterable<? extends ClassDescriptorFactory> iterable, PlatformDependentDeclarationFilter platformDependentDeclarationFilter, AdditionalClassPartsProvider additionalClassPartsProvider, boolean z);\n\n /* compiled from: BuiltInsLoader.kt */\n public static final class Companion {\n static final /* synthetic */ Companion $$INSTANCE = new Companion();\n private static final Lazy<BuiltInsLoader> Instance$delegate = LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, BuiltInsLoader$Companion$Instance$2.INSTANCE);\n\n private Companion() {\n }\n\n public final BuiltInsLoader getInstance() {\n return Instance$delegate.getValue();\n }\n }\n}",
"public Class<?> initializeClassLoader(Class<?> clazz, boolean importAll, Class<?>... packages)\n {\n MockClassLoaderPolicy policy = new MockClassLoaderPolicy();\n Set<Class<?>> classes = new HashSet<Class<?>>();\n classes.add(clazz);\n classes.addAll(Arrays.asList(packages));\n policy.setImportAll(importAll);\n policy.setPathsAndPackageNames(classes.toArray(new Class[classes.size()]));\n\n return initializeClassLoader(clazz, policy);\n }",
"public static void checkClass(String clazz, I_Classes classes) {\n try {\n //actually load all of the classes using the default classloader here\n classes.forName(clazz, false, ClassLoader.getSystemClassLoader());\n } catch (ClassNotFoundException e) {\n throw new RuntimeException(e);\n }\n }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassLoaderPolicy policy)\n {\n return initializeClassLoader(clazz, system, policy, getParentPackages());\n }",
"@Override\n public JavaClass findClass(final String className) {\n final SoftReference<JavaClass> ref = loadedClasses.get(className);\n if (ref == null) {\n return null;\n}\n return ref.get();\n }",
"@Override\n\tpublic void beforeClassSetup() {\n\t\t\n\t}",
"public static void preLoad() {\n\t\tserviceClasses.clear();\n\t\tloadGroups(CLASS_FOLDER, null, serviceClasses);\n\t\tTracer.trace(serviceClasses.size()\n\t\t\t\t+ \" java class names loaded as services.\");\n\t\t/*\n\t\t * clean and pre-load if required\n\t\t */\n\t\tfor (ComponentType aType : ComponentType.values()) {\n\t\t\tif (aType.cachedOnes != null) {\n\t\t\t\taType.cachedOnes.clear();\n\t\t\t}\n\t\t\tif (aType.preLoaded) {\n\t\t\t\taType.loadAll();\n\t\t\t}\n\t\t}\n\t}",
"public static void checkClassloaders() {\n\t\tSystem.out.println(ClassLoaderDemo.class.getClassLoader()); //sun.misc.Launcher$AppClassLoader@36422510\n\t\tSystem.out.println(ClassLoaderDemo.class.getClassLoader().getParent()); //sun.misc.Launcher$ExtClassLoader@308f5944\n\t\tSystem.out.println(ClassLoaderDemo.class.getClassLoader().getParent().getParent()); //null\n\t}",
"@Test\n public void testLazyInstantiation()\n {\n Injector injector = GuiceInjectors.makeStartupInjectorWithModules(\n ImmutableList.of(\n new GcpMockModule()\n {\n\n @Override\n public HttpRequestInitializer mockRequestInitializer(\n HttpTransport transport,\n JsonFactory factory\n )\n {\n throw new UnsupportedOperationException(\"should not be called, because this should be lazy\");\n }\n },\n new GoogleStorageDruidModule()\n )\n );\n final GoogleStorage instance = injector.getInstance(GoogleStorage.class);\n Assert.assertSame(instance, injector.getInstance(GoogleStorage.class));\n }",
"public void testUnknownClass() {\n final LinkerDef linkerDef = (LinkerDef) create();\n try {\n linkerDef.setClassname(\"com.github.maven_nar.cpptasks.bogus.BogusLinker\");\n } catch (final BuildException ex) {\n return;\n }\n fail(\"should have thrown exception\");\n }",
"private static void setupCallerCheck() {\n try {\n final ClassLoader loader = Loader.getClassLoader();\n // Use wildcard to avoid compile-time reference.\n final Class<?> clazz = loader.loadClass(\"sun.reflect.Reflection\");\n final Method[] methods = clazz.getMethods();\n for (final Method method : methods) {\n final int modifier = method.getModifiers();\n if (method.getName().equals(\"getCallerClass\") && Modifier.isStatic(modifier)) {\n getCallerClass = method;\n return;\n }\n }\n } catch (final ClassNotFoundException cnfe) {\n LOGGER.debug(\"sun.reflect.Reflection is not installed\");\n }\n\n try {\n final PrivateSecurityManager mgr = new PrivateSecurityManager();\n if (mgr.getClasses() != null) {\n securityManager = mgr;\n } else {\n // This shouldn't happen.\n LOGGER.error(\"Unable to obtain call stack from security manager\");\n }\n } catch (final Exception ex) {\n LOGGER.debug(\"Unable to install security manager\", ex);\n }\n }",
"private ClassifierUtils() {\n throw new AssertionError();\n }",
"@Override\n public ClassLoader getClassLoader() {\n return null;\n }",
"protected static void classInitializers() throws Exception {\r\n\t\tfor (int i=0; i<classes.size(); i++) {\r\n\t\t\tClass<?> c = classes.get(i);\r\n\t\t\tMethod clreinit = c.getDeclaredMethod(\"clreinit\", zeroFormalParams);\r\n\t\t\tclreinit.invoke(null, new Object[0]);\t//static meth, zero params\r\n\t\t}\t\t\t\r\n\t}",
"private static native void initCachedClassMap();",
"@Override\n protected void before() throws Throwable {\n ClassLoader oldClassLoader = ClassLoaders.setContextClassLoader(STANDALONE.getClass().getClassLoader());\n try {\n Method before = STANDALONE.getClass().getDeclaredMethod(\"before\");\n before.setAccessible(true);\n before.invoke(STANDALONE);\n } finally {\n ClassLoaders.setContextClassLoader(oldClassLoader);\n }\n }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassFilter parentFilter, ClassLoaderPolicy policy)\n {\n Set<String> parentPackages = getParentPackages();\n String[] parentPkgs = parentPackages.toArray(new String[parentPackages.size()]);\n PackageClassFilter filter = new PackageClassFilter(parentPkgs);\n filter.setIncludeJava(true);\n CombiningClassFilter beforeFilter = CombiningClassFilter.create(filter, parentFilter);\n ParentPolicy parentPolicy = new ParentPolicy(beforeFilter, ClassFilterUtils.NOTHING);\n return initializeClassLoader(clazz, system, parentPolicy, policy);\n }",
"@Test\n @Order(2)\n void testNoArgsClass() {\n final RuntimeConstructable r =\n noArgsRegistry.getConstructor(ConstructableExample.CLASS_ID).get();\n assertTrue(r instanceof ConstructableExample);\n\n // checks the objects class ID\n assertEquals(ConstructableExample.CLASS_ID, r.getClassId());\n }",
"@Override\n protected Class<?> loadClass(String name, boolean resolve)\n throws ClassNotFoundException {\n Class<?> loadedClass = findLoadedClass(name);\n if (loadedClass == null) {\n try {\n if (_classLoader != null) {\n loadedClass = _classLoader.loadClass(name);\n }\n } catch (ClassNotFoundException ex) {\n // class not found in system class loader... silently skipping\n }\n\n try {\n // find the class from given jar urls as in first constructor parameter.\n if (loadedClass == null) {\n loadedClass = findClass(name);\n }\n } catch (ClassNotFoundException e) {\n // class is not found in the given urls.\n // Let's try it in parent classloader.\n // If class is still not found, then this method will throw class not found ex.\n loadedClass = super.loadClass(name, resolve);\n }\n }\n\n if (resolve) { // marked to resolve\n resolveClass(loadedClass);\n }\n return loadedClass;\n }",
"private NativeLibraryLoader() {\n }",
"public Class<?> loadClass(String str, boolean z) throws ClassNotFoundException {\n if (str.startsWith(BuildConfig.APPLICATION_ID) || str.startsWith(\"android\") || str.startsWith(\"external\") || str.startsWith(\"me.weishu.epic.art\") || str.startsWith(\"com.taobao.android.dexposed\")) {\n return this.mHostClassLoader.loadClass(str);\n }\n return super.loadClass(str, z);\n }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassLoaderPolicy policy, String... parentPackages)\n {\n // The parent filter\n PackageClassFilter filter = new PackageClassFilter(parentPackages);\n filter.setIncludeJava(true);\n return initializeClassLoader(clazz, system, filter, ClassFilterUtils.NOTHING, policy);\n }",
"public void loadAndWait()\n {\n injector.addConfigurationInstances(this.configClassInstances);\n\n // load all @Services from @Configuration classes\n injector.activateFailOnNullInstance();\n injector.load();\n\n // detect duplicates and crash on matches\n injector.crashOnDuplicates();\n\n // branch out the dependencies, such that Service A, with dependency B, is\n // aware of all dependencies of B.\n injector.branchOutDependencyTree();\n\n // sort the services, based on dependency requirements\n injector.sortByDependencies();\n\n // instantiate services/clients and crash if any nil instances are detected\n injector.instantiateComponents();\n injector.crashOnNullInstances();\n\n // add the component instances to the ServiceContext\n injector.installServices(ctx);\n\n // instantiate clients\n //injector.instantiateClients();\n\n // invoke DepWire methods with required services & clients\n injector.findDepWireMethodsAndPopulate();\n }",
"@BeforeClass\n public static void beforeClass() {\n Assume.assumeTrue(LibvirtUtils.isAvailable() || CI.isCI() && !CI.isPublic());\n }",
"@Before\n public void setUp() {\n configuration.resolveAdditionalDependenciesFromClassPath(false);\n }",
"public void initFromClasspath() throws IOException {\n \t\tcontactNames = loadFromClassPath(\"contactNames\");\n \t\tgroupNames = loadFromClassPath(\"groupNames\");\n \t\tmessageWords = loadFromClassPath(\"messageWords\");\n \t}",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassFilter beforeFilter, ClassFilter afterFilter, ClassLoaderPolicy policy)\n {\n ParentPolicy parentPolicy = new ParentPolicy(beforeFilter, afterFilter);\n return initializeClassLoader(clazz, system, parentPolicy, policy);\n }",
"@Override\n\tpublic void setClassMissing() {\n\n\t}",
"private ClassLoader makeClassLoader() throws MojoExecutionException {\n final List<URL> urls = new ArrayList<URL>();\n try {\n for (String cp: project.getRuntimeClasspathElements()) {\n urls.add(new File(cp).toURI().toURL());\n }\n } catch (DependencyResolutionRequiredException e) {\n throw new MojoExecutionException(\"dependencies not resolved\", e);\n } catch (MalformedURLException e) {\n throw new MojoExecutionException(\"invalid classpath element\", e);\n }\n return new URLClassLoader(urls.toArray(new URL[urls.size()]),\n getClass().getClassLoader());\n }",
"private void enforceTransitiveClassUsage() {\n HashSet<String> tmp = new HashSet<String>(usedAppClasses);\n for(String className : tmp) {\n enforceTransitiveClassUsage(className);\n }\n }",
"private EagerInitializationSingleton() {\n\t}",
"@BeforeAll\n static void init() {\n }",
"public void loadClass(String name) throws InstantiationException, IllegalAccessException, ClassNotFoundException{\n\t\tSystem.out.println(\"Class object address \" + InspectClassLoader.class.hashCode());\n\t\tObject obj = getClass().getClassLoader().loadClass(\"InsideJVM.InspectClassLoader\").newInstance();\n\t\tSystem.out.println(\"Same class object: \" + (obj.getClass() == InspectClassLoader.class));\n\t\t\n\t\t// Class<?> object's class is ???\n\t\tClass<?> s = getClass().getClassLoader().loadClass(\"InsideJVM.InspectClassLoader\");\n\t\tSystem.out.println(s.getClass()); // output: java.land.Class\n\t\t\n\t\tSystem.out.println(\"class loader hashcode \" + getClass().getClassLoader().hashCode());\n\t}",
"public static void SelfCallForLoading() {\n\t}",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderSystem system, ClassLoaderPolicy policy, Set<String> parentPackages)\n {\n String[] parentPkgs = parentPackages.toArray(new String[parentPackages.size()]);\n return initializeClassLoader(clazz, system, policy, parentPkgs);\n }",
"@Override\n\tpublic boolean classIsMissing() {\n\t\treturn false;\n\t}",
"protected synchronized Class<?> loadClass(String paramString, boolean paramBoolean) throws ClassNotFoundException {\n/* 321 */ ReflectUtil.checkPackageAccess(paramString);\n/* 322 */ Class<?> clazz = findLoadedClass(paramString);\n/* 323 */ if (clazz == null) {\n/* */ try {\n/* 325 */ clazz = findClass(paramString);\n/* 326 */ } catch (ClassNotFoundException classNotFoundException) {}\n/* */ \n/* */ \n/* 329 */ if (clazz == null) {\n/* 330 */ clazz = getParent().loadClass(paramString);\n/* */ }\n/* */ } \n/* 333 */ if (paramBoolean) {\n/* 334 */ resolveClass(clazz);\n/* */ }\n/* 336 */ return clazz;\n/* */ }",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassFilter parentFilter, boolean importAll, Class<?>... packages)\n {\n MockClassLoaderPolicy policy = new MockClassLoaderPolicy();\n Set<Class<?>> classes = new HashSet<Class<?>>();\n classes.add(clazz);\n classes.addAll(Arrays.asList(packages));\n policy.setImportAll(importAll);\n policy.setPathsAndPackageNames(classes.toArray(new Class[classes.size()]));\n return initializeClassLoader(clazz, parentFilter, policy);\n }",
"void initClasses() {\n\t\tif (programUnit == null) return;\n\n\t\t// Add all classes\n\t\tList<BdsNode> cdecls = BdsNodeWalker.findNodes(programUnit, ClassDeclaration.class, true, true);\n\t\tfor (BdsNode n : cdecls) {\n\t\t\tClassDeclaration cd = (ClassDeclaration) n;\n\t\t\tbdsvm.addType(cd.getType());\n\t\t}\n\t}",
"@Test\n void constructorTest() {\n super.checkConstruction();\n }",
"private ClinicFileLoader() {\n\t}",
"private ClassLoader createBootClassLoader(ClassLoader hostClassLoader) throws MojoExecutionException {\n \n Set<URL> bootClassPath = artifactHelper.resolve(\"org.codehaus.fabric3\", \"fabric3-test-runtime\", runtimeVersion, Artifact.SCOPE_RUNTIME, \"jar\");\n return new URLClassLoader(bootClassPath.toArray(new URL[] {}), hostClassLoader);\n \n }",
"private static Class<?> loadClass(String className) {\n\t\tClass<?> theLogicClass = null;\n\t\ttry {\n\t\t\ttheLogicClass = ClassLoaderManager.getInstance().getLogicClassFromName(className);\n\t\t}\n\t\tcatch (Exception ex) {\n\t\t\tthrow new RuntimeException(\"Unable to load logic class: \" + className, ex);\n\t\t}\n\t\treturn theLogicClass;\n\t}",
"private Airbag safeInstantiateAirbag() {\n Airbag airbag;\n\n try { \n // Check if airbag module is available\n // It is not safe to instantiate or use a type from an optional module.\n airbag = new Airbag();\n }\n catch (NoClassDefFoundError exception) {\n // The airbag module is not available\n airbag = null;\n }\n\n return airbag;\n }",
"private InterpreterDependencyChecks() {\r\n\t\t// Hides default constructor\r\n\t}",
"private Mocks() { }",
"private EagerInitializedSingleton() {\n\t}",
"private EagerInitializedSingleton() {\n\t}",
"private void initialize() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00ee in method: android.location.GpsClock.initialize():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.location.GpsClock.initialize():void\");\n }",
"private RendererUtils() {\n throw new AssertionError(R.string.assertion_utility_class_never_instantiated);\n }",
"@Test\n public void testStaticFieldWithInitializationStaticClassKept() throws Exception {\n Class<?> mainClass = MainGetStaticFieldInitialized.class;\n String proguardConfiguration = keepMainProguardConfiguration(\n mainClass,\n ImmutableList.of(\n \"-keep class \" + getJavacGeneratedClassName(StaticFieldInitialized.class) + \" {\",\n \"}\"));\n runTest(\n mainClass,\n ImmutableList.of(mainClass, StaticFieldInitialized.class),\n proguardConfiguration,\n this::checkAllClassesPresentWithDefaultConstructor);\n }",
"@Test\n public void test01()\n {\n MetaClass.forClass(Class, reflectorFactory)\n }",
"@Test\n public void classInstantiated() {\n assertNotNull(radar);\n }",
"@Override\n public Class<?> findClass(String className) throws ClassNotFoundException {\n try {\n return super.findClass(className);\n } catch (ClassNotFoundException e) {\n if (fallbackClassLoader != null) {\n Throwable prob = null;\n try {\n return classForName(className, true, fallbackClassLoader);\n } catch (Exception e1) {\n prob = ClassUtil.getRootCause(e1);\n throw new ClassNotFoundException(prob.getMessage(), prob);\n }\n }\n throw e;\n }\n }",
"private static native void classInitNative();",
"private PropertiesLoader() {\r\n\t\t// not instantiable\r\n\t}",
"public Class<?> initializeClassLoader(Class<?> clazz, ClassLoaderPolicy policy)\n {\n ClassLoaderSystem system = new DefaultClassLoaderSystem();\n return initializeClassLoader(clazz, system, policy, getParentPackages());\n }",
"@Before\n @Override\n public void init() {\n }",
"private RubyClass defineClassIfAllowed(String name, RubyClass superClass) {\n if (superClass != null && profile.allowClass(name)) {\n return defineClass(name, superClass, superClass.getAllocator());\n }\n return null;\n }",
"static native void classInitNative();",
"public static void\ninitClass()\n//\n////////////////////////////////////////////////////////////////////////\n{\n}",
"public void testWovenClassListenerExceptionDoesNotCauseClassLoadToFail() throws Exception {\n\t\tfinal AtomicInteger integer = new AtomicInteger(0);\n\t\tServiceRegistration<WovenClassListener> reg = getContext().registerService(\n\t\t\t\tWovenClassListener.class, \n\t\t\t\tnew WovenClassListener() {\n\t\t\t\t\tpublic void modified(WovenClass wovenClass) {\n\t\t\t\t\t\tinteger.set(1);\n\t\t\t\t\t\tthrow new RuntimeException();\n\t\t\t\t\t}\n\t\t\t\t}, \n\t\t\t\tnull);\n\t\ttry {\n\t\t\tregisterAll();\n\t\t\ttry {\n\t\t\t\tClass<?> clazz = weavingClasses.loadClass(TEST_CLASS_NAME);\n\t\t\t\tassertEquals(\"Listener not called\", 1, integer.get());\n\t\t\t\tassertDefinedClass(listenerWovenClass, clazz);\n\t\t\t\tassertStates(WovenClass.TRANSFORMED, WovenClass.DEFINED);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tunregisterAll();\n\t\t\t}\n\t\t}\n\t\tfinally {\n\t\t\treg.unregister();\n\t\t}\n\t}",
"protected void initialize() {}",
"protected void initialize() {}",
"@Override\n protected synchronized Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {\n // First, check if the class has already been loaded\n Class<?> c = findLoadedClass(name);\n if (c == null) {\n try {\n\n // Next, try to resolve it from the mutated path. \n c = super.findClass(name);\n } catch (ClassNotFoundException e) {\n // And if all else fails delegate to the parent.\n c = super.loadClass(name, resolve);\n }\n }\n if (resolve) {\n resolveClass(c);\n }\n return c;\n }",
"protected Class loadClass(String type) {\n try {\n return getClass().getClassLoader().loadClass(type);\n }\n catch (ClassNotFoundException e) {\n try {\n return Thread.currentThread().getContextClassLoader().loadClass(type);\n }\n catch (ClassNotFoundException e2) {\n try {\n return Class.forName(type);\n }\n catch (ClassNotFoundException e3) {\n }\n }\n throw new GroovyRuntimeException(\"Could not load type: \" + type, e);\n }\n }",
"public void testClassAnnotation() {\r\n TestHelper.assertClassAnnotation(ConfluenceManagementServiceLocal.class, Local.class);\r\n }",
"@Before\n public void setup() {\n activity = Robolectric.setupActivity(MainActivity.class);\n }",
"@Test\n public void testGetClass() throws Exception {\n Class<?> mainClass = MainGetClassSubClass.class;\n runTest(\n mainClass,\n ImmutableList.of(mainClass, SuperClass.class, SubClass.class),\n // Prevent SuperClass from being merged into SubClass.\n keepMainProguardConfiguration(mainClass, ImmutableList.of(\"-keep class **.SuperClass\")),\n this::checkAllClassesPresentWithDefaultConstructor);\n }",
"protected abstract void init() throws Throwable;",
"public void scanClasspath() {\n List<String> classNames = new ArrayList<>(Collections.list(dexFile.entries()));\n\n ClassLoader classLoader = org.upacreekrobotics.dashboard.ClasspathScanner.class.getClassLoader();\n\n for (String className : classNames) {\n if (filter.shouldProcessClass(className)) {\n try {\n Class klass = Class.forName(className, false, classLoader);\n\n filter.processClass(klass);\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (NoClassDefFoundError e) {\n e.printStackTrace();\n }\n }\n }\n }",
"private static void load(){\n }"
] | [
"0.6180712",
"0.61462545",
"0.6140418",
"0.6022615",
"0.59579474",
"0.5900512",
"0.58959097",
"0.58945453",
"0.5824895",
"0.582271",
"0.5796489",
"0.5779136",
"0.5771272",
"0.5765138",
"0.57624763",
"0.56991315",
"0.56977594",
"0.5679559",
"0.5665065",
"0.5637627",
"0.56259996",
"0.56038624",
"0.55925345",
"0.55905575",
"0.5581553",
"0.5578745",
"0.5577072",
"0.5576352",
"0.5573095",
"0.55624056",
"0.55218047",
"0.5520608",
"0.5513214",
"0.5498404",
"0.54974604",
"0.54726505",
"0.54697585",
"0.54355055",
"0.54180115",
"0.5410363",
"0.5406444",
"0.54013354",
"0.53994966",
"0.5399176",
"0.53836435",
"0.5369123",
"0.5367172",
"0.53662616",
"0.53623974",
"0.5360052",
"0.534747",
"0.5339073",
"0.5336447",
"0.5334268",
"0.53319776",
"0.5328555",
"0.53269917",
"0.5321388",
"0.5311813",
"0.530805",
"0.5304383",
"0.5303549",
"0.5303011",
"0.5297517",
"0.52968556",
"0.5294624",
"0.52936125",
"0.52892727",
"0.52818936",
"0.5274999",
"0.52709377",
"0.52641946",
"0.5260407",
"0.525369",
"0.5249112",
"0.52484614",
"0.52484614",
"0.52420807",
"0.5237338",
"0.5232881",
"0.5229183",
"0.5227084",
"0.5221572",
"0.521428",
"0.52137804",
"0.5213777",
"0.52080685",
"0.5203009",
"0.5196933",
"0.5180089",
"0.5173397",
"0.51638854",
"0.51638854",
"0.516123",
"0.51576144",
"0.5154954",
"0.5149091",
"0.5143861",
"0.51405",
"0.5140065",
"0.5139734"
] | 0.0 | -1 |
Marshalls XML, minus the declaration/prologue | @Override
public Marshaller getMarshaller(JAXBContext jc) throws JAXBException {
Marshaller marshaller = jc.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);
return marshaller;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void dump( Result out ) throws JAXBException;",
"public Element marshall()\n {\n Element element = new Element(getQualifiedName(), Namespaces.NS_ATOM);\n if( type != null )\n {\n Attribute typeAttribute = new Attribute(\"type\", type.toString());\n element.addAttribute(typeAttribute);\n }\n \n if( content != null )\n\t {\n\t\t element.appendChild(content);\n\t }\n\t return element;\n }",
"int writeTo(OutputStream out, boolean withXmlDecl) throws IOException;",
"int writeTo(OutputStream out, boolean withXmlDecl, Charset enc) throws IOException;",
"public byte[] marshall();",
"private void marshallDocument(Virtualnetworkmanager root, PrintStream outputFile) throws JAXBException, SAXException {\n\t\t\n\t\t// Creating the JAXB context to perform a validation \n\t\tJAXBContext jc;\n\t\t// Creating an instance of the XML Schema \n\t\tSchema schema;\n\t\t\t\t\n\t\ttry {\n\t\t\tjc = JAXBContext.newInstance(PACKAGE);\n\t\t\tschema = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI).newSchema(new File(XSD_NAME));\n\t\t}\n\t\tcatch(IllegalArgumentException e) {\n\t\t\tSystem.err.println(\"Error! No implementation of the schema language is available\");\n\t\t\tthrow e;\n\t\t}\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.err.println(\"Error! The instance of the schema or the file of the schema is not well created!\\n\");\n\t\t\tthrow new SAXException(\"The schema file is null!\");\n\t\t}\n\t\t\n\t\t// Creating the XML document \t\t\n\t\tMarshaller m = jc.createMarshaller();\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\tm.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, XSD_LOCATION+\" \"+XSD_NAME);\n\t\tm.setSchema(schema);\n\t\tm.marshal(root, outputFile);\n\t\t\n\t}",
"Element toXML();",
"public abstract String toXML();",
"public abstract String toXML();",
"public abstract String toXML();",
"public abstract StringBuffer toXML ();",
"public abstract StringBuffer toXML();",
"public void marshal(org.xml.sax.ContentHandler handler)\r\n throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r\n {\r\n \r\n Marshaller.marshal(this, handler);\r\n }",
"public void marshal(org.xml.sax.ContentHandler handler)\r\n throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r\n {\r\n \r\n Marshaller.marshal(this, handler);\r\n }",
"public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException {\r\n/* 362 */ Marshaller.marshal(this, handler);\r\n/* */ }",
"@Override\n public void toXml(XmlContext xc) {\n\n }",
"public void marshal(org.xml.sax.ContentHandler handler)\n throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\n {\n \n Marshaller.marshal(this, handler);\n }",
"public void marshal(org.xml.sax.ContentHandler handler)\n throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\n {\n \n Marshaller.marshal(this, handler);\n }",
"public static String xmlMarshall(Object obj) throws Exception {\n\t\tStringWriter writer = null;\n\t\ttry {\n\t\t\tJAXBContext jaxbContext = JAXBContext.newInstance(obj.getClass());\n\t\t\tMarshaller marshaller = jaxbContext.createMarshaller();\n\t\t\twriter = new StringWriter();\n\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_ENCODING, \"UTF-8\");\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\t\tmarshaller.marshal(obj, writer);\n\t\t\tString result = writer.toString();\n\t\t\treturn result;\t\t\n\t\t}finally {\n\t\t\tif (writer != null)\n\t\t\t\twriter.close();\n\t\t}\t\t\n\t}",
"@Override\n\tpublic void startDocument() throws SAXException {\n\t\ttry {\n\t\t\treset();\n\n\t\t\tif (writeXmlDecl) {\n\t\t\t\tString e = \"\";\n\t\t\t\tif (encoding != null) {\n\t\t\t\t\te = \" encoding=\\\"\" + encoding + '\\\"';\n\t\t\t\t}\n\n\t\t\t\twriteXmlDecl(\"<?xml version=\\\"1.0\\\"\" + e + \" standalone=\\\"yes\\\"?>\");\n\t\t\t}\n\n\t\t\tif (header != null) {\n\t\t\t\twrite(header);\n\t\t\t}\n\n\t\t\tsuper.startDocument();\n\t\t} catch (IOException e) {\n\t\t\tthrow new SAXException(e);\n\t\t}\n\t}",
"public void transformToSecondXml();",
"public abstract OMElement serialize();",
"public void marshal(org.xml.sax.ContentHandler handler)\n throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {\n\n Marshaller.marshal(this, handler);\n }",
"public String getXML() //Perhaps make a version of this where the header DTD can be manually specified\n { //Also allow changing of generated tags to user specified values\n \n String xml = new String();\n xml= \"<?xml version = \\\"1.0\\\"?>\\n\";\n xml = xml + generateXML();\n return xml;\n }",
"public java.lang.String getXml();",
"public interface SSMLBytesStream {\n\t/**\n\t * Get the (default) encoding.\n\t * This is the default encoding for writeTo() methods (except the 3-parameters).\n\t * @return An explicit encoding for writeTo() methods\n\t * or <code>null</code> (=> use the machine default and no encoding in the xml declaration)\n\t */\n\tCharset getEncoding();\n\n\t/**\n\t * Write the SSML byte[]\n\t * with the <?xml ... ?> declaration\n\t * using the default encoding (if any).\n\t * @throws IOException\n\t * @return\tnumber of written bytes\n\t */\n\tint writeTo(OutputStream out) throws IOException;\n\n\t/**\n\t * A SSMLBytesStream with the possibility to manage the xml declaration and encoding. \n\t *\n\t */\n\tpublic interface SSMLBytesStreamPlus extends SSMLBytesStream {\n\n\t\t/**\n\t\t * Write the SSML byte[]\n\t\t * using a specific encoding.\n\t\t * @param withXmlDecl\tprepend the <?xml ... ?> declaration (with encoding).\n\t\t * @param enc\t(optional) explicit SSML encoding.\n\t\t * \tIf <code>null</code> the default machine encoding will be used.\n\t\t * @throws IOException\n\t\t * @return\tnumber of written bytes\n\t\t */\n\t\tint writeTo(OutputStream out, boolean withXmlDecl, Charset enc) throws IOException;\n\n\t\t/**\n\t\t * Write the SSML byte[]\n\t\t * using the default encoding (if any).\n\t\t * @param withXmlDecl\tprepend the <?xml ... ?> declaration (with encoding).\n\t\t * @throws IOException\n\t\t * @return\tnumber of written bytes\n\t\t */\n\t\tint writeTo(OutputStream out, boolean withXmlDecl) throws IOException;\n\t}\n\n}",
"public void dumpAsXmlFile(String pFileName);",
"@Override\n public void marshal(T object, XMLStreamWriter output,\n AttachmentMarshaller am) throws JAXBException {\n try {\n output.flush();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n SAX2StaxContentHandler handler = new SAX2StaxContentHandler(output);\n if (object instanceof DataObject) {\n serializeDataObject((DataObject) object, new SAXResult(handler),\n am);\n return;\n }\n\n try {\n String value = serializePrimitive(object, javaType);\n String prefix = output.getPrefix(xmlTag.getNamespaceURI());\n //TODO, this is a hack, seems to be wrong. why should namespace returned is \"\"?\n if (xmlTag.getNamespaceURI().equals(\"\")) {\n output.writeStartElement(\"\", xmlTag.getLocalPart(), xmlTag.getNamespaceURI());\n// } else if (prefix == null) {\n// output.writeStartElement(xmlTag.getNamespaceURI(), xmlTag.getLocalPart());\n } else {\n output.writeStartElement(prefix, xmlTag.getLocalPart(), xmlTag.getNamespaceURI());\n output.writeNamespace(prefix, xmlTag.getNamespaceURI());\n }\n output.writeCharacters(value);\n output.writeEndElement();\n } catch (XMLStreamException e) {\n throw new SDODatabindingException(e);\n }\n }",
"String toXML() throws RemoteException;",
"protected abstract ArrayList<Element> _toXml_();",
"public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException,\r\n\t\t\torg.exolab.castor.xml.ValidationException {\r\n\r\n\t\tMarshaller.marshal(this, handler);\r\n\t}",
"private Object addElement(XmlElement e, Method method, Object[] args) {\n/* 167 */ Class<?> rt = method.getReturnType();\n/* */ \n/* */ \n/* 170 */ String nsUri = \"##default\";\n/* 171 */ String localName = method.getName();\n/* */ \n/* 173 */ if (e != null) {\n/* */ \n/* 175 */ if (e.value().length() != 0)\n/* 176 */ localName = e.value(); \n/* 177 */ nsUri = e.ns();\n/* */ } \n/* */ \n/* 180 */ if (nsUri.equals(\"##default\")) {\n/* */ \n/* 182 */ Class<?> c = method.getDeclaringClass();\n/* 183 */ XmlElement ce = c.<XmlElement>getAnnotation(XmlElement.class);\n/* 184 */ if (ce != null) {\n/* 185 */ nsUri = ce.ns();\n/* */ }\n/* */ \n/* 188 */ if (nsUri.equals(\"##default\"))\n/* */ {\n/* 190 */ nsUri = getNamespace(c.getPackage());\n/* */ }\n/* */ } \n/* */ \n/* */ \n/* 195 */ if (rt == void.class) {\n/* */ \n/* */ \n/* 198 */ boolean isCDATA = (method.getAnnotation(XmlCDATA.class) != null);\n/* */ \n/* 200 */ StartTag st = new StartTag(this.document, nsUri, localName);\n/* 201 */ addChild(st);\n/* 202 */ for (Object arg : args) {\n/* */ Text text;\n/* 204 */ if (isCDATA) { text = new Cdata(this.document, st, arg); }\n/* 205 */ else { text = new Pcdata(this.document, st, arg); }\n/* 206 */ addChild(text);\n/* */ } \n/* 208 */ addChild(new EndTag());\n/* 209 */ return null;\n/* */ } \n/* 211 */ if (TypedXmlWriter.class.isAssignableFrom(rt))\n/* */ {\n/* 213 */ return _element(nsUri, localName, rt);\n/* */ }\n/* */ \n/* 216 */ throw new IllegalSignatureException(\"Illegal return type: \" + rt);\n/* */ }",
"void marshal(Object obj);",
"@Override\n\tpublic void marshal(Object arg0, HierarchicalStreamWriter arg1, MarshallingContext arg2) {\n\n\t}",
"public String\ttoXML()\t{\n\t\treturn toXML(0);\n\t}",
"protected abstract Element toXmlEx(Document doc);",
"public void marshal(java.nio.ByteBuffer buff) throws Exception\n{\n recordType.marshal(buff);\n changeIndicator.marshal(buff);\n entityType.marshal(buff);\n buff.putShort( (short)padding);\n buff.putInt( (int)padding1);\n}",
"public String toXML() {\n return null;\n }",
"private void do_marshal (MarshalWriter writer) {\n\n\t\t// Version\n\n\t\twriter.marshalInt (M_VERSION_NAME, MARSHAL_VER_1);\n\n\t\t// Contents\n\n\t\twriter.marshalLong (\"mode_timestamp\" , mode_timestamp + OFFSERL);\n\t\twriter.marshalInt (\"relay_mode\" , relay_mode );\n\t\twriter.marshalInt (\"configured_primary\", configured_primary);\n\n\t\treturn;\n\t}",
"public String toXML() {\n return null;\n }",
"Document toXml() throws ParserConfigurationException, TransformerException, IOException;",
"public Unknown2XML() {\n reflectUtil = new ReflectUtil();\n// mappers = new HashMap<Class<?>, XMLMapper>();\n }",
"public void xmlPresentation () {\n System.out.println ( \"****** XML Data Module ******\" );\n ArrayList<Book> bookArrayList = new ArrayList<Book>();\n Books books = new Books();\n books.setBooks(new ArrayList<Book>());\n\n bookArrayList = new Request().postRequestBook();\n\n for (Book aux: bookArrayList) {\n books.getBooks().add(aux);\n }\n\n try {\n javax.xml.bind.JAXBContext jaxbContext = JAXBContext.newInstance(Books.class);\n Marshaller jaxbMarshaller = jaxbContext.createMarshaller();\n\n jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\n jaxbMarshaller.marshal(books, System.out);\n } catch (JAXBException e) {\n System.out.println(\"Error: \"+ e);\n }\n ClientEntry.showMenu ( );\n }",
"private void testProXml(){\n\t}",
"public static void main(String[] args) throws JAXBException {\r\n User u = new User(\"a\", \"b\");\r\n System.out.printf(\"name:%s password:%s\\n\", u.name, u.password);\r\n String xml = serialization.Serializer.serialize(u);\r\n System.out.println(xml);\r\n u = serialization.Serializer.deSerialize(xml, User.class);\r\n System.out.printf(\"name:%s password:%s\\n\", u.name, u.password);\r\n }",
"public Object getPayload(JAXBContext context);",
"public void openXml() throws ParserConfigurationException, TransformerConfigurationException, SAXException {\n\n SAXTransformerFactory saxTransformerFactory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();\n transformer = saxTransformerFactory.newTransformerHandler();\n\n // pretty XML output\n Transformer serializer = transformer.getTransformer();\n serializer.setOutputProperty(\"{http://xml.apache.org/xslt}indent-amount\", \"4\");\n serializer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n transformer.setResult(result);\n transformer.startDocument();\n transformer.startElement(null, null, \"inserts\", null);\n }",
"private XmlHelper() {}",
"@Override\n public void addXmlFragments(Map<ElementKind, Map<String, String>> fragments) {\n }",
"public void restoreFromXml(Element root) {\n\t\t//do nothing\n\t}",
"public static String toXml(Object root, Class clazz, String encoding, boolean isNeedFragment) {\n String retXML = \"\";\n try {\n StringWriter writer = new StringWriter();\n createMarshaller(clazz, encoding, isNeedFragment).marshal(root, writer);\n retXML = writer.toString().replace(\"\\n\", \"\");\n retXML = retXML.replace(\"<resData/>\", \"<resData></resData>\");\n retXML = retXML.replace(\"<resDatas/>\", \"<resDatas></resDatas>\");\n return retXML;\n } catch (JAXBException e) {\n throw Exceptions.unchecked(e);\n }\n }",
"public String getXML() {\n\t\tString xml = \"\";\n\t\ttry {\n\t\t\tJAXBContext jc = JAXBContext.newInstance( VolumeRs.class );\n\t\t\tMarshaller m = jc.createMarshaller();\n\t\t\tStringWriter stringWriter = new StringWriter();\n\t\t\tm.marshal(this, stringWriter);\n\t\t\txml = stringWriter.toString();\n\t\t} catch (JAXBException ex) {}\n\t\treturn xml;\n\t}",
"@Override\n public void unpackMarkup(Document doc) throws DocumentFormatException {\n unpackMarkup(doc, (RepositioningInfo)null, (RepositioningInfo)null);\n }",
"public void marshal(java.io.Writer out)\r\n throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r\n {\r\n \r\n Marshaller.marshal(this, out);\r\n }",
"public void marshal(java.io.Writer out)\r\n throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r\n {\r\n \r\n Marshaller.marshal(this, out);\r\n }",
"public void serialize(boolean startDocument) throws RepositoryException, SAXException {\r\n // start document and declare namespaces\r\n \tif (startDocument){\r\n \t\tcontentHandler.startDocument();\r\n \t}\r\n\r\n contentHandler.startElement(\"\", \"\", ROOT_ELEMENT, new AttributesImpl()); \r\n // serialize node and subtree\r\n process(node, 0);\r\n \r\n contentHandler.endElement(\"\", \"\", ROOT_ELEMENT);\r\n if (startDocument){\r\n \tcontentHandler.endDocument();\r\n }\r\n }",
"@Override\n void pack() {\n }",
"public void marshal(Writer out) throws MarshalException, ValidationException {\r\n/* 345 */ Marshaller.marshal(this, out);\r\n/* */ }",
"public AnXmlTransform() {\n super();\n }",
"private Marshaller initJaxbMarshaller() {\n\t\tMarshaller jaxbMarshaller = null;\n\t\ttry {\n\t\t\tjaxbMarshaller = jaxbContext.createMarshaller();\n\t\t\tjaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\t\tjaxbMarshaller.setProperty(Marshaller.JAXB_ENCODING, StandardCharsets.UTF_8.name());\n\t\t\tjaxbMarshaller.setProperty(ENCODING_HANDLER, new JaxbCharacterEscapeEncoder());\n\t\t} catch (JAXBException e) {\n\t\t\tthrow new ResultCodeException(CoreResultCode.XML_JAXB_INIT_ERROR, e);\n\t\t}\n\t\treturn jaxbMarshaller;\n\t}",
"abstract void toXML(StringBuilder xml, int level);",
"public String exportXML() {\n\n\t\tXStream xstream = new XStream();\n\t\txstream.setMode(XStream.NO_REFERENCES);\n\n\t\treturn xstream.toXML(this);\n\t}",
"protected void toXMLImpl(XMLStreamWriter out) throws XMLStreamException {\n super.toXML(out, getXMLElementTagName());\n }",
"public final OnTheWire marshal(InMemory onTheWire) {\n return null;\n }",
"@Override\r\n\tpublic String marshalSC(E19 cs) throws JAXBException {\n\t\t\r\n\r\n\t\tJAXBElement<E19> element = scFactory.createE23(cs);\r\n\t\tStringWriter sw = new StringWriter();\r\n\t\tscMarshaller.marshal(element, sw);\r\n\t\tString xml = sw.toString();\r\n\t\treturn xml;\r\n\t}",
"public static String toXml(@SuppressWarnings(\"rawtypes\") Class jaxbClass, Object element) throws JAXBException {\n\t\tMarshaller marshaller = JAXBContext.newInstance(jaxbClass).createMarshaller();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\n\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tmarshaller.marshal(element, baos);\n\t\treturn baos.toString();\n\t}",
"public void marshal(java.io.Writer out)\n throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\n {\n \n Marshaller.marshal(this, out);\n }",
"public void marshal(java.io.Writer out)\n throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\n {\n \n Marshaller.marshal(this, out);\n }",
"public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}",
"public String toXML()\n\t{\n\t\treturn toXML(0);\n\t}",
"@Override\n public void writeStartDocument()\n throws XMLStreamException\n {\n if (mEncoding == null) {\n mEncoding = WstxOutputProperties.DEFAULT_OUTPUT_ENCODING;\n }\n writeStartDocument(mEncoding, WstxOutputProperties.DEFAULT_XML_VERSION);\n }",
"@Override\n\tpublic void restoreDataStateFromXml(Element root) {\n\t\t//do nothing\n\t}",
"public interface IUtlXml {\n\n /**\n * <p>Escape XML for given string.</p>\n * @param pSource source\n * @return escaped string\n * @throws Exception - an exception\n **/\n String escStr(String pSource) throws Exception;\n\n /**\n * <p>Escape XML for given char.</p>\n * @param pChar char\n * @return escaped string\n * @throws Exception - an exception\n **/\n String escChr(char pChar) throws Exception;\n\n /**\n * <p>Unescape XML for given string.</p>\n * @param pSource source\n * @return unescaped string\n * @throws Exception - an exception\n **/\n String unescStr(String pSource) throws Exception;\n\n /**\n * <p>\n * Unescape XML for given string.\n * </p>\n * @param pEscaped Escaped\n * @return unescaped char\n * @throws Exception - an exception\n **/\n char unescChr(String pEscaped) throws Exception;\n\n /**\n * <p>Read attributes from stream. Start the XML element\n * must be read out.</p>\n * @param pReader reader.\n * @param pRqVs request scoped vars\n * @return attributes map\n * @throws Exception - an exception\n **/\n Map<String, String> readAttrs(Map<String, Object> pRqVs,\n Reader pReader) throws Exception;\n\n\n /**\n * <p>Read stream until start given element e.g. <message.</p>\n * @param pReader reader.\n * @param pElement element\n * @return true if start element is happen, false if end of stream\n * @throws Exception - an exception\n **/\n boolean readUntilStart(Reader pReader,\n String pElement) throws Exception;\n}",
"protected void toXMLImpl(XMLStreamWriter out) throws XMLStreamException {\n // Start element:\n out.writeStartElement(getXMLElementTagName());\n\n out.writeAttribute(\"id\", getId());\n out.writeAttribute(\"accelerator\", getKeyStrokeText(getAccelerator()));\n\n out.writeEndElement();\n }",
"@Override\n\tpublic void write() {\n\t\tSystem.out.println(\"使用xml方式存储\");\n\t}",
"protected String toXMLFragment() {\n StringBuffer xml = new StringBuffer();\n if (isSetStepConfig()) {\n StepConfig stepConfig = getStepConfig();\n xml.append(\"<StepConfig>\");\n xml.append(stepConfig.toXMLFragment());\n xml.append(\"</StepConfig>\");\n } \n if (isSetExecutionStatusDetail()) {\n StepExecutionStatusDetail executionStatusDetail = getExecutionStatusDetail();\n xml.append(\"<ExecutionStatusDetail>\");\n xml.append(executionStatusDetail.toXMLFragment());\n xml.append(\"</ExecutionStatusDetail>\");\n } \n return xml.toString();\n }",
"@Override\r\n\t\t\tpublic void serializar() {\n\r\n\t\t\t}",
"public String xmlInflater(String SAMLRequest) {\n //base64 decode to deflated xml file string\n\n byte[] decoded = Base64.getDecoder().decode(SAMLRequest.getBytes());\n String inflated = new String(decoded, Charset.forName(\"UTF-8\"));\n //System.out.println(new String(decoded, StandardCharsets.UTF_8));\n //inflate(uncompress) the deflated xml data\n /* Inflater decompresser = new Inflater();\n decompresser.setInput(decoded);\n ByteArrayOutputStream outputStream = new ByteArrayOutputStream(decoded.length);\n byte[] buffer = new byte[4096];\n // while (!decompresser.finished()) {\n String inflated = \"\"; */\n /* try{\n /* int bufferLen = decompresser.inflate(buffer);\n System.out.println(\"Inflater inflate\");\n if(!decompresser.finished()){\n throw new RuntimeException(\"didn't allocate enough space to hold decompressed data\");\n }\n decompresser.end();\n inflated = new String(buffer, 0, bufferLen, \"UTF-8\");*//*\n while(!decompresser.finished()){\n int count = decompresser.inflate(buffer);\n outputStream.write(buffer, 0, count);\n }\n outputStream.close();\n byte[] output = outputStream.toByteArray();\n System.out.println(\"output\");\n\n }catch (DataFormatException e){\n Log.debug(\"dataformat exception\");\n } */\n return inflated;\n }",
"public void marshal(java.io.Writer out)\n throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {\n\n Marshaller.marshal(this, out);\n }",
"public void setMarshaller(Marshaller marshaller)\n {\n }",
"public void setPayload(Object payload, JAXBContext context);",
"protected static byte[] convertObjectToXML(TemplateContent xmlContent){\n\n\t\tLOG.debug(\"Entering convertObjectToXML()\" );\n\t\t\n\t\tByteArrayOutputStream resultOut = new ByteArrayOutputStream();\n\n\t\t\t\n\t JAXBContext context;\n\t\tMarshaller marshaller;\n\t\ttry {\n\n\t\t\tcontext = JAXBContext.newInstance(xmlContent.getClass());\n\t\t\tmarshaller = context.createMarshaller();\n\t\t\tLOG.debug(\" marshaller was created \" );\n\t\t\t\n\t\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\t\tmarshaller.marshal(xmlContent, resultOut);\n\n\t\t\t\t\n\t\t\tif(resultOut == null ){\n\t\t\t\tString message = (\"Error marshalling TemplateContent to XML. Marshall result was null.\");\n\t\t\t\tLOG.error(message);\n\t\t\t\tthrow new RuntimeException(message);\n\t\t\t}\n\n\t\t\tLOG.debug(\" marshall complete, returning XML as byte array. \" );\n\t\t return resultOut.toByteArray();\n\n\t\t} catch (JAXBException e) {\n\t\t\tString message = (\"Error marshalling TemplateContent to XML. JAXB exception while creating XML for message content. \");\n\t\t\tLOG.error(message);\n\t\t\tthrow new RuntimeException(message, e);\n\t\t}\n\t}",
"@Override\r\n\tpublic void serializar() {\n\r\n\t}",
"public String doneXML() {\n if ( (MyLocation != null) && (MyName != null)) {\n return null;\n }\n return new String(\"Incomplete \" + XML_TAG + \" XML specification\");\n }",
"@Override\n\tpublic void cdata() {\n\t\t\n\t}",
"public static void main(String[] args) throws Exception {\n JAXBContext jc = JAXBContext.newInstance(\"example.java.xml.parser.jaxb.rootelement\");\n Marshaller marshaller = jc.createMarshaller();\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n \n // Create Domain Objects\n AddressType billingAddress = new AddressType();\n billingAddress.setStreet(\"1 Any Street\");\n Customer customer = new Customer();\n customer.setBillingAddress(billingAddress);\n \n // Marshal Customer\n marshaller.marshal(customer, System.out);\n \n // Marshal Billing Address\n ObjectFactory objectFactory = new ObjectFactory();\n JAXBElement<AddressType> je = objectFactory.createBillingAddress(billingAddress);\n marshaller.marshal(je, System.out);\n }",
"private boolean isPlainXml(byte[] bytes) {\n return !substring(bytes, ZIP_MAGIC.length()).equals(ZIP_MAGIC) &&\n (substring(bytes, XML_MAGIC.length()).equals(XML_MAGIC) ||\n substring(bytes, APP_MAGIC_DEPTH).contains(APP_MAGIC));\n }",
"public String marshal (Object obj) throws Exception {\n Class thisClass = obj.getClass();\n XmlDescriptor desc = (XmlDescriptor)classList.get(thisClass.getName());\n if (desc == null) {\n\t\t\t//Debugger.trace (\"Class \" + thisClass.getName () + \" not found..\"\n\t\t\t//\t\t\t\t, Debugger.SHORT);\n return reflectMarshal (obj); // if no descriptor class - try to use relection to marshal.\n\t\t}\n return this.marshal(obj, new MarshalContext (outFormat), desc.xmlName);\n }",
"@Override\n\tpublic CharSequence toXML() {\n\t\treturn null;\n\t}",
"public String toXml() {\n\t\treturn(toString());\n\t}",
"public byte[] getAsBytes (Properties p) {\r\n\r\n //code description\r\n\t \r\n\tif (this.document == null) return null;\r\n\ttry {\r\n\t\tByteArrayOutputStream out = new ByteArrayOutputStream();\t \t \r\n\t Transformer t = TransformerFactory.newInstance().newTransformer();\r\n\t t.setOutputProperties(p);\r\n\t t.transform(new DOMSource(this.document), new StreamResult(out));\r\n\t return out.toByteArray();\r\n\t}\r\n\tcatch (Exception err) {\r\n\t\tTemplateLogger.getLogger().error(\"XML Data - cannot write XMLData instance to byte array.\", err);\r\n\t}\r\n return null;\r\n\r\n }",
"public XMLEncoder xmlEncoder(OutputStream out) {\n return configure(new XMLEncoder(out));\n }",
"protected void toXMLImpl(XMLStreamWriter out) throws XMLStreamException {\n toXML(out, getXMLElementTagName());\n }",
"protected abstract void toXml(PrintWriter result);",
"public void Marshal(String filepath,Player player) throws JAXBException, FileNotFoundException {\n System.out.println(player);\n Marshaller marshaller = jaxbContext.createMarshaller();\n\n // enable pretty-print XML output\n marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n marshaller.marshal(player, new FileOutputStream(\"player.xml\"));\n System.out.println(\"File was marshalled\");\n\n }",
"public String toXML(String indent, String namespace) {\n // if ( m_content != null && m_content.length() > 0 ) {\n // StringBuffer result = new StringBuffer( m_content.length() + 16 );\n // result.append( \"<text>\"). append( quote(this.m_content,false) ).append(\"</text>\");\n // return result.toString();\n // } else {\n // return empty_element;\n // }\n if (this.m_content != null) {\n return new String(quote(this.m_content, false));\n } else {\n return new String();\n }\n }",
"private void toXMLTag(StringBuffer buffer, int level) {\n\t\tindent(buffer,level).append('<').append(name);\n\n\t\tif(attributes!=null && attributes.getLength()>0)\n\t\t\tbuffer.append(' ').append(attributes.toString());\n\n\t\tif(children.size()>0) {\n\t\t\tbuffer.append(\">\\n\");\n\t\t\tfor(int i=0; i<children.size(); i++)\n\t\t\t\t((WSLNode)children.elementAt(i)).toXMLTag(buffer, level+1);\n\t\t\tindent(buffer,level).append(\"</\").append(name).append(\">\\n\");\n\t\t} else buffer.append(\" />\\n\");\n\t}",
"void toXml(OutputStream out, boolean format) throws IOException;",
"@Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(name);\n dest.writeString(namespace);\n dest.writeString(via);\n dest.writeInt(attributes.size());\n for (Attribute attribute: attributes) {\n dest.writeString(attribute.getName());\n dest.writeString(attribute.getNamespace());\n dest.writeString(attribute.getValue());\n }\n dest.writeString(xml);\n }",
"@Override\n public void parseXml(Element ele, LoadContext lc) {\n\n }"
] | [
"0.58157295",
"0.5738757",
"0.5561218",
"0.55270857",
"0.548592",
"0.54266",
"0.54159915",
"0.5362731",
"0.5362731",
"0.5362731",
"0.52921486",
"0.5284727",
"0.5260415",
"0.5260415",
"0.5255051",
"0.52191377",
"0.5202254",
"0.5202254",
"0.5196226",
"0.51947135",
"0.5185745",
"0.51597834",
"0.5158602",
"0.5099801",
"0.5090868",
"0.5090037",
"0.5062284",
"0.50620854",
"0.5053262",
"0.503719",
"0.50140536",
"0.49859157",
"0.49634504",
"0.4940007",
"0.4924087",
"0.49217117",
"0.489756",
"0.48896524",
"0.48764917",
"0.4873756",
"0.48579225",
"0.48574805",
"0.48431098",
"0.4842189",
"0.4826592",
"0.48245174",
"0.48199636",
"0.48140416",
"0.48114488",
"0.48048905",
"0.4800084",
"0.47919098",
"0.47801888",
"0.47800532",
"0.47800532",
"0.4768851",
"0.47679225",
"0.47472534",
"0.4723801",
"0.47172117",
"0.47144753",
"0.4711136",
"0.4709405",
"0.47013733",
"0.47001982",
"0.46946982",
"0.46865612",
"0.46865612",
"0.46711284",
"0.46711284",
"0.46698016",
"0.46665114",
"0.46621415",
"0.4642762",
"0.46310157",
"0.462511",
"0.46042594",
"0.4603527",
"0.46017537",
"0.45975092",
"0.45887476",
"0.45732307",
"0.45688236",
"0.45658565",
"0.45643285",
"0.45631272",
"0.4554016",
"0.45455503",
"0.45325476",
"0.45309663",
"0.45305094",
"0.4529406",
"0.45268437",
"0.4526378",
"0.4519454",
"0.45155805",
"0.45145813",
"0.45132005",
"0.45119047",
"0.45116708"
] | 0.5212104 | 16 |
BloodTest constructor with no args This sets default values if none are passed in | public BloodTest() {
setRedCellCount(0);
setWhiteCellCount(0);
setPlateletCount(0);
setPatient(new Patient());
setTestDate(LocalDate.now());
setId(0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BloodType(){\r\n\r\n }",
"public BloodTest(int redCellCount, int whiteCellCount, int plateletCount, Patient patient, LocalDate testDate, int id) {\n this.redCellCount = redCellCount;\n this.whiteCellCount = whiteCellCount;\n this.plateletCount = plateletCount;\n this.patient = patient;\n this.testDate = testDate;\n this.id = id;\n }",
"public BloodType(String name){\r\n bloodType=name;\r\n }",
"public Guppy() {\n this(DEFAULT_GENUS, DEFAULT_SPECIES, 0, true, 0,\n DEFAULT_HEALTH_COEFFICIENT);\n }",
"public Blacksmith(){\n\t\t\n\t}",
"public Boat() {\n }",
"public ClimbingClubTest()\n {\n \n }",
"public MyPractice()\n\t{\n\t\t//Unless we specify values all data members\n\t\t//are a zero, false, or null\n\t}",
"public BSTTreeBlueJTest()\n {\n }",
"public Gov() {\n }",
"public Monster() {\r\n\t\tthis(\"Blabberghast\", MIN_MONSTER_HEALTH);\r\n\t}",
"public BuddyInfo() {\n this(\"\", \"\", \"123-456-7890\");\n }",
"@Test\n public void goalEmptyConstructorCustomSetters_isCorrect() throws Exception {\n\n int goalId = 12135;\n int userId = 1152;\n String name = \"Test Name\";\n int timePeriod = 1;\n int unit = 2;\n double amount = 1000.52;\n\n //Create goal\n Goal goal = new Goal();\n\n goal.setGoalId(goalId);\n goal.setUserId(userId);\n goal.setGoalName(name);\n goal.setTimePeriod(timePeriod);\n goal.setUnit(unit);\n goal.setAmount(amount);\n\n // Verify Values\n assertEquals(goalId, goal.getGoalId());\n assertEquals(userId, goal.getUserId());\n assertEquals(name, goal.getGoalName());\n assertEquals(timePeriod, goal.getTimePeriod());\n assertEquals(unit, goal.getUnit());\n assertEquals(amount, goal.getAmount(),0);\n }",
"public BirdFoodTest()\r\n {\r\n }",
"public BabbleValue() {}",
"public BLabel()\n {\n this((String) null, WEST);\n }",
"public BloodDonner() {\n initComponents();\n showProfile();\n }",
"@Test\n public void goalCustomConstructor_isCorrect() throws Exception {\n\n int goalId = 11;\n int userId = 1152;\n String name = \"Test Name\";\n int timePeriod = 1;\n int unit = 2;\n double amount = 1000.52;\n\n\n //Create goal\n Goal goal = new Goal(goalId, userId, name, timePeriod, unit, amount);\n\n // Verify Values\n assertEquals(goalId, goal.getGoalId());\n assertEquals(userId, goal.getUserId());\n assertEquals(name, goal.getGoalName());\n assertEquals(timePeriod, goal.getTimePeriod());\n assertEquals(unit, goal.getUnit());\n assertEquals(amount, goal.getAmount(),0);\n }",
"public GantBuilder ( ) { }",
"public RedGiant(){\r\n\t\tthis(\"\",0,0);\r\n\t}",
"FloodItWorld() {\r\n this.board = new ArrayList<ACell>();\r\n this.currTurn = 0;\r\n this.maxTurn = Cnst.maxTurns;\r\n this.rand = new Random();\r\n this.loc = new ArrayList<Color>();\r\n this.blocks = Cnst.blocks;\r\n this.colors = Cnst.numOfColors;\r\n this.worklist = new ArrayList<ACell>();\r\n }",
"public void emptyConstructorTest() throws AssertException\n {\n // Use the default constructor\n Zoo animal = new Zoo(0);\n\n // The name should be \"noname\", color \"unknown\", height and weight 0.\n Assert.assertEquals(0, animal.getCapacity());\n Assert.assertEquals(0, animal.getAverageWeight());\n Assert.assertEquals(0, animal.getAverageWeight(\"Red\"));\n Assert.assertEquals(0.0, animal.getTotalHeight());\n }",
"public BaseballCard(){\r\n\r\n\t}",
"public TestPawn(){\n }",
"protected Betaling()\r\n\t{\r\n\t\t\r\n\t}",
"protected TestBench() {}",
"public Bombas(int x,int y) {\n \tsuper(x,y);\n }",
"public Genetic() {\r\n }",
"public Tester()\n {\n // initialise instance variables\n x = 0;\n }",
"BruceScore() {}",
"public BankAccount() {\n this(12346, 5.00, \"Default Name\", \"Default Address\", \"default phone\");\n }",
"@Test public void setTest() throws NegativeValueException {\n PetBunny pb1 = new PetBunny(\"Floppy\", \"Holland Lop\", 3.5);\n \n pb1.setName(\"Flop\");\n pb1.setBreed(\"Other\");\n pb1.setWeight(5.0); \n \n Assert.assertEquals(\"Flop\", pb1.getName());\n Assert.assertEquals(\"Other\", pb1.getBreed());\n Assert.assertEquals(5.0, pb1.getWeight(), 0.00001);\n }",
"public Animal()\n\t{\t\n\t\tgender = rng.nextBoolean();\n\t\tstrength = rng.nextFloat() * 100;\n\t}",
"@Test\n @DisplayName(\"Testing constructor default\")\n public void testConstructorDefault(){\n assertEquals(BlackoutException.ERROR_MESSAGE, blackoutDefault.getMessage());\n }",
"public Beacon() {\n method = AnalysisMethod.DEFAULT;\n }",
"public Ninja(int x, int y)\r\n {\r\n super(x, y, 5);\r\n }",
"void testFloodInitStarter(Tester t) {\r\n initData();\r\n Cell topLeft = (Cell) this.game7.indexHelp(0, 0);\r\n Cell topRight = (Cell) this.game7.indexHelp(1, 0);\r\n Cell botLeft = (Cell) this.game7.indexHelp(0, 1);\r\n Cell botRight = (Cell) this.game7.indexHelp(1, 1);\r\n t.checkExpect(topLeft.flooded, true);\r\n t.checkExpect(topRight.flooded, false);\r\n t.checkExpect(botLeft.flooded, false);\r\n t.checkExpect(botRight.flooded, false);\r\n\r\n topLeft.floodInitStarter();\r\n t.checkExpect(topLeft.flooded, true);\r\n t.checkExpect(topRight.flooded, true);\r\n t.checkExpect(botLeft.flooded, false);\r\n t.checkExpect(botRight.flooded, true);\r\n }",
"public TennisCoach () {\n\t\tSystem.out.println(\">> inside default constructor.\");\n\t}",
"public Heuristic() {\n this(HeuristicUtils.defaultValues);\n }",
"public Test05() {\n this(0);\n n2 = \"n2\";\n n4 = \"n4\";\n }",
"public TennisCoach() {\r\n\t\t// just to check whether it is called or not(just for own debugging)\r\n\t\tSystem.out.println(\">> TennisCoach: inside default constructor\");\r\n\t}",
"@Test\n public void constructorDefault() {\n final CourseType courseType = new CourseType();\n\n assertNull(courseType.getId());\n assertNull(courseType.getName());\n assertNull(courseType.getPicture());\n assertNull(courseType.getPosition());\n assertNull(courseType.getStatus());\n assertNull(courseType.getCourses());\n assertNull(courseType.getAllowedDishes());\n }",
"public Candy() {\n\t\tthis(\"\");\n\t}",
"@Test\n\tpublic void testDefaultConstructor() {\n\t\tassertThat(\"Expect not null.\", testling, is(notNullValue()));\n\t}",
"Boat(String name)\n {\n this.name = name;\n speed = 0;\n sail = true;\n }",
"public FruitStand() {}",
"public GdGame()\n\t{\n\t\tthis(100);\t\t\n\t}",
"public Mueble() {\n }",
"public HawthornWandBehaviorTest() {\n \n }",
"@Override\n\tpublic void initialize(IsValidHobby arg0) {\n\t\t\n\t}",
"public God() {}",
"public Fox() {\n super(randomAge(MAX_AGE), randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);\n constructor();\n }",
"public Bathroom(int size) {\n this.size = size;\n myBathtub = new Bathtub(100); //instantiate bathtub object during Bathroom object creation\n }",
"public Battle(){\r\n\t\t\r\n\t}",
"public void setBloodType(BloodType b) {\n\t\tbloodType = b;\n\t}",
"public AcuityTest() {\r\n }",
"@Test\n public void testDefaultConstructor() {\n assertThat(\"Expect not null.\", testling, is(notNullValue()));\n }",
"public BFUnit(){\n \n }",
"public static void selfTest()\n {\n\t\tBoatGrader b = new BoatGrader();\n\t\t \n\t\tSystem.out.println(\"\\n ***Testing Boats with only 2 children***\");\n\t\tbegin(0, 2, b);\n\t\t \n\t\t// System.out.println(\"\\n ***Testing Boats with 2 children, 1 adult***\");\n\t\t// \t begin(1, 2, b);\n\t\t \n\t\t// System.out.println(\"\\n ***Testing Boats with 3 children, 3 adults***\");\n\t\t// begin(3, 3, b);\n }",
"public BeanGame () {\n\t}",
"public BookcaseTest () {\n }",
"public C05_BMI() {\n\t\t\n\t}",
"public BasicSpecies() {\r\n\r\n\t}",
"public Bank(){\n this(\"Seneca@York\", 0);\n }",
"public Bout()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1); \n CreaBoutique();\n\n }",
"public Bicycle() {\n // You can also call another constructor:\n // this(1, 50, 5, \"Bontrager\");\n System.out.println(\"Bicycle.Bicycle- no arguments\");\n gear = 1;\n cadence = 50;\n speed = 5;\n name = \"Bontrager\";\n }",
"@Test\n public void goalEmptyConstructor_isCorrect() throws Exception {\n\n //Create empty goal\n Goal goal = new Goal();\n\n // Verify Values\n assertEquals(-1, goal.getGoalId());\n assertEquals(-1, goal.getUserId());\n assertEquals(\"\", goal.getGoalName());\n assertEquals(-1, goal.getTimePeriod());\n assertEquals(-1, goal.getUnit());\n assertEquals(-1.00, goal.getAmount(),0);\n }",
"public Breadfruit() {\r\n super(sciPlantName, commonPlantName, hiPlantName, \"\",\r\n origin, status, plantForm, plantSize,\r\n Evergreen.getMinHeightFromSize(plantSize),\r\n Evergreen.getMaxHeightFromSize(plantSize),\r\n Evergreen.getMinWidthFromSize(plantSize),\r\n Evergreen.getMaxWidthFromSize(plantSize),\r\n latitude, longitude);\r\n }",
"public HotelBookingTest() {\r\n\t\tsuper();\r\n\t}",
"public GchCarLifeBbs() {\n this(\"gch_car_life_bbs\", null);\n }",
"@Test\r\n\tpublic void constructorTest() \r\n\t{\r\n\t\tassertEquals(0, scoreBehavior.score());\r\n\t}",
"public TestUser() {//NOPMD\n }",
"public AllLaboTest() {\n }",
"@Test\n\tpublic void constructorTest() throws PassengerException{\n\t\tFirst myPassenger = new First(10,100);\n\t\tassertNotNull(myPassenger);\n\t}",
"public JumbleBoard()\n {\n }",
"public GameOfLifeTest()\n {\n }",
"public void testCtor2() {\r\n try {\r\n new BloomFilter(Integer.MAX_VALUE, new DefaultHashFunctionFamily(10000));\r\n fail(\"The length of bitset is too large.\");\r\n } catch(IllegalArgumentException e) {\r\n //good\r\n }\r\n }",
"public AcceptanceTestRun() {\n }",
"private Default()\n {}",
"public RookTest()\r\n {\r\n }",
"public HockeyTeamTest()\n {\n }",
"void DefaultConstructor(){}",
"@Test\n public void testConstructorInvalidInputs() {\n try {\n Rectangle r5 = new Rectangle(-7, 4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r6 = new Rectangle(7, -4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r7 = new Rectangle(7, 4, null, new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r8 = new Rectangle(7, 4, new Color(255, 0, 0), null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r9 = new Rectangle(-7, 4, null, null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n }",
"public WorldGenGrassUnderbean()\n {\n }",
"public Knights()\r\n\t{\r\n\t\tsuper(Settings.COST_PRODUCTION_KNIGHT, Settings.TIME_COST_KNIGHT, \r\n\t\t\t\tSettings.SPEED_KNIGHT, Settings.DAMMAGES_KNIGHT, Settings.DAMMAGES_KNIGHT);\r\n\t}",
"@Test public void getTest() throws NegativeValueException {\n \n PetBunny pb1 = new PetBunny(\"Floppy\", \"Holland Lop\", 3.5); \n \n Assert.assertEquals(\"Floppy\", pb1.getName());\n Assert.assertEquals(\"Holland Lop\", pb1.getBreed());\n Assert.assertEquals(3.5, pb1.getWeight(), 0.00001);\n }",
"public void initDefaultValues(SurgicalPathologyReport t)\r\n\t{\n\r\n\t}",
"@Test\n public void billCustomConstructor_isCorrect() throws Exception {\n\n int billId = 100;\n String billName = \"test Bill\";\n int userId = 101;\n int accountId = 202;\n double billAmount = 300.25;\n String dueDate = \"02/02/2018\";\n int occurrenceRte = 1;\n\n //Create empty bill\n Bill bill = new Bill(billId,userId,accountId,billName,billAmount,dueDate,occurrenceRte);\n\n // Verify Values\n assertEquals(billId, bill.getBillId());\n assertEquals(billName, bill.getBillName());\n assertEquals(userId, bill.getUserId());\n assertEquals(accountId, bill.getAccountId());\n assertEquals(billAmount, bill.getBillAmount(), 0);\n assertEquals(dueDate, bill.getDueDate());\n assertEquals(occurrenceRte, bill.getOccurrenceRte());\n }",
"public Monster() {\n\t\t\n\t}",
"@Test\n public void billEmptyConstructorCustomSetters_isCorrect() throws Exception {\n\n int billId = 100;\n String billName = \"test Bill\";\n int userId = 101;\n int accountId = 202;\n double billAmount = 300.25;\n String dueDate = \"02/02/2018\";\n int occurrenceRte = 1;\n\n //Create empty bill\n Bill bill = new Bill();\n\n //Set the values\n bill.setBillId(billId);\n bill.setBillName(billName);\n bill.setUserId(userId);\n bill.setAccountId(accountId);\n bill.setBillAmount(billAmount);\n bill.setDueDate(dueDate);\n bill.setOccurrenceRte(occurrenceRte);\n\n // Verify Values\n assertEquals(billId, bill.getBillId());\n assertEquals(billName, bill.getBillName());\n assertEquals(userId, bill.getUserId());\n assertEquals(accountId, bill.getAccountId());\n assertEquals(billAmount, bill.getBillAmount(), 0);\n assertEquals(dueDate, bill.getDueDate());\n assertEquals(occurrenceRte, bill.getOccurrenceRte());\n }",
"public Friend()\n\t{\n\t\tname = \"nameless\";\n\t\thumorStyle = \"less than none\";\n\t\tage = -10;\n\t\tinterest = \"absolutely nothing\";\n\t\tlikesPineapple = false;\n\t\tweight = - 99.99999;\n\t}",
"public ZTest1() {\n this(\"z_test1\", null);\n }",
"public Ball()\n {\n Random randomSpeed = new Random ();\n xSpeed = randomSpeed.nextInt(7);\n if (xSpeed == 0)\n { xSpeed = randomSpeed.nextInt(7);\n }\n else\n {}\n ySpeed = randomSpeed.nextInt(7);\n if (ySpeed == 0)\n { ySpeed = randomSpeed.nextInt(7);\n }\n else\n {}\n colors = new ArrayList <String>();\n colors.add(new String (\"red\"));\n colors.add(new String (\"blue\"));\n colors.add(new String (\"green\"));\n colors.add(new String (\"cyan\"));\n colors.add(new String (\"magenta\"));\n colors.add(new String (\"yellow\"));\n colors.add(new String (\"pink\"));\n colors.add(new String (\"orange\"));\n Random randomColor = new Random();\n\n int index = randomColor.nextInt(8);\n color = colors.get(index);\n diameter = 35;\n xPosition = leftBound;\n yPosition = upBound;\n ballTouched = null;\n\n draw(); //draws the ball on the screen\n }",
"@Test\n public void testConstructor() {\n RiskPlayer player = new RiskPlayer(UUID.randomUUID());\n RiskBoard board = new RiskBoard();\n player.conqueredTerritory(TerritoryEnum.GREENLAND);\n board.getTerritory(TerritoryEnum.GREENLAND).changePlayer(player, 2);\n ValidDieDefendAction action = new ValidDieDefendAction(player, board,\n TerritoryEnum.GREENLAND);\n assertNotNull(action);\n }",
"public Water()\n {\n super(Color.cadetBlue, false, 1.0);\n }",
"public BadgeCard() {\n this(null, null, null, 0);\n }",
"@Test\r\n\tpublic void testConstructor()\r\n\t{\r\n\t\tassertEquals(false, testCanPlaceBombBehavior.placeBomb());\r\n\t}",
"public Kanban() {\r\n\t}",
"public helptest()\n {\n // initialise instance variables\n x = 0;\n }",
"public Builder()\n {\n this(\"\", \"\");\n }"
] | [
"0.67093664",
"0.64553875",
"0.6198697",
"0.6062549",
"0.59123105",
"0.5910283",
"0.5879736",
"0.58177495",
"0.5816858",
"0.5810893",
"0.5809009",
"0.5715565",
"0.5713202",
"0.56468517",
"0.56378484",
"0.56231886",
"0.5599681",
"0.558648",
"0.5581573",
"0.5581201",
"0.55662376",
"0.553874",
"0.5537384",
"0.5510752",
"0.54975605",
"0.5495918",
"0.5491587",
"0.54820114",
"0.5480044",
"0.5476776",
"0.54546344",
"0.5453425",
"0.5446636",
"0.5440301",
"0.54340714",
"0.54306316",
"0.5419585",
"0.54031384",
"0.53925794",
"0.53921473",
"0.5389736",
"0.5388574",
"0.5377852",
"0.5367005",
"0.53654695",
"0.5358457",
"0.5346507",
"0.5334501",
"0.53325146",
"0.5332361",
"0.5330922",
"0.53299594",
"0.53295356",
"0.5326227",
"0.5323935",
"0.53158396",
"0.5312958",
"0.5307798",
"0.5301569",
"0.5301165",
"0.5300487",
"0.529361",
"0.528393",
"0.52823997",
"0.5280082",
"0.5279372",
"0.5277748",
"0.527048",
"0.5263648",
"0.52622366",
"0.52586555",
"0.52578086",
"0.5256798",
"0.5254173",
"0.52396417",
"0.52376324",
"0.5229204",
"0.5223967",
"0.52237916",
"0.5214513",
"0.52135193",
"0.5208598",
"0.52051586",
"0.5202258",
"0.519638",
"0.51956475",
"0.51934695",
"0.5187545",
"0.51868016",
"0.5180963",
"0.51775753",
"0.5177427",
"0.5174969",
"0.51747406",
"0.51746273",
"0.51733077",
"0.51700795",
"0.5168555",
"0.5166427",
"0.51653326"
] | 0.7480743 | 0 |
BloodTest constructor with 6 args | public BloodTest(int redCellCount, int whiteCellCount, int plateletCount, Patient patient, LocalDate testDate, int id) {
this.redCellCount = redCellCount;
this.whiteCellCount = whiteCellCount;
this.plateletCount = plateletCount;
this.patient = patient;
this.testDate = testDate;
this.id = id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BloodTest() {\n setRedCellCount(0);\n setWhiteCellCount(0);\n setPlateletCount(0);\n setPatient(new Patient());\n setTestDate(LocalDate.now());\n setId(0);\n }",
"public BloodType(){\r\n\r\n }",
"public royalBlueSchool(int sizeE,int sizeF){}",
"public Blacksmith(){\n\t\t\n\t}",
"public ClimbingClubTest()\n {\n \n }",
"public BloodType(String name){\r\n bloodType=name;\r\n }",
"public Ninja(int x, int y)\r\n {\r\n super(x, y, 5);\r\n }",
"public Bathroom(int size) {\n this.size = size;\n myBathtub = new Bathtub(100); //instantiate bathtub object during Bathroom object creation\n }",
"FloodItWorld() {\r\n this.board = new ArrayList<ACell>();\r\n this.currTurn = 0;\r\n this.maxTurn = Cnst.maxTurns;\r\n this.rand = new Random();\r\n this.loc = new ArrayList<Color>();\r\n this.blocks = Cnst.blocks;\r\n this.colors = Cnst.numOfColors;\r\n this.worklist = new ArrayList<ACell>();\r\n }",
"@Test\n public void testCircle()\n {\n testCircleConstructor(5, 6);\n testCircleConstructor(11, 20);\n }",
"@Test\n public void testSquare()\n {\n testSquareConstructor(10, 20);\n testSquareConstructor(30, 40);\n }",
"void testFloodInitStarter(Tester t) {\r\n initData();\r\n Cell topLeft = (Cell) this.game7.indexHelp(0, 0);\r\n Cell topRight = (Cell) this.game7.indexHelp(1, 0);\r\n Cell botLeft = (Cell) this.game7.indexHelp(0, 1);\r\n Cell botRight = (Cell) this.game7.indexHelp(1, 1);\r\n t.checkExpect(topLeft.flooded, true);\r\n t.checkExpect(topRight.flooded, false);\r\n t.checkExpect(botLeft.flooded, false);\r\n t.checkExpect(botRight.flooded, false);\r\n\r\n topLeft.floodInitStarter();\r\n t.checkExpect(topLeft.flooded, true);\r\n t.checkExpect(topRight.flooded, true);\r\n t.checkExpect(botLeft.flooded, false);\r\n t.checkExpect(botRight.flooded, true);\r\n }",
"public Gov() {\n }",
"public TestPawn(){\n }",
"public Bombas(int x,int y) {\n \tsuper(x,y);\n }",
"public Druid(String name, double lifePoints, double attack) {\n super(name, lifePoints, attack);\n }",
"public Boat() {\n }",
"public static void selfTest()\n {\n\t\tBoatGrader b = new BoatGrader();\n\t\t \n\t\tSystem.out.println(\"\\n ***Testing Boats with only 2 children***\");\n\t\tbegin(0, 2, b);\n\t\t \n\t\t// System.out.println(\"\\n ***Testing Boats with 2 children, 1 adult***\");\n\t\t// \t begin(1, 2, b);\n\t\t \n\t\t// System.out.println(\"\\n ***Testing Boats with 3 children, 3 adults***\");\n\t\t// begin(3, 3, b);\n }",
"public BruteforceAttack(int[] pt,int[] ct){this(pt,ct,8);}",
"public Test05() {\n this(0);\n n2 = \"n2\";\n n4 = \"n4\";\n }",
"public WorldGenGrassUnderbean()\n {\n }",
"FloodItWorld(ArrayList<ACell> board, int currTurn, int maxTurn, Random rand,\r\n ArrayList<Color> loc, int blocks, int colors, ArrayList<ACell> worklist) {\r\n this.board = board;\r\n this.currTurn = currTurn;\r\n this.maxTurn = maxTurn;\r\n this.rand = rand;\r\n this.loc = loc;\r\n this.blocks = blocks;\r\n this.colors = colors;\r\n this.worklist = worklist;\r\n }",
"public BaseballCard(){\r\n\r\n\t}",
"public BirdFoodTest()\r\n {\r\n }",
"public PlantingHarvester(int x, int y)\n {\n super(x, y);\n }",
"@Test\n public void goalCustomConstructor_isCorrect() throws Exception {\n\n int goalId = 11;\n int userId = 1152;\n String name = \"Test Name\";\n int timePeriod = 1;\n int unit = 2;\n double amount = 1000.52;\n\n\n //Create goal\n Goal goal = new Goal(goalId, userId, name, timePeriod, unit, amount);\n\n // Verify Values\n assertEquals(goalId, goal.getGoalId());\n assertEquals(userId, goal.getUserId());\n assertEquals(name, goal.getGoalName());\n assertEquals(timePeriod, goal.getTimePeriod());\n assertEquals(unit, goal.getUnit());\n assertEquals(amount, goal.getAmount(),0);\n }",
"public Dice() { \n this(6); /* Invoke the above Dice constructor with value 6. */ \n }",
"Girl(String n,String p,String i,String a,String b,String t,String pr) {\n \n name = n;\n pairedto = p;\n intelligence = Integer.parseInt(i);\n attractiveness = Integer.parseInt(a);\n mBudget = Integer.parseInt(b); \n type = t;\n pref = pr;\n \n }",
"public Battle(){\r\n\t\t\r\n\t}",
"public GameOfLifeTest()\n {\n }",
"public Guppy() {\n this(DEFAULT_GENUS, DEFAULT_SPECIES, 0, true, 0,\n DEFAULT_HEALTH_COEFFICIENT);\n }",
"public BFUnit(){\n \n }",
"public BloodDonner() {\n initComponents();\n showProfile();\n }",
"void testConstructor(Tester t) {\n t.checkConstructorException(\n new IllegalArgumentException(\"The board must be atleast 2 x 1 in size\"), \"LightEmAll\", 0,\n 0);\n t.checkConstructorException(\n new IllegalArgumentException(\"The board must be atleast 2 x 1 in size\"), \"LightEmAll\", 1,\n 0);\n t.checkConstructorException(\n new IllegalArgumentException(\"The board must be atleast 2 x 1 in size\"), \"LightEmAll\", 0,\n 1);\n t.checkConstructorException(\n new IllegalArgumentException(\"The board must be atleast 2 x 1 in size\"), \"LightEmAll\", 1,\n 1);\n t.checkConstructorException(\n new IllegalArgumentException(\"The board must be atleast 2 x 1 in size\"), \"LightEmAll\", -5,\n -10);\n }",
"FloodItWorld(int currTurn, int maxTurn, Random rand, int blocks, int colors) {\r\n this.board = new ArrayList<ACell>();\r\n this.currTurn = currTurn;\r\n this.maxTurn = maxTurn;\r\n this.rand = rand;\r\n this.loc = new ArrayList<Color>();\r\n this.blocks = blocks;\r\n this.colors = colors;\r\n this.worklist = new ArrayList<ACell>();\r\n }",
"public Genetic() {\r\n }",
"public BSTTreeBlueJTest()\n {\n }",
"public static void main(String[] args) {\n\t\tPatient Timmy = new Patient();\r\n\t\tSystem.out.println(\"Patient ID: \" + Timmy.getID() +\r\n\t\t\t\t\"\\nPatient Age: \" + Timmy.getAge());\r\n\t\tTimmy.displayBlood();\r\n\t\t\r\n\t\t//Patient spike has its own set of values\r\n\t\tPatient Spike = new Patient(1337,19,RhFactor.NEGATIVE, BloodType.AB);\r\n\t\tSystem.out.println(\"Patient ID: \" + Spike.getID() + \"\\nPatientAge: \" + Spike.getAge());\r\n\t\tSpike.displayBlood();\r\n\t}",
"public Bout()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1); \n CreaBoutique();\n\n }",
"public RedGiant(){\r\n\t\tthis(\"\",0,0);\r\n\t}",
"public ClassTester()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1);\n addObject(new NonScrollingBackground(\"Stage - 0.jpg\"),300,131);\n addObject(playerMage,35,170);\n addObject(new AbilityDisplayer(playerMage),125,268);\n }",
"public GantBuilder ( ) { }",
"public Fox() {\n super(randomAge(MAX_AGE), randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);\n constructor();\n }",
"public RedPuzzle(String[] args) {\n super(args);\n }",
"public JumbleBoard()\n {\n }",
"@Test\r\n\tpublic void constructorDeclarationTest(){\r\n\t\tint[] pointsToTest = {2,7,9,16,17,18,19,20};\r\n\t\tfor(int i=0;i<pointsToTest.length;i++)\r\n\t\t{\r\n\t\t\tassertEquals(pointsToTest[i],new PointGrade(pointsToTest[i]).getPoints());\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\n\t\tfinal int GROUP_SIZE = 3;\n\t\tBuddyBot test = new BuddyBot(\"college_essay_test.csv\", GROUP_SIZE);\n\t\ttest.findBuddies();\n\t}",
"public Board(String boardName) {\n\n /*\n * Created according to the specs online.\n */\n if (boardName.equals(\"default\")) {\n Ball ball1 = new Ball(new Vect(0, 0), new Geometry.DoublePair(1.25,\n 1.25));\n Gadget circle = new CircleBumper(1, 10, new Gadget[] {});\n Gadget triangle = new TriangleBumper(12, 15, 180, new Gadget[] {});\n Gadget square1 = new SquareBumper(0, 17, new Gadget[] {});\n Gadget square2 = new SquareBumper(1, 17, new Gadget[] {});\n Gadget square3 = new SquareBumper(2, 17, new Gadget[] {});\n Gadget circle1 = new CircleBumper(7, 18, new Gadget[] {});\n Gadget circle2 = new CircleBumper(8, 18, new Gadget[] {});\n Gadget circle3 = new CircleBumper(9, 18, new Gadget[] {});\n this.balls = new Ball[] { ball1 };\n this.gadgets = new Gadget[] { circle, triangle, square1, square2,\n square3, circle1, circle2, circle3, top, bottom, left,\n right };\n\n } else if (boardName.equals(\"absorber\")) {\n Ball ball1 = new Ball(new Vect(0, 0), new Geometry.DoublePair(\n 10.25, 15.25));\n Ball ball2 = new Ball(new Vect(0, 0), new Geometry.DoublePair(\n 19.25, 3.25));\n Ball ball3 = new Ball(new Vect(0, 0), new Geometry.DoublePair(1.25,\n 5.25));\n Gadget absorber = new Absorber(0, 18, 20, 2, new Gadget[] {});\n Gadget triangle = new TriangleBumper(19, 0, 90, new Gadget[] {});\n Gadget circle1 = new CircleBumper(1, 10, new Gadget[] { absorber });\n Gadget circle2 = new CircleBumper(2, 10, new Gadget[] { absorber });\n Gadget circle3 = new CircleBumper(3, 10, new Gadget[] { absorber });\n Gadget circle4 = new CircleBumper(4, 10, new Gadget[] { absorber });\n Gadget circle5 = new CircleBumper(5, 10, new Gadget[] { absorber });\n this.balls = new Ball[] { ball1, ball2, ball3 };\n this.gadgets = new Gadget[] { absorber, triangle, circle1, circle2,\n circle3, circle4, circle5, top, left, right, bottom };\n }\n\n else if (boardName.equals(\"flippers\")) {\n Ball ball1 = new Ball(new Vect(0, 0), new Geometry.DoublePair(.25,\n 3.25));\n Ball ball2 = new Ball(new Vect(0, 0), new Geometry.DoublePair(5.25,\n 3.25));\n Ball ball3 = new Ball(new Vect(0, 0), new Geometry.DoublePair(\n 10.25, 3.25));\n Ball ball4 = new Ball(new Vect(0, 0), new Geometry.DoublePair(\n 15.25, 3.25));\n Ball ball5 = new Ball(new Vect(0, 0), new Geometry.DoublePair(\n 19.25, 3.25));\n Gadget left1 = new LeftFlipper(0, 8, 90, new Gadget[] {});\n Gadget left2 = new LeftFlipper(4, 10, 90, new Gadget[] {});\n Gadget left3 = new LeftFlipper(9, 8, 90, new Gadget[] {});\n Gadget left4 = new LeftFlipper(15, 8, 90, new Gadget[] {});\n Gadget circle1 = new CircleBumper(5, 18, new Gadget[] {});\n Gadget circle2 = new CircleBumper(7, 13, new Gadget[] {});\n Gadget circle3 = new CircleBumper(0, 5, new Gadget[] { left1 });\n Gadget circle4 = new CircleBumper(5, 5, new Gadget[] {});\n Gadget circle5 = new CircleBumper(10, 5, new Gadget[] { left3 });\n Gadget circle6 = new CircleBumper(15, 5, new Gadget[] { left4 });\n Gadget triangle1 = new TriangleBumper(19, 0, 90, new Gadget[] {});\n Gadget triangle2 = new TriangleBumper(10, 18, 180, new Gadget[] {});\n Gadget right1 = new RightFlipper(2, 15, 0, new Gadget[] {});\n Gadget right2 = new RightFlipper(17, 15, 0, new Gadget[] {});\n Gadget absorber = new Absorber(0, 19, 20, 1, new Gadget[] { right1,\n right2, new Absorber(0, 19, 20, 1, new Gadget[] {}) });\n this.balls = new Ball[] { ball1, ball2, ball3, ball4, ball5 };\n this.gadgets = new Gadget[] { left1, left2, left3, left4, circle1,\n circle2, circle3, circle4, circle5, circle6, triangle1,\n triangle2, right1, right2, absorber, top, bottom, left,\n right };\n } else {\n this.gadgets = new Gadget[] {};\n this.balls = new Ball[] {};\n }\n\n checkRep();\n }",
"@Test\n\tpublic void constructorTest() throws PassengerException{\n\t\tFirst myPassenger = new First(10,100);\n\t\tassertNotNull(myPassenger);\n\t}",
"public Field(int w, int h, int numberPoney, int numberRounds) {\n this.height = h;\n this.width = w;\n ObjectsFactory objectsFactory = new ObjectsFactory();\n\n this.setPoney(new Poney[numberPoney]);\n this.setObstacle(new Obstacle[numberPoney]);\n if (numberPoney == 5) {\n this.getPoney()[0] = (PoneyAmeliore) objectsFactory.getObject(\"PoneyAmeliore\", colorMap[0], 0 * 110);\n this.getPoney()[1] = (PoneyIA) objectsFactory.getObject(\"PoneyIA\", colorMap[1], 1 * 110);\n this.getPoney()[2] = (PoneyAmeliore) objectsFactory.getObject(\"PoneyAmeliore\", colorMap[2], 2 * 110);\n this.getPoney()[3] = (PoneyIA) objectsFactory.getObject(\"PoneyIA\", colorMap[3], 3 * 110);\n this.getPoney()[4] = (PoneyIA) objectsFactory.getObject(\"PoneyIA\", colorMap[4], 4 * 110);\n }\n for (int i = 0; i < numberPoney; i++) {\n\n int choice = 1 + (int) (Math.random() * ((2 - 1) + 1));\n System.out.println(choice);\n if (choice == 1)\n this.getObstacle()[i] = (ObstacleDeplace) objectsFactory.getObject(\"ObstacleDeplace\", \"\", (i * 110) + 50);\n else\n this.getObstacle()[i] = (ObstacleStatique) objectsFactory.getObject(\"ObstacleStatique\", \"\", (i * 110) + 50);\n\n }\n this.numberPoney = numberPoney;\n this.numberObstacles = numberPoney;\n this.numberRounds = numberRounds;\n this.finished = false;\n setRank(new Vector());\n addNeighbour();\n }",
"public Ball(int xWall, int yWall, Random rand){\n this(\n rand.nextInt(xWall-2*MAX_RADIUS),//set all to random\n rand.nextInt(yWall-2*MAX_RADIUS),\n rand.nextInt(MAX_RADIUS-MIN_RADIUS)+MIN_RADIUS,\n new Color(\n rand.nextInt(MAX_CHANNEL_VAL),\n rand.nextInt(MAX_CHANNEL_VAL),\n rand.nextInt(MAX_CHANNEL_VAL),\n rand.nextInt(MAX_CHANNEL_VAL-MIN_ALPHA_VAL)+MIN_ALPHA_VAL),\n rand.nextInt(MAX_VELOCITY-MIN_VELOCITY)+MIN_VELOCITY,\n rand.nextInt(MAX_VELOCITY-MIN_VELOCITY)+MIN_VELOCITY,\n xWall,\n yWall\n );\n }",
"public BeanGame () {\n\t}",
"protected TestBench() {}",
"public Monster() {\r\n\t\tthis(\"Blabberghast\", MIN_MONSTER_HEALTH);\r\n\t}",
"public BuddyInfo() {\n this(\"\", \"\", \"123-456-7890\");\n }",
"@Test\n\t@Category(TesteUrgente.class)\n\tpublic void testConstructorLista() {\n\t\tGrupa grupa=new Grupa(1076);\n\t\tassertNotNull(grupa.getStudenti());\n\t}",
"public GdGame()\n\t{\n\t\tthis(100);\t\t\n\t}",
"public WallAnt()\n {\n health = 4;\n cost = 4;\n }",
"public bly(int paramInt, Random paramRandom, bjb parambjb, EnumDirection paramej)\r\n/* 10: */ {\r\n/* 11:831 */ super(paramInt);\r\n/* 12: */ \r\n/* 13:833 */ this.m = paramej;\r\n/* 14:834 */ this.d = a(paramRandom);\r\n/* 15:835 */ this.l = parambjb;\r\n/* 16: */ }",
"public BoardMember(int yearsWorked)\r\n\t{\r\n\t\tsuper(yearsWorked);\r\n\t}",
"public BasicSpecies() {\r\n\r\n\t}",
"public Board(Ball[] balls, Gadget[] gadgets) {\n this.balls = balls;\n this.gadgets = gadgets;\n checkRep();\n }",
"public void testCtor2() {\r\n try {\r\n new BloomFilter(Integer.MAX_VALUE, new DefaultHashFunctionFamily(10000));\r\n fail(\"The length of bitset is too large.\");\r\n } catch(IllegalArgumentException e) {\r\n //good\r\n }\r\n }",
"BruceScore() {}",
"public Ball(int number){\r\n this.num = number;\r\n }",
"@Test(expected = IllegalArgumentException.class)\r\n\tpublic void outConstructorTest2(){\r\n\t\tnew PointGrade(21);\r\n\t}",
"public Tbdcongvan36() {\n super();\n }",
"public Mueble() {\n }",
"public MrnWoatlas5() {\n clearVars();\n if (dbg) System.out.println (\"<br>in MrnWoatlas5 constructor 1\"); // debug\n }",
"public BoardFactory(PacManSprites spriteStore) {Collect.Hit(\"BoardFactory.java\",\"BoardFactory(PacManSprites spriteStore)\");this.sprites = spriteStore; Collect.Hit(\"BoardFactory.java\",\"BoardFactory(PacManSprites spriteStore)\", \"689\");}",
"public FindNeighbors() {\r\n }",
"public RedPuzzle() {\n }",
"public DistrictBoard(int m, int n) {\r\n \r\n }",
"public BeautyCustomizedLevel(int width, int height, long seed, int difficulty, int type,int count, Hashtable hsObjectsScreen, int typeSymmetry,int[] odds,ElementsToPlace objElem, double wParamether, int methodSearch)\r\n\t {\r\n\t\t\t\r\n\t this(width, height);\r\n\t this.objElem=objElem;\r\n\t this.odds=odds;\r\n\t this.wParamether=wParamether;\r\n\t creatManySearchesObjectsNLG(seed, difficulty, type,count,hsObjectsScreen,typeSymmetry,methodSearch);\r\n\t //System.out.println(\"constructorcorrect\");\r\n\t \r\n\t }",
"private EnumCreatureType(Class<?> paramClass, int paramInt, Material parambof, boolean paramBoolean1, boolean isAnimal)\r\n/* 10: */ {\r\n/* 11:29 */ this.e = paramClass;\r\n/* 12:30 */ this.f = paramInt;\r\n/* 13:31 */ this.g = parambof;\r\n/* 14:32 */ this.isPeaceful = paramBoolean1;\r\n/* 15:33 */ this.isAnimal = isAnimal;\r\n/* 16: */ }",
"public DistrictBoard(int m, int n, float ratio) {\r\n \r\n }",
"public static void main(String[] args) {\n\t Boy boy = new Boy(\"James\", \"男\", 36, 195,\"own\");\n\t// Wang wang = new Wang(1);\n\t System.out.println(boy.getX());\n\t System.out.println(boy.name);\n\t}",
"public static void main(String[] args) {\n\t\t builder p = new housebuilder().setBuilddoors(5).setBuildwalls(1).gethouse();//Where as Here we have the flexibility to pass only required fields as parameters\n\t\t System.out.println(p);\n\n\t}",
"public Cenario1()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(900, 600, 1);\n adicionar();\n \n }",
"public static Level[] createTestLevel(){\n\t\tLevel[] testLevels = new Level[16];\n\t\tint[] squareNum = new int[144];\n\t\n\t\tColor[] cl = new Color[144];\n\t\t\n\t\t\n\n\t\t\n\t\tfor (int i=0;i<144;i++){\n\t\t\tsquareNum[i] =0;\n\t\t\tcl[i]=null;\n\t\t}\n\t\tint count18=0;\n\t\tfor (int i=1;i<4;i++){\n\t\t\tfor (int j=1;j<7;j++){\n\t\t\t\tsquareNum[count18] =j;\n\t\t\t\tif (i==1){\n\t\t\t\t\tcl[count18]=Color.RED;\n\t\t\t\t}\n\t\t\t\telse if (i==2){\n\t\t\t\t\tcl[count18]=Color.YELLOW;\n\t\t\t\t}\n\t\t\t\telse if (i==3){\n\t\t\t\t\tcl[count18]=Color.GREEN;\n\t\t\t\t}\n\t\t\t\tcount18=count18+5;\n\t\t\t}\n\t\t}\n\n\n\t\tSquare bullPenSquare1[] = new Square[6]; \n\t\tbullPenSquare1[0] = new Square(1,3);\n\t\tbullPenSquare1[1] = new Square(0,1);\n\t\tbullPenSquare1[2] = new Square(0,2);\n\t\tbullPenSquare1[3] = new Square(0,3);\n\t\tbullPenSquare1[4] = new Square(0,4);\n\t\tbullPenSquare1[5] = new Square(0,5);\t\t\n\t\t\n\t\tSquare bullPenSquare2[] = new Square[6]; \n\t\tbullPenSquare2[0] = new Square(0,0);\n\t\tbullPenSquare2[1] = new Square(1,0);\n\t\tbullPenSquare2[2] = new Square(2,0);\n\t\tbullPenSquare2[3] = new Square(2,1);\n\t\tbullPenSquare2[4] = new Square(2,2);\n\t\tbullPenSquare2[5] = new Square(1,2);\t\t\n\n\t\tSquare bullPenSquare3[] = new Square[6]; \n\t\tbullPenSquare3[0] = new Square(1,1);\n\t\tbullPenSquare3[1] = new Square(0,1);\n\t\tbullPenSquare3[2] = new Square(0,2);\n\t\tbullPenSquare3[3] = new Square(0,3);\n\t\tbullPenSquare3[4] = new Square(0,4);\n\t\tbullPenSquare3[5] = new Square(0,5);\t\t\n\t\t\n\t\tSquare bullPenSquare4[] = new Square[6]; \n\t\tbullPenSquare4[0] = new Square(1,1);\n\t\tbullPenSquare4[1] = new Square(2,1);\n\t\tbullPenSquare4[2] = new Square(3,1);\n\t\tbullPenSquare4[3] = new Square(3,2);\n\t\tbullPenSquare4[4] = new Square(3,3);\n\t\tbullPenSquare4[5] = new Square(3,4);\t\t\n\n\t\tSquare bullPenSquare5[] = new Square[6]; \n\t\tbullPenSquare5[0] = new Square(0,2);\n\t\tbullPenSquare5[1] = new Square(1,2);\n\t\tbullPenSquare5[2] = new Square(2,2);\n\t\tbullPenSquare5[3] = new Square(3,2);\n\t\tbullPenSquare5[4] = new Square(4,2);\n\t\tbullPenSquare5[5] = new Square(5,2);\t\n\t\t\n\t\tSquare bullPenSquare6[] = new Square[6]; \n\t\tbullPenSquare6[0] = new Square(0,0);\n\t\tbullPenSquare6[1] = new Square(0,1);\n\t\tbullPenSquare6[2] = new Square(0,2);\n\t\tbullPenSquare6[3] = new Square(0,3);\n\t\tbullPenSquare6[4] = new Square(0,4);\n\t\tbullPenSquare6[5] = new Square(0,5);\t\n\t\t\n\t\tPiece bullPenPiece= new Piece(0,0,bullPenSquare1,bullPenSquare1[0],2);\n\t\tbullPenPiece.setColor(new Color(0,0,0));\n\n\n\t\tArrayList<Piece> bullPenPieceArray=new ArrayList<Piece>();\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare1,bullPenSquare1[0],2));\n\t\tbullPenPieceArray.get(0).setColor(Color.BLUE);\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare2,bullPenSquare2[0],2));\n\t\tbullPenPieceArray.get(1).setColor(Color.GREEN);\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare3,bullPenSquare3[0],2));\n\t\tbullPenPieceArray.get(2).setColor(Color.YELLOW);\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare4,bullPenSquare4[0],2));\n\t\tbullPenPieceArray.get(3).setColor(Color.ORANGE);\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare5,bullPenSquare5[0],2));\n\t\tbullPenPieceArray.get(4).setColor(Color.RED);\n\t\tbullPenPieceArray.add(new Piece(0,0,bullPenSquare6,bullPenSquare6[0],2));\n\t\tbullPenPieceArray.get(5).setColor(Color.PINK);\n\n\n\t\tBullpen bp = new Bullpen(bullPenPieceArray);\n\t\t//Bullpen bp = new Bullpen();\n\n\n\n\t\tSquare[] boardSquare = new Square[144]; \n\t\tfor (int i1=0;i1<12;i1++){\n\t\t\tfor (int j=0;j<12;j++){\n\n\t\t\t\tboardSquare[i1*12+j] = new Square(i1,j);\n\t\t\t}\n\t\t}\n\n\t\tSquare hitSquares[] = new Square[6]; \n\t\thitSquares[0] = new Square(6,4);\n\t\thitSquares[1] = new Square(5,2);\n\t\thitSquares[2] = new Square(5,3);\n\t\thitSquares[3] = new Square(5,4);\n\t\thitSquares[4] = new Square(5,5);\n\t\thitSquares[5] = new Square(5,6);\t\n\n\t\tHint hints = new Hint(hitSquares);\n\n\t\tBoard testBoard = new Board(boardSquare);\n\t\ttestBoard.sethint(hints);\n\t\t\n\t\t////// add remove test\n\t\t//bullPenPiece.setColor(Color.PINK);\n\t\t//bp.removepiece(bullPenPieceArray.get(5));\n\t\t//testBoard.addpiece(bullPenPiece);\n\t\t///test over\n\t\t\n\t\tfor (int i=0;i<15;i++){\n\t\t\tif (i%3==0){\n\t\t\t\ttestLevels[i] = new PuzzleLevel(i,GetLevelTpye(i%3),testBoard,bp,20);\n\t\t\t\ttestLevels[i].updateLevelStar(new Achievement(new Random().nextInt(3) + 1));\n\t\t\t}\n\t\t\telse if (i%3==1){\n\t\t\t\ttestLevels[i] = new LightningLevel(i,GetLevelTpye(i%3),testBoard,bp,30);\n\t\t\t\ttestLevels[i].updateLevelStar(new Achievement(new Random().nextInt(3) + 1));\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttestLevels[i] = new ReleaseLevel(i,GetLevelTpye(i%3),testBoard,bp,squareNum,cl);\n\t\t\t\ttestLevels[i].updateLevelStar(new Achievement(new Random().nextInt(3) + 1));\n\t\t\t}\n\n\t\t}\n\t\ttestLevels[13].updateLevelStar(new Achievement(0));\n\t\ttestLevels[14].updateLevelStar(new Achievement(-1));\n\n\t\t\n\t\t\n\t\t\n\t\t//---------------------------------------------- \n\t\tint[] sixNum = new int[36];\n\t\tColor[] sixcolor = new Color[36];\n\t\tfor (int i=0;i<36;i++){\n\t\t\tsixNum[i] =0;\n\t\t\tsixcolor[i]=null;\n\t\t}\n\t\tint count1=0;\n\t\tfor (int i=1;i<4;i++){\n\t\t\tfor (int j=1;j<7;j++){\n\t\t\t\tsquareNum[count1] =j;\n\t\t\t\tif (i==1){\n\t\t\t\t\tcl[count1]=Color.RED;\n\t\t\t\t}\n\t\t\t\telse if (i==2){\n\t\t\t\t\tcl[count1]=Color.YELLOW;\n\t\t\t\t}\n\t\t\t\telse if (i==3){\n\t\t\t\t\tcl[count1]=Color.GREEN;\n\t\t\t\t}\n\t\t\t\tcount1=count1+1;\n\t\t\t}\n\t\t}\n\t\tSquare[] sixBoardSquare = new Square[36]; \n\t\tfor (int i1=0;i1<6;i1++){\n\t\t\tfor (int j=0;j<6;j++){\n\n\t\t\t\tsixBoardSquare[i1*6+j] = new Square(i1,j);\n\t\t\t}\n\t\t}\n\t\tSquare sixhint[] = new Square[6]; \n\t\tsixhint[0] = new Square(0,0);\n\t\tsixhint[1] = new Square(0,1);\n\t\tsixhint[2] = new Square(0,2);\n\t\tsixhint[3] = new Square(0,3);\n\t\tsixhint[4] = new Square(0,4);\n\t\tsixhint[5] = new Square(0,5);\t\n\n\t\tHint sixhints = new Hint(sixhint);\n\n\t\tBoard sixBoard = new Board(sixBoardSquare);\n\t\tsixBoard.sethint(sixhints);\n\t\t\n\t\ttestLevels[15] = new ReleaseLevel(15,GetLevelTpye(14%3),sixBoard,bp,sixNum,sixcolor);\n\t\ttestLevels[15].updateLevelStar(new Achievement(1));\n\t\t//--------------------------------------------\n\t\t\n\t\treturn testLevels;\n\t\t/*\n\t\t\tpublic Level(int LevelNumber, String LevelType, Board b, Bullpen p){\n\t\t\t\tthis.LevelNumber = LevelNumber;\n\t\t\t\tthis.LevelType = LevelType;\n\t\t\t\tthis.b = b;\n\t\t\t\tthis.p = p;\n\t\t\t}\n\n\t\t */\n\t}",
"@Test\n public void constructorTest(){\n String retrievedName = doggy.getName();\n Date retrievedBirthDate = doggy.getBirthDate();\n Integer retrievedId = doggy.getId();\n\n // Then (we expect the given data, to match the retrieved data)\n Assert.assertEquals(givenName, retrievedName);\n Assert.assertEquals(givenBirthDate, retrievedBirthDate);\n Assert.assertEquals(givenId, retrievedId);\n }",
"protected Betaling()\r\n\t{\r\n\t\t\r\n\t}",
"public SnakesAndLadders()\n {\n this(2);\n }",
"public BaseSeed(CropCard crop, int size, int statGrowth, int statGain, int statResistance, int stackSize) {\n\t\tsuper();\n\t\tthis.crop = crop;\n\t\tthis.size = size;\n\t\tthis.statGrowth = statGrowth;\n\t\tthis.statGain = statGain;\n\t\tthis.statResistance = statResistance;\n\t\tthis.stackSize = stackSize;\n\t}",
"public AcceptanceTestRun() {\n }",
"public static void main(String[] args) {\n\n House house=new House.HouseBuilder().build();\n\n House house1=new House.HouseBuilder()\n .addGarage(true)\n .addGarden(new Garden())\n .addRooms(5)\n .addWindows(10)\n .build();\n\n\n\n\n House houseWithoutGarden=new House.HouseBuilder().addGarage(true).addRooms(5).addWindows(10).build();\n\n }",
"public static void main (String [] args) {\n BabyName b1 = new BabyName (\"Krystal\", true, 12321452, 1995);\n System.out.println(b1);\n BabyName b2 = new BabyName (\"Max\", false, 12425234, 1989);\n System.out.println(b2);\n }",
"public ColourTest(String name)\n\t{\n\t\tsuper(name);\n\t}",
"public Ball(int x, int y, int radius, Color color, int xVelocity, int yVelocity, int xWall, int yWall){\n this.x=x;\n this.y=y;\n this.radius=radius;\n this.color=color;\n this.xVelocity=xVelocity;\n this.yVelocity=yVelocity;\n this.xWall=xWall;\n this.yWall=yWall;\n\n}",
"Rectangle()\n {\n this(1.0,1.0);\n }",
"public p7p2() {\n }",
"public Chant(){}",
"@Test(expected = IllegalArgumentException.class)\r\n\tpublic void outConstructorTest1(){\r\n\t\tnew PointGrade(0);\r\n\t}",
"public GuidanceTest(String name) {\n\t\tsuper(name);\n\t}",
"@Test\n public void testConstructorInvalidInputs() {\n try {\n Rectangle r5 = new Rectangle(-7, 4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r6 = new Rectangle(7, -4, new Color(255, 0, 0),\n new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r7 = new Rectangle(7, 4, null, new Position2D(50, 75));\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r8 = new Rectangle(7, 4, new Color(255, 0, 0), null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n try {\n Rectangle r9 = new Rectangle(-7, 4, null, null);\n fail();\n } catch (IllegalArgumentException e) {\n // pass!\n }\n }",
"Boat(String name)\n {\n this.name = name;\n speed = 0;\n sail = true;\n }",
"public Hacker() {\r\n \r\n }",
"@Test\r\n public void testBadConstructor() {\r\n try {\r\n SnakeSquare instance = new SnakeSquare(33,44);\r\n fail();\r\n } catch (IllegalArgumentException e) { }\r\n }",
"public AcuityTest() {\r\n }",
"private GameBoard() {}"
] | [
"0.68503636",
"0.6493878",
"0.6071935",
"0.59860915",
"0.59783024",
"0.5967179",
"0.5799587",
"0.5790266",
"0.57900375",
"0.57866734",
"0.5740612",
"0.57305616",
"0.5711745",
"0.5683729",
"0.5672155",
"0.5617806",
"0.55990696",
"0.55778766",
"0.5558597",
"0.555241",
"0.55382633",
"0.5524908",
"0.55118155",
"0.5505705",
"0.5496864",
"0.5492141",
"0.5491335",
"0.54550916",
"0.5454734",
"0.5451874",
"0.5447685",
"0.54388547",
"0.54367054",
"0.5427934",
"0.5410456",
"0.5398166",
"0.53980434",
"0.5385978",
"0.53800565",
"0.5379464",
"0.5379384",
"0.53761065",
"0.5369132",
"0.5367148",
"0.5362106",
"0.5359108",
"0.53557765",
"0.5354133",
"0.53413576",
"0.5339445",
"0.53315246",
"0.53164333",
"0.5312888",
"0.531236",
"0.53119206",
"0.53101736",
"0.5309963",
"0.53059274",
"0.5302714",
"0.52961",
"0.5288999",
"0.527546",
"0.52729034",
"0.5271464",
"0.52674127",
"0.52673763",
"0.526308",
"0.5260345",
"0.5260046",
"0.5257597",
"0.5255131",
"0.52537507",
"0.5253476",
"0.5252309",
"0.5251148",
"0.5243726",
"0.52430844",
"0.5240667",
"0.5239092",
"0.52326536",
"0.5230492",
"0.52279526",
"0.52275026",
"0.5224333",
"0.52232116",
"0.5220913",
"0.52167845",
"0.52162",
"0.5214671",
"0.5210091",
"0.5205247",
"0.52033377",
"0.5201613",
"0.5201602",
"0.5199108",
"0.519216",
"0.51889205",
"0.5188452",
"0.5172022",
"0.5167785"
] | 0.6820472 | 1 |
Allows client to initialize the client listener. | @Override
public void addListener(_User user, _ClientListener clientListener) throws RemoteException{
this.ListenerClient.put(user,clientListener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void initClient() {\n BundleEvents.register();\n }",
"private void initListener() {\n }",
"@Override\n protected void preClientStart() {\n client.registerListener(new BuddycloudLocationChannelListener(\n getContentResolver()\n ));\n client.registerListener(new BuddycloudChannelMetadataListener(\n getContentResolver()\n ));\n BCConnectionAtomListener atomListener = new BCConnectionAtomListener(\n getContentResolver(), this);\n registerListener(atomListener);\n }",
"@Override\n public void start(ClientStreamListener listener) {\n listener.onReady();\n }",
"public void initListener() {\n }",
"@Override\r\n\tprotected void initListener() {\n\t\tsuper.initListener();\r\n\t}",
"@SubscribeEvent\n public void onClientStarting(final FMLClientSetupEvent event) {\n LOGGER.info(\"client setting up\");\n }",
"@Override\n\tpublic void initialize() {\n\t\tSystem.out.println(\"TestClient initialization\");\n\t\tsubscribe(\"Scalars\");\n\t\tsubscribe(\"Triggers\");\n\t\tsubscribe(\"Alarms\");\n\n\t\t//If I'm a sender, run some tests\n\t\tif (_sender) {\n//\t\t\ttestIntArray();\n//\t\t\ttestSerializedObject();\n//\t\t\ttestStringArray();\n//\t\t\ttestDoubleArray();\n//\t\t\ttestString();\n//\t\t\ttestByteArray();\n//\t\t\ttestStreamedMessage();\n\t\t\tstressTest();\n\t\t}\n\t}",
"private ClientBootstrap() {\r\n init();\r\n }",
"@Override\n\tprotected void initListener() {\n\n\t}",
"@Override\r\n\tpublic void initListener() {\n\r\n\t}",
"public void init(){\n\t\tmultiplexingClientServer = new MultiplexingClientServer(selectorCreator);\n\t}",
"public TcpClient(OnMessageReceived listener) {\n\n messageListener = listener;\n }",
"public void initializeClient(WebSocketAdapter client) {\n\t\tServer.log.debug(\"Send initial node info to \" + client);\r\n\r\n\t\tfor (IController controller : this.controllers.values()) {\r\n\t\t\tif (controller != null && controller.isEnabled() && controller.isInitialized()) {\r\n\t\t\t\tCollection<JSONMessage> messages = controller.initClient();\r\n\t\t\t\tif (messages != null) {\r\n\t\t\t\t\tfor (JSONMessage message : messages) {\r\n\t\t\t\t\t\tclient.getRemote().sendStringByFuture(message.serialize().toString());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public static void startServer() {\n clientListener.startListener();\n }",
"public static void init() {\n startTime = System.currentTimeMillis();\n if (clientExecutorEngine == null) {\n clientExecutorEngine = new ClientExecutorEngine();\n HzClient.initClient();\n }\n }",
"@Override\n public void onInitializeClient() {\n KeyBinding keyBinding = new KeyBinding(\n \"config.advancedchat.key.openlog\",\n InputUtil.Type.KEYSYM,\n GLFW.GLFW_KEY_Y,\n \"category.advancedchat.keys\"\n );\n KeyBindingHelper.registerKeyBinding(keyBinding);\n ClientTickEvents.START_CLIENT_TICK.register(s -> {\n if (keyBinding.wasPressed()) {\n // s.openScreen(new ExampleScreen());\n open();\n }\n });\n }",
"@Override\n\tpublic void onInitializeClient() {\n\n\t\tconfig = ConfigManager.loadConfig(AutoReplyConfig.class);\n\n\t\tregisterCommands();\n\n\t\tHelper.setupChatMessages();\n\n\t\tKeyBindingRegistry.INSTANCE.addCategory(\"ckosmic.autoreply\");\n\t\tkeyBinding = FabricKeyBinding.Builder.create(\n\t\t\t\tnew Identifier(\"ckosmic:autoreply\"),\n\t\t\t\tInputUtil.Type.KEYSYM,\n\t\t\t\tGLFW.GLFW_KEY_R,\n\t\t\t\t\"ckosmic.autoreply\"\n\t\t).build();\n\t\tKeyBindingRegistry.INSTANCE.register(keyBinding);\n\n\t\tClientTickCallback.EVENT.register(e -> {\n\t\t\tif(keyBinding.wasPressed()) {\n\t\t\t\tarreload();\n\t\t\t\te.player.addChatMessage(new StringTextComponent(\"AutoReply config reloaded.\"), false);\n\t\t\t}\n\t\t});\n\t}",
"public void init(){\n taskClient.connect(\"127.0.0.1\", 9123);\n }",
"public void initiate(TelnetClient client) {\n\t}",
"void initAndListen() {\n\t\twhile (true) {\n\t\t\ttry {\n\t\t\t\tSocket clientSocket = serverSocket.accept();\n\t\t\t\t// Startuje nowy watek z odbieraniem wiadomosci.\n\t\t\t\tnew ClientHandler(clientSocket, this);\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"Accept failed.\");\n\t\t\t\tSystem.exit(1);\n\t\t\t}\n\t\t}\n\t}",
"private void initListener()\n {\n listenerTimer = new Timer();\n listenerTimer.schedule(new RemoteListner(this), 1000, 2000);\n }",
"void init() {\n CometUtils.printCometSdkVersion();\n validateInitialParams();\n this.connection = ConnectionInitializer.initConnection(\n this.apiKey, this.baseUrl, this.maxAuthRetries, this.getLogger());\n this.restApiClient = new RestApiClient(this.connection);\n // mark as initialized\n this.alive = true;\n }",
"public TCPMessengerServer() {\n initComponents();\n customInitComponents();\n listenForClient(); \n }",
"public void init() {\n ContainerProperties containerProperties = buildContainerProperties();\n this.messageListenerContainer = buildMessageListenerContainer( consumerFactory, containerProperties );\n }",
"@Override\n\tpublic void initialize() {\n\t\ttransportManager = newServerTransportManager();\n\t\ttransportServer = newTransportServer();\n\t\tserverStateMachine = newTransportServerStateMachine();\n\n\t\tserverStateMachine.setServerTransportComponentFactory(this);\n\t\ttransportManager.setServerTransportComponentFactory(this);\n\t\ttransportServer.setServerTransportComponentFactory(this);\n\t\ttransportServer.setServerHostConfig(getServerHostConfig());\n\n\t\tsetInitialized(true);\n\t}",
"@Override\n public void initialize(ServerConfiguration config) {\n }",
"private void initializeChannelize() {\n ChannelizeConfig channelizeConfig = new ChannelizeConfig.Builder(this)\n .setAPIKey(Config.API_KEY)\n .setLoggingEnabled(true).build();\n Channelize.initialize(channelizeConfig);\n Channelize.getInstance().setCurrentUserId(ChannelizePreferences.getCurrentUserId(getContext()));\n if (Channelize.getInstance().getCurrentUserId() != null\n && !Channelize.getInstance().getCurrentUserId().isEmpty()) {\n Channelize.connect();\n }\n\n ChannelizeUIConfig channelizeUIConfig = new ChannelizeUIConfig.Builder()\n .enableCall(true)\n .build();\n ChannelizeUI.initialize(channelizeUIConfig);\n channelize = Channelize.getInstance();\n\n ChannelizeUtils channelizeUtils = ChannelizeUtils.getInstance();\n channelizeUtils.setOnConversationClickListener(this);\n }",
"void clientReady();",
"public Client addListener(ClientListener listener);",
"@Override\r\n\tpublic void initListeners() {\n\t\t\r\n\t}",
"public void InitListener()\n {\n Intent listener = new Intent(this, SmsListener.class);\n listener.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n startService(listener);\n }",
"@Override\n public void initialize(ConnectionProviderListenerSettings settings) throws Exception {\n }",
"public abstract void onClientConnect(ClientWrapper client);",
"@Override\n\tpublic void listenerStarted(ConnectionListenerEvent evt) {\n\t\t\n\t}",
"@SuppressWarnings(\n {\n \"nls\"\n })\n @Override\n public void init(RestClient restClient, List<Header> headers, WebSocketAdapter messageListener)\n {\n log.info(\"Init WebSocketClient with config=\" + this.webSocketConfig + \" for this=\" + this.toString());\n this.wsPool.setMaxActive(this.webSocketConfig.getWsMaxActive());\n this.wsPool.setMaxIdle(this.webSocketConfig.getWsMaxIdle());\n this.wsPool.setMaxWait(this.webSocketConfig.getWsMaxWait());\n this.wsPool.setTestOnBorrow(true);\n this.wsPool.setTestOnReturn(true);\n this.wsPool.setWhenExhaustedAction(GenericObjectPool.WHEN_EXHAUSTED_BLOCK);\n \n \n this.webSocketPoolableConnectionFactory.init(restClient, this.webSocketConfig, headers, messageListener);\n this.wsPool.setFactory(this.webSocketPoolableConnectionFactory);\n for (int i = 0; i < this.wsPool.getMaxActive(); ++i)\n {\n try\n {\n this.wsPool.addObject();\n }\n catch (Exception e)\n {\n log.error(\"Encountered issue creating WebSocket in pool. \" + e);\n throw new RuntimeException(\"Encountered issue creating WebSocket in pool. \", e);\n }\n }\n\n this.isInitialized = true;\n }",
"private void initialize(){\n\t\ttry\n\t\t{\n\t\t\tString[] packet = setPacket();\n\t\t\tif (validatePacket(packet))\n\t\t\t{\n\t\t\t\tsend(packet);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\tSystem.out.println(\"Something went wrong...\");\n\t\t\tresetClient();\n\t\t}\n\t}",
"public void init() {\n cupDataChangeListener = new CupDataChangeListener(dataBroker);\n }",
"public GameServerClient(){\r\n\t\tinitComponents();\r\n\t\t}",
"public void init() {\n\t\ttry {\n\t\t\tthis.is = new ObjectInputStream(clientSocket.getInputStream());\n\t\t\tthis.os = new ObjectOutputStream(clientSocket.getOutputStream());\n\t\t\twhile (this.readCommand()) {}\n\t\t} \n\t\tcatch (IOException e) \n\t\t{\n\t\t\tSystem.out.println(\"XX. There was a problem with the Input/Output Communication:\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\tpublic void onStart() {\n\n\t\tsuper.onStart();\n\n\t\t/*\n\t\t * Connect the client. Don't re-start any requests here;\n\t\t * instead, wait for onResume()\n\t\t */\n\t\tmLocationClient.connect();\n\t}",
"@Override\n\tprotected void initListeners() {\n\t\t\n\t}",
"@Override\n public void start(ClientStreamListener listener) {\n checkState(this.listener == null, \"stream already started\");\n this.listener = checkNotNull(listener, \"listener\");\n }",
"public Client() {}",
"private void ccListenerStarter(){\n\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t//spin off new ccListener\n\t\t\t\t\n\t\t\t\tThread listenerThread = new Thread(\n\t\t\t\t\t\tnew ClientCommunicatorListener(\n\t\t\t\t\t\t\t\tccSocket.getInputStream(), db, this));\n\t\t\t\t\n\t\t\t\tlistenerThread.start();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t} catch (IOException e) {\n\t\t\t\n\t\t\t\te.printStackTrace();\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}",
"public static void initCommunicationClientThread(){\r\n new CommunicationClientThread();\r\n }",
"private void init() {\n listeners = new PropertyChangeSupport(this);\n }",
"public void startListeningForConnection() {\n startInsecureListeningThread();\n }",
"public GetConnListener() {\n }",
"public void setConnectionEstablishedListener()\r\n\t{\r\n\t\tchatModel.getConnectionEstablishedProperty().addListener(\r\n\t\t\t\tnew ChangeListener<Object>()\r\n\t\t\t\t{\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void changed(\r\n\t\t\t\t\t\t\tObservableValue<? extends Object> observable,\r\n\t\t\t\t\t\t\tObject oldValue, Object newValue)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (chatModel.isConnectionEstablished())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tenableChat();\r\n\t\t\t\t\t\t\tdeconnecterButton.setDisable(false);\r\n\t\t\t\t\t\t\tbuttonConnexion.setDisable(true);\r\n\t\t\t\t\t\t} else\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdisableChat();\r\n\t\t\t\t\t\t\tbuttonConnexion.setDisable(false);\r\n\t\t\t\t\t\t\tdeconnecterButton.setDisable(true);\r\n\t\t\t\t\t\t\tserver.closeServerSockets();\r\n\t\t\t\t\t\t\tserver.startOpenSocketThread();\r\n\t\t\t\t\t\t\tserver.startReceiveMessageThread();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t}",
"@Override\n public void initialize(URL location, ResourceBundle resources) {\n new Thread( ()-> {\n try {\n //Start the server\n ServerSocket serverSocket = new ServerSocket(8080);\n\n //show in terminal server has started\n System.out.println(\"Server Started: at \" + new Date() + \"\\n\");\n\n //main loop that will accept connections\n while (true) {\n //accept a new socket connection, this socket comes from client\n Socket clientSocket = serverSocket.accept();\n\n //thread that will handle what to do with new socket\n new Thread(new HandleAclient(clientSocket)).start();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }).start();\n\n }",
"public void onCreate() {\n Log.i(TAG, \"MinaClient create\");\r\n\r\n Thread thread = new Thread(this);\r\n thread.start();\r\n\r\n CommandHandle.getInstance().setContext(getApplicationContext());\r\n }",
"public Client() {\n }",
"public void initialize() {\r\n\r\n\t\t/** URL of the ActiveMQ broker, prepended by transport protocol **/\r\n\t\tString brokerUrl = config.getConfig().getString(\"broker_url\");\r\n\r\n\t\t/** Topic to subscribe to for receiving access to all notifications **/\r\n\t\tString topicName = config.getConfig().getString(\"topic\");\r\n\r\n\t\t/** Username for authenticating with the ActiveMQ broker **/\r\n\t\tString userName = config.getConfig().getString(\"user\");\r\n\r\n\t\t/** The password corresponding to the username **/\r\n\t\tString password = config.getConfig().getString(\"password\");\r\n\r\n\t\t// Creates a connection\r\n\t\tActiveMQSslConnectionFactory connectionFactory = new ActiveMQSslConnectionFactory(\r\n\t\t\t\tbrokerUrl);\r\n\r\n\t\t// Setting the trust manager to the connection factory\r\n\t\tconnectionFactory.setKeyAndTrustManagers(null, trustedCerts,\r\n\t\t\t\tnew SecureRandom());\r\n\t\tconnectionFactory.setWatchTopicAdvisories(false);\r\n\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tif (logger.isDebugEnabled()){\r\n\t\t\t\tlogger.debug(\"creating connection to \" + brokerUrl);\r\n\t\t\t}\r\n\t\t\t// Connect to the broker\r\n\t\t\tConnection connection = connectionFactory.createConnection(\r\n\t\t\t\t\tuserName, password);\r\n\r\n\t\t\t// Creating session for sending messages\r\n\t\t\tsession = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);\r\n\t\t\tconnection.start();\r\n\r\n\t\t\t// Creating the topic (i.e. creating a link to the already existing\r\n\t\t\t// one on the broker)\r\n\t\t\tTopic topic = session.createTopic(topicName);\r\n\r\n\t\t\t// MessageConsumer is used for receiving (consuming) messages from\r\n\t\t\t// the topic (above given threshold)\r\n\t\t\tMessageConsumer consumer = session.createConsumer(topic);\r\n\t\t\tconsumer.setMessageListener(this);\r\n\r\n\t\t\tif (logger.isDebugEnabled()) {\r\n\t\t\t\tlogger.debug(\"Connection to Notification with Id \"\r\n\t\t\t\t\t\t+ connection.getClientID() + \" Listening for messages\");\r\n\t\t\t}\r\n\r\n\t\t} catch (JMSException e) {\r\n\t\t\tsession = null;\r\n\t\t\tlogger.error(\"[JMS Exception] \" + e.getMessage());\r\n\t\t}\r\n\t}",
"@Override\r\n \tpublic void clientConnectedCallback(RoMClient newClient) {\r\n \t\t// Add new client and start listening to this one\r\n \t\tthis.clients.addClient(newClient);\r\n \r\n \t\t// Create the ReceiveClientCommandThread for this client\r\n \t\tReceiveClientCommandThread receiveCommandThread = new ReceiveClientCommandThread(newClient, this, this);\r\n \t\treceiveCommandThread.start();\r\n \r\n \t\t// Create the CommandQueue Thread for this client\r\n \t\tClientCommandQueueThread commandQueueThread = new ClientCommandQueueThread(newClient);\r\n \t\tcommandQueueThread.start();\r\n \t}",
"@Override\n\tpublic void teleopInit() {\n\t\tbeenEnabled = true;\n\t\tif(!socket){\n\t\t\tlogger.startSocket(); socket = true;\n\t\t}\n\t}",
"@Override\n\tpublic void onInitializeClient()\n\t{\n\t\t\n\t\tEntityRenderers.doRegister();\n\t\tKeyBindings.doRegister();\n\t}",
"private void initialize() {\n\t\tservice = KCSClient.getInstance(this.getApplicationContext(), new KinveySettings(APP_KEY, APP_SECRET));\n\n BaseKinveyDataSource.setKinveyClient(service);\n }",
"private void initiateClient(){\n btnNewGame.addActionListener(clientAction);\n btnNewGame.setActionCommand(\"NEWGAME\");\n btnQuit.addActionListener(clientAction);\n btnQuit.setActionCommand(\"QUIT\");\n btnResign.addActionListener(clientAction);\n btnResign.setActionCommand(\"RESIGN\");\n btnSendMsg.addActionListener(clientAction);\n btnSendMsg.setActionCommand(\"CHAT\");\n\n setButtons(false);\n btnNewGame.setEnabled(false);\n boardComponent.initiate();\n }",
"@Override\n public void initialize() {\n\n try {\n /* Bring up the API server */\n logger.info(\"loading API server\");\n apiServer.start();\n logger.info(\"API server started. Say Hello!\");\n /* Bring up the Dashboard server */\n logger.info(\"Loading Dashboard Server\");\n if (dashboardServer.isStopped()) { // it may have been started when Flux is run in COMBINED mode\n dashboardServer.start();\n }\n logger.info(\"Dashboard server has started. Say Hello!\");\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }",
"public static void start() {\n assert sListener == null;\n sListener = new ResourceListener();\n ResourceManager.getInstance().addListener(sListener);\n }",
"public void initReceiver() {\n }",
"public Client() {\n\t\t// TODO Auto-generated constructor stub\n\t}",
"private void init() {\n\n\t\tgroup = new NioEventLoopGroup();\n\t\ttry {\n\t\t\thandler = new MoocHandler();\n\t\t\tBootstrap b = new Bootstrap();\n\t\t\t\n\t\t\t\n\t\t\t//ManagementInitializer ci=new ManagementInitializer(false);\n\t\t\t\n\t\t\tMoocInitializer mi=new MoocInitializer(handler, false);\n\t\t\t\n\t\t\t\n\t\t\t//ManagemenetIntializer ci = new ManagemenetIntializer(handler, false);\n\t\t\t//b.group(group).channel(NioSocketChannel.class).handler(handler);\n\t\t\tb.group(group).channel(NioSocketChannel.class).handler(mi);\n\t\t\tb.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000);\n\t\t\tb.option(ChannelOption.TCP_NODELAY, true);\n\t\t\tb.option(ChannelOption.SO_KEEPALIVE, true);\n\n\t\t\t// Make the connection attempt.\n\t\t\tchannel = b.connect(host, port).syncUninterruptibly();\n\n\t\t\t// want to monitor the connection to the server s.t. if we loose the\n\t\t\t// connection, we can try to re-establish it.\n\t\t\tChannelClosedListener ccl = new ChannelClosedListener(this);\n\t\t\tchannel.channel().closeFuture().addListener(ccl);\n\t\t\tSystem.out.println(\" channle is \"+channel);\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(\"failed to initialize the client connection\", ex);\n\n\t\t}\n\n\t\t// start outbound message processor\n\t//\tworker = new OutboundWorker(this);\n\t//\tworker.start();\n\t}",
"public Client() {\n initComponents();\n \n Server server = new Server();\n server.start();\n \n }",
"@Override\r\n\tpublic void onInit(int status) {\n\t\t\r\n\t}",
"private ClientLoader() {\r\n }",
"public void bluetooth_setup_client()\r\n {\n\r\n\t\tIntentFilter filter = new IntentFilter();\r\n\t\tfilter.addAction(BluetoothDevice.ACTION_FOUND);\r\n\t\tfilter.addAction(BluetoothAdapter.ACTION_DISCOVERY_FINISHED);\r\n\t\tif(client_receiver != null) {\r\n\t\t\tLoaderActivity.m_Activity.unregisterReceiver(client_receiver);\r\n\t\t}\r\n\t\tclient_receiver = new Bluetooth_Device_Found_Revicer();\r\n\t\tLoaderActivity.m_Activity.registerReceiver(client_receiver, filter);\r\n\t\tbluetooth_adapter.startDiscovery();\r\n\t\tmessages.clear();\r\n }",
"@PostConstruct\n public void init() {\n rest.put(\"http://authenticationServer:8080/bot\", info);\n AuthServerChecker checker = new AuthServerChecker(name);\n checker.start();\n }",
"public Client() {\r\n\t// TODO Auto-generated constructor stub\r\n\t \r\n }",
"@Override\n\tpublic void createClient() {\n\t\t\n\t}",
"private static void initializeClient(Client client) {\n\t\tclient.setReportFolder(reportFolder);\n\t\tString[] statArray = new String[statTypes.size()];\n\t\tstatTypes.keySet().toArray(statArray);\n\t\tclient.setStatTypes(statArray);\n\t}",
"@Override\r\n\tpublic void initial() {\n\t\ttry {\r\n\t\t\tserverSocket = new ServerSocket(port);\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t// System.out.println(\"LocalProxy run on \" + port);\r\n\t}",
"public final void init() {\n onInit();\n }",
"public void startListener() throws IOException {\n\t\tthis.listener = new ServerSocket(this.port);\n\n Runnable serverThread = new Runnable() {\n @Override\n public void run() {\n try {\n System.out.println(\"Waiting for clients to connect...\");\n\n while (true) {\n \t// Wait for connections\n Socket newSocket = listener.accept();\n\n // Init new peer and add it to our list\n PeerCommunicator newCommunication = new PeerCommunicator(id, \"\", newSocket);\n activePeers.add(newCommunication);\n\n // Span new thread\n Thread clientThread = new Thread(new ReceivedConnection(newCommunication, fm));\n clientThread.start();\n }\n } catch (Exception e) {\n System.err.println(\"Unable to process incoming client\");\n e.printStackTrace();\n }\n }\n };\n\n // Start it up\n (new Thread(serverThread)).start();\n\n // Once everything's good, mark server as running\n //this.status = Status.RUNNING;\n\t}",
"void onListeningStarted();",
"private void initBinding() throws IOException {\n serverSocketChannel.bind(new InetSocketAddress(0));\n serverSocketChannel.configureBlocking(false);\n serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n\n sc.configureBlocking(false);\n var key = sc.register(selector, SelectionKey.OP_CONNECT);\n uniqueContext = new ClientContext(key, this);\n key.attach(uniqueContext);\n sc.connect(serverAddress);\n }",
"public ServerConnecter() {\r\n\r\n\t}",
"public RedisClient() {\n init();\n }",
"@Override\n\tpublic void StartListening()\n\t{\n\t\t\n\t}",
"@Override\n public void autonomousInit() {\n }",
"@Override\n public void autonomousInit() {\n }",
"public void setInitializationListener(SdkInitializationListener sdkInitializationListener) {\n this.mInitializationListener = sdkInitializationListener;\n if (this.initialized) {\n reportInitializationComplete();\n }\n }",
"public static void init() {\r\n load();\r\n registerEventListener();\r\n }",
"private void setListener() {\n\t}",
"@Override\n public void initialize(URL url, ResourceBundle rb) {\n // TODO\n prepareSystemStatusListeners();\n }",
"private void init() {\n initView();\n setListener();\n }",
"@Override\npublic void onInit(int status) {\n\t\n\t\t\t\t\t\t\t\t}",
"public Conversation(Connection _client, ResponseListener _listener)\n\t{\n\t\tmListener = _listener;\n\t\tmClient = _client;\n\t}",
"public Client() {\n _host_name = DEFAULT_SERVER;\n _port = PushCacheFilter.DEFAULT_PORT_NUM;\n }",
"@Override\n public void initialize() {\n swerve = SwerveControl.getInstance();\n }",
"public void addListener(ClientConnectionListener l) {\n listeners.add(l);\n }",
"public void onStart() {\n\t\tnew Thread() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tinitConnection();\n\t\t\t\treceive();\n\t\t\t}\n\t\t}.start();\n\t}",
"public TcpClient(OnMessageReceived listener, String ip) {\n this.serverIp = ip;\n this.messageListener = listener;\n }",
"public ClientLoginService(){\n this(MessageConnection.CHANNEL_DEFAULT_RELIABLE);\n }",
"private void initListener() {\n initPieceListener();\n initButtonsListener();\n }",
"@Override\r\n\tpublic void startup() {\n\t\t\r\n\t\tString wechatID = \"gh_f49bb9a333b3\";\r\n\t\tString Token = \"spotlight-wechat\";\r\n\t\t\r\n\t\tNoIOClient client = new NoIOClient(\"mg.protel.com.hk\",5010);\r\n\t\tclient.addCRouter(wechatID, Token,null,null);\r\n\t\t\r\n\t\tclient.startup();\r\n\r\n\t}",
"public ClientEventCallback(ClientManagerModel state, Client client) {\n\t\tthis.state = state;\n\t\tthis.client = client;\n\t}",
"public interface ClientListener {\n\t/**\n\t * Fired when client list should be updated\n\t * \n\t * @param clients Array of clients\n\t */\n void onClientsUpdated(String[] clients);\n \n /**\n * Fired when a message has been received\n * \n * @param message Message that was received\n */\n void onMessageReceived(Message message);\n \n /**\n * Fired when client has been disconnected from server\n */\n void onDisconnected();\n}",
"public abstract void onInit();",
"public Registration() {\r\n initComponents();\r\n handler = new ClientSocketHandler();\r\n }"
] | [
"0.7432462",
"0.70871586",
"0.70284635",
"0.7025984",
"0.6996248",
"0.6961657",
"0.68849903",
"0.687012",
"0.6810954",
"0.67662245",
"0.6753681",
"0.6725893",
"0.6679522",
"0.6671777",
"0.66692746",
"0.6632078",
"0.65840316",
"0.65494317",
"0.6539174",
"0.6525422",
"0.6490012",
"0.64870816",
"0.64501894",
"0.6418908",
"0.6411404",
"0.64022374",
"0.63693374",
"0.6350786",
"0.6338675",
"0.63084346",
"0.62775743",
"0.6254318",
"0.624826",
"0.6238281",
"0.6236059",
"0.62271655",
"0.62219596",
"0.62197",
"0.61950195",
"0.61892337",
"0.6178399",
"0.6174843",
"0.6163313",
"0.6156596",
"0.6151185",
"0.61487365",
"0.6143721",
"0.6142626",
"0.61397463",
"0.6138032",
"0.61341566",
"0.611534",
"0.61113197",
"0.610344",
"0.6097531",
"0.6094923",
"0.60938233",
"0.6088889",
"0.6086578",
"0.60855407",
"0.6066043",
"0.6063117",
"0.60591483",
"0.6037565",
"0.6032572",
"0.6027571",
"0.6024349",
"0.6016002",
"0.6008395",
"0.59839416",
"0.59826213",
"0.59802115",
"0.596952",
"0.59527504",
"0.59483135",
"0.59445786",
"0.5942621",
"0.59380686",
"0.5933776",
"0.59330946",
"0.59214884",
"0.59214884",
"0.59190756",
"0.5918206",
"0.5917641",
"0.59164643",
"0.5915203",
"0.5912367",
"0.5911002",
"0.5903738",
"0.5886088",
"0.58844805",
"0.5882998",
"0.5880817",
"0.5879721",
"0.5878604",
"0.5874573",
"0.586799",
"0.58661574",
"0.58577317",
"0.58576024"
] | 0.0 | -1 |
Allows client to initialize private messenger | @Override
public void initMp(String idComponent, ArrayList<_User> usersTargets) throws RemoteException, SQLException {
for (_User u : usersTargets) {
ListenerClient.get(u).onNewPrivateMessenger(idComponent);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TCPMessengerServer() {\n initComponents();\n customInitComponents();\n listenForClient(); \n }",
"public abstract void initialize(P msg);",
"ClientMessageSender() {\n\n\t}",
"private SocketMessage() {\n initFields();\n }",
"private ManualMessage() {\n initFields();\n }",
"private void initMsgs() {\n }",
"private void initMsgs() {\n }",
"private void init() {\n\t\tsendPacket(new Packet01Login(\"[you have connected to \"+UPnPGateway.getMappedAddress()+\"]\", null));\n\t}",
"public void initReceiver() {\n }",
"private void init(Bundle savedInstanceState) {\n messageManager = new MessageManager();\n }",
"protected void onPrivateMessage(String sender, String login, String hostname, String message) {}",
"void setupExternalMessages();",
"public synchronized UIMessageReply init() {\n final UIMessageRequest req = UIMessageRequest.newBuilder()\n .setCode(UIMessageRequestCode.REQ_INITIALIZE)\n .setSleeptime(this.sleepTime)\n .build();\n\n return ss.sendRecv(req);\n }",
"public void init() {\n // message = \"Hello World!\";\n }",
"private void initialize(){\n\t\ttry\n\t\t{\n\t\t\tString[] packet = setPacket();\n\t\t\tif (validatePacket(packet))\n\t\t\t{\n\t\t\t\tsend(packet);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\tSystem.out.println(\"Something went wrong...\");\n\t\t\tresetClient();\n\t\t}\n\t}",
"private Messages() {\n\t}",
"public ClientLoginService(){\n this(MessageConnection.CHANNEL_DEFAULT_RELIABLE);\n }",
"public void initWithCachedInAppMessages() {\n }",
"private HeartBeatMessage() {\n initFields();\n }",
"private Conversation()\n {\n }",
"public void init() {\r\n\t\ttry {\r\n\t\t\tmessages = new ConcurrentLinkedDeque<>();\r\n\t\t\tout = sock.getOutputStream();\r\n\t\t\tin = sock.getInputStream();\t\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tstartMessageThread();\r\n\t}",
"public MessageManager() {\n }",
"public ChatClient() {\n\n }",
"@SuppressWarnings(\"unchecked\")\n\tprivate void initComponents() {\n\t\t//System.out.println(\"----------------------------Welcome Sip client---------------------------------------------\");\n\t\tiniStack();\n\t\t//onInvite(sendTo,message);\n//\t\tonRegisterStateless();\n\n\t}",
"private MessageBundle() {\r\n // Nothing to do here.\r\n }",
"public MessageManager() {\n this.messageList = new HashMap<>();\n }",
"private MatterAgentClient() {}",
"public Communicator() {\n\t}",
"public addPassenger() {\n initComponents();\n }",
"public GlobalChat() {\r\n // Required empty public constructor\r\n }",
"private void setupChat() {\n chatService = new BluetoothChatService(NavigationDrawerActivity.this, mHandler);\n\n }",
"private ChatUI()\n\t{\n\t}",
"@Override\n\tpublic void onInitializeClient() {\n\n\t\tconfig = ConfigManager.loadConfig(AutoReplyConfig.class);\n\n\t\tregisterCommands();\n\n\t\tHelper.setupChatMessages();\n\n\t\tKeyBindingRegistry.INSTANCE.addCategory(\"ckosmic.autoreply\");\n\t\tkeyBinding = FabricKeyBinding.Builder.create(\n\t\t\t\tnew Identifier(\"ckosmic:autoreply\"),\n\t\t\t\tInputUtil.Type.KEYSYM,\n\t\t\t\tGLFW.GLFW_KEY_R,\n\t\t\t\t\"ckosmic.autoreply\"\n\t\t).build();\n\t\tKeyBindingRegistry.INSTANCE.register(keyBinding);\n\n\t\tClientTickCallback.EVENT.register(e -> {\n\t\t\tif(keyBinding.wasPressed()) {\n\t\t\t\tarreload();\n\t\t\t\te.player.addChatMessage(new StringTextComponent(\"AutoReply config reloaded.\"), false);\n\t\t\t}\n\t\t});\n\t}",
"public void teleopInit() {\n \n }",
"public Intermediary()\r\n\t{\r\n\t\ttry {\r\n\t\t\treceiveSocket = new DatagramSocket(68);\r\n\t\t\tsendReceiveSocket = new DatagramSocket();\t\t\t\r\n\t\t\t\r\n\t\t} catch (SocketException se) {\r\n\t\t\tse.printStackTrace();\r\n\t\t\tSystem.exit(1);\r\n\t\t} \r\n\t\t\r\n\t\treqID = 1;\r\n\t\tSystem.out.println(\"===== INTERMEDIATE HOST STARTED =====\\n\");\r\n\t}",
"public void start() throws LoginFailedException {\n\t\ttry {\n\t\t\tServerSocket socket = new ServerSocket(0, 0, InetAddress.getByName(\"192.168.1.122\"));\n\t\t\tInetAddress address = socket.getInetAddress();\n\t\t\tint port = socket.getLocalPort();\n\n\t\t\t/* ServerSocket opened just to get free port */\n\t\t\tsocket.close();\n\n\t\t\tBindings bindings = new Bindings().addAddress(address);\n\t\t\tpeer = new PeerBuilderDHT(new PeerBuilder(new Number160(random)).bindings(bindings).ports(port).start()).start();\n\t\t\tSystem.out.println(\"Created peer with ID: \" + peer.peerID().toString());\n\n\t\t\t/* Specifies what to do when message is received */\n\t\t\tpeer.peer().objectDataReply(new ObjectDataReply() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic Object reply(PeerAddress sender, Object request) throws Exception {\n\t\t\t\t\tif (request instanceof String) {\n\t\t\t\t\t\tString payload = (String) request;\n\t\t\t\t\t\tint notaryAndIDSeparatorIndex = payload.indexOf(\"_\");\n\t\t\t\t\t\tint idAndUsernameSeparatorIndex = payload.indexOf(\"_\", notaryAndIDSeparatorIndex+1);\n\t\t\t\t\t\tint usernameAndMessageSeparatorIndex = payload.lastIndexOf(\"_\");\n\t\t\t\t\t\tif (notaryAndIDSeparatorIndex > 0 && idAndUsernameSeparatorIndex > 0 && usernameAndMessageSeparatorIndex > 0) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tString notary = payload.substring(0, notaryAndIDSeparatorIndex);\n\t\t\t\t\t\t\t\tboolean isSigned = false;\n\t\t\t\t\t\t\t\tif(notary.compareTo(\"0\") == 0) {\n\t\t\t\t\t\t\t\t\tisSigned = false;\n\t\t\t\t\t\t\t\t} else if (notary.compareTo(\"1\") == 0) {\n\t\t\t\t\t\t\t\t\tisSigned = true;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif(delegate != null) {\n\t\t\t\t\t\t\t\t\t\tdelegate.didReceiveMessage(null, null, null, P2PReceiveMessageError.INVALID_MESSAGE_FORMAT);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tString messageIDStr = payload.substring(notaryAndIDSeparatorIndex + 1, idAndUsernameSeparatorIndex);\n\t\t\t\t\t\t\t\tlong messageID = Long.parseLong(messageIDStr);\n\t\t\t\t\t\t\t\tString username = payload.substring(idAndUsernameSeparatorIndex+1, usernameAndMessageSeparatorIndex);\n\t\t\t\t\t\t\t\tString message = payload.substring(usernameAndMessageSeparatorIndex+1, payload.length());\n\n\t\t\t\t\t\t\t\tMessage messageObj = new Message();\n\t\t\t\t\t\t\t\tmessageObj.setMessage(message);\n\t\t\t\t\t\t\t\tmessageObj.setNotary(isSigned);\n\t\t\t\t\t\t\t\tContact contact = new Contact(username);\n\t\t\t\t\t\t\t\tMessageResult result = new MessageResult(messageID);\n\n\t\t\t\t\t\t\t\tFutureDirect ackMessage = peer.peer().sendDirect(sender).object(\"ack_\" + messageID).start();\n\t\t\t\t\t\t\t\tackMessage.addListener(new BaseFutureAdapter<FutureDirect>() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void operationComplete(FutureDirect future) throws Exception {\n\t\t\t\t\t\t\t\t\t\tif (future.isSuccess()) {\n\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"Successfully acknowledged incoming message!\");\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tSystem.err.println(\"Failed to acknowledge incoming message!\");\n\t\t\t\t\t\t\t\t\t\t\tSystem.err.println(\"Reason is: \" + future.failedReason());\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\t\tdelegate.didReceiveMessage(messageObj, contact, result, null);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (NumberFormatException nfe) {\n\t\t\t\t\t\t\t\tSystem.err.println(\"Failed casting message ID to long!\");\n\t\t\t\t\t\t\t\tnfe.printStackTrace();\n\n\t\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\t\tdelegate.didReceiveMessage(null, null, null, P2PReceiveMessageError.INVALID_MESSAGE_FORMAT);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (payload.startsWith(\"ack\") && payload.indexOf(\"_\") > 0) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tString messageIDStr = payload.substring(payload.indexOf(\"_\")+1, payload.length());\n\t\t\t\t\t\t\t\tlong messageID = Long.parseLong(messageIDStr);\n\t\t\t\t\t\t\t\tMessageResult result = new MessageResult(messageID);\n\t\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\t\tdelegate.didReceiveAck(result, null);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (NumberFormatException nfe) {\n\t\t\t\t\t\t\t\tSystem.err.println(\"Failed casting message ID to long!\");\n\t\t\t\t\t\t\t\tnfe.printStackTrace();\n\n\t\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\t\tdelegate.didReceiveAck(null, P2PReceiveMessageError.INVALID_MESSAGE_FORMAT);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if(payload.compareTo(\"ping\") == 0) {\n\t\t\t\t\t\t\tFutureDirect pingACKMessage = peer.peer().sendDirect(sender).object(\"pingACK_\" + peerInfo.getUsername()).start();\n\t\t\t\t\t\t\tpingACKMessage.addListener(new BaseFutureAdapter<FutureDirect>() {\n\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void operationComplete(FutureDirect future) throws Exception {\n\t\t\t\t\t\t\t\t\tif (future.isFailed()) {\n\t\t\t\t\t\t\t\t\t\tSystem.err.println(\"Failed to send ping ACK!\");\n\t\t\t\t\t\t\t\t\t\tSystem.err.println(\"Reason is: \" + future.failedReason());\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"Successfully sent ping ACK message!\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if(payload.startsWith(\"pingACK_\")) {\n\t\t\t\t\t\t\tString username = payload.substring(payload.indexOf(\"_\") + 1, payload.length());\n\t\t\t\t\t\t\tContact contact = new Contact(username);\n\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\tdelegate.didUpdateOnlineStatus(contact, true, null);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t\tdelegate.didReceiveMessage(null, null, null, P2PReceiveMessageError.INVALID_MESSAGE_FORMAT);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (delegate != null) {\n\t\t\t\t\t\t\t delegate.didReceiveMessage(null, null, null, P2PReceiveMessageError.INVALID_MESSAGE_FORMAT);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tpeerInfo.setInetAddress(address);\n\t\t\tpeerInfo.setPort(port);\n\t\t\tpeerInfo.setPeerAddress(peer.peerAddress());\n\n\t\t\tSystem.out.println(\"Client peer started on IP \" + address + \" on port \" + port);\n\t\t\tSystem.out.println(\"Bootstrapping peer...\");\n\t\t\tbootstrap();\n\t\t} catch (IOException ie) {\n\t\t\tie.printStackTrace();\n\n\t\t\tif (delegate != null) {\n\t\t\t\tdelegate.didLogin(null, P2PLoginError.SOCKET_OPEN_ERROR);\n\t\t\t}\n\t\t}\n\t}",
"public Communicator() {\n }",
"public Communicator() {\n }",
"@Override\r\n\tpublic void startup() {\n\t\t\r\n\t\tString wechatID = \"gh_f49bb9a333b3\";\r\n\t\tString Token = \"spotlight-wechat\";\r\n\t\t\r\n\t\tNoIOClient client = new NoIOClient(\"mg.protel.com.hk\",5010);\r\n\t\tclient.addCRouter(wechatID, Token,null,null);\r\n\t\t\r\n\t\tclient.startup();\r\n\r\n\t}",
"private Message(){\n // default constructor\n }",
"public void init() {\n ContainerProperties containerProperties = buildContainerProperties();\n this.messageListenerContainer = buildMessageListenerContainer( consumerFactory, containerProperties );\n }",
"private SimpleChatUI() {\n initComponents();\n convo = null;\n setConnStatus(false);\n jMessageEntry.addActionListener(new java.awt.event.ActionListener() {\n @Override\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jSendButtonActionPerformed(evt);\n }\n });\n }",
"public Communicator() {\n\t\tmutex = new Lock();\n\t\tmessage = null;\n\t\tspeakers = new Condition2(mutex);\n\t\tlisteners = new Condition2(mutex);\n\t\tacknowledge = new Condition2(mutex);\n\t}",
"private void setupSender() {\r\n\t\ttheSender = new AutoSender();\r\n\t}",
"public void init(){\n\t\tmultiplexingClientServer = new MultiplexingClientServer(selectorCreator);\n\t}",
"private static void initializeMessages() {\n messages = ResourceBundle.getBundle(\"org.apache.ws.commons.tcpmon.tcpmon\");\n }",
"public void init() {\n\t\tXMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()\r\n//\t\t .setUsernameAndPassword(\"pwf\", \"123456\")\r\n//\t\t\t\t .setServiceName(\"bdht-2016051604\")\r\n\t\t\t\t .setServiceName(\"bdht-2016051604\")\r\n\t\t\t\t .setHost(\"bdht-2016051604\")\r\n\t\t\t\t .setSecurityMode(SecurityMode.disabled)\r\n//\t\t\t\t .setCustomSSLContext(context)\r\n\t\t\t\t \r\n//\t\t .setHost(\"bdht-2016051604\")\r\n//\t\t .setPort(5222)\r\n\t\t .build();\r\n\r\n\t\tAbstractXMPPConnection connection = new XMPPTCPConnection(config);\r\n\t\t\r\n\r\n//\t\tAbstractXMPPConnection conn = new XMPPTCPConnection(\"pwf\", \"123456\", \"BDHT-2016051604\");\r\n//\t\tAbstractXMPPConnection conn = new XMPPTCPConnection(\"pwf\", \"123456\", \"192.168.1.121\");\r\n\t\t\r\n\t\ttry {\r\n\t\t\tconnection.connect();\r\n\t\t\t\r\n\t\t\tconnection.login(\"pwf1\", \"123456\");\r\n\t\t\t\r\n\t\t} catch (SmackException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t} catch (XMPPException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println(connection.getUser());\r\n\t\t\r\n\t\tChatManager chatmanager = ChatManager.getInstanceFor(connection);\r\n\t\tChat newChat = chatmanager.createChat(\"admin\");\r\n\t\t\r\n//\t\tChat newChat = chatmanager.createChat(\"jsmith@jivesoftware.com\", new MessageListener() {\r\n//\t\t\tpublic void processMessage(Chat chat, Message message) {\r\n//\t\t\t\tSystem.out.println(\"Received message: \" + message);\r\n//\t\t\t}\r\n//\t\t});\r\n\t\t\r\n\t\ttry {\r\n\t\t\tnewChat.sendMessage(\"hello!!\");\r\n\t\t} catch (NotConnectedException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t\t\t\r\n\t\t}\r\n//\t\tconnection.get\r\n//\t\tconnection.getChatManager().createChat(\"shimiso@csdn.shimiso.com\",null).sendMessage(\"Hello word!\");\r\n\t\t\r\n\t\tconnection.disconnect();\r\n\t\t\r\n\t\tSystem.out.println(\"end\");\r\n\t}",
"private void initialize() {\r\n\t\tfrmChatApplicationClient = new JFrame();\r\n\t\tfrmChatApplicationClient.addWindowListener(new WindowAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void windowClosing(WindowEvent arg0) {\r\n\t\t\t\r\n\t\t\t\tif(connected){\r\n\t\t\t\tclient.sendMessage(\"clientclosed\");\r\n\t\t\t\tclient.close();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tbtnRemove = new JButton(\"Remove!\");\r\n\t\tbtnRemove.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\r\n\t\t\t\tString nick = nickname.getText();\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\tString user = LoginUsername.getText();\r\n\t\t\t\tif((!nick.equals(\"\")) && (!nick.equals(user))){\r\n\t\t\t\t\r\n\t\t\t\tclient.sendMessage(\"removeclient\");\r\n\t\t\t\tclient.sendMessage(nick);\r\n\t\t\t\t}\t\r\n\t\t\t\telse if(nick.equals(user)){\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"You can remove yourself from system\", \"Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\r\n\t\t\t\t}\r\n\t\t\t\tnickname.setText(\"\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\tRestart = new JButton(\"Restart\");\r\n\t\tRestart.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tclient.sendMessage(\"restart\");\r\n\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tbtnSendPrivateMessage = new JButton(\"Send private message\");\r\n\t\tbtnSendPrivateMessage.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tString pmtext=pmtextfield.getText();\r\n\t\t\t\tString pmnick = pmnickname.getText();\r\n\t\t\t\t\t\r\n\t\t\t\tif (pmtext.equals(\"\") || pmnick.equals(\"\")){\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"Make sure to enter message and receiver\", \"Private Message Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse if(pmnick.equals(LoginUsername.getText())){\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"You can send private message to your self\", \"Private Message Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tString pmmsg = pmtextfield.getText();\r\n\t\t\t\t\tString receiver = pmnickname.getText();\r\n\t\t\t\t\tclient.sendMessage(\"pm\");\r\n\t\t\t\t\tclient.sendMessage(receiver);\r\n\t\t\t\t\tclient.sendMessage(pmmsg);\r\n\t\t\t\r\n\t\t\t\t\tpmnickname.setText(\"\");\r\n\t\t\t\t\tpmtextfield.setText(\"\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfrmChatApplicationClient.getContentPane().setBackground(Color.LIGHT_GRAY);\r\n\t\tfrmChatApplicationClient.setResizable(false);\r\n\t\tfrmChatApplicationClient.getContentPane().setForeground(Color.WHITE);\r\n\t\tfrmChatApplicationClient.setTitle(\"Chat Client\");\r\n\t\tfrmChatApplicationClient.setBounds(100, 100, 752, 645);\r\n\t\tfrmChatApplicationClient.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tfrmChatApplicationClient.getContentPane().setLayout(null);\r\n\t\t\r\n\t\tJPanel RegisterPanel = new JPanel();\r\n\t\tRegisterPanel.setBorder(new LineBorder(Color.DARK_GRAY));\r\n\t\tRegisterPanel.setBounds(508, 11, 222, 176);\r\n\t\tfrmChatApplicationClient.getContentPane().add(RegisterPanel);\r\n\t\tRegisterPanel.setLayout(null);\r\n\t\t\t\r\n\t\tbtnRegister = new JButton(\"Register\");\r\n\r\n\t\tbtnRegister.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tbtnRegister.setBounds(10, 123, 202, 40);\r\n\t\tRegisterPanel.add(btnRegister);\r\n\t\t\r\n\t\tRegisterUsername = new JTextField();\r\n\t\tRegisterUsername.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tRegisterUsername.setBounds(126, 33, 86, 20);\r\n\t\tRegisterPanel.add(RegisterUsername);\r\n\t\tRegisterUsername.setColumns(10);\r\n\t\t\r\n\t\tRegisterPassword1 = new JPasswordField();\r\n\t\tRegisterPassword1.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tRegisterPassword1.setBounds(126, 64, 86, 20);\r\n\t\tRegisterPanel.add(RegisterPassword1);\r\n\t\t\r\n\t\tJLabel lblLogin = new JLabel(\"Username:\");\r\n\t\tlblLogin.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblLogin.setBounds(10, 36, 69, 14);\r\n\t\tRegisterPanel.add(lblLogin);\r\n\t\t\r\n\t\tJLabel lblPassword = new JLabel(\"Password:\");\r\n\t\tlblPassword.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblPassword.setBounds(10, 67, 69, 14);\r\n\t\tRegisterPanel.add(lblPassword);\r\n\t\t\r\n\t\tJLabel lblRegisterToUse = new JLabel(\"Create new Account\");\r\n\t\tlblRegisterToUse.setFont(new Font(\"Sitka Text\", Font.PLAIN, 15));\r\n\t\tlblRegisterToUse.setBounds(10, 11, 169, 14);\r\n\t\tRegisterPanel.add(lblRegisterToUse);\r\n\t\t\r\n\t\tRegisterPassword2 = new JPasswordField();\r\n\t\tRegisterPassword2.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tRegisterPassword2.setBounds(126, 95, 86, 20);\r\n\t\tRegisterPanel.add(RegisterPassword2);\r\n\t\t\r\n\t\tJLabel lblNewLabel = new JLabel(\"Repeat Password:\");\r\n\t\tlblNewLabel.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblNewLabel.setBounds(10, 98, 106, 14);\r\n\t\tRegisterPanel.add(lblNewLabel);\r\n\t\t\r\n\t\tJPanel Loginpanel = new JPanel();\r\n\t\tLoginpanel.setBorder(new LineBorder(Color.DARK_GRAY));\r\n\t\tLoginpanel.setBounds(10, 11, 187, 134);\r\n\t\tfrmChatApplicationClient.getContentPane().add(Loginpanel);\r\n\t\tLoginpanel.setLayout(null);\r\n\t\t\r\n\t\tJLabel lblLogin_1 = new JLabel(\"Login\");\r\n\t\tlblLogin_1.setFont(new Font(\"Sitka Text\", Font.PLAIN, 15));\r\n\t\tlblLogin_1.setBounds(10, 11, 46, 14);\r\n\t\tLoginpanel.add(lblLogin_1);\r\n\t\t\r\n\t\tJLabel lblUsername = new JLabel(\"Username:\");\r\n\t\tlblUsername.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblUsername.setBounds(10, 36, 79, 14);\r\n\t\tLoginpanel.add(lblUsername);\r\n\t\t\r\n\t\tJLabel lblPassword_1 = new JLabel(\"Password:\");\r\n\t\tlblPassword_1.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblPassword_1.setBounds(10, 65, 79, 14);\r\n\t\tLoginpanel.add(lblPassword_1);\r\n\t\t\r\n\t\tLoginUsername = new JTextField();\r\n\t\tLoginUsername.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tLoginUsername.setBounds(92, 33, 86, 20);\r\n\t\tLoginpanel.add(LoginUsername);\r\n\t\tLoginUsername.setColumns(10);\r\n\t\t\r\n\t\tLoginPassword = new JPasswordField();\r\n\t\tLoginPassword.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tLoginPassword.setBounds(92, 62, 86, 20);\r\n\t\tLoginpanel.add(LoginPassword);\r\n\t\t\r\n\t\tLoginbtn = new JButton(\"Login\");\r\n\t\t\t\r\n\t\tLoginbtn.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tLoginbtn.setBounds(10, 90, 168, 33);\r\n\t\tLoginpanel.add(Loginbtn);\r\n\t\t\r\n\t\t\r\n\t\tJPanel ServerInfopanel = new JPanel();\r\n\t\tServerInfopanel.setBorder(new LineBorder(Color.DARK_GRAY));\r\n\t\tServerInfopanel.setBounds(207, 11, 291, 134);\r\n\t\tfrmChatApplicationClient.getContentPane().add(ServerInfopanel);\r\n\t\tServerInfopanel.setLayout(null);\r\n\t\t\r\n\t\tJLabel lblServerInfo = new JLabel(\"Server Info\");\r\n\t\tlblServerInfo.setFont(new Font(\"Sitka Text\", Font.PLAIN, 15));\r\n\t\tlblServerInfo.setBounds(10, 11, 139, 14);\r\n\t\tServerInfopanel.add(lblServerInfo);\r\n\t\t\r\n\t\tJLabel lblServer = new JLabel(\"Server Address:\");\r\n\t\tlblServer.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblServer.setBounds(10, 36, 92, 14);\r\n\t\tServerInfopanel.add(lblServer);\r\n\t\t\r\n\t\tJLabel lblServerPort = new JLabel(\"Server Port:\");\r\n\t\tlblServerPort.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tlblServerPort.setBounds(10, 61, 92, 14);\r\n\t\tServerInfopanel.add(lblServerPort);\r\n\t\t\r\n\t\tServerAddress = new JTextField();\r\n\t\tServerAddress.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tServerAddress.setText(\"127.0.0.1\");\r\n\t\tServerAddress.setColumns(10);\r\n\t\tServerAddress.setBounds(112, 33, 166, 20);\r\n\t\tServerInfopanel.add(ServerAddress);\r\n\t\t\r\n\t\tServerPort = new JTextField();\r\n\t\tServerPort.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tServerPort.setText(\"33333\");\r\n\t\tServerPort.setColumns(10);\r\n\t\tServerPort.setBounds(112, 58, 166, 20);\r\n\t\tServerInfopanel.add(ServerPort);\r\n\t\t\r\n\t\tChatpanel = new JPanel();\r\n\t\tChatpanel.setBorder(new LineBorder(Color.DARK_GRAY));\r\n\t\tChatpanel.setBounds(10, 156, 488, 449);\r\n\t\tfrmChatApplicationClient.getContentPane().add(Chatpanel);\r\n\t\tChatpanel.setLayout(null);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tJScrollPane scrollPane = new JScrollPane();\r\n\t\tscrollPane.setBounds(10, 11, 464, 325);\r\n\t\tChatpanel.add(scrollPane);\r\n\t\t\r\n\t\tChattextArea = new JTextArea();\r\n\t\tChattextArea.setFont(new Font(\"Sitka Text\", Font.PLAIN, 13));\r\n\t\tscrollPane.setViewportView(ChattextArea);\r\n\r\n\t\t\r\n\t\tJLabel lblTypeYourMessage = new JLabel(\"Type your message:\");\r\n\t\tlblTypeYourMessage.setFont(new Font(\"Sitka Text\", Font.PLAIN, 11));\r\n\t\tlblTypeYourMessage.setBounds(10, 347, 121, 21);\r\n\t\tChatpanel.add(lblTypeYourMessage);\r\n\t\t\r\n\t\tMessagetext = new JTextField();\r\n\t\tMessagetext.setFont(new Font(\"Sitka Text\", Font.PLAIN, 11));\r\n\t\tMessagetext.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tString msg = Messagetext.getText();\r\n\t\t\t\tif(msg.equals(\"\")){\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tclient.sendMessage(msg);\r\n\t\t\t\t\tMessagetext.setText(\"\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t\r\n\t\tMessagetext.setBounds(133, 347, 341, 20);\r\n\t\tChatpanel.add(Messagetext);\r\n\t\tMessagetext.setColumns(10);\r\n\t\t\r\n\t\t\r\n\t\tJPanel Statuspanel = new JPanel();\r\n\t\tStatuspanel.setBorder(new LineBorder(new Color(0, 0, 0)));\r\n\t\tStatuspanel.setBounds(508, 198, 222, 227);\r\n\t\tfrmChatApplicationClient.getContentPane().add(Statuspanel);\r\n\t\tStatuspanel.setLayout(null);\r\n\t\t\r\n\t\tJLabel lblStatus = new JLabel(\"Status\");\r\n\t\tlblStatus.setFont(new Font(\"Sitka Text\", Font.PLAIN, 15));\r\n\t\tlblStatus.setBounds(10, 11, 139, 14);\r\n\t\tStatuspanel.add(lblStatus);\r\n\t\t\r\n\t\tonlineradio = new JRadioButton(\"Online\");\r\n\t\tonlineradio.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tonlineradio.setSelected(true);\r\n\t\t\t\tbusyradio.setSelected(false);\r\n\t\r\n\t\t\t\tclient.sendMessage(\"online\");\r\n\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\r\n\t\tonlineradio.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tonlineradio.setBounds(69, 8, 109, 23);\r\n\t\tStatuspanel.add(onlineradio);\r\n\t\t\r\n\t\tbusyradio = new JRadioButton(\"Busy\");\r\n\t\tbusyradio.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tonlineradio.setSelected(false);\r\n\t\t\t\tbusyradio.setSelected(true);\r\n\t\t\t\tclient.sendMessage(\"busy\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tbusyradio.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\tbusyradio.setBounds(69, 32, 109, 23);\r\n\t\tStatuspanel.add(busyradio);\r\n\t\t\r\n\t\tbtnLogout = new JButton(\"Logout\");\r\n\t\tbtnLogout.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\tServerAddress.setEditable(true);\r\n\t\t\t\tServerPort.setEditable(true);\r\n\t\t\t\tRegisterUsername.setEditable(true);\r\n\t\t\t\tRegisterPassword1.setEditable(true);\t\r\n\t\t\t\tRegisterPassword2.setEditable(true);\r\n\t\t\t\tbtnRegister.setEnabled(true);\r\n\t\t\t\tLoginbtn.setEnabled(true);\r\n\t\t\t\tLoginUsername.setEditable(true);\r\n\t\t\t\tLoginPassword.setEditable(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tMessagetext.setEditable(false);\r\n\t\t\t\tpmtextfield.setEditable(false);\r\n\t\t\t\tpmnickname.setEditable(false);\r\n\t\t\t\tbtnSendPrivateMessage.setEnabled(false);\r\n\t\t\t\tonlineradio.setEnabled(false);\r\n\t\t\t\tbusyradio.setEnabled(false);\r\n\t\t\t\tbtnLogout.setEnabled(false);\r\n\t\t\t\tbtnListOnlineUsers.setEnabled(false);\r\n\t\r\n\t\t\t\t\r\n\t\t\t\tLoginUsername.setText(\"\");\r\n\t\t\t\tLoginPassword.setText(\"\");\r\n\t\t\t\tChattextArea.setText(\"\");\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tonlineradio.setSelected(false);\r\n\t\t\t\tbusyradio.setSelected(false);\r\n\t\t\t\t\r\n\t\t\t\tif(Adminpanel.isVisible()){\r\n\t\t\t\t\tAdminpanel.setVisible(false);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tclient.sendMessage(\"logout\");\r\n\t\t\t\tclient.close();\r\n\t\t\t\tconnected = false;\r\n\t\t\t\t\r\n\t\t\t\tclient.clearPms();\r\n\t\t\t\t\r\n\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnLogout.setBounds(10, 156, 168, 33);\r\n\t\tStatuspanel.add(btnLogout);\r\n\t\tbtnLogout.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\t\r\n\t\tbtnListOnlineUsers = new JButton(\"List online users\");\r\n\t\tbtnListOnlineUsers.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tclient.sendMessage(\"listonlineusers\");\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnListOnlineUsers.setBounds(10, 83, 168, 33);\r\n\t\tStatuspanel.add(btnListOnlineUsers);\r\n\t\tbtnListOnlineUsers.setFont(new Font(\"Sitka Text\", Font.PLAIN, 12));\r\n\t\t\r\n\t\tbtnRegister.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tserver = ServerAddress.getText();\r\n\t\t\t\tport = Integer.parseInt(ServerPort.getText());\r\n\t\t\t\t\r\n\t\t\t\tchar[] passwordchar1 = RegisterPassword1.getPassword();\r\n\t\t\t\tchar[] passwordchar2 = RegisterPassword2.getPassword();\r\n\t\t\t\t\r\n\t\t\t\tString username = RegisterUsername.getText();\r\n\t\t\t\tString password1 = String.valueOf(passwordchar1);\r\n\t\t\t\tString password2 = String.valueOf(passwordchar2);\r\n\t\t\t\t\r\n\t\t\r\n\t\t\t\tif (password1.equals(password2) && password1.length()>= 4){// if passwords are the same then...\r\n\t\t\t\t\tString registerd = client.register(server,port,username,password1);\r\n\t\t\t\t\tif(registerd.equals(\"registersuccess\")){\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"You have registered successfully\\n\" + \"Your nickname is: \" + username +\"\\n\" + \"Your password is: \" + password1, \"Register successful\",JOptionPane.INFORMATION_MESSAGE); \r\n\t\t\t\t\t\tRegisterUsername.setText(\"\");\r\n\t\t\t\t\t\tRegisterPassword1.setText(\"\");\r\n\t\t\t\t\t\tRegisterPassword2.setText(\"\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(registerd.equals(\"nicknameinuse\")){\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"Error, this nickname is already in use\", \"Register Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\telse{// if passwords are different then...\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"Register Error, Please re-enter passwords\", \"Register Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\t\t\t\t\tRegisterPassword1.setText(\"\"); // clear textbox\r\n\t\t\t\t\tRegisterPassword2.setText(\"\"); // clear textbox\r\n\t\t\t\t}\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tLoginbtn.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\tserver = ServerAddress.getText();\r\n\t\t\t\tport = Integer.parseInt(ServerPort.getText());\r\n\t\t\t\t\r\n\t\t\t\tString username = LoginUsername.getText();\t\r\n\t\t\t\t\r\n\t\t\t\tchar[] passwordchar = LoginPassword.getPassword();\r\n\t\t\t\tString password = String.valueOf(passwordchar);\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(!username.equals(\"\") && password.length() >= 4){ // if correct data is enterd then...\r\n\t\t\t\t\tChattextArea.setText(\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tString outcome = client.login(server,port,username,password);\r\n\t\t\t\t\tif(outcome.equals(\"loginsuccessfull\")){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tServerAddress.setEditable(false);\r\n\t\t\t\t\t\tServerPort.setEditable(false);\r\n\t\t\t\t\t\tRegisterUsername.setEditable(false);\r\n\t\t\t\t\t\tRegisterPassword1.setEditable(false);\t\r\n\t\t\t\t\t\tRegisterPassword2.setEditable(false);\r\n\t\t\t\t\t\tbtnRegister.setEnabled(false);\r\n\t\t\t\t\t\tLoginbtn.setEnabled(false);\r\n\t\t\t\t\t\tLoginUsername.setEditable(false);\r\n\t\t\t\t\t\tLoginPassword.setEditable(false);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\tMessagetext.setEditable(true);\r\n\t\t\t\t\t\tpmtextfield.setEditable(true);\r\n\t\t\t\t\t\tpmnickname.setEditable(true);\r\n\t\t\t\t\t\tbtnSendPrivateMessage.setEnabled(true);\r\n\t\t\t\t\t\tonlineradio.setEnabled(true);\r\n\t\t\t\t\t\tbusyradio.setEnabled(true);\r\n\t\t\t\t\t\tbtnLogout.setEnabled(true);\r\n\t\t\t\t\t\tbtnListOnlineUsers.setEnabled(true);\r\n\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tconnected = true;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tonlineradio.setSelected(true);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\telse if(outcome.equals(\"adminloginsuccessfull\")){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tServerAddress.setEditable(false);\r\n\t\t\t\t\t\tServerPort.setEditable(false);\r\n\t\t\t\t\t\tRegisterUsername.setEditable(false);\r\n\t\t\t\t\t\tRegisterPassword1.setEditable(false);\t\r\n\t\t\t\t\t\tRegisterPassword2.setEditable(false);\r\n\t\t\t\t\t\tbtnRegister.setEnabled(false);\r\n\t\t\t\t\t\tLoginbtn.setEnabled(false);\r\n\t\t\t\t\t\tLoginUsername.setEditable(false);\r\n\t\t\t\t\t\tLoginPassword.setEditable(false);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tMessagetext.setEditable(true);\r\n\t\t\t\t\t\tpmtextfield.setEditable(true);\r\n\t\t\t\t\t\tpmnickname.setEditable(true);\r\n\t\t\t\t\t\tbtnSendPrivateMessage.setEnabled(true);\r\n\t\t\t\t\t\tonlineradio.setEnabled(true);\r\n\t\t\t\t\t\tbusyradio.setEnabled(true);\r\n\t\t\t\t\t\tbtnLogout.setEnabled(true);\r\n\t\t\t\t\t\tbtnListOnlineUsers.setEnabled(true);\r\n\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tAdminpanel.setVisible(true);\r\n\t\t\t\t\t\tonlineradio.setSelected(true);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tconnected = true;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(), \"Login Error, Wrong username or password\", \"Login Error\",JOptionPane.ERROR_MESSAGE); // display error message\r\n\r\n\t\t\t\t}\r\n\t\r\n\t\t\t}\r\n\t\t});\r\n\t\r\n\t\t\r\n\t}",
"@PostConstruct\n public void init() {\n WebsocketController.getInstance().setTemplate(this.template);\n try {\n\t\t\tthis.chatController = ChatController.getInstance();\n } catch (final Exception e){\n LOG.error(e.getMessage(), e);\n }\n }",
"private void initializeChannelize() {\n ChannelizeConfig channelizeConfig = new ChannelizeConfig.Builder(this)\n .setAPIKey(Config.API_KEY)\n .setLoggingEnabled(true).build();\n Channelize.initialize(channelizeConfig);\n Channelize.getInstance().setCurrentUserId(ChannelizePreferences.getCurrentUserId(getContext()));\n if (Channelize.getInstance().getCurrentUserId() != null\n && !Channelize.getInstance().getCurrentUserId().isEmpty()) {\n Channelize.connect();\n }\n\n ChannelizeUIConfig channelizeUIConfig = new ChannelizeUIConfig.Builder()\n .enableCall(true)\n .build();\n ChannelizeUI.initialize(channelizeUIConfig);\n channelize = Channelize.getInstance();\n\n ChannelizeUtils channelizeUtils = ChannelizeUtils.getInstance();\n channelizeUtils.setOnConversationClickListener(this);\n }",
"public void teleopInit() {\n }",
"public void teleopInit() {\n }",
"private NotificationClient() { }",
"private void init() {\n\n\t\tgroup = new NioEventLoopGroup();\n\t\ttry {\n\t\t\thandler = new MoocHandler();\n\t\t\tBootstrap b = new Bootstrap();\n\t\t\t\n\t\t\t\n\t\t\t//ManagementInitializer ci=new ManagementInitializer(false);\n\t\t\t\n\t\t\tMoocInitializer mi=new MoocInitializer(handler, false);\n\t\t\t\n\t\t\t\n\t\t\t//ManagemenetIntializer ci = new ManagemenetIntializer(handler, false);\n\t\t\t//b.group(group).channel(NioSocketChannel.class).handler(handler);\n\t\t\tb.group(group).channel(NioSocketChannel.class).handler(mi);\n\t\t\tb.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000);\n\t\t\tb.option(ChannelOption.TCP_NODELAY, true);\n\t\t\tb.option(ChannelOption.SO_KEEPALIVE, true);\n\n\t\t\t// Make the connection attempt.\n\t\t\tchannel = b.connect(host, port).syncUninterruptibly();\n\n\t\t\t// want to monitor the connection to the server s.t. if we loose the\n\t\t\t// connection, we can try to re-establish it.\n\t\t\tChannelClosedListener ccl = new ChannelClosedListener(this);\n\t\t\tchannel.channel().closeFuture().addListener(ccl);\n\t\t\tSystem.out.println(\" channle is \"+channel);\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(\"failed to initialize the client connection\", ex);\n\n\t\t}\n\n\t\t// start outbound message processor\n\t//\tworker = new OutboundWorker(this);\n\t//\tworker.start();\n\t}",
"public static void initialize()\n {\n localPeerIDCount = 0;\n\n }",
"public ImMessage() {\r\n }",
"@Override\n protected void onCreate(@Nullable Bundle savedInstanceState)\n {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_messenger);\n messengerHandler = new MessengerHandler();\n mGetReplyMessenger = new Messenger(messengerHandler);\n intent = new Intent(this, MessengerService.class);\n initView();\n }",
"public SpeakerMessageScreenController(ProgramController programController){\n super(programController);\n this.messageController = programController.getMessageController();\n speaker = programController.getAuthController().fetchLoggedInUser();\n }",
"@Override\n\tprotected void beforeSendingMessage(Message message) {\n\t\tmessage.receiver = getNextRandomClient();\n\t}",
"private ChatAdministration(){\n\t\troomlist = new ChatRoomTableModel();\n\t\tfilelist = new ChatFileTableModel();\n\t\tchatConnection = ChatConnection.getInstance();\n\t\tconnectionconfig = loadConnectionConfiguration();\n\t}",
"@Override\n public void onCreate() {\n if (messageServiceUtil == null)\n messageServiceUtil = new MessageServiceUtil();\n messageServiceUtil.startMessageService(this);\n keepService2();\n }",
"public Communicator() {\n\n\t\tthis.isReady = false;\n\t\tthis.hold = 0;\n\t\tthis.speaker = 0;\n\t\tthis.listener = 0;\n\t\t//init values\n\n\t\tthis.newLock = new Lock();\n\t\t//new lock\n\t\tthis.speakerR = new Condition2(newLock);\n\t\t//condition variable for speakers\n\t\tthis.listenerR = new Condition2(newLock);\n\t\t//condition variable for listener\n\t\tthis.inProg = new Condition2(newLock);\n\t\t//condition variable for inprog message\n\n\t}",
"public InscriptionClient() {\n initComponents();\n }",
"private void setupChat() {\n Log.d(TAG, \"setupChat()\");\n\n // Initialize the array adapter for the conversation thread\n mConversationArrayAdapter = new ArrayAdapter<String>(getActivity(), R.layout.message);\n\n mConversationView.setAdapter(mConversationArrayAdapter);\n\n // Initialize the compose field with a listener for the return key\n\n // Initialize the send button with a listener that for click events\n\n // Initialize the BluetoothChatService to perform bluetooth connections\n mChatService = new BluetoothChatService(getActivity(), mhandler);\n\n // Initialize the buffer for outgoing messages\n mOutStringBuffer = new StringBuffer(\"\");\n switchForFileSaved.setOnCheckedChangeListener(switchListener) ;\n }",
"protected void bInit()\n {\n \tb_expect_seqnum=1;\n //\tMessage m=new Message(String.valueOf(new char[20]));\n //\tb_sndpkt=make_pkt(0,m,0);//make a package\n }",
"public static void init() {\n\t \n\t flight = new KeyBinding(\"key.flight\", Keyboard.KEY_F, \"key.categories.modmoi\");\n\t \n\t boost = new KeyBinding(\"key.boost\", Keyboard.KEY_LCONTROL, \"key.categories.modmoi\");\n\t \n\t nv = new KeyBinding(\"key.nvision\", Keyboard.KEY_N, \"key.categories.modmoi\");\n\n\t // Register both KeyBindings to the ClientRegistry\n\t ClientRegistry.registerKeyBinding(flight);\n\t // ClientRegistry.registerKeyBinding(bot);\n\t ClientRegistry.registerKeyBinding(boost);\n\t ClientRegistry.registerKeyBinding(nv);\n\t }",
"public void teleopInit(){\n\n }",
"public MessageService()\n {\n messages.put(1L, new Message(1, \"Hello World!\", \"Marc\"));\n messages.put(2L, new Message(2, \"Hello Embarc!\", \"Kevin\"));\n messages.put(3L, new Message(3, \"Hello Luksusowa!\", \"Sid\"));\n messages.put(4L, new Message(4,\n \"I think Sid might have a bit too much blood in his alcohol-stream...\", \"Craig\"));\n }",
"public static void initCommunicationClientThread(){\r\n new CommunicationClientThread();\r\n }",
"public TCommChatPanel() {\r\n\t\tinitialize();\r\n\t}",
"void init() {\n CometUtils.printCometSdkVersion();\n validateInitialParams();\n this.connection = ConnectionInitializer.initConnection(\n this.apiKey, this.baseUrl, this.maxAuthRetries, this.getLogger());\n this.restApiClient = new RestApiClient(this.connection);\n // mark as initialized\n this.alive = true;\n }",
"public MultiChannelMessageImpl() {\n }",
"@Override\n\tpublic void teleopInit() {\n\t\tsuper.teleopInit();\n\t}",
"public LCAmsg2 () { }",
"private PeerService(int replyTimeout) {\n this.replyTimeout = replyTimeout;\n this.channel = Session.getInstance().getChannel();\n this.channel.putProcessor(\"add_peer\", new Processor<Pdu>() {\n @Override\n public void process(Pdu pdu) { onPeerAdded(pdu); }\n });\n this.channel.putProcessor(\"remove_peer\", new Processor<Pdu>() {\n @Override\n public void process(Pdu pdu) { onPeerRemoved(pdu); }\n });\n this.channel.putProcessor(\"clear_peers\", new Processor<Pdu>() {\n @Override\n public void process(Pdu pdu) { onPeersCleared(); }\n });\n }",
"public Communicator() {\n\t\tcommlock = new Lock ();\n\t\tspeaker = new Condition(commlock);\n\t\tlistener = new Condition(commlock);\n\n }",
"@Inject\n\tMessageImpl() {\n\t\tbundle = getBundle(BASE_NAME);\n\t}",
"private SingletonApp( Context context ) {\n mMB = MessageBroker.getInstance( context );\n }",
"public PromoMessages() {\n }",
"@ReactMethod\n public void init(String key, String secret) {\n chirpConnect = new ChirpConnect(this.getCurrentActivity(), key, secret);\n\n chirpConnect.setListener(new ConnectEventListener() {\n\n @Override\n public void onSending(byte[] data, int channel) {\n WritableMap params = assembleData(data);\n context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(\"onSending\", params);\n }\n\n @Override\n public void onSent(byte[] data, int channel) {\n WritableMap params = assembleData(data);\n context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(\"onSent\", params);\n }\n\n @Override\n public void onReceiving(int channel) {\n WritableMap params = Arguments.createMap();\n context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(\"onReceiving\", params);\n }\n\n @Override\n public void onReceived(byte[] data, int channel) {\n WritableMap params = assembleData(data);\n context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(\"onReceived\", params);\n }\n\n @Override\n public void onStateChanged(int oldState, int newState) {\n WritableMap params = Arguments.createMap();\n params.putInt(\"status\", newState);\n context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(\"onStateChanged\", params);\n }\n\n @Override\n public void onSystemVolumeChanged(float oldVolume, float newVolume) {\n }\n });\n }",
"public void initMessage(String agent, String protocol, String content, int performative) {\n out = new ACLMessage();\n out.setSender(getAID());\n out.addReceiver(new AID(agent, AID.ISLOCALNAME));\n out.setProtocol(protocol);\n out.setContent(content);\n out.setEncoding(_myCardID.getCardID());\n out.setPerformative(performative);\n this.send(out);\n }",
"Messenger getMessenger();",
"public interface NewPrivateMessageHandler {\n void onNewPrivateMessage(String sessionId, Comment privateMessage);\n}",
"@Override\n\t\tpublic void handleMessage(Message msg)\n\t\t{\n\t\t\tsuper.handleMessage(msg);\n\t\t\tif (msg.what == INIT_OK)\n\t\t\t{\n\t\t\t\tThinksns app = (Thinksns) LauncherActivity.this.getApplicationContext();\n\t\t\t\tapp.initApi();\n\t\t\t\tIntent intent;\n\t\t\t\tif (app.HasLoginUser())\n\t\t\t\t{\n\t\t\t\t\tintent = new Intent(LauncherActivity.this, HomeActivity.class);\n\t\t\t\t} else\n\t\t\t\t{\n\t\t\t\t\tBundle data = new Bundle();\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tApi.Status status = app.initOauth();\n\t\t\t\t\t\tif (status == Api.Status.RESULT_ERROR)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdata.putBoolean(\"status\", false);\n\t\t\t\t\t\t\tdata.putString(\"message\",\n\t\t\t\t\t\t\t\t\tLauncherActivity.this.getResources().getString(R.string.request_key_error));\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdata.putBoolean(\"status\", true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}catch (ApiException e1)\n\t\t\t\t\t{\n\t\t\t\t\t\tdata.putBoolean(\"status\", false);\n\t\t\t\t\t\tdata.putString(\"message\", e1.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\tintent = new Intent(LauncherActivity.this, LoginActivity.class);\n\t\t\t\t\tintent.putExtras(data);\n\t\t\t\t}\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\tLauncherActivity.this.startActivity(intent);\n initThread.quit();\n\t\t\t\tAnim.in(LauncherActivity.this);\n LauncherActivity.this.finish();\n\t\t\t}\n\t\t}",
"public TalkSystem(){\n this.talkManager = new TalkManager();\n this.messagingSystem = new MessagingSystem();\n this.scheduleSystem = new ScheduleSystem(talkManager);\n this.signUpMap = talkManager.getSignUpMap();\n }",
"public NetworkMessage(){\n\t\tthis.user = null;\n\t}",
"@Override\n\tpublic Service duplexstreamDeliverMsgPluginManagerServiceInit() {\n\t\treturn null;\n\t}",
"public Conversation() {}",
"public void processStart(){\n initWorkerQueue();\n DataBean serverArgs = new DataBean();\n serverArgs.setValue(\"mode\",\"server\");\n serverArgs.setValue(\"messagekey\",\"72999\");\n serverArgs.setValue(\"user\",\"auth\");\n serverArgs.setValue(\"messagechannel\",\"/esb/system\");\n messageClient = new MessageClient(this,serverArgs);\n Helper.writeLog(1,\"starting message server\");\n messageClient.addHandler(this);\n \n }",
"public static void init() {\n\t\tfinal CxCommandManager ccm = CxCommandManager.getInstance();\n\t\tccm.register( SEND_HOST_INFO,\tnew SendHostInfoCommandDecoder() );\n\t\tccm.register( SEND_MSG, \t\tnew SendMessageCommandDecoder() );\n\t}",
"@SuppressWarnings({ \"rawtypes\" })\n @Override\n public void init(MsgList providedMsgList) {\n \n }",
"@PostConstruct\n public void init() {\n rest.put(\"http://authenticationServer:8080/bot\", info);\n AuthServerChecker checker = new AuthServerChecker(name);\n checker.start();\n }",
"private void initializeNA(){\n name = \"N/A\";\n key = \"N/A\";\n serverIpString = \"N/A\";\n serverPort = 0;\n clientListenPort = 0;\n }",
"private void init() {\n AdvertisingRequest();// 广告列表请求线程\n setapiNoticeControllerList();\n }",
"public messages() {\n }",
"private Server()\n\t{\n\t}",
"@Override\n public void onServiceConnected(ComponentName name, IBinder service) {\n\n messengerService = new Messenger(service);\n messengerServiceBound = true;\n }",
"public SystemMessage() {\r\n\t}",
"private void abrirVentanaChatPrivada() {\n\t\tthis.chatPublico = new MenuVentanaChat(\"Sala\", this, false);\n\t}",
"public GameServerClient(){\r\n\t\tinitComponents();\r\n\t\t}"
] | [
"0.66579986",
"0.6634951",
"0.6619244",
"0.6595762",
"0.65721285",
"0.65511435",
"0.65511435",
"0.65482175",
"0.6528955",
"0.64832234",
"0.6444452",
"0.63689554",
"0.63665926",
"0.6341429",
"0.62769777",
"0.6268226",
"0.6247149",
"0.6236077",
"0.62180305",
"0.6160603",
"0.6155925",
"0.6155334",
"0.6121731",
"0.61145234",
"0.6067352",
"0.60605574",
"0.605775",
"0.6048556",
"0.6044932",
"0.60430825",
"0.6012966",
"0.6003754",
"0.6003542",
"0.59951264",
"0.59797686",
"0.5976408",
"0.59676576",
"0.59676576",
"0.5963101",
"0.5961448",
"0.59516865",
"0.594494",
"0.5939693",
"0.5934843",
"0.5901",
"0.589954",
"0.5898386",
"0.58963954",
"0.5894468",
"0.58883494",
"0.5887999",
"0.5887999",
"0.5863538",
"0.5852084",
"0.58463794",
"0.5829626",
"0.5823394",
"0.5818835",
"0.58040017",
"0.57993793",
"0.57974744",
"0.57959706",
"0.5795187",
"0.57833",
"0.5781187",
"0.5774633",
"0.5773688",
"0.5761503",
"0.5742732",
"0.57352394",
"0.57317525",
"0.57284075",
"0.57155573",
"0.571241",
"0.57100254",
"0.57062006",
"0.5704828",
"0.5702976",
"0.5702075",
"0.5694794",
"0.569377",
"0.5685525",
"0.568497",
"0.5680388",
"0.56725913",
"0.5669447",
"0.56657696",
"0.5664098",
"0.5663854",
"0.5660088",
"0.5655439",
"0.5652907",
"0.56495863",
"0.56474036",
"0.564353",
"0.5639284",
"0.56361794",
"0.5632109",
"0.56318665",
"0.56260914"
] | 0.5626806 | 99 |
Remove a client listner in the list | @Override
public void removeListner(_User user) throws RemoteException {
this.ListenerClient.remove(user);
this.ListenerClient.forEach(new BiConsumer<_User, _ClientListener>() {
@Override
public void accept(_User user, _ClientListener clientListener) {
try {
Logger.getGlobal().log(Level.INFO,"User " + user.getLogin() + " leave the private chat");
} catch (RemoteException e) {
e.printStackTrace();
}
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void removeClient () {\n AutomatedClient c = clients.pollFirstEntry().getValue();\n Nnow--;\n\n c.signalToLeave();\n System.out.println(\"O cliente \" + c.getUsername() + \" foi sinalizado para sair\");\n }",
"synchronized public void removeClientListener(ClientListener l)\n {\n \t\tif (listeners == null)\n \t\t\tlisteners = new ArrayList<ClientListener>();\n \t\tlisteners.remove(l);\n }",
"public void RemovePlayerFromList(ClientThread client){\n this.client_List.remove(client);\n if (this.GetPlayerCount() <= 0){\n \tserv.DeleteLobby(this.name);\n }\n }",
"boolean remove(Client client);",
"void removeListener(BotListener l);",
"@Override\n\tprotected void doRemoveClient(Client c) {\n\t\tlog.warn(\"doRemoveClient is not implemented\");\n\t}",
"void removeClientMetadataModificationListener(MetadataModificationListener modListener, WonderlandClientID wlCid) {\n if(!clientModificationListeners.containsKey(modListener)){\n logger.log(Level.SEVERE, \"trying to remove non-registered listener type for client id \" + wlCid);\n return;\n }\n\n ArrayList<WonderlandClientID> attachedClients = clientModificationListeners.get(modListener);\n int idx = attachedClients.lastIndexOf(wlCid);\n if(idx < 0){\n // this listner type exists/is registered for some client, but not this one\n logger.log(Level.SEVERE, \"trying to remove extant but unconnected listener type for client id \" + wlCid);\n return;\n }\n\n // remove this client id\n attachedClients.remove(idx);\n clientModificationListeners.put(modListener, attachedClients);\n }",
"@Override\n\tpublic void removeClient(Client c, String msg) throws RemoteException {\n\t\t if(users.contains(c))\n\t\t {\n\t\t for(int i=0;i<users.size();i++)\n\t\t {\n\t\t //sendMessage((IChatClient)clients.elementAt(i),msg);\n\t\t ( (Client) users.get(i)).afficherMessage(msg);\n\t\t }\n\t\t users.remove(c);\n\t\t }\n\t}",
"@Override\n\tpublic void deleteClient() {\n\t\t\n\t}",
"private void removeClient(PrintWriter out) {\n\t\tsynchronized (clients) {\n\t\t\tclients.remove(out);\n\t\t}\n\t}",
"static void removeClient(String username) {\n\t\tif (ConnectedClients.containsKey(username)) {\n\t\t\tConnectedClients.remove(username);\n\t\t\tActiveClients.remove(username);\n\t\t\tSystem.out.println(\"Active clients after removal\"+ActiveClients);\n\t\t\tDML0=new DefaultListModel();\n\t\t\tCurrentClients.setModel(DML0);\n\t\t\tDML0.addAll(ActiveClients);\n\t\t\tCurrentClients.setModel(DML0);\n\t\t}\n\t}",
"public ConnectionListener remove(String listenerID);",
"public ModelElement removeClient(ModelElement client1)\n // -end- 33FFE57B03B3 remove_head327A646F00E6 \"Dependency::removeClient\"\n ;",
"public void clientDeconnection (ServerSocket client) {\n this.connectedClients.remove(client);\n }",
"public void removeClient(Client client) {\r\n\r\n\t\tfor (int i = 0; i < clients.length; i++) {\r\n\t\t\tif (clients[i] != null && clients[i].equals(client)) {\r\n\t\t\t\tfloat client_balance = clients[i].getFortune();\r\n\t\t\t\tthis.balance -= client_balance;\r\n\t\t\t\tclients[i] = null; // add the account\r\n\t\t\t\t// log the operation\r\n\t\t\t\tLog log = new Log(System.currentTimeMillis(), client.getId(), \"remove client\", client_balance);\r\n\t\t\t\tlogger.log(log);\r\n\t\t\t\t//\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void removeConnectedCallback(OctaveReference listener) {\n\t\tlistenerConnected.remove(listener);\n\t}",
"public abstract void removeServiceListener(PhiDiscoverListener listener);",
"public void removeEventListener(EventListener listener){\n try {\n listenerList.remove(EventListener.class, listener);\n } catch (Exception e) {\n System.out.println(\"[analizadorClient.removeEventListener]\" + e.getMessage());\n }\n \n \n }",
"synchronized void removeClient(int id) \r\n {\r\n for(int i = 0; i < clientList.size(); ++i) \r\n {\r\n\r\n ClientProcess clientT1 = clientList.get(i);\r\n\r\n if(clientT1.id == id) {\r\n\r\n clientList.remove(i);\r\n return;\r\n }\r\n }\r\n }",
"boolean removeConnectionListener(LWSConnectionListener lis);",
"void removeListener(\n ReaderSettingsListenerType l);",
"public void removeConnection(ClientHandler clientHandler){\n String nick=clientToNames.get(clientHandler);\n System.out.println(\"Removing player \"+nick+\" from the lobby number \" + lobbyID);\n namesToClient.remove(nick, clientHandler);\n nicknames.remove(nick);\n clientToNames.remove(clientHandler, nick);\n playersNumber--;\n }",
"public void removeAnswerListener(AnswerListener anw){\n\t\tlisteners.remove(anw);\n\t}",
"public void removeGameListListener(GameListListener listener){\r\n super.removeGameListListener(listener);\r\n\r\n if (listenerList.getListenerCount(GameListListener.class)==0){\r\n setDGState(Datagram.DG_GAMELIST_BEGIN, false);\r\n setDGState(Datagram.DG_GAMELIST_ITEM, false);\r\n }\r\n }",
"public void removeClient(Client client) {\n race.getBroker().unregisterClient(client);\n sockets.remove(client);\n client.closeSocket();\n }",
"void removeListener(RosZeroconfListener listener);",
"public void _unlinkClient(ModelElement client1);",
"public void clientWasRemoved(ChannelId channelId);",
"void removeListDataListener(ListDataListener listener);",
"synchronized void remove(int id) {\n\n String disconnectedClient = \"\";\n // scan the array list until we found the Id\n for(int i = 0; i < clientThreads.size(); ++i) {\n ClientThread ct = clientThreads.get(i);\n // if found remove it\n if(ct.id == id) {\n disconnectedClient = ct.getUsername();\n clientThreads.remove(i);\n break;\n }\n }\n broadcast(notification + disconnectedClient + \" has left the chat room.\" + notification, clientThreads);\n }",
"private void deleteClient()\n {\n System.out.println(\"Delete client with the ID: \");\n\n BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));\n try {\n Long id = Long.valueOf(bufferRead.readLine());\n ctrl.deleteClient(id);\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n\n }",
"void removeListener(GraphListener listener);",
"public void removeListener(LineListener listener) {\n\t\tplayer.removeListeners(listener);\n\t}",
"public synchronized void remove(int n)\n {\n int pos = getClient(n);\n if(pos >= 0)\n {\n //find the right thread\n ServerThread quitthread = clist[pos];\n System.out.println(\"Removing client \" + n);\n pop--;\n try\n {\n //kill it\n quitthread.close();\n }\n catch(IOException e)\n {\n System.out.println(\"Error on closing...\");\n }\n //stop();\n clist[pos] = null;\n }\n }",
"void removeListener(IEventChannelListener<K, V> listener);",
"void removeListener( AvailabilityListener listener );",
"public void removeListDataListener(ListDataListener l) {}",
"public void removeChatListener(ChatListener listener){\r\n super.removeChatListener(listener);\r\n\r\n if (listenerList.getListenerCount(ChatListener.class) == 0){\r\n setDGState(Datagram.DG_PERSONAL_TELL, false);\r\n setDGState(Datagram.DG_PERSONAL_QTELL, false);\r\n setDGState(Datagram.DG_SHOUT, false);\r\n setDGState(Datagram.DG_CHANNEL_TELL, false);\r\n setDGState(Datagram.DG_CHANNEL_QTELL, true);\r\n setDGState(Datagram.DG_KIBITZ, false);\r\n }\r\n }",
"public void removeListener(T listener);",
"public void removeMessageClientDestroyedListener(MessageClientListener listener)\n {\n // No need to check validity; removing a listener is always ok.\n if (listener != null && destroyedListeners != null)\n destroyedListeners.remove(listener);\n }",
"public static void deleteClient( ) {\n if (ClientHandler.client != null) {\n ClientHandler.client.closeSocket();\n ClientHandler.client = null;\n }\n }",
"private void removeClickList() {\n\t\t\n\t\tmyGame.removeChatRequestListener(this);\n\t\tmyGame.removeNotificationListener(this);\n\t\tmyGame.removeZoneRequestListener(this);\n\t\tmyGame.removeConnectionRequestListener(this);\n\t\t\n\t}",
"void removeListener(RiakFutureListener<V,T> listener);",
"public void removeObservateur() {\r\n\t\tlisteObservateur = new ArrayList<Observateur>();\t\t\r\n\t}",
"synchronized void remove(int id) {\n // server scans array list until id of the client that has logged off is found\n for (int i = 0; i < al.size(); ++i) {\n ClientThread ct = al.get(i);\n // found it, now remove the client with that id\n if (ct.id == id) {\n al.remove(i);\n return;\n }\n }\n }",
"private void removeClientFromDisplay(String clientIDToRemove) {\n\t\teventDisplayArea = (ViewGroup)findViewById(R.id.mainEventDisplayArea);\n\n\t\tView clientTextViewToRemove = clientDisplayMap.get(clientIDToRemove);\n\t\teventDisplayArea.removeView(clientTextViewToRemove);\n\t\tclientDisplayMap.remove(clientIDToRemove);\n\t}",
"@Override\n\tpublic void delObservateur() {\n\t\tthis.listObservateur = new ArrayList<Observateur>();\n\t}",
"public abstract void onRemove();",
"public void removeTuioListener(TuioListener listener)\n\t{\n\t\tlistenerList.removeElement(listener);\t\n\t}",
"public void removeListener(ILabelProviderListener listener) {\n \t\t\r\n \t}",
"public void unregisterCustomerFromEvent(Client client) {\n\n\t}",
"void removeDataCollectionListener(DataCollectionListener l);",
"public void removeSocketNodeEventListener(\n final SocketNodeEventListener l) {\n listenerList.remove(l);\n }",
"public void removeConnectionListener(ConnectionListener listener);",
"void removeListener( ConfigurationListener listener );",
"public void removerObservador (Observer observer){\n list.remove(observer);\n }",
"void remove(Client client) throws DAOException;",
"protected void removeListeners() {\n }",
"public synchronized void disconnectClient(Client client) {\r\n\t\tthis.allClients.remove(client);\r\n\t}",
"public void removeListDataListener(ListDataListener l) {\n }",
"Boolean deleteClient(Client client){\n return true;\n }",
"public void deleteClients(Collection<Client> clients, AsyncCallback<Void> cb);",
"@Override\n\tpublic void onUnmute(String clientName) {\n\t\t// TODO Auto-generated method stub\n\t\tlog.log(Level.INFO, \"Tiggered sendUnmute()\");\n\t\tIterator<User> iter = users.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\t// try {\n\t\t\tString name = \"<font color=silver>\" + clientName + \"</font>\";\n\t\t\tUser client = iter.next();\n\t\t\tif (name.equals(client.getName())) {\n\t\t\t\tunmuteName = clientName;\n\t\t\t\tunmuteClient = client;\n\t\t\t\tlog.log(Level.INFO, \"Passed name check\");\n\t\t\t}\n\t\t\t// } catch (ConcurrentModificationException e) {\n\t\t\t// log.log(Level.INFO, \"Caught ConcurrentModification\");\n\t\t\t// }\n\t\t}\n\t\treplaceClient(unmuteName, unmuteClient);\n\t\tlog.log(Level.INFO, \"Reached replaceClient with \" + unmuteName + \" and \" + unmuteClient.getName());\n\t}",
"default void removeListener(Runnable listener) {\n\t\tthis.getItemListeners().remove(listener);\n\t}",
"@Override\n public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) {\n Client client = (Client) ctx.getChannel().getAttachment();\n Player player = client.getPlayer();\n if (player != null && !player.destroyed()) {\n player.destroy(false);\n }\n if(engine.getClients().contains(client)) {\n \tSystem.out.println(\"Remove client\");\n \tengine.removeClient(client);\n }\n }",
"public void removeDisconnectedCallback(OctaveReference listener) {\n\t\tlistenerDisconnected.remove(listener);\n\t}",
"@Override\n public void removeListener(ResourceListener listener) {\n }",
"public void removeListener(IEpzillaEventListner listener)\n\t\t\tthrows RemoteException;",
"public void removeListener(ILabelProviderListener listener) {\n\t\t\t\r\n\t\t}",
"public void removeContacts(final Collection<ClientInfo> clients) {\n for (ClientInfo client : clients) {\n removeClient(client.getNickname());\n }\n\n getParser().getCallbackManager().getCallbackType(\n ChannelNamesListener.class).call(this);\n }",
"void removeUserListener(String uid);",
"public void removeSkyModelUpdateListener(SkyModelUpdateListener l) throws RemoteException {\n\t\tif (!listeners.contains(l))\n\t\t\treturn;\n\n\t\t// add to kill list\n\t\tslogger.create().info().level(2).msg(\"Received request to remove listener: \" + l).send();\n\t\tdeleteListeners.add(l);\n\t}",
"private void removeMessageListener(TransportAddress localAddr, MessageTypeEventHandler<?> messageListener) {\n EventDispatcher child = children.get(localAddr);\n if (child != null) {\n child.removeMessageListener(messageListener);\n }\n }",
"private void removeMessageListener(MessageTypeEventHandler<?> messageListener) {\n messageListeners.remove(messageListener);\n }",
"public void removeNPTListener(NPTListener l) {}",
"public void removeListener(ILabelProviderListener listener) {\n\t}",
"public synchronized void removeListener(IIpcEventListener listener) {\n\t\tlisteners.remove(listener);\n\t}",
"@Override\n\tpublic void onRemove() {\n\n\t}",
"@Override\n public void removeServerStoredGroupChangeListener(ServerStoredGroupListener\n listener)\n {\n ssContactList.removeGroupListener(listener);\n }",
"public void removePlayer(String player)\n {\n if (listeners.containsKey(player.toLowerCase())) {\n listeners.remove(player.toLowerCase());\n }\n }",
"@Override\r\n\tpublic void deleteclient(Client cid) {\n\t\t\r\n\t}",
"@Override\n\tpublic void onClientDisconnection(ClientThread client) {\n\n\t\ttry{\n\t\t\tlockClients.writeLock().lock();\n\t\t\tthis.clients.remove(client);\n\t\t} finally {\n\t\t\tlockClients.writeLock().unlock();\n\t\t}\n\n\t\ttry {\n\t\t\tlockClients.readLock().lock();\n\t\t\tLocalDateTime now = LocalDateTime.now();\n\t\t\tString toSend = \"[\"+dtf.format(now)+\"] \"+client.getClientName()+\" has disconnected the chat\";\n\t\t\tfor(ClientThread c : clients) {\n\t\t\t\tc.sendMessage(toSend);\n\t\t\t}\n\t\t\taddToHistory(toSend);\n\t\t} finally {\n\t\t\tlockClients.readLock().unlock();\n\t\t}\n\t}",
"public void removeListener(AlgorithmInterface obj) {\r\n objectList.removeElement(obj);\r\n }",
"public void videListeClient(){\n couleurs.clear();\n }",
"public void removeEnumerateCallback(OctaveReference listener) {\n\t\tlistenerEnumerate.remove(listener);\n\t}",
"private void remove() {\n disableButtons();\n clientgui.getClient().sendDeleteEntity(cen);\n cen = Entity.NONE;\n }",
"public String removeClient(Socket socket) {\n int length = clientsSockets.size();\n for (int i = 0; i < length; ++i) {\n if (clientsSockets.get(i).getClientSocket() == socket) {\n String clientName = clientsSockets.get(i).getNickname();\n clientsSockets.remove(i);\n return clientName;\n }\n }\n return null; // not found\n }",
"public void removeListener(RepaintRequestListener listener) {\n }",
"@Override\n public void removeListener(ILabelProviderListener listener) {\n \n }",
"public void removeAnalysisServerListener(AnalysisServerListener listener);",
"public void supprimerClient(String nom, String prenom) {\n\t\tIterator<Client> it = clients.iterator();\n\t\tboolean existant = true;\n\t\twhile (it.hasNext()) {\n\t\t\tClient client = it.next();\n\t\t\tif (nom == client.getNom() && prenom == client.getPrenom()) {\n\t\t\t\tit.remove();\n\t\t\t\tSystem.out.println(\"Le client \" + client.getNom() + \" \" + client.getPrenom() + \" a bien ´┐Żt´┐Ż supprim´┐Ż dans la base de donn´┐Żes\");\n\t\t\t\texistant = false;\n\t\t\t\tSystem.out.println(clients.size());\n\t\t\t}\n\t\t}\n\t\tif (existant == true) {\n\t\t\tSystem.out.println(\"Action impossible, ce client n'existe pas\");\n\t\t}\n\t}",
"public void removeListSelectionListener(ListSelectionListener listener)\r\n {\r\n listSelectionListeners.remove(listener);\r\n }",
"void removeVideoListener(CallPeer peer, VideoListener listener);",
"public void deleteListener(ConfigProperties cprop){\n\t\tears.remove(cprop.getProperty(\"PROJ.id\"));\n\t\tjlog.info(\"Delete Listener \"+cprop.getProperty(\"PROJ.id\"));\n\t}",
"@Override\n public void removeListener() {\n this.mListener = null;\n }",
"@Override\r\n\tpublic void removeListener(ILabelProviderListener listener) {\n\t\t\r\n\t}",
"public synchronized void remove(T e){\n callbackList.remove(e);\n }",
"@Override\n\tpublic void removeListener(ILabelProviderListener ilabelproviderlistener) {\n\t\t\n\t}",
"public void unregisterClient(String clientId) throws RemoteException;",
"public void addMessageClientDestroyedListener(MessageClientListener listener)\n {\n if (listener != null)\n {\n checkValid();\n\n if (destroyedListeners == null)\n {\n synchronized (lock)\n {\n if (destroyedListeners == null)\n destroyedListeners = new CopyOnWriteArrayList();\n }\n }\n\n destroyedListeners.addIfAbsent(listener);\n }\n }"
] | [
"0.75771755",
"0.7342826",
"0.7056823",
"0.70537364",
"0.70072633",
"0.6771929",
"0.67314947",
"0.6720515",
"0.6650025",
"0.6644485",
"0.6590165",
"0.65256983",
"0.64915144",
"0.648225",
"0.64260304",
"0.64123625",
"0.6400785",
"0.63944566",
"0.63819486",
"0.6374378",
"0.6356838",
"0.6330241",
"0.6323369",
"0.6291521",
"0.62712246",
"0.6231552",
"0.62030506",
"0.6196546",
"0.61876494",
"0.61854184",
"0.617656",
"0.616253",
"0.6156075",
"0.614843",
"0.6148422",
"0.6145957",
"0.6140518",
"0.6127677",
"0.61256206",
"0.6107063",
"0.60986656",
"0.6086842",
"0.60848385",
"0.6077752",
"0.60745287",
"0.60389835",
"0.6031724",
"0.6030841",
"0.6020279",
"0.60158676",
"0.6009969",
"0.6000252",
"0.59929293",
"0.5992693",
"0.59896517",
"0.5988076",
"0.59861094",
"0.5985273",
"0.5981599",
"0.59787595",
"0.5975704",
"0.59703904",
"0.59699476",
"0.59495586",
"0.5945222",
"0.5940798",
"0.5939349",
"0.59243494",
"0.5920796",
"0.59182835",
"0.5916392",
"0.5908662",
"0.5905753",
"0.5903196",
"0.5899418",
"0.5899405",
"0.5885556",
"0.5879596",
"0.587585",
"0.5874153",
"0.5873531",
"0.5864808",
"0.58590114",
"0.58500624",
"0.5847206",
"0.58433443",
"0.58362174",
"0.58355254",
"0.58353037",
"0.58323914",
"0.58289003",
"0.5822562",
"0.580548",
"0.5804946",
"0.580252",
"0.5796049",
"0.57917553",
"0.57894087",
"0.5782778",
"0.5779141"
] | 0.73005474 | 2 |
because select and insert operations must be in one transaction | @Transactional
@Override
@CacheEvict(value = "votes", allEntries = true)
public Vote save(VoteTo voteTo, int userId) {
Vote vote = null;
if (voteTo.isNew() || get(voteTo.getId(), userId) != null)
{
vote = createFromTo(voteTo);
vote.setUser(userRepository.getOne(userId));
vote.setRestaurant(restaurantRepository.getOne(voteTo.getRestaurantId()));
}
Assert.notNull(vote, "meal must not be null");
return voteRepository.save(vote);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int insertSelective(Transaction record);",
"int insertSelective(Table2 record);",
"int insert(Transaction record);",
"int insertSelective(Assist_table record);",
"@Transactional\n DataRistorante insert(DataRistorante risto);",
"protected abstract Transaction createAndAdd();",
"int insertSelective(Enfermedad record);",
"@Override\n\tpublic int insertSelective(HsTransactionRecord hsTransactionRecord) {\n\t\treturn hsTransactionRecordDbService.insertSelective(hsTransactionRecord);\n\t}",
"int insert(Table2 record);",
"int insertSelective(TCar record);",
"int insertSelective(DataSync record);",
"int insertSelective(Promo record);",
"int insertSelective(CmstTransfdevice record);",
"public void insert() throws SQLException;",
"int insertSelective(DebtsRecordEntity record);",
"Transaction beginTx();",
"int insertSelective(BaseReturn record);",
"int insertSelective(Prueba record);",
"void insertSelective(OrderPreferential record) throws SQLException;",
"int insertSelective(Orderall record);",
"public static void main(String[] args) throws ClassNotFoundException, SQLException {\n Class.forName(\"org.postgresql.Driver\");\n\n // Connect to the \"bank\" database.\n Connection conn = DriverManager.getConnection(\"jdbc:postgresql://127.0.0.1:26257/?reWriteBatchedInserts=true&applicationanme=123&sslmode=disable\", \"root\", \"\");\n conn.setAutoCommit(false); // true and false do not make the difference\n // rewrite batch does not make the difference\n\n try {\n // Create the \"accounts\" table.\n conn.createStatement().execute(\"CREATE TABLE IF NOT EXISTS accounts (id serial PRIMARY KEY, balance INT)\");\n\n // Insert two rows into the \"accounts\" table.\n PreparedStatement st = conn.prepareStatement(\"INSERT INTO accounts (balance) VALUES (?), (?) returning id, balance\", \n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n st.setInt(1, 100); \n st.setInt(2, 200); \n\n ResultSet rs = st.executeQuery();\n\n st = conn.prepareStatement(\"select id1, id2, link_type, visibility, data, time, version from linkbench.linktable where id1 = 9307741 and link_type = 123456790 and time >= 0 and time <= 9223372036854775807 and visibility = 1 order by time desc limit 0 offset 10000\",\n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n rs = st.executeQuery();\n rs.last();\n int count = rs.getRow();\n rs.beforeFirst();\n System.out.printf(\"# of row in return set is %d\\n\", count);\n\n while (rs.next()) {\n System.out.printf(\"\\taccount %s: %s\\n\", rs.getLong(\"id\"), rs.getInt(\"balance\"));\n }\n } finally {\n // Close the database connection.\n conn.close();\n }\n }",
"int insertSelective(TbSnapshot record);",
"int insertSelective(ResultDto record);",
"int insertSelective(TABLE41 record);",
"int insertSelective(Commet record);",
"public void loadInitialData() {\n\t\t\texecuteTransaction(new Transaction<Boolean>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Boolean execute(Connection conn) throws SQLException {\n\t\t\t\t\tList<Item> inventory;\n\t\t\t\t\tList<Location> locationList;\n\t\t\t\t\tList<User> userList;\n\t\t\t\t\tList<JointLocations> jointLocationsList;\n\t\t\t\t\t//List<Description> descriptionList; \n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinventory = InitialData.getInventory();\n\t\t\t\t\t\tlocationList = InitialData.getLocations(); \n\t\t\t\t\t\tuserList = InitialData.getUsers();\n\t\t\t\t\t\tjointLocationsList = InitialData.getJointLocations();\n\t\t\t\t\t\t//descriptionList = //InitialData.getDescriptions();\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new SQLException(\"Couldn't read initial data\", e);\n\t\t\t\t\t}\n\n\t\t\t\t\tPreparedStatement insertItem = null;\n\t\t\t\t\tPreparedStatement insertLocation = null; \n\t\t\t\t\tPreparedStatement insertUser = null;\n\t\t\t\t\tPreparedStatement insertJointLocations = null;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// AD: populate locations first since location_id is foreign key in inventory table\n\t\t\t\t\t\tinsertLocation = conn.prepareStatement(\"insert into locations (description_short, description_long) values (?, ?)\" );\n\t\t\t\t\t\tfor (Location location : locationList)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tinsertLocation.setString(1, location.getShortDescription());\n\t\t\t\t\t\t\tinsertLocation.setString(2, location.getLongDescription());\n\t\t\t\t\t\t\tinsertLocation.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertLocation.executeBatch(); \n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertJointLocations = conn.prepareStatement(\"insert into jointLocations (fk_location_id, location_north, location_south, location_east, location_west) values (?, ?, ?, ?, ?)\" );\n\t\t\t\t\t\tfor (JointLocations jointLocations: jointLocationsList)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tinsertJointLocations.setInt(1, jointLocations.getLocationID());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(2, jointLocations.getLocationNorth());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(3, jointLocations.getLocationSouth());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(4, jointLocations.getLocationEast());\n\t\t\t\t\t\t\tinsertJointLocations.setInt(5, jointLocations.getLocationWest());\n\t\t\t\t\t\t\tinsertJointLocations.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertJointLocations.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertItem = conn.prepareStatement(\"insert into inventory (location_id, item_name) values (?, ?)\");\n\t\t\t\t\t\tfor (Item item : inventory) \n\t\t\t\t\t\t{\n//\t\t\t\t\t\t\t// Auto generate itemID\n\t\t\t\t\t\t\tinsertItem.setInt(1, item.getLocationID());\n\t\t\t\t\t\t\tinsertItem.setString(2, item.getName());\n\t\t\t\t\t\t\tinsertItem.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertItem.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tinsertUser = conn.prepareStatement(\"insert into users (username, password) values (?, ?)\");\n\t\t\t\t\t\tfor(User user: userList) {\n\t\t\t\t\t\t\tinsertUser.setString(1, user.getUsername());\n\t\t\t\t\t\t\tinsertUser.setString(2, user.getPassword());\n\t\t\t\t\t\t\tinsertUser.addBatch();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinsertUser.executeBatch();\n\t\t\t\t\t\t\n\t\t\t\t\t\tSystem.out.println(\"Tables populated\");\n\t\t\t\t\t\t\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tDBUtil.closeQuietly(insertLocation);\t\n\t\t\t\t\t\tDBUtil.closeQuietly(insertItem);\n\t\t\t\t\t\tDBUtil.closeQuietly(insertUser);\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t});\n\t\t}",
"Long insert(Access record);",
"public void testInsert2() throws Exception {\n\n DAS das = DAS.FACTORY.createDAS(getConnection());\n Command insert = das.createCommand(\"insert into COMPANY (NAME) values (?)\");\n insert.setParameter(1, \"AAA Rental\");\n insert.execute();\n\n // insert another using same command\n insert.setParameter(1, \"BBB Rental\");\n insert.execute();\n\n // Verify insert\n // Verify\n Command select = das.createCommand(\"Select ID, NAME from COMPANY\");\n DataObject root = select.executeQuery();\n\n assertEquals(5, root.getList(\"COMPANY\").size());\n\n }",
"int insertSelective(Storage record);",
"int insertSelective(Storage record);",
"int insertSelective(NjOrderWork2 record);",
"@Override\n public void commitTx() {\n \n }",
"int insertSelective(Yqbd record);",
"Map retrievePreparedTransactions();",
"int insertSelective(Engine record);",
"int insertSelective(BPBatchBean record);",
"int insertSelective(TDwBzzxBzflb record);",
"public long insert();",
"IDbTransaction beginTransaction();",
"@Test(enabled = false)\n public void testInsertIntoTempTable() throws Exception {\n String tableName = createTable();\n String insertTableName = createTable(false, false, true);\n\n assertTableIsRegistered(DEFAULT_DB, tableName);\n assertTableIsNotRegistered(DEFAULT_DB, insertTableName, true);\n\n String query = \"insert into \" + insertTableName + \" select id, name from \" + tableName;\n\n runCommand(query);\n\n Set<ReadEntity> inputs = getInputs(tableName, Entity.Type.TABLE);\n Set<WriteEntity> outputs = getOutputs(insertTableName, Entity.Type.TABLE);\n\n outputs.iterator().next().setWriteType(WriteEntity.WriteType.INSERT);\n\n HiveEventContext event = constructEvent(query, HiveOperation.QUERY, inputs, outputs);\n AtlasEntity hiveProcess = validateProcess(event);\n AtlasEntity hiveProcessExecution = validateProcessExecution(hiveProcess, event);\n AtlasObjectId process = toAtlasObjectId(hiveProcessExecution.getRelationshipAttribute(\n BaseHiveEvent.ATTRIBUTE_PROCESS));\n Assert.assertEquals(process.getGuid(), hiveProcess.getGuid());\n Assert.assertEquals(numberOfProcessExecutions(hiveProcess), 1);\n\n assertTableIsRegistered(DEFAULT_DB, tableName);\n assertTableIsRegistered(DEFAULT_DB, insertTableName, null, true);\n }",
"int insertSelective(PmKeyDbObj record);",
"@Override\n\tpublic Integer insertUserIntoUsersTable(final String username, final String password) \n\t{\n\t\treturn executeTransaction(new Transaction<Integer>() \n\t\t{\n\t\t\t@Override\n\t\t\tpublic Integer execute(Connection conn) throws SQLException \n\t\t\t{\n\t\t\t\tPreparedStatement stmt1 = null;\n\t\t\t\tPreparedStatement stmt2 = null; \n\t\t\t\tPreparedStatement stmt3 = null; \t\n\t\t\t\t\n\t\t\t\tResultSet resultSet1 = null;\t\n\t\t\t\tResultSet resultSet3 = null; \n\t\t\t\t\n\t\t\t\t// for saving user ID\n\t\t\t\tInteger user_id = -1;\n\t\t\t\t\n\t\t\t\t// try to retrieve user_ID (if it exists) from DB, for username passed into query\n\t\t\t\ttry {\n\t\t\t\t\tstmt1 = conn.prepareStatement(\n\t\t\t\t\t\t\t\"select user_id from users \" +\n\t\t\t\t\t\t\t\" where username = ? \"\n\t\t\t\t\t);\n\t\t\t\t\tstmt1.setString(1, username);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t// execute the query, get the result\n\t\t\t\t\tresultSet1 = stmt1.executeQuery();\n\n\t\t\t\t\t\n\t\t\t\t\t// if user was found then inform the user \t\t\t\t\t\n\t\t\t\t\tif (resultSet1.next())\n\t\t\t\t\t{\n\t\t\t\t\t\tuser_id = -1; \n\t\t\t\t\t\tSystem.out.println(\"Username already taken\");\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"Creating new user\");\n\t\t\t\t\n\t\t\t\t\t\t// insert new user\n\t\t\t\t\t\tif (user_id <= 0) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// prepare SQL insert statement to add user to users table\n\t\t\t\t\t\t\tstmt2 = conn.prepareStatement(\n\t\t\t\t\t\t\t\t\t\"insert into users (username, password) \" +\n\t\t\t\t\t\t\t\t\t\" values(?, ?) \"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tstmt2.setString(1, username);\n\t\t\t\t\t\t\tstmt2.setString(2, password);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// execute the update\n\t\t\t\t\t\t\tstmt2.executeUpdate();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//Get the new user's id\n\t\t\t\t\t\t\tstmt3 = conn.prepareStatement(\n\t\t\t\t\t\t\t\t\t\"select user_id from users \" +\n\t\t\t\t\t\t\t\t\t\t\t\" where username = ? \"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tstmt3.setString(1, username);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//execute query and get result\n\t\t\t\t\t\t\tresultSet3 = stmt3.executeQuery(); \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//should only be one value \n\t\t\t\t\t\t\tresultSet3.next(); \n\t\t\t\t\t\t\tuser_id = resultSet3.getInt(1); \n\t\t\t\t\t\t\tSystem.out.println(\"New user added\");\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\treturn user_id;\n\t\t\t\t} \n\t\t\t\tfinally \n\t\t\t\t{\n\t\t\t\t\tDBUtil.closeQuietly(resultSet1);\n\t\t\t\t\tDBUtil.closeQuietly(stmt1);\n\t\t\t\t\tDBUtil.closeQuietly(stmt2);\t\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t}",
"int insertSelective(ParseTableLog record);",
"Integer insertSelective(JzAct record);",
"int insertSelective(AccessModelEntity record);",
"public <A> Future<A> transact(DB<A> op)\n {\n return withConnection(transactional(op), false);\n }",
"int insertSelective(SysId record);",
"int insertSelective(Forumpost record);",
"int insertSelective(TbComEqpModel record);",
"public int Trans1(Long userid,Long amount,Double price,Double comp_id)throws SQLException {\n\tint i=DbConnect.getStatement().executeUpdate(\"Insert into transaction values(trans_seq.nextval,\"+userid+\",sysdate,\"+amount+\",'sale','self',\"+comp_id+\",\"+price+\")\");\r\n\treturn i;\r\n}",
"int insertSelective(Abum record);",
"@Test\n\tpublic void testConcurrentInsert() {\n\n\t\ttry (DbTransaction transaction = new DbTransaction()) {\n\t\t\t// enforce a repeatable read for the current transaction\n\t\t\tAGUuid uuidObject = AGUuid.loadByUuidString(TEST_UUID.toString());\n\t\t\tassertNull(uuidObject);\n\n\t\t\t// insert the UUID with another connection\n\t\t\tInteger uuidId = insertUuidConcurrently();\n\t\t\tassertNotNull(uuidId);\n\n\t\t\t// check that the new UUID is found\n\t\t\tuuidObject = AGUuid.getOrCreate(TEST_UUID);\n\t\t\tassertNotNull(uuidObject);\n\t\t\tassertEquals(uuidId, uuidObject.getId());\n\t\t}\n\t}",
"int insertSelective(TestEntity record);",
"int insertSelective(ProcurementSource record);",
"int insertSelective(ZlnfBiZzdkZzdkWithBLOBs record);",
"void insertSelective(CTipoComprobante record) throws SQLException;",
"int insertSelective(Online record);",
"int insertSelective(TCpySpouse record);",
"@Override\n\tpublic String insertStatement() throws Exception {\n\t\treturn null;\n\t}",
"int insertSelective(ResPartnerBankEntityWithBLOBs record);",
"int insertSelective(BaseCountract record);",
"int insertSelective(Movimiento record);",
"int insertSelective(NjProductTaticsRelation record);",
"@Override\r\n\t\tpublic void commit() throws SQLException {\n\t\t\t\r\n\t\t}",
"public static void main(String[] args) throws SQLException {\n\n new Thread(() -> {\n System.out.println(\"线程2开始执行\");\n Connection c = null;\n try {\n JdbcMain jdbcMain = new JdbcMain();\n c = jdbcMain.getConnection();\n c.setAutoCommit(false);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);\n// c.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);\n c.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);\n Statement s = c.createStatement();\n\n\n for (int i = 0; i < 10; i++) {\n System.out.println(\"第\" + i + \"次查询\");\n select(s);\n Thread.sleep(1000);\n }\n c.commit();\n } catch (SQLException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } finally {\n try {\n c.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"线程2结束\");\n\n }).start();\n System.out.println(\"中间\");\n\n new Thread(() -> {\n System.out.println(\"线程1开始执行\");\n Connection c = null;\n try {\n JdbcMain jdbcMain = new JdbcMain();\n c = jdbcMain.getConnection();\n c.setAutoCommit(false);\n c.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);\n Statement s = c.createStatement();\n for (int i = 0; i < 2; i++) {\n Thread.sleep(1 * 1000);\n System.out.println(\"线程1 sleep time:\" + i);\n }\n System.out.println(\"执行 insert into student values(23,'test',1)\");\n s.executeUpdate(\"insert into student values(23,'test',1)\");\n System.out.println(\"insert结束\");\n for (int i = 0; i < 2; i++) {\n Thread.sleep(1 * 1000);\n System.out.println(\"线程1 sleep time:\" + i);\n }\n\n System.out.println(\"执行更新\");\n int x = s.executeUpdate(\"update student set name ='zzzzzzz'where id ='18'\");\n System.out.println(\"更新:\" + x);\n\n for (int i = 0; i < 3; i++) {\n Thread.sleep(1 * 1000);\n System.out.println(\"更新以后线程1 sleep time:\" + i);\n }\n// System.out.println(\"执行 insert into student values(12,'test',1)\");\n// s.executeUpdate(\"insert into student values(12,'sdfad',1)\");\n System.out.println(\"结束\");\n\n\n c.commit();\n c.close();\n } catch (SQLException e) {\n// e.printStackTrace();\n System.err.println(e.getMessage());\n try {\n System.out.println(\"线程1回滚\");\n c.rollback();\n } catch (SQLException e1) {\n e1.printStackTrace();\n }\n\n } catch (InterruptedException e) {\n e.printStackTrace();\n } finally {\n try {\n c.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"线程1结束\");\n }).start();\n\n System.out.println(\"主进程中间\");\n\n new Thread(() -> {\n System.out.println(\"线程3开始执行\");\n Connection c = null;\n\n try {\n Thread.sleep(15 * 1000);\n System.out.println(\"线程3开始读啦\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n try {\n JdbcMain jdbcMain = new JdbcMain();\n c = jdbcMain.getConnection();\n c.setAutoCommit(false);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);\n// c.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);\n c.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);\n Statement s = c.createStatement();\n\n\n for (int i = 0; i < 10; i++) {\n System.out.println(\"第\" + i + \"次查询\");\n select(s);\n Thread.sleep(1000);\n }\n c.commit();\n } catch (SQLException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } finally {\n try {\n c.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"线程3结束\");\n\n }).start();\n\n\n System.out.println(\"主进程结束\");\n }",
"int insertSelective(Journal record);",
"int insertSelective(Basicinfo record);",
"int insertSelective(Task record);",
"int insertSelective(R_order record);",
"IDbTransaction beginTransaction(IsolationLevel il);",
"int insertSelective(Payment record);",
"InsertResultType createInsertResultType();",
"int insertSelective(ClOrderInfo record);",
"int insert(Assist_table record);",
"int insertSelective(EventWithBLOBs record);",
"void insert(OrderPreferential record) throws SQLException;",
"@Test\n public void existingTransaction() {\n Transaction t1 = startTransaction();\n IntRef intValue = new IntRef(10);\n t1.commit();\n\n Transaction t2 = startTransaction();\n assertEquals(10, intValue.get());\n\n intValue.inc();\n assertEquals(11, intValue.get());\n t2.commit();\n }",
"private void executeInsert()\n\t\t\tthrows TranslatorException {\n\n\t\tInsert icommand = (Insert) command;\t\t\n\t\t\n\t\tTable t = metadata.getTable(icommand.getTable().getMetadataObject().getFullName());\n\t\t\n\t\t// if the table has a foreign key, its must be a child (contained) object in the root\n\t\tif (t.getForeignKeys() != null && t.getForeignKeys().size() > 0) {\n\t\t\tthis.addChildObject(t);\n\t\t\treturn;\n\t\t}\n\t\tString pkColName = null;\n\t\t\n\t\t// process the top level object\n\t\tList<Column> pk = t.getPrimaryKey().getColumns();\n\t\tif (pk == null || pk.isEmpty()) {\n final String msg = CoherencePlugin.Util.getString(\"CoherenceUpdateExecution.noPrimaryKeyDefinedOnTable\", new Object[] {t.getName()}); //$NON-NLS-1$\n\t\t\tthrow new TranslatorException(msg);\t\t\n\t\t}\n\t\t\n\t\tpkColName = visitor.getNameFromElement(pk.get(0));\n\t\t\n\t\tObject newObject = cacheTranslator.createObject(icommand.getColumns(), \n\t\t\t\t((ExpressionValueSource)icommand.getValueSource()).getValues(), \n\t\t\t\tthis.visitor, \n\t\t\t\tt);\n\t\t\n\t\t// get the key value to use to for adding to the cache\n\t\tObject keyvalue = ObjectSourceMethodManager.getValue(\"get\" + pkColName, newObject);\n\t\n\t\t// add to cache\n\t\ttry {\n\t\t\tthis.connection.add(keyvalue, newObject);\n\t\t} catch (ResourceException e) {\n\t\t\tthrow new TranslatorException(e);\n\t\t}\t\t\t\n\n\t\t\n\t}",
"int insertSelective(OrderDetails record);",
"int insertSelective(CptDataStore record);",
"int insertSelective(PurchasePayment record);",
"@Test\n public void testInsertingValidValues() throws SQLException {\n CommitStructure commit = getSampleCommit();\n MysqlDatabase mysqlDatabase = new MysqlDatabase(connection);\n assertTrue(mysqlDatabase.insertCommitToDatabase(commit));\n }",
"private void inserts() {\n DBPeer.fetchTableRows();\n DBPeer.fetchTableIndexes();\n \n Map<Number160, Data> tabRows = DBPeer.getTabRows();\n\t\tMap<Number160, Data> tabIndexes = DBPeer.getTabIndexes();\n\t\t\n String tabName = null;\n Number160 tabKey = null;\n FreeBlocksHandler freeBlocks = null;\n Map<String, IndexHandler> indexHandlers = new HashMap<>();\n TableRows tr = null;\n TableIndexes ti = null;\n \n logger.trace(\"INSERT-WHOLE\", \"BEGIN\", Statement.experiment);\n \n for (Insert ins: inserts) {\n \n if (tabName == null) {\n \ttabName = ins.getTabName();\n \ttabKey = Number160.createHash(tabName);\n \tfreeBlocks = new FreeBlocksHandler(tabName);\n \ttry {\n \t\t\t\ttr = (TableRows) tabRows.get(tabKey).getObject();\n \t\t\t\tti = (TableIndexes) tabIndexes.get(tabKey).getObject();\n \t\t\t} catch (ClassNotFoundException | IOException e) {\n \t\t\t\tlogger.error(\"Data error\", e);\n \t\t\t}\n \tfor (String index: ti.getIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \tfor (String index: ti.getUnivocalIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n } else if (!tabName.equals(ins.getTabName())) {\n \t\t\ttry {\n \t\t\t\ttabRows.put(tabKey, new Data(tr));\n \t\t\ttabIndexes.put(tabKey, new Data(ti));\n \t\t\ttabName = ins.getTabName();\n \ttabKey = Number160.createHash(tabName);\n \t\t\t\ttr = (TableRows) tabRows.get(tabKey).getObject();\n \t\t\t\tti = (TableIndexes) tabIndexes.get(tabKey).getObject();\n \t\t\t\tfreeBlocks.update();\n \tfreeBlocks = new FreeBlocksHandler(tabName);\n \tindexHandlers.clear();\n \tfor (String index: ti.getIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \tfor (String index: ti.getUnivocalIndexes()) {\n \t\tindexHandlers.put(index, new IndexHandler(ins.getPeer()));\n \t}\n \t\t\t} catch (ClassNotFoundException | IOException e) {\n \t\t\t\tlogger.error(\"Data error\", e);\n \t\t\t}\n } \n \n ins.init(freeBlocks, indexHandlers, tr, ti);\n \n }\n \n boolean done = false;\n while (!done) {\n \tint countTrue = 0;\n \tfor (Insert ins: inserts) {\n \t\tif (ins.getDone()) {\n \t\t\tcountTrue++;\n \t\t}\n \t}\n \tif (countTrue == inserts.size()) {\n \t\tdone = true;\n \t}\n }\n \n freeBlocks.update();\n\n try {\n\t\t\ttabRows.put(tabKey, new Data(tr));\n\t\t\ttabIndexes.put(tabKey, new Data(ti));\n\t\t} catch (IOException e) {\n\t\t\tlogger.error(\"Data error\", e);\n\t\t}\n \n DBPeer.updateTableRows();\n DBPeer.updateTableIndexes();\n \n logger.trace(\"INSERT-WHOLE\", \"END\", Statement.experiment);\n }",
"int insertSelective(Tourst record);",
"int insertSelective(Account record);",
"int insertSelective(MessageRelation record);",
"int insertSelective(GatewayLog record);",
"Long insertSelective(User record);",
"public void run(Statement state) throws SQLException {\n\n System.out.println(\"INFO: -= Inserting data via dummy table ...\");\n state.execute(multipleRowInsertDummySQL);\n System.out.println(\"INFO: -= The data are inserted via dummy table:\");\n selectAllFromTable(state, tableName, 10);\n\n System.out.println(\"INFO: -= Inserting data using INSERT INTO statement ...\");\n state.execute(multipleRowInsertIntoSQL);\n System.out.println(\"INFO: -= The data are inserted via INSERT INTO statement:\");\n selectAllFromTable(state, tableName, 20);\n }",
"int insertSelective(Cargo record);",
"int insertSelective(SysCode record);",
"int insertSelective(Order record);",
"int insertSelective(Goods record);",
"int insertSelective(OrderDetail record);",
"int insertSelective(Caiwu record);",
"int insert(DebtsRecordEntity record);",
"int insertSelective(ShopAccount record);",
"public void testSaveTableByTimeAllTransactional() throws Exception {\n\t\tfailed = false;\n\t\tlogger.info(\"loop test 1\");\n\n\t\tExecutorService executor = Executors.newFixedThreadPool(nThreads * 2);\n\t\tList<Callable<Object>> tasks1 = insertTasks();\n\n\t\tList<Callable<Object>> tasks2 = updateTasksPassing();\n\n\t\tCollection<Callable<Object>> tasks = new ArrayList<>();\n\t\ttasks.addAll(tasks1);\n\t\ttasks.addAll(tasks2);\n\n\t\trunTasks(executor, tasks);\n\n\t\tshutdownExecutor(executor);\n\n\t\tlogger.info(\"I have {} Tables saved\", getCountTablePassing());\n\t}",
"int insertSelective(Admin record);",
"int insertSelective(Admin record);",
"int insertSelective(SPerms record);"
] | [
"0.69506115",
"0.6638393",
"0.6499687",
"0.6483699",
"0.6351816",
"0.62837815",
"0.62642103",
"0.6241732",
"0.6220191",
"0.6210045",
"0.62075025",
"0.6203727",
"0.6188127",
"0.61832684",
"0.61664826",
"0.6155992",
"0.6147366",
"0.6144483",
"0.61407465",
"0.6136701",
"0.61259794",
"0.61213803",
"0.61116844",
"0.6108102",
"0.60998964",
"0.6095971",
"0.6091421",
"0.6077316",
"0.607204",
"0.607204",
"0.60676295",
"0.6066337",
"0.6048801",
"0.6048762",
"0.60403454",
"0.6039",
"0.6030898",
"0.60300905",
"0.6028301",
"0.60267836",
"0.6023451",
"0.6022563",
"0.60223204",
"0.6013854",
"0.5992135",
"0.5984052",
"0.59755534",
"0.5974976",
"0.59704787",
"0.5967825",
"0.59634084",
"0.5944145",
"0.5943669",
"0.5936087",
"0.5934247",
"0.59288",
"0.59161645",
"0.5914947",
"0.59096485",
"0.5909022",
"0.59083295",
"0.59038657",
"0.58985347",
"0.5891096",
"0.58739614",
"0.5871788",
"0.5867037",
"0.58651507",
"0.586044",
"0.58584505",
"0.58580196",
"0.5852422",
"0.58458763",
"0.584563",
"0.5843485",
"0.58419573",
"0.5840783",
"0.5834562",
"0.5834388",
"0.5832707",
"0.58324873",
"0.58303434",
"0.5827254",
"0.58268183",
"0.58174026",
"0.58170134",
"0.58165133",
"0.5815944",
"0.5813144",
"0.58101785",
"0.5804898",
"0.5801648",
"0.58007485",
"0.5800556",
"0.5799101",
"0.57942873",
"0.57938147",
"0.57889456",
"0.578709",
"0.578709",
"0.5786039"
] | 0.0 | -1 |
Scanner sc=new Scanner(System.in); int size=sc.nextInt(); | public static void main(String[] args)
{
Stack st=new Stack();
st.push(6);
st.push(5);
st.push(3);
st.push(2);
st.push(1);
System.out.println( st.peek());
// System.out.println( st.isEmpty());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) \r\n\t{\r\n\t\t\r\n\t\tScanner sc = new Scanner( System.in);\r\n\t\tSystem.out.println(\"Enter The Size\");\r\n\t\tint size = sc.nextInt();\r\n\t\tint array[]=new int[size];\r\n\t\t\r\n\t\tfor(int i=0;i<size;i++)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Enter the value at\"+ (i+1)+\" \");\r\n\t\t\tarray[i]=sc.nextInt();\r\n\t\t}\r\n\t\tfor(int i=0;i<size;i++)\r\n\t\t{\r\n\t\t\tSystem.out.println(array[i]);\r\n\t\t}\r\n\t}",
"private static int takeInputLength(){\r\n int length;\r\n System.out.println(\"Enter Length of password\");\r\n Scanner scanner = new Scanner(System.in);\r\n length = scanner.nextInt();\r\n return length;\r\n }",
"private static int getNumberOfPlayers() {\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"Enter the number of kids: \");\n return scanner.nextInt();\n }",
"public static int getInput() {\n Scanner in = new Scanner(System.in);\n\n return in.nextInt();\n }",
"int[] takeNumberFromUser() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter size of numbers\");\n\t\tint size = scan.nextInt();\n\t\tint[] input = new int[size];\n\t\tfor (int index = 0; index < input.length; index++) {\t\t//taking array element as input on console\n\t\t\tinput[index] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\t\treturn input; // returning input array\n\t}",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n\n int count=0;\n\n for(int i=1;i<=10;i++)\n\n {\n System.out.println(\"Enter value: \\t\");\n\n int x=sc.nextInt(); //assign the next integer to x\n\n count=count+x;\n Scanner close;\n\n }\n\n System.out.println(\"The sum is: \"+count);\n\n }",
"public static void main(String[] args) {\n\t\tScanner s=new Scanner(System.in);\r\n\t\tSystem.out.println(\"enter the input\");\r\n\t\tint n=s.nextInt();\r\n\t\ts.nextLine();\r\n\t\tHashSet<String> hs=new HashSet<String>(n);\r\n\t\tfor(int i=0;i<n;i++)\r\n\t\t{\r\n\t\t\t\r\n\t\t\ths.add(s.nextLine());\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println(hs);\r\n\t\tSystem.out.println(hs.size());\r\n\r\n\t}",
"public static void main(String[] args) {\n\t\tHashSet<String> players=new HashSet<String>(); \n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\t\tString player;\n\t\tfor(int i=0;i<count+1;i++)\n\t\t{\n\t\t\tplayer = sc.nextLine();\n\t\t\tplayers.add(player);\n\t\t}\n\t\tSystem.out.println(players.size());\n\t}",
"public int askSize(String sizeName, int min, int max, String titel);",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int n = scanner.nextInt();\n int[] A = new int[n];\n for (int i = 0; i < n; i++) {\n A[i] = scanner.nextInt();\n }\n System.out.println(count(A, n));\n }\n }",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n System.out.println(IntStream.generate(sc::nextInt)\n .limit(n).min().getAsInt());\n }",
"public static void petsAge() {\n System.out.println(\"What is the age of your pet?\");\n int petAge = sc.nextInt(); \n }",
"public static void main(String args[]) {\n \n Scanner in=new Scanner(System.in);\n int s=in.nextInt();\n \n int arr[]=new int[s];\n \n for(int i=0;i<s;i++)\n {\n arr[i]=in.nextInt();\n }\n fun(s,arr);\n \n}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint size = sc.nextInt();\n\t\tint[] iArr = new int[size];\n\t\tfor(int i=0; i<iArr.length; i++) {\n\t\t\tint first, second;\n\t\t\tfirst = sc.nextInt();\n\t\t\tsecond = sc.nextInt();\n\t\t\tSystem.out.println(first+second);\n\t\t}\n\t}",
"public static void main(String[]args) {\n\n System.out.println( \"enter a number:\" );\n String a = \"homosexual\";\n System.out.println( a.length() );\n\n String andrew = \"Hello\";\n Scanner can = new Scanner (System.in);\n System.out.println( \"Enter the next number\" );\n // to get the next integer\n System.out.println(can.nextInt()) ;\n\n\n\n\n\n\n\n\n\n}",
"public static int[] input() {\n System.out.println(\"Enter size of array: \");\r\n Scanner sc = new Scanner(System.in);\r\n int n = sc.nextInt();\r\n int a[] = new int[n];\r\n for (int i = 0; i < n; i++) { //This forloop will help to store array \r\n a[i] = sc.nextInt();\r\n }\r\n return a;\r\n\r\n }",
"public void setSize() {\r\n\t\tif (intScanner.hasNextInt()) {\r\n\t\t\tint trySize = intScanner.nextInt();\r\n\t\t\tif (trySize > 0) {\r\n\t\t\t\tsize = trySize;\r\n\t\t\t\tSystem.out.println(\"The size will be \" + size);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tSystem.out.println(\"Please use a number greater than zero.\");\r\n\t\t\t\tsetSize();\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Please use a number.\");\r\n\t\t\tintScanner.next();\r\n\t\t\tsetSize();\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\nint a[]=new int[4];\r\nSystem.out.println(\"enter array values\" );\r\n\r\nScanner sc=new Scanner(System.in);\r\na[0]=sc.nextInt();\r\na[1]=sc.nextInt();\r\na[2]=sc.nextInt();\r\na[3]=sc.nextInt();\r\n\r\n\r\n\r\n\r\n\t}",
"private void getInput() {\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter a number\");\r\n\t\tn=scan.nextInt();\r\n\r\n\t}",
"public static void main(String[] args) {\n\t\ttry (Scanner in = new Scanner(System.in)) {\n\t\t\t// The first line of input contains the size of the array, n.\n\t\t\tint n = in.nextInt();\n\t\t\t// The second line contains n space-separated integers, the of which\n\t\t\t// contains .\n\t\t\tint[] A = new int[n];\n\t\t\tfor (int A_i = 0; A_i < n; A_i++) {\n\t\t\t\tA[A_i] = in.nextInt();\n\t\t\t}\n\n\t\t\tint result = smallestSizeSubsequence(n, A);\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tSystem.out.print(\"Enter the value of n : \");\r\n\t\tint n = sc.nextInt();\r\n\t\tSystem.out.println(\"Entered input is : \"+ n);\r\n\t}",
"public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n for (int i = 0; i < 4; i++) {\n int number = num.nextInt();\n System.out.println(number);\n }\n }",
"@Test\n\tpublic void one()\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"enter the value of a\");\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(\"value of a is: \" +a);\n\t}",
"public static void main(String[] args) {\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tString a = scan.next();\r\n\t\tint x = Integer.parseInt(a);\r\n\t\tList<Integer> list = new ArrayList<>();\r\n\t\twhile (scan.hasNextInt()) {\r\n\t\t\tlist.add(scan.nextInt());\r\n\t\t}\r\n\t\tif (x > list.size()) {\r\n\t\t\tSystem.out.println(\"NIL\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tSystem.out.println(list.get(list.size() - x));\r\n\t}",
"public static void main(String[] args) {\n Scanner scanner = new Scanner (System.in);\n int n = scanner.nextInt();\n int[] counts = new int[100];\n for ( int i = 0; i < 100; ++i )\n counts[i] = 0;\n for ( int i = 0; i < n; ++i ) {\n int x = scanner.nextInt();\n ++counts[x];\n }\n scanner.close();\n for ( int i = 0; i < 100; ++i ) System.out.print( counts[i] + \" \" );\n System.out.println();\n }",
"public static int f_number_user(){\n Scanner keyboard=new Scanner(System.in);\r\n int digits;\r\n System.out.println(\"input the entire number \");\r\n digits=keyboard.nextInt();\r\n return digits;\r\n }",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int size = in.nextInt();\n int[] a = new int[100];\n for (int i = 0; i < size; i++) {\n int j = in.nextInt();\n a[j] = a[j] + 1;\n }\n\n for(int n : a){\n System.out.print(n+\" \");\n }\n System.out.println(\"\");\n }",
"public static int getUserInput(){\r\n String input;\r\n Integer selection;\r\n while(true){\r\n try {\r\n input = JOptionPane.showInputDialog(null, \"Please enter the desired side size or press cancel for default size,\\n\"\r\n + \"you should enter a valid integer between 3 and 100.\");\r\n if (input == null) {\r\n selection = DEFAULT_SIZE;\r\n }\r\n else {\r\n selection = Integer.parseInt(input);\r\n if (selection > UPPER_BOUND) selection = UPPER_BOUND;\r\n else if (selection < LOWER_BOUND) selection = LOWER_BOUND;\r\n }\r\n break;\r\n }\r\n catch (NumberFormatException e){\r\n continue;\r\n }\r\n }\r\n return selection;\r\n \r\n }",
"public static void main(String[] args) {\r\n Scanner sc = new Scanner(System.in);\r\n int count=1;\r\n String op;\r\n while(sc.hasNext()){\r\n\r\n for(int i=1;i<=count;i++){\r\n count++;\r\n op= sc.nextLine();\r\n StdOut.println(i+\" \"+op);\r\n }\r\n }\r\n }",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint arr[] = new int[size];\n\t\tfor(int i=0;i<size;i++)\n\t\t\tarr[i] = scanner.nextInt();\n\t\tinsertionSort(arr);\n\t}",
"public static int getSize(){\n Scanner input;\n \n \n File f = new File(fName);\n \n \n int size = 0;\n \n try{\n input = new Scanner(f);\n input.nextLine();\n \n while(input.hasNextLine()){\n input.nextLine();\n size++;\n \n }\n input.close();\n }catch (IOException e){\n e.printStackTrace();\n }\n return size;\n}",
"public static void main(String[] args) {\n\t\tScanner s=new Scanner(System.in);\r\n\t\tString str=s.nextLine();\r\n\t\tint count=0;\r\n\t\tchar ch[]=str.toCharArray();\r\n\t\tfor(char c:ch)\r\n\t\t{\r\n\t\t\tcount++;\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(count);\r\n\t}",
"public static void main(String[] args) \n\t{\n\t\tScanner src = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"Enter the number: \");\n\t\tint n = src.nextInt();\n\t\tint temp;\n\t\tsrc.close();\n\t}",
"public static int[] takeInput() {\n System.out.println(\"Enter size of arrays : \");\n int size = scn.nextInt();\n\n // declaring arrays \n int[] arrays = new int[size];\n\n // taking input from user\n for (int i = 0; i < arrays.length; i++) {\n System.out.println(\"Enter elements at \" + i);\n arrays[i] = scn.nextInt();\n }\n\n return arrays;\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int N = scanner.nextInt();\n int sum = 0;\n for (int i = 0; i < N; i++) {\n sum += scanner.nextInt();\n }\n System.out.println(sum);\n }\n }",
"public static void main(String args[])\n {\n Scanner getInput = new Scanner(System.in);\n System.out.print(\"Please enter your name: \");\n String name = getInput.next();\n System.out.println(\"My name is \" +name);\n System.out.println(\"My name has \"+name.length()+\" characters\");\n }",
"public static int inputInteger()\n\t{\n\t\treturn(sc.nextInt());\n\t}",
"private static int getN ()\n\t{\n\t int inputInt = 1;\n\t BufferedReader in = new BufferedReader (new InputStreamReader (System.in));\n\t String inStr = new String();\n\n\t try\n\t {\n\t inStr = in.readLine ();\n\t inputInt = Integer.parseInt(inStr);\n\t }\n\t catch (IOException e)\n\t {\n\t System.out.println (\"Could not read input, choosing 1.\");\n\t }\n\t catch (NumberFormatException e)\n\t {\n\t System.out.println (\"Entry must be a number, choosing 1.\");\n\t }\n\n\t return (inputInt);\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString scStr;\n\t\twhile (true) {\n\t\t\tSystem.out.println(\"Please input the n: \");\n\t\t\tscStr = sc.next();\n\t\t\tif (validate(scStr))\n\t\t\t\tSystem.out.println(\"The count is: \\n\" + count(Integer.parseInt(scStr)));\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\t\n\tScanner scan = new Scanner(System.in);\n\t\n\tSystem.out.print(\"Enter a value: \");\n\tbyte num = scan.nextByte();\n\t\n\t\n\tScanner input = new Scanner(System.in);\n\t\n\tSystem.out.print(\"Enter another value: \");\n\tint n = input.nextInt();\n\t\n\t\n\tScanner car = new Scanner(System.in);\n\t\n\tSystem.out.print(\"Enter third value: \");\n\tint nn = car.nextInt();\n\t\n\tSystem.out.print(\"The total value is: \" + (num + n + nn));\n\n\t\n\t\n\t\n\t}",
"public static void main(String[] args) {\n\t\tint d;\n\t\tint index = -1;\n\t\tint count=0;\n\t\tint max=1;\n List <Integer>list=new ArrayList<Integer>();\n Scanner input = new Scanner(System.in);\n d=input.nextInt();\n while(d!=0)\n {\n \tlist.add(d);\n \td=input.nextInt();\n }\n System.out.println(list.get(index)+\"出现了\"+max+\"次\");\n //System.out.println(index);\n //求其他出现最多次数的字符。\n \n\t}",
"public static void main(String[] args) {\n\t\t\n\t\t\n\t\tScanner s=new Scanner(System.in);\n\t\tSystem.out.println(\"Enter the number of elements you want to store\");\n\t\tint n= s.nextInt();\n\t\tint a[]=new int[10];\n\t\tint i;\n\t\tSystem.out.println(\"Enter numbers\");\n\t\tfor( i=0;i<=n;i++)\n\t\t{\n\t\t\t\n\t\t\ta[i]=s.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.print(\"numbers are\");\n\t\tfor(i=0;i<=n;i++)\n\t\t{\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"static int getQuantityOf(Fruit fruit) {\n\t\tSystem.out.println(\"Please enter number of \" + fruit + \" (1 or more): \");\n\t\tuserInput = new Scanner(System.in);\n\t\treturn userInput.hasNextInt() ? userInput.nextInt()\t: getQuantityOf(fruit);\n\t}",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n // size of array\n int len = scanner.nextInt();\n int[] arr = new int[len];\n \n // elements of array\n for (int i = 0; i < arr.length; i++) {\n arr[i] = scanner.nextInt();\n }\n \n int sum = 0;\n for (int num : arr) {\n sum += num;\n }\n System.out.println(sum);\n }",
"public static void main(String[] args) {\n\t\t\n\t\tint[] array= {13};\n\t\t//array[1]=12;\n\t\t\n\t\tSystem.out.println(array.length);\n\n\t Scanner scan=new Scanner(System.in);\n\t System.out.println(\"How many element do you want to store inside an array\");\n\t \n\t int size =scan.nextInt();\n\t \n\t int[] numbers=new int[size];\n\t \n\t for(int i=0; i<numbers.length; i++ ) {\n\t \n\t\t numbers[i]=scan.nextInt();}\n\t \n\t \n {System.out.println(\"Display all elements from an array\");\t \n\t\t \n\t\t \n\t\t \n\t \n\n}}",
"private int getInput()\n {\n int input = 0;\n Scanner scanner = new Scanner(System.in);\n\n try {\n input = scanner.nextInt();\n }\n catch(Exception e) {\n System.out.println(\"Vælg et tal fra menuen.\");\n scanner.nextLine();\n }\n\n return input;\n }",
"public static void main(String[] args) {\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tint N = in.nextInt();\r\n\t\tint[] arr = new int[N];\r\n\t\tfor (int i = 0; i < N; i++) {\r\n\t\t\tarr[i] = in.nextInt();\r\n\t\t}\r\n\t\tArrays.sort(arr);\r\n\t\tint size = arr.length;\r\n\t\tint index = 0;\r\n\t\twhile (size > 0) {\r\n\t\t\tSystem.out.println(size);\r\n\t\t\tint count = 0;\r\n\t\t\twhile (index + count < N && arr[index] == arr[index + count]) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t\tsize -= count;\r\n\t\t\tindex += count;\r\n\t\t\tcount = 0;\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tString str=sc.next();\r\n\t\tSystem.out.println(findMaxLen(str));\r\n\t\tsc.close();\r\n\t}",
"public static void main(String[] args) {\r\n \t try{\r\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n String input=br.readLine();\r\n int N=Integer.parseInt(input);\r\n input=br.readLine();\r\n String[] values=input.split(\" \");\r\n int ints[]=genArray(values);\r\n printArray(ints);\r\n }\r\n catch(Exception e){\r\n \r\n }\r\n }",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tint t=sc.nextInt();\r\n\t\twhile(t-->0) {\r\n\t\t\tList<String> arr=new ArrayList();\r\n\t\t\tint n=sc.nextInt();\r\n\t\t\tfor(int i=0;i<n;i++) {\r\n\t\t\t\tarr.add(sc.next());\r\n\t\t\t}\r\n\t\t\tint max=longestString(arr);\r\n\t\t\tSystem.out.println(max);\r\n\t\t}\r\n\r\n\t}",
"public static int solicitarSueldo(){\n int sueldo;\r\n Scanner teclado = new Scanner(System.in);\r\n System.out.println(\"Introduce sueldo\");\r\n sueldo= teclado.nextInt();\r\n return sueldo;\r\n }",
"public static void main(String[] args) \n\t{\n\t\t\t\tSystem.out.println(\"Enter size of vector\");\n\t\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tint n;\n\t\t\t\ttry \n\t\t\t\t{\n\t\t\t\t\t// fetch size of vector, the input entered by the user\n\t\t\t\t\tn = Integer.parseInt(br.readLine());\n\t\t\t\t\t// call method to generate n random numbers\n\t\t\t\t\tif(n>0)\n\t\t\t\t\t{\n\t\t\t\t\t\tgenerateRandomNumbers(n);\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t\tcatch (NumberFormatException ex) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\" Number Format Exception Occurred: \"+ex.getMessage());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Input Output Exception: \"+e.getMessage());\n\t\t\t\t}\n\t\t\t\tcatch (Exception exp) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\" Exception Occurred: \"+exp.getMessage());\n\t\t\t\t}\n\n\t}",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n;\n int result = 0;\n do {\n n = sc.nextInt();\n if (n > result) {\n result = n;\n }\n \n } while (n != 0);\n System.out.println(result);\n }",
"public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner input = new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter size of array: \");\n\t\tint[] numbers = new int[input.nextInt()];\n\t\tfor (int i = 0; i < numbers.length; i++) {\n\t\t\tSystem.out.println(\"Please enter number\");\n\t\t\tnumbers[i] = input.nextInt();\n\t\t}\n\t\tSystem.out.println(\"Please enter size of sub array: \");\n\t\tint[][] result = partitionArray(numbers, input.nextInt());\n\t\tSystem.out.println(Arrays.deepToString(result));\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n System.out.println(\"enter the max students\"); \n int len=sc.nextInt(); \n String[] students=new String[len]; \n System.out.println(\"enter the students\");\n for(int i=0;i<len;i++)\n {\n students[i]=sc.next();\n }\n for(String tem:students){\n \tSystem.out.println(tem);\n }\n sc.close();\n\t}",
"private static int getNumChildren() {\n Scanner input = new Scanner(System.in);\n\n System.out.print(\"Enter number of children: \");\n int numChildren = input.nextInt();\n return numChildren;\n }",
"public static void main(String[] args) {\n\t\tScanner inputN = new Scanner(System.in);\r\n\t\tScanner inputP = new Scanner(System.in);\r\n\t\t\r\n\t\tSystem.out.println(\"Input positive integers n and k: \");\r\n\t\tint n = inputN.nextInt();\r\n\t\tint k = inputN.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"Input partition P: \");\r\n\t\tint[] p = new int[k];\r\n\t\t\r\n\t\tfor(int i=0; i<k; i++)\r\n\t\t\tp[i] = inputP.nextInt();\r\n\t\t\r\n\t\tprintSize(n, k, p);\r\n\t}",
"public long getInputSize()\r\n\t{\r\n\t return inputSize;\r\n\t}",
"public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n String s = scan.next();\n int k = scan.nextInt();\n scan.close();\n\n System.out.println(getSmallestAndLargest(s, k));\n }",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tSystem.out.println(\"enter a string\");\n\t\tString str=sc.nextLine();\n\t\tint count=0;\n\t\tchar ar[]=str.toCharArray();\n\t\tfor(char c:ar) {\n\t\t\tcount++;\n\t\t}\nSystem.out.println(count);\n\t}",
"private static int validateInput() {\n Scanner genericInt = new Scanner(System.in);\n int number = 0;\n if (genericInt.hasNextInt()) {\n number = genericInt.nextInt();\n return number;\n }\n else {\n validateInput();\n }\n return number;\n }",
"private int getIndex()\n {\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"\");\n System.out.print(\"Indtast index: \");\n return scanner.nextInt();\n }",
"public static void main(String[] args) {\n int min = 0;\n int max = 0;\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n System.out.println(\"Enter number:\");\n boolean isAnInt = scanner.hasNextInt();\n\n if (isAnInt) {\n int input = scanner.nextInt();\n if (count == 0) {\n min = input;\n max = input;\n } else if (input < min) {\n min = input;\n } else if (input > max) {\n max = input;\n }\n count++;\n } else {\n System.out.println(\"The smallest number you entered: \" + min);\n System.out.println(\"The largest number you entered: \" + max);\n break;\n }\n }\n\n scanner.close();\n }",
"public static void main(String[] args) {\n\t\tLabbook7_Second mObject = new Labbook7_Second();\n\t\tScanner in = new Scanner(System.in);\n\t\tSystem.out.println(\"Enter the length of array\");\n\t\tmObject.size = in.nextInt();\n\t\tchar array[] = new char[mObject.size];\n\t\tfor (int i = 0; i < mObject.size; i++)\n\t\t\tarray[i] = in.next().charAt(0);\n\t\tSystem.out.println(mObject.countCharacter(array));\n\t\tin.close();\n\t}",
"protected static int easyIn() {\n // ADDITIONAL CHECKS?\n int a;\n debug(\"Please enter your selection: \");\n scanner = new Scanner(System.in);\n\t\ta = scanner.nextInt();\n return a;\n }",
"private static Integer[] readInputFromUser(Scanner in) {\n\t\tInteger[] array = null;\n\t\t/**\n\t\t * Accept the quantity of the data along with actual data.\n\t\t */\n\t\tSystem.out.print(\"Please enter number of integers you want to input:\");\n\t\tint s = in.nextInt();\n\t\tarray = new Integer[s];\n\t\tSystem.out.print(\"Please enter Integers:\");\n\n\t\tfor (int i = 0; i < s; i++) {\n\t\t\tarray[i] = in.nextInt();\n\t\t}\n\t\tSystem.out.println(\"Input Array: \" + Arrays.toString(array));\n\t\treturn array;\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int N,i,k;\n System.out.println(\"enter array size\");\n N=sc.nextInt();\n int A[]=new int[N];\n System.out.println(\"enter array elements\");\n for(i=0;i<N;i++) {\n A[i]=sc.nextInt();\n }\n Arrays.sort(A);\n System.out.println(\"enter k\");\n k=sc.nextInt();\n System.out.println(\"kth smallest element is\"+A[k-1]);\n\t}",
"public static void main(String[] args) {\n\t\tint i;\n\t\tScanner sc=new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter number of elements:\");\n\t\tint size=sc.nextInt();\n\t\tSystem.out.println(size);\n\t\tint[] a=new int[size];\n\t\tfor(i=0;i<a.length;i++)\n\t\t{\n\t\t\tSystem.out.println(\"Please enter next element:\");\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tScannerArrayProblem4 arrayproblem4 = new ScannerArrayProblem4();\n\t\tarrayproblem4.findlargestsmallest(a);\n\t}",
"public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n\n\n\n }",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\r\n\t\twhile(in.hasNext()){\r\n\t\t\tint n = in.nextInt();\r\n\t\t\tint[] A = new int[n];\r\n\t\t\tfor(int i=0;i<n;i++){\r\n\t\t\t\tA[i] = in.nextInt();\r\n\t\t\t}\r\n\t\t\tint[] leftSmall = leftSmall(A);\r\n\t\t\tint[] rightBig = rightBig(A);\r\n//\t\t\tSystem.out.println(Arrays.toString(leftSmall));\r\n//\t\t\tSystem.out.println(Arrays.toString(rightBig));\r\n\t\t\tint small = Integer.MAX_VALUE;\r\n\t\t\tfor(int i=0;i<n;i++){\r\n\t\t\t\tint s = leftSmall[i] + rightBig[i] -1;\r\n\t\t\t\tsmall = Math.min(small, n-s);\r\n\t\t\t}\r\n\t\t\tSystem.out.println(small);\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\n\t\tint arraySize;\n\t\tscanner = new Scanner(System.in);\n\t\tSystem.out.println(\"Enter the no of elements you want to read for Array:\");\n\t\tarraySize = scanner.nextInt();\n\t\tif(arraySize == 0) {\n\t\t\tSystem.out.println(\"You can't Read elements as Array Size is 0\");\n\t\t}else {\n\t\t\tnoArray = new int[arraySize];\n\t\t\tgetArrayElements();\n\t\t\tRemoveDuplicate();\n\t\t\tdisplayArrayElements();\n\t\t}\n\t\tscanner.close();\n\t}",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter your limit: \");\n\t\tint limit = input.nextInt();\n\t\tSystem.out.println(\"Please enter your numbers: \");\n\t\tList<Integer> list = new java.util.ArrayList<Integer>();\n\t\tfor (int i = 0; i <limit ; i++) {\n\t\t\tlist.add(input.nextInt());\n\t\t}\n\t\tfor (int j = 0; j <list.size() ; j++) {\n\t\t\tSystem.out.println(list.get(j));\n\t\t}\n\t\n\n\t}",
"public static int numbersOfIterations(Scanner console){\n\t\tSystem.out.println(\"Enter number of iterations: \");\n\t\treturn console.nextInt();\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tSystem.out.println(val(arr));\n\t}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> a = null;\n\t\tint size1;\n\t\tsize1 = sc.nextInt();\n\n\t\tfor (int i = 0; i < size1; i++) {\n\t\t\tint size;\n\n\t\t\tString str = sc.next();\n\n\t\t\tString[] strArray;\n\t\t\tstrArray = str.split(\"\");\n\n\t\t\tsize = sc.nextInt();\n\n\t\t\ta= new ArrayList<Integer>(size);\n\t\t\ttry {\n\t\t\t\tfor (int k = 0; k < size; k++) {\n\t\t\t\t\ta.add(sc.nextInt());\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int j = 0; j < strArray.length; j++) {\n\t\t\t\t\tif (strArray[j].equals(\"R\")) {\n\t\t\t\t\t\ta = R(a, size);\n\t\t\t\t\t} else if (strArray[j].equals(\"D\")) {\n\t\t\t\t\t\ta = D(a, size);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.println(a);\n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\n\t\t}\n//\t\tSystem.out.println(a);\n\t}",
"public static void main(String[] args) throws Exception {\n Scanner scn=new Scanner (System.in);\r\n int n=scn.nextInt(); \r\n int[] arr=new int[n];\r\n for(int i=0;i<n;i++){\r\n arr[i]=scn.nextInt();\r\n }\r\n System.out.println(lis(arr));\r\n }",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int s = in.nextInt();\n int[] ar = new int[s];\n for(int i=0;i<s;i++){\n ar[i]=in.nextInt();\n }\n// insertIntoSorted(ar);\n// insertionSortPart2(ar);\n System.out.println(countShifts(ar));\n }",
"public static void main(String[] args) {\n\n\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Testing Int Inputs\");\n System.out.print(\"Enter Number 1: \");\n int number1 = scanner.nextInt();\n System.out.println(number1);\n System.out.println(\"Enter Number 2: \");\n int number2 = scanner.nextInt();\n System.out.println(number2);\n }",
"public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\r\n System.out.println(\"Introduzca un entero: \");\r\n int a = scn.nextInt();\r\n System.out.println(\"El numero introducido es el: \" + a);\r\n String b = scn.nextLine();\r\n System.out.println(b);\r\n String c = scn.next();\r\n System.out.println(c);\r\n }",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\r\n System.out.print(\"Enter the number of numbers to be generated: \");\r\n int n = 0;\r\n try{\r\n n = sc.nextInt();\r\n } catch(Exception e){\r\n Ending.ender(-1);\r\n }\r\n sc.close();\r\n int[] str = generate(n); //str --> stream\r\n for(int i = 0; i < str.length; i++){\r\n System.out.println(str[i]);\r\n }\r\n }",
"public static void main(String args[] ) throws Exception {\n Scanner s = new Scanner(System.in);\n String arrSizeAndNumber = s.nextLine();\n String number = arrSizeAndNumber.split(\" \")[1];\n\n List<String> numbers = Arrays.asList(s.nextLine().split(\" \"));\n\n AtomicInteger i= new AtomicInteger(1);\n AtomicInteger pos= new AtomicInteger(1);\n\n numbers.forEach((value)-> {\n if (value.equals(number))\n pos.set(i.get());\n i.getAndIncrement();\n });\n\n System.out.println(pos);\n }",
"public static void main(String[] args) {\n\t\tScanner teclado = new Scanner (System.in);\n\t\t\n\t\t\n\t\tint dias=0;\n\t\t\n\t\t\n\t\tSystem.out.println(\"numero de dias\");\n\t\tdias= teclado.nextInt();\n\t\t\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tString s = \"We're learning about Scanner\";\n\t\tSystem.out.println(s);\n\t\tScanner sc = new Scanner(System.in);\n//\t\tint m = sc.nextInt();\n//\t\tint n = sc.nextInt();\n//\t\tSystem.out.println(\"The Value of m is: \"+m);\n//\t\tSystem.out.println(\"The Value of n is: \"+n);\n//\t\tdouble d = sc.nextDouble();\n//\t\tString name = sc.next();//Gives us one Word\n//\t\tSystem.out.println(\"Name is: \" + name);\n\t\t\n//\t\tString fullName = sc.nextLine();\n//\t\tSystem.out.println(\"Full Name is: \" + fullName);\n\t\t\n\t\tString intInput = sc.nextLine();\n\t\tint n = Integer.parseInt(intInput);\n\t\tSystem.out.println(n);\n\t}",
"public static int getGameSize()\n {\n boolean flag = true;\n int n = 0;\n while(flag)\n {\n String s = JOptionPane.showInputDialog(null, \"How many Fighters on each Team?\", \"Game Size\", JOptionPane.QUESTION_MESSAGE);\n try{\n n = Integer.parseInt(s);\n }\n catch(Exception e){}\n if(n<=0)\n JOptionPane.showMessageDialog(null, \"Please enter a number.\");\n else\n flag = false;\n }\n return n;\n }",
"public static void main (String[] args){\n\t\t\n Scanner k = new Scanner(System.in);\n int l = k.nextInt();\n \n \n System.out.println(sum(l));\n \n \n }",
"public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n System.out.println(\"Enter size and number:\");\n int size = inp.nextInt(),\n n = inp.nextInt();\n\n int[] arr = new int[size];\n System.out.println(\"Enter numbers:\");\n for(int i=0 ; i <=size-1; i++){\n arr[i]=inp.nextInt();\n }\n\n add_to_r(arr, n);\n\n\n }",
"public int getSetSize(){ return Integer.parseInt(setSize.getText()); }",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint not = sc.nextInt();\n\t\tfor (int i = 0; i < not; i++) {\n\t\t\tint size = sc.nextInt();\n\n\t\t\tsolve(size);\n\n\t\t}\n\n\t}",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\r\n\t\t\tSystem.out.println(\"Enter the numbers \");\r\n\t\t\tint[] counts=new int[10];\r\n\t\t\tint num;\r\n\t\t\tfor(int i=0;i<10;i++) {\r\n\t\t\t\tcounts[(int)(Math.random()*10)]++;\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"Count for each number 0 and 9\");\r\n\t\t\tfor(int i=0;i<counts.length;i++) {\r\n\t\t\t\tSystem.out.println(i+ \"s: \"+counts[i]);\r\n\t\t\t}\r\n\t}",
"public static void main(String[] args) {\n\t\tint somme=0;\n\t\tSystem.out.println(\"veuillez saisir une valeur\");\n\t\tScanner scanner = new Scanner(System.in) ;\n\n\t\t\tint nb = scanner.nextInt() ;\n\t\t\t\n\t\t\tfor (int i = 1; i <=nb; i++) {\n\t\t\t\tsomme=somme+i;\n\t\t\t}\n\t\t\tSystem.out.println(somme);\n\t}",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint size = sc.nextInt();\n\t\tint ar[] = new int[size];\n\t\tfor (int i = 0; i < size; i++)\n\t\t\tar[i] = sc.nextInt();\n\t\tSystem.out.println(quicksort(ar));\n\n\t}",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n System.out.println(str);\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = scanner.nextInt();\n }\n\n System.out.print(minDeletions(a));\n }",
"public static void main(String[] args) {\n\r\n\t\tScanner tec = new Scanner(System.in);\r\n\r\n\t\tint num;\r\n\r\n\t\tdo {\r\n\t\t\tSystem.out.println(\"Introduce un entero\");\r\n\t\t\tnum = tec.nextInt();\r\n\t\t} while (num < 0);\r\n\r\n\t\tString numString = Integer.toString(num);\r\n\t\tSystem.out.println(\"Tiene \" + numString.length() + \" cifra/s\");\r\n\r\n\t}",
"public static void main(String[] args) {\n\n\n Scanner scanner = new Scanner(System.in);\n String info = \"\";\n\n int number = 0;\n while(true)\n {\n System.out.println(number);\n number++;\n if(number > 10)\n {\n break;\n }\n }\n }",
"public static void main(String[] args) {\n try{\n Scanner input = new Scanner(System.in);\n String inputString;\n //read all the line in for loop only, dont take input outside otherwise the \n //first line won't be printed\n //nextLine method only works for scanner object\n //increment i inside loop but assign value to i outside loop\n int i = 1;\n while(( inputString = input.nextLine()) != null){\n System.out.println(i + \" \" + inputString );\n i= i +1;\n }\n }\n catch(NoSuchElementException e){\n\n }\n \n }",
"public static void main(String[] args) {\n\t\tint a[]=takeInput();\n\t\tSystem.out.println(count(a, 0));\n\t\t\n\n\t}",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> arr = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n arr.add(scanner.nextInt());\n }\n int k = scanner.nextInt();\n System.out.println(arr.contains(k));\n }",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\r\n\t\tString input = scanner.nextLine();\r\n\t\tint num = Integer.parseInt(input);\r\n\t\r\n\t\tfor(int i =1;i<=num;i++) {\r\n\t\t\tSystem.out.print(i);\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\n\t\tArrayList<Integer> Lista = new ArrayList<Integer>();\n\t\tScanner in = new Scanner(System.in);\n\t\tString string;\n\t\twhile ((string = in.next()) != \"\\n\") {\n\t\t\tLista.add(Integer.parseInt(string));\n\t\t}\n\t\tin.close();\n\t\tSystem.out.println(Lista.size());\n\t\tfor (int i:Lista) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t\t\n\t}"
] | [
"0.70492333",
"0.68094784",
"0.6688351",
"0.6631249",
"0.6587698",
"0.6525028",
"0.6476306",
"0.6471536",
"0.6462791",
"0.6452337",
"0.6444769",
"0.6429168",
"0.6425933",
"0.6395921",
"0.637892",
"0.6372118",
"0.6370928",
"0.6353638",
"0.6317549",
"0.6306776",
"0.63002086",
"0.62896454",
"0.6285342",
"0.62834823",
"0.6281588",
"0.62770146",
"0.6262909",
"0.62553287",
"0.625413",
"0.6240727",
"0.62386",
"0.6232843",
"0.6225358",
"0.6220207",
"0.6211292",
"0.61972404",
"0.61959344",
"0.6174495",
"0.6173243",
"0.6170521",
"0.6158062",
"0.6152441",
"0.6149224",
"0.6142988",
"0.61425525",
"0.613646",
"0.61332756",
"0.6132432",
"0.6130723",
"0.6096843",
"0.60890466",
"0.6070491",
"0.6064002",
"0.6050161",
"0.60428184",
"0.6037012",
"0.6035433",
"0.60346913",
"0.60340685",
"0.60292006",
"0.60248774",
"0.6023212",
"0.6021761",
"0.6018762",
"0.60041106",
"0.60022694",
"0.5996218",
"0.59959006",
"0.5995644",
"0.59901",
"0.59838295",
"0.59815025",
"0.59764314",
"0.596903",
"0.59583366",
"0.5955949",
"0.59549654",
"0.5953449",
"0.59450626",
"0.5941125",
"0.5932261",
"0.5930328",
"0.592547",
"0.5918724",
"0.5917504",
"0.5908084",
"0.5904047",
"0.58984524",
"0.5893777",
"0.58907324",
"0.5886295",
"0.5886189",
"0.587075",
"0.58691263",
"0.5868877",
"0.5867317",
"0.58653814",
"0.5862447",
"0.5860071",
"0.5859013",
"0.5852861"
] | 0.0 | -1 |
marker interface for exceptions that implement getLocalizedMessage to return something actually localized. | public interface LocalizedException {
public String getLocalizedMessage();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract java.lang.String getLocalizedMessage();",
"@Override\n\tpublic String getLocalizedMessage() {\n\t\treturn super.getLocalizedMessage();\n\t}",
"@Override\r\n\tprotected String getLocalizedMessage(String errorCode, Locale locale, Object... args) {\n\t\treturn com.platform.util.i18n.PlatformResource.getTranslatedText(errorCode, args, locale);\r\n\t}",
"protected abstract String getMessage();",
"@Override\r\n public String toString() {\r\n String s = \"Unknown Error\";\r\n String message = getLocalizedMessage();\r\n return (message != null) ? (message) : s;\r\n }",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"@Override\n\tpublic String getMessage() {\n\t\tResourceBundle myResources = ResourceBundle.getBundle(DEFAULT_RESOURCE_PACKAGE);\n\t\tString message = myResources.getString(MESSAGE);\n\t\t\n\t\treturn message;\n\t}",
"public void testGetLocalizedMessage() {\n Throwable th = new Throwable(\"aaa\");\n assertEquals(\"incorrect localized message\",\n \"aaa\", th.getLocalizedMessage());\n }",
"public abstract String getMessage();",
"private String resolveLocalizedErrorMessage(ObjectError fieldError) {\n\t\tString[] fieldErrorCodes = fieldError.getCodes();\n\t\tString localizedErrorMessage = fieldErrorCodes[0];\n\n\t\treturn localizedErrorMessage;\n\t}",
"public String getMessage ()\n {\n String message = super.getMessage();\n\n if (message == null && exception != null) {\n return exception.getMessage();\n } else {\n return message;\n }\n }",
"public String getLocalizedMessage(Locale locale) {\n\t\treturn SafeString.getLocaleString(errorKey.getMessageKey(), locale, getAdditionalErrorDataWithLineInfo());\n\t}",
"public String getMessage()\n {\n return super.getMessage() + invoice_error + \" not found\";\n }",
"@Override\n\tpublic String getMessage() {\n\t\treturn null;\n\t}",
"int getLocalizedText();",
"String getInvalidMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage();",
"public String getMessage()\n {\n return super.getMessage()+promo_error+\"not found\";\n }",
"public static String getMessage(String key,Locale loc, Object... args){\r\n\t\tLrsExceptionMessage message = buildMessage(key,loc,args);\r\n\t\treturn message.format(loc);\r\n\t}",
"@Override\n public String getMessage(){\n \n }",
"java.lang.String getReason();",
"public String getMessage() {\n\t\tif (iCause == null) { return super.getMessage(); }\n\t\treturn super.getMessage() + \"; nested exception is: \\n\\t\" + iCause.toString();\n\t}",
"String getMessage();",
"String getMessage();",
"String getMessage();",
"public String getMessage()\n {\n return super.getMessage()+promo_error.getCode()+\"already exists\";\n }",
"public String getMessage() {\n return null;\n }",
"public WeldExceptionStringMessage(String message) {\n // This will not be further localized\n this.message = message;\n }",
"public MissingLanguageException()\n\t{\n\t\tsuper(String.format(BASE_MESSAGE, \"Localized___... type\"), ERROR_CODE, \"Localized___... type\");\n\t}",
"@Accessor(qualifier = \"message\", type = Accessor.Type.GETTER)\n\tpublic String getMessage(final Locale loc)\n\t{\n\t\treturn getPersistenceContext().getLocalizedValue(MESSAGE, loc);\n\t}",
"@Override\n public String getLocalizedDescription()\n {\n return null;\n }",
"String getMessage() {\n return null;\n }",
"protected String getMessage(String message) {\n try {\n return getBundle().getString(message);\n } catch (MissingResourceException e) {\n return message;\n }\n\n }",
"public String getMessage() {\n return super.getString(Constants.Properties.MESSAGE);\n }",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"@Override\n public String getMessage() {\n return super.getMessage() + bonus_error + \"Not Found\";\n }",
"public interface UserExceptionMessage {\n String getMessage();\n}",
"private String translateError(final String msg,\n\t\t\tfinal UTF8ResourceBundle bundle) {\n\n\t\ttry {\n\t\t\tif (ConstraintViolation.REQUIRED.equals(msg)) {\n\t\t\t\treturn bundle.getString(\"alert.required\");\n\t\t\t} else if (ConstraintViolation.TYPE.equals(msg)) {\n\t\t\t\treturn bundle.getString(\"alert.type\");\n\t\t\t} else if (ConstraintViolation.FALSE.equals(msg)) {\n\t\t\t\treturn bundle.getString(\"alert.constraint\");\n\t\t\t} else {\n\t\t\t\treturn bundle.getString(\"alert.unknown\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\treturn \"Erroneous input\";\n\t\t}\n\t}",
"@Override\n public String getMessage() {\n return ErrorMessage.INVALID_NEGATIVE_PRICE_ERROR;\n }",
"@Override\n public String getErrorMessage() {\n return super.getErrorMessageString();\n }",
"public String getMessage() {\n return super.getMessage()+\"\\n error code=\"+error_code+\" error value=\"+error_value; //$NON-NLS-1$ //$NON-NLS-2$\n }",
"String getErrorMessage();",
"String getErrorMessage();",
"@Override\r\n\tpublic String getMessage() {\n\t\treturn \"Failed\";\r\n\t}",
"public String getMessage() {\n return NestedThrowable.Util.getMessage(super.getMessage(), nested);\n }",
"public String getMessage() {\r\n return mContext.getString(mErrorMessageRes);\r\n }",
"public String toString() {\n String s = getClass().getName();\n String message = getLocalizedMessage();\n return (message != null) ? (s + \": \" + message) : s;\n }",
"protected abstract String defaultExceptionMessage(TransactionCommand transactionCommand);",
"public static LrsExceptionMessage buildMessage(String key,Locale loc,Object... args){\r\n\t\t\r\n\t\tLrsResourceAdapter resource = null;\r\n\t\tLrsExceptionMessage message = null;\t\t\r\n\t\t\r\n\t\tresource = LrsResourceAdapterFactory.getResourceBundleAdapterByKey(key, loc);\r\n\t\tif(resource != null){\r\n\t\t\tmessage = resource.getExceptionMessage(key);\r\n\t\t\tmessage.setArgs(args);\r\n\t\t}else{\r\n\t\t\tmessage = new LrsExceptionMessage(key,args);\r\n\t\t\tmessage.setOrginalMessage(key);\r\n\t\t}\r\n\t\treturn message;\r\n\t}",
"public String getMessage() {\n return getMessage(this.key, (Object[]) null, this.key, (Locale) null);\n }",
"public String getReason();",
"@Override\n public String getMessage()\n {\n return message;\n }",
"@Override\n public String getMessage() {\n return MESSAGE;\n }",
"public String getMessage()\r\n/* 22: */ {\r\n/* 23:23 */ return this.a.a();\r\n/* 24: */ }",
"@Override\n public String getMessage()\n {\n return message;\n }",
"@Override\n\tpublic String getMessage() throws WebApplicationException{\n\t\tString msg=\"\";\n\t\ttry{\n\t\tmsg= storeBusiness.getMessage();\n\t\t}catch(StoreException e)\n\t\t{\n\t\t\tthrowException(e.getStoreDetails());\n\t\t}\n\t\treturn msg;\n\t}",
"@Override\n public String getMessage() {\n return \"File not found.\";\n }",
"public String getSystemExceptionLabel() {\n\t\treturn systemExceptionLabel;\n\t}",
"@Override\n public String getMessage() {\n return message;\n }",
"@Override\n public String getMessage() {\n return message;\n }",
"String getMessage(String bundleKey, Locale locale, Object... args);",
"public AuthenticationCanceledException() {\n super(java.util.ResourceBundle.getBundle(\"de/cismet/cismap/commons/GuiBundle\").getString(\"Exception.AuthenticationCanceledException\")); \n }",
"String getFailureMessage();",
"String getCauseException();",
"@Override\n public String getErrorMessage() {\n return null;\n }",
"@Override\n\tpublic String getMessage()\n\t{\n\t\treturn errMessage;\n\t}",
"String errorMessage();"
] | [
"0.8441483",
"0.7560154",
"0.6898355",
"0.68765646",
"0.68373704",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.66447246",
"0.6579862",
"0.655863",
"0.6526624",
"0.65200675",
"0.6512625",
"0.6510987",
"0.6459981",
"0.6459576",
"0.64581835",
"0.6456289",
"0.645623",
"0.645623",
"0.645623",
"0.645623",
"0.645623",
"0.645623",
"0.645623",
"0.6440752",
"0.6351615",
"0.6327209",
"0.63255286",
"0.62926316",
"0.6267871",
"0.6267871",
"0.6267871",
"0.62314",
"0.62301606",
"0.61722666",
"0.61528623",
"0.61261517",
"0.6124718",
"0.6123674",
"0.6110411",
"0.61058617",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6097993",
"0.6092174",
"0.6088806",
"0.6084028",
"0.60767275",
"0.6059406",
"0.6051094",
"0.6011181",
"0.6011181",
"0.60095376",
"0.60092527",
"0.60054576",
"0.59844273",
"0.59735125",
"0.5967286",
"0.59672374",
"0.59636956",
"0.59541214",
"0.5936149",
"0.5930341",
"0.5920616",
"0.5917011",
"0.5907022",
"0.58987147",
"0.5897581",
"0.58886844",
"0.58622026",
"0.58502555",
"0.5845293",
"0.5841557",
"0.5836596",
"0.58231324",
"0.58228207"
] | 0.79523414 | 1 |
Creates new form quotaGUI | public quotaGUI() {
initComponents();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public CreateAccount_GUI() {\n initComponents();\n }",
"FORM createFORM();",
"public TrainModelGUI CreateNewGUI() {\n //Create a GUI object\n \ttrainModelGUI = new TrainModelGUI(this);\n \tsetValuesForDisplay();\n \treturn trainModelGUI;\n }",
"public CreateAccountGUI() throws Exception{\n\r\n\t\tsuper();\r\n\r\n\t\tsetTitle(\"Create an account\");\r\n\t\tsetSize(600, 400);\r\n\t\tsetBackground(Color.CYAN);\r\n\t\tsetResizable(false);\r\n\t\tsetDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\r\n\t\tsetLocationRelativeTo(null);\r\n\r\n\t\tString[] labels = {\"Username: \", \"First Name: \", \"Surname: \",\r\n \"Mobile Number: \", \"Date Of Birth: \", \"City: \",\n \"Profile Pic (e.g. pic.png): \"};\n\t\tint input = labels.length;\n\n ArrayList<JTextField> fields = new ArrayList<JTextField>();\n\n\t\tJPanel create = new JPanel(new SpringLayout());\r\n\t\tfor (int i = 0; i < input; i++) {\r\n\t\t\tJLabel para = new JLabel(labels[i], JLabel.TRAILING);\r\n\t\t\tcreate.add(para);\r\n\t\t\tJTextField form = new JTextField(10);\n fields.add(form);\n\t\t\tpara.setLabelFor(form);\r\n\t\t\tcreate.add(form);\r\n\t\t\tsuper.add(create);\r\n\t\t}\r\n\t\tJButton fin = new JButton(\"Create\");\r\n\t\tfin.addActionListener(new ActionListener(){\r\n\t\t\tpublic void actionPerformed(ActionEvent sendMessage){\n try\n {\n String username = fields.get(0).getText();\n String firstname = fields.get(1).getText();\n String surname = fields.get(2).getText();\n String mobnum = fields.get(3).getText();\n String dob = fields.get(4).getText();\n String city = fields.get(5).getText();\n String imgpath = fields.get(6).getText();\n Account acc = new Account(username, firstname, surname,\n mobnum, dob, city, 0, null, imgpath);\n ReadWriteAccount rwa = new ReadWriteAccount(\"data.db\");\n rwa.write(acc);\n get_main().set_home(acc);\n dispose();\n }\n catch(Exception e)\n {\n System.out.println(e);\n }\n\t\t\t}\r\n\t\t});\r\n\t\tsuper.add(fin, BorderLayout.SOUTH);\r\n\t\tCreateAccountGUI.makeForm(create,\r\n\t\t\t\tinput, 2,\r\n\t\t\t\t6, 6,\r\n\t\t\t\t20, 20);\n\n setVisible(true);\n\r\n\t}",
"private void initiateRiotPointsPurchaseFields(JFrame frame) {\r\n JLabel q7 = new JLabel(\"Make purchase for mainAccount or altAccount?\");\r\n// q7.setPreferredSize(new Dimension(1000, 100));\r\n// q7.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new Label(q7);\r\n frame.add(q7);\r\n\r\n JTextField account = new JTextField();\r\n// account.setPreferredSize(new Dimension(1000, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new TextField(account);\r\n frame.add(account);\r\n\r\n JLabel q8 = new JLabel(\"Name of the champion you wish to purchase?\");\r\n// q8.setPreferredSize(new Dimension(1000, 100));\r\n// q8.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new Label(q8);\r\n frame.add(q8);\r\n\r\n JTextField name = new JTextField();\r\n// name.setPreferredSize(new Dimension(1000, 100));\r\n// name.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new TextField(name);\r\n frame.add(name);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/shopicon.JPG\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(750, 100));\r\n frame.add(label);\r\n\r\n initiateRiotPointsPurchaseEnter(frame, account, name);\r\n }",
"public void controlloEventiInserimento() {\n\t\t/**\n\t\t * Riempimento form informativo riguardo\n\t\t * all'ultima quota inserita per un determinato\n\t\t * tipo di socio\n\t\t */ \n\t\tviewInserimento.getCmbbxTipologia().addItemListener(new ItemListener() {\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\tif (viewInserimento.getCmbbxTipologia().getSelectedIndex() != -1) {\n\t\t\t\t\tquotapre = model.getQuotaPrecendente(viewInserimento.getCmbbxTipologia()\n\t\t\t\t\t\t\t.getItemAt(viewInserimento.getCmbbxTipologia().getSelectedIndex()));\n\t\t\t\t\tif (quotapre != null) {\n\t\t\t\t\t\tviewInserimento.getTxtFieldDataIPre().setText(quotapre.getDataI().toString());\n\t\t\t\t\t\tviewInserimento.getTxtFieldValorePre().setText(String.valueOf(quotapre.getValore()));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (viewInserimento.getCmbbxTipologia().getSelectedIndex() == -1 || quotapre == null) {\n\t\t\t\t\tviewInserimento.getTxtFieldDataIPre().setText(\"\");\n\t\t\t\t\tviewInserimento.getTxtFieldValorePre().setText(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/**\n\t\t * Evento inserimento quota \n\t\t */\n\t\tviewInserimento.getBtnInserisci().addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tif (validatorForm()) {\n\t\t\t\t\tboolean esito = false;\n\t\t\t\t\tQuota quota = null;\n\t\t\t\t\tquota = new Quota(Float.valueOf(viewInserimento.getTxtFieldValore().getText()).floatValue(),\n\t\t\t\t\t\t\tviewInserimento.getCmbbxTipologia().getSelectedItem().toString(),\n\t\t\t\t\t\t\tDate.valueOf(viewInserimento.getTxtFieldDataI().getText() + \"-01\"));\n\t\t\t\t\tesito = model.insertQuota(quota);\n\t\t\t\t\tif (esito) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(viewInserimento.getFrame().getContentPane(), \"Quota inserita\");\n\t\t\t\t\t\tazzeraInsertForm();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(viewInserimento.getFrame().getContentPane(),\n\t\t\t\t\t\t\t\t\"Inserimento non effettuato\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tJOptionPane.showMessageDialog(viewInserimento.getFrame().getContentPane(),\n\t\t\t\t\t\t\t\"Campi non validi, modificare i campi contrassegnati in rosso\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/**\n\t\t * Evento azzeramento form \n\t\t */\n\t\tviewInserimento.getBtnAzzera().addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tazzeraInsertForm();\n\t\t\t}\n\t\t});\n\n\t\t/**\n\t\t * Evento ritorno all'AdminView \n\t\t */\n\t\tviewInserimento.getBtnDashboard().addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tAdminController adminController = new AdminController();\n\t\t\t\tadminController.controlloEvento();\n\t\t\t\tviewInserimento.getFrame().dispose();\n\t\t\t}\n\t\t});\n\t}",
"private void initiateBuyRiotPointsFields(JFrame frame) {\r\n JLabel q3 = new JLabel(\"Make purchase for mainAccount or altAccount?\");\r\n new Label(q3);\r\n// q3.setPreferredSize(new Dimension(750, 100));\r\n// q3.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q3);\r\n\r\n JTextField account = new JTextField();\r\n new TextField(account);\r\n// account.setPreferredSize(new Dimension(750, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(account);\r\n\r\n JLabel q4 = new JLabel(\"Amount of money you wish to spend (5, 10, 20, 35, 50, or 100)$\");\r\n new Label(q4);\r\n// q4.setPreferredSize(new Dimension(750, 100));\r\n// q4.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q4);\r\n\r\n JTextField amount = new JTextField();\r\n new TextField(amount);\r\n// amount.setPreferredSize(new Dimension(750, 100));\r\n// amount.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(amount);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/rp.JPG\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(750, 100));\r\n frame.add(label);\r\n\r\n initiateBuyRiotPointsEnter(frame, account, amount);\r\n }",
"public CoachRegisterGUI() {\n initComponents();\n \n policyTP.setContentType(\"text/html\");\n policyTP.setEditable(true);\n policyTP.setText(new Policy().getPolicy());\n policyTP.setEditable(false);\n PolicySP.getVerticalScrollBar().setValue(0);\n this.setLocationRelativeTo(null);\n ArrayList<Country> countries = CountryDAO.findAll();\n DefaultComboBoxModel model = new DefaultComboBoxModel();\n for(Country country: countries){\n model.addElement(country.getName());\n }\n countryCbx.setModel(model);\n CoachUserNameTF.setText(\"test\");\n CoachNameTF.setText(\"test\");\n CoachLastNameTF.setText(\"test\");\n CoachEmailTF.setText(\"test@gmail.com\");\n hegihtTF.setText(\"180\");\n weightTF.setText(\"50\");\n ageTF.setText(\"30\");\n coachDescriptionTA.setText(\"soy un usuario de test\");\n }",
"public frmNewArtist() {\n initComponents();\n lblID.setText(Controller.Agent.ManageController.getNewArtistID());\n lblGreeting.setText(\"Dear \"+iMuzaMusic.getLoggedUser().getFirstName()+\", please use the form below to add an artist to your ranks.\");\n \n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public void createAndShowGUI() {\n frame= new JFrame(\"TabAdmin\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setLocation(200,50);\n //Create and set up the content pane.\n \n addComponentToPane(frame.getContentPane());\n \n //Display the window.\n frame.pack();\n frame.setVisible(true);\n //create admin to operate \n \n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n Title = new javax.swing.JLabel();\n NAME = new javax.swing.JLabel();\n txt_name = new javax.swing.JTextField();\n PROVIDER = new javax.swing.JLabel();\n ComboBox_provider = new javax.swing.JComboBox<>();\n CATEGORY = new javax.swing.JLabel();\n ComboBox_category = new javax.swing.JComboBox<>();\n Trademark = new javax.swing.JLabel();\n ComboBox_trademark = new javax.swing.JComboBox<>();\n COLOR = new javax.swing.JLabel();\n ComboBox_color = new javax.swing.JComboBox<>();\n SIZE = new javax.swing.JLabel();\n ComboBox_size = new javax.swing.JComboBox<>();\n MATERIAL = new javax.swing.JLabel();\n ComboBox_material = new javax.swing.JComboBox<>();\n PRICE = new javax.swing.JLabel();\n txt_price = new javax.swing.JTextField();\n SAVE = new javax.swing.JButton();\n CANCEL = new javax.swing.JButton();\n Background = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n Title.setFont(new java.awt.Font(\"Dialog\", 1, 24)); // NOI18N\n Title.setForeground(new java.awt.Color(255, 255, 255));\n Title.setText(\"NEW PRODUCT\");\n getContentPane().add(Title, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 33, -1, -1));\n\n NAME.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n NAME.setForeground(new java.awt.Color(255, 255, 255));\n NAME.setText(\"Name\");\n getContentPane().add(NAME, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 150, 70, 30));\n\n txt_name.setBackground(new java.awt.Color(51, 51, 51));\n txt_name.setForeground(new java.awt.Color(255, 255, 255));\n getContentPane().add(txt_name, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 150, 100, 30));\n\n PROVIDER.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n PROVIDER.setForeground(new java.awt.Color(255, 255, 255));\n PROVIDER.setText(\"Provider\");\n getContentPane().add(PROVIDER, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 200, 70, 30));\n\n ComboBox_provider.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_provider.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_provider.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(ComboBox_provider, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 200, 100, 30));\n\n CATEGORY.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n CATEGORY.setForeground(new java.awt.Color(255, 255, 255));\n CATEGORY.setText(\"Category\");\n getContentPane().add(CATEGORY, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 250, 70, 30));\n\n ComboBox_category.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_category.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_category.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(ComboBox_category, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 250, 100, 30));\n\n Trademark.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n Trademark.setForeground(new java.awt.Color(255, 255, 255));\n Trademark.setText(\"Trademark\");\n getContentPane().add(Trademark, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 300, 70, 30));\n\n ComboBox_trademark.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_trademark.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_trademark.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n ComboBox_trademark.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ComboBox_trademarkActionPerformed(evt);\n }\n });\n getContentPane().add(ComboBox_trademark, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 300, 100, 30));\n\n COLOR.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n COLOR.setForeground(new java.awt.Color(255, 255, 255));\n COLOR.setText(\"Color\");\n getContentPane().add(COLOR, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 150, 70, 30));\n\n ComboBox_color.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_color.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_color.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(ComboBox_color, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 150, 100, 30));\n\n SIZE.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n SIZE.setForeground(new java.awt.Color(255, 255, 255));\n SIZE.setText(\"Size\");\n getContentPane().add(SIZE, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 200, 70, 30));\n\n ComboBox_size.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_size.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_size.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(ComboBox_size, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 200, 100, 30));\n\n MATERIAL.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n MATERIAL.setForeground(new java.awt.Color(255, 255, 255));\n MATERIAL.setText(\"Material\");\n getContentPane().add(MATERIAL, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 250, 70, 30));\n\n ComboBox_material.setBackground(new java.awt.Color(51, 51, 51));\n ComboBox_material.setForeground(new java.awt.Color(255, 255, 255));\n ComboBox_material.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(ComboBox_material, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 250, 100, 30));\n\n PRICE.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n PRICE.setForeground(new java.awt.Color(255, 255, 255));\n PRICE.setText(\"Price\");\n getContentPane().add(PRICE, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 300, 70, 30));\n\n txt_price.setBackground(new java.awt.Color(51, 51, 51));\n txt_price.setForeground(new java.awt.Color(255, 255, 255));\n txt_price.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txt_priceActionPerformed(evt);\n }\n });\n getContentPane().add(txt_price, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 300, 100, 30));\n\n SAVE.setBackground(new java.awt.Color(25, 25, 25));\n SAVE.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_guardar-A.png\"))); // NOI18N\n SAVE.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n SAVE.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_guardar-B.png\"))); // NOI18N\n SAVE.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_guardar.png\"))); // NOI18N\n SAVE.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n SAVEActionPerformed(evt);\n }\n });\n getContentPane().add(SAVE, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 480, 50, 50));\n\n CANCEL.setBackground(new java.awt.Color(25, 25, 25));\n CANCEL.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_no-A.png\"))); // NOI18N\n CANCEL.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n CANCEL.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_no-B.png\"))); // NOI18N\n CANCEL.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/icono_no.png\"))); // NOI18N\n CANCEL.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CANCELActionPerformed(evt);\n }\n });\n getContentPane().add(CANCEL, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 480, 50, 50));\n\n Background.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/fondo_windows2.jpg\"))); // NOI18N\n getContentPane().add(Background, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));\n\n pack();\n }",
"public frm_tutor_subida_prueba() {\n }",
"private void initiateBlueEssencePurchaseFields(JFrame frame) {\r\n JLabel q5 = new JLabel(\"Make purchase for mainAccount or altAccount?\");\r\n// q5.setPreferredSize(new Dimension(1000, 100));\r\n// q5.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new Label(q5);\r\n frame.add(q5);\r\n\r\n JTextField account = new JTextField();\r\n// account.setPreferredSize(new Dimension(1000, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new TextField(account);\r\n frame.add(account);\r\n\r\n JLabel q6 = new JLabel(\"Name of the champion you wish to purchase?\");\r\n// q6.setPreferredSize(new Dimension(1000, 100));\r\n// q6.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new Label(q6);\r\n frame.add(q6);\r\n\r\n JTextField name = new JTextField();\r\n// name.setPreferredSize(new Dimension(1000, 100));\r\n// name.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n new TextField(name);\r\n frame.add(name);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/shopicon.JPG\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(750, 100));\r\n frame.add(label);\r\n\r\n initiateBlueEssencePurchaseEnter(frame, account, name);\r\n }",
"public static AddNewScheduleDialog createInstance(int quantity){\n AddNewScheduleDialog frag = new AddNewScheduleDialog();\n frag.quantity = quantity;\n return frag;\n }",
"public CreateAccount() {\n initComponents();\n selectionall();\n }",
"public FormPermisos() {\n initComponents();\n setLocationRelativeTo(null);\n setTitle(\"INTERFACE-PERMISOS\");\n }",
"protected void createContents() {\n\t\tshell = new Shell();\n\t\tshell.setSize(340, 217);\n\t\tshell.setText(\"Benvenuto\");\n\t\tshell.setLayout(new FormLayout());\n\t\t\n\t\tComposite composite = new Composite(shell, SWT.NONE);\n\t\tFormData fd_composite = new FormData();\n\t\tfd_composite.bottom = new FormAttachment(100, -10);\n\t\tfd_composite.top = new FormAttachment(0, 10);\n\t\tfd_composite.right = new FormAttachment(100, -10);\n\t\tfd_composite.left = new FormAttachment(0, 10);\n\t\tcomposite.setLayoutData(fd_composite);\n\t\tcomposite.setLayout(new GridLayout(2, false));\n\t\t\n\t\tLabel lblUsername = new Label(composite, SWT.NONE);\n\t\tlblUsername.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));\n\t\tlblUsername.setText(\"Username\");\n\t\t\n\t\ttxtUsername = new Text(composite, SWT.BORDER);\n\t\ttxtUsername.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));\n\t\tfinal String username = txtUsername.getText();\n\t\tSystem.out.println(username);\n\t\t\n\t\tLabel lblPeriodo = new Label(composite, SWT.NONE);\n\t\tlblPeriodo.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));\n\t\tlblPeriodo.setText(\"Periodo\");\n\t\t\n\t\tfinal CCombo combo_1 = new CCombo(composite, SWT.BORDER | SWT.READ_ONLY);\n\t\tcombo_1.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));\n\t\tcombo_1.setVisibleItemCount(6);\n\t\tcombo_1.setItems(new String[] {\"1 settimana\", \"1 mese\", \"3 mesi\", \"6 mesi\", \"1 anno\", \"Overall\"});\n\t\t\n\t\tLabel lblNumeroCanzoni = new Label(composite, SWT.NONE);\n\t\tlblNumeroCanzoni.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));\n\t\tlblNumeroCanzoni.setText(\"Numero canzoni da analizzare\");\n\t\t\n\t\tfinal CCombo combo = new CCombo(composite, SWT.BORDER | SWT.READ_ONLY);\n\t\tcombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));\n\t\tcombo.setItems(new String[] {\"25\", \"50\"});\n\t\tcombo.setVisibleItemCount(2);\n\t\tcombo.setToolTipText(\"Numero canzoni da analizzare\");\n\t\t\n\t\tLabel lblNumeroCanzoniDa = new Label(composite, SWT.NONE);\n\t\tlblNumeroCanzoniDa.setText(\"Numero canzoni da consigliare\");\n\t\t\n\t\tfinal CCombo combo_2 = new CCombo(composite, SWT.BORDER | SWT.READ_ONLY);\n\t\tcombo_2.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));\n\t\tcombo_2.setVisibleItemCount(3);\n\t\tcombo_2.setToolTipText(\"Numero canzoni da consigliare\");\n\t\tcombo_2.setItems(new String[] {\"5\", \"10\", \"20\"});\n\t\t\n\t\tButton btnAvviaRicerca = new Button(composite, SWT.NONE);\n\t\tbtnAvviaRicerca.addSelectionListener(new SelectionAdapter() {\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tfinal String username = txtUsername.getText();\n\t\t\t\tfinal String numSong = combo.getText();\n\t\t\t\tfinal String period = combo_1.getText();\n\t\t\t\tfinal String numConsigli = combo_2.getText();\n\t\t\t\tif(username.isEmpty() || numSong.isEmpty() || period.isEmpty() || numConsigli.isEmpty()){\n\t\t\t\t\tSystem.out.println(\"si prega di compilare tutti i campi\");\n\t\t\t\t}\n\t\t\t\tif(!username.isEmpty() && !numSong.isEmpty() && !period.isEmpty() && !numConsigli.isEmpty()){\n\t\t\t\t\tSystem.out.println(\"tutto ok\");\n\t\t\t\t\t\n\t\t\t\t\tFileOutputStream out;\n\t\t\t\t\tPrintStream ps;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tout = new FileOutputStream(\"datiutente.txt\");\n\t\t\t\t\t\tps = new PrintStream(out);\n\t\t\t\t\t\tps.println(username);\n\t\t\t\t\t\tps.println(numSong);\n\t\t\t\t\t\tps.println(period);\n\t\t\t\t\t\tps.println(numConsigli);\n\t\t\t\t\t\tps.close();\n\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\tSystem.err.println(\"Errore nella scrittura del file\");\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\tPrincipaleParteA.main();\n\t\t\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t }\n\t\t\t\n\t\t});\n\t\tGridData gd_btnAvviaRicerca = new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1);\n\t\tgd_btnAvviaRicerca.heightHint = 31;\n\t\tbtnAvviaRicerca.setLayoutData(gd_btnAvviaRicerca);\n\t\tbtnAvviaRicerca.setText(\"Avvia Ricerca\");\n\t}",
"private void makeGUI()\n {\n mainFrame = new JFrame();\n mainFrame.setPreferredSize(new Dimension(750,400));\n aw = new AccountWindow();\n mainFrame.add(aw);\n mainFrame.setVisible(true);\n mainFrame.pack();\n }",
"public CreateGUI() throws IOException{\r\n\t\tthis.setFocusable(false);\r\n\t\tthis.setTitle(\"Dance Dance Revolution - 201B Edition\");\r\n\t\tthis.setSize(800, 600);\t\t \t\r\n\t\tthis.setLocation(100, 100); \t\r\n\t\tthis.setVisible(true);\r\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tthis.setResizable(false);\r\n\t\tcp = getContentPane();\r\n\t\tcp.setBackground(Color.black);\r\n\t\tarrowlistener = new ArrowListener();\r\n\t\tscore = new Score();\r\n\t\tcombo = new ComboImage();\r\n\t}",
"private static void createGUI(){\n DrawingArea drawingArea = new DrawingArea();\n ToolSelect utilityBar = new ToolSelect();\n MenuBar menuBar = new MenuBar();\n JFrame.setDefaultLookAndFeelDecorated(true);\n JFrame frame = new JFrame(\"GUIMk1\");\n frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );\n frame.setLayout(new BorderLayout());\n frame.getContentPane().add(utilityBar, BorderLayout.WEST);\n frame.getContentPane().add(menuBar,BorderLayout.NORTH);\n frame.getContentPane().add(drawingArea);\n frame.setLocationRelativeTo( null );\n frame.setVisible(true);\n frame.pack();\n\n }",
"protected void createContents() {\n\t\tregister Register = new register();\n\t\tRegisterDAOImpl RDI = new RegisterDAOImpl();\t\n\t\t\n\t\tload = new Shell();\n\t\tload.setSize(519, 370);\n\t\tload.setText(\"XX\\u533B\\u9662\\u6302\\u53F7\\u7CFB\\u7EDF\");\n\t\tload.setLayout(new FormLayout());\n\t\t\n\t\tLabel name = new Label(load, SWT.NONE);\n\t\tFormData fd_name = new FormData();\n\t\tfd_name.top = new FormAttachment(20);\n\t\tfd_name.left = new FormAttachment(45, -10);\n\t\tname.setLayoutData(fd_name);\n\t\tname.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tname.setText(\"\\u59D3\\u540D\");\n\t\t\n\t\tLabel subjet = new Label(load, SWT.NONE);\n\t\tFormData fd_subjet = new FormData();\n\t\tfd_subjet.left = new FormAttachment(44);\n\t\tfd_subjet.top = new FormAttachment(50);\n\t\tsubjet.setLayoutData(fd_subjet);\n\t\tsubjet.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tsubjet.setText(\"\\u79D1\\u5BA4\");\n\t\t\n\t\tLabel doctor = new Label(load, SWT.NONE);\n\t\tFormData fd_doctor = new FormData();\n\t\tfd_doctor.top = new FormAttachment(60);\n\t\tfd_doctor.left = new FormAttachment(45, -10);\n\t\tdoctor.setLayoutData(fd_doctor);\n\t\tdoctor.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tdoctor.setText(\"\\u533B\\u751F\");\n\t\t\n\t\tnametext = new Text(load, SWT.BORDER);\n\t\tnametext.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));\n\t\tnametext.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tFormData fd_nametext = new FormData();\n\t\tfd_nametext.right = new FormAttachment(50, 94);\n\t\tfd_nametext.top = new FormAttachment(20);\n\t\tfd_nametext.left = new FormAttachment(50);\n\t\tnametext.setLayoutData(fd_nametext);\n\t\t\n\t\tLabel titlelabel = new Label(load, SWT.NONE);\n\t\tFormData fd_titlelabel = new FormData();\n\t\tfd_titlelabel.right = new FormAttachment(43, 176);\n\t\tfd_titlelabel.top = new FormAttachment(10);\n\t\tfd_titlelabel.left = new FormAttachment(43);\n\t\ttitlelabel.setLayoutData(fd_titlelabel);\n\t\ttitlelabel.setFont(SWTResourceManager.getFont(\"楷体\", 18, SWT.BOLD));\n\t\ttitlelabel.setText(\"XX\\u533B\\u9662\\u95E8\\u8BCA\\u6302\\u53F7\");\n\t\t\n\t\tLabel label = new Label(load, SWT.NONE);\n\t\tFormData fd_label = new FormData();\n\t\tfd_label.top = new FormAttachment(40);\n\t\tfd_label.left = new FormAttachment(44, -10);\n\t\tlabel.setLayoutData(fd_label);\n\t\tlabel.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tlabel.setText(\"\\u6302\\u53F7\\u8D39\");\n\t\t\n\t\tcosttext = new Text(load, SWT.BORDER);\n\t\tcosttext.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));\n\t\tcosttext.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tFormData fd_costtext = new FormData();\n\t\tfd_costtext.right = new FormAttachment(nametext, 0, SWT.RIGHT);\n\t\tfd_costtext.top = new FormAttachment(40);\n\t\tfd_costtext.left = new FormAttachment(50);\n\t\tcosttext.setLayoutData(fd_costtext);\n\t\t\n\t\tLabel type = new Label(load, SWT.NONE);\n\t\tFormData fd_type = new FormData();\n\t\tfd_type.top = new FormAttachment(30);\n\t\tfd_type.left = new FormAttachment(45, -10);\n\t\ttype.setLayoutData(fd_type);\n\t\ttype.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\ttype.setText(\"\\u7C7B\\u578B\");\n\t\t\n\t\tCombo typecombo = new Combo(load, SWT.NONE);\n\t\ttypecombo.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));\n\t\ttypecombo.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tFormData fd_typecombo = new FormData();\n\t\tfd_typecombo.right = new FormAttachment(nametext, 0, SWT.RIGHT);\n\t\tfd_typecombo.top = new FormAttachment(30);\n\t\tfd_typecombo.left = new FormAttachment(50);\n\t\ttypecombo.setLayoutData(fd_typecombo);\n\t\ttypecombo.setText(\"\\u95E8\\u8BCA\\u7C7B\\u578B\");\n\t\ttypecombo.add(\"普通门诊\",0);\n\t\ttypecombo.add(\"专家门诊\",1);\n\t\tMySelectionListener3 ms3 = new MySelectionListener3(typecombo,costtext);\n\t\ttypecombo.addSelectionListener(ms3);\n\t\t\n\t\tCombo doctorcombo = new Combo(load, SWT.NONE);\n\t\tdoctorcombo.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));\n\t\tdoctorcombo.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tFormData fd_doctorcombo = new FormData();\n\t\tfd_doctorcombo.right = new FormAttachment(nametext, 0, SWT.RIGHT);\n\t\tfd_doctorcombo.top = new FormAttachment(60);\n\t\tfd_doctorcombo.left = new FormAttachment(50);\n\t\tdoctorcombo.setLayoutData(fd_doctorcombo);\n\t\tdoctorcombo.setText(\"\\u9009\\u62E9\\u533B\\u751F\");\n\t\t\n\t\tCombo subject = new Combo(load, SWT.NONE);\n\t\tsubject.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));\n\t\tsubject.setFont(SWTResourceManager.getFont(\"微软雅黑\", 12, SWT.NORMAL));\n\t\tfd_subjet.right = new FormAttachment(subject, -6);\n\t\tfd_subjet.top = new FormAttachment(subject, -1, SWT.TOP);\n\t\tFormData fd_subject = new FormData();\n\t\tfd_subject.right = new FormAttachment(nametext, 0, SWT.RIGHT);\n\t\tfd_subject.top = new FormAttachment(50);\n\t\tfd_subject.left = new FormAttachment(50);\n\t\tsubject.setLayoutData(fd_subject);\n\t\tsubject.setText(\"\\u79D1\\u5BA4\\uFF1F\");\n\t\tsubject.add(\"神经内科\", 0);\n\t\tsubject.add(\"呼吸科\", 1);\n\t\tsubject.add(\"泌尿科\", 2);\n\t\tsubject.add(\"放射科\", 3);\n\t\tsubject.add(\"五官\", 4);\n\t\tMySelectionListener myselection = new MySelectionListener(i,subject,doctorcombo,pdtabledaoimpl);\n\t\tsubject.addSelectionListener(myselection);\n\t\t\n\t\tMySelectionListener2 ms2 = new MySelectionListener2(subject,doctorcombo,Register,nametext,RDI);\n\t\tdoctorcombo.addSelectionListener(ms2);\n\t\t\n\t\tButton surebutton = new Button(load, SWT.NONE);\n\t\tFormData fd_surebutton = new FormData();\n\t\tfd_surebutton.top = new FormAttachment(70);\n\t\tfd_surebutton.left = new FormAttachment(44);\n\t\tsurebutton.setLayoutData(fd_surebutton);\n\t\tsurebutton.setFont(SWTResourceManager.getFont(\"楷体\", 12, SWT.BOLD));\n\t\tsurebutton.setText(\"\\u786E\\u5B9A\");\n\t\tsurebutton.addSelectionListener(new SelectionAdapter() {\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n \t Register register = new Register();\n\t\t\t\tPatientDAOImpl patientdaoimpl = new PatientDAOImpl();\n\n/*\t\t\t\tregisterdaoimpl.Save(Register);*/\n\t\t\t\tPatientInfo patientinfo = null;\n\t\t\t\tpatientinfo = patientdaoimpl.findByname(nametext.getText());\n\t\t\t\tif(patientinfo.getId() > 0 ){\n\t\t\t\t\tMessageBox messagebox = new MessageBox(load);\n\t\t\t\t\tmessagebox.setMessage(\"挂号成功!\");\n\t\t\t\t\tmessagebox.open();\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tMessageBox messagebox = new MessageBox(load);\n\t\t\t\t\tmessagebox.setMessage(\"此用户不存在,请先注册\");\n\t\t\t\t\tmessagebox.open();\n\t\t\t\t\tload.dispose();\n\t\t\t\t\tregister.open();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tButton registerbutton = new Button(load, SWT.NONE);\n\t\tFormData fd_registerbutton = new FormData();\n\t\tfd_registerbutton.top = new FormAttachment(70);\n\t\tfd_registerbutton.left = new FormAttachment(53);\n\t\tregisterbutton.setLayoutData(fd_registerbutton);\n\t\tregisterbutton.setFont(SWTResourceManager.getFont(\"楷体\", 12, SWT.BOLD));\n\t\tregisterbutton.setText(\"\\u6CE8\\u518C\");\n\t\tregisterbutton.addSelectionListener(new SelectionAdapter() {\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\t\n\t\t\t\tRegister register = new Register();\n\t\t\t\tload.close();\n\t\t\t\tregister.open();\n\t\t\t}\n\t\t});\n\t}",
"public void onNew() {\t\t\n\t\tdesignWidget.addNewForm();\n\t}",
"private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.getContentPane().setBackground(new Color(0, 102, 51));\r\n\t\tframe.setBounds(100, 100, 519, 350);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.getContentPane().setLayout(null);\r\n\t\t\r\n\t\tJLabel lblNewLabel = new JLabel(\"Tenant Registration\");\r\n\t\tlblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblNewLabel.setBackground(new Color(0, 0, 128));\r\n\t\tlblNewLabel.setForeground(new Color(255, 228, 225));\r\n\t\tlblNewLabel.setFont(new Font(\"Tempus Sans ITC\", Font.BOLD, 26));\r\n\t\tlblNewLabel.setBounds(40, 22, 371, 29);\r\n\t\tframe.getContentPane().add(lblNewLabel);\r\n\t\t\r\n\t\tJButton btnSave = new JButton(\"Save\");\r\n\t\tbtnSave.setForeground(new Color(255, 255, 255));\r\n\t\tbtnSave.setBackground(new Color(0, 0, 128));\r\n\t\tbtnSave.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\r\n\t\tbtnSave.setBounds(42, 265, 110, 35);\r\n\t\tframe.getContentPane().add(btnSave);\r\n\t\t\r\n\t\tJButton btnReset = new JButton(\"Reset\");\r\n\t\tbtnReset.setForeground(Color.WHITE);\r\n\t\tbtnReset.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\r\n\t\tbtnReset.setBackground(new Color(178, 34, 34));\r\n\t\tbtnReset.setBounds(337, 265, 110, 35);\r\n\t\tframe.getContentPane().add(btnReset);\r\n\t\t\r\n\t\tbtnSave.addActionListener(new ActionListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Tenant ID\");\r\n\t\tlblNewLabel_1.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\r\n\t\tlblNewLabel_1.setForeground(new Color(255, 255, 255));\r\n\t\tlblNewLabel_1.setBounds(276, 67, 124, 29);\r\n\t\tframe.getContentPane().add(lblNewLabel_1);\r\n\t\t\r\n\t\tJTextField tenantId = new JTextField();\r\n\t\ttenantId.setBounds(276, 95, 171, 29);\r\n\t\tframe.getContentPane().add(tenantId);\r\n\t\ttenantId.setColumns(10);\r\n\t\t\r\n\t\tJLabel lblNewLabel_1_1 = new JLabel(\"Tenant Names\");\r\n\t\tlblNewLabel_1_1.setForeground(Color.WHITE);\r\n\t\tlblNewLabel_1_1.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\r\n\t\tlblNewLabel_1_1.setBounds(40, 67, 124, 29);\r\n\t\tframe.getContentPane().add(lblNewLabel_1_1);\r\n\t\t\r\n\t\tJLabel tenantEmail = new JLabel(\"Available House\");\r\n\t\ttenantEmail.setForeground(Color.WHITE);\r\n\t\ttenantEmail.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\r\n\t\ttenantEmail.setBounds(276, 138, 124, 29);\r\n\t\tframe.getContentPane().add(tenantEmail);\r\n\t\t\r\n\t\tJLabel lblNewLabel_1_3 = new JLabel(\"Tenant Tel.Number\");\r\n\t\tlblNewLabel_1_3.setForeground(Color.WHITE);\r\n\t\tlblNewLabel_1_3.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\r\n\t\tlblNewLabel_1_3.setBounds(40, 138, 137, 29);\r\n\t\tframe.getContentPane().add(lblNewLabel_1_3);\r\n\t\t\r\n\t\ttenantNames = new JTextField();\r\n\t\ttenantNames.setColumns(10);\r\n\t\ttenantNames.setBounds(40, 95, 171, 29);\r\n\t\tframe.getContentPane().add(tenantNames);\r\n\t\t\r\n\t\ttenantTel = new JTextField();\r\n\t\ttenantTel.setColumns(10);\r\n\t\ttenantTel.setBounds(40, 167, 171, 29);\r\n\t\tframe.getContentPane().add(tenantTel);\r\n\t\t\r\n\t\tbookedHouse = new JComboBox();\r\n\t\tbookedHouse.setBounds(276, 167, 171, 29);\r\n\t\tframe.getContentPane().add(bookedHouse);\r\n\t}",
"private void initUI() {\r\n\t\tthis.form = new XdevGridLayout();\r\n\t\tthis.comboBoxState = new XdevComboBox<>();\r\n\t\tthis.lblSbxValidFrom = new XdevLabel();\r\n\t\tthis.dateSbxValidFrom = new XdevPopupDateField();\r\n\t\tthis.lblSbxAgeStartYear = new XdevLabel();\r\n\t\tthis.txtSbxAgeStartYear = new XdevTextField();\r\n\t\tthis.lblSbxCompany = new XdevLabel();\r\n\t\tthis.txtSbxCompany = new XdevTextField();\r\n\t\tthis.lblSbxWorker = new XdevLabel();\r\n\t\tthis.txtSbxWorker = new XdevTextField();\r\n\t\tthis.lblSbxState = new XdevLabel();\r\n\t\tthis.horizontalLayout = new XdevHorizontalLayout();\r\n\t\tthis.cmdSave = new XdevButton();\r\n\t\tthis.cmdClose = new XdevButton();\r\n\t\tthis.fieldGroup = new XdevFieldGroup<>(SalaryBvgBaseLine.class);\r\n\t\r\n\t\tthis.lblSbxValidFrom.setValue(\"Gültig ab\");\r\n\t\tthis.dateSbxValidFrom.setTabIndex(2);\r\n\t\tthis.lblSbxAgeStartYear.setValue(\"Alter ab\");\r\n\t\tthis.txtSbxAgeStartYear.setTabIndex(3);\r\n\t\tthis.lblSbxCompany.setValue(\"Arbeitgeber %\");\r\n\t\tthis.txtSbxCompany.setConverter(ConverterBuilder.stringToDouble().build());\r\n\t\tthis.txtSbxCompany.setTabIndex(4);\r\n\t\tthis.lblSbxWorker.setValue(\"Arbeitnehmer %\");\r\n\t\tthis.txtSbxWorker.setConverter(ConverterBuilder.stringToDouble().build());\r\n\t\tthis.txtSbxWorker.setTabIndex(5);\r\n\t\tthis.lblSbxState.setValue(\"Status\");\r\n\t\tthis.horizontalLayout.setMargin(new MarginInfo(false));\r\n\t\tthis.cmdSave.setIcon(FontAwesome.SAVE);\r\n\t\tthis.cmdSave.setCaption(\"Speichern\");\r\n\t\tthis.cmdSave.setTabIndex(8);\r\n\t\tthis.cmdSave.setClickShortcut(ShortcutAction.KeyCode.ENTER);\r\n\t\tthis.cmdClose.setIcon(FontAwesome.CLOSE);\r\n\t\tthis.cmdClose.setCaption(\"Schliessen\");\r\n\t\tthis.cmdClose.setClickShortcut(ShortcutAction.KeyCode.ESCAPE);\r\n\t\tthis.fieldGroup.bind(this.dateSbxValidFrom, SalaryBvgBaseLine_.sbxValidFrom.getName());\r\n\t\tthis.fieldGroup.bind(this.txtSbxAgeStartYear, SalaryBvgBaseLine_.sbxAgeStartYear.getName());\r\n\t\tthis.fieldGroup.bind(this.txtSbxCompany, SalaryBvgBaseLine_.sbxCompany.getName());\r\n\t\tthis.fieldGroup.bind(this.txtSbxWorker, SalaryBvgBaseLine_.sbxWorker.getName());\r\n\t\tthis.fieldGroup.bind(this.comboBoxState, SalaryBvgBaseLine_.sbxState.getName());\r\n\t\r\n\t\tthis.cmdSave.setSizeUndefined();\r\n\t\tthis.horizontalLayout.addComponent(this.cmdSave);\r\n\t\tthis.horizontalLayout.setComponentAlignment(this.cmdSave, Alignment.MIDDLE_LEFT);\r\n\t\tthis.cmdClose.setSizeUndefined();\r\n\t\tthis.horizontalLayout.addComponent(this.cmdClose);\r\n\t\tthis.horizontalLayout.setComponentAlignment(this.cmdClose, Alignment.MIDDLE_LEFT);\r\n\t\tthis.form.setColumns(2);\r\n\t\tthis.form.setRows(7);\r\n\t\tthis.comboBoxState.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.comboBoxState, 1, 4);\r\n\t\tthis.lblSbxValidFrom.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.lblSbxValidFrom, 0, 0);\r\n\t\tthis.dateSbxValidFrom.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.dateSbxValidFrom, 1, 0);\r\n\t\tthis.lblSbxAgeStartYear.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.lblSbxAgeStartYear, 0, 1);\r\n\t\tthis.txtSbxAgeStartYear.setWidth(100, Unit.PERCENTAGE);\r\n\t\tthis.txtSbxAgeStartYear.setHeight(-1, Unit.PIXELS);\r\n\t\tthis.form.addComponent(this.txtSbxAgeStartYear, 1, 1);\r\n\t\tthis.lblSbxCompany.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.lblSbxCompany, 0, 2);\r\n\t\tthis.txtSbxCompany.setWidth(100, Unit.PERCENTAGE);\r\n\t\tthis.txtSbxCompany.setHeight(-1, Unit.PIXELS);\r\n\t\tthis.form.addComponent(this.txtSbxCompany, 1, 2);\r\n\t\tthis.lblSbxWorker.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.lblSbxWorker, 0, 3);\r\n\t\tthis.txtSbxWorker.setWidth(100, Unit.PERCENTAGE);\r\n\t\tthis.txtSbxWorker.setHeight(-1, Unit.PIXELS);\r\n\t\tthis.form.addComponent(this.txtSbxWorker, 1, 3);\r\n\t\tthis.lblSbxState.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.lblSbxState, 0, 4);\r\n\t\tthis.horizontalLayout.setSizeUndefined();\r\n\t\tthis.form.addComponent(this.horizontalLayout, 0, 5, 1, 5);\r\n\t\tthis.form.setComponentAlignment(this.horizontalLayout, Alignment.TOP_CENTER);\r\n\t\tthis.form.setColumnExpandRatio(1, 100.0F);\r\n\t\tfinal CustomComponent form_vSpacer = new CustomComponent();\r\n\t\tform_vSpacer.setSizeFull();\r\n\t\tthis.form.addComponent(form_vSpacer, 0, 6, 1, 6);\r\n\t\tthis.form.setRowExpandRatio(6, 1.0F);\r\n\t\tthis.form.setSizeFull();\r\n\t\tthis.setContent(this.form);\r\n\t\tthis.setSizeFull();\r\n\t\r\n\t\tthis.cmdSave.addClickListener(event -> this.cmdSave_buttonClick(event));\r\n\t\tthis.cmdClose.addClickListener(event -> this.cmdClose_buttonClick(event));\r\n\t}",
"private void criaInterface() {\n\t\tColor azul = new Color(212, 212, 240);\n\n\t\tpainelMetadado.setLayout(null);\n\t\tpainelMetadado.setBackground(azul);\n\n\t\tmetadadoLabel = FactoryInterface.createJLabel(10, 3, 157, 30);\n\t\tpainelMetadado.add(metadadoLabel);\n\n\t\tbotaoAdicionar = FactoryInterface.createJButton(520, 3, 30, 30);\n\t\tbotaoAdicionar.setIcon(FactoryInterface.criarImageIcon(Imagem.ADICIONAR));\n\t\tbotaoAdicionar.setToolTipText(Sap.ADICIONAR.get(Sap.TERMO.get()));\n\t\tpainelMetadado.add(botaoAdicionar);\n\n\t\tbotaoEscolha = FactoryInterface.createJButton(560, 3, 30, 30);\n\t\tbotaoEscolha.setIcon(FactoryInterface.criarImageIcon(Imagem.VOLTAR_PRETO));\n\t\tbotaoEscolha.setToolTipText(Sap.ESCOLHER.get(Sap.TERMO.get()));\n\t\tbotaoEscolha.setEnabled(false);\n\t\tpainelMetadado.add(botaoEscolha);\n\n\t\talterarModo(false);\n\t\tatribuirAcoes();\n\t}",
"public CreateTremaDbDialogForm(AnActionEvent event) {\n this.event = event;\n this.windowTitle = \"New Trema XML database file\";\n init();\n }",
"public AddNewSpeciality() {\r\n\t\tsuper(\"Add New Speciality\");\r\n\t\tthis.setLayout(new MigLayout(new LC().fill(), new AC().grow(), new AC().grow()));\r\n\r\n\t\tthis.add(new JLabel(\"Add Speciality\"), new CC().grow().alignX(\"center\"));\r\n\r\n\t\tnewSpeciality = new JTextField(25);\r\n\t\tthis.add(newSpeciality);\r\n\r\n\t\taddNewSpecialityBtn = new JButton(\"Add!\");\r\n\t\taddNewSpecialityBtn.addActionListener(this);\r\n\t\tthis.add(addNewSpecialityBtn);\r\n\r\n\t\tthis.pack();\r\n\t\tthis.setLocationRelativeTo(null);\r\n\t\tthis.setVisible(true);\r\n\t}",
"public GUIForm() { \n initComponents();\n }",
"@Override\r\n\tpublic void createPartControl(Composite parent) {\n\t\ttoolkit = new FormToolkit(parent.getDisplay());\r\n\t\t\r\n\t\t/*\r\n\t\t * Create a scrolled form widget, \r\n\t\t */\r\n\t\tscrolledForm = toolkit.createScrolledForm(parent);\r\n\t\tscrolledForm.setFont(new Font(null,\"Times\",18,SWT.BOLD|SWT.ITALIC));\r\n\t\tscrolledForm.setText(\"Simulation Results\");\r\n\t\tscrolledForm.setImage(JQuantPlugin.getImageDescriptor(\"money.png\").createImage());\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t/*\r\n\t\t * Make a nice gradient\r\n\t\t */\r\n\t\ttoolkit.decorateFormHeading(scrolledForm.getForm());\r\n\t\t\r\n\t\treadSimulationResults();\r\n\t\tbuildStatSection();\r\n\t\tif(results != null)\r\n\t\t\trefreshSimulationStatistics();\r\n\r\n\t\t\r\n\t}",
"private void createAndShowGUI (){\n\n JustawieniaPowitalne = new JUstawieniaPowitalne();\n }",
"public CentralAC_GUI(HVACGUI hvacForm) {\n\n //setting the content pane\n setContentPane(rootPanel);\n\n setPreferredSize(new Dimension(500, 500));\n pack();\n setVisible(true);\n //using the dispose on close to close the form\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n //setting the hvac form to false so its not the active form\n hvacForm.setEnabled(false);\n //calling the addToList method\n addToList();\n //making the hvac gui form active\n hvacForm.setEnabled(true);\n\n }",
"void doNew() {\r\n\t\t\r\n\t\tNewResizeDialog dlg = new NewResizeDialog(labels, true);\r\n\t\tdlg.setLocationRelativeTo(this);\r\n\t\tdlg.setVisible(true);\r\n\t\tif (dlg.success) {\r\n\t\t\tsetTitle(TITLE);\r\n\t\t\tcreatePlanetSurface(dlg.width, dlg.height);\r\n\t\t\trenderer.repaint();\r\n\t\t\tsaveSettings = null;\r\n\t\t\tundoManager.discardAllEdits();\r\n\t\t\tsetUndoRedoMenu();\r\n\t\t}\r\n\t}",
"private void initiateEarnBlueEssenceFields(JFrame frame) {\r\n JLabel q1 = new JLabel(\"Add amount to mainAccount or altAccount?\");\r\n new Label(q1);\r\n// q1.setPreferredSize(new Dimension(750, 100));\r\n// q1.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q1);\r\n\r\n JTextField account = new JTextField();\r\n new TextField(account);\r\n// account.setPreferredSize(new Dimension(750, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(account);\r\n\r\n JLabel q2 = new JLabel(\"Amount of Blue Essence Earned\");\r\n new Label(q2);\r\n// q2.setPreferredSize(new Dimension(750, 100));\r\n// q2.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q2);\r\n\r\n JTextField amount = new JTextField();\r\n new TextField(amount);\r\n// amount.setPreferredSize(new Dimension(750, 100));\r\n// amount.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(amount);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/be.JPG\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(750, 100));\r\n frame.add(label);\r\n\r\n initiateEarnBlueEssenceEnter(frame, account, amount);\r\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n Createlbl = new javax.swing.JLabel();\n templbl = new javax.swing.JLabel();\n Bplbl = new javax.swing.JLabel();\n pulselbl = new javax.swing.JLabel();\n datelbl = new javax.swing.JLabel();\n temptxt = new javax.swing.JTextField();\n BPtxt = new javax.swing.JTextField();\n pulsetxt = new javax.swing.JTextField();\n datetxt = new javax.swing.JTextField();\n CreateSavetbn = new javax.swing.JButton();\n\n setBackground(new java.awt.Color(243, 206, 206));\n setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n Createlbl.setFont(new java.awt.Font(\"Lucida Grande\", 1, 24)); // NOI18N\n Createlbl.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Createlbl.setText(\"Create Vital Sign\");\n add(Createlbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 16, 421, -1));\n\n templbl.setFont(new java.awt.Font(\"Lucida Grande\", 0, 16)); // NOI18N\n templbl.setText(\"Temperature:\");\n add(templbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(97, 80, -1, -1));\n\n Bplbl.setFont(new java.awt.Font(\"Lucida Grande\", 0, 16)); // NOI18N\n Bplbl.setText(\"Blood Pressure:\");\n add(Bplbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(82, 127, -1, -1));\n\n pulselbl.setFont(new java.awt.Font(\"Lucida Grande\", 0, 16)); // NOI18N\n pulselbl.setText(\"Pulse:\");\n add(pulselbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(157, 174, -1, -1));\n\n datelbl.setFont(new java.awt.Font(\"Lucida Grande\", 0, 16)); // NOI18N\n datelbl.setText(\"Date:\");\n add(datelbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(162, 221, -1, -1));\n add(temptxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 78, 105, -1));\n add(BPtxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 125, 105, -1));\n add(pulsetxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 172, 105, -1));\n add(datetxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 219, 105, -1));\n\n CreateSavetbn.setFont(new java.awt.Font(\"Lucida Grande\", 0, 16)); // NOI18N\n CreateSavetbn.setText(\"Save\");\n CreateSavetbn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CreateSavetbnActionPerformed(evt);\n }\n });\n add(CreateSavetbn, new org.netbeans.lib.awtextra.AbsoluteConstraints(155, 263, -1, -1));\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel3 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n cedulaTxt = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n nombreApellidoTxt = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n telfTxt = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n direccionTxt = new javax.swing.JTextField();\n jLabel7 = new javax.swing.JLabel();\n sueldoTxt = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n agregar = new javax.swing.JButton();\n cancelar = new javax.swing.JButton();\n jLabel9 = new javax.swing.JLabel();\n jLabel10 = new javax.swing.JLabel();\n nutricionTxt = new javax.swing.JTextField();\n jLabel11 = new javax.swing.JLabel();\n turnoCombo = new javax.swing.JComboBox();\n areaTxt = new javax.swing.JTextField();\n jLabel12 = new javax.swing.JLabel();\n jLabel13 = new javax.swing.JLabel();\n jLabel14 = new javax.swing.JLabel();\n jLabel15 = new javax.swing.JLabel();\n jLabel17 = new javax.swing.JLabel();\n jLabel18 = new javax.swing.JLabel();\n jLabel19 = new javax.swing.JLabel();\n rutinaTxt = new javax.swing.JComboBox();\n jLabel1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"REGISTRAR INSTRUCTOR\");\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanel1.setOpaque(false);\n\n jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagenes/instructor.png\"))); // NOI18N\n\n jLabel2.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel2.setText(\"CEDULA\");\n\n cedulaTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n cedulaTxtMousePressed(evt);\n }\n });\n cedulaTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cedulaTxtActionPerformed(evt);\n }\n });\n cedulaTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n cedulaTxtKeyTyped(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel4.setText(\"NOMBRE Y APELLIDO\");\n\n nombreApellidoTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n nombreApellidoTxtMousePressed(evt);\n }\n });\n nombreApellidoTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n nombreApellidoTxtActionPerformed(evt);\n }\n });\n nombreApellidoTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n nombreApellidoTxtKeyTyped(evt);\n }\n });\n\n jLabel5.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel5.setText(\"TELEFONO\");\n\n telfTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n telfTxtMousePressed(evt);\n }\n });\n telfTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n telfTxtActionPerformed(evt);\n }\n });\n telfTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n telfTxtKeyTyped(evt);\n }\n });\n\n jLabel6.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel6.setText(\"DIRECCION\");\n\n direccionTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n direccionTxtMousePressed(evt);\n }\n });\n direccionTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n direccionTxtActionPerformed(evt);\n }\n });\n direccionTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n direccionTxtKeyTyped(evt);\n }\n });\n\n jLabel7.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel7.setText(\" SUELDO\");\n\n sueldoTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n sueldoTxtMousePressed(evt);\n }\n });\n sueldoTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n sueldoTxtActionPerformed(evt);\n }\n });\n sueldoTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n sueldoTxtKeyTyped(evt);\n }\n });\n\n jLabel8.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel8.setText(\"AREA ENTRENAMIENTO\");\n\n agregar.setText(\"AGREGAR\");\n agregar.setOpaque(false);\n agregar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n agregarActionPerformed(evt);\n }\n });\n\n cancelar.setText(\"CANCELAR\");\n cancelar.setOpaque(false);\n cancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cancelarActionPerformed(evt);\n }\n });\n\n jLabel9.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel9.setText(\"RUTINA\");\n\n jLabel10.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel10.setText(\"NUTRICION\");\n\n nutricionTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n nutricionTxtMousePressed(evt);\n }\n });\n nutricionTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n nutricionTxtActionPerformed(evt);\n }\n });\n nutricionTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n nutricionTxtKeyTyped(evt);\n }\n });\n\n jLabel11.setFont(new java.awt.Font(\"Arial\", 1, 11)); // NOI18N\n jLabel11.setText(\"TURNO\");\n\n turnoCombo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n turnoComboActionPerformed(evt);\n }\n });\n\n areaTxt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n areaTxtMousePressed(evt);\n }\n });\n areaTxt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n areaTxtActionPerformed(evt);\n }\n });\n areaTxt.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n areaTxtKeyTyped(evt);\n }\n });\n\n jLabel12.setForeground(new java.awt.Color(255, 0, 0));\n jLabel12.setText(\"*\");\n\n jLabel13.setForeground(new java.awt.Color(255, 0, 0));\n jLabel13.setText(\"*\");\n\n jLabel14.setForeground(new java.awt.Color(255, 0, 0));\n jLabel14.setText(\"*\");\n\n jLabel15.setForeground(new java.awt.Color(255, 0, 0));\n jLabel15.setText(\"*\");\n\n jLabel17.setForeground(new java.awt.Color(255, 0, 0));\n jLabel17.setText(\"*\");\n\n jLabel18.setForeground(new java.awt.Color(255, 0, 0));\n jLabel18.setText(\"*\");\n\n jLabel19.setForeground(new java.awt.Color(255, 0, 0));\n jLabel19.setText(\"*\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel12)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cedulaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 13, Short.MAX_VALUE)\n .addComponent(jLabel13)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(nombreApellidoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(149, 149, 149)\n .addComponent(turnoCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6)\n .addComponent(jLabel5))\n .addGap(42, 42, 42))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(53, 53, 53)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel11)\n .addComponent(jLabel9))\n .addGap(41, 41, 41))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()\n .addGap(41, 41, 41)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel10)\n .addComponent(jLabel7))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel17, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel18, javax.swing.GroupLayout.Alignment.TRAILING))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(nutricionTxt)\n .addComponent(rutinaTxt, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(agregar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cancelar))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(telfTxt)\n .addComponent(direccionTxt)\n .addComponent(sueldoTxt, javax.swing.GroupLayout.DEFAULT_SIZE, 102, Short.MAX_VALUE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(60, 60, 60)\n .addComponent(jLabel8)\n .addGap(18, 18, 18)\n .addComponent(jLabel19)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(areaTxt)))\n .addContainerGap())\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(cedulaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel12))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(nombreApellidoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4))\n .addComponent(jLabel13, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(telfTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel14))\n .addComponent(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(direccionTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6)\n .addComponent(jLabel15)))\n .addComponent(jLabel3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 24, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(sueldoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7)\n .addComponent(jLabel17))\n .addGap(22, 22, 22)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel11)\n .addComponent(turnoCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(19, 19, 19)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel9)\n .addComponent(rutinaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(nutricionTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel10)\n .addComponent(jLabel18))\n .addGap(21, 21, 21)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(areaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel19))\n .addGap(19, 19, 19)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(agregar)\n .addComponent(cancelar)))\n );\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 30, 330, 380));\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagenes/FONDO INICIO_1.png\"))); // NOI18N\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 400, 450));\n\n pack();\n }",
"public NewJFrame() {\n initComponents();\n \n \n //combo box\n comboCompet.addItem(\"Séléction officielle\");\n comboCompet.addItem(\"Un certain regard\");\n comboCompet.addItem(\"Cannes Courts métrages\");\n comboCompet.addItem(\"Hors compétitions\");\n comboCompet.addItem(\"Cannes Classics\");\n \n \n //redimension\n this.setResizable(false);\n \n planning = new Planning();\n \n \n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblTitulo = new javax.swing.JLabel();\n lblProd = new javax.swing.JLabel();\n txtProd = new javax.swing.JTextField();\n lblQuantidade = new javax.swing.JLabel();\n txtQuantidade = new javax.swing.JTextField();\n bntImprimir = new javax.swing.JButton();\n btnVoltar = new javax.swing.JButton();\n lblVersao = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Produto Sem Nota Fiscal\");\n setResizable(false);\n\n lblTitulo.setFont(new java.awt.Font(\"Arial\", 1, 36)); // NOI18N\n lblTitulo.setText(\"Produto\");\n\n lblProd.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n lblProd.setText(\"Código do produto:\");\n\n lblQuantidade.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n lblQuantidade.setText(\"Quantidade: \");\n\n txtQuantidade.setMinimumSize(new java.awt.Dimension(115, 22));\n txtQuantidade.setPreferredSize(new java.awt.Dimension(115, 22));\n\n bntImprimir.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n bntImprimir.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/printer.png\"))); // NOI18N\n bntImprimir.setText(\" Imprimir\");\n bntImprimir.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n bntImprimirActionPerformed(evt);\n }\n });\n\n btnVoltar.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n btnVoltar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/reply.png\"))); // NOI18N\n btnVoltar.setText(\" Voltar\");\n btnVoltar.setMaximumSize(new java.awt.Dimension(93, 31));\n btnVoltar.setMinimumSize(new java.awt.Dimension(93, 31));\n btnVoltar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnVoltarActionPerformed(evt);\n }\n });\n\n lblVersao.setFont(new java.awt.Font(\"Tahoma\", 0, 10)); // NOI18N\n lblVersao.setForeground(new java.awt.Color(153, 153, 153));\n lblVersao.setText(\"V 1.6\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(70, 70, 70)\n .addComponent(lblProd)\n .addGap(18, 18, 18)\n .addComponent(txtProd)\n .addGap(69, 69, 69))\n .addGroup(layout.createSequentialGroup()\n .addGap(234, 234, 234)\n .addComponent(lblTitulo)\n .addGap(0, 230, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(lblVersao)\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(124, 124, 124)\n .addComponent(lblQuantidade, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(txtQuantidade, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(103, 103, 103)\n .addComponent(bntImprimir, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(70, 70, 70)\n .addComponent(btnVoltar, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {bntImprimir, btnVoltar});\n\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(lblTitulo)\n .addGap(37, 37, 37)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lblProd)\n .addComponent(txtProd, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtQuantidade, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lblQuantidade))\n .addGap(33, 33, 33)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(bntImprimir, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnVoltar, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(3, 3, 3)\n .addComponent(lblVersao)\n .addContainerGap())\n );\n\n layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {txtProd, txtQuantidade});\n\n layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {bntImprimir, btnVoltar});\n\n pack();\n setLocationRelativeTo(null);\n }",
"public FormUtama() {\n initComponents();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public frmAdminAccount() {\n initComponents();\n }",
"private static void createAndShowGUI() {\n\t\tgui = new GUI();\n\t}",
"public CreateTab(PetriDishApp app) {\r\n\t\tsetText(\"Create\");\r\n\t\tsetClosable(false);\r\n\r\n\t\t// organized in a single VBox\r\n\t\tVBox createTabBox = new VBox();\r\n\t\tcreateTabBox.setPadding(new Insets(10, 5, 10, 5));\r\n\t\tcreateTabBox.setSpacing(10);\r\n\t\tcreateTabBox.setAlignment(Pos.TOP_CENTER);\r\n\t\tsetContent(createTabBox);\r\n\t\t// done setting up box\r\n\r\n\t\t// organized into HBoxes, with separators\r\n\t\tcreateTabBox.getChildren().add(new Separator());\r\n\t\t// each section labeled\r\n\t\tcreateTabBox.getChildren().add(new Label(\"New Simulation Size\"));\r\n\r\n\t\tHBox topBox = new HBox();\r\n\t\tcreateTabBox.getChildren().add(topBox);\r\n\t\ttopBox.setSpacing(10);\r\n\t\ttopBox.setAlignment(Pos.CENTER_LEFT);\r\n\r\n\t\tcreateTabBox.getChildren().add(new Separator());\r\n\t\tcreateTabBox.getChildren().add(new Label(\"New Simulation Cell Pops\"));\r\n\r\n\t\tHBox secondBox = new HBox();\r\n\t\tcreateTabBox.getChildren().add(secondBox);\r\n\t\tsecondBox.setSpacing(10);\r\n\t\tsecondBox.setAlignment(Pos.CENTER_LEFT);\r\n\r\n\t\tcreateTabBox.getChildren().add(new Separator());\r\n\t\t// finished setting up organization\r\n\r\n\t\t// begin adding GUI elements to their HBoxes\r\n\r\n\t\t// width input box\r\n\t\tBoundedIntField simDimWidthMsg = new BoundedIntField(PetriDishApp.MIN_PETRI_DISH_DIM,\r\n\t\t\t\tPetriDishApp.MAX_PETRI_DISH_DIM);\r\n\t\tsimDimWidthMsg.setMaxWidth(75);\r\n\r\n\t\tsimDimWidthMsg.integerProperty().bindBidirectional(app.newSimulationWidth);\r\n\r\n\t\t// height input box\r\n\t\tBoundedIntField simDimHeightMsg = new BoundedIntField(PetriDishApp.MIN_PETRI_DISH_DIM,\r\n\t\t\t\tPetriDishApp.MAX_PETRI_DISH_DIM);\r\n\t\tsimDimHeightMsg.setMaxWidth(75);\r\n\r\n\t\tsimDimHeightMsg.integerProperty().bindBidirectional(app.newSimulationHeight);\r\n\r\n\t\ttopBox.getChildren().add(simDimWidthMsg);\r\n\t\ttopBox.getChildren().add(simDimHeightMsg);\r\n\r\n\t\t// input fields for starting cell populations\r\n\t\t\r\n\t\t// agar\r\n\t\tBoundedIntField simAgarPopMsg = new BoundedIntField();\r\n\t\tsimAgarPopMsg.setMaxWidth(50);\r\n\r\n\t\tsimAgarPopMsg.integerProperty().bindBidirectional(app.newSimulationAgarPop);\r\n\t\t\r\n\t\t// grazer\r\n\t\tBoundedIntField simGrazerPopMsg = new BoundedIntField();\r\n\t\tsimGrazerPopMsg.setMaxWidth(50);\r\n\r\n\t\tsimGrazerPopMsg.integerProperty().bindBidirectional(app.newSimulationGrazerPop);\r\n\t\t\r\n\t\t// pred\r\n\t\tBoundedIntField simPredPopMsg = new BoundedIntField();\r\n\t\tsimPredPopMsg.setMaxWidth(50);\r\n\r\n\t\tsimPredPopMsg.integerProperty().bindBidirectional(app.newSimulationPredPop);\r\n\t\t\r\n\t\t// plant\r\n\t\tBoundedIntField simPlantPopMsg = new BoundedIntField();\r\n\t\tsimPlantPopMsg.setMaxWidth(50);\r\n\r\n\t\tsimPlantPopMsg.integerProperty().bindBidirectional(app.newSimulationPlantPop);\r\n\t\t\r\n\t\t// add those input boxes to the second box\r\n\t\t// with their own labels in VBoxes\r\n\t\t\r\n\t\tArrayList<VBox> labelContainers = new ArrayList<VBox>();\r\n\t\t\r\n\t\t// make the boxes\r\n\t\t\r\n\t\tVBox simAgarPopMsgContainer = new VBox();\r\n\t\tVBox simGrazerPopMsgContainer = new VBox();\r\n\t\tVBox simPredPopMsgContainer = new VBox();\r\n\t\tVBox simPlantPopMsgContainer = new VBox();\r\n\t\t\r\n\t\t// configure the boxes\r\n\t\t\r\n\t\tlabelContainers.add(simAgarPopMsgContainer);\r\n\t\tlabelContainers.add(simGrazerPopMsgContainer);\r\n\t\tlabelContainers.add(simPredPopMsgContainer);\r\n\t\tlabelContainers.add(simPlantPopMsgContainer);\r\n\t\t\r\n\t\tfor (VBox v : labelContainers) {\r\n\t\t\tv.setPadding(new Insets(10, 5, 10, 5));\r\n\t\t\tv.setSpacing(10);\r\n\t\t\tv.setAlignment(Pos.TOP_CENTER);\r\n\t\t}\r\n\t\t\r\n\t\tsimAgarPopMsgContainer.getChildren().add(new Label(\"Agar\"));\r\n\t\tsimAgarPopMsgContainer.getChildren().add(simAgarPopMsg);\r\n\t\t\r\n\t\tsimGrazerPopMsgContainer.getChildren().add(new Label(\"Grazer\"));\r\n\t\tsimGrazerPopMsgContainer.getChildren().add(simGrazerPopMsg);\r\n\t\t\r\n\t\tsimPredPopMsgContainer.getChildren().add(new Label(\"Predator\"));\r\n\t\tsimPredPopMsgContainer.getChildren().add(simPredPopMsg);\r\n\t\t\r\n\t\tsimPlantPopMsgContainer.getChildren().add(new Label(\"Plant\"));\r\n\t\tsimPlantPopMsgContainer.getChildren().add(simPlantPopMsg);\r\n\t\t\r\n\t\tfor (VBox v : labelContainers) {\r\n\t\t\tsecondBox.getChildren().add(v);\r\n\t\t}\r\n\t\t\r\n\t}",
"public void createControl(Composite parent) {\r\n \t\tinitializeDialogUnits(parent);\r\n \r\n \t\tComposite root = new Composite(parent, SWT.NONE);\r\n \t\tGridData gd = new GridData();\r\n \r\n \t\tgd.horizontalSpan = 1;\r\n \t\tgd.horizontalAlignment = GridData.FILL;\r\n \t\tgd.grabExcessHorizontalSpace = true;\r\n \t\tgd.grabExcessVerticalSpace = false;\r\n \r\n \t\tGridLayout gridLayout = new GridLayout(1, false);\r\n \t\troot.setLayout(gridLayout);\r\n \t\tGroup generalGroup = new Group(root, SWT.NONE);\r\n \t\tgeneralGroup.setLayoutData(gd);\r\n \t\tgeneralGroup.setText(SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_GENERAL);\r\n \t\tgridLayout = new GridLayout(3, false);\r\n \r\n \t\tgeneralGroup.setLayout(gridLayout);\r\n \t\tregisterEditor(jBossSeamHomeEditor, generalGroup, 3);\r\n \t\tregisterEditor(jBossAsDeployAsEditor, generalGroup, 3);\r\n \r\n \t\tgd = new GridData();\r\n \t\tgd.horizontalSpan = 1;\r\n \t\tgd.horizontalAlignment = GridData.FILL;\r\n \t\tgd.grabExcessHorizontalSpace = true;\r\n \t\tgd.grabExcessVerticalSpace = false;\r\n \r\n \t\tGroup databaseGroup = new Group(root, SWT.NONE);\r\n \t\tdatabaseGroup.setLayoutData(gd);\r\n \t\tdatabaseGroup.setText(SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_DATABASE);\r\n \t\tgridLayout = new GridLayout(4, false);\r\n \t\tdatabaseGroup.setLayout(gridLayout);\r\n \t\tregisterEditor(jBossHibernateDbTypeEditor, databaseGroup, 4);\r\n \t\tregisterEditor(connProfileSelEditor, databaseGroup, 4);\r\n \t\tregisterEditor(dbSchemaName, databaseGroup, 4);\r\n \t\tregisterEditor(dbCatalogName, databaseGroup, 4);\r\n \t\tregisterEditor(dbTablesExists, databaseGroup, 4);\r\n \t\tregisterEditor(recreateTablesOnDeploy, databaseGroup, 4);\r\n \t\t// registerEditor(pathToJdbcDriverJar,databaseGroup, 4);\r\n \r\n \t\tGroup generationGroup = new Group(root, SWT.NONE);\r\n \t\tgd = new GridData();\r\n \t\tgd.horizontalSpan = 1;\r\n \t\tgd.horizontalAlignment = GridData.FILL;\r\n \t\tgd.grabExcessHorizontalSpace = true;\r\n \t\tgd.grabExcessVerticalSpace = false;\r\n \r\n \t\tgenerationGroup.setLayoutData(gd);\r\n \t\tgenerationGroup.setText(SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_CODE_GENERATION);\r\n \t\tgridLayout = new GridLayout(3, false);\r\n \t\tgenerationGroup.setLayout(gridLayout);\r\n \t\tregisterEditor(sessionBeanPkgNameditor, generationGroup, 3);\r\n \t\tregisterEditor(entityBeanPkgNameditor, generationGroup, 3);\r\n \t\tregisterEditor(testsPkgNameditor, generationGroup, 3);\r\n \r\n \t\tsetControl(root);\r\n \t\tNewProjectDataModelFacetWizard wizard = (NewProjectDataModelFacetWizard) getWizard();\r\n \r\n \t\tIDataModel model = wizard.getDataModel();\r\n \r\n \t\tif (validatorDelegate == null) {\r\n \t\t\tvalidatorDelegate = new DataModelValidatorDelegate(this.model, this);\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(jBossSeamHomeEditor\r\n \t\t\t\t\t.getName(),\r\n \t\t\t\t\tValidatorFactory.SEAM_RUNTIME_NAME_VALIDATOR);\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(connProfileSelEditor\r\n \t\t\t\t\t.getName(),\r\n \t\t\t\t\tValidatorFactory.CONNECTION_PROFILE_VALIDATOR);\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(testsPkgNameditor\r\n \t\t\t\t\t.getName(), new PackageNameValidator(testsPkgNameditor\r\n \t\t\t\t\t.getName(), \"tests\")); //$NON-NLS-1$\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(entityBeanPkgNameditor\r\n \t\t\t\t\t.getName(), new PackageNameValidator(entityBeanPkgNameditor\r\n \t\t\t\t\t.getName(), \"entity beans\")); //$NON-NLS-1$\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(sessionBeanPkgNameditor\r\n \t\t\t\t\t.getName(), new PackageNameValidator(\r\n \t\t\t\t\tsessionBeanPkgNameditor.getName(), \"session beans\")); //$NON-NLS-1$\r\n \t\t\tvalidatorDelegate.addValidatorForProperty(\r\n \t\t\t\t\tIFacetDataModelProperties.FACET_PROJECT_NAME, \r\n \t\t\t\t\tnew ProjectNamesDuplicationValidator(\r\n \t\t\t\t\t\t\tIFacetDataModelProperties.FACET_PROJECT_NAME));\r\n \t\t}\r\n \r\n \t\tjBossHibernateDbTypeEditor\r\n \t\t\t\t.addPropertyChangeListener(new PropertyChangeListener() {\r\n \t\t\t\t\tpublic void propertyChange(PropertyChangeEvent evt) {\r\n \t\t\t\t\t\tSeamInstallWizardPage.this.model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_DIALECT,\r\n \t\t\t\t\t\tHIBERNATE_HELPER.getDialectClass(evt.getNewValue().toString()));\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t);\r\n \r\n\r\n\r\n Dialog.applyDialogFont(parent);\r\n \t}",
"public static void newUAV(){\n GridPane gp = new GridPane();\n Text title = new Text(\"Create a UAV:\\nUAV Settings\");\n title.setTextAlignment(TextAlignment.CENTER);\n title.setId(\"title\"); // Set CSS style for the title\n GridPane.setColumnSpan(title,3);\n GridPane.setHalignment(title, HPos.CENTER);\n\n gp.setId(\"gridpane\"); // Set CSS style ID for the gridpane\n gp.getStyleClass().add(\"grid\");\n\n // Create the labels for the menu\n Label nameLabel = new Label(\"Name:\");\n Label weightLabel = new Label(\"Weight (g):\");\n Label turnRadiusLabel = new Label(\"Turn Radius (m):\");\n Label maxInclineLabel = new Label(\"Max incline angle (deg):\");\n Label batteryLabel = new Label(\"Battery Type:\");\n Label batteryCapacityLabel = new Label(\"Battery Capacity (mAh):\");\n\n name.setPromptText(\"Name of craft\");\n weight.setPromptText(\"Weight of craft\");\n turnRadius.setPromptText(\"Min turn radius of craft\");\n maxIncline.setPromptText(\"Max incline/decline angle\");\n battery.setPromptText(\"Battery used in craft (Lipo, NiMH, Li-ion...)\");\n batteryCapacity.setPromptText(\"Battery capacity in mAh\");\n\n // Create the buttons for the menu\n Button save = new Button(\"Save\");\n Button cancel = new Button(\"Cancel\");\n Button clear = new Button(\"Clear\");\n\n // Add all elements to the menu gridpane\n gp.add(title,0,0);\n\n // Add the components to the menu gridpane\n gp.add(nameLabel,0,1);\n gp.add(weightLabel,0,2);\n gp.add(turnRadiusLabel,0,3);\n gp.add(maxInclineLabel,0,4);\n gp.add(batteryLabel,0,5);\n gp.add(batteryCapacityLabel,0,6);\n\n gp.add(name,1,1);\n gp.add(weight,1,2);\n gp.add(turnRadius,1,3);\n gp.add(maxIncline,1,4);\n gp.add(battery,1,5);\n gp.add(batteryCapacity,1,6);\n\n // Add the buttons to the menu\n gp.add(save,0,7);\n gp.add(cancel,2,7);\n gp.add(clear,1,7);\n\n gp.setHgap(10);\n gp.setVgap(20);\n gp.setAlignment(Pos.CENTER);\n\n // If the save button is pressed\n save.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n // If a name has not been set\n if(name.getText().isEmpty()){\n System.out.println(\"Missing name for UAV\");\n }else {\n File file = new File(\"src/uavs/\"+name.getText()+\".uav\");\n if(file.exists()){\n dialogMessage.setText(\"The filename \"+ name.getText() +\n \".uav already exists in \"+path+\".\\n Would you like to overwrite?\");\n dialog.show();\n }else {\n writeUAV(); // Write the UAV settings\n createStage.close();\n }\n }\n }\n });\n\n // Close the menu\n cancel.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n createStage.close();\n }\n });\n\n // Clear all text fields\n clear.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n name.clear();\n weight.clear();\n turnRadius.clear();\n maxIncline.clear();\n battery.clear();\n batteryCapacity.clear();\n }\n });\n\n createScene = new Scene(gp,500,700);\n createScene.setUserAgentStylesheet(\"style/menus.css\"); // Set the style of the menu\n createStage.setScene(createScene);\n createStage.show();\n }",
"private void createComponents() {\r\n // create a title\r\n indexTitle = new JLabel(\"Indexing\");\r\n indexTitle.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\r\n\r\n dirUrl = new JTextField();\r\n dirUrl.setColumns(70);\r\n dirUrl.setEditable(false);\r\n\r\n openDir = new JButton(\"Open Dir\");\r\n fileChooser = new JFileChooser();\r\n\r\n startIndexing = new JButton(\"Start\");\r\n startIndexing.setPreferredSize(new Dimension(95, 22));\r\n\r\n indexProgress = new JProgressBar();\r\n //progressBar.setStringPainted(true);\r\n // progressBar.setString(\"Indexing State..\");\r\n\r\n addExistingCheck = new JCheckBox();\r\n }",
"private void $$$setupUI$$$() {\n createUIComponents();\n overCounterForm = new JPanel();\n overCounterForm.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(16, 2, new Insets(30, 30, 30, 30), -1, -1));\n overCounterForm.setMinimumSize(new Dimension(450, 650));\n overCounterForm.setPreferredSize(new Dimension(450, 650));\n final com.intellij.uiDesigner.core.Spacer spacer1 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer1, new com.intellij.uiDesigner.core.GridConstraints(0, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n medicineicon.setHorizontalAlignment(10);\n medicineicon.setText(\"\");\n overCounterForm.add(medicineicon, new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 2, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer2 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer2, new com.intellij.uiDesigner.core.GridConstraints(2, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer3 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer3, new com.intellij.uiDesigner.core.GridConstraints(12, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n label1.setHorizontalAlignment(10);\n label1.setText(\"Check Over-The-Counter Medication\");\n overCounterForm.add(label1, new com.intellij.uiDesigner.core.GridConstraints(3, 0, 1, 2, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer4 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer4, new com.intellij.uiDesigner.core.GridConstraints(14, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n prescriptionNameTextField = new JTextField();\n prescriptionNameTextField.setHorizontalAlignment(0);\n prescriptionNameTextField.setMargin(new Insets(5, 5, 5, 5));\n prescriptionNameTextField.setText(\"Prescription Name\");\n overCounterForm.add(prescriptionNameTextField, new com.intellij.uiDesigner.core.GridConstraints(7, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n enterMedicationDetailsManuallyButton = new JButton();\n enterMedicationDetailsManuallyButton.setMargin(new Insets(5, 14, 5, 14));\n enterMedicationDetailsManuallyButton.setText(\"Enter Medication Details Manually\");\n enterMedicationDetailsManuallyButton.setToolTipText(\"Brings up a form where you can fill up the details for the over-the-counter medication manually.\");\n overCounterForm.add(enterMedicationDetailsManuallyButton, new com.intellij.uiDesigner.core.GridConstraints(13, 0, 1, 2, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer5 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer5, new com.intellij.uiDesigner.core.GridConstraints(6, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer6 = new com.intellij.uiDesigner.core.Spacer();\n overCounterForm.add(spacer6, new com.intellij.uiDesigner.core.GridConstraints(4, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final JLabel label2 = new JLabel();\n label2.setEnabled(false);\n label2.setHorizontalAlignment(0);\n label2.setHorizontalTextPosition(0);\n label2.setText(\"Please provide the following information:\");\n overCounterForm.add(label2, new com.intellij.uiDesigner.core.GridConstraints(5, 0, 1, 2, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"Name of prescription\");\n overCounterForm.add(label3, new com.intellij.uiDesigner.core.GridConstraints(7, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label4 = new JLabel();\n label4.setText(\"Barcode value\");\n overCounterForm.add(label4, new com.intellij.uiDesigner.core.GridConstraints(8, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n a13DigitsFormattedTextField = new JFormattedTextField();\n a13DigitsFormattedTextField.setHorizontalAlignment(0);\n a13DigitsFormattedTextField.setMargin(new Insets(5, 5, 5, 5));\n a13DigitsFormattedTextField.setText(\"13 digits\");\n overCounterForm.add(a13DigitsFormattedTextField, new com.intellij.uiDesigner.core.GridConstraints(8, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n manufacturerNameFormattedTextField = new JFormattedTextField();\n manufacturerNameFormattedTextField.setHorizontalAlignment(0);\n manufacturerNameFormattedTextField.setMargin(new Insets(5, 5, 5, 5));\n manufacturerNameFormattedTextField.setText(\"Manufacturer Name\");\n overCounterForm.add(manufacturerNameFormattedTextField, new com.intellij.uiDesigner.core.GridConstraints(9, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n formattedTextField3 = new JFormattedTextField();\n formattedTextField3.setMargin(new Insets(5, 5, 5, 5));\n overCounterForm.add(formattedTextField3, new com.intellij.uiDesigner.core.GridConstraints(10, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n numberOfTabletsInFormattedTextField = new JFormattedTextField();\n numberOfTabletsInFormattedTextField.setHorizontalAlignment(0);\n numberOfTabletsInFormattedTextField.setMargin(new Insets(5, 5, 5, 5));\n numberOfTabletsInFormattedTextField.setText(\"Number of tablets in packet\");\n overCounterForm.add(numberOfTabletsInFormattedTextField, new com.intellij.uiDesigner.core.GridConstraints(11, 1, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));\n final JLabel label5 = new JLabel();\n label5.setText(\"Name of manufacturer\");\n overCounterForm.add(label5, new com.intellij.uiDesigner.core.GridConstraints(9, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label6 = new JLabel();\n label6.setText(\"Prescription strength\");\n overCounterForm.add(label6, new com.intellij.uiDesigner.core.GridConstraints(10, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label7 = new JLabel();\n label7.setText(\"Tablets in packet\");\n overCounterForm.add(label7, new com.intellij.uiDesigner.core.GridConstraints(11, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n cancelButton = new JButton();\n cancelButton.setMargin(new Insets(5, 14, 5, 14));\n cancelButton.setText(\"Cancel\");\n overCounterForm.add(cancelButton, new com.intellij.uiDesigner.core.GridConstraints(15, 0, 1, 2, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jSeparator1 = new javax.swing.JSeparator();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n p1 = new javax.swing.JProgressBar();\n jLabel5 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n t1 = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n SAVE = new javax.swing.JButton();\n history = new javax.swing.JButton();\n jLabel7 = new javax.swing.JLabel();\n t2 = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n t3 = new javax.swing.JTextField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setMaximumSize(new java.awt.Dimension(558, 612));\n setMinimumSize(new java.awt.Dimension(558, 612));\n setResizable(false);\n getContentPane().setLayout(null);\n\n jLabel1.setFont(new java.awt.Font(\"Times New Roman\", 0, 14)); // NOI18N\n jLabel1.setText(\"WEIGHT\");\n getContentPane().add(jLabel1);\n jLabel1.setBounds(430, 110, 70, 17);\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 0, 36)); // NOI18N\n jLabel2.setText(\"ARE YOU FIT ?\");\n getContentPane().add(jLabel2);\n jLabel2.setBounds(160, 10, 260, 42);\n getContentPane().add(jSeparator1);\n jSeparator1.setBounds(90, 60, 380, 60);\n\n jLabel3.setFont(new java.awt.Font(\"Times New Roman\", 0, 14)); // NOI18N\n jLabel3.setText(\"NAME\");\n getContentPane().add(jLabel3);\n jLabel3.setBounds(70, 110, 50, 17);\n\n jLabel4.setFont(new java.awt.Font(\"Times New Roman\", 0, 14)); // NOI18N\n jLabel4.setText(\"FITNESS METER\");\n getContentPane().add(jLabel4);\n jLabel4.setBounds(230, 410, 120, 20);\n getContentPane().add(p1);\n p1.setBounds(50, 360, 450, 40);\n\n jLabel5.setFont(new java.awt.Font(\"Times New Roman\", 0, 14)); // NOI18N\n jLabel5.setText(\"HEIGHT\");\n getContentPane().add(jLabel5);\n jLabel5.setBounds(250, 110, 50, 17);\n\n jButton1.setText(\"CHECK\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton1);\n jButton1.setBounds(210, 210, 140, 50);\n getContentPane().add(t1);\n t1.setBounds(50, 140, 90, 40);\n\n jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/xpertos/images/left-angle-bracket (1).png\"))); // NOI18N\n jLabel6.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jLabel6MouseClicked(evt);\n }\n public void mousePressed(java.awt.event.MouseEvent evt) {\n jLabel6MousePressed(evt);\n }\n });\n getContentPane().add(jLabel6);\n jLabel6.setBounds(390, 500, 32, 32);\n\n SAVE.setText(\"SAVE\");\n SAVE.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n SAVEActionPerformed(evt);\n }\n });\n getContentPane().add(SAVE);\n SAVE.setBounds(50, 450, 90, 30);\n\n history.setText(\"HISTORY\");\n history.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n historyActionPerformed(evt);\n }\n });\n getContentPane().add(history);\n history.setBounds(410, 450, 100, 30);\n\n jLabel7.setText(\"FEET\");\n getContentPane().add(jLabel7);\n jLabel7.setBounds(290, 150, 34, 14);\n getContentPane().add(t2);\n t2.setBounds(220, 140, 110, 40);\n\n jLabel8.setText(\"KG\");\n getContentPane().add(jLabel8);\n jLabel8.setBounds(480, 150, 34, 14);\n\n t3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n t3ActionPerformed(evt);\n }\n });\n getContentPane().add(t3);\n t3.setBounds(410, 140, 100, 40);\n\n pack();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"private static void createAndShowGUI() {\n Font f = new Font(\"微软雅黑\", 0, 12);\n String names[] = {\"Label\", \"CheckBox\", \"PopupMenu\", \"MenuItem\", \"CheckBoxMenuItem\",\n \"JRadioButtonMenuItem\", \"ComboBox\", \"Button\", \"Tree\", \"ScrollPane\",\n \"TabbedPane\", \"EditorPane\", \"TitledBorder\", \"Menu\", \"TextArea\",\n \"OptionPane\", \"MenuBar\", \"ToolBar\", \"ToggleButton\", \"ToolTip\",\n \"ProgressBar\", \"TableHeader\", \"Panel\", \"List\", \"ColorChooser\",\n \"PasswordField\", \"TextField\", \"Table\", \"Label\", \"Viewport\",\n \"RadioButtonMenuItem\", \"RadioButton\", \"DesktopPane\", \"InternalFrame\"\n };\n for (String item : names) {\n UIManager.put(item + \".font\", f);\n }\n //Create and set up the window.\n JFrame frame = new JFrame(\"AutoCapturePackagesTool\");\n\n String src = \"/optimizationprogram/GUICode/u5.png\";\n Image image = null;\n try {\n image = ImageIO.read(new CaptureGUI().getClass().getResource(src));\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n frame.setIconImage(image);\n //frame.setIconImage(Toolkit.getDefaultToolkit().getImage(src));\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setResizable(false);\n frame.setLocation(Toolkit.getDefaultToolkit().getScreenSize().width / 2 - 520 / 2,\n Toolkit.getDefaultToolkit().getScreenSize().height / 2 - 420 / 2);\n frame.getContentPane().add(new CaptureGUI());\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }",
"public GUIRegistrationRest() {\n initComponents();\n setLocationRelativeTo(null);\n initIcons();\n }",
"public void createPartControl(Composite parent) {\n \n \t\tgetImages();\n \n \t\ttoolkit = new FormToolkit(parent.getDisplay());\n \t\tform = toolkit.createScrolledForm(parent);\n \t\tform.addListener(SWT.Resize, new Listener() {\n \t\t\tpublic void handleEvent(Event e) {\n \t\t\t\tform.setRedraw(false);\n \t\t\t\tform.reflow(true);\n \t\t\t\tform.layout(true, true);\n \t\t\t\tform.setRedraw(true);\n \t\t\t}\n \t\t});\n \t\tGridLayout layout = new GridLayout(2, false);\n \t\tlayout.verticalSpacing = 1;\n \t\tform.getBody().setLayout(layout);\n \n \t\tcreateURLAndToolbar();\n \n \t\tSashForm sashForm = new SashForm(form.getBody(), SWT.NONE);\n \t\tsashForm.setOrientation(SWT.HORIZONTAL);\n \t\ttoolkit.adapt(sashForm);\n \t\tGridLayout sashLayout = new GridLayout(2, false);\n \t\tsashForm.setLayout(sashLayout);\n \t\tGridData gd3 = new GridData(SWT.FILL, SWT.FILL, true, true);\n \t\tgd3.horizontalSpan = 2;\n \t\tgd3.widthHint = 1;\n \t\tsashForm.setLayoutData(gd3);\n \n \t\tcreateRequestSide(sashForm);\n \n \t\tcreateResponseSide(sashForm);\n \n \t\ttoolkit.paintBordersFor(form);\n \t\tform.reflow(true);\n \n \t\tmethodCombo.setText(JAX_WS);\n \t\tsetControlsForWSType(getCurrentTestType());\n \t\tsetControlsForMethodType(methodCombo.getText());\n \t\tsetControlsForSelectedURL();\n \t\tsetMenusForCurrentState();\n \t}",
"protected void createContents() {\n\t\tsetText(\"Account Settings\");\n\t\tsetSize(450, 225);\n\n\t}",
"private void createUserInterface()\n {\n // get content pane for attaching GUI components\n Container contentPane = getContentPane();\n\n // enable explicit positioning of GUI components \n contentPane.setLayout( null );\n\n // set up itemsSoldJLabel\n itemsSoldJLabel = new JLabel();\n itemsSoldJLabel.setBounds( 20, 20, 130, 20 );\n itemsSoldJLabel.setText( \"Number of items sold:\" );\n contentPane.add( itemsSoldJLabel );\n\n // set up itemsSoldJTextField\n itemsSoldJTextField = new JTextField();\n itemsSoldJTextField.setBounds( 170, 20, 90, 20 );\n itemsSoldJTextField.setHorizontalAlignment( JTextField.RIGHT );\n contentPane.add( itemsSoldJTextField );\n\n // set up priceJLabel\n priceJLabel = new JLabel();\n priceJLabel.setBounds( 20, 55, 130, 20 );\n priceJLabel.setText( \"Price of items:\" );\n contentPane.add( priceJLabel );\n\n // set up priceJTextField\n priceJTextField = new JTextField();\n priceJTextField.setBounds( 170, 55, 90, 20 );\n priceJTextField.setHorizontalAlignment( JTextField.RIGHT );\n contentPane.add( priceJTextField );\n\n // set up grossSalesJLabel\n grossSalesJLabel = new JLabel();\n grossSalesJLabel.setBounds( 20, 90, 80, 20 );\n grossSalesJLabel.setText( \"Gross sales:\" );\n contentPane.add( grossSalesJLabel );\n\n // set up grossSalesJTextField\n grossSalesJTextField = new JTextField();\n grossSalesJTextField.setBounds( 170, 90, 90, 20 );\n grossSalesJTextField.setEditable( false );\n grossSalesJTextField.setHorizontalAlignment( \n JTextField.RIGHT );\n contentPane.add( grossSalesJTextField );\n\n // set up commissionJLabel\n commissionJLabel = new JLabel();\n commissionJLabel.setBounds( 20, 130, 110, 20 );\n commissionJLabel.setText( \"Commission (%):\" );\n contentPane.add( commissionJLabel );\n\n // set up commissionJSpinner\n commissionJSpinner = new JSpinner( \n new SpinnerNumberModel( 1, 1, 10, 1 ) );\n commissionJSpinner.setBounds( 170, 130, 90, 20 );\n contentPane.add( commissionJSpinner );\n commissionJSpinner.addChangeListener(\n\n new ChangeListener() // anonymous inner class\n {\n // event handler called when value in \n // commissionJSpinner changes\n public void stateChanged( ChangeEvent event )\n {\n \n }\n\n } // end anonymous inner class\n\n ); // end call to addChangeListener\n \n // set up earningsJLabel\n earningsJLabel = new JLabel();\n earningsJLabel.setBounds( 20, 170, 90, 20 );\n earningsJLabel.setText( \"Earnings:\" );\n contentPane.add( earningsJLabel );\n \n // set up earningsJTextField\n earningsJTextField = new JTextField();\n earningsJTextField.setBounds( 170, 170, 90, 20 );\n earningsJTextField.setEditable( false );\n earningsJTextField.setHorizontalAlignment( JTextField.RIGHT );\n contentPane.add( earningsJTextField );\n\n // set up calculateJButton\n calculateJButton = new JButton();\n calculateJButton.setBounds( 170, 205, 90, 25 );\n calculateJButton.setText( \"Calculate\" );\n contentPane.add( calculateJButton );\n calculateJButton.addActionListener(\n\n new ActionListener() // anonymous inner class\n {\n // event handler called when calculateJButton is pressed\n public void actionPerformed( ActionEvent event )\n {\n \n }\n\n } // end anonymous inner class\n\n ); // end call to addActionListener\n\n // set properties of application's window\n setTitle( \"Sales Commission Calculator\" ); // set window title\n setSize( 285, 285 ); // set window size\n setVisible( true ); // show window\n\n }",
"public Form(){\n\t\ttypeOfLicenseApp = new TypeOfLicencsApplication();\n\t\toccupationalTrainingList = new ArrayList<OccupationalTraining>();\n\t\taffiadavit = new Affidavit();\n\t\tapplicationForReciprocity = new ApplicationForReciprocity();\n\t\teducationBackground = new EducationBackground();\n\t\toccupationalLicenses = new OccupationalLicenses();\n\t\tofficeUseOnlyInfo = new OfficeUseOnlyInfo();\n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n manageParkingReqJBtn = new javax.swing.JButton();\n manageAccJBtn = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n nameTxtField = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n\n setBackground(new java.awt.Color(255, 255, 255));\n setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n jLabel1.setText(\"Parking Work Area\");\n add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(235, 11, -1, -1));\n\n manageParkingReqJBtn.setText(\"Manage Parking Requests\");\n manageParkingReqJBtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n manageParkingReqJBtnActionPerformed(evt);\n }\n });\n add(manageParkingReqJBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 58, -1, -1));\n\n manageAccJBtn.setText(\"Manage Accounts\");\n manageAccJBtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n manageAccJBtnActionPerformed(evt);\n }\n });\n add(manageAccJBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 119, 157, -1));\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel4.setText(\"Welcome !\");\n add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(12, 11, -1, -1));\n add(nameTxtField, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 15, 106, -1));\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Pics/backedintoparking-1a.jpg\"))); // NOI18N\n add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 110, -1, 550));\n }",
"private void createContents() {\r\n\t\tshlAjouterNouvelleEquation = new Shell(getParent(), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);\r\n\t\tshlAjouterNouvelleEquation.setSize(363, 334);\r\n\t\tif(modification)\r\n\t\t\tshlAjouterNouvelleEquation.setText(\"Modifier Equation\");\r\n\t\telse\r\n\t\t\tshlAjouterNouvelleEquation.setText(\"Ajouter Nouvelle Equation\");\r\n\t\tshlAjouterNouvelleEquation.setLayout(new FormLayout());\r\n\r\n\r\n\t\tLabel lblContenuEquation = new Label(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_lblContenuEquation = new FormData();\r\n\t\tfd_lblContenuEquation.top = new FormAttachment(0, 5);\r\n\t\tfd_lblContenuEquation.left = new FormAttachment(0, 5);\r\n\t\tlblContenuEquation.setLayoutData(fd_lblContenuEquation);\r\n\t\tlblContenuEquation.setText(\"Contenu Equation\");\r\n\r\n\r\n\t\tcontrainteButton = new Button(shlAjouterNouvelleEquation, SWT.CHECK);\r\n\t\tFormData fd_btnContrainte = new FormData();\r\n\t\tfd_btnContrainte.top = new FormAttachment(0, 27);\r\n\t\tfd_btnContrainte.right = new FormAttachment(100, -10);\r\n\t\tcontrainteButton.setLayoutData(fd_btnContrainte);\r\n\t\tcontrainteButton.setText(\"Contrainte\");\r\n\r\n\t\torientationButton = new Button(shlAjouterNouvelleEquation, SWT.CHECK);\r\n\t\tFormData fd_btnOrinet = new FormData();\r\n\t\tfd_btnOrinet.top = new FormAttachment(0, 27);\r\n\t\tfd_btnOrinet.right = new FormAttachment(contrainteButton, -10);\r\n\r\n\t\torientationButton.setLayoutData(fd_btnOrinet);\r\n\t\t\r\n\t\torientationButton.setText(\"Orient\\u00E9\");\r\n\r\n\t\tcontenuEquation = new Text(shlAjouterNouvelleEquation, SWT.BORDER|SWT.SINGLE);\r\n\t\tFormData fd_text = new FormData();\r\n\t\tfd_text.right = new FormAttachment(orientationButton, -10, SWT.LEFT);\r\n\t\tfd_text.top = new FormAttachment(0, 25);\r\n\t\tfd_text.left = new FormAttachment(0, 5);\r\n\t\tcontenuEquation.setLayoutData(fd_text);\r\n\r\n\t\tcontenuEquation.addListener(SWT.FocusOut, out->{\r\n\t\t\tSystem.out.println(\"Making list...\");\r\n\t\t\ttry {\r\n\t\t\t\tequation.getListeDeParametresEqn_DYNAMIC();\r\n\t\t\t\tif(!btnTerminer.isDisposed()){\r\n\t\t\t\t\tif(!btnTerminer.getEnabled())\r\n\t\t\t\t\t\t btnTerminer.setEnabled(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e1) {\r\n\t\t\t\tthis.showError(shlAjouterNouvelleEquation, e1.toString());\r\n\t\t\t\t btnTerminer.setEnabled(false);\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\t\r\n\t\t});\r\n\r\n\t\tLabel lblNewLabel = new Label(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_lblNewLabel = new FormData();\r\n\t\tfd_lblNewLabel.top = new FormAttachment(0, 51);\r\n\t\tfd_lblNewLabel.left = new FormAttachment(0, 5);\r\n\t\tlblNewLabel.setLayoutData(fd_lblNewLabel);\r\n\t\tlblNewLabel.setText(\"Param\\u00E8tre de Sortie\");\r\n\r\n\t\tparametreDeSortieCombo = new Combo(shlAjouterNouvelleEquation, SWT.DROP_DOWN |SWT.READ_ONLY);\r\n\t\tparametreDeSortieCombo.setEnabled(false);\r\n\r\n\t\tFormData fd_combo = new FormData();\r\n\t\tfd_combo.top = new FormAttachment(0, 71);\r\n\t\tfd_combo.left = new FormAttachment(0, 5);\r\n\t\tparametreDeSortieCombo.setLayoutData(fd_combo);\r\n\t\tparametreDeSortieCombo.addListener(SWT.FocusIn, in->{\r\n\t\t\tparametreDeSortieCombo.setItems(makeItems.apply(equation.getListeDeParametresEqn()));\r\n\t\t\tparametreDeSortieCombo.pack();\r\n\t\t\tparametreDeSortieCombo.update();\r\n\t\t});\r\n\r\n\t\tSashForm sashForm = new SashForm(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_sashForm = new FormData();\r\n\t\tfd_sashForm.top = new FormAttachment(parametreDeSortieCombo, 6);\r\n\t\tfd_sashForm.bottom = new FormAttachment(100, -50);\r\n\t\tfd_sashForm.right = new FormAttachment(100);\r\n\t\tfd_sashForm.left = new FormAttachment(0, 5);\r\n\t\tsashForm.setLayoutData(fd_sashForm);\r\n\r\n\r\n\r\n\r\n\t\tGroup propertiesGroup = new Group(sashForm, SWT.NONE);\r\n\t\tpropertiesGroup.setLayout(new FormLayout());\r\n\r\n\t\tpropertiesGroup.setText(\"Propri\\u00E9t\\u00E9s\");\r\n\t\tFormData fd_propertiesGroup = new FormData();\r\n\t\tfd_propertiesGroup.top = new FormAttachment(0);\r\n\t\tfd_propertiesGroup.left = new FormAttachment(0);\r\n\t\tfd_propertiesGroup.bottom = new FormAttachment(100, 0);\r\n\t\tfd_propertiesGroup.right = new FormAttachment(100, 0);\r\n\t\tpropertiesGroup.setLayoutData(fd_propertiesGroup);\r\n\r\n\r\n\r\n\r\n\r\n\t\tproperties = new Text(propertiesGroup, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL);\r\n\t\tFormData fd_grouptext = new FormData();\r\n\t\tfd_grouptext.top = new FormAttachment(0,0);\r\n\t\tfd_grouptext.left = new FormAttachment(0, 0);\r\n\t\tfd_grouptext.bottom = new FormAttachment(100, 0);\r\n\t\tfd_grouptext.right = new FormAttachment(100, 0);\r\n\t\tproperties.setLayoutData(fd_grouptext);\r\n\r\n\r\n\r\n\t\tGroup grpDescription = new Group(sashForm, SWT.NONE);\r\n\t\tgrpDescription.setText(\"Description\");\r\n\t\tgrpDescription.setLayout(new FormLayout());\r\n\t\tFormData fd_grpDescription = new FormData();\r\n\t\tfd_grpDescription.bottom = new FormAttachment(100, 0);\r\n\t\tfd_grpDescription.right = new FormAttachment(100,0);\r\n\t\tfd_grpDescription.top = new FormAttachment(0);\r\n\t\tfd_grpDescription.left = new FormAttachment(0);\r\n\t\tgrpDescription.setLayoutData(fd_grpDescription);\r\n\r\n\t\tdescription = new Text(grpDescription, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);\r\n\t\tdescription.setParent(grpDescription);\r\n\r\n\t\tFormData fd_description = new FormData();\r\n\t\tfd_description.top = new FormAttachment(0,0);\r\n\t\tfd_description.left = new FormAttachment(0, 0);\r\n\t\tfd_description.bottom = new FormAttachment(100, 0);\r\n\t\tfd_description.right = new FormAttachment(100, 0);\r\n\r\n\t\tdescription.setLayoutData(fd_description);\r\n\r\n\r\n\t\tsashForm.setWeights(new int[] {50,50});\r\n\r\n\t\tbtnTerminer = new Button(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tbtnTerminer.setEnabled(false);\r\n\t\tFormData fd_btnTerminer = new FormData();\r\n\t\tfd_btnTerminer.top = new FormAttachment(sashForm, 6);\r\n\t\tfd_btnTerminer.left = new FormAttachment(sashForm,0, SWT.CENTER);\r\n\t\tbtnTerminer.setLayoutData(fd_btnTerminer);\r\n\t\tbtnTerminer.setText(\"Terminer\");\r\n\t\tbtnTerminer.addListener(SWT.Selection, e->{\r\n\t\t\t\r\n\t\t\tboolean go = true;\r\n\t\t\tresult = null;\r\n\t\t\tif (status.equals(ValidationStatus.ok())) {\r\n\t\t\t\t//perform all the neccessary tests before validating the equation\t\t\t\t\t\r\n\t\t\t\tif(equation.isOriented()){\r\n\t\t\t\t\tif(!equation.getListeDeParametresEqn().contains(equation.getParametreDeSortie()) || equation.getParametreDeSortie() == null){\t\t\t\t\t\t\r\n\t\t\t\t\t\tString error = \"Erreur sur l'équation \"+equation.getContenuEqn();\r\n\t\t\t\t\t\tgo = false;\r\n\t\t\t\t\t\tshowError(shlAjouterNouvelleEquation, error);\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (go) {\r\n\t\t\t\t\t\tresult = Boolean.TRUE;\r\n\t\t\t\t\t\tshlAjouterNouvelleEquation.dispose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tequation.setParametreDeSortie(null);\r\n\t\t\t\t\tresult = Boolean.TRUE;\r\n\t\t\t\t\t//Just some cleanup\r\n\t\t\t\t\tfor (Parametre par : equation.getListeDeParametresEqn()) {\r\n\t\t\t\t\t\tif (par.getTypeP().equals(TypeParametre.OUTPUT)) {\t\t\t\t\t\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tpar.setTypeP(TypeParametre.UNDETERMINED);\r\n\t\t\t\t\t\t\t\tpar.setSousTypeP(SousTypeParametre.FREE);\r\n\t\t\t\t\t\t\t} catch (Exception e1) {\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tshlAjouterNouvelleEquation.dispose();\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t//\tSystem.out.println(equation.getContenuEqn() +\"\\n\"+equation.isConstraint()+\"\\n\"+equation.isOriented()+\"\\n\"+equation.getParametreDeSortie());\r\n\t\t});\r\n\r\n\t\t//In this sub routine I bind the values to the respective controls in order to observe changes \r\n\t\t//and verify the data insertion\r\n\t\tbindValues();\r\n\t}",
"@Override\n\tpublic void create(CreateCoinForm form) throws Exception {\n\t}",
"protected void createComponents() {\n sampleText = new JTextField(20);\n displayArea = new JLabel(\"\");\n displayArea.setPreferredSize(new Dimension(200, 75));\n displayArea.setMinimumSize(new Dimension(200, 75));\n }",
"public BonusGUI createBonusGUI() {\n\t\tBonusGUI gui = new BonusGUI(gameView.getMainPanel(), bonusController);\n\t\t\n\t\t//Give bonus controller the reference to the bonus GUI\n\t\tbonusController.setBonusGUIView(gui);\n\t\treturn gui;\n\t}",
"protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }",
"public void credito() \n {\n LabelCredito.removeAll();\n int witdh = LabelCredito.getWidth();\n int height = LabelCredito.getHeight();\n LabelCredito.setLayout(new BorderLayout());\n titulo.setPreferredSize(new Dimension(witdh, height));\n LabelCredito.add(\"Center\", titulo);\n LabelCredito.updateUI();\n LabelCredito.validate();\n }",
"protected void createContents() {\n\t\tshlFaststone = new Shell();\n\t\tshlFaststone.setImage(SWTResourceManager.getImage(Edit.class, \"/image/all1.png\"));\n\t\tshlFaststone.setToolTipText(\"\");\n\t\tshlFaststone.setSize(944, 479);\n\t\tshlFaststone.setText(\"kaca\");\n\t\tshlFaststone.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tComposite composite = new Composite(shlFaststone, SWT.NONE);\n\t\tcomposite.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tSashForm sashForm = new SashForm(composite, SWT.VERTICAL);\n\t\t//\n\t\tMenu menu = new Menu(shlFaststone, SWT.BAR);\n\t\tshlFaststone.setMenuBar(menu);\n\t\tMenuItem menuItem = new MenuItem(menu, SWT.CASCADE);\n\t\tmenuItem.setSelection(true);\n\t\tmenuItem.setText(\"\\u6587\\u4EF6\");\n\t\t\n\t\tMenu menu_1 = new Menu(menuItem);\n\t\tmenuItem.setMenu(menu_1);\n\t\t\n\t\tfinal Canvas down=new Canvas(shlFaststone,SWT.NONE|SWT.BORDER|SWT.DOUBLE_BUFFERED);\n\t\t\n\t\tComposite composite_4 = new Composite(sashForm, SWT.BORDER);\n\t\tcomposite_4.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tSashForm sashForm_3 = new SashForm(composite_4, SWT.NONE);\n\t\tformToolkit.adapt(sashForm_3);\n\t\tformToolkit.paintBordersFor(sashForm_3);\n\t\t\n\t\tToolBar toolBar = new ToolBar(sashForm_3, SWT.BORDER | SWT.FLAT | SWT.WRAP | SWT.RIGHT);\n\t\ttoolBar.setToolTipText(\"\");\n\t\t\n\t\tToolItem toolItem_6 = new ToolItem(toolBar, SWT.NONE);\n\t\ttoolItem_6.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tmntmNewItem_2.notifyListeners(SWT.Selection,event1);\n\n\t\t\t}\n\t\t});\n\t\ttoolItem_6.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6253\\u5F00.jpg\"));\n\t\ttoolItem_6.setText(\"\\u6253\\u5F00\");\n\t\t\n\t\tToolItem tltmNewItem = new ToolItem(toolBar, SWT.NONE);\n\t\t\n\t\t\n\t\ttltmNewItem.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t\n\n\t\t\t}\n\t\t});\n\t\t//\n\t\t\n\t\ttltmNewItem.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u53E6\\u5B58\\u4E3A.jpg\"));\n\t\ttltmNewItem.setText(\"\\u53E6\\u5B58\\u4E3A\");\n\t\t//关闭\n\t\tToolItem tltmNewItem_4 = new ToolItem(toolBar, SWT.NONE);\n\t\ttltmNewItem_4.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tmntmNewItem_5.notifyListeners(SWT.Selection, event2);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\ttltmNewItem_4.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7ED3\\u675F.jpg\"));\n\t\ttltmNewItem_4.setText(\"\\u5173\\u95ED\");\n\t\t\n\t\t\n\t\t\n\t\tToolItem tltmNewItem_1 = new ToolItem(toolBar, SWT.NONE);\n\t\ttltmNewItem_1.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\t//缩放\n\t\t\n\t\t\n\t\ttltmNewItem_1.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u653E\\u5927.jpg\"));\n\t\t\n\t\t//工具栏:放大\n\t\t\n\t\ttltmNewItem_1.setText(\"\\u653E\\u5927\");\n\t\t\n\t\tToolItem tltmNewItem_2 = new ToolItem(toolBar, SWT.NONE);\n\t\t\n\t\t//工具栏:缩小\n\t\ttltmNewItem_2.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\t\n\t\ttltmNewItem_2.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F29\\u5C0F.jpg\"));\n\t\ttltmNewItem_2.setText(\"\\u7F29\\u5C0F\");\n\t\tToolItem toolItem_5 = new ToolItem(toolBar, SWT.NONE);\n\t\ttoolItem_5.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tmntmNewItem_5.notifyListeners(SWT.Selection, event2);\n\n\t\t\t}\n\t\t});\n\t\ttoolItem_5.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7ED3\\u675F.jpg\"));\n\t\ttoolItem_5.setText(\"\\u9000\\u51FA\");\n\t\t\n\t\tToolBar toolBar_1 = new ToolBar(sashForm_3, SWT.BORDER | SWT.FLAT | SWT.RIGHT);\n\t\tformToolkit.adapt(toolBar_1);\n\t\tformToolkit.paintBordersFor(toolBar_1);\n\t\t\n\t\tToolItem toolItem_7 = new ToolItem(toolBar_1, SWT.NONE);\n\t\t\n\t\t//工具栏:标题\n\t\ttoolItem_7.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\t//\n\t\t\n\t\ttoolItem_7.setText(\"\\u6807\\u9898\");\n\t\ttoolItem_7.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6807\\u9898.jpg\"));\n\t\t\n\t\tToolItem toolItem_1 = new ToolItem(toolBar_1, SWT.NONE);\n\t\t\n\t\t//工具栏:调整大小\n\t\ttoolItem_1.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\t//\n\t\t\n\t\ttoolItem_1.setText(\"\\u8C03\\u6574\\u5927\\u5C0F\");\n\t\ttoolItem_1.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u8C03\\u6574\\u5927\\u5C0F.jpg\"));\n\t\t\n\t\tToolBar toolBar_2 = new ToolBar(sashForm_3, SWT.BORDER | SWT.FLAT | SWT.RIGHT);\n\t\ttoolBar_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_GRAY));\n\t\tformToolkit.adapt(toolBar_2);\n\t\tformToolkit.paintBordersFor(toolBar_2);\n\t\t\n\t\tToolItem toolItem_2 = new ToolItem(toolBar_2, SWT.NONE);\n\t\t\n\t\t//工具栏:裁剪\n\t\ttoolItem_2.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\t//\n\t\t\n\t\ttoolItem_2.setText(\"\\u88C1\\u526A\");\n\t\ttoolItem_2.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u88C1\\u526A.jpg\"));\n\t\t\n\t\tToolItem toolItem_3 = new ToolItem(toolBar_2, SWT.NONE);\n\t\t\n\t\t//工具栏:剪切\n\t\ttoolItem_3.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\t//\n\t\t\n\t\ttoolItem_3.setText(\"\\u526A\\u5207\");\n\t\ttoolItem_3.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u526A\\u5207.jpg\"));\n\t\t\n\t\tToolItem toolItem_4 = new ToolItem(toolBar_2, SWT.NONE);\n\t\t\n\n\t\t//工具栏:粘贴\n\t\ttoolItem_4.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t\tcomposite_3.layout();\n\t\t\t\tFile f=new File(\"src/picture/beauty.jpg\");\n\t\t\t\tImageData imageData;\n\t\t\t\ttry {\n\t\t\t\t\timageData = new ImageData( new FileInputStream( f));\n\t\t\t\t\tImage image=new Image(shlFaststone.getDisplay(),imageData);\n\t\t\t\t\tButton lblNewLabel_3 = null;\n\t\t\t\t\tlblNewLabel_3.setImage(image);\n\t\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\tcomposite_3.layout();\n\t\t\t}\n\t\t});\n\t\t//omposite;\n\t\t//\n\t\t\n\t\ttoolItem_4.setText(\"\\u590D\\u5236\");\n\t\ttoolItem_4.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u590D\\u5236.jpg\"));\n\t\t\n\t\tToolItem tltmNewItem_3 = new ToolItem(toolBar_2, SWT.NONE);\n\t\ttltmNewItem_3.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u7C98\\u8D34.jpg\"));\n\t\ttltmNewItem_3.setText(\"\\u7C98\\u8D34\");\n\t\tsashForm_3.setWeights(new int[] {486, 165, 267});\n\t\t\n\t\tComposite composite_1 = new Composite(sashForm, SWT.NONE);\n\t\tformToolkit.adapt(composite_1);\n\t\tformToolkit.paintBordersFor(composite_1);\n\t\tcomposite_1.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tSashForm sashForm_1 = new SashForm(composite_1, SWT.VERTICAL);\n\t\tformToolkit.adapt(sashForm_1);\n\t\tformToolkit.paintBordersFor(sashForm_1);\n\t\t\n\t\tComposite composite_2 = new Composite(sashForm_1, SWT.NONE);\n\t\tformToolkit.adapt(composite_2);\n\t\tformToolkit.paintBordersFor(composite_2);\n\t\tcomposite_2.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tTabFolder tabFolder = new TabFolder(composite_2, SWT.NONE);\n\t\ttabFolder.setTouchEnabled(true);\n\t\tformToolkit.adapt(tabFolder);\n\t\tformToolkit.paintBordersFor(tabFolder);\n\t\t\n\t\tTabItem tbtmNewItem = new TabItem(tabFolder, SWT.NONE);\n\t\ttbtmNewItem.setText(\"\\u65B0\\u5EFA\\u4E00\");\n\t\t\n\t\tTabItem tbtmNewItem_1 = new TabItem(tabFolder, SWT.NONE);\n\t\ttbtmNewItem_1.setText(\"\\u65B0\\u5EFA\\u4E8C\");\n\t\t\n\t\tTabItem tbtmNewItem_2 = new TabItem(tabFolder, SWT.NONE);\n\t\ttbtmNewItem_2.setText(\"\\u65B0\\u5EFA\\u4E09\");\n\t\t\n\t\tButton button = new Button(tabFolder, SWT.CHECK);\n\t\tbutton.setText(\"Check Button\");\n\t\t\n\t\tcomposite_3 = new Composite(sashForm_1, SWT.H_SCROLL | SWT.V_SCROLL);\n\t\t\n\t\tformToolkit.adapt(composite_3);\n\t\tformToolkit.paintBordersFor(composite_3);\n\t\tcomposite_3.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tLabel lblNewLabel_3 = new Label(composite_3, SWT.NONE);\n\t\tformToolkit.adapt(lblNewLabel_3, true, true);\n\t\tlblNewLabel_3.setText(\"\");\n\t\tsashForm_1.setWeights(new int[] {19, 323});\n\t\t\n\t\tComposite composite_5 = new Composite(sashForm, SWT.NONE);\n\t\tcomposite_5.setToolTipText(\"\");\n\t\tcomposite_5.setLayout(new FillLayout(SWT.HORIZONTAL));\n\t\t\n\t\tSashForm sashForm_2 = new SashForm(composite_5, SWT.NONE);\n\t\tformToolkit.adapt(sashForm_2);\n\t\tformToolkit.paintBordersFor(sashForm_2);\n\t\t\n\t\tLabel lblNewLabel = new Label(sashForm_2, SWT.BORDER | SWT.CENTER);\n\t\tformToolkit.adapt(lblNewLabel, true, true);\n\t\tlblNewLabel.setText(\"1/1\");\n\t\t\n\t\tLabel lblNewLabel_2 = new Label(sashForm_2, SWT.BORDER | SWT.CENTER);\n\t\tformToolkit.adapt(lblNewLabel_2, true, true);\n\t\tlblNewLabel_2.setText(\"\\u5927\\u5C0F\\uFF1A1366*728\");\n\t\t\n\t\tLabel lblNewLabel_1 = new Label(sashForm_2, SWT.CENTER);\n\t\tformToolkit.adapt(lblNewLabel_1, true, true);\n\t\tlblNewLabel_1.setText(\"\\u7F29\\u653E\\uFF1A100%\");\n\t\t\n\t\tLabel label = new Label(sashForm_2, SWT.NONE);\n\t\tlabel.setAlignment(SWT.RIGHT);\n\t\tformToolkit.adapt(label, true, true);\n\t\tlabel.setText(\"\\u5494\\u5693\\u5DE5\\u4F5C\\u5BA4\\u7248\\u6743\\u6240\\u6709\");\n\t\tsashForm_2.setWeights(new int[] {127, 141, 161, 490});\n\t\tsashForm.setWeights(new int[] {50, 346, 22});\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tMenuItem mntmNewItem = new MenuItem(menu_1, SWT.NONE);\n\t\tmntmNewItem.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6587\\u4EF6\\u5B50\\u56FE\\u6807/\\u6587\\u4EF6.\\u65B0\\u5EFA.jpg\"));\n\t\tmntmNewItem.setText(\"\\u65B0\\u5EFA\");\n\t\t\n\t\tmntmNewItem_2 = new MenuItem(menu_1, SWT.NONE);\n\t\tmntmNewItem_2.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t\t//Label lblNewLabel_3 = new Label(composite_1, SWT.NONE);\n\t\t\t\t//Canvas c=new Canvas(shlFaststone,SWT.BALLOON);\n\t\t\t\t\n\t\t\t\tFileDialog dialog = new FileDialog(shlFaststone,SWT.OPEN); \n\t\t\t\tdialog.setFilterPath(System.getProperty(\"user_home\"));//设置初始路径\n\t\t\t\tdialog.setFilterNames(new String[] {\"文本文档(*txt)\",\"所有文档\"}); \n\t\t\t\tdialog.setFilterExtensions(new String[]{\"*.exe\",\"*.xls\",\"*.*\"});\n\t\t\t\tString path=dialog.open();\n\t\t\t\tString s=null;\n\t\t\t\tFile f=null;\n\t\t\t\tif(path==null||\"\".equals(path)) {\n\t\t\t\t\treturn ;\n\t\t\t\t}\n\t\t\t\ttry{\n\t\t\t f=new File(path);\n\t\t\t\tbyte[] bs=Fileutil.readFile(f);\n\t\t\t s=new String(bs,\"UTF-8\");\n\t\t\t\t}catch (Exception e1) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\tMessageDialog.openError(shlFaststone, \"出错了\", \"打开\"+path+\"出错了\");\n\t\t\t\t\treturn ;\n\t\t\t\t}\n\t\t\t \n\t\t\t\ttext = new Text(composite_4, SWT.BORDER | SWT.WRAP\n\t\t\t\t\t\t| SWT.H_SCROLL | SWT.V_SCROLL | SWT.CANCEL\n\t\t\t\t\t\t| SWT.MULTI);\n\t\t\t\ttext.setText(s);\n\t\t\t\tcomposite_1.layout();\n\t\t\t\tshlFaststone.setText(shlFaststone.getText()+\"\\t\"+f.getName());\n\t\t\t\t\t\n\t\t\t\tFile f1=new File(path);\n\t\t\t\tImageData imageData;\n\t\t\t\ttry {\n\t\t\t\t\timageData = new ImageData( new FileInputStream( f1));\n\t\t\t\t\tImage image=new Image(shlFaststone.getDisplay(),imageData);\n\t\t\t\t\tlblNewLabel_3.setImage(image);\n\t\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t});\n\t\tmntmNewItem_2.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6587\\u4EF6\\u5B50\\u56FE\\u6807/\\u6587\\u4EF6.\\u6253\\u5F00.jpg\"));\n\t\tmntmNewItem_2.setText(\"\\u6253\\u5F00\");\n\t\t\n\t\tMenuItem mntmNewItem_1 = new MenuItem(menu_1, SWT.NONE);\n\t\tmntmNewItem_1.setText(\"\\u4ECE\\u526A\\u8D34\\u677F\\u5BFC\\u5165\");\n\t\t\n\t\tMenuItem mntmNewItem_3 = new MenuItem(menu_1, SWT.NONE);\n\t\tmntmNewItem_3.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6587\\u4EF6\\u5B50\\u56FE\\u6807/\\u6587\\u4EF6.\\u53E6\\u5B58\\u4E3A.jpg\"));\n\t\tmntmNewItem_3.setText(\"\\u53E6\\u5B58\\u4E3A\");\n\t\t\n\t\t mntmNewItem_5 = new MenuItem(menu_1, SWT.NONE);\n\t\tmntmNewItem_5.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t boolean result=MessageDialog.openConfirm(shlFaststone,\"退出\",\"是否确认退出\");\n\t\t\t\t if(result) {\n\t\t\t\t\t System.exit(0);\n\t\t\t\t }\n\n\t\t\t}\n\t\t});\n\t\tmntmNewItem_5.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6587\\u4EF6\\u5B50\\u56FE\\u6807/\\u6587\\u4EF6.\\u4FDD\\u5B58.jpg\"));\n\t\tmntmNewItem_5.setText(\"\\u5173\\u95ED\");\n\t\tevent2=new Event();\n\t\tevent2.widget=mntmNewItem_5;\n\n\t\t\n\t\tMenuItem mntmNewSubmenu = new MenuItem(menu, SWT.CASCADE);\n\t\tmntmNewSubmenu.setText(\"\\u6355\\u6349\");\n\t\t\n\t\tMenu menu_2 = new Menu(mntmNewSubmenu);\n\t\tmntmNewSubmenu.setMenu(menu_2);\n\t\t\n\t\tMenuItem mntmNewItem_6 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_6.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349\\u6D3B\\u52A8\\u7A97\\u53E3.jpg\"));\n\t\tmntmNewItem_6.setText(\"\\u6355\\u6349\\u6D3B\\u52A8\\u7A97\\u53E3\");\n\t\t\n\t\tMenuItem mntmNewItem_7 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_7.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.\\u6355\\u6349\\u7A97\\u53E3\\u6216\\u5BF9\\u8C61.jpg\"));\n\t\tmntmNewItem_7.setText(\"\\u6355\\u6349\\u7A97\\u53E3\\u5BF9\\u8C61\");\n\t\t\n\t\tMenuItem mntmNewItem_8 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_8.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.jpg\"));\n\t\tmntmNewItem_8.setText(\"\\u6355\\u6349\\u77E9\\u5F62\\u533A\\u57DF\");\n\t\t\n\t\tMenuItem mntmNewItem_9 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_9.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.\\u624B\\u7ED8\\u533A\\u57DF.jpg\"));\n\t\tmntmNewItem_9.setText(\"\\u6355\\u6349\\u624B\\u7ED8\\u533A\\u57DF\");\n\t\t\n\t\tMenuItem mntmNewItem_10 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_10.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.\\u6574\\u4E2A\\u5C4F\\u5E55.jpg\"));\n\t\tmntmNewItem_10.setText(\"\\u6355\\u6349\\u6574\\u4E2A\\u5C4F\\u5E55\");\n\t\t\n\t\tMenuItem mntmNewItem_11 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_11.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349\\u6EDA\\u52A8\\u7A97\\u53E3.jpg\"));\n\t\tmntmNewItem_11.setText(\"\\u6355\\u6349\\u6EDA\\u52A8\\u7A97\\u53E3\");\n\t\t\n\t\tMenuItem mntmNewItem_12 = new MenuItem(menu_2, SWT.NONE);\n\t\tmntmNewItem_12.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.\\u56FA\\u5B9A\\u5927\\u5C0F\\u533A\\u57DF.jpg\"));\n\t\tmntmNewItem_12.setText(\"\\u6355\\u6349\\u56FA\\u5B9A\\u5927\\u5C0F\\u533A\\u57DF\");\n\t\t\n\t\tMenuItem menuItem_1 = new MenuItem(menu_2, SWT.NONE);\n\t\tmenuItem_1.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u6355\\u6349/\\u6355\\u6349.\\u91CD\\u590D\\u4E0A\\u6B21\\u6355\\u6349.jpg\"));\n\t\tmenuItem_1.setText(\"\\u91CD\\u590D\\u4E0A\\u6B21\\u6355\\u6349\");\n\t\t\n\t\tMenuItem menuItem_2 = new MenuItem(menu, SWT.CASCADE);\n\t\tmenuItem_2.setText(\"\\u7F16\\u8F91\");\n\t\t\n\t\tMenu menu_3 = new Menu(menuItem_2);\n\t\tmenuItem_2.setMenu(menu_3);\n\t\t\n\t\tMenuItem mntmNewItem_14 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_14.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u5DE6\\u64A4\\u9500.jpg\"));\n\t\tmntmNewItem_14.setText(\"\\u64A4\\u9500\");\n\t\t\n\t\tMenuItem mntmNewItem_13 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_13.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u53F3\\u64A4\\u9500.jpg\"));\n\t\tmntmNewItem_13.setText(\"\\u91CD\\u505A\");\n\t\t\n\t\tMenuItem mntmNewItem_15 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_15.setText(\"\\u9009\\u62E9\\u5168\\u90E8\");\n\t\t\n\t\tMenuItem mntmNewItem_16 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_16.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u7F16\\u8F91.\\u88C1\\u526A.jpg\"));\n\t\tmntmNewItem_16.setText(\"\\u88C1\\u526A\");\n\t\t\n\t\tMenuItem mntmNewItem_17 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_17.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u526A\\u5207.jpg\"));\n\t\tmntmNewItem_17.setText(\"\\u526A\\u5207\");\n\t\t\n\t\tMenuItem mntmNewItem_18 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_18.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u590D\\u5236.jpg\"));\n\t\tmntmNewItem_18.setText(\"\\u590D\\u5236\");\n\t\t\n\t\tMenuItem menuItem_4 = new MenuItem(menu_3, SWT.NONE);\n\t\tmenuItem_4.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u7C98\\u8D34.jpg\"));\n\t\tmenuItem_4.setText(\"\\u7C98\\u8D34\");\n\t\t\n\t\tMenuItem mntmNewItem_19 = new MenuItem(menu_3, SWT.NONE);\n\t\tmntmNewItem_19.setText(\"\\u5220\\u9664\");\n\t\t\n\t\tMenuItem menuItem_3 = new MenuItem(menu, SWT.CASCADE);\n\t\tmenuItem_3.setText(\"\\u7279\\u6548\");\n\t\t\n\t\tMenu menu_4 = new Menu(menuItem_3);\n\t\tmenuItem_3.setMenu(menu_4);\n\t\t\n\t\tMenuItem mntmNewItem_20 = new MenuItem(menu_4, SWT.NONE);\n\t\tmntmNewItem_20.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7279\\u6548.\\u6C34\\u5370.jpg\"));\n\t\tmntmNewItem_20.setText(\"\\u6C34\\u5370\");\n\t\t\n\t\tPanelPic ppn = new PanelPic();\n\t\tMenuItem mntmNewItem_21 = new MenuItem(menu_4, SWT.NONE);\n\t\tmntmNewItem_21.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tflag[0]=true;\n\t\t\t\tflag[1]=false;\n\n\t\t\t}\n\n\t\t});\n\t\t\n\t\tdown.addMouseListener(new MouseAdapter(){\n\t\t\tpublic void mouseDown(MouseEvent e)\n\t\t\t{\n\t\t\t\tmouseDown=true;\n\t\t\t\tpt=new Point(e.x,e.y);\n\t\t\t\tif(flag[1])\n\t\t\t\t{\n\t\t\t\t\trect=new Composite(down,SWT.BORDER);\n\t\t\t\t\trect.setLocation(e.x, e.y);\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tpublic void mouseUp(MouseEvent e)\n\t\t\t{\n\t\t\t\tmouseDown=false;\n\t\t\t\tif(flag[1]&&dirty)\n\t\t\t\t{\n\t\t\t\t\trexx[n-1]=rect.getBounds();\n\t\t\t\t\trect.dispose();\n\t\t\t\t\tdown.redraw();\n\t\t\t\t\tdirty=false;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tdown.addMouseMoveListener(new MouseMoveListener(){\n\t\t\t@Override\n\t\t\tpublic void mouseMove(MouseEvent e) {\n if(mouseDown)\n {\n \t dirty=true;\n\t\t\t\tif(flag[0])\n\t\t\t {\n \t GC gc=new GC(down);\n gc.drawLine(pt.x, pt.y, e.x, e.y);\n list.add(new int[]{pt.x,pt.y,e.x,e.y});\n pt.x=e.x;pt.y=e.y;\n\t\t\t }\n else if(flag[1])\n {\n \t if(rect!=null)\n \t rect.setSize(rect.getSize().x+e.x-pt.x, rect.getSize().y+e.y-pt.y);\n// \t down.redraw();\n \t pt.x=e.x;pt.y=e.y;\n }\n }\n\t\t\t}\n\t\t\t\n\t\t});\n\t\tdown.addPaintListener(new PaintListener(){\n\t\t\t@Override\n\t\t\tpublic void paintControl(PaintEvent e) {\n\t\t\t\tfor(int i=0;i<list.size();i++)\n\t\t\t\t{\n\t\t\t\t\tint a[]=list.get(i);\n\t\t\t\t\te.gc.drawLine(a[0], a[1], a[2], a[3]);\n\t\t\t\t}\n\t\t\t\tfor(int i=0;i<n;i++)\n\t\t\t\t{\n\t\t\t\t\tif(rexx[i]!=null)\n\t\t\t\t\t\te.gc.drawRectangle(rexx[i]);\n\t\t\t\t}\n\t\t\t}});\n\n\t\t\n\t\tmntmNewItem_21.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7279\\u6548.\\u6587\\u5B57.jpg\"));\n\t\tmntmNewItem_21.setText(\"\\u753B\\u7B14\");\n\t\t\n\t\tMenuItem mntmNewSubmenu_1 = new MenuItem(menu, SWT.CASCADE);\n\t\tmntmNewSubmenu_1.setText(\"\\u67E5\\u770B\");\n\t\t\n\t\tMenu menu_5 = new Menu(mntmNewSubmenu_1);\n\t\tmntmNewSubmenu_1.setMenu(menu_5);\n\t\t\n\t\tMenuItem mntmNewItem_24 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_24.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u67E5\\u770B.\\u653E\\u5927.jpg\"));\n\t\tmntmNewItem_24.setText(\"\\u653E\\u5927\");\n\t\t\n\t\tMenuItem mntmNewItem_25 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_25.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u67E5\\u770B.\\u7F29\\u5C0F.jpg\"));\n\t\tmntmNewItem_25.setText(\"\\u7F29\\u5C0F\");\n\t\t\n\t\tMenuItem mntmNewItem_26 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_26.setText(\"\\u5B9E\\u9645\\u5C3A\\u5BF8\\uFF08100%\\uFF09\");\n\t\t\n\t\tMenuItem mntmNewItem_27 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_27.setText(\"\\u9002\\u5408\\u7A97\\u53E3\");\n\t\t\n\t\tMenuItem mntmNewItem_28 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_28.setText(\"100%\");\n\t\t\n\t\tMenuItem mntmNewItem_29 = new MenuItem(menu_5, SWT.NONE);\n\t\tmntmNewItem_29.setText(\"200%\");\n\t\t\n\t\tMenuItem mntmNewSubmenu_2 = new MenuItem(menu, SWT.CASCADE);\n\t\tmntmNewSubmenu_2.setText(\"\\u8BBE\\u7F6E\");\n\t\t\n\t\tMenu menu_6 = new Menu(mntmNewSubmenu_2);\n\t\tmntmNewSubmenu_2.setMenu(menu_6);\n\t\t\n\t\tMenuItem menuItem_5 = new MenuItem(menu, SWT.CASCADE);\n\t\tmenuItem_5.setText(\"\\u5E2E\\u52A9\");\n\t\t\n\t\tMenu menu_7 = new Menu(menuItem_5);\n\t\tmenuItem_5.setMenu(menu_7);\n\t\t\n\t\tMenuItem menuItem_6 = new MenuItem(menu_7, SWT.NONE);\n\t\tmenuItem_6.setText(\"\\u7248\\u672C\");\n\t\t\n\t\tMenuItem mntmNewItem_23 = new MenuItem(menu, SWT.NONE);\n\t\tmntmNewItem_23.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u5DE6\\u64A4\\u9500.jpg\"));\n\t\t\n\t\tMenuItem mntmNewItem_30 = new MenuItem(menu, SWT.NONE);\n\t\tmntmNewItem_30.setImage(SWTResourceManager.getImage(Edit.class, \"/\\u622A\\u56FE\\u5DE5\\u5177/\\u56FE\\u7247\\u8D44\\u6E90/\\u7F16\\u8F91\\u5B50\\u56FE\\u6807/\\u53F3\\u64A4\\u9500.jpg\"));\n\n\t}",
"public BBDJPAAdminGUI() {\n initComponents();\n\n myInit();\n }",
"public static void createAndShowGUI() {\n windowContent.add(\"Center\",p1);\n\n //Create the frame and set its content pane\n JFrame frame = new JFrame(\"GridBagLayoutCalculator\");\n frame.setContentPane(windowContent);\n\n // Set the size of the window to be big enough to accommodate all controls\n frame.pack();\n\n // Display the window\n frame.setVisible(true);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n }",
"public CadastroProdutoNew() {\n initComponents();\n }",
"protected void createContents() {\n setText(BUNDLE.getString(\"TranslationManagerShell.Application.Name\"));\n setSize(599, 505);\n\n final Composite cmpMain = new Composite(this, SWT.NONE);\n cmpMain.setLayout(new FormLayout());\n\n final Composite cmpControls = new Composite(cmpMain, SWT.NONE);\n final FormData fd_cmpControls = new FormData();\n fd_cmpControls.right = new FormAttachment(100, -5);\n fd_cmpControls.top = new FormAttachment(0, 5);\n fd_cmpControls.left = new FormAttachment(0, 5);\n cmpControls.setLayoutData(fd_cmpControls);\n cmpControls.setLayout(new FormLayout());\n\n final ToolBar modifyToolBar = new ToolBar(cmpControls, SWT.FLAT);\n\n tiSave = new ToolItem(modifyToolBar, SWT.PUSH);\n tiSave.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Save\"));\n tiSave.setEnabled(false);\n tiSave.setDisabledImage(SWTResourceManager.getImage(TranslationManagerShell.class,\n \"/images/tools16x16/d_save.gif\"));\n tiSave.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/e_save.gif\"));\n\n tiUndo = new ToolItem(modifyToolBar, SWT.PUSH);\n tiUndo.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Undo\"));\n tiUndo.setEnabled(false);\n tiUndo.setDisabledImage(SWTResourceManager.getImage(TranslationManagerShell.class,\n \"/images/tools16x16/d_reset.gif\"));\n tiUndo.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/e_reset.gif\"));\n\n tiDeleteSelected = new ToolItem(modifyToolBar, SWT.PUSH);\n tiDeleteSelected.setDisabledImage(SWTResourceManager.getImage(TranslationManagerShell.class,\n \"/images/tools16x16/d_remove.gif\"));\n tiDeleteSelected.setEnabled(false);\n tiDeleteSelected.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Delete\"));\n tiDeleteSelected.setImage(SWTResourceManager.getImage(TranslationManagerShell.class,\n \"/images/tools16x16/e_remove.gif\"));\n\n txtFilter = new LVSText(cmpControls, SWT.BORDER);\n final FormData fd_txtFilter = new FormData();\n fd_txtFilter.right = new FormAttachment(25, 0);\n fd_txtFilter.top = new FormAttachment(modifyToolBar, 0, SWT.CENTER);\n fd_txtFilter.left = new FormAttachment(modifyToolBar, 25, SWT.RIGHT);\n txtFilter.setLayoutData(fd_txtFilter);\n\n final ToolBar filterToolBar = new ToolBar(cmpControls, SWT.FLAT);\n final FormData fd_filterToolBar = new FormData();\n fd_filterToolBar.top = new FormAttachment(modifyToolBar, 0, SWT.TOP);\n fd_filterToolBar.left = new FormAttachment(txtFilter, 5, SWT.RIGHT);\n filterToolBar.setLayoutData(fd_filterToolBar);\n\n tiFilter = new ToolItem(filterToolBar, SWT.NONE);\n tiFilter.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/e_find.gif\"));\n tiFilter.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Filter\"));\n\n tiLocale = new ToolItem(filterToolBar, SWT.DROP_DOWN);\n tiLocale.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Locale\"));\n tiLocale.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/e_globe.png\"));\n\n menuLocale = new Menu(filterToolBar);\n addDropDown(tiLocale, menuLocale);\n\n lblSearchResults = new Label(cmpControls, SWT.NONE);\n lblSearchResults.setVisible(false);\n final FormData fd_lblSearchResults = new FormData();\n fd_lblSearchResults.top = new FormAttachment(filterToolBar, 0, SWT.CENTER);\n fd_lblSearchResults.left = new FormAttachment(filterToolBar, 5, SWT.RIGHT);\n lblSearchResults.setLayoutData(fd_lblSearchResults);\n lblSearchResults.setText(BUNDLE.getString(\"TranslationManagerShell.Label.Results\"));\n\n final ToolBar translateToolBar = new ToolBar(cmpControls, SWT.NONE);\n final FormData fd_translateToolBar = new FormData();\n fd_translateToolBar.top = new FormAttachment(filterToolBar, 0, SWT.TOP);\n fd_translateToolBar.right = new FormAttachment(100, 0);\n translateToolBar.setLayoutData(fd_translateToolBar);\n\n tiDebug = new ToolItem(translateToolBar, SWT.PUSH);\n tiDebug.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Debug\"));\n tiDebug.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/debug.png\"));\n\n new ToolItem(translateToolBar, SWT.SEPARATOR);\n\n tiAddBase = new ToolItem(translateToolBar, SWT.PUSH);\n tiAddBase.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.AddBase\"));\n tiAddBase.setImage(SWTResourceManager.getImage(TranslationManagerShell.class, \"/images/tools16x16/e_add.gif\"));\n\n tiTranslate = new ToolItem(translateToolBar, SWT.CHECK);\n tiTranslate.setToolTipText(BUNDLE.getString(\"TranslationManagerShell.ToolTip.Translate\"));\n tiTranslate.setImage(SWTResourceManager\n .getImage(TranslationManagerShell.class, \"/images/tools16x16/target.png\"));\n\n cmpTable = new Composite(cmpMain, SWT.NONE);\n cmpTable.setLayout(new FillLayout());\n final FormData fd_cmpTable = new FormData();\n fd_cmpTable.bottom = new FormAttachment(100, -5);\n fd_cmpTable.right = new FormAttachment(cmpControls, 0, SWT.RIGHT);\n fd_cmpTable.left = new FormAttachment(cmpControls, 0, SWT.LEFT);\n fd_cmpTable.top = new FormAttachment(cmpControls, 5, SWT.BOTTOM);\n cmpTable.setLayoutData(fd_cmpTable);\n\n final Menu menu = new Menu(this, SWT.BAR);\n setMenuBar(menu);\n\n final MenuItem menuItemFile = new MenuItem(menu, SWT.CASCADE);\n menuItemFile.setText(BUNDLE.getString(\"TranslationManagerShell.Menu.File\"));\n\n final Menu menuFile = new Menu(menuItemFile);\n menuItemFile.setMenu(menuFile);\n\n menuItemExit = new MenuItem(menuFile, SWT.NONE);\n menuItemExit.setAccelerator(SWT.ALT | SWT.F4);\n menuItemExit.setText(BUNDLE.getString(\"TranslationManagerShell.Menu.File.Exit\"));\n\n final MenuItem menuItemHelp = new MenuItem(menu, SWT.CASCADE);\n menuItemHelp.setText(BUNDLE.getString(\"TranslationManagerShell.Menu.Help\"));\n\n final Menu menuHelp = new Menu(menuItemHelp);\n menuItemHelp.setMenu(menuHelp);\n\n menuItemDebug = new MenuItem(menuHelp, SWT.NONE);\n menuItemDebug.setText(BUNDLE.getString(\"TranslationManagerShell.Menu.Help.Debug\"));\n\n new MenuItem(menuHelp, SWT.SEPARATOR);\n\n menuItemAbout = new MenuItem(menuHelp, SWT.NONE);\n menuItemAbout.setText(BUNDLE.getString(\"TranslationManagerShell.Menu.Help.About\"));\n //\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel7 = new javax.swing.JLabel();\n AccountInfoPane = new javax.swing.JPanel();\n Name = new javax.swing.JLabel();\n NameField = new javax.swing.JTextField();\n PasswordField = new javax.swing.JPasswordField();\n Email = new javax.swing.JLabel();\n EmailField = new javax.swing.JTextField();\n Password1 = new javax.swing.JLabel();\n DoB = new javax.swing.JLabel();\n DoBField = new javax.swing.JTextField();\n Phone = new javax.swing.JLabel();\n PhoneField = new javax.swing.JTextField();\n Address = new javax.swing.JLabel();\n AddressField = new javax.swing.JTextField();\n ButtonsPane = new javax.swing.JPanel();\n CreateAccountButton = new javax.swing.JButton();\n CancelButton = new javax.swing.JButton();\n jSeparator1 = new javax.swing.JSeparator();\n\n setTitle(\"Tạo tài khoản\");\n setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n setLocation(new java.awt.Point(0, 0));\n setResizable(false);\n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel7.setText(\"Create Account\");\n\n AccountInfoPane.setBorder(javax.swing.BorderFactory.createTitledBorder(\"\"));\n\n Name.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Name.setText(\"Name:\");\n\n NameField.setAutoscrolls(false);\n\n PasswordField.setAutoscrolls(false);\n\n Email.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Email.setText(\"Email:\");\n\n EmailField.setAutoscrolls(false);\n\n Password1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Password1.setText(\"Passphrase:\");\n\n DoB.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n DoB.setText(\"Date Of Birth:\");\n\n DoBField.setAutoscrolls(false);\n DoBField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n DoBFieldActionPerformed(evt);\n }\n });\n\n Phone.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Phone.setText(\"Phone:\");\n\n PhoneField.setAutoscrolls(false);\n\n Address.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Address.setText(\"Address:\");\n\n AddressField.setAutoscrolls(false);\n\n javax.swing.GroupLayout AccountInfoPaneLayout = new javax.swing.GroupLayout(AccountInfoPane);\n AccountInfoPane.setLayout(AccountInfoPaneLayout);\n AccountInfoPaneLayout.setHorizontalGroup(\n AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(AccountInfoPaneLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(AccountInfoPaneLayout.createSequentialGroup()\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(Email)\n .addComponent(Name))\n .addGap(62, 62, 62)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(NameField, javax.swing.GroupLayout.DEFAULT_SIZE, 186, Short.MAX_VALUE)\n .addComponent(EmailField)))\n .addGroup(AccountInfoPaneLayout.createSequentialGroup()\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(Password1)\n .addComponent(DoB)\n .addComponent(Phone)\n .addComponent(Address))\n .addGap(26, 26, 26)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(AddressField, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(DoBField, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(PasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(PhoneField, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n AccountInfoPaneLayout.setVerticalGroup(\n AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(AccountInfoPaneLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Name)\n .addComponent(NameField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(EmailField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(Email))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(PasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(Password1))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(DoB)\n .addComponent(DoBField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Phone)\n .addComponent(PhoneField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(AccountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Address)\n .addComponent(AddressField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n ButtonsPane.setBorder(javax.swing.BorderFactory.createTitledBorder(\"\"));\n\n CreateAccountButton.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n CreateAccountButton.setText(\"Create\");\n CreateAccountButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CreateAccountButtonActionPerformed(evt);\n }\n });\n\n CancelButton.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n CancelButton.setText(\"Cancel\");\n CancelButton.setToolTipText(\"\");\n CancelButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CancelButtonActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout ButtonsPaneLayout = new javax.swing.GroupLayout(ButtonsPane);\n ButtonsPane.setLayout(ButtonsPaneLayout);\n ButtonsPaneLayout.setHorizontalGroup(\n ButtonsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(ButtonsPaneLayout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addComponent(CreateAccountButton, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(CancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(20, 20, 20))\n );\n ButtonsPaneLayout.setVerticalGroup(\n ButtonsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(ButtonsPaneLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(ButtonsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(CancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(CreateAccountButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(AccountInfoPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(ButtonsPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING))\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGap(91, 91, 91)\n .addComponent(jLabel7)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(AccountInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(ButtonsPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n createAccount = new javax.swing.JLabel();\n logo = new javax.swing.JLabel();\n getUsername = new javax.swing.JTextField();\n getConfirmPassword = new javax.swing.JPasswordField();\n getPassword = new javax.swing.JPasswordField();\n getEmail = new javax.swing.JTextField();\n getPhone = new javax.swing.JFormattedTextField();\n ToSCheckBox = new javax.swing.JCheckBox();\n signUpButton = new javax.swing.JButton();\n jScrollPane2 = new javax.swing.JScrollPane();\n errorMessage = new javax.swing.JTextArea();\n jScrollPane4 = new javax.swing.JScrollPane();\n errorMessage1 = new javax.swing.JTextArea();\n\n setBackground(new java.awt.Color(230, 230, 230));\n\n createAccount.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n createAccount.setText(\"Create Your Heartbleed Account\");\n\n logo.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n logo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/heartbleed.png\"))); // NOI18N\n logo.setMaximumSize(new java.awt.Dimension(341, 413));\n logo.setMinimumSize(new java.awt.Dimension(341, 413));\n\n getUsername.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n getUsername.setHorizontalAlignment(javax.swing.JTextField.LEFT);\n getUsername.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n getUsernameActionPerformed(evt);\n }\n });\n\n getConfirmPassword.setHorizontalAlignment(javax.swing.JTextField.LEFT);\n\n getPassword.setHorizontalAlignment(javax.swing.JTextField.LEFT);\n getPassword.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n getPasswordActionPerformed(evt);\n }\n });\n\n getEmail.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n getEmail.setHorizontalAlignment(javax.swing.JTextField.LEFT);\n getEmail.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n getEmailActionPerformed(evt);\n }\n });\n\n try {\n getPhone.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"(###)###-####\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n getPhone.setHorizontalAlignment(javax.swing.JTextField.LEFT);\n getPhone.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n getPhone.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n getPhoneActionPerformed(evt);\n }\n });\n\n ToSCheckBox.setText(\"Check here to indicate that you have read and agree to the Terms of Service.\");\n ToSCheckBox.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ToSCheckBoxActionPerformed(evt);\n }\n });\n\n signUpButton.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n signUpButton.setText(\"Sign Up\");\n signUpButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n signUpButtonActionPerformed(evt);\n }\n });\n\n jScrollPane2.setBorder(null);\n\n errorMessage.setEditable(false);\n errorMessage.setBackground(new java.awt.Color(230, 230, 230));\n errorMessage.setColumns(100);\n errorMessage.setForeground(new java.awt.Color(255, 0, 0));\n errorMessage.setLineWrap(true);\n errorMessage.setRows(2);\n errorMessage.setWrapStyleWord(true);\n errorMessage.setAutoscrolls(false);\n errorMessage.setBorder(null);\n errorMessage.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n jScrollPane2.setViewportView(errorMessage);\n\n jScrollPane4.setBorder(null);\n\n errorMessage1.setEditable(false);\n errorMessage1.setBackground(new java.awt.Color(230, 230, 230));\n errorMessage1.setColumns(100);\n errorMessage1.setFont(new java.awt.Font(\"Poor Richard\", 2, 15)); // NOI18N\n errorMessage1.setLineWrap(true);\n errorMessage1.setRows(2);\n errorMessage1.setText(\"Passwords must be 8-16 characters long and contain:\\n 1 uppercase character\\n 1 lowercase character\\n 1 special character\\n 1 digit\");\n errorMessage1.setWrapStyleWord(true);\n errorMessage1.setAutoscrolls(false);\n errorMessage1.setBorder(null);\n errorMessage1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n jScrollPane4.setViewportView(errorMessage1);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(31, 31, 31)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(getEmail)\n .addComponent(getUsername)\n .addComponent(getPhone, javax.swing.GroupLayout.DEFAULT_SIZE, 315, Short.MAX_VALUE)\n .addComponent(getPassword)\n .addComponent(getConfirmPassword))\n .addComponent(logo, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(createAccount))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addComponent(signUpButton))\n .addGroup(layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)))))\n .addGroup(layout.createSequentialGroup()\n .addGap(52, 52, 52)\n .addComponent(ToSCheckBox)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(logo, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(createAccount)\n .addGap(23, 23, 23)\n .addComponent(getUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(getEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(6, 6, 6)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(getPhone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(getPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(2, 2, 2)\n .addComponent(signUpButton))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(getConfirmPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(18, 18, 18)\n .addComponent(ToSCheckBox)\n .addGap(26, 26, 26))\n );\n }",
"public DatabaseGUI()\n\t{\t\n\t\tsuper(\"Irish Crime Data info\");\n\t\t\n\t\t//buttons that will be used\n\t\tsetButton1(new JButton(\"Look at the data\"));\n\t\tsetButton2(new JButton(\"Total Crimes\"));\n\t\tsetButton3(new JButton(\"Select new data\"));\n\t\tsetButton4(new JButton(\"<- go back\"));\n\t\tsetButton5(new JButton(\"Top 10 Unsafe\"));\n\t\tsetButton6(new JButton(\"Top 10 Safe\"));\n\t\t\n\t\t//setting font for all buttons\n\t\tgetTopics1().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 12));\n\t\tgetTopics2().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 12));\n\t\tgetButton1().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\tgetButton2().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\tgetButton3().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\tgetButton4().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\tgetButton5().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\tgetButton6().setFont(new Font(\"Serif\", Font.CENTER_BASELINE, 19));\n\t\t\n\t\t//setting up style\n\t\t\n\t\tgetTopics1().setBackground(Color.white);\n\t\tgetTopics2().setBackground(Color.white);\n\t\tgetButton3().setBackground(Color.LIGHT_GRAY);\n\t\tgetButton4().setBackground(Color.LIGHT_GRAY);\n\t\t\n\t\t\n\t\t//setting up layout and adding a panel\n\t\tsetLayout(new BorderLayout());\n\t\t\n\t\tsetPanel1(new JPanel());\n\t\t\n\t\tgetPanel1().setBackground(Color.white);\n\t\t\n\t\t//start the main menu\n\t\tselectMenu();\n\t\t\n\t\t//set the panel size and window size\n\t\tgetPanel1().setSize(1080,700);\n\t\tsetSize(1080,600);\n\t\tsetVisible(true);\n\t\t\n\t\t\n\t\tgetButton1().addActionListener(this);\n\t\tgetButton2().addActionListener(this);\n\t\tgetButton3().addActionListener(this);\n\t\tgetButton4().addActionListener(this);\n\t\tgetButton5().addActionListener(this);\n\t\tgetButton6().addActionListener(this);\n\t\t\n\t\t//removes the program from memory (sometimes takes up too much memory, ran out at one point)\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t}",
"public FormPpal() {\n initComponents();\n setIconImage(Toolkit.getDefaultToolkit().getImage(this.getClass().getResource(\"Imagenes/icon.png\")));\n setLocationRelativeTo(null);\n setTitle(\"Men\\372 principal\");\n setResizable(false);\n formBackUp = null;\n formBuscador = null;\n fb1 = null;\n fb2 = null;\n formListado = null;\n conn = new Conn();\n pacientesCumpleanos = new LinkedList();\n pacientesControl = new LinkedList();\n cargarCumpleanos();\n cargarControlesHoy();\n }",
"public FormDeleteBar() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}",
"public SignUpGUI() {\n initComponents();\n \n //Text fields for registration credentials\n this.getUsername.setBorder(BorderFactory.createTitledBorder(\"Username\"));\n this.getEmail.setBorder(BorderFactory.createTitledBorder(\"Email\"));\n this.getPhone.setBorder(BorderFactory.createTitledBorder(\"Phone (optional)\"));\n this.getPassword.setBorder(BorderFactory.createTitledBorder(\"Password\"));\n this.getConfirmPassword.setBorder(BorderFactory.createTitledBorder(\"Confirm Password\"));\n \n this.setVisible(true);\n }",
"private void initiateFavouriteChampionFields(JFrame frame) {\r\n JLabel q5 = new JLabel(\"Favourite champion for mainAccount or altAccount?\");\r\n new Label(q5);\r\n// q5.setPreferredSize(new Dimension(1200, 100));\r\n// q5.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q5);\r\n\r\n JTextField account = new JTextField();\r\n new TextField(account);\r\n// account.setPreferredSize(new Dimension(1200, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(account);\r\n\r\n JLabel q6 = new JLabel(\"Name of the champion you wish to favourite?\");\r\n new Label(q6);\r\n// q6.setPreferredSize(new Dimension(1200, 100));\r\n// q6.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q6);\r\n\r\n JTextField name = new JTextField();\r\n new TextField(name);\r\n// name.setPreferredSize(new Dimension(1200, 100));\r\n// name.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(name);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/m7fflair.png\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(1200, 250));\r\n frame.add(label);\r\n\r\n initiateFavouriteChampionEnter(frame, account, name);\r\n }",
"public SugarSystemGUI() {\n initComponents();\n //jPanel4.setVisible(false); \n setTitle(\"糖厂库存智能信息管理系统\");\n jPanel5.setVisible(true);\n jPanel8_input.setVisible(true);\n jPanel9_select.setVisible(false);\n jPanel10_date.setVisible(false);\n jPanel8_car_condition.setVisible(false);\n jPanel8_car.setVisible(false);\n \n }",
"private void todoChooserGui() {\r\n jframe = makeFrame(\"My Todo List\", 500, 800, JFrame.EXIT_ON_CLOSE);\r\n panelSelectFile = makePanel(jframe, BorderLayout.CENTER,\r\n \"Choose a Todo\", 150, 50, 200, 25);\r\n JButton clickRetrieve = makeButton(\"retrieveTodo\", \"Retrieve A TodoList\",\r\n 175, 100, 150, 25, JComponent.CENTER_ALIGNMENT, \"cli.wav\");\r\n panelSelectFile.add(clickRetrieve);\r\n JTextField textFieldName = makeJTextField(1, 100, 150, 150, 25);\r\n textFieldName.setName(\"Name\");\r\n panelSelectFile.add(textFieldName);\r\n JButton clickNew = makeButton(\"newTodo\", \"Make New TodoList\",\r\n 250, 150, 150, 25, JComponent.CENTER_ALIGNMENT, \"cli.wav\");\r\n panelSelectFile.add(clickNew);\r\n panelSelectFile.setBackground(Color.WHITE);\r\n jframe.setBackground(Color.PINK);\r\n jframe.setVisible(true);\r\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n Exit = new javax.swing.JLabel();\n createSubIdTxt = new javax.swing.JTextField();\n createSubId = new javax.swing.JLabel();\n createSubNameTxt = new javax.swing.JTextField();\n createSubName = new javax.swing.JLabel();\n createDepIdTxt = new javax.swing.JComboBox<>();\n createLecId = new javax.swing.JLabel();\n createDepId = new javax.swing.JLabel();\n createLecIdTxt = new javax.swing.JComboBox<>();\n sumbit = new javax.swing.JButton();\n noticeBack = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Create Course\");\n setResizable(false);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n Exit.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/image/exit.png\"))); // NOI18N\n Exit.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Exit.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n ExitMouseClicked(evt);\n }\n });\n getContentPane().add(Exit, new org.netbeans.lib.awtextra.AbsoluteConstraints(530, 20, -1, -1));\n\n createSubIdTxt.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n getContentPane().add(createSubIdTxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 160, 150, 25));\n\n createSubId.setFont(new java.awt.Font(\"Calibri\", 1, 14)); // NOI18N\n createSubId.setForeground(new java.awt.Color(255, 255, 255));\n createSubId.setText(\"Subject ID\");\n getContentPane().add(createSubId, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 160, -1, -1));\n\n createSubNameTxt.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n getContentPane().add(createSubNameTxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 240, 300, 30));\n\n createSubName.setFont(new java.awt.Font(\"Calibri\", 1, 14)); // NOI18N\n createSubName.setForeground(new java.awt.Color(255, 255, 255));\n createSubName.setText(\"Subject Name\");\n getContentPane().add(createSubName, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 240, -1, -1));\n\n getContentPane().add(createDepIdTxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 60, -1, -1));\n\n createLecId.setFont(new java.awt.Font(\"Calibri\", 1, 14)); // NOI18N\n createLecId.setForeground(new java.awt.Color(255, 255, 255));\n createLecId.setText(\"Lecturer ID\");\n getContentPane().add(createLecId, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 320, -1, -1));\n\n createDepId.setFont(new java.awt.Font(\"Calibri\", 1, 14)); // NOI18N\n createDepId.setForeground(new java.awt.Color(255, 255, 255));\n createDepId.setText(\"Department ID\");\n getContentPane().add(createDepId, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 60, -1, -1));\n\n getContentPane().add(createLecIdTxt, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 320, -1, -1));\n\n sumbit.setText(\"Submit\");\n sumbit.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n sumbit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n sumbitActionPerformed(evt);\n }\n });\n getContentPane().add(sumbit, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 410, -1, -1));\n\n noticeBack.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/image/interface1.jpg\"))); // NOI18N\n noticeBack.setPreferredSize(new java.awt.Dimension(600, 500));\n getContentPane().add(noticeBack, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));\n\n pack();\n setLocationRelativeTo(null);\n }",
"public SignupAccountInfoAvatar() {\n super(\"SignupAvatar.AccountInfo\", BrowserConstants.DIALOGUE_BACKGROUND);\n this.profileConstraints = ProfileConstraints.getInstance();\n this.securityQuestionModel = new DefaultComboBoxModel();\n this.usernameReservations = new HashMap<String, UsernameReservation>();\n this.emailReservations = new HashMap<EMail, EMailReservation>();\n initSecurityQuestionModel();\n initComponents();\n addValidationListeners();\n initFocusListener();\n }",
"public TodoGUI() {\r\n todoChooserGui();\r\n }",
"private void initialize() {\r\n\t\tfrmProduto = new JFrame();\r\n\t\tfrmProduto.setTitle(\"Produto\");\r\n\t\tfrmProduto.getContentPane().setBackground(Color.LIGHT_GRAY);\r\n\t\tfrmProduto.setBounds(100, 100, 450, 300);\r\n\t\tfrmProduto.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tfrmProduto.getContentPane().setLayout(null);\r\n\t\t\r\n\t\tJLabel lblNewLabel = new JLabel(\"Insira o nome do produto :\");\r\n\t\tlblNewLabel.setForeground(Color.BLUE);\r\n\t\tlblNewLabel.setFont(new Font(\"Arial\", Font.BOLD, 16));\r\n\t\tlblNewLabel.setBounds(29, 11, 255, 50);\r\n\t\tfrmProduto.getContentPane().add(lblNewLabel);\r\n\t\t\r\n\t\ttextField = new JTextField();\r\n\t\ttextField.setBounds(53, 72, 316, 32);\r\n\t\tfrmProduto.getContentPane().add(textField);\r\n\t\ttextField.setColumns(10);\r\n\t\t\r\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Quantidade :\");\r\n\t\tlblNewLabel_1.setForeground(Color.BLUE);\r\n\t\tlblNewLabel_1.setFont(new Font(\"Arial\", Font.BOLD, 14));\r\n\t\tlblNewLabel_1.setBounds(28, 125, 89, 14);\r\n\t\tfrmProduto.getContentPane().add(lblNewLabel_1);\r\n\t\t\r\n\t\tJLabel lblNewLabel_2 = new JLabel(\"Valor :\");\r\n\t\tlblNewLabel_2.setForeground(Color.BLUE);\r\n\t\tlblNewLabel_2.setFont(new Font(\"Arial\", Font.BOLD, 14));\r\n\t\tlblNewLabel_2.setBounds(29, 155, 89, 32);\r\n\t\tfrmProduto.getContentPane().add(lblNewLabel_2);\r\n\t\t\r\n\t\ttextField_1 = new JTextField();\r\n\t\ttextField_1.setBounds(127, 115, 89, 24);\r\n\t\tfrmProduto.getContentPane().add(textField_1);\r\n\t\ttextField_1.setColumns(10);\r\n\t\t\r\n\t\ttextField_2 = new JTextField();\r\n\t\ttextField_2.setBounds(88, 160, 86, 25);\r\n\t\tfrmProduto.getContentPane().add(textField_2);\r\n\t\ttextField_2.setColumns(10);\r\n\t}",
"public void createAndShowGUI(JFrame frame) {\n providerSideBar(frame.getContentPane(), pat);\n topBarPatientInformation(frame.getContentPane(), pat);\n patientReferralPanel(frame.getContentPane());\n\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n nameLabel = new javax.swing.JLabel();\n menuOpsPanel = new javax.swing.JPanel();\n settingsButton = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n jButton4 = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n nameField = new javax.swing.JTextField();\n subjectField = new javax.swing.JTextField();\n descrField = new javax.swing.JTextField();\n createClassButton = new javax.swing.JButton();\n\n setBackground(java.awt.Color.white);\n setMaximumSize(new java.awt.Dimension(860, 560));\n setMinimumSize(new java.awt.Dimension(860, 560));\n setPreferredSize(new java.awt.Dimension(860, 560));\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/images/download.jpg\"))); // NOI18N\n\n nameLabel.setFont(new java.awt.Font(\"DejaVu Sans\", 1, 24)); // NOI18N\n nameLabel.setForeground(new java.awt.Color(1, 1, 1));\n nameLabel.setText(\"Welcome back, [name]!\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(120, 120, 120)\n .addComponent(nameLabel)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addComponent(nameLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(56, Short.MAX_VALUE))\n );\n\n menuOpsPanel.setBackground(new java.awt.Color(72, 186, 244));\n menuOpsPanel.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n settingsButton.setText(\"Account Settings\");\n settingsButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n settingsButtonActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"Add/Remove User\");\n\n jButton4.setText(\"Add/Remove Class\");\n\n javax.swing.GroupLayout menuOpsPanelLayout = new javax.swing.GroupLayout(menuOpsPanel);\n menuOpsPanel.setLayout(menuOpsPanelLayout);\n menuOpsPanelLayout.setHorizontalGroup(\n menuOpsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(menuOpsPanelLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(menuOpsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(settingsButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap())\n );\n menuOpsPanelLayout.setVerticalGroup(\n menuOpsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(menuOpsPanelLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(settingsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n jLabel2.setFont(new java.awt.Font(\"Verdana\", 0, 24)); // NOI18N\n jLabel2.setText(\"Create a new Course\");\n\n jLabel3.setFont(new java.awt.Font(\"Verdana\", 0, 14)); // NOI18N\n jLabel3.setText(\"Name\");\n\n jLabel4.setFont(new java.awt.Font(\"Verdana\", 0, 14)); // NOI18N\n jLabel4.setText(\"Subject:\");\n\n jLabel5.setFont(new java.awt.Font(\"Verdana\", 0, 14)); // NOI18N\n jLabel5.setText(\"Description:\");\n\n nameField.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n nameFieldFocusLost(evt);\n }\n });\n\n subjectField.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n subjectFieldFocusLost(evt);\n }\n });\n\n descrField.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n descrFieldFocusLost(evt);\n }\n });\n\n createClassButton.setText(\"Create Class\");\n createClassButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n createClassButtonActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING))\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(nameField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 372, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(subjectField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 372, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(descrField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 372, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(225, 225, 225)\n .addComponent(createClassButton)))\n .addContainerGap(44, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addContainerGap(56, Short.MAX_VALUE)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(nameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(subjectField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(26, 26, 26)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(descrField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(38, 38, 38)\n .addComponent(createClassButton)\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(64, 64, 64))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addComponent(jLabel1)\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGap(12, 12, 12)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(56, 56, 56)\n .addComponent(menuOpsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(30, 30, 30))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(menuOpsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(39, 39, 39))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(27, 27, 27)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(35, 35, 35)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(44, Short.MAX_VALUE))))\n );\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n jPanel2 = new javax.swing.JPanel();\n jPanel4 = new javax.swing.JPanel();\n jLabel2 = new javax.swing.JLabel();\n TFidart = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n TFidalmacen = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n TFdescripcion = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n TFcantidad = new javax.swing.JTextField();\n jPanel3 = new javax.swing.JPanel();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n\n setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10));\n setLayout(new java.awt.BorderLayout());\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel1.setText(\"Consultar stock\");\n jLabel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 20, 20, 1));\n add(jLabel1, java.awt.BorderLayout.PAGE_START);\n\n jPanel1.setLayout(new java.awt.BorderLayout());\n\n jPanel2.setLayout(new java.awt.GridLayout(3, 1));\n\n jLabel2.setText(\"ID de Artículo:\");\n jPanel4.add(jLabel2);\n\n TFidart.setMinimumSize(new java.awt.Dimension(60, 30));\n TFidart.setPreferredSize(new java.awt.Dimension(80, 30));\n jPanel4.add(TFidart);\n\n jLabel3.setText(\"ID Almacen:\");\n jPanel4.add(jLabel3);\n\n TFidalmacen.setMinimumSize(new java.awt.Dimension(60, 30));\n TFidalmacen.setPreferredSize(new java.awt.Dimension(80, 30));\n jPanel4.add(TFidalmacen);\n\n jLabel4.setText(\"Descripcion:\");\n jPanel4.add(jLabel4);\n\n TFdescripcion.setMinimumSize(new java.awt.Dimension(60, 30));\n TFdescripcion.setPreferredSize(new java.awt.Dimension(80, 30));\n jPanel4.add(TFdescripcion);\n\n jLabel5.setText(\"Cantidad:\");\n jPanel4.add(jLabel5);\n\n TFcantidad.setMinimumSize(new java.awt.Dimension(60, 30));\n TFcantidad.setPreferredSize(new java.awt.Dimension(80, 30));\n jPanel4.add(TFcantidad);\n\n jPanel2.add(jPanel4);\n\n jButton1.setText(\"Consultar\");\n jButton1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n jButton1MouseReleased(evt);\n }\n });\n jPanel3.add(jButton1);\n\n jButton2.setText(\"Limpiar\");\n jButton2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n jButton2MouseReleased(evt);\n }\n });\n jPanel3.add(jButton2);\n\n jPanel2.add(jPanel3);\n\n jPanel1.add(jPanel2, java.awt.BorderLayout.NORTH);\n\n add(jPanel1, java.awt.BorderLayout.CENTER);\n }",
"public AccountDepositUI() {\n initComponents();\n }",
"public Project_Create() {\n initComponents();\n }",
"public guiProntuarioVirtual() {\n initComponents();\n \n }",
"public FormBarangXSupplier() {\n initComponents();\n setKategori();\n //this.setAlwaysOnTop(true);\n this.setLocationRelativeTo(null);\n this.setExtendedState(JFrame.MAXIMIZED_BOTH);\n this.setSize(Toolkit.getDefaultToolkit().getScreenSize());\n this.setVisible(true);\n this.setResizable(false);\n this.jLabel13.setSize(Toolkit.getDefaultToolkit().getScreenSize());\n this.jLabel21.setSize(Toolkit.getDefaultToolkit().getScreenSize());\n this.jPanel1.setVisible(false);\n this.jPanel2.setVisible(false);\n this.InputDataSupplier.setVisible(false);\n this.EditDataSupplier.setVisible(false); \n showTable();\n resetselected();\n \n }",
"private JTextField getJTFQtdRegistroBD()\n\t{\n\t\tif ( jTFQTdRegistroBD == null )\n\t\t{\n\t\t\tjTFQTdRegistroBD = new JTextField();\n\t\t\tjTFQTdRegistroBD.setBounds(new Rectangle(15, 50, 150, 19));\n\t\t}\n\t\treturn jTFQTdRegistroBD;\n\t}",
"public FamilyBudget() {\n initComponents();\n }",
"public JFrmPagoCuotaAnulacion() {\n setTitle(\"JFrmPagoCuotaAnulacion\");\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }",
"public ExecutantGui() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public void createButtonClicked() {\n clearInputFieldStyle();\n setAllFieldsAndSliderDisabled(false);\n setButtonsDisabled(false, true, true);\n setDefaultValues();\n Storage.setSelectedRaceCar(null);\n }",
"public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }",
"private void initiateAccountPrintFields(JFrame frame) {\r\n JLabel q5 = new JLabel(\"Print details for mainAccount or altAccount?\");\r\n new Label(q5);\r\n// q5.setPreferredSize(new Dimension(1000, 100));\r\n// q5.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(q5);\r\n\r\n JTextField account = new JTextField();\r\n new TextField(account);\r\n// account.setPreferredSize(new Dimension(1000, 100));\r\n// account.setFont(new Font(\"Arial\", Font.PLAIN, 40));\r\n frame.add(account);\r\n\r\n ImageIcon icon = new ImageIcon(\"./data/printicon.JPG\");\r\n JLabel label = new JLabel(icon);\r\n label.setPreferredSize(new Dimension(1000, 100));\r\n frame.add(label);\r\n\r\n initiateAccountPrintEnter(frame, account);\r\n }",
"public MainGUI() {\n initComponents();\n caja = new CajaGUI();\n estadisticas = new EstadisticasGUI();\n caja.disableAll();\n tab.add(\"Caja\", caja);\n tab.add(\"Estadísticas\", estadisticas);\n tab.setToolTipTextAt(0, \"Manejo de la Caja Diaria\");\n tab.setToolTipTextAt(1, \"Estadisticas de ventas y productos\");\n menuAdmin = new JMenu(\"Administrador\");\n menuUsuario = new JMenuItem();\n this.setIconImage(new javax.swing.ImageIcon(getClass().getResource(\"/recursos/icono.png\")).getImage());\n this.setTitle(\"Sistema de Gestión de Quiniela\");\n\n }",
"public frmMain() {\n initComponents();\n pnlMemoria.setBackground(Color.GRAY);\n g = pnlMemoria.getGraphics();\n pnlMemoria.paintComponents(g);\n txtTablaProcesos.setEditable(false);\n listProcesos.setModel(procesos_en_disco);\n Proceso proceso = new Proceso(\"Sistema Operativo\");\n proceso.start();\n }",
"private void $$$setupUI$$$() {\r\n createUIComponents();\r\n pnlMain = new JPanel();\r\n pnlMain.setLayout(new FormLayout(\"fill:d:grow\", \"fill:145dlu:noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow\"));\r\n pnlMain.setMinimumSize(new Dimension(560, 270));\r\n pnlMain.setPreferredSize(new Dimension(560, 270));\r\n pnlForm.setLayout(new FormLayout(\"fill:40dlu:noGrow,left:4dlu:noGrow,fill:40dlu:noGrow,left:4dlu:noGrow,fill:40dlu:noGrow,left:4dlu:noGrow,fill:40dlu:noGrow,left:4dlu:noGrow,fill:40dlu:noGrow,left:4dlu:noGrow,fill:40dlu:noGrow\", \"fill:12dlu:noGrow,top:4dlu:noGrow,fill:12dlu:noGrow,top:5dlu:noGrow,fill:12dlu:noGrow,top:4dlu:noGrow,fill:12dlu:noGrow,top:4dlu:noGrow,fill:12dlu:noGrow,top:4dlu:noGrow,center:12dlu:noGrow,top:4dlu:noGrow,center:12dlu:noGrow\"));\r\n CellConstraints cc = new CellConstraints();\r\n pnlMain.add(pnlForm, cc.xy(1, 1));\r\n lblDscto1 = new JLabel();\r\n lblDscto1.setText(\"Dscto 1\");\r\n pnlForm.add(lblDscto1, cc.xy(1, 9));\r\n txtpcDsto1 = new JTextField();\r\n pnlForm.add(txtpcDsto1, cc.xy(3, 9, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n lblDeProducto = new JLabel();\r\n lblDeProducto.setText(\"Producto\");\r\n pnlForm.add(lblDeProducto, cc.xy(1, 1));\r\n txtDeProducto = new JTextField();\r\n pnlForm.add(txtDeProducto, cc.xyw(5, 1, 7, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n lblUnidadProducto = new JLabel();\r\n lblUnidadProducto.setText(\"Unidad\");\r\n pnlForm.add(lblUnidadProducto, cc.xy(1, 3));\r\n txtUnidadProducto = new JTextField();\r\n pnlForm.add(txtUnidadProducto, cc.xy(3, 3, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n txtDeLaboratorio = new JTextField();\r\n pnlForm.add(txtDeLaboratorio, cc.xyw(7, 3, 5, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n lblLaboratorio = new JLabel();\r\n lblLaboratorio.setText(\"Laboratorio\");\r\n pnlForm.add(lblLaboratorio, cc.xy(5, 3));\r\n lblCantidad = new JLabel();\r\n lblCantidad.setText(\"Cantidad\");\r\n pnlForm.add(lblCantidad, cc.xy(1, 7));\r\n txtCaRecibida = new JTextField();\r\n pnlForm.add(txtCaRecibida, cc.xy(3, 7, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n final JSeparator separator1 = new JSeparator();\r\n pnlForm.add(separator1, cc.xyw(1, 5, 11, CellConstraints.FILL, CellConstraints.FILL));\r\n lblPrecio = new JLabel();\r\n lblPrecio.setText(\"Precio\");\r\n pnlForm.add(lblPrecio, cc.xy(5, 7));\r\n txtPrecio = new JTextField();\r\n pnlForm.add(txtPrecio, cc.xy(7, 7, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n lblDscto2 = new JLabel();\r\n lblDscto2.setText(\"Dscto 2\");\r\n pnlForm.add(lblDscto2, cc.xy(5, 9));\r\n txtpcDsto2 = new JTextField();\r\n pnlForm.add(txtpcDsto2, cc.xy(7, 9, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n final JSeparator separator2 = new JSeparator();\r\n pnlForm.add(separator2, cc.xyw(1, 11, 11, CellConstraints.FILL, CellConstraints.FILL));\r\n lblGlosa = new JLabel();\r\n lblGlosa.setText(\"Glosa\");\r\n pnlForm.add(lblGlosa, cc.xy(1, 13));\r\n txtGlosa = new JTextField();\r\n pnlForm.add(txtGlosa, cc.xyw(3, 13, 9, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n lblDscto3 = new JLabel();\r\n lblDscto3.setText(\"Dscto 3\");\r\n pnlForm.add(lblDscto3, cc.xy(9, 9));\r\n txtpcDsto3 = new JTextField();\r\n pnlForm.add(txtpcDsto3, cc.xy(11, 9, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n txtCoProducto = new JTextField();\r\n pnlForm.add(txtCoProducto, cc.xy(3, 1, CellConstraints.FILL, CellConstraints.DEFAULT));\r\n footerPanel = new JPanel();\r\n footerPanel.setLayout(new FormLayout(\"fill:50dlu:noGrow,left:4dlu:noGrow,fill:d:grow\", \"fill:15dlu:noGrow\"));\r\n pnlMain.add(footerPanel, cc.xy(1, 3));\r\n lblF10 = new JLabel();\r\n lblF10.setText(\"F10 = Aceptar\");\r\n footerPanel.add(lblF10, cc.xy(1, 1));\r\n lblEsc = new JLabel();\r\n lblEsc.setHorizontalAlignment(4);\r\n lblEsc.setText(\"Esc = Cancelar\");\r\n footerPanel.add(lblEsc, cc.xy(3, 1));\r\n }"
] | [
"0.6489954",
"0.6348373",
"0.6136571",
"0.6060606",
"0.6016347",
"0.601267",
"0.59662956",
"0.59175813",
"0.5914749",
"0.590316",
"0.5879641",
"0.5877081",
"0.58473134",
"0.58394194",
"0.5829719",
"0.5821758",
"0.5804571",
"0.5800503",
"0.57992053",
"0.57979083",
"0.5794085",
"0.5792971",
"0.57224774",
"0.5721094",
"0.57177436",
"0.5707328",
"0.57039213",
"0.5698114",
"0.56740075",
"0.5644632",
"0.56444055",
"0.5640726",
"0.56333625",
"0.563227",
"0.5615754",
"0.5615053",
"0.56117094",
"0.5604957",
"0.56030047",
"0.55920094",
"0.55847985",
"0.5581479",
"0.5578884",
"0.55684376",
"0.555921",
"0.5556708",
"0.55490386",
"0.55385673",
"0.5537532",
"0.55341816",
"0.55253196",
"0.5514086",
"0.5502774",
"0.55009353",
"0.549804",
"0.5497055",
"0.5496851",
"0.54954726",
"0.5490059",
"0.5487405",
"0.54851216",
"0.5485115",
"0.54849124",
"0.548267",
"0.5474973",
"0.5465336",
"0.54620206",
"0.54580235",
"0.5455586",
"0.54553074",
"0.5450832",
"0.54495764",
"0.5449519",
"0.5448179",
"0.5440172",
"0.5437807",
"0.54374504",
"0.5432133",
"0.5430527",
"0.54300076",
"0.54257315",
"0.5423918",
"0.5423385",
"0.5422654",
"0.54207075",
"0.5420433",
"0.5418484",
"0.54172343",
"0.54154605",
"0.5413883",
"0.54129523",
"0.5409546",
"0.54055876",
"0.5402698",
"0.5402551",
"0.540254",
"0.53994256",
"0.53968906",
"0.5396476",
"0.5394005"
] | 0.7843434 | 0 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jScrollPane2 = new javax.swing.JScrollPane();
dateList = getDateList();
jScrollPane3 = new javax.swing.JScrollPane();
valueList = getValueList();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
payButton = new javax.swing.JButton();
closeButton = new javax.swing.JButton();
jLabel3 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jScrollPane2.setViewportView(dateList);
getContentPane().add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(16, 39, 182, 247));
jScrollPane3.setViewportView(valueList);
getContentPane().add(jScrollPane3, new org.netbeans.lib.awtextra.AbsoluteConstraints(204, 39, 182, 247));
jLabel1.setFont(new java.awt.Font("Microsoft Sans Serif", 0, 18)); // NOI18N
jLabel1.setText("Data");
getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 11, -1, -1));
jLabel2.setFont(new java.awt.Font("Microsoft Sans Serif", 0, 18)); // NOI18N
jLabel2.setText("Valor");
getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(278, 11, -1, -1));
payButton.setFont(new java.awt.Font("Microsoft Sans Serif", 0, 13)); // NOI18N
payButton.setText("Pagar Quota");
payButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
payButtonActionPerformed(evt);
}
});
getContentPane().add(payButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 310, 110, 30));
closeButton.setText("Fechar");
closeButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
closeButtonActionPerformed(evt);
}
});
getContentPane().add(closeButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 310, 110, 30));
getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 400, 370));
pack();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public Soru1() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public PatientUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public MusteriEkle() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"public sinavlar2() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public P0405() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
] | [
"0.7320782",
"0.72918797",
"0.72918797",
"0.72918797",
"0.728645",
"0.72498447",
"0.7214492",
"0.720934",
"0.7197145",
"0.71912014",
"0.71852076",
"0.7160113",
"0.71487373",
"0.70943654",
"0.70820624",
"0.7058153",
"0.69883204",
"0.6978216",
"0.69558746",
"0.6955715",
"0.69455403",
"0.6944223",
"0.6936588",
"0.6933016",
"0.6929512",
"0.6925853",
"0.6925524",
"0.6912182",
"0.6912122",
"0.6895022",
"0.6894088",
"0.68921435",
"0.68919635",
"0.6889464",
"0.6884104",
"0.6883508",
"0.6882322",
"0.6879773",
"0.6876671",
"0.68755716",
"0.6872437",
"0.6860746",
"0.68575454",
"0.6857284",
"0.68563104",
"0.6854648",
"0.68544936",
"0.68532896",
"0.68532896",
"0.68444484",
"0.68380433",
"0.6837678",
"0.68299913",
"0.6828643",
"0.6828147",
"0.6825278",
"0.6823024",
"0.68182456",
"0.68178964",
"0.681216",
"0.6809752",
"0.6809671",
"0.6809534",
"0.6808423",
"0.6803337",
"0.6794699",
"0.67944574",
"0.6793996",
"0.6792107",
"0.67904186",
"0.67898226",
"0.67888504",
"0.6782858",
"0.67673683",
"0.67670184",
"0.6765726",
"0.6757476",
"0.67573047",
"0.6753978",
"0.6752576",
"0.674217",
"0.67403704",
"0.6738196",
"0.67374873",
"0.67351323",
"0.6728453",
"0.67277855",
"0.6722282",
"0.6716617",
"0.67165154",
"0.67154175",
"0.6709239",
"0.67077744",
"0.6703873",
"0.67028135",
"0.6702373",
"0.6700207",
"0.67000616",
"0.6695769",
"0.6691885",
"0.6690232"
] | 0.0 | -1 |
Set the text of a related field in BWC modules. Focus should already be made in the bwcframe when this method is called. | public void set(String toSet) throws Exception {
VoodooUtils.voodoo.log.info("Setting " + this + " to " + toSet);
waitForElement().click();
VoodooUtils.pause(1000);
VoodooUtils.focusWindow(1);
new VoodooControl("a", "XPATH", "//a[contains(text(), '" + toSet + "')]").click();
VoodooUtils.focusWindow(0);
VoodooUtils.focusFrame("bwc-frame");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setText(String text)\n {\n field.setText(text);\n }",
"public void setText(String text) {\n\t\tthis.smartField.setContents(text);\n\t}",
"private void updateText(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\tif(propertiesObj instanceof QuestionDef)\n\t\t\t((QuestionDef)propertiesObj).setText(txtText.getText());\n\t\telse if(propertiesObj instanceof OptionDef)\n\t\t\t((OptionDef)propertiesObj).setText(txtText.getText());\n\t\telse if(propertiesObj instanceof PageDef)\n\t\t\t((PageDef)propertiesObj).setName(txtText.getText());\n\t\telse if(propertiesObj instanceof FormDef)\n\t\t\t((FormDef)propertiesObj).setName(txtText.getText());\n\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}",
"public void setValueFieldText(String text) {\n valueField.setText(text);\n }",
"public void setText(String text) {\n\t\ttextField.setText(text);\n\t}",
"@Override\r\n\tpublic void setText(String text) {\n\t\tsuper.setText(foundedRecords + \" : \" +text);\r\n\t}",
"public void setText(final String value) {\r\n\r\n this.field.setText(value);\r\n\r\n }",
"public void setText(java.lang.String text)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEXT$18, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TEXT$18);\n }\n target.setStringValue(text);\n }\n }",
"private void setText(Text text) {\n \t\tthis.text = text;\n \t}",
"public void setText(String text) {\r\n\t\tthis.text= text;\r\n\t}",
"public void setText(java.lang.String text)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEXT$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TEXT$0);\n }\n target.setStringValue(text);\n }\n }",
"public void setText(String text) {\n this.originalText = text;\n this.a_text.setText(text);\n this.a_text.setEnabled(true);\n }",
"public void setText(String text) {\r\n this.text = text;\r\n }",
"public void setText(String text) {\r\n\t\tthis.text = text;\r\n\t}",
"public void setText(String text) {\r\n\r\n\t}",
"public void setText(String text)\n {\n this.text = text;\n }",
"public void setText(String text) {\n\t\tthis.text = text;\n\t}",
"public void setText(String text) {\n\t\tthis.text = text;\n\t}",
"public void setText(String text) {\n\t\tthis.text = text;\n\t}",
"public void setText(String text) {\n\t\t\n\t}",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setText(String text) {\n this.text = text;\n }",
"public void setNameFieldText(String text) {\n nameField.setText(text);\n }",
"public void setText(String text)\n\t{\n\t\tthis.text = text;\n\t}",
"public void setText(String text)\n\t{\n\t\tthis.text = text;\n\t}",
"public void setValue(String value)\r\n\t\t{ textField.setText(value); }",
"public void setText(String text){\n this.roomText = text;\n this.hasText = true;\n }",
"public void setSearchNameTextFieldText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_searchNameTextField_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_searchNameTextField_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_searchNameTextField_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setSearchNameTextFieldText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"public void setText(String newText) {\n\t\t_pcs.firePropertyChange(\"text\", this.text, newText); //$NON-NLS-1$\n\t\tthis.text = newText;\n\t}",
"public void setText(String t) {\n\t\ttext = t;\n\t\tb.setText(t);\n\t}",
"public void setText(String text) {\n this.text.setText(text);\n }",
"public void setText(String text) {\n\t\tthis.text = text;\n\t\thandleConfig(\"text\", text);\n\t}",
"public void setTextInTextField(String message) {\r\n\t\ttextField.setText(message);\r\n\t}",
"public void setTextCodigoPoaEd(String text) { doSetText(this.$element_CodigoPoaEd, text); }",
"public void setText ( String text ) {\r\n\t\tgetStateHelper().put(PropertyKeys.text, text);\r\n\t\thandleAttribute(\"text\", text);\r\n\t}",
"public void setText(String message) {\n textField.setString(message);\n }",
"public void setText(String text) {\n mText = text;\n }",
"public void setText(java.lang.String newText) {\n \t\ttext = newText;\n \t}",
"@Override\n protected void textChanged(@NotNull DocumentEvent e) {\n String docBase = docBaseField.getText();\n Module module = PluginUtils.findContainingModule(docBase, project);\n\n if (module != null) {\n modulesComboBox.setSelectedModule(module);\n }\n }",
"public void setText( String text );",
"public void setTextTablaEd(String text) { doSetText(this.$element_TablaEd, text); }",
"public void setText(String text) {\n\t\tthis.text = text;\n\t\tupdateView();\n\t}",
"public void update_statusfield(StatusField field,String text)\r\n {\r\n JLabel targetfield;\r\n if (field==StatusField.STATUSFIELD1) {targetfield=this.statusfield1;}\r\n else if (field==StatusField.STATUSFIELD2) {targetfield=this.statusfield2;}\r\n else {targetfield=this.statusfield3;}\r\n \r\n targetfield.setText(text);\r\n targetfield.repaint();\r\n }",
"public void setText(String text) {\n this.textData = text;\n }",
"public void setEditButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_editButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_editButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_editButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setEditButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"private void setText(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n text_ = value;\n }",
"public void setText(String text) {\n this.text = text;\n setChanged();\n notifyObservers();\n }",
"private void setField( String fieldName, String value )\n {\n JTextField field =\n ( JTextField ) fields.get(fieldName);\n\n field.setText(value);\n }",
"public void changeQuestionText(Question question, String text) throws Exception {\n DataBaseBroker dbb = new DataBaseBroker();\n dbb.loadDriver();\n dbb.establishConnection();\n question.setText(text);\n dbb.overwriteQuestion(question);\n dbb.commit();\n dbb.closeConnection();\n }",
"public void setTextValue(String textValue) {\r\n this._textValue = textValue;\r\n }",
"public void setTextDivTableroControl(String text) { doSetText(this.$element_DivTableroControl, text); }",
"public void setText(String text);",
"public void setText(String value) {\r\n\t\tPlatform.runLater(() -> this.textfield.setText(value));\r\n\r\n\t}",
"public void setInfoText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_info_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_info_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_info_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setInfoText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"@Override\r\n\tpublic void setText() {\n\t\t\r\n\t}",
"public void setValue(String text) {\n\t\tthis.value = text;\n\t}",
"public void setText(String text) {\n GtkEntry.setText(this, text);\n }",
"private void updateHelpText(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\t((QuestionDef)propertiesObj).setHelpText(txtHelpText.getText());\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}",
"public void xsetText(org.apache.xmlbeans.XmlString text)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TEXT$18, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TEXT$18);\n }\n target.set(text);\n }\n }",
"public void setText(String text)\n\t{\n\t Change.push(new BufferNote(this));\n\t\tthis.text = text;\n\t\tChange.push(new BufferNote(this));\n\n\t\trepaint();\n\t}",
"public void updateText( String text ) {\n\t\tthis.text = text;\n\t}",
"@Override\n\tpublic void setText(String arg0) {\n\t\t\n\t}",
"public void setText(String text) {\n\t\tcurrentTrack.setText(text);\n\t}",
"public void xsetText(org.apache.xmlbeans.XmlString text)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TEXT$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TEXT$0);\n }\n target.set(text);\n }\n }",
"public void setText(String s) {\n this.getDocument().removeUndoableEditListener(undoableEditListener);\n super.setText(s);\n this.getDocument().addUndoableEditListener(undoableEditListener);\n }",
"private void sendTextInBox() {\n\t\tmodelAdapter.send(textFieldMessage.getText());\n\t textFieldMessage.setText(\"\");\n\t }",
"public void setCustomText(String text) {\n\t\tthis.text = text;\n\t\tcustomUpdateView();\n\t}",
"public void setText(String text) {\r\n this.text = text == null ? null : text.trim();\r\n }",
"private static void setField(BibtexEntry be, String field, String content) {\n if (!content.equals(\"\"))\n be.setField(field, content);\n }",
"@Override\n public void setText(String text) {\n label.setText(text);\n textArea.setText(text);\n }",
"public void enterTextOnElementOnCheckoutOrderPage(String key, String text){\n\t\n\t\tenterTextOnElement(checkoutOrderPropertiesReader.getProperties(key), text);\t\t\n\t}",
"public void setRelatedWindow(FormWindow relatedWindow);",
"@Override\n public void setText(String englishText) {\n\n }",
"public void setText(String text) {\n this.text = text == null ? null : text.trim();\n }",
"public void setText(String text) {\n this.text = text == null ? null : text.trim();\n }",
"public void setText(String text) {\n\t\t_coolBar.setText(text);\n\t}",
"public void setText(String text) {\n\t\ttextLabel.setText(text);\n\t}",
"public void setNewButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_newButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_newButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_newButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setNewButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"public void setElementText(WebElement element, String text) {\n wait = new WebDriverWait(eventDriver, 20);\n wait.until(ExpectedConditions.visibilityOf(element));\n element.sendKeys(text);\n }",
"@Override\n\tpublic void setComponentText(String text) {\n\t\t\n\t}",
"private void editTextEditorButton(){\n TextEditorTextfield.setText(textEditorPref);\n TextEditorDialog.setVisible(true);\n }",
"public void setText(String t) {\n\t\t\ttext.set(t);\n\t\t}",
"public HBuilder setText(String text)\r\n\t\t{\r\n\t\t\th.innerText = text;\r\n\t\t\treturn this;\r\n\t\t}",
"public void setTextValorEd(String text) { doSetText(this.$element_ValorEd, text); }",
"private void moikhoatextfield(boolean b) {\n\t\ttxtmakhhm.setEditable(b);\n\t\ttxtGhichu.setEditable(b);\n\t\ttxtTinhtrang.setEditable(b);\n\t\tjdcNgaytra.setEnabled(b);\n\t\tckTra.setEnabled(b);\n\t}",
"public void setLabelText(String text);",
"public void setActionItemInfoText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_actionItemInfo_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_actionItemInfo_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_actionItemInfo_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setActionItemInfoText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"private void setDataInFields() \n {\n quantityTxtFld.setText(farmer.getCropQuantity()+\"\");\n quantityTxtFld.setEnabled(false);\n }",
"void setText(String text);",
"public void setRelativeText(java.lang.String newRelativeText) {\n \t\trelativeText = newRelativeText;\n \t}",
"public synchronized void setText(String string) {\n if (this.m_strText == null) {\n throw new IllegalStateException(\"This content pane does not contain a text field!\");\n }\n RootPaneContainer rootPaneContainer = this.getDialog();\n synchronized (rootPaneContainer) {\n int n;\n if (this.isVisible()) {\n this.m_lblText.setText(JAPHtmlMultiLineLabel.removeHTMLHEADAndBODYTags(string));\n this.getDialog().notifyAll();\n return;\n }\n JAPDialog jAPDialog = new JAPDialog((JAPDialog)null, \"\");\n RootPaneContainer rootPaneContainer2 = this.getDialog();\n boolean bl = this.isActive();\n boolean bl2 = false;\n boolean bl3 = false;\n Dimension dimension = rootPaneContainer2 instanceof JDialog ? ((JDialog)rootPaneContainer2).getSize() : ((JAPDialog)rootPaneContainer2).getSize();\n if (dimension.width == 0 || dimension.height == 0) {\n throw new IllegalStateException(\"The parent dialog has a size <=0! This is not allowed when changing the text.\");\n }\n jAPDialog.setSize(dimension);\n if (this.m_lblText != null) {\n this.m_titlePane.remove(this.m_lblText);\n }\n this.m_strText = JAPHtmlMultiLineLabel.removeHTMLHEADAndBODYTags(string);\n if (this.m_strText == null || this.m_strText.trim().length() == 0) {\n this.m_strText = \"\";\n return;\n }\n this.m_lblText = new JAPHtmlMultiLineLabel(this.m_strText, 0);\n this.m_lblText.setFontStyle(0);\n this.m_titlePane.add((Component)this.m_lblText, this.m_textConstraints);\n this.m_parentDialog = jAPDialog;\n if (this.m_rootPane.getPreferredSize().equals(new Dimension(2500, 2500))) {\n bl2 = true;\n }\n this.m_rootPane.setPreferredSize(null);\n if (this.m_lblSeeFullText != null) {\n this.m_titlePane.remove(this.m_lblSeeFullText);\n this.m_lblSeeFullText = null;\n }\n this.updateDialog(false);\n if (Thread.currentThread().isInterrupted()) {\n Thread.currentThread().interrupt();\n return;\n }\n this.m_lblText.setText(this.m_strText);\n this.m_lblText.setPreferredWidth(this.getContentPane().getSize().width);\n GridBagConstraints gridBagConstraints = (GridBagConstraints)this.m_textConstraints.clone();\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new Insets(0, 0, 0, 0);\n this.m_lblSeeFullText = new JAPHtmlMultiLineLabel();\n this.m_lblSeeFullText.setPreferredSize(new Dimension(this.getContentPane().getSize().width, 0));\n this.m_titlePane.add((Component)this.m_lblSeeFullText, gridBagConstraints);\n this.updateDialog(false);\n this.m_titlePane.remove(this.m_lblSeeFullText);\n if (jAPDialog.getContentPane().getSize().height < jAPDialog.getContentPane().getPreferredSize().height) {\n n = jAPDialog.getSize().height;\n int n2 = jAPDialog.getSize().width;\n jAPDialog.pack();\n if ((double)jAPDialog.getSize().height > (double)dimension.height * 1.2 || (double)jAPDialog.getSize().width > (double)dimension.width * 1.2) {\n jAPDialog.setSize(n2, n);\n } else if (rootPaneContainer2 instanceof JDialog) {\n ((JDialog)rootPaneContainer2).setSize(jAPDialog.getSize());\n } else {\n ((JAPDialog)rootPaneContainer2).setSize(jAPDialog.getSize());\n }\n }\n if (jAPDialog.getContentPane().getSize().height < jAPDialog.getContentPane().getPreferredSize().height) {\n this.m_lblSeeFullText = new JAPHtmlMultiLineLabel(\"<A href=''>(\" + JAPMessages.getString(MSG_SEE_FULL_MESSAGE) + \")</A>\", this.m_lblText.getFont(), 0);\n this.m_lblSeeFullText.setCursor(Cursor.getPredefinedCursor(12));\n this.m_lblSeeFullText.setPreferredSize(new Dimension(this.getContentPane().getSize().width, this.m_lblSeeFullText.getPreferredSize().height));\n this.m_lblSeeFullText.addMouseListener(new MouseAdapter(){\n\n public void mouseClicked(MouseEvent mouseEvent) {\n if (DialogContentPane.this.m_layout.getTitle() != null) {\n JAPDialog.showMessageDialog((Component)DialogContentPane.this.m_lblSeeFullText, DialogContentPane.this.m_strText, DialogContentPane.this.m_layout.getTitle());\n } else {\n JAPDialog.showMessageDialog(DialogContentPane.this.m_lblSeeFullText, DialogContentPane.this.m_strText);\n }\n }\n });\n this.m_titlePane.add((Component)this.m_lblSeeFullText, gridBagConstraints);\n int n3 = this.m_lblText.getHTMLDocumentLength();\n int n4 = n3 / 2;\n int n5 = 0;\n for (n = 0; n < 6; ++n) {\n if (n == 5) {\n if (bl3) {\n n4 = n5;\n } else {\n this.m_titlePane.remove(this.m_lblText);\n this.m_lblText = null;\n this.updateDialog(false);\n break;\n }\n }\n this.m_lblText.setText(this.m_strText);\n this.m_lblText.cutHTMLDocument(n4);\n this.m_lblText.setText(JAPHtmlMultiLineLabel.removeHTMLHEADAndBODYTags(this.m_lblText.getText()) + MORE_POINTS);\n this.updateDialog(false);\n if (jAPDialog.getContentPane().getSize().height < jAPDialog.getContentPane().getPreferredSize().height) {\n if (bl3) {\n n4 = n5 + n5 / (n + 2);\n continue;\n }\n n4 /= 2;\n continue;\n }\n bl3 = true;\n if (n5 < n4) {\n n5 = n4;\n }\n n4 += n4 / 2;\n }\n if (bl3 && n5 >= n3) {\n this.m_lblText.setText(this.m_strText);\n this.m_titlePane.remove(this.m_lblSeeFullText);\n }\n }\n if (this.m_lblText != null) {\n this.m_lblText.setText(\"<font color=#000000>\" + JAPHtmlMultiLineLabel.removeHTMLHEADAndBODYTags(this.m_lblText.getText()) + \"</font>\");\n }\n this.m_parentDialog = rootPaneContainer2;\n if (bl2) {\n this.m_rootPane.setPreferredSize(new Dimension(2500, 2500));\n }\n if (bl) {\n this.updateDialog(false);\n }\n this.getDialog().notifyAll();\n }\n }",
"private void setTextID(String key, String value) {\n fieldID.get(key).setText(value);\n }",
"public\t\tvoid\t\tsetLabel(String text)\n\t\t{\n\t\tif (label != null)\n\t\t\t{\n\t\t\tif (label instanceof MiWidget)\n\t\t\t\t((MiWidget )label).setValue(text);\n\t\t\telse if (label instanceof MiText)\n\t\t\t\t((MiText )label).setText(text);\n\t\t\telse\n\t\t\t\tlabel.replaceSelf(new MiText(text));\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\tlabel = new MiText(text);\n\t\t\tappendPart(label);\n\t\t\t}\n\t\t}",
"public void setText() {\n\t\ttxtPower.setText(\"\");\n\t\ttxtPower.setText(\"Battery Info: \\n\" + getBatteryInfo() + \"\\n\"\n\t\t\t\t+ \"Battery Status: \" + getStatus() + \"\\n\"\n\t\t\t\t+ \"External AC Power: \" + getExtPowerStatus() + \"\\n\"\n\t\t\t\t+ \"External USB Power: \" + getUsbPowerStatus() + \"\\n\"\n\t\t\t\t+ \"Current level: \" + getCurrentLevel() + \"\\n\"\n\t\t);\n\t}",
"@Override\n\tpublic void setText(String text) {\n \tif (_assocModel == null) return;\n\t\tString mult;\n\t\tPattern p = Pattern.compile(\"([\\\\d]|\\\\Q*\\\\E)([.]{2}+([\\\\d]|\\\\Q*\\\\E))?\");\t// regex for multiplicities: (digit | *) + optional(.. (digit | *))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// can use a Collection to handle multiplicities of *; we really only care about\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the upper bound also\n\t\tMatcher m = p.matcher(text);\n\t\t// regex didn't find anything, so we'll assign a default multiplicity\n\t\tif (!m.find() || m.group().length() < 0) {\n\t\t\tmult=\"1\";\n\t\t}\n\t\telse mult = m.group();\n\t\t_assocModel.setMultiplicity(mult);\n\t\tsuper.setText(mult);\n\t}",
"void setText (String text);"
] | [
"0.66566396",
"0.65124685",
"0.6388464",
"0.6361225",
"0.6222522",
"0.62092674",
"0.6088787",
"0.602741",
"0.60255617",
"0.6010282",
"0.5999126",
"0.59817886",
"0.5957268",
"0.5955193",
"0.5954764",
"0.59012944",
"0.5895451",
"0.5895451",
"0.5895451",
"0.5893652",
"0.5892319",
"0.5892319",
"0.5892319",
"0.5892319",
"0.5892319",
"0.5892319",
"0.5892319",
"0.58877504",
"0.5880981",
"0.5880981",
"0.587397",
"0.585747",
"0.5851657",
"0.5842536",
"0.58182937",
"0.5811887",
"0.5810156",
"0.58004963",
"0.579859",
"0.57935303",
"0.577688",
"0.57754093",
"0.57515454",
"0.5746618",
"0.5743975",
"0.57322824",
"0.57241046",
"0.570681",
"0.57063794",
"0.5702646",
"0.5700933",
"0.5692892",
"0.56895703",
"0.56780106",
"0.5673585",
"0.56619024",
"0.56215626",
"0.56077176",
"0.5587747",
"0.5584477",
"0.5583787",
"0.55789936",
"0.5570096",
"0.55648535",
"0.55634266",
"0.5560054",
"0.5553042",
"0.55364084",
"0.5535626",
"0.5527531",
"0.5524567",
"0.5517147",
"0.5502383",
"0.5489162",
"0.5484752",
"0.5481928",
"0.54813945",
"0.5477528",
"0.54765534",
"0.54765534",
"0.5472999",
"0.54722977",
"0.5459013",
"0.54569393",
"0.5456383",
"0.5452794",
"0.5449663",
"0.54418266",
"0.54390466",
"0.54225516",
"0.5421986",
"0.5417178",
"0.5413156",
"0.54090476",
"0.5407973",
"0.5397795",
"0.5397628",
"0.53946984",
"0.5390645",
"0.5383232",
"0.53697014"
] | 0.0 | -1 |
TODO Autogenerated method stub | private void go() {
go2(new Tree(), new Chrome());
//go2((Chrome) new Tree(),new Chrome());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
mainPanel = new javax.swing.JPanel();
menuBar = new javax.swing.JMenuBar();
javax.swing.JMenu fileMenu = new javax.swing.JMenu();
javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
jmAdministracion = new javax.swing.JMenu();
JmiUsuario = new javax.swing.JMenuItem();
JmiEmpleado = new javax.swing.JMenuItem();
JmiCargo = new javax.swing.JMenuItem();
jSeparator2 = new javax.swing.JPopupMenu.Separator();
JmiProveedor = new javax.swing.JMenuItem();
JmiCliente = new javax.swing.JMenuItem();
jSeparator1 = new javax.swing.JPopupMenu.Separator();
JmiProducto = new javax.swing.JMenuItem();
JmiCategoria = new javax.swing.JMenuItem();
JmiMarca = new javax.swing.JMenuItem();
JmiUnidadMedida = new javax.swing.JMenuItem();
jmVenta = new javax.swing.JMenu();
JmiGestionarVenta = new javax.swing.JMenuItem();
jMenu6 = new javax.swing.JMenu();
JmiReporteProducto = new javax.swing.JMenuItem();
jmConsultas = new javax.swing.JMenu();
JmiConsultaUsuario = new javax.swing.JMenuItem();
JmiConsultaEmpleado = new javax.swing.JMenuItem();
JmiConsultaProveedor = new javax.swing.JMenuItem();
JmiConsultaCliente = new javax.swing.JMenuItem();
JmiConsultaArticulo = new javax.swing.JMenuItem();
jmReportes = new javax.swing.JMenu();
JmiReporteEmpleado = new javax.swing.JMenuItem();
JmiReporteProveedor = new javax.swing.JMenuItem();
JmiReporteCliente = new javax.swing.JMenuItem();
jMenu5 = new javax.swing.JMenu();
JmiAcercaDe = new javax.swing.JMenuItem();
statusPanel = new javax.swing.JPanel();
javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
statusMessageLabel = new javax.swing.JLabel();
statusAnimationLabel = new javax.swing.JLabel();
progressBar = new javax.swing.JProgressBar();
jLabel1 = new javax.swing.JLabel();
lblNombreUsuario = new javax.swing.JLabel();
jDesktopPane1 = new Cls_DesktopPaneConFondo();
jToolBar1 = new javax.swing.JToolBar();
JtbSalir = new javax.swing.JButton();
JtbCliente = new javax.swing.JButton();
JtbProveedor = new javax.swing.JButton();
JtbProducto = new javax.swing.JButton();
JtbVender = new javax.swing.JButton();
mainPanel.setName("mainPanel"); // NOI18N
javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel);
mainPanel.setLayout(mainPanelLayout);
mainPanelLayout.setHorizontalGroup(
mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 400, Short.MAX_VALUE)
);
mainPanelLayout.setVerticalGroup(
mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 247, Short.MAX_VALUE)
);
menuBar.setName("menuBar"); // NOI18N
org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(aplibodega.ApliBodegaApp.class).getContext().getResourceMap(ApliBodegaView.class);
fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N
fileMenu.setName("fileMenu"); // NOI18N
javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(aplibodega.ApliBodegaApp.class).getContext().getActionMap(ApliBodegaView.class, this);
exitMenuItem.setAction(actionMap.get("quit")); // NOI18N
exitMenuItem.setIcon(resourceMap.getIcon("exitMenuItem.icon")); // NOI18N
exitMenuItem.setText(resourceMap.getString("exitMenuItem.text")); // NOI18N
exitMenuItem.setName("exitMenuItem"); // NOI18N
fileMenu.add(exitMenuItem);
menuBar.add(fileMenu);
jmAdministracion.setText(resourceMap.getString("jmAdministracion.text")); // NOI18N
jmAdministracion.setName("jmAdministracion"); // NOI18N
JmiUsuario.setIcon(resourceMap.getIcon("JmiUsuario.icon")); // NOI18N
JmiUsuario.setText(resourceMap.getString("JmiUsuario.text")); // NOI18N
JmiUsuario.setName("JmiUsuario"); // NOI18N
JmiUsuario.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiUsuarioActionPerformed(evt);
}
});
jmAdministracion.add(JmiUsuario);
JmiEmpleado.setIcon(resourceMap.getIcon("JmiEmpleado.icon")); // NOI18N
JmiEmpleado.setText(resourceMap.getString("JmiEmpleado.text")); // NOI18N
JmiEmpleado.setName("JmiEmpleado"); // NOI18N
JmiEmpleado.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiEmpleadoActionPerformed(evt);
}
});
jmAdministracion.add(JmiEmpleado);
JmiCargo.setIcon(resourceMap.getIcon("JmiCargo.icon")); // NOI18N
JmiCargo.setText(resourceMap.getString("JmiCargo.text")); // NOI18N
JmiCargo.setName("JmiCargo"); // NOI18N
JmiCargo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiCargoActionPerformed(evt);
}
});
jmAdministracion.add(JmiCargo);
jSeparator2.setName("jSeparator2"); // NOI18N
jmAdministracion.add(jSeparator2);
JmiProveedor.setIcon(resourceMap.getIcon("JmiProveedor.icon")); // NOI18N
JmiProveedor.setText(resourceMap.getString("JmiProveedor.text")); // NOI18N
JmiProveedor.setName("JmiProveedor"); // NOI18N
JmiProveedor.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiProveedorActionPerformed(evt);
}
});
jmAdministracion.add(JmiProveedor);
JmiCliente.setIcon(resourceMap.getIcon("JmiCliente.icon")); // NOI18N
JmiCliente.setText(resourceMap.getString("JmiCliente.text")); // NOI18N
JmiCliente.setName("JmiCliente"); // NOI18N
JmiCliente.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiClienteActionPerformed(evt);
}
});
jmAdministracion.add(JmiCliente);
jSeparator1.setName("jSeparator1"); // NOI18N
jmAdministracion.add(jSeparator1);
JmiProducto.setIcon(resourceMap.getIcon("JmiProducto.icon")); // NOI18N
JmiProducto.setText(resourceMap.getString("JmiProducto.text")); // NOI18N
JmiProducto.setName("JmiProducto"); // NOI18N
JmiProducto.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiProductoActionPerformed(evt);
}
});
jmAdministracion.add(JmiProducto);
JmiCategoria.setIcon(resourceMap.getIcon("JmiCategoria.icon")); // NOI18N
JmiCategoria.setText(resourceMap.getString("JmiCategoria.text")); // NOI18N
JmiCategoria.setName("JmiCategoria"); // NOI18N
JmiCategoria.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiCategoriaActionPerformed(evt);
}
});
jmAdministracion.add(JmiCategoria);
JmiMarca.setIcon(resourceMap.getIcon("JmiMarca.icon")); // NOI18N
JmiMarca.setText(resourceMap.getString("JmiMarca.text")); // NOI18N
JmiMarca.setName("JmiMarca"); // NOI18N
JmiMarca.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiMarcaActionPerformed(evt);
}
});
jmAdministracion.add(JmiMarca);
JmiUnidadMedida.setIcon(resourceMap.getIcon("JmiUnidadMedida.icon")); // NOI18N
JmiUnidadMedida.setText(resourceMap.getString("JmiUnidadMedida.text")); // NOI18N
JmiUnidadMedida.setName("JmiUnidadMedida"); // NOI18N
JmiUnidadMedida.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiUnidadMedidaActionPerformed(evt);
}
});
jmAdministracion.add(JmiUnidadMedida);
menuBar.add(jmAdministracion);
jmVenta.setText(resourceMap.getString("jmVenta.text")); // NOI18N
jmVenta.setName("jmVenta"); // NOI18N
JmiGestionarVenta.setIcon(resourceMap.getIcon("JmiGestionarVenta.icon")); // NOI18N
JmiGestionarVenta.setText(resourceMap.getString("JmiGestionarVenta.text")); // NOI18N
JmiGestionarVenta.setName("JmiGestionarVenta"); // NOI18N
JmiGestionarVenta.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiGestionarVentaActionPerformed(evt);
}
});
jmVenta.add(JmiGestionarVenta);
jMenu6.setIcon(resourceMap.getIcon("jMenu6.icon")); // NOI18N
jMenu6.setText(resourceMap.getString("jMenu6.text")); // NOI18N
jMenu6.setName("jMenu6"); // NOI18N
JmiReporteProducto.setIcon(resourceMap.getIcon("JmiReporteProducto.icon")); // NOI18N
JmiReporteProducto.setText(resourceMap.getString("JmiReporteProducto.text")); // NOI18N
JmiReporteProducto.setName("JmiReporteProducto"); // NOI18N
JmiReporteProducto.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiReporteProductoActionPerformed(evt);
}
});
jMenu6.add(JmiReporteProducto);
jmVenta.add(jMenu6);
menuBar.add(jmVenta);
jmConsultas.setText(resourceMap.getString("jmConsultas.text")); // NOI18N
jmConsultas.setName("jmConsultas"); // NOI18N
JmiConsultaUsuario.setIcon(resourceMap.getIcon("JmiConsultaUsuario.icon")); // NOI18N
JmiConsultaUsuario.setText(resourceMap.getString("JmiConsultaUsuario.text")); // NOI18N
JmiConsultaUsuario.setName("JmiConsultaUsuario"); // NOI18N
JmiConsultaUsuario.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiConsultaUsuarioActionPerformed(evt);
}
});
jmConsultas.add(JmiConsultaUsuario);
JmiConsultaEmpleado.setIcon(resourceMap.getIcon("JmiConsultaEmpleado.icon")); // NOI18N
JmiConsultaEmpleado.setText(resourceMap.getString("JmiConsultaEmpleado.text")); // NOI18N
JmiConsultaEmpleado.setName("JmiConsultaEmpleado"); // NOI18N
JmiConsultaEmpleado.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiConsultaEmpleadoActionPerformed(evt);
}
});
jmConsultas.add(JmiConsultaEmpleado);
JmiConsultaProveedor.setIcon(resourceMap.getIcon("JmiConsultaProveedor.icon")); // NOI18N
JmiConsultaProveedor.setText(resourceMap.getString("JmiConsultaProveedor.text")); // NOI18N
JmiConsultaProveedor.setName("JmiConsultaProveedor"); // NOI18N
JmiConsultaProveedor.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiConsultaProveedorActionPerformed(evt);
}
});
jmConsultas.add(JmiConsultaProveedor);
JmiConsultaCliente.setIcon(resourceMap.getIcon("JmiConsultaCliente.icon")); // NOI18N
JmiConsultaCliente.setText(resourceMap.getString("JmiConsultaCliente.text")); // NOI18N
JmiConsultaCliente.setName("JmiConsultaCliente"); // NOI18N
JmiConsultaCliente.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiConsultaClienteActionPerformed(evt);
}
});
jmConsultas.add(JmiConsultaCliente);
JmiConsultaArticulo.setIcon(resourceMap.getIcon("JmiConsultaArticulo.icon")); // NOI18N
JmiConsultaArticulo.setText(resourceMap.getString("JmiConsultaArticulo.text")); // NOI18N
JmiConsultaArticulo.setName("JmiConsultaArticulo"); // NOI18N
JmiConsultaArticulo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiConsultaArticuloActionPerformed(evt);
}
});
jmConsultas.add(JmiConsultaArticulo);
menuBar.add(jmConsultas);
jmReportes.setText(resourceMap.getString("jmReportes.text")); // NOI18N
jmReportes.setName("jmReportes"); // NOI18N
JmiReporteEmpleado.setIcon(resourceMap.getIcon("JmiReporteEmpleado.icon")); // NOI18N
JmiReporteEmpleado.setText(resourceMap.getString("JmiReporteEmpleado.text")); // NOI18N
JmiReporteEmpleado.setName("JmiReporteEmpleado"); // NOI18N
JmiReporteEmpleado.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiReporteEmpleadoActionPerformed(evt);
}
});
jmReportes.add(JmiReporteEmpleado);
JmiReporteProveedor.setIcon(resourceMap.getIcon("JmiReporteProveedor.icon")); // NOI18N
JmiReporteProveedor.setText(resourceMap.getString("JmiReporteProveedor.text")); // NOI18N
JmiReporteProveedor.setName("JmiReporteProveedor"); // NOI18N
JmiReporteProveedor.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiReporteProveedorActionPerformed(evt);
}
});
jmReportes.add(JmiReporteProveedor);
JmiReporteCliente.setIcon(resourceMap.getIcon("JmiReporteCliente.icon")); // NOI18N
JmiReporteCliente.setText(resourceMap.getString("JmiReporteCliente.text")); // NOI18N
JmiReporteCliente.setName("JmiReporteCliente"); // NOI18N
JmiReporteCliente.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiReporteClienteActionPerformed(evt);
}
});
jmReportes.add(JmiReporteCliente);
menuBar.add(jmReportes);
jMenu5.setText(resourceMap.getString("jMenu5.text")); // NOI18N
jMenu5.setName("jMenu5"); // NOI18N
JmiAcercaDe.setIcon(resourceMap.getIcon("JmiAcercaDe.icon")); // NOI18N
JmiAcercaDe.setText(resourceMap.getString("JmiAcercaDe.text")); // NOI18N
JmiAcercaDe.setName("JmiAcercaDe"); // NOI18N
JmiAcercaDe.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JmiAcercaDeActionPerformed(evt);
}
});
jMenu5.add(JmiAcercaDe);
menuBar.add(jMenu5);
statusPanel.setName("statusPanel"); // NOI18N
statusPanel.setPreferredSize(new java.awt.Dimension(400, 35));
statusPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N
statusPanel.add(statusPanelSeparator, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 400, -1));
statusMessageLabel.setName("statusMessageLabel"); // NOI18N
statusPanel.add(statusMessageLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 8, -1, -1));
statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
statusAnimationLabel.setName("statusAnimationLabel"); // NOI18N
statusPanel.add(statusAnimationLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 8, -1, -1));
progressBar.setName("progressBar"); // NOI18N
statusPanel.add(progressBar, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 8, -1, -1));
jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
jLabel1.setName("jLabel1"); // NOI18N
statusPanel.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, -1));
lblNombreUsuario.setFont(resourceMap.getFont("lblNombreUsuario.font")); // NOI18N
lblNombreUsuario.setText(resourceMap.getString("lblNombreUsuario.text")); // NOI18N
lblNombreUsuario.setName("lblNombreUsuario"); // NOI18N
statusPanel.add(lblNombreUsuario, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 10, 150, -1));
jDesktopPane1.setName("jDesktopPane1"); // NOI18N
((Cls_DesktopPaneConFondo)jDesktopPane1).setImagen("/Images/fondo_menu.jpg");
jToolBar1.setRollover(true);
jToolBar1.setName("jToolBar1"); // NOI18N
JtbSalir.setIcon(resourceMap.getIcon("JtbSalir.icon")); // NOI18N
JtbSalir.setText(resourceMap.getString("JtbSalir.text")); // NOI18N
JtbSalir.setToolTipText(resourceMap.getString("JtbSalir.toolTipText")); // NOI18N
JtbSalir.setFocusable(false);
JtbSalir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
JtbSalir.setName("JtbSalir"); // NOI18N
JtbSalir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
JtbSalir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JtbSalirActionPerformed(evt);
}
});
jToolBar1.add(JtbSalir);
JtbCliente.setIcon(resourceMap.getIcon("JtbCliente.icon")); // NOI18N
JtbCliente.setText(resourceMap.getString("JtbCliente.text")); // NOI18N
JtbCliente.setToolTipText(resourceMap.getString("JtbCliente.toolTipText")); // NOI18N
JtbCliente.setFocusable(false);
JtbCliente.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
JtbCliente.setName("JtbCliente"); // NOI18N
JtbCliente.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
JtbCliente.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JtbClienteActionPerformed(evt);
}
});
jToolBar1.add(JtbCliente);
JtbProveedor.setIcon(resourceMap.getIcon("JtbProveedor.icon")); // NOI18N
JtbProveedor.setText(resourceMap.getString("JtbProveedor.text")); // NOI18N
JtbProveedor.setToolTipText(resourceMap.getString("JtbProveedor.toolTipText")); // NOI18N
JtbProveedor.setFocusable(false);
JtbProveedor.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
JtbProveedor.setName("JtbProveedor"); // NOI18N
JtbProveedor.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
JtbProveedor.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JtbProveedorActionPerformed(evt);
}
});
jToolBar1.add(JtbProveedor);
JtbProducto.setIcon(resourceMap.getIcon("JtbProducto.icon")); // NOI18N
JtbProducto.setText(resourceMap.getString("JtbProducto.text")); // NOI18N
JtbProducto.setFocusable(false);
JtbProducto.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
JtbProducto.setName("JtbProducto"); // NOI18N
JtbProducto.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
JtbProducto.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JtbProductoActionPerformed(evt);
}
});
jToolBar1.add(JtbProducto);
JtbVender.setIcon(resourceMap.getIcon("JtbVender.icon")); // NOI18N
JtbVender.setText(resourceMap.getString("JtbVender.text")); // NOI18N
JtbVender.setToolTipText(resourceMap.getString("JtbVender.toolTipText")); // NOI18N
JtbVender.setFocusable(false);
JtbVender.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
JtbVender.setName("JtbVender"); // NOI18N
JtbVender.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
JtbVender.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
JtbVenderActionPerformed(evt);
}
});
jToolBar1.add(JtbVender);
setComponent(jDesktopPane1);
setMenuBar(menuBar);
setStatusBar(statusPanel);
setToolBar(jToolBar1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public PatientUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Magasin() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public MusteriEkle() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public frmVenda() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
] | [
"0.7321342",
"0.7292121",
"0.7292121",
"0.7292121",
"0.72863305",
"0.7249828",
"0.7213628",
"0.7209084",
"0.7197292",
"0.71912086",
"0.7185135",
"0.7159969",
"0.7148876",
"0.70944786",
"0.70817256",
"0.7057678",
"0.69884527",
"0.69786763",
"0.69555986",
"0.69548863",
"0.69453996",
"0.69434965",
"0.69369817",
"0.6933186",
"0.6929363",
"0.69259083",
"0.69255763",
"0.69123995",
"0.6911665",
"0.6894565",
"0.6894252",
"0.68922615",
"0.6891513",
"0.68894076",
"0.6884006",
"0.68833494",
"0.6882281",
"0.6879356",
"0.68761575",
"0.68752",
"0.6872568",
"0.68604666",
"0.68577915",
"0.6856901",
"0.68561065",
"0.6854837",
"0.68547136",
"0.6853745",
"0.6853745",
"0.68442935",
"0.6838013",
"0.6837",
"0.6830046",
"0.68297213",
"0.68273175",
"0.682496",
"0.6822801",
"0.6818054",
"0.68177056",
"0.6812038",
"0.68098444",
"0.68094784",
"0.6809155",
"0.680804",
"0.68033874",
"0.6795021",
"0.67937285",
"0.6793539",
"0.6791893",
"0.6790516",
"0.6789873",
"0.67883795",
"0.67833847",
"0.6766774",
"0.6766581",
"0.67658913",
"0.67575616",
"0.67566",
"0.6754101",
"0.6751978",
"0.6741716",
"0.6740939",
"0.6738424",
"0.6737342",
"0.6734709",
"0.672855",
"0.6728138",
"0.6721558",
"0.6716595",
"0.6716134",
"0.6715878",
"0.67096144",
"0.67083293",
"0.6703436",
"0.6703149",
"0.6701421",
"0.67001027",
"0.66999036",
"0.66951054",
"0.66923416",
"0.6690235"
] | 0.0 | -1 |
Returns the value of the value header field. | public int getValue() {
return value;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getValue() {\n\t\treturn (String) get_Value(\"Value\");\n\t}",
"public String getValue()\n {\n String v = (String)this.getFieldValue(FLD_value);\n return StringTools.trim(v);\n }",
"public String getValue() {\n\t\tString value;\n\t\ttry {\n\t\t\tvalue = this.getString(\"value\");\n\t\t} catch (Exception e) {\n\t\t\tvalue = null;\n\t\t}\n\t\treturn value;\n\t}",
"public String getValue()\r\n\t{\r\n\t\treturn value;\r\n\t}",
"java.lang.String getValue();",
"java.lang.String getValue();",
"java.lang.String getValue();",
"java.lang.String getValue();",
"java.lang.String getValue();",
"java.lang.String getValue();",
"public String getValue()\n {\n return value;\n }",
"public String getValue(){\n\t\treturn _value;\n\t}",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue() {\r\n return value;\r\n }",
"public String getValue()\n {\n return value;\n }",
"public String getValue() {\r\n\t\treturn value;\r\n\t}",
"public String getValue() {\n\t\treturn value;\n\t}",
"public String getValue() {\n\t\treturn value;\n\t}",
"public String getValue() {\n\t\treturn value;\n\t}",
"public String getValue() {\n\t\treturn value;\n\t}",
"public String getValue() {\n\t\treturn value;\n\t}",
"public String getValue()\n {\n return value;\n }",
"public String getValue()\n {\n return value;\n }",
"public String getValue(){\n\t\treturn this.value;\n\t}",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue() {\n return value;\n }",
"public String getValue()\n {\n return fValue;\n }",
"public String getValue () { return value; }",
"public String getValue() {\n\t\treturn this.value;\n\t}",
"public String getValue() {\n\t\treturn this.value;\n\t}",
"public String getValue() {\n\t\treturn this.value;\n\t}",
"public String getValue() { return value; }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\n return this.value;\n }",
"public String getValue() {\r\n\t\t\treturn mValue;\r\n\t\t}",
"public String getValue( )\n {\n return _strValue;\n }",
"@Override\n\t\t\tpublic String getValue() {\n\t\t\t\treturn value;\n\t\t\t}",
"public String getValue()\n {\n return this.value;\n }",
"public String getValue() {\n\t\treturn mValue;\n\t}",
"public V getValue()\r\n\t\t{\r\n\t\t\treturn val;\r\n\t\t}",
"public org.apache.calcite.avatica.proto.Common.TypedValue getValue() {\n if (valueBuilder_ == null) {\n return value_ == null ? org.apache.calcite.avatica.proto.Common.TypedValue.getDefaultInstance() : value_;\n } else {\n return valueBuilder_.getMessage();\n }\n }",
"public String getValue() {\n return String.valueOf(value);\n }",
"public String getFieldValue() {\n return TF_Field_Value;\n }",
"public java.lang.String getValue() {\n return value;\n }",
"public String getValue() {\n return getMethodValue(\"value\");\n }",
"public String getValue()\n {\n return mValue;\n }",
"@Override\n\tpublic String getValue() {\n\t\treturn value;\n\t}",
"public String getValue() {\n\t\t\treturn this.val; // to be replaced by student code\n\t\t}",
"public V getValue() {\n\t\treturn value;\n\t}",
"public V getValue() {\n\t\treturn value;\n\t}",
"@Override\n\t\tpublic V getValue(){\n\t\t\treturn value;\n\t\t}",
"public String getValue() {\n\n return this.value;\n\n }",
"public V getValue() {\r\n\t\treturn value;\r\n\t}",
"@Override\n public V getValue() {\n return m_value;\n }",
"public java.lang.String getHeaderValue() {\r\n return headerValue;\r\n }",
"String getValue()\n {\n return value.toString();\n }",
"@Override\r\n\tpublic String getValue() {\n\t\treturn value;\r\n\t}",
"public com.google.protobuf.ByteString getValueBytes() {\n java.lang.Object ref = value_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n value_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getValue(){\n return this.value;\n }",
"public Object getValue()\r\n\t{\r\n\t\treturn m_value;\r\n\t}",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"String getValue();",
"public com.google.protobuf.ByteString getValueBytes() {\n java.lang.Object ref = value_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n value_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getValue() {\n Object ref = value_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n value_ = s;\n return s;\n }\n }",
"public String getValue() {\n Object ref = value_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public V getValue() {\n return value;\n }",
"public V getValue() {\n return value;\n }"
] | [
"0.7301689",
"0.72611207",
"0.7085744",
"0.70706916",
"0.7054143",
"0.7054143",
"0.7054143",
"0.7054143",
"0.7054143",
"0.7054143",
"0.7025075",
"0.70155424",
"0.69935673",
"0.69935673",
"0.69935673",
"0.69935673",
"0.69935673",
"0.69824296",
"0.6978571",
"0.69714284",
"0.69560176",
"0.69560176",
"0.69560176",
"0.69560176",
"0.69560176",
"0.69387823",
"0.69387823",
"0.6938284",
"0.6933585",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6930591",
"0.6923531",
"0.6921768",
"0.6914836",
"0.6906636",
"0.6906636",
"0.6906636",
"0.68968254",
"0.6895099",
"0.6895099",
"0.6895099",
"0.6895099",
"0.6895099",
"0.6895099",
"0.6895099",
"0.68871206",
"0.68830764",
"0.6879371",
"0.6867935",
"0.6855548",
"0.68438506",
"0.68337375",
"0.68330485",
"0.6816595",
"0.6810256",
"0.6809389",
"0.6799964",
"0.6784292",
"0.6779625",
"0.6779292",
"0.6779292",
"0.67686445",
"0.675356",
"0.67486966",
"0.6730829",
"0.67227423",
"0.67204094",
"0.6719881",
"0.6711891",
"0.67115915",
"0.67083764",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.66947293",
"0.6694307",
"0.6680161",
"0.6659912",
"0.6648692",
"0.6648692"
] | 0.0 | -1 |
Sets the value of the value field of this ServiceType to the specified value. | public void setValue(int value) {
this.value = value;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setValue(Object value)\r\n {\r\n m_value = value;\r\n }",
"public void setValue(Value value) {\n this.value = value;\n }",
"public void setValue(T value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(T value) {\n\t\tthis.value = value;\n\t}",
"public void setServiceValue(String serviceValue) throws JNCException {\n setServiceValue(new YangString(serviceValue));\n }",
"public void setServiceValue(String serviceValue) throws JNCException {\n setServiceValue(new YangString(serviceValue));\n }",
"public void setValue(T value) {\n this.value = value;\n }",
"public void setValue(Object value) {\n this.value = value;\n }",
"public void setValue(T value) \n\t{\n\t\tthis.value = value;\n\t}",
"public void setValue(Object value)\r\n\t{\r\n\t\tm_value = value;\r\n\t}",
"public void setServiceValue(YangString serviceValue) throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"service\",\n serviceValue,\n childrenNames());\n }",
"public void setServiceValue(YangString serviceValue) throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"service\",\n serviceValue,\n childrenNames());\n }",
"public void setValue(final Object value) { _value = value; }",
"public void set(T pValue) {\n mValue = pValue;\n }",
"public void setValue(final V value) {\n this.value = value;\n }",
"void setValue(T value)\n\t\t{\n\t\t\tthis.value = value;\n\t\t}",
"public void setValue(String value) {\n\t\tmValue = value;\n\t}",
"protected void setValue(T value) {\r\n this.value = value;\r\n }",
"public void set(V value) {\n Rules.checkAttributeValue(value);\n checkType(value);\n this.value = value;\n isSleeping = false;\n notifyObservers();\n }",
"public void setValue(Object value) { this.value = value; }",
"public void set(final V value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(Object value) {\n Class type = value.getClass();\n if (type == Boolean.class)\n setIntValue((((Boolean) value).booleanValue()) ? 1 : 0);\n else if (type == Character.class)\n setIntValue((int) ((Character) value).charValue());\n else if (type == Byte.class || type == Integer.class \n || type == Short.class)\n setIntValue(((Number) value).intValue());\n else if (type == Float.class)\n setFloatValue(((Number) value).floatValue());\n else if (type == Double.class)\n setDoubleValue(((Number) value).doubleValue());\n else if (type == Long.class)\n setLongValue(((Number) value).longValue());\n else\n setStringValue(value.toString());\n }",
"@SuppressWarnings(\"unchecked\")\n public void setValue(Object value) {\n if (element != null) {\n element.setValue((V)value);\n }\n }",
"final public void setValue(Object value)\n {\n setProperty(VALUE_KEY, (value));\n }",
"public void setService(Service value) {\n\t\tthis._service = value;\n\t}",
"public void setValue(String value) {\r\n this.value = value;\r\n }",
"public void setValue(String value) {\r\n this.value = value;\r\n }",
"public void setValue(String value) {\r\n this.value = value;\r\n }",
"public void setValue(String value) {\r\n this.value = value;\r\n }",
"public void setValue(String value) {\r\n this.value = value;\r\n }",
"public void setValue(String value) {\r\n\t\tthis.value = value;\r\n\t}",
"public Builder setService(go.micro.runtime.RuntimeOuterClass.Service value) {\n if (serviceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n service_ = value;\n onChanged();\n } else {\n serviceBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public Builder setService(go.micro.runtime.RuntimeOuterClass.Service value) {\n if (serviceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n service_ = value;\n onChanged();\n } else {\n serviceBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public Builder setService(go.micro.runtime.RuntimeOuterClass.Service value) {\n if (serviceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n service_ = value;\n onChanged();\n } else {\n serviceBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public void setValue(String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(String value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(String value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(String value) {\n\t\tthis.value = value;\n\t}",
"public export.serializers.avro.DeviceInfo.Builder setService(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.service = value;\n fieldSetFlags()[1] = true;\n return this;\n }",
"public void setValue( String value )\n {\n this.value = value;\n }",
"public void setValue(String value)\n {\n this.value = value;\n }",
"public void setValue(Object value) {\n setValue(value.toString());\n }",
"public void setValue(String value) {\n\t\tthis.value = value;\n\t}",
"public void setValue(T value) {\n this.mValue = value;\n if (mDependency == null)\n mDependency = new ReactorDependency();\n\n mDependency.changed();\n }",
"public void setValue(Object value);",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"public void setValue(Object value) {\n\t\tthis.value = value;\n\t\tsetValueAction(value);\n\t}",
"@JacksonXmlProperty(isAttribute = true, localName = \"value\")\n public Builder value(String value) {\n this.value = value;\n return this;\n }",
"public void setValue(final String value)\n {\n this.value = value;\n }",
"public void setValue(final String value) {\n this.value = value;\n }",
"public void setValue(String value) {\n\t this.valueS = value;\n\t }",
"public void setType(String value) {\n this.type = value;\n }",
"public Builder setTypeValue(int value) {\n\t\t\t\t\ttype_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}",
"public void setValue(java.lang.String value) {\n this.value = value;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n bitField0_ |= 0x00000001;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n\t\t\t\ttype_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}",
"@Override\n public void setValue(Object val)\n {\n value = val;\n }",
"public void setValue(/* @Nullable */ final T value) {\n this.value = value;\n }",
"public boolean setValue (\n\t\t\tfinal V value)\n\t\t{\n\t\t\t_value = value;\n\t\t\treturn true;\n\t\t}",
"public void setValue(Entity value) {\r\n\t\t\tthis.value = value;\r\n\t\t}",
"public void set (String Value)\n\t\t{\n\t\tthis.Value = Value;\t\t\n\t\t}",
"public Builder setTypeValue(int value) {\n type_ = value;\n bitField0_ |= 0x00000004;\n onChanged();\n return this;\n }",
"public V setValue(V value);",
"public void setValue(final Object value) {\n spinner.setValue(value);\n }",
"@Override\n\tpublic void setComponentValue(Object value) {\n\t\t\n\t}",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n \n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n\n type_ = value;\n onChanged();\n return this;\n }",
"void setValue(T value);",
"void setValue(T value);",
"void setValue(gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type.Value.Enum value);",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public Builder setTypeValue(int value) {\n type_ = value;\n onChanged();\n return this;\n }",
"public SeriesInstance setType(StringDt theValue) {\n\t\tmyType = theValue;\n\t\treturn this;\n\t}",
"public void setValue(Number value) {\n setAttributeInternal(VALUE, value);\n }",
"public Builder setVal(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n val_ = value;\n onChanged();\n return this;\n }",
"public void setValue(String value);",
"public void setValue(String value);",
"public void setValue(String value);",
"public void setValue(String value);",
"@Override\n\tpublic void setValue(V value) {\n\n\t\tif (value != null) {\n\t\t\tvar checkbox = checkboxMap.get(value);\n\t\t\tif (checkbox != null) {\n\t\t\t\tcheckbox.setValueAndHandleChangeCallback(true);\n\t\t\t}\n\t\t}\n\t}",
"public void setValueClass(Class<? extends Type> valueClass) {\n this.valueClass = valueClass;\n }",
"void setValue(Object value);",
"V setValue(final V value) {\n\t setMethod.accept(value);\n\n\t return value;\n\t}",
"public void setValue(AXValue value) {\n this.value = value;\n }",
"public void setValue(java.util.Date value) {\n this.value = value;\n }",
"@Override\n\tpublic void setValue(Object value) {\n\t\tint id = ((VObject) value).getId();\n\t\tItemData item = initItemData(id);\n\t\t((Combobox) component).setText(item.getLabel());\n\t\tsuper.setValue(value);\n\t}",
"public void setValue(String value)\n {\n if (value == null)\n throw new IllegalArgumentException(\"value cannot be null\");\n \n this.value = value;\n }",
"public Builder setType(Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }",
"public void set(String value) {\n // Si es un nuevo valor se establece y se notifica.\n if (!TextUtils.equals(this.mValue, value)) {\n mValue = value;\n notifyChange();\n }\n }",
"protected abstract void setValue(V value);"
] | [
"0.6859455",
"0.68593144",
"0.6835481",
"0.6835481",
"0.6834079",
"0.6834079",
"0.6797071",
"0.67523134",
"0.6718034",
"0.6705383",
"0.6683154",
"0.6683154",
"0.6633083",
"0.66073054",
"0.6603494",
"0.65780103",
"0.65546864",
"0.6551365",
"0.6518554",
"0.64742994",
"0.6463127",
"0.6459741",
"0.6455801",
"0.64463717",
"0.6374157",
"0.63729274",
"0.63729274",
"0.63729274",
"0.63729274",
"0.63729274",
"0.63637954",
"0.6362385",
"0.6362385",
"0.6362385",
"0.633392",
"0.633392",
"0.633392",
"0.633392",
"0.633392",
"0.63205457",
"0.63205457",
"0.63205457",
"0.63205457",
"0.6286793",
"0.62315875",
"0.62165296",
"0.6180287",
"0.61759293",
"0.61617696",
"0.6150899",
"0.6150691",
"0.6138831",
"0.6123774",
"0.6108398",
"0.6102724",
"0.6101904",
"0.60854024",
"0.6080395",
"0.60783726",
"0.6076332",
"0.60571647",
"0.6047447",
"0.6047437",
"0.6047252",
"0.6018343",
"0.6007822",
"0.599616",
"0.59875005",
"0.5986957",
"0.59860027",
"0.5984183",
"0.5984183",
"0.5984183",
"0.5984183",
"0.5984183",
"0.598241",
"0.5980648",
"0.5980329",
"0.59728134",
"0.59728134",
"0.59582967",
"0.5948822",
"0.5948822",
"0.5914568",
"0.5905102",
"0.5884402",
"0.58839977",
"0.58839977",
"0.58839977",
"0.58839977",
"0.5880527",
"0.58707947",
"0.5859349",
"0.5846362",
"0.5845284",
"0.58424515",
"0.58409643",
"0.5840598",
"0.58262545",
"0.5822544",
"0.5817034"
] | 0.0 | -1 |
Returns the value of the desc header field. | public String getDesc() {
return desc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getDesc() {\n\t return desc;\n\t }",
"public java.lang.String getDesc() {\n\t\treturn desc;\n\t}",
"public java.lang.String getDesc() {\r\n return desc;\r\n }",
"java.lang.String getDesc();",
"public String getDesc(){\r\n\t\treturn this.desc;\r\n\t}",
"public java.lang.String getDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDescInfo() {\n return descInfo;\n }",
"String getDesc();",
"public String getDescription()\r\n {\r\n\treturn desc;\r\n }",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n return (desc);\n }",
"public String getDescription() {\n return sdesc;\n }",
"public String getDesc()\r\n {\r\n return description;\r\n }",
"public String getDescription() {\n return desc;\n }",
"public String getFieldDescription()\n {\n return m_strDescription;\n }",
"public String getDescription(){\n\n //returns the value of the description field\n return this.description;\n }",
"public String getDescription() {\n return desc;\n }",
"public String getDescription() {\n return getGenericFieldValue(\"Description\");\n }",
"public java.lang.String getDescribe() {\n java.lang.Object ref = describe_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n describe_ = s;\n }\n return s;\n }\n }",
"public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }",
"public Optional<String> desc() {\n\t\t\treturn Optional.ofNullable(_description);\n\t\t}",
"public String getDescription() {\n if ((desc == null) && (forVar != null)) {\n Attribute att = forVar.findAttributeIgnoreCase(CDM.LONG_NAME);\n if ((att != null) && att.isString())\n desc = att.getStringValue();\n\n if (desc == null) {\n att = forVar.findAttributeIgnoreCase(\"description\");\n if ((att != null) && att.isString())\n desc = att.getStringValue();\n }\n\n if (desc == null) {\n att = forVar.findAttributeIgnoreCase(CDM.TITLE);\n if ((att != null) && att.isString())\n desc = att.getStringValue();\n }\n\n if (desc == null) {\n att = forVar.findAttributeIgnoreCase(CF.STANDARD_NAME);\n if ((att != null) && att.isString())\n desc = att.getStringValue();\n }\n }\n return (desc == null) ? null : desc.trim();\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n description_ = s;\n }\n return s;\n }\n }",
"public String getDescr() {\r\n return descr;\r\n }",
"public java.lang.String getDescribe() {\n java.lang.Object ref = describe_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n describe_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getDescription() { \n\t\treturn getDescriptionElement().getValue();\n\t}",
"public String getDescription() { \n\t\treturn getDescriptionElement().getValue();\n\t}",
"public String getDescribe() {\n Object ref = describe_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n describe_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getDescribe() {\n Object ref = describe_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n describe_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getDescription()\r\n {\r\n return this.aDescription ;\r\n }",
"public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }",
"public String getDescr() {\n\t\treturn _descr;\n\t}",
"public String getDescr() {\n\t\treturn _descr;\n\t}",
"public java.lang.String getDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }",
"public String getDescription() throws Exception{\n\treturn strDesc;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getDescription() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(DESCRIPTION_PROP.get());\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"public String desc() {\n return this.getEscapedColumnName() + \" DESC\";\n }",
"@Override\n\tpublic String getdescription() {\n\t\treturn this.description.getDesc();\n\t}",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getDescription() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(DESCRIPTION_PROP.get());\n }",
"public String getDescription() {\n return (String)getAttributeInternal(DESCRIPTION);\n }",
"public String getDescription() {\n return (String)getAttributeInternal(DESCRIPTION);\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }",
"public String getDescription()\r\n\t{\treturn this.description;\t}",
"public String getDescription() {\n\t\tString t = doc.get(\"description\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}",
"@Override\n public com.google.protobuf.ByteString\n getDescriptionBytes() {\n Object ref = description_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n }\n }",
"public String getDescName() {\r\n return _descName;\r\n }",
"public AXValue getDescription() {\n return description;\n }",
"public String getDescription() {\r\n\t\treturn McsElement.getElementByXpath(driver, DESCRIPTION_TXTAREA)\r\n\t\t\t\t.getAttribute(\"value\");\r\n\t}",
"public String description() {\n return this.descr;\n }",
"public String getDescription() {\n Object ref = description_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getDESCRIPTION() {\r\n return DESCRIPTION;\r\n }",
"java.lang.String getDescription();"
] | [
"0.75090575",
"0.7477135",
"0.74677825",
"0.74578714",
"0.74345076",
"0.74255717",
"0.73627824",
"0.73627824",
"0.73627824",
"0.73627824",
"0.73627824",
"0.7142358",
"0.70859075",
"0.7085569",
"0.70287514",
"0.70287514",
"0.70287514",
"0.70287514",
"0.7021718",
"0.70067763",
"0.69861704",
"0.6978839",
"0.69727194",
"0.69249266",
"0.69159526",
"0.68756354",
"0.68682283",
"0.68384457",
"0.68378943",
"0.68334657",
"0.6828918",
"0.6812947",
"0.6812584",
"0.67928815",
"0.67928815",
"0.67919195",
"0.67919195",
"0.676777",
"0.6752097",
"0.67357576",
"0.67357576",
"0.67345047",
"0.6716306",
"0.6714179",
"0.67089826",
"0.67089826",
"0.67089826",
"0.67089826",
"0.67089826",
"0.67081314",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.67037296",
"0.669966",
"0.6692555",
"0.6688354",
"0.668366",
"0.66820294",
"0.66820294",
"0.66739595",
"0.66739595",
"0.66739595",
"0.66739595",
"0.66739595",
"0.66665196",
"0.6658967",
"0.66551334",
"0.6653718",
"0.6648195",
"0.6648195",
"0.6648195",
"0.6648195",
"0.6648195",
"0.66407055",
"0.66307616",
"0.66288495",
"0.6624605",
"0.6618582",
"0.6617652",
"0.66085774",
"0.66085774",
"0.66085774",
"0.66085774",
"0.66085774",
"0.6607506",
"0.6603579",
"0.6603045",
"0.6596193",
"0.65915316",
"0.6588584",
"0.6574344"
] | 0.74804825 | 2 |
Sets the value of the desc field of this ServiceType to the specified value. | public void setDesc(String desc) {
this.desc = desc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setDesc(java.lang.String desc);",
"public void setDesc(java.lang.String desc) {\r\n this.desc = desc;\r\n }",
"public void setDesc(java.lang.String desc) {\n\t\tthis.desc = desc;\n\t}",
"public void setDesc(String desc) {\n\t this.desc = desc;\n\t }",
"public void setDescription(String desc) {\n sdesc = desc;\n }",
"public void setDesc(String desc) {\n this.desc = desc;\n }",
"public void setDesc(String desc) {\n this.desc = desc;\n }",
"public void setDesc(java.lang.String desc)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESC$10);\r\n }\r\n target.setStringValue(desc);\r\n }\r\n }",
"public final void setDescription(final String desc) {\n mDescription = desc;\n }",
"public void setDescription(String desc) {\n description = desc;\n }",
"public void setDescription(String desc) {\n this.desc = desc;\n }",
"public void setDescription(String desc)\r\n {\r\n\tthis.desc = desc;\r\n }",
"public void setDesc(String desc) {\n this.desc = desc == null ? null : desc.trim();\n }",
"public PropertySpecBuilder<T> description(String desc)\n {\n Preconditions.checkArgument(description == null, \"property description already set\");\n this.description = desc;\n\n return this;\n }",
"public void setDescription(String desc) {\n // space check provided by:\n // https://stackoverflow.com/questions/3247067/how-do-i-check-that-a-java-string-is-not-all-whitespaces\n if (desc == null || desc.trim().length() == 0) {\n description = NO_DESCRIPTION;\n } else {\n description = desc;\n }\n }",
"public void setDescription(java.lang.String value) {\n this.description = value;\n }",
"public void setData_type_desc(String data_type_desc) {\n this.data_type_desc = data_type_desc;\n }",
"public void xsetDesc(org.apache.xmlbeans.XmlString desc)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DESC$10);\r\n }\r\n target.set(desc);\r\n }\r\n }",
"public void setDescription(String value) {\n this.description = value;\n }",
"public void setDescription(String value) {\r\n this.description = value;\r\n }",
"public void setDescription(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(DESCRIPTION_PROP.get(), value);\n }",
"public void setDescription(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(DESCRIPTION_PROP.get(), value);\n }",
"public void setDescription(String desc) {\n description = desc.trim();\n if (description.equals(\"\")) {\n description = \"NODESC\";\n }\n }",
"public void setDescription(String desc);",
"public Builder setDescriptionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public Builder setDescription(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public Builder setDescription(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public Builder setDescription(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }",
"public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }",
"public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }",
"public Builder setDescription(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000080;\n onChanged();\n return this;\n }",
"public Builder setDescribe(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n describe_ = value;\n \n return this;\n }",
"public void setDescription(String desc) throws SystemException {\n group.setDescription(desc);\n ModelInputGroupLocalServiceUtil.updateModelInputGroup(group);\n }",
"public Builder setDescription(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000001;\n onChanged();\n return this;\n }",
"public Builder setDescription(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n description_ = value;\n onChanged();\n return this;\n }",
"public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000002;\n onChanged();\n return this;\n }",
"public void setDescription(String paramDesc) {\n\tstrDesc = paramDesc;\n }",
"public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000001;\n onChanged();\n return this;\n }",
"public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000080;\n onChanged();\n return this;\n }",
"public Builder setDescription(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n description_ = value;\n bitField0_ |= 0x00000004;\n onChanged();\n return this;\n }",
"public Binding setDescription(StringDt theValue) {\n\t\tmyDescription = theValue;\n\t\treturn this;\n\t}",
"public void setDescription(String des) {\r\n\t\tthis.description = des;\r\n\t}",
"public static void setDescription(AbstractCard card, String desc){\n\n PluralizeFieldsPatch.trueRawDescription.set(card,desc);\n createPluralizedDescription(card);\n }",
"public String getDesc() {\n\t return desc;\n\t }",
"public void setDescription(CharSequence value) {\n this.description = value;\n }",
"public void setServiceDescription(String serviceDescription)\n {\n this.serviceDescription = serviceDescription;\n }",
"public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }",
"public Builder setDescriptionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n description_ = value;\n onChanged();\n return this;\n }",
"public Builder setDescription(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n description_ = value;\n onChanged();\n return this;\n }",
"public void setDescription(final String descriptionValue) {\n this.description = descriptionValue;\n }",
"public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitField0_ |= 0x00000004;\n onChanged();\n return this;\n }",
"public void setDescr(String descr) {\r\n this.descr = descr;\r\n }",
"public void setDescription(String des){\n description = des;\n }",
"public void setcatgdesc(String value) {\n setAttributeInternal(CATGDESC, value);\n }",
"public void setDescription(String value)\r\n {\r\n getSemanticObject().setProperty(swb_description, value);\r\n }",
"public RunAsType<T> setDescription(String description)\n {\n childNode.create(\"description\").text(description);\n return this;\n }",
"public void setPaymentDesc(String value) {\n setAttributeInternal(PAYMENTDESC, value);\n }",
"public void setDescr(String descr) {\n\t\tthis._descr = descr;\n\t}",
"public void setDescr(String descr) {\n\t\tthis._descr = descr;\n\t}",
"public void setDescription(String sDescription);",
"public String getDesc() {\r\n\t\treturn desc;\r\n\t}",
"public String getDesc() {\r\n\t\treturn desc;\r\n\t}",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.Object description) {\n this.description = description;\n }",
"public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }",
"public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }",
"public void setDescription(String Description) {\n this.Description = Description;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public String getDesc() {\n return desc;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }",
"public void setFiledesc(String filedesc) {\n this.filedesc = filedesc;\n }",
"public void setDescription(java.lang.String description) {\n this._description = description;\n }",
"public void setDescription(final String description);",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.String value);",
"public void setDescription(java.lang.String value);",
"public void setDescription(java.lang.String value);",
"public void setDescription(java.lang.String value);",
"public void setProductClassDesc(String value) {\n setAttributeInternal(PRODUCTCLASSDESC, value);\n }",
"void setDescription(java.lang.String description);",
"void setDescription(final String description);",
"public void setDescription (java.lang.String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription (java.lang.String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n mDescription = description;\n }"
] | [
"0.74913126",
"0.7424425",
"0.7410231",
"0.7396777",
"0.73330486",
"0.7299477",
"0.7299477",
"0.72318625",
"0.7226769",
"0.7143031",
"0.70932955",
"0.7070914",
"0.6908298",
"0.6863229",
"0.6788889",
"0.6785585",
"0.6764262",
"0.6688172",
"0.6677276",
"0.66706604",
"0.6604451",
"0.6593133",
"0.65744394",
"0.657211",
"0.65329957",
"0.65272903",
"0.6489852",
"0.6489852",
"0.6487812",
"0.6487812",
"0.6487812",
"0.64738876",
"0.64686114",
"0.6457799",
"0.6449514",
"0.6430256",
"0.64228845",
"0.64228845",
"0.6412694",
"0.6397465",
"0.6390056",
"0.638137",
"0.6376274",
"0.6366815",
"0.6343168",
"0.63423204",
"0.6338955",
"0.63314587",
"0.63304806",
"0.63162637",
"0.63027656",
"0.63026035",
"0.63013047",
"0.6297488",
"0.62965894",
"0.6292912",
"0.62705666",
"0.62543505",
"0.6254307",
"0.6249304",
"0.6249304",
"0.62432945",
"0.6238005",
"0.6238005",
"0.6235944",
"0.6235944",
"0.6235944",
"0.6234939",
"0.6203418",
"0.6203418",
"0.620074",
"0.6199027",
"0.6199027",
"0.6199027",
"0.6199027",
"0.6199027",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6190872",
"0.6181296",
"0.6163127",
"0.6151945",
"0.61413527",
"0.6137513",
"0.6137513",
"0.6137513",
"0.6137513",
"0.61371756",
"0.613366",
"0.6133328",
"0.61302745",
"0.61302745",
"0.61148393"
] | 0.73277766 | 6 |
/ Se infla el view donde vamos a trabajar | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_recetas, container, false);
/* Se asigna el recyclerView al xml */
this.recyclerView = (RecyclerView)view.findViewById(R.id.rvRecetasFragment);
this.floatingActionButton = (FloatingActionButton)view.findViewById(R.id.floatBtnRecetasFragment);
/* Se carga el adaptador */
this.cargarAdaptador();
/* Listener de FloatingActionButton */
this.floatingActionButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mListener.onFragmentInteractionRecetas();
}
});
return view;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onViewCreate() {\n }",
"@Override\n public void prepareView() {\n }",
"public void viewHandler(View v) {\n LinearLayout vwParentRow = (LinearLayout)v.getParent();\n TextView id =(TextView) vwParentRow.findViewById(R.id._id);\n Intent intent = new Intent(Hates.this, Formulario.class);\n\n intent.putExtra(C_MODO, C_VISUALIZAR);\n intent.putExtra(mDbHelper.ID, Long.valueOf((String)id.getText()));\n\n\n this.startActivityForResult(intent, C_VISUALIZAR);\n }",
"public ViewUsluga() {\n initComponents();\n obrada = new ObradaUsluga();\n postInitComponents(); \n }",
"public void visualizarDatos(View view) {\n Intent datos = new Intent(this, vistualiazrDatosTotales.class);\n datos.putExtra(\"id\", id);\n startActivity(datos);\n finish();\n }",
"@PostConstruct\n\tpublic void view() {\n\t\tif (log.isDebugEnabled()) {\n log.debug(\"Entering 'ConsultaHIPCuentaCorrientesAction - view' method\");\n }\n\t\tMap<String, String> parametros = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();;\n\t\tthis.parametrosPantalla = new HashMap<String, String>();\n\t\tthis.parametrosPantalla.putAll(parametros);\n\t\ttry {\n\t\t\tthis.formBusqueda = this.devuelveFormBusqueda();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\t\n\t\t}\n\t}",
"public void lanzarAtras(View view){\n\n\t Intent i = new Intent(this, Ninos_nivel.class);\n\n\t startActivity(i);\n\t finish();\n\t }",
"public ViewDetallesPagos () {\r\n\r\n }",
"@Override\n\tpublic void view() {\n\t\t\n\t}",
"public void verHistorialCitas(View view){\n\n }",
"@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}",
"public void informacionHorastrabajadas(View v){\n Intent ventana = new Intent(Administrador.this,Informacion_Horas_trabajadas.class);\n startActivity(ventana);\n\n }",
"public ViewDetalleVentas() {\n initComponents();\n }",
"@Override\n public void onClick(View view) {\n Post info_post = ControladoraPresentacio.getpost_perName(view.getContentDescription().toString());\n ControladoraPosts.settitle(info_post.getTitle());\n ControladoraPosts.setDescripcion(info_post.getDescription());\n ControladoraPosts.setuser(info_post.getUser());\n ControladoraPosts.setid(info_post.getId());\n ControladoraPosts.setdate(info_post.getTime());\n //Nos vamos a la ventana de VisualizeListOUser\n Intent intent = new Intent(PersonalPosts.this, VisualizePosts.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n //finish();\n }",
"@Override\n\tpublic void trabajar() {\n\n\t}",
"public void rejestruj (View view){\n\n android.content.Intent myIntent = new android.content.Intent(view.getContext(), Rejestracja.class);\n startActivity(myIntent);\n\n\n }",
"@Override\n\t\t\t\tpublic void onEntrada(Object entrada, View view) {\n\t\t\t\t\tif (entrada != null) \n\t\t\t\t\t{\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tTextView TxtDNI1 = (TextView) view.findViewById(R.id.textViewDNI);\n\t\t\t\t\t\tTxtDNI1.setText(((Lista_entrada_ControlAcceso) entrada).get_IdFuncionario()); \n\n\t\t\t\t\t\tTextView TxtPlaca1 = (TextView) view.findViewById(R.id.textView_Placa);\n\t\t\t\t\t\tTxtPlaca1.setText(((Lista_entrada_ControlAcceso) entrada).get_Patente()); \n\t\t\t\t\t\t\n\t\t\t\t\t\tTextView TxtCod1 = (TextView) view.findViewById(R.id.textView_Cod); \n\t\t\t\t\t\tTxtCod1.setText(((Lista_entrada_ControlAcceso) entrada).get_CodError());\n\t\t\t\t\t\t\n\t\t\t\t\t\tTextView TxtFecha1= (TextView) view.findViewById(R.id.textView_Fecha); \n\t\t\t\t\t\tTxtFecha1.setText(((Lista_entrada_ControlAcceso) entrada).get_Fecha());\n\t\t\t\t\t\t\n\t\t\t\t\t\tTextView TxtHora1 = (TextView) view.findViewById(R.id.textView_Nivel); \n\t\t\t\t\t\tTxtHora1.setText(((Lista_entrada_ControlAcceso) entrada).get_Hora());\n\t\t\t\t\t\t\n\t\t\t\t\t\t//Toast.makeText(mContext,cadenaNueva, Toast.LENGTH_LONG).show();\n\n\t\t\t\t\t}\n\t\t\t\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_nhiemvu, container, false);\n // set Context\n context = view.getContext();\n // get connect database\n conectDatabase = new ConectDatabase(context);\n\n arrayList = conectDatabase.getAllMission();\n\n // find ID\n btAdd = (Button) view.findViewById(R.id.btAdd);\n listMission = (ListView) view.findViewById(R.id.listViewMission);\n finishList = (ListView) view.findViewById(R.id.finistList);\n linearLayout = view.findViewById(R.id.formIPMission);\n btAddFinish = view.findViewById(R.id.btAddMission);\n edtIpMission = view.findViewById(R.id.edtIPMission);\n btTime = view.findViewById(R.id.btTime);\n bottomsheet = view.findViewById(R.id.bottom_sheet);\n sheetBehavior = BottomSheetBehavior.from((bottomsheet));\n //set Layout\n setLayout();\n // set Action;\n setAction();\n\n return view;\n }",
"public VendaView(int idVenda) throws SQLException {\n initComponents();\n\n jTextFieldIDFuncionario.setEnabled(false);\n jTextFieldNomeCliente.setEnabled(false);\n jTextFieldNomeFuncionario.setEnabled(false);\n// jTextFieldNotaFiscal.setEnabled(false);\n jTextFieldNumeroParcelas.setEnabled(false);\n jTextFieldValorVenda.setEnabled(false);\n jFormattedTextDataVenda.setEnabled(false);\n jTextFieldIDCliente.setEnabled(false);\n int idVenda1 = idVenda;\n buscarPressedEnter();\n\n if (idVenda != -1) {\n textFieldIDVenda.setText(\"\" + idVenda1);\n\n Connection connection;\n try {\n connection = new ConnectionFactory().getConnection();\n\n VendaDAO vendaDAO = new VendaDAO(connection);\n modeloVenda1 = vendaDAO.buscaPorId(Long.parseLong(String.valueOf(idVenda1)));\n\n PedidoDAO pedidoDAO = new PedidoDAO(connection);\n ClienteDAO clienteDAO = new ClienteDAO(connection);\n ParcelaDAO parcelasDao = new ParcelaDAO(connection);\n List<ModeloParcela> modeloParcelas = new ArrayList<ModeloParcela>();\n\n if (null == pedidoDAO.buscaPorVenda(Integer.parseInt(String.valueOf(modeloVenda1.getId())))) {\n\n } else {\n modeloPedido1 = pedidoDAO.buscaPorVenda(Integer.parseInt(String.valueOf(modeloVenda1.getId())));\n\n idPedidoClasse = modeloPedido1.getId();\n viewProdutoPedidos = pedidoDAO.buscarPedidoproduto(Integer.parseInt(String.valueOf(idPedidoClasse)));\n modeloParcelas = parcelasDao.listaPorIdVenda(modeloVenda1.getId());\n listarParcelas(modeloParcelas);\n PreencherTabela();\n PreencherTabela2();\n }\n\n FuncionarioDAO funcionarioDAO = new FuncionarioDAO(connection);\n ModeloFuncionario modeloFuncionario = new ModeloFuncionario();\n\n SimpleDateFormat format = new SimpleDateFormat(\"dd/MM/yyyy\");\n\n ModeloCliente modeloCliente = new ModeloCliente();\n modeloFuncionario = funcionarioDAO.buscaPorId(modeloVenda1.getIdfuncionario());\n modeloCliente = clienteDAO.buscaPorId(modeloVenda1.getIdcliente());\n System.out.println(modeloVenda1.getIdcliente());\n jTextFieldIDFuncionario.setText(\"\" + modeloFuncionario.getId());\n jTextFieldNomeFuncionario.setText(modeloFuncionario.getNome());\n jFormattedTextDataVenda.setText(format.format(modeloVenda1.getDataVenda()));\n\n jTextFieldIDCliente.setText(\"\" + modeloCliente.getId());\n jTextFieldNomeCliente.setText(\"\" + modeloCliente.getNome());\n jTextFieldNotaFiscal.setText(modeloVenda1.getNotaFiscal());\n\n jTextFieldValorVenda.setText(\"\" + modeloVenda1.getValorVenda());\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(rootPane, ex);\n Logger.getLogger(VendaView.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n\n }",
"public ViewRentas() {\n initComponents();\n }",
"@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}",
"@Override\n\tprotected void initView() {\n\t\t\n\t}",
"@Override\n\tprotected void initView() {\n\t\t\n\t}",
"public void iniciar(){\r\n \r\n view.setTitle(\"MVC Proyecto\");\r\n //Indica posicion, null -> posicion 0 = centro\r\n view.setLocationRelativeTo(null);\r\n \r\n }",
"public void botonOpciones(View view)\n {\n \tmostrarDialogoOpciones();\n }",
"@Override\n protected void iniView()\n {\n txtHead = (TextView) findViewById(R.id.txtHead);\n imgBack = (ImageView) findViewById(R.id.img_left);\n\n txtHead.setText(\"回复列表\");\n\n TopicID = this.getIntent().getExtras().getString(\"TopicID\").toString();\n LeftID = this.getIntent().getExtras().getString(\"LeftID\").toString();\n listview = (ListView) findViewById(R.id.listview_postlist);\n TopicType = this.getIntent().getExtras().getString(\"TopicType\").toString();\n }",
"public void annuler(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n }\r\n }",
"@Override\n\tpublic void InitView() {\n\t\t\n\t}",
"public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p) -> {\n cmbIDClientes.addItem(p.getNome());\n });\n \n \n txtDataAtual.setText(DateFormat.getDateInstance().format(new Date()));\n }",
"public SrvINFONEGOCIO(AgregarInfoNegocio view) {//C.P.M Tendremos un constructor con la vista de agregar informacion de negocio\r\n this.vista = view;//C.P.M Se la agregamos a la variable para tener acceso a la vista \r\n }",
"@Override\n\tprotected void initView()\n\t{\n\n\t}",
"public void in_macha(View view) {\n }",
"@Override\n\t\tpublic void viewAccepted(View joiner) {\n\t\t}",
"public ViewSinFaltante() {\n initComponents();\n }",
"public Controlador(Vista view, Modelo model){\r\n \r\n //Se igualan las propiedades\r\n this.view = view;\r\n this.model = model;\r\n this.view.btnGuardar.addActionListener(this);\r\n \r\n //se iguala el modelo de la tabla\r\n table = new DefaultTableModel();\r\n view.tablaResultado.setModel(table);\r\n \r\n //nombre para la columna de la tabla\r\n table.addColumn(\"Listado\"); \r\n \r\n }",
"public void verTecnicos(View view){\n Intent siguiente = new Intent(verEmpleos.this,verTecnico.class);\n startActivity(siguiente);//se inicia\n }",
"public void onClick(View arg0) {\n getActivity().getSupportFragmentManager().beginTransaction()\r\n .replace(R.id.container, new Criar_Viagem_Paradas()).commit();\r\n }",
"@Override\n\tprotected void refreshView() {\n\t\t\n\t}",
"public void lanzarJuegoPianino(View view){\n\n puntuacion=0;\n notasTocadas=0;\n mensaje.setText(R.string.repite);\n switch(pref.getString(\"dificultad\", \"1\")){\n case \"0\": nuevaSecuencia=generarSecuencia(4);\n nuevaSecuencia[3]=nuevaSecuencia[0];\n secuenciaJugador= new int[4];\n break;\n case \"1\": nuevaSecuencia=generarSecuencia(7);\n nuevaSecuencia[6]=nuevaSecuencia[0];\n secuenciaJugador= new int[7];\n break;\n case \"2\": nuevaSecuencia=generarSecuencia(10);\n secuenciaJugador= new int[10];\n break;\n default: nuevaSecuencia= new int[7];\n }\n\n reproducirSecuencia(nuevaSecuencia,false);\n\n }",
"@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)\n public void cambiarEstadoSinAbastecimiento(int indiceLayoutHose){\n txt_Estado_abastecimiento = (TextView) layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.txt_Estado_abastecimiento);\n iv_estado_abastecimiento = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.iv_estado_abastecimiento);\n txt_galones = (TextView) layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.txt_galones);\n txt_ultimo_ticket = (TextView) layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.txt_ultimo_ticket);\n txt_placa = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.txt_placa);\n txt_producto = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.txt_producto);\n ly_cuadrante = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.ly_cuadrante);\n ly_cuadrante_estado_pausa = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.ly_cuadrante_estado_pausa);\n ly_cuadrante_estado_pausa2 = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.ly_cuadrante_estado_pausa2);\n ly_cuadrante_estado_abasteciendo = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.ly_cuadrante_estado_abasteciendo);\n ly_cuadrante_estado_abasteciendo2 = layoutsHose.get(indiceLayoutHose).inflater.findViewById(R.id.ly_cuadrante_estado_abasteciendo2);\n\n txt_Estado_abastecimiento.setText(\"Disponible\");\n iv_estado_abastecimiento.setImageResource(R.drawable.ic_station_yellow_64);\n txt_Estado_abastecimiento.setTextColor(getResources().getColor(R.color.md_yellow_assac));\n txt_galones.setTextColor(getResources().getColor(R.color.md_yellow_assac));\n txt_ultimo_ticket.setTextColor(getResources().getColor(R.color.md_yellow_assac));\n txt_placa.setTextColor(getResources().getColor(R.color.md_yellow_assac));\n txt_producto.setTextColor(getResources().getColor(R.color.md_yellow_assac));\n ly_cuadrante.setBackground(getResources().getDrawable(R.drawable.bg_para_cuadrante_manguera_estado_pausa));\n\n //txt_galones.setText(hoseEntities.get(indiceLayoutHose).getVolumen());\n\n ly_cuadrante_estado_pausa.setVisibility(View.VISIBLE);\n ly_cuadrante_estado_pausa2.setVisibility(View.VISIBLE);\n\n //txt_ultimo_ticket_m1_p2.setText(\"\"+contadorTicketBomba1);\n ly_cuadrante_estado_abasteciendo.setVisibility(View.GONE);\n ly_cuadrante_estado_abasteciendo2.setVisibility(View.GONE);\n\n\n\n }",
"@Override\n\tprotected void RefreshView() {\n\t\t\n\t}",
"@Override\n public void Create() {\n\n initView();\n }",
"public void lanzarListaAlumnos(View view){\n Intent i = new Intent(this, ListaAsignaturas.class);\n startActivity(i);\n }",
"@Override\n public void initView() {\n r3 = (LinearLayout) findViewById(R.id.r3);\n sign_time = (TextView) findViewById(R.id.sign_time);\n visitor_address_change = (TextView) findViewById(R.id.visitor_address_change);\n // 上传图片使用\n mGrideviewUpload = (GridView) findViewById(R.id.grideview_upload);\n mAdapter = new UploadAdapter(this);\n mGrideviewUpload.setAdapter(mAdapter);\n mParentView = (LinearLayout) getLayoutInflater().inflate(R.layout.creative_idea_new, null);\n mPicturePathList = new ArrayList<String>();\n mDialog = new BSProgressDialog(this);\n sign_time.setText(DateUtils.getCurrentTimess());\n mTitleTv.setText(\"位置签到\");\n activate();\n\n // MyThread m = new MyThread();\n // new Thread(m).start();\n }",
"public void vistaApoyo (View view){\n Intent interfaz = new Intent(this,MainApoyo.class);\n Intent enviar = new Intent( view.getContext(), MainNivelesReto.class );\n //Metodo que me permite crear variable\n enviar.putExtra(\"IdCategoria\", getIntent().getStringExtra(\"IdCategoria\") );\n startActivity(interfaz);\n finish();\n }",
"public ViewKorisnik() {\n initComponents();\n obrada = new ObradaKorisnik();\n }",
"public void tampilNama(View view) {\n Intent ganti = new Intent(this, ListNamaMahasiswa.class);\n //memulai activity ke list nama mahasiswa\n startActivity(ganti);\n }",
"@Override\n public void onClick(View view) {\n IdEvento = obtenerEmegencia().get(recyclerViewEmergencia.getChildAdapterPosition(view)).getId();\n\n //Se muestra un mensaje en pantalla de lo que seleciono\n Next();\n }",
"@Override\n public void onEstadoCambiado() {\n fragment = new ListadoPeticionesRecibidasVista();\n getFragmentManager().beginTransaction().replace(R.id.content_main, fragment ).commit();\n\n }",
"public void mo1637a(View view) {\n }",
"public void mantUnidades(View view){\n Intent intent = new Intent(this, mant_unidades.class);\n startActivity(intent);\n }",
"@AfterViews\n void ProcessAfterViews() {\n\n if(miestnost != null && miestnost.getId() > 0){\n\n txt_Miestnost.setText(miestnost.getNazov());\n //boolean aa = jeSklad.isChecked();\n\n //boolean ab = miestnost.isJeSklad();\n\n jeSklad.setChecked(miestnost.isJeSklad());\n // aa = jeSklad.isChecked();\n // aa = miestnost.isJeSklad();\n\n // resultMiestnost.setJeSklad(jeSklad.isChecked());\n\n }\n }",
"public void Aries(View view) {\n\n Intent intent = new Intent(this, PrevisaoActivity.class);\n\n intent.putExtra(\"nomeSigno\", \"aries\");\n intent.putExtra(\"idSigno\", \"1\");\n\n startActivity(intent);\n }",
"private void genererListeView() {\n\n displayToast(\"Antall treff: \" + spisestedListe.size());\n\n //sorterer alfabetisk på navn\n Collections.sort(spisestedListe);\n\n spisestedAdapter = new SpisestedAdapter(this, spisestedListe);\n recyclerView.setAdapter(spisestedAdapter);\n\n //henter inn antall kolonner fra values, verdi 2 i landscape\n // https://stackoverflow.com/questions/29579811/changing-number-of-columns-with-gridlayoutmanager-and-recyclerview\n int columns = getResources().getInteger(R.integer.list_columns);\n recyclerView.setLayoutManager(new GridLayoutManager(this, columns));\n }",
"@Override\n public void onClick(View view) {\n Button trykket = null;\n for (int i = 0; i < 30 ; i++) {\n if (view==buttons.get(i)){\n trykket=buttons.get(i);\n }\n }\n assert trykket != null;\n gæt(trykket);\n\n //vi afslutter spiller hvis det er slut eller vundet.\n if(logik.erSpilletSlut()){\n if(logik.erSpilletTabt()){\n // die.start();\n slutspilllet(false);\n }\n if(logik.erSpilletVundet()) slutspilllet(true);\n }\n\n }",
"@Override\n public void onComplete(@NonNull Task<Void> task) {\n ((MenuPrincipaleActivity)getActivity()).setAjouterOutilFragment(new AjouterOutilFragment());\n //apres le sauvegarde se termine avec succes !\n getActivity().getSupportFragmentManager().beginTransaction().replace(\n R.id.activity_main_frame_layout,( (MenuPrincipaleActivity) getActivity())\n .getBoiteMessagerieFragment()).commit();\n\n }",
"private void addViews() {\n\t}",
"public void repitencia(View view){\n Intent rep = new Intent(this, Repitencia.class);\n startActivity(rep);\n }",
"public VentaMainView() {\n initComponents();\n controlador = new VentaController();\n this.setLocationRelativeTo(null);\n cargarCategorias();\n cargarArticulos();\n }",
"private void realizarVinculos() {\n btnVoltar = findViewById(R.id.btnVoltar);\n\n edtNome = findViewById(R.id.edtNome);\n edtCPF = findViewById(R.id.edtCpf);\n edtTelefone = findViewById(R.id.edtTelefone);\n edtIdade = findViewById(R.id.edtIdade);\n edtEmail = findViewById(R.id.edtEmail);\n }",
"private void initview() {\n\t\tMyOnClickLinstener clickLinstener = new MyOnClickLinstener();\n\t\tdeliverynote_query_back.setOnClickListener(clickLinstener);\n\t\tdate_layout.setOnClickListener(clickLinstener);\n\t\t\n\t\t//listview条目点击事件\n\t\tDeliveryQueryListView.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> adapterView, View view, int position,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tIntent intent = new Intent(DeliveryNoteQueryActivity.this, DeliveryNoteDetailActivity.class);\n\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\tDeliveryNote deliveryNote = (DeliveryNote) adapterView.getItemAtPosition(position);\n\t\t\t\tbundle.putString(\"currenttime\",currenttime);\n\t\t\t\tbundle.putSerializable(\"deliveryNote\", deliveryNote);\n\t\t\t\tintent.putExtras(bundle);\n\t\t\t\tstartActivity(intent);\n\t\t\t}\n\t\t});\n\t}",
"@Override\r\n\tprotected void initViews() {\n\t\t\r\n\t}",
"private void initVistas() {\n lblTexto = (TextView) findViewById(R.id.lblTexto);\n txtMensaje = (EditText) findViewById(R.id.txtMensaje);\n btnEnviar = (ImageView) findViewById(R.id.btnEnviar);\n scvTexto = (ScrollView) findViewById(R.id.scvTexto);\n txtMensaje.setHorizontallyScrolling(false);\n txtMensaje.setMaxLines(getResources().getInteger(R.integer.txtMensaje_maxLines));\n txtMensaje.setInputType(InputType.TYPE_TEXT_FLAG_MULTI_LINE);\n txtMensaje.setOnEditorActionListener(new OnEditorActionListener() {\n\n @Override\n public boolean onEditorAction(TextView v, int actionId,\n KeyEvent event) {\n // Si se ha pulsado la tecla de Ir es como si se pulsara el\n // botón.\n if (actionId == EditorInfo.IME_ACTION_DONE) {\n enviarMensaje(txtMensaje.getText().toString());\n }\n return false;\n }\n });\n txtMensaje.addTextChangedListener(new TextWatcher() {\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before,\n int count) {\n }\n\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count,\n int after) {\n }\n\n @Override\n public void afterTextChanged(Editable s) {\n // Se activa o desactiva btnEnviar.\n checkDatos();\n }\n\n });\n btnEnviar.setOnClickListener(new OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // Se envía el mensaje.\n enviarMensaje(txtMensaje.getText().toString());\n }\n });\n // Se realizan las comprobaciones iniciales.\n checkDatos();\n hacerScroll(scvTexto, View.FOCUS_DOWN);\n }",
"@Override\n public void mostrarMediosRecientesRv() {\n iPerfilFragmentView.inicializarAdaptadorRV(iPerfilFragmentView.crearAdaptador(mascotas));\n iPerfilFragmentView.generarGridLayout();// Luego se debe indicar que genere el GridLayout\n }",
"public void mantItinerario(View view){\n Intent intent = new Intent(this, mant_itinerario.class);\n startActivity(intent);\n }",
"public menuFornecedorView() {\n initComponents();\n botoes(true,true,false,true,false,false);\n campos(false,true,false,false,false,false);\n }",
"public static String _btnfrasco_click() throws Exception{\nmostCurrent._activity.RemoveAllViews();\n //BA.debugLineNum = 126;BA.debugLine=\"Activity.LoadLayout(\\\"lay_mosquito_Ciclo\\\")\";\nmostCurrent._activity.LoadLayout(\"lay_mosquito_Ciclo\",mostCurrent.activityBA);\n //BA.debugLineNum = 128;BA.debugLine=\"utilidades.CreateHaloEffect(Activity, butPaso1, C\";\nmostCurrent._vvvvvvvvvvvvvvvvvvvvv7._vvvvvvvvv3 /*void*/ (mostCurrent.activityBA,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(mostCurrent._activity.getObject())),mostCurrent._butpaso1,anywheresoftware.b4a.keywords.Common.Colors.Red);\n //BA.debugLineNum = 130;BA.debugLine=\"End Sub\";\nreturn \"\";\n}",
"public void vistaInterfazNiveles (View view){\n Intent interfaz = new Intent(this,MainActivity.class);\n //Intancio el Objeto Intent que necesito enviar la información\n Intent enviar = new Intent( view.getContext(), MainNivelesReto.class );\n //Metodo que me permite crear variable\n enviar.putExtra(\"IdCategoria\", getIntent().getStringExtra(\"IdCategoria\") );\n startActivity(interfaz);\n finish();\n }",
"public void clicTable(View v) {\n try {\n conteoTab ct = clc.get(tb.getIdTabla() - 1);\n\n if(ct.getEstado().equals(\"0\")) {\n String variedad = ct.getVariedad();\n String bloque = ct.getBloque();\n Long idSiembra = ct.getIdSiembra();\n String idSiempar = String.valueOf(idSiembra);\n\n long idReg = ct.getIdConteo();\n int cuadro = ct.getCuadro();\n int conteo1 = ct.getConteo1();\n int conteo4 = ct.getConteo4();\n int total = ct.getTotal();\n\n txtidReg.setText(\"idReg:\" + idReg);\n txtCuadro.setText(\"Cuadro: \" + cuadro);\n cap_1.setText(String.valueOf(conteo1));\n cap_2.setText(String.valueOf(conteo4));\n cap_ct.setText(String.valueOf(total));\n txtId.setText(\"Siembra: \" + idSiempar);\n txtVariedad.setText(\"Variedad: \" + variedad);\n txtBloque.setText(\"Bloque: \" + bloque);\n }else{\n Toast.makeText(this, \"No se puede cargar el registro por que ya ha sido enviado\", Toast.LENGTH_SHORT).show();\n }\n\n } catch (Exception E) {\n Toast.makeText(getApplicationContext(), \"No has seleccionado aún una fila \\n\" + E, Toast.LENGTH_LONG).show();\n }\n }",
"@Override\n public void onQuedadaCreada() {\n Snackbar.make(myView,\"Quedada creada correctamente\", 4000).show();\n\n btn_publicar.setEnabled(true);\n new Handler().postDelayed(new Runnable(){\n public void run(){\n progressDialog.dismiss();\n fragment = new PerfilPantallaVista();\n getFragmentManager().beginTransaction().replace(R.id.content_main, fragment ).commit();\n\n };\n }, 2000);\n }",
"@Override\r\n public void onClick(View v) {\n comunicadorRutinas.irADetalle(rutina.getListaEjsCalentamiento(), rutina.getListaEjercicios(), rutina.getListaEjesEstiramiento());\r\n }",
"@Override\r\n\tpublic void initView() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void initView() {\n\t\t\r\n\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n activity = (PocetnaMajka) getActivity();\n majka=activity.getMajka();\n View view=inflater.inflate(R.layout.fragment_nalog_majka, container, false);\n promeniSifru = (Button) view.findViewById(R.id.buttonPromeniSifruMajke);\n stariPass=(EditText) view.findViewById(R.id.etStariPassMajka);\n noviPass=(EditText) view.findViewById(R.id.etNovipassMajka);\n ponovljeniNovi=(EditText) view.findViewById(R.id.etPonovljeniPassMajka);\n txtImeLekara=(TextView) view.findViewById(R.id.txtImeMajka);\n txtPrezime=(TextView)view.findViewById(R.id.TxtPrezimeMajke);\n txtUsername=(TextView)view.findViewById(R.id.txtUsernameMajka);\n popuniPoljaMajke();\n promeniSifru = (Button) view.findViewById(R.id.buttonPromeniSifruMajke);\n promeniSifru.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(final View v) {\n onPromeniSifru(v);\n }\n });\n potvrdiPromenu = (Button) view.findViewById(R.id.buttonPotvrdiMajka);\n potvrdiPromenu.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(final View v) {\n onPotvrdi(v);\n }\n });\n\n\n cl=view.findViewById(R.id.cntPromenaSifreMajke);\n return view;\n }",
"public void matriculaEscolar(View view){\n Intent mat = new Intent(this, MatriculaEscolar.class);\n startActivity(mat);\n }",
"private void ViewActionPerformed(ActionEvent e) {\n\t}",
"@Override\n\tprotected int initView() {\n\t\treturn R.layout.activity_zhusu_detail;\n\t}",
"public void anterior(View view) {\n Intent anterior = new Intent (this, Direccion_ciudadano.class);\n startActivity (anterior);\n }",
"private void InsetarEstudiantes() {\n new Insertar_Estudiantes(arreglo).setVisible(true); // CONECTA LA VENTANA Y LE PASA LA REFERENCIA DEL ARREGLO A INSERTAR ESTUDIANTE\n this.hide(); // Esconde la ventana anterior,\n // this.setVisible(false); // Otra forma de Eliminar - Esconder la ventana anterior.\n }",
"protected void agregarUbicacion(){\n\n\n\n }",
"public void guardar(View view){\n\n if(eleccion!=0){\n guardarFoto();\n guardarInformacion();\n }else{\n guardarInformacion();\n finish();\n }\n\n }",
"private void mostrarEmenta (){\n }",
"@Override\n\tpublic void initView() {\n\t\tIntent intent=getIntent();\n\t\tString title=intent.getStringExtra(\"title\");\n\t\tcontext=intent.getStringExtra(\"context\");\n\t\tsetTitle(title);\n\t\tsetGone();\n\t\tsetBack();\n\t\tlist=new ArrayList<GameFighterBean>();\n\t\ttopNewsMoreLV = (LoadListViewnews) findViewById(R.id.lv_more_topnew);\n\t\txuanshou_quanbu_wu = (Button) findViewById(R.id.xuanshou_quanbu_wu);\n\t\txuanshou_quanbu_wu.setVisibility(View.VISIBLE);\n\t\tinitNetwork(context);\n\n\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View contenedor = inflater.inflate(R.layout.fragment_vista_tarea, container, false);\n\n this.txtMateria = (EditText)contenedor.findViewById(R.id.editText_materia);\n this.txtTarea = (EditText)contenedor.findViewById(R.id.editText_tarea);\n\n FloatingActionButton fab = getActivity().findViewById(R.id.fab);\n fab.setImageResource(R.drawable.ic_check_black_24dp);\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n guardarCambios();\n getFragmentManager().popBackStack();\n }\n });\n\n sharedViewModel = ViewModelProviders.of(getActivity()).get(SharedViewModel.class);\n sharedViewModel.getDataIn().observe(getViewLifecycleOwner(), new Observer<Item>() {\n @Override\n public void onChanged(Item item) {\n if(item!=null){\n txtMateria.setText(item.getTitle());\n txtTarea.setText(item.getSubtitle());\n estadoTareaActual = item.isActive();\n //falta guardar estado\n }else{\n txtMateria.setText(\"\");\n txtTarea.setText(\"\");\n estadoTareaActual = false;//cuando el objeto es nulo, significa nueva tarea, por lo tanto\n }\n }\n });\n\n return contenedor;\n }",
"@Override\n protected void initView() {\n }",
"@Override\n protected void initView() {\n }",
"public void centroEducativo(View view){\n Intent ce = new Intent(this, CentroEducativo.class);\n startActivity(ce);\n }",
"public void rMadridFoul(View view) {\n foulCountRmadrid = foulCountRmadrid + 1;\n displayFoulForRmadrid(foulCountRmadrid);\n }",
"private void initView() {\n\t\timg_back = (ImageView) findViewById(R.id.img_back_updatejob);\n\t\tedt_content = (EditText) findViewById(R.id.edt_content_updatejob);\n\t\tedt_course = (EditText) findViewById(R.id.edt_course_updatejob);\n\t\tbtn_delete = (Button) findViewById(R.id.btn_delete_updatejob);\n\t\tbtn_update = (Button) findViewById(R.id.btn_update_updatejob);\n\t}",
"public viewOpe() {\n initComponents();\n }",
"@Override\n public void onQuedadaCreadaError() {\n btn_publicar.setEnabled(true);\n Snackbar.make(myView,\"Error al crear la quedada\", Snackbar.LENGTH_SHORT).show();\n\n }",
"@FXML\r\n\tvoid genererForme(ActionEvent event) {\r\n\t\t// TODO\r\n\t\t// Caller la m�thode qui nous fait une forme\r\n\t\t// Cr�er un data avec infos, formesfact avec data, data fait forme, tout\r\n\t\t// remonte\r\n\t\tDataFactory data = null;\r\n\t\tif (getListView().getSelectionModel().getSelectedItem().equals(\"Triangle\")) {\r\n\t\t\tdata = new DataFactory(Integer.parseInt(getTextFdata().getText()),\r\n\t\t\t\t\tInteger.parseInt(getTextF1data().getText()), Integer.parseInt(getTextF2data().getText()),\r\n\t\t\t\t\tgetColorPicker().getValue(), Integer.parseInt(getTextF3data().getText()),\r\n\t\t\t\t\tInteger.parseInt(getTextF4data().getText()), getListView().getSelectionModel().getSelectedItem());\r\n\t\t} else {\r\n\t\t\tdata = new DataFactory(Integer.parseInt(getTextFdata().getText()),\r\n\t\t\t\t\tInteger.parseInt(getTextF1data().getText()), getColorPicker().getValue(),\r\n\t\t\t\t\tInteger.parseInt(getTextF3data().getText()), Integer.parseInt(getTextF4data().getText()),\r\n\t\t\t\t\tgetListView().getSelectionModel().getSelectedItem());\r\n\t\t}\r\n\t\tFormesFactory formesF = new FormesFactory(600, 600);\r\n\t\ttry {\r\n\t\t\tForme formedessin = formesF.getInstance(data);\r\n\t\t\tajouterForme(data);\r\n\t\t} catch (FormeException e) {\r\n\t\t\t// popper fen�tre forme invalide\r\n\t\t\tAlert dialogW = new Alert(AlertType.WARNING);\r\n\t\t\tdialogW.setTitle(\"Error\");\r\n\t\t\tdialogW.setHeaderText(null);\r\n\t\t\tdialogW.setContentText(\"Forme non valide\");\r\n\t\t\tdialogW.showAndWait();\r\n\t\t} catch (ZoneDessinException e) {\r\n\t\t\t// popper fen�tre forme out of bounds\r\n\r\n\t\t\tAlert dialogW = new Alert(AlertType.WARNING);\r\n\t\t\tdialogW.setTitle(\"Error\");\r\n\t\t\tdialogW.setHeaderText(null);\r\n\t\t\tdialogW.setContentText(\"Forme � l'ext�rieur des bordures\");\r\n\t\t\tdialogW.showAndWait();\r\n\t\t}\r\n\t}",
"private void generarReferenciasViews() {\n this.contexto = this;\n editText = (EditText)findViewById(R.id.editText);\n boton = (Button)findViewById(R.id.btnEjecutarMapa);\n boton3 = (Button) findViewById(R.id.buttonActividad3);\n editTextLat = (EditText) findViewById(R.id.editTextLatitud);\n editTextLong = (EditText) findViewById(R.id.editTextLong);\n\n ControladorBotones cb = new ControladorBotones(contexto,editText,editTextLong,editTextLat);\n boton.setOnClickListener(cb);\n boton3.setOnClickListener(cb);\n /*\n boton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n // crear el intento que nos ejecute la SecondActivity\n Intent intento = new Intent(contexto,SecondActivity.class);\n contexto.startActivity(intento);\n }\n });\n */\n }",
"public void collecTION(View view) {\n }",
"public void actionPerformed(ActionEvent e)\n {\n UpravView v = new UpravView(view.getController());\n JFrame UprFrm = ViewFrame.CreateUpravView(v);\n }",
"@Override\n public void Create() {\n initView();\n initData();\n }",
"@Override\n public void updateView(Message msg)\n {\n \n }",
"@Override\n\tpublic void initView() {\n\t\t\n\t}",
"public void mantUsuarios(View view){\n Intent intent = new Intent(this, mant_usuarios.class);\n startActivity(intent);\n }",
"public abstract void prepare(View view);"
] | [
"0.6437129",
"0.6354862",
"0.6312411",
"0.6296293",
"0.62859356",
"0.6282607",
"0.6257807",
"0.6232198",
"0.62025416",
"0.6182879",
"0.6167714",
"0.616468",
"0.6156876",
"0.6151399",
"0.6147185",
"0.6094882",
"0.60860443",
"0.60838276",
"0.6071478",
"0.60553837",
"0.604671",
"0.604671",
"0.6044193",
"0.6044193",
"0.60138655",
"0.600988",
"0.6008323",
"0.6006872",
"0.6001274",
"0.5980931",
"0.59667385",
"0.5959525",
"0.5955118",
"0.59549254",
"0.59375876",
"0.592692",
"0.59240276",
"0.5923666",
"0.59217817",
"0.592127",
"0.59174097",
"0.59134054",
"0.5911329",
"0.5902983",
"0.5900916",
"0.58800125",
"0.5861621",
"0.58583933",
"0.585664",
"0.5846525",
"0.58436084",
"0.58401626",
"0.58390373",
"0.5838775",
"0.5835376",
"0.583501",
"0.5830884",
"0.5826457",
"0.5825827",
"0.58246833",
"0.5818072",
"0.5816853",
"0.58100134",
"0.5807807",
"0.58042806",
"0.57925034",
"0.578945",
"0.5785712",
"0.5785248",
"0.5782793",
"0.5780577",
"0.5770454",
"0.5768209",
"0.5768209",
"0.576479",
"0.57642287",
"0.57595676",
"0.5758468",
"0.5756516",
"0.5753944",
"0.57530475",
"0.5749951",
"0.5749094",
"0.5745357",
"0.5744757",
"0.57441527",
"0.57441527",
"0.5742417",
"0.5742019",
"0.5740342",
"0.5732876",
"0.5732161",
"0.5730376",
"0.572643",
"0.57233477",
"0.57214004",
"0.5713369",
"0.57126075",
"0.5711945",
"0.57096815",
"0.57040244"
] | 0.0 | -1 |
Carga el adaptador sin filtrar en el recyclerView | public void cargarAdaptador(){
gridLayoutManager = new GridLayoutManager(getContext(), 2);
recyclerView.setLayoutManager(gridLayoutManager);
adapterRecetas = new AdapterRecetas(getContext());
recyclerView.setAdapter(adapterRecetas);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void cargarAdaptador(String filtraPor, String categoria){\n if (filtraPor.equals(\"Categoria\")) {\n if (!categoria.equals(\"NoFiltrar\")) {\n gridLayoutManager = new GridLayoutManager(getContext(), 2);\n adapterRecetas = new AdapterRecetas(getContext());\n\n adapterRecetas.filtrarPorCategoria(getContext(), categoria);\n recyclerView.setLayoutManager(gridLayoutManager);\n recyclerView.setAdapter(adapterRecetas);\n } else {\n this.cargarAdaptador();\n }\n }else{ //Se filtra por nombre de plato\n gridLayoutManager = new GridLayoutManager(getContext(), 2);\n adapterRecetas = new AdapterRecetas(getContext());\n\n adapterRecetas.filtrarPorNombre(getContext(), categoria);\n recyclerView.setLayoutManager(gridLayoutManager);\n recyclerView.setAdapter(adapterRecetas);\n }\n }",
"public void configs() {\n adaptadorRecyclerView = new AdaptadorRecyclerView(new ArrayList<>(), this);//configuramos el adaptador; necesitamos implementar interfaz OnItemClickListener y sobreescribir sus metodos\n recyclerView.setLayoutManager(new LinearLayoutManager(this));//configuramos la recyclerView\n recyclerView.setAdapter(adaptadorRecyclerView);\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_edit_bebida, container, false);\n\n reciclador =(RecyclerView)view.findViewById(R.id.reciclador);\n layout = new GridLayoutManager(getActivity(),2);\n reciclador.setLayoutManager(layout);\n adaptador = new AdaptadorEditBebida(getContext(),getArguments().getInt(\"TIPO\"));\n Principal ma = (Principal) getActivity();\n // 0 nombre de producto\n // 1 Precio del producto\n // 2 cantidad del producto\n // 3 imagen de producto\n Cursor c;\n if(getArguments().getInt(\"TIPO\")==1){\n c = ma.datos.getCursorQuery(\"SELECT producto.nombre, producto.precio, producto.cantidad,producto.imagen,producto.id \" +\n \"FROM producto\");\n }else if(getArguments().getInt(\"TIPO\")==2){\n c = ma.datos.getCursorQuery(\"SELECT insumo.nombre, insumo.cantidad,insumo.imagen,insumo.id \" +\n \"FROM insumo\");\n }else {\n c = null;\n }\n\n adaptador.swapCursor(c);\n reciclador.setAdapter(adaptador);\n return view;\n }",
"private void setDataInRecyclerView(){\n KorisniciAdapter adapter = new KorisniciAdapter(this, korisniciList);\n recyclerView.setAdapter(adapter); // set the Adapter to RecyclerView\n }",
"public void ejecutarAdaptador(){\n gvResultados.setAdapter(new ImagenAdapter(this, listaMomentos));\n }",
"private void setAdapter(){\n ArrayList<Veranstaltung>ver = new ArrayList<>(studium.getLVS());\n recyclerView = findViewById(R.id.rc);\n LinearLayoutManager manager = new LinearLayoutManager(this);\n recyclerView.setLayoutManager(manager);\n recyclerView.setHasFixedSize(true);\n adapter = new StudiumDetailsRecylerAdapter(ver);\n recyclerView.setAdapter(adapter);\n }",
"public void cargaComentPersonal(){\n List<Comentarios> list = new ArrayList<>();\n list.add(new Comentarios(Config.nombre_cli, comentario_ind[0], comentario_ind[1]));\n AdapterComentarios adpt_coment = new AdapterComentarios(list,InfoFragment.vistaInf.getContext());\n InfoFragment.listViewCP.setAdapter(adpt_coment);\n }",
"private void reportexfiltro() {\n switch (idcombo){\n\n case 0:\n consultarlistareportes();\n AdaptadorReportes adaptadora=new AdaptadorReportes(listarreportesinc);\n adaptadora.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //codreporte=codrep.toString();\n Toast.makeText(getApplicationContext(), \"Se obtiene el reporte\" +listarreportesinc.get(mRecyclerview.\n getChildAdapterPosition(v)).getCodreporte(),Toast.LENGTH_SHORT).show();\n Intent detalle= new Intent(PanelIncidentes.this,DetalleIncidente.class);\n variab=listarreportesinc.get(mRecyclerview.getChildAdapterPosition(v)).getCodreporte().toString();\n detalle.putExtra(\"pasar_codigo\",variab);\n startActivity(detalle);\n }\n });\n mRecyclerview.setAdapter(adaptadora);\n break;\n default:\n consultarlistareportesxiltro();\n AdaptadorReportes adaptadorb=new AdaptadorReportes(listarreportesinc);\n adaptadorb.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //codreporte=codrep.toString();\n Toast.makeText(getApplicationContext(), \"Se obtiene el reporte\" +listarreportesinc.get(mRecyclerview.\n getChildAdapterPosition(v)).getCodreporte(),Toast.LENGTH_SHORT).show();\n Intent detalle= new Intent(PanelIncidentes.this,DetalleIncidente.class);\n variab=listarreportesinc.get(mRecyclerview.getChildAdapterPosition(v)).getCodreporte().toString();\n detalle.putExtra(\"pasar_codigo\",variab);\n startActivity(detalle);\n }\n });\n mRecyclerview.setAdapter(adaptadorb);\n break;\n }\n }",
"MyRecyclerViewAdapter(Context context, List<String> data,List<String> giorno,List<String> primo,List<String> secondo,List<String> contorno,List<String> dolce) {\n this.mInflater = LayoutInflater.from(context);\n this.mdata = data;\n this.mgiorno = giorno;\n this.mprimo = primo;\n this.msecondo = secondo;\n this.mcontorno = contorno;\n this.mdolce = dolce;\n\n\n\n }",
"private void cargarDatosLista(){\n listaInteres= new GsonBuilder().create().fromJson(loadJSONFromAsset(\"fakeInteresesDisponibles.json\", this), Interes[].class);\n\n // Pasamos los datos al adaptador para crear la lista\n adapterListadoInteres = new ListadoInteresesRecyclerAdapter(listaInteres, getApplicationContext());\n // Añade un separador entre los elementos de la lista\n recyclerListadoInteres.addItemDecoration(new SimpleDividerItemDecoration(getApplicationContext()));\n recyclerListadoInteres.setAdapter(adapterListadoInteres);\n\n //Marcamos el interes como favorito\n recyclerListadoInteres.addOnItemTouchListener(new RecyclerItemClickListener(ListadoInteresesActivity.this, new RecyclerItemClickListener.OnItemClickListener() {\n @Override\n public void onItemClick(View v, int position) {\n ImageView ib = (ImageView) v.findViewById(R.id.cvimageFavorito);\n\n if (ListadoInteresesActivity.this.listaInteres[position].getImageFavorito().equals(\"@drawable/ic_favorite_black_24dp\"))\n {\n Toast.makeText(ListadoInteresesActivity.this, R.string.existsfavorito , Toast.LENGTH_SHORT).show();\n \n }\n else\n {\n Toast.makeText(ListadoInteresesActivity.this, R.string.addinteresfavorito, Toast.LENGTH_SHORT).show();\n ib.setImageResource(R.drawable.ic_favorite_black_24dp);\n }\n }\n }));\n adapterListadoInteres.notifyDataSetChanged();\n\n // Oculta el circulo de cargar\n swipeRefreshLayout.setRefreshing(false);\n }",
"private void llenaRecyclerView() {\n // De manera temporal muestra datos generados manualmente\n generaDatos();\n adapterInst = new InstitucionRecyclerViewAdapter(ListInstitucionActivity.this, mDatos);\n recyclerView.setAdapter(adapterInst);\n progressBar.setVisibility(View.GONE);\n }",
"private void createAdapter() {\n Query query = partituraDaoImpl.getOwnPartituras();\n FirestoreRecyclerOptions<Partitura> options = new FirestoreRecyclerOptions.Builder<Partitura>()\n //query and class in which the data is saved\n .setQuery(query, Partitura.class).setLifecycleOwner(this).build();\n if (adapter != null) adapter.stopListening();\n //Create adapter\n adapter = new PartituraAdapter(options, getContext());\n //assign the adapter\n rvPartituras.setAdapter(adapter);\n //we began to listen.\n adapter.startListening();\n // Move the scroll of the recyclerView to the beginning to see the new message\n adapter.getSnapshots().addChangeEventListener(new ChangeEventListener() {\n @Override\n public void onChildChanged(@NonNull ChangeEventType type, @NonNull\n DocumentSnapshot snapshot, int newIndex, int oldIndex) {\n rvPartituras.smoothScrollToPosition(0);\n }\n @Override\n public void onDataChanged() {\n }\n @Override\n public void onError(@NonNull FirebaseFirestoreException e) {\n }\n });\n }",
"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data){\n if (resultCode == Activity.RESULT_OK && requestCode == 1) {\n palabras=data.getParcelableArrayListExtra(\"palabras\");\n adaptador.notifyDataSetChanged();\n //NO ME MUESTRA LOS CAMBIOS\n adaptador = new Adaptador(this, R.layout.elemento, palabras);\n lt.setAdapter(adaptador);\n //guardamos en el xml\n xml();\n }else{\n tostada(\"miausnasda\");\n }\n adaptador.notifyDataSetChanged();\n }",
"public void inicializarAdaptador()\n {\n //creamos el adaptador y le pasamos el arreglo de mascotas, en que activity estamos\n //y el numero es para saber en la clase MascotaAdaptador como mostrara los datos y si seran clicables o no\n MascotaAdaptador adaptador = new MascotaAdaptador(mascotas, getActivity(), 1);\n listamascotas.setAdapter(adaptador);\n //agregamos iconos a cada TabLayout\n }",
"public static void muestraIncidencias(final ArrayList<MensajesIncidencias> datos, Context ctx) {\n final MensajesAdaptador adaptador = new MensajesAdaptador(datos);\n\n\n adaptador.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n btnScan.setVisibility(View.GONE);\n btnCancelar.setVisibility(View.GONE);\n enviar2.setVisibility(View.GONE);\n btnNuevo.setVisibility(View.VISIBLE);\n //si es un administrador se muestra el boton para finalizar incidencias\n if (b.getString(\"rol\").equals(rolMaster)) {\n btnCerrar.setVisibility(View.VISIBLE);\n }\n\n //cada vez que se hace click en un objeto del recyclerview, se instancia un objeto de la\n //clase mensajesincidencias con los valores del array datos, en la misma posicion\n //que la linea del recyclerview clickada y mediante los getters se cargan los edittext\n //y se les quita la edicion.\n mi = datos.get(lstIncidencias.getChildAdapterPosition(v));\n inEquipo.setText(mi.getEquipo());\n inEquipo.setEnabled(false);\n //inEquipo.setTextColor(black);\n inTitulo.setText(mi.getTitulo());\n inTitulo.setEnabled(false);\n // inTitulo.setTextColor(999);\n inDescripcion.setText(mi.getDescripcion());\n inDescripcion.setEnabled(false);\n // inDescripcion.setTextColor(000);\n txtFecha.setText(mi.getFecha());\n Log.i(\"DemoRecView\", \"Pulsado el elemento \" + lstIncidencias.getChildAdapterPosition(v));\n }\n });\n\n lstIncidencias.setAdapter(adaptador);\n\n lstIncidencias.setLayoutManager(\n new LinearLayoutManager(ctx, LinearLayoutManager.VERTICAL, false));\n lstIncidencias.addItemDecoration(\n new DividerItemDecoration(ctx, DividerItemDecoration.VERTICAL));\n lstIncidencias.setItemAnimator(new DefaultItemAnimator());\n\n }",
"public abstract ItemListAdapter getAdapter(RecyclerView recyclerView);",
"private void fillData() {\n String[] from = new String[] {\n NOMBRE_OBJETO,\n DESCRIPCION,\n TEXTURA\n };\n // Campos de la interfaz a los que mapeamos\n int[] to = new int[] {\n R.id.txtNombreObjeto,\n R.id.txtDescripcion,\n R.id.imgIconoObjeto\n };\n getLoaderManager().initLoader(OBJETOS_LOADER, null, this);\n ListView lvObjetos = (ListView) findViewById(R.id.listaObjetos);\n adapter = new SimpleCursorAdapter(this, R.layout.activity_tiendaobjetos_filaobjeto, null, from, to, 0);\n lvObjetos.setAdapter(adapter);\n }",
"private void populateAdapter(){\n mAdapter = new MovieRecyclerAdapter(context, moviesList, this);\n mRecyclerView.setAdapter(mAdapter);\n }",
"private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }",
"public void listado()\n {\n BuscarL.setText(\"Listado Libros\");\n listViewLibros.setVisibility(View.VISIBLE);\n editTextBuscar.setVisibility(View.INVISIBLE);\n btnBuscarL.setVisibility(View.INVISIBLE);\n textView2.setVisibility(View.INVISIBLE);\n texto.setVisibility(View.INVISIBLE);\n radioButtonTitulo.setVisibility(View.INVISIBLE);\n radioButtonAutor.setVisibility(View.INVISIBLE);\n radioButtonEditorial.setVisibility(View.INVISIBLE);\n\n\n\n\n\n Libro[] arr=new Libro[arrLibros.size()];\n for(int i=0;i<arrLibros.size();i++)\n {\n arr[i]=arrLibros.get(i);\n }\n AdaptadorLibros adaptador = new AdaptadorLibros(BuscarLibro.this, arr);\n listViewLibros.setAdapter(adaptador);\n\n\n\n }",
"@Override\n public void onBindViewHolder(ListadoHolder holder, int position) {\n idProducto = Integer.parseInt(mListado_Productos.get(position).getId());\n\n\n holder.nombreTxt.setText(mListado_Productos.get(position).getNombre());\n holder.precioTxt.setText(mListado_Productos.get(position).getPrecio() + \"€\");\n holder.imagenIv.setImageBitmap(mListado_Productos.get(position).getImagenBitMap());\n\n //Listener del listado de productos\n holder.setItemClickListener(new ItemClickListener() {\n @Override\n public void onItemClick(View v, int pos) {\n\n //Guardo la fecha y hora del dispositivo\n String fechaHoraActual = (DateFormat.format(\"dd-MM-yyyy hh:mm:ss\", new java.util.Date()).toString());\n\n //Cuando se pulsa un item se guarda en preferencias de usuario\n SharedPreferences prefs = context.getSharedPreferences(HISTORICO_PRODUCTOS,Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = prefs.edit();\n editor.putString(fechaHoraActual, mListado_Productos.get(pos).getNombre()+\";\"+mListado_Productos.get(pos).getImagen());\n editor.commit();\n\n //Pinto preferencias guardadas de prueba\n Map<String, ?> allEntries = prefs.getAll();\n for (Map.Entry<String, ?> entry : allEntries.entrySet()) {\n Log.d(\"map values\", entry.getKey() + \": \" + entry.getValue().toString());\n }\n\n //Intent de llamada a la actividad detalle\n Intent intent = new Intent(context,DetalleActivity.class);\n\n //Metemos datos en el intent\n intent.putExtra(\"Nombre\",mListado_Productos.get(pos).getNombre());\n intent.putExtra(\"Precio\",mListado_Productos.get(pos).getPrecio());\n intent.putExtra(\"Unidades\",mListado_Productos.get(pos).getUnidades());\n intent.putExtra(\"Descripcion\",mListado_Productos.get(pos).getDescripcion());\n\n //Reducimos un poco la imagen antes de mandarla por el intent pq falllaaaaaaaaaaaaaa jooooooderrrrr\n Bitmap imagenGrande = mListado_Productos.get(pos).getImagenBitMap();\n Bitmap imagenPequena = Utils.scaleDownBitmap(imagenGrande,200,context);\n intent.putExtra(\"Imagen\", imagenPequena);\n\n //Lanzar actividad\n context.startActivity(intent);\n\n }\n });\n }",
"@Override\n public void onFotoObtenida(byte[] foto, PeticionQuedada pQuedada)\n {\n\n Log.i(\"ADAPTADOR\", \"+++++++++ PetCon FOTO\" + pQuedada.toString() + \" ++++++++\");\n\n\n BitmapFactory.Options options = new BitmapFactory.Options();\n Bitmap bitmap = BitmapFactory.decodeByteArray(foto, 0, foto.length, options);\n //se crea una peticion de quedada recibida con la peticion obteneda + la foto y se añade a la lista\n peticionQuedadaRecibida = new PeticionQuedadaRecibida(pQuedada.getId(), pQuedada.getAutor_peticion_nombre(), pQuedada.getAutor(), pQuedada.getAutor_uid(), pQuedada.getLugar(), pQuedada.getFecha(), pQuedada.getHora(), pQuedada.getDeporte(), pQuedada.getInfo(), pQuedada.getPlazas(), pQuedada.getLongitud(),\n pQuedada.getLatitud(), pQuedada.getNum_plazas_solicitadas(), pQuedada.getEstado(), pQuedada.getAutor_peticion());\n peticionQuedadaRecibida.setFoto(bitmap);\n peticionQuedadaRecibida.setId_peticion(pQuedada.getId_peticion());\n\n lista_peticionesRecibidas.add(peticionQuedadaRecibida);\n Log.i(\"ADAPTADOR\", \"+++++++++ QUEDADA AÑADIDA A LISTA ++++++++\\n\" + peticionQuedadaRecibida.toString());\n //cuando se añaden todas las peticionesse setea el adaptador\n if (lista_peticionesRecibidas.size() == lista_peticiones.size()) {\n //se activan los controladores del item correspondiente\n Log.i(\"ADAPTADOR\", \"+++++++++ SETEANDO ADAPTADOR ++++++++\\n\" + lista_peticionesRecibidas.toString());\n adaptador = new PeticionesRecibidasAdapter(lista_peticionesRecibidas);\n adaptador.setCustomButtonListner(this);\n adaptador.setCustomImageButtonListener(this);\n listView.setAdapter(adaptador);\n\n LinearLayoutManager llm = new LinearLayoutManager(getContext());\n llm.setOrientation(LinearLayoutManager.HORIZONTAL);\n listView.setLayoutManager(llm);\n\n progressDialog.dismiss();\n }\n\n\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View itemView = convertView;\n if (itemView == null) {\n itemView = getLayoutInflater().inflate(R.layout.busqueda_restaurante_lista, parent, false);\n }\n\n // Find the car to work with.\n Restaurante restauranteActual = restaurantes.get(position);\n\n // Fill the view\n //ImageView imageView = (ImageView)itemView.findViewById(R.id.item_icon);\n //imageView.setImageResource(currentCar.getIconID());\n\n // Make:\n TextView nombreRestauranteTxt = (TextView) itemView.findViewById(R.id.restaurante_nombre);\n nombreRestauranteTxt.setText(restauranteActual.getNombre());\n\n // Year:\n TextView descripcionRestauranteTxt = (TextView) itemView.findViewById(R.id.restaurante_descripcion);\n descripcionRestauranteTxt.setText(\"\" + restauranteActual.getDescripcion());\n return itemView;\n }",
"private void buscar(final String filtro) {\n refAnimales.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n long size = dataSnapshot.getChildrenCount();\n ArrayList<String> animalesFirebase = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n\n String code = dataSnapshot.child(\"\" + i).child(\"codigo\").getValue(String.class);\n String nombre = dataSnapshot.child(\"\" + i).child(\"nombre\").getValue(String.class);\n String tipo = dataSnapshot.child(\"\" + i).child(\"tipo\").getValue(String.class);\n String raza = dataSnapshot.child(\"\" + i).child(\"raza\").getValue(String.class);\n String animal = code + \" | \" + nombre + \" | \" + tipo + \" | \" + raza;\n\n if (code.equalsIgnoreCase(filtro) || nombre.equalsIgnoreCase(filtro) || tipo.equalsIgnoreCase(filtro) || raza.equalsIgnoreCase(filtro)) {\n animalesFirebase.add(animal);\n }\n }\n if (animalesFirebase.size() == 0) {\n animalesFirebase.add(\"No se encuentran animales con ese código\");\n }\n adaptar(animalesFirebase);\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }",
"private void firebaseReyclerViewAdapter() {\n options = new FirebaseRecyclerOptions.Builder<DataModels>()\n // Referensi Database yang akan digunakan beserta data Modelnya\n .setQuery(reference.child(\"KucingPutih\"), DataModels.class)\n .setLifecycleOwner((LifecycleOwner) getActivity()) //Untuk menangani perubahan siklus hidup pada Activity/Fragment\n .build();\n\n // Digunakan untuk menghubungkan View dengan data Models\n recyclerAdapter = new FirebaseRecyclerAdapter<DataModels, RecyclerAdapter>(options) {\n\n @Override\n protected void onBindViewHolder(@NonNull RecyclerAdapter holder, int position, @NonNull DataModels model) {\n //Mendapatkan data dari Database yang akan ditampilkan pada RecyclerView\n holder.setDisplayImage(model.getImage_url(), getActivity());\n\n progressBar.setVisibility(View.GONE);\n }\n\n @NonNull\n @Override\n public RecyclerAdapter onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n //Mengubungkan adapter dengan Layout yang akan digunakan\n return new RecyclerAdapter(LayoutInflater.from(parent.getContext())\n .inflate(R.layout.recycler_layout, parent, false));\n }\n };\n recyclerView.setAdapter(recyclerAdapter);\n }",
"private void refreshFilterData(){\n empty.setVisibility(View.GONE);\n adapter = new FoundRecyclerviewAdapter(FoundActivity.this, filteredData);\n v.setAdapter(adapter);\n emptyViewForFilter();\n }",
"@Override\n protected void onItemClickListener(int adapterPosition, int layoutPosition) {\n\n\n CondicaoPagamento condpgto = adaptercondpgto.getItems().get(adapterPosition);\n if (selecionandoCondPgto) {\n Intent data = new Intent();\n data.putExtra(\"condpgto_id\", condpgto.getIdcodicaopagamento());\n setResult(RESULT_OK, data);\n finish();\n } else {\n idcondpgto = condpgto.getIdcodicaopagamento();\n nomecondpgto = condpgto.getDescricao();\n\n }\n\n }",
"private void updateWhereItemListData() {\n ModelWhereItem itemDB = new ModelWhereItem(database);\n ArrayList<WhereItem> itemList = itemDB.WSfindItemsByFields(selectedCityId,selectedDistrictId,selectedStreetId,selectedCategoryId);\n RecyclerViewAdapter recyclerViewAdapter = new RecyclerViewAdapter(getContext(),itemList,gridViewMenuAdapter,viewPagerSlideAdapter);\n recyclerView.setAdapter(recyclerViewAdapter);\n\n // tweaks cho recycler view\n recyclerView.setHasFixedSize(true);\n //recyclerView.setItemViewCacheSize(20);\n recyclerView.setDrawingCacheEnabled(true);\n //recyclerView.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH);\n\n changeTab(0);\n }",
"private void refreshFilter() {\n\n if (_IsShowFilter) {\n // mostrar o filtro\n _l_llyFilterCnt.setVisibility(View.VISIBLE);\n _l_txtTitulo.setText(\"( - ) ESCONDER FILTRO\");\n } else {\n // esconder o filtro\n _l_llyFilterCnt.setVisibility(View.GONE);\n _l_txtTitulo.setText(\"( + ) MOSTRAR FILTRO\");\n }\n }",
"@Override\n public void onSuccess(JsonElement result) {\n if (result.isJsonArray()) {\n // obtenemos el resultado como un JsonArray\n JsonArray jsonArray = result.getAsJsonArray();\n Gson objGson = new Gson();\n\n\n // se deserializa el array\n final ComentarioCompleto[] myTypes = objGson.fromJson(jsonArray,ComentarioCompleto[].class);\n\n mAdapter = new ComentarioAdapter(myTypes,ComentarioActivity.this);\n mRecyclerView.setAdapter(mAdapter);\n\n }\n\n if(mAdapter.getItemCount() == 0)\n {\n estadoAdapter(true);\n }\n else\n {\n estadoAdapter(false);\n }\n\n mSwipeRefreshLayout.setRefreshing(false);\n\n\n }",
"private void loadaspirasirt(){\n String m_idwarga = getSp().getString(\"id_warga\",null);\n Call<ResponModel>viewmypost = getApi().rtaspirasi();\n viewmypost.enqueue(new Callback<ResponModel>() {\n @Override\n public void onResponse(Call<ResponModel> call, Response<ResponModel> response) {\n refresh.setRefreshing(false);\n Log.d(\"RESPON\",\"Hasil\"+response.body());\n mItem= response.body().getResult();\n mAdapter = new AdapterRT(mItem,AspirasiRTActivity.this);\n mylistpost.setAdapter(mAdapter);\n mAdapter.notifyDataSetChanged();\n\n }\n\n @Override\n public void onFailure(Call<ResponModel> call, Throwable t) {\n refresh.setRefreshing(false);\n Log.d(\"RESPON\",\"GAGAL\");\n }\n });\n }",
"private void cargarRegistro() {\n\t\tif (filaId != null) {\n\t\t\tCursor bar = bdHelper.getBar(filaId);\n // Indicamos que queremos controlar el Cursor\n\t\t\tstartManagingCursor(bar);\n\n\t\t\t// Obtenemos el campo categoria\n\t\t\tString categoria = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_CATEGORIA));\n\t\t\t// Seleccionamos la categoría en el Spinner\n\t\t\tfor (int i=0; i<categoriaSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) categoriaSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(categoria)){\n\t\t\t\t\tcategoriaSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Obtenemos el campo relacion calidad-precio\n\t\t\tString relacion = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_RELACION));\n\t\t\t// Seleccionamos en el Spinner la relacion c-p\n\t\t\tfor (int i=0; i<relacionSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) relacionSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(relacion)){\n\t\t\t\t\trelacionSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Obtenemos el campo del acompañante\n\t\t\tString acompanante = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_ACOMPANANTE));\n\t\t\t// Seleccionamos el formato en el Spinner\n\t\t\tfor (int i=0; i<acompananteSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) acompananteSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(acompanante)){\n\t\t\t\t\tacompananteSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Rellenamos las Vistas\n\t\t\tnombreText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_NOMBRE)));\n\t\t\tdireccionText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_DIRECCION)));\n\t\t\tnotasText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_NOTAS)));\n\t\t\tprecioText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_PRECIO)));\n\t\t\tvaloracionRB.setRating(bar.getFloat(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_VALORACION)));\n\n // Tratamos las fechas del registro\n\t\t\tlong fecha = bar.getLong(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_FEC_ULT_VIS));\n\t\t\tprimeraFecha.setTimeInMillis(fecha);\n\t\t\tfecha = bar.getLong(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_FEC_PRI_VIS));\n\t\t\tif (fecha>0) {\n\t\t\t\tultimaFecha=Calendar.getInstance();\n\t\t\t\tultimaFecha.setTimeInMillis(fecha);\n\t\t\t}\n\t\t\t// Dejamos de controlar el cursor de la BD\n\t\t\tstopManagingCursor(bar);\n\t\t}\n\t}",
"@Override\n public void bind(@NonNull ViewHolder viewHolder, int position) {\n TextView nomePosto = viewHolder.itemView.findViewById(R.id.vl_nomeParceiroItem);\n TextView endereco = viewHolder.itemView.findViewById(R.id.vl_enderecoDenunciaItem);\n TextView bairro = viewHolder.itemView.findViewById(R.id.vl_bairroDenunciaItem);\n TextView cidade = viewHolder.itemView.findViewById(R.id.vc_cidadeDenunciaItem);\n ImageView bandeiraIcone = viewHolder.itemView.findViewById(R.id.im_bandeiraDenunciaItem);\n TextView cnpj = viewHolder.itemView.findViewById(R.id.vl_cnpjDenunciaItem);\n TextView reclacamacoes = viewHolder.itemView.findViewById(R.id.vl_totalReclamacoes);\n\n\n //CARREGANDO IMAGEM DAS BANDEIRAS TESTANDO PARA CADA UM DOS POSTOS\n if (posto.getBandeira().equalsIgnoreCase(\"PETROBRAS\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraPetrobras.jpg?alt=media&token=d53b4fee-d299-4422-a9e7-43d034613ec5\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"IPIRANGA\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraIpiranga.jpg?alt=media&token=b0c55805-61cc-45f2-886f-51be07bb0fed\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"SHELL\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraShell.jpg?alt=media&token=4874b289-f988-4dce-aa09-7011f0e1db9e\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"MEGAPETRO\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraMegapetro.jpg?alt=media&token=71eed8b5-05f4-4e81-9a40-e4081bcf8de6\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"BRANCA\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraBranca.jpg?alt=media&token=bee27663-f1a9-48bc-9243-6856f95929f7\")\n .into(bandeiraIcone);\n }\n\n //POPULANDO DADOS DO ITEM COM O RESTANTE DOS ATRIBUTOS\n nomePosto.setText(posto.getNome());\n endereco.setText(posto.getEndereco());\n bairro.setText(posto.getBairro());\n cidade.setText(posto.getCidade());\n cnpj.setText(posto.getCnpj());\n reclacamacoes.setText(\"\" + count);\n\n }",
"@Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n itemsToAdapt.clear();\n itemsToAdapt.addAll((List) results.values);\n notifyDataSetChanged();\n }",
"void finalData(String s)\n {\n\n try {\n JSONObject jsonObject=new JSONObject(s);\n JSONArray jsonArray=jsonObject.getJSONArray(\"sources\");\n\n if(jsonArray.length()>icon_link_list.size())\n {\n for(int k=0;k<jsonArray.length()-icon_link_list.size();k++)\n {\n icon_link_list.add(null);\n }\n }\n for(int i=0;i<jsonArray.length();i++)\n {\n ArrayList<String> childList = new ArrayList<String>();\n JSONObject jsonObject1=(JSONObject)jsonArray.get(i);\n String id=jsonObject1.getString(\"id\");\n String name=jsonObject1.getString(\"name\");\n String description=jsonObject1.getString(\"description\");\n String category=jsonObject1.getString(\"category\");\n String country=jsonObject1.getString(\"country\");\n JSONArray jsonArray1=jsonObject1.getJSONArray(\"sortBysAvailable\");\n\n for(int j=0;j<jsonArray1.length();j++)\n {\n\n String sort= (String) jsonArray1.get(j);\n childList.add(sort);\n }\n\n idList.add(id);\n nameList.add(name);\n\n\n descriptionList.add(description);\n categoryList.add(category);\n countryList.add(country);\n sortByList.add(childList);\n\n\n }\n\n /* int count=0;\n for(String name:nameList)\n {\n search_get_setList.add(new Search_Get_Set(name,idList.get(count),categoryList.get(count),countryList.get(count),descriptionList.get(count)));\n count++;\n }*/\n\n\n // sources_adapter=new Sources.Sources_Adapter(search_get_setList);\n // Log.e(\"just before set dapter\",\"just before set dapter\");\n recyclerView.setAdapter(sources_adapter);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }",
"@Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n clear();\n Datos=(ArrayList<Busqueda>)results.values;\n addAll(Datos);\n notifyDataSetChanged();\n }",
"@Override\n public void onBindViewHolder(FilmeViewHolder holder, int position) {\n Filme filme = filmes.get(position);\n holder.tvNome.setText(filme.getNome());\n holder.tvGenero.setText(filme.getGenero());\n holder.tvAno.setText(String.valueOf(filme.getAno()));\n }",
"@Override\n public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { //이 함수는 RecyclerView의 항목화면 연결\n View view;\n Context context = parent.getContext();\n LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\n // if(viewType == Code.ViewType.STATION_FAV){\n view = inflater.inflate(R.layout.row_favorite, parent, false);\n // mContext = view.getContext();\n return new FavStationViewHolder(view);\n /*}else{\n view = inflater.inflate(R.layout.row_favorite_bus, parent, false);\n return new FavBusViewHolder(view);\n }*/\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, final int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n\n Flat flat = mFlatListFiltered.get(position);\n holder.bind(flat);\n String minUrl=flat.getMinUrl();\n\n\n\n Glide\n .with(mContext)\n .load(minUrl)\n .into(holder.flatImage);\n\n }",
"private void InitializeAdapter() {\n arrayAdapter = new PlanListRVArrayAdapter(mPlanList);\n recyclerView.setAdapter(arrayAdapter);\n /* arrayAdapter.registerAdapterDataObserver(new RecyclerView.AdapterDataObserver() {\n @Override\n public void onChanged() {\n super.onChanged();\n //arrayAdapter.notifyDataSetChanged();\n }\n\n @Override\n public void onItemRangeChanged(int positionStart, int itemCount) {\n // arrayAdapter.notifyItemRangeChanged(positionStart,itemCount);\n }\n\n @Override\n public void onItemRangeInserted(int positionStart, int itemCount) {\n // arrayAdapter.notifyItemRangeRemoved(positionStart,itemCount);\n }\n\n @Override\n public void onItemRangeRemoved(int positionStart, int itemCount) {\n // arrayAdapter.notifyItemRangeRemoved(positionStart,itemCount);\n }\n\n @Override\n public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {\n // arrayAdapter.notifyItemMoved(fromPosition,toPosition);\n // TODO itemcount가 1일 경우이므로 1보다 크면 제대로 동작하지 않는다.\n }\n });\n*/\n\n }",
"public void extrageLista(String numeCategorie){\n RecyclerView recyclerView=findViewById(R.id.recyclerViewCategories);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\n\n myRef.addValueEventListener(new ValueEventListener() {\n\n\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n int lg = (int) dataSnapshot.child(\"listaAlimente\").getChildrenCount();\n int x=0;\n for(x=1;x<=lg;x++)\n if(String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"name\").getValue()).equals(numeCategorie))\n break;\n\n int lungime = (int) dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").getChildrenCount();\n\n myGreenFoodData = new MyGreenFoodData[lungime];\n for(int i=1;i<=lungime;i++){\n\n //String descriere = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"receipe\").child(String.valueOf(i)).child(\"description\").getValue());\n String nume = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").child(String.valueOf(i)).child(\"name\").getValue());\n String imagine = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").child(String.valueOf(i)).child(\"image\").getValue());\n //Log.d(\"EMA\",nume);\n\n myGreenFoodData[i-1]=new MyGreenFoodData(nume,\"\",imagine);\n\n\n }\n\n\n MyGreenFoodAdapterAlimente myGreenFoodAdapterCategories = new MyGreenFoodAdapterAlimente(myGreenFoodData, AlimenteActivity.this::onItemClickAlimente);\n recyclerView.setAdapter(myGreenFoodAdapterCategories);\n\n }\n @Override\n public void onCancelled(DatabaseError error) {\n Log.w(\"EMA\", \"Failed to read value.\", error.toException());\n }\n });\n\n }",
"@Override\n public void onGetResult(List<Punkty> punkties) {\n listaMeczy=punkties;\n\n gosp=new String[listaMeczy.size()];\n gosc=new String[listaMeczy.size()];\n betGosp=new int[listaMeczy.size()];\n betGosc=new int[listaMeczy.size()];\n wynGosc=new int[listaMeczy.size()];\n wynGosp=new int[listaMeczy.size()];\n punktyZaMecz=new int[listaMeczy.size()];\n\n Punkty pom55;\n\n //przypisanie danych\n for (int i = 0; i < gosp.length; i++) {\n\n pom55 = listaMeczy.get(i);\n\n gosp[i]=pom55.getGosp();\n gosc[i]=pom55.getGosc();\n betGosp[i]=pom55.getBet_gosp();\n betGosc[i]=pom55.getBet_gosc();\n wynGosp[i]=pom55.getWyn_gosp();\n wynGosc[i]=pom55.getWyn_gosc();\n punktyZaMecz[i]=pom55.getPunkty();\n }\n\n //standard\n CaptionedImagesAdapter3 adapter = new CaptionedImagesAdapter3(gosp, gosc, betGosp, betGosc, wynGosp, wynGosc);\n recyclerView.setAdapter(adapter);\n LinearLayoutManager layoutManager=new LinearLayoutManager(this);\n recyclerView.setLayoutManager(layoutManager);\n adapter.setListener(new CaptionedImagesAdapter3.Listener() {\n @Override\n public void onClick(int position) {\n Toast.makeText(getApplicationContext(), punktyZaMecz[position]+\" points\", Toast.LENGTH_SHORT).show();\n }\n });\n\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, final int position) { //binding entre les données récupérées et le contenu des TextViews (et de l'image bientôt) dans le ViewHolder\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n final Brawler currentBrawler = listValues.get(position);\n\n final String nom = currentBrawler.getNom();\n holder.txtHeader.setText(nom);\n\n final String rarete = currentBrawler.getRarete();\n holder.txtFooter.setText(rarete);\n\n final String image = currentBrawler.getImage();\n Glide.with(context).asBitmap().load(image).into(holder.image);\n\n holder.itemView.setOnClickListener(new OnClickListener() { // Ouvre une nouvelle activité en cliquant sur un élément de la liste\n @Override\n public void onClick(View v) {\n\n Intent intent = new Intent(context, BrawlerActivity.class);\n Gson gson = new Gson();\n intent.putExtra(\"brawler_json\", gson.toJson(currentBrawler));\n context.startActivity(intent);\n }\n });\n }",
"@FXML\n public void filtraCidade(){\n \tString filtro = txtFiltroCidade.getText();\n \t\n \tif(filtro.equals(\"\"))\n \t\tfiltro=null;\n \t\n \tcidades = Cidade.listarTodas(conn, filtro);\n\t\ttblCidade.setItems(FXCollections.observableArrayList(cidades));\t\n\t}",
"@Override\n public ListadoHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n //INFLATE A VIEW FROM XML\n View v= LayoutInflater.from(parent.getContext()).inflate(R.layout.listado_card_item,null);\n\n //HOLDER\n ListadoHolder holder=new ListadoHolder(v);\n\n return holder;\n }",
"@Override\n public void run() {\n myAdapter = new MyAdapter(thisCnxt, data);\n recyclerView.setAdapter(myAdapter);\n }",
"@Override\n public void onBindViewHolder(RecyclerView.ViewHolder holder, final int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n if(holder instanceof EntityViewHolder){\n EntityViewHolder entityViewHolder = ((EntityViewHolder) holder);\n entityViewHolder.getNumeroColumnas().setText(\"\");\n entityViewHolder.getNumeroRegistros().setText(\"\");\n entityViewHolder.getNumeroEntity().setText(\"\");\n entityViewHolder.getNumeroEntity().setText(\"\");\n AbstractDao dao = daoApp.getEntityByName(entityList.get(position));\n entityViewHolder.getNombreEntity().setText(entityList.get(position));\n entityViewHolder.getNumeroEntity().setText(\"\"+position);\n entityViewHolder.getLinearLayout().setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mOnItemClickLister.onItemClicked(entityList.get(position),position);\n }\n });\n entityViewHolder.getNumeroColumnas().setText(\"\"+dao.getAllColumns().length);\n entityViewHolder.getNumeroRegistros().setText(\"\"+dao.count());\n entityViewHolder.getLinearLayout().setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mOnItemClickLister.onItemClicked(entityList.get(position),position);\n\n }\n });\n\n }\n\n\n\n }",
"private void setData() {\n\n if (id == NO_VALUE) return;\n MarketplaceItem item = ControllerItems.getInstance().getModel().getItemById(id);\n if (item == null) return;\n\n ControllerAnalytics.getInstance().logItemView(id, item.getTitle());\n\n if (item.getPhotos() != null\n && item.getPhotos().size() > 0 &&\n !TextUtils.isEmpty(item.getPhotos().get(0).getSrc_big(this)))\n Picasso.with(this).load(item.getPhotos().get(0).getSrc_big(this)).into((ImageView) findViewById(R.id.ivItem));\n else if (!TextUtils.isEmpty(item.getThumb_photo()))\n Picasso.with(this).load(item.getThumb_photo()).into((ImageView) findViewById(R.id.ivItem));\n\n adapter.updateData(item, findViewById(R.id.rootView));\n }",
"public void load_grid(){\n RecyclerView moduleRecycler = (RecyclerView) findViewById(R.id.semestre_recycler);\n EtudiantSemestreRecycler adapter = new EtudiantSemestreRecycler(this, semestres);\n moduleRecycler.setAdapter(adapter);\n\n LinearLayoutManager manager = new LinearLayoutManager(this);\n manager.setOrientation(RecyclerView.VERTICAL);\n moduleRecycler.setLayoutManager(manager);\n }",
"public void setAdapter() {\n datalist = new ArrayList<>();\n\n adapter = new SoundListAdapter(context, datalist, new AdapterClickListener() {\n @Override\n public void onItemClick(View view, int pos, Object object) {\n\n SoundsModel item = (SoundsModel) object;\n\n if (view.getId() == R.id.done) {\n stopPlaying();\n downLoadMp3(item.id, item.sound_name, item.acc_path);\n } else if (view.getId() == R.id.fav_btn) {\n callApiForFavSound(pos, item);\n } else {\n if (thread != null && !thread.isAlive()) {\n stopPlaying();\n playaudio(view, item);\n } else if (thread == null) {\n stopPlaying();\n playaudio(view, item);\n }\n }\n }\n });\n\n recyclerView.setAdapter(adapter);\n\n\n }",
"@Override\r\n public void onBindViewHolder(ViewHolder viewHolder, Cursor cursor) {\r\n }",
"List<NovedadAdapter> getAll();",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_fragment_recycler_view, container, false);\n\n Bundle bundle = getArguments();\n idFuente = bundle.getString(IDFUENTE);\n\n ArticulosController articulosController = new ArticulosController();\n articulosController.obtenerArticulos(idFuente, new ResultListener<List<Articulo>>() {\n @Override\n public void finish(List<Articulo> resultado) {\n articulosAdapterRecyclerView.setArticuloList(resultado);\n }\n });\n\n //LISTA DE NOTICIAS\n //final List<Noticia> noticiaList = new ArrayList<>();\n\n articuloList = new ArrayList<>();\n\n\n EditText ediTextDeBusqueda = (EditText) view.findViewById(R.id.edit_text_de_busqueda);\n\n //<!-- Dos lineas para deshabilitar la tecla enter -->\n ediTextDeBusqueda.setSingleLine(false);\n ediTextDeBusqueda.setInputType(android.text.InputType.TYPE_CLASS_TEXT | android.text.InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT);\n\n ediTextDeBusqueda.addTextChangedListener(new TextWatcher() {\n\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {\n\n }\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {\n\n }\n\n @Override\n public void afterTextChanged(Editable s) {\n filter(s.toString());\n }\n });\n\n RecyclerView recyclerViewArticulos = (RecyclerView) view.findViewById(R.id.recyclerViewFragment);\n recyclerViewArticulos.setLayoutManager(new LinearLayoutManager(getContext(),LinearLayoutManager.VERTICAL,false));\n\n articulosAdapterRecyclerView = new ArticulosAdapterRecyclerView(getContext(), articuloList,this);\n recyclerViewArticulos.setAdapter(articulosAdapterRecyclerView);\n\n recyclerViewArticulos.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false));\n\n return view;\n }",
"private void setAdapter() {\n resultsRv.setLayoutManager(new LinearLayoutManager(getActivity()));\n resultsRv.setHasFixedSize(true);\n resultsRv.setItemAnimator(new DefaultItemAnimator());\n resultsRv.setAdapter(resultsListAdapter);\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_lista_prestaciones_bm, container, false);\n rvPrestacionesBM = view.findViewById(R.id.rvPrestacionBM);\n rvPrestacionesBM.setLayoutManager(new LinearLayoutManager(getContext()));\n\n vm = ViewModelProvider.AndroidViewModelFactory.getInstance(getActivity().getApplication()).create(ListaPrestacionesViewModel.class);\n\n vm.getListaPrestaciones().observe(getViewLifecycleOwner(), new Observer<ArrayList<Prestacion>>() {\n @Override\n public void onChanged(final ArrayList<Prestacion> prestacions) {\n AdaptadorPrestacion adaptador = new AdaptadorPrestacion(prestacions, getContext());\n\n adaptador.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Prestacion prestacion = prestacions.get(rvPrestacionesBM.getChildAdapterPosition(v));\n Bundle bundle=new Bundle();\n bundle.putSerializable(\"prestacion\", prestacion);\n Navigation.findNavController(v).navigate(R.id.nav_prestacionMB, bundle);\n }\n });\n\n rvPrestacionesBM.setAdapter(adaptador);\n }\n });\n\n vm.cargarDatos();\n\n return view;\n }",
"public RowListaCustomAdapter ( Context c, ArrayList<Row>data){\n Log.v(TAG, \"Construir Adaptador\");\n this.data = data;\n inflater = LayoutInflater.from(c);\n\n }",
"@Override\n public int getCount() {\n return filtered.size();\n }",
"private void loadData() {\n if (mItem != null) {\n Picasso.with(getActivity()).load(mItem.getPictureFile()).\n placeholder(R.drawable.loading)\n .error(R.drawable.error)\n .fit() //\n .into(((ImageView) getView().findViewById(R.id.detailImageView)));\n ((EditText) getView().findViewById(R.id.visitstextView))\n .setText(\"\" + mItem.getVisits());\n\n ((TextView) getView().findViewById(R.id.detailTextView))\n .setText(\"\" + mItem.getTitle());\n ((RatingBar) getView().findViewById(R.id.detailsratingBar)).setRating((float) mItem.getRating());\n\n ReviewModelAdapter mReviewAdapter = new ReviewModelAdapter(getActivity(), R.id.txt_line1);\n try {\n mReviewAdapter.addAll(mItem.getReviews(getActivity()).all().toList());\n } catch (Exception e) {\n\n }\n ((ListView) getView().findViewById(R.id.detailsreviewlistview)).setAdapter(mReviewAdapter);\n\n\n }\n }",
"private void setRecyclerViewData() {\n }",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_wikipets);\n listaWikipets = (RecyclerView)findViewById(R.id.rvWikipets);\n listaWikipets.setLayoutManager(new LinearLayoutManager(this));\n listaPreguntas.add(getString(R.string.pregunta0));\n listaPreguntas.add(getString(R.string.pregunta1));\n listaPreguntas.add(getString(R.string.pregunta2));\n listaPreguntas.add(getString(R.string.pregunta3));\n listaPreguntas.add(getString(R.string.pregunta4));\n listaPreguntas.add(getString(R.string.pregunta5));\n listaPreguntas.add(getString(R.string.pregunta6));\n listaPreguntas.add(getString(R.string.pregunta7));\n listaPreguntas.add(getString(R.string.pregunta8));\n listaPreguntas.add(getString(R.string.pregunta9));\n\n //Al tocar un item de la lista\n listener = this;\n\n AdaptadorWikipets adaptador = new AdaptadorWikipets(listaPreguntas, this, listener);\n listaWikipets.setAdapter(adaptador);\n }",
"private void refreshData(){\n filempty.setVisibility(View.GONE);\n adapter = new FoundRecyclerviewAdapter(FoundActivity.this, data);\n v.setAdapter(adapter);\n emptyView();\n }",
"public CardViewKelasAdapter(Context context){this.context = context;}",
"private void loadSearchBottleInRecycleView() {\n\n String search = txtSearch.getText().toString();\n\n accesLocalCellar = new AccesLocalCellar(SearchActivity.this);\n ArrayList<WineBottle> wineBottleArrayList = (ArrayList<WineBottle>) accesLocalCellar.recoverSearchWineBottleList(search);\n\n mRecyclerView.setHasFixedSize(true);\n\n //mLayoutManager = new LinearLayoutManager(getContext());\n //mRecyclerView.setLayoutManager(mLayoutManager);\n\n mAdapter = new MyAdapterCellarRecyclerView(SearchActivity.this, wineBottleArrayList);\n\n mRecyclerView.setAdapter(mAdapter);\n\n\n //mRecyclerView.setAlpha(0f);\n //mRecyclerView.animate().translationY(0f).alpha(1f).setInterpolator(interpolator).setDuration(2500).start();\n\n }",
"public void setAdapter() {\n binding.RvwalletAmount.setLayoutManager(new GridLayoutManager(getActivity(), 2));\n binding.RvwalletAmount.setHasFixedSize(true);\n WalletAdapter kyCuploadAdapter = new WalletAdapter(getActivity(), getListWallet(), this);\n binding.RvwalletAmount.setAdapter(kyCuploadAdapter);\n }",
"@Override\n protected void onResume() {\n super.onResume();\n adapter = new AdaptadorIngrediente(this, listaIngredientes);\n listview.setAdapter(adapter);\n }",
"public void setMainRowsAdapter() {\n\n //Selector que permite agregar multiples Presentadores\n rowPresenterSelector = new ClassPresenterSelector();\n\n //Inicialización y configuración del Presentador del MediaPlayer\n playbackControlsRowPresenter = mGlue.createControlsRowAndPresenter();\n playbackControlsRowPresenter.setBackgroundColor(getActivity().getResources().getColor(R.color.background));\n playbackControlsRowPresenter.setBackgroundColor(getActivity().getResources().getColor(R.color.colorPrimary));\n playbackControlsRowPresenter.setSecondaryActionsHidden(false);\n playbackControlsRowPresenter.setOnActionClickedListener(new OnActionClickedListener() {\n @Override\n public void onActionClicked(Action action) {\n if (action.getId() == 0) { //Like Action\n\n }\n if (action.getId() == 2) { //Repeat Action\n final LiveCanalCard card = selectedChannel;\n MediaMetaData currentMetaData = new MediaMetaData();\n currentMetaData.setMediaTitle(card.getmTitle());\n currentMetaData.setMediaSourcePath(card.getmRecord());\n mGlue.prepareIfNeededAndPlay(currentMetaData);\n }\n\n }\n });\n\n }",
"@Override\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\n notifyDataSetChanged();\n }",
"@Override\r\n public void onDataSetChanged() {\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n holder.nombre.setText(this.listaPuntuaciones.get(position).getNombre());\n holder.apellidos.setText(this.listaPuntuaciones.get(position).getApellidos());\n holder.puntuacion.setText(\"\"+this.listaPuntuaciones.get(position).getPuntuacion());\n\n Object[] objetos = new Object[3];\n // params[0] imageView\n // params[1] String con la url de la imagen\n // params[2] contexto\n objetos[0] = holder.imageViewItemPuntuacion;\n objetos[1] = this.listaPuntuaciones.get(position).getFoto();\n objetos[2] = holder.imageViewItemPuntuacion.getContext();\n\n PonerFotoEnUnImageView myThread = new PonerFotoEnUnImageView();\n myThread.execute(objetos);\n\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_tab_resultado, container, false);\n\n List<Empresa> rowListItem = getData();\n manager = new LinearLayoutManager(getActivity());\n //recycler\n RecyclerView reciclador = (RecyclerView) view.findViewById(R.id.reciclador_resultados);\n\n resultado = view.findViewById(R.id.txt_resultado);\n\n reciclador.setHasFixedSize(true);\n RecyclerViewAdapter adapter = new RecyclerViewAdapter(getContext(), rowListItem);\n reciclador.setLayoutManager(manager);\n reciclador.setAdapter(adapter);\n //resultado.setText(\"se ha encontrado\"+\"resultados\");\n return view;\n }",
"@Override\n public void onBindViewHolder(DetailAdapter.ViewHolder holder, int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n //holder.mTextView.setText(mDataset[position]);\n holder.informacion.setText(mDataset[position]); //informacion es el dato que nos entrega el arreglo\n }",
"@Override\r\n public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\r\n LayoutInflater layoutInflater = LayoutInflater.from(context);\r\n View viewCelda;\r\n FragmentActivity unaActivity = (FragmentActivity) context;\r\n FragmentManager fragmentManager = (FragmentManager) unaActivity.getSupportFragmentManager();\r\n FragmentBusqueda fragmentBusqueda = (FragmentBusqueda) fragmentManager.findFragmentByTag(\"FragmentBuscador\");\r\n\r\n\r\n if (fragmentBusqueda != null && fragmentBusqueda.isVisible()) {\r\n viewCelda = layoutInflater.inflate(R.layout.detalle_celda_busqueda, parent, false);\r\n } else {\r\n viewCelda = layoutInflater.inflate(R.layout.detalle_celda, parent, false);\r\n }\r\n FormatoViewHolder peliculasViewHolder = new FormatoViewHolder(viewCelda);\r\n viewCelda.setOnClickListener(this);\r\n\r\n return peliculasViewHolder;\r\n }",
"@Override\n public void onBindViewHolder(MyViewHolder holder, int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n holder.textView.setText(mDataset.get(position).tresc);\n Picasso.get().load(mDataset.get(position).miniaturka).into(holder.imageView);\n holder.cardView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = new Intent(context, WyswietlanieNewsaActivity.class);\n intent.putExtra(\"url\", mDataset.get(position).link);\n context.startActivity(intent);\n }\n });\n\n }",
"private void setAdapter(List<MovieList> listMovies) {\n adapter = new CardAdapter(listMovies, this);\n //Adding adapter to recyclerview\n AlphaInAnimationAdapter alphaAdapter = new AlphaInAnimationAdapter(adapter);\n alphaAdapter.setFirstOnly(false);\n recyclerView.setAdapter(alphaAdapter);\n// recyclerView.setAdapter(adapter);\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n ListItem item = this.getItem(position);\n if (convertView == null) {\n \tif (item.type == TYPE_ITEM){\n \t\tconvertView = mInflater.inflate(R.layout.search_item, null);\n \t} else {\n \t\tconvertView = mInflater.inflate(R.layout.search_separator, null);\n \t}\n //holder = new ViewHolder();\n //holder.textView = (TextView)convertView.findViewById(R.id.text);\n //convertView.setTag(holder);\n } else {\n //holder = (ViewHolder)convertView.getTag();\n }\n //holder.textView.setText(this.getItem(position));\n \tif (item.type == TYPE_ITEM) {\n \t\tMangaItem item1 = mData.get(position).item;\n \t\t((TextView)convertView.findViewById(R.id.text)).setText(item1.name);\n \t\t\n \t\tImageView view = (ImageView)convertView.findViewById(R.id.favorites);\n \t\tconvertView.setTag(item1); //just in order simpler access\n \t\tif (MangaUtils.isItemFavorited(SearchActivity.this.getApplicationContext(),item1)) {\n \t\t\tview.setImageResource(R.drawable.favorited);\n \t\t} else {\n \t\t\tview.setImageResource(R.drawable.unfavorited);\n \t\t}\n \t\tview.setTag(item1);\n \t\t//MangaUtils.setPreviewImage((ImageView)convertView.findViewById(R.id.preview),item1.thumnail_url, this);\n \t\tif (item1.thumnail_url!=null) {\n \t\t\timageloader.displayImage(item1.thumnail_url, (ImageView)convertView.findViewById(R.id.preview));\n \t\t} else {\n \t\t((ImageView)convertView.findViewById(R.id.preview)).setImageResource(R.drawable.mangaloading);\n \t}\n \t\t//view.setI\n \t\t\n \t\t\n \t\tview.setOnClickListener(new OnClickListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\tMangaItem item1 = (MangaItem)arg0.getTag();\n\t\t\t\t\t\tImageView iv = (ImageView) arg0;\n\t\t\t\t\t\tif (MangaUtils.isItemFavorited(SearchActivity.this.getApplicationContext(),item1)){\n\t\t\t\t\t\t\tMangaUtils.removeFavorite(SearchActivity.this.getApplicationContext(),item1);\n\t\t\t\t\t\t\tiv.setImageResource(R.drawable.unfavorited);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tMangaUtils.addFavorite(SearchActivity.this.getApplicationContext(),item1);\n\t\t\t\t\t\t\tiv.setImageResource(R.drawable.favorited);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n \t\t});\n \t} else {\n ((TextView)convertView.findViewById(R.id.text)).setText(item.name); \t\t\n ((TextView)convertView.findViewById(R.id.lang)).setText(item.lang); \t\t\n \t}\n return convertView;\n }",
"@Override\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\n notifyDataSetChanged();\n }",
"@Override\n protected void onPostExecute(List<Persona> personas) {\n if (personas != null) {\n adaptador = new AdaptadorDePersonas(getBaseContext(), personas);\n lista.setAdapter(adaptador);\n } else {\n Toast.makeText(getBaseContext(),\n \"Error del adaptador \", Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n public void onPeticionesRecibidasObtenidas(List<PeticionQuedada> peticionesQuedadas) {\n this.lista_peticiones= peticionesQuedadas;\n lista_peticionesRecibidas=new ArrayList<>();\n\n\n progressDialog.show();\n Log.i(\"ADAPTADOR\", \"+++++++++ LISTA PETICIONES RECIBIDAS ++++++++\\n\" + peticionesQuedadas.toString());\n\n PeticionQuedada mPeticionQuedada= peticionesQuedadas.get(peticionesQuedadas.size()-1);\n\n Log.i(\"ADAPTADOR\", \"+++++++++ OBTENIENDO FOTO ++++++++\\n\" + mPeticionQuedada.toString());\n\n presenter.obtenerFotoUsuario(mPeticionQuedada.getAutor_peticion(),mPeticionQuedada);\n\n\n }",
"@Override\n public void run() {\n filtered_list.clear();\n\n // If there is no search value, then add all original list items to filter list\n if (TextUtils.isEmpty(searchText)) {\n if (original_data != null)\n filtered_list.addAll(original_data);\n\n } /*\n\n naco to tu je??\n\n else {\n // Iterate in the original List and add it to filter list...\n for (MnozstvaTovaru item : original_data) {\n if (item.getTovarNazov().toLowerCase().contains(searchText.toLowerCase())) {\n // Adding Matched items\n filtered_list.add(item);\n }\n }\n } */\n\n // Set on UI Thread\n ((Activity) context).runOnUiThread(new Runnable() {\n @Override\n public void run() {\n // Notify the List that the DataSet has changed...\n notifyDataSetChanged();\n }\n });\n\n }",
"public void refreshAdapter() {\n int count = 0;\n removeAllViews();\n for (TypeViewInfo info : this.mTypeToView.values()) {\n info.currentUsedPosition = 0;\n }\n if (this.mListAdapter != null) {\n count = this.mListAdapter.getCount();\n }\n for (int i = 0; i < count; i++) {\n Integer type = Integer.valueOf(this.mListAdapter.getItemViewType(i));\n if (!this.mTypeToView.containsKey(type)) {\n this.mTypeToView.put(type, new TypeViewInfo(type));\n }\n TypeViewInfo info2 = this.mTypeToView.get(type);\n View canvasView = info2.currentUsedPosition < info2.holdViews.size() ? info2.holdViews.get(info2.currentUsedPosition) : null;\n View current = this.mListAdapter.getView(i, canvasView, this);\n if (current == null) {\n throw new RuntimeException(\"Adapter.getView(postion , convasView, viewParent) cannot be null \");\n }\n if (canvasView != current) {\n if (canvasView == null) {\n info2.holdViews.add(current);\n } else {\n info2.holdViews.remove(canvasView);\n info2.holdViews.add(info2.currentUsedPosition, current);\n }\n }\n info2.currentUsedPosition++;\n addView(current);\n }\n this.mSelectIndex = Math.min(this.mSelectIndex, (float) (count - 1));\n this.mSelectIndex = Math.max(0.0f, this.mSelectIndex);\n calculationRect(true);\n }",
"public void rellenarListview(ArrayList<Cliente> listausar) {\n // edito el listview\n AdaptadorPersonalizado adaptador = new AdaptadorPersonalizado(getApplicationContext(), listausar);\n lista.setAdapter(adaptador);\n }",
"private void adaptView() {\n adapter = new ViewUserOrder_Adapter(ViewUserOrder.this, R.layout.order_element, listOrder);\n //adapter = new ViewUserOrder_Adapter(this, R.layout.order_element, userOrderList);\n gridView.setAdapter(adapter);\n //Toast.makeText(ViewUserOrder.this, \"Adapted data\", Toast.LENGTH_LONG).show();\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View view = convertView;\n //se nao recebeu um layout para reutilizar deve inflar um\n if(view == null) {\n //um inflater transforma um layout em uma view\n LayoutInflater inflater = (LayoutInflater) context.getSystemService\n (Context.LAYOUT_INFLATER_SERVICE);\n view = inflater.inflate(R.layout.available_flight_adapter_row, parent, false);\n\n ImageView flightImage = (ImageView) view.findViewById(R.id.available_flight_image);\n TextView flightOrigin = (TextView) view.findViewById(R.id.available_flight_origin);\n TextView flightData = (TextView) view.findViewById(R.id.available_flight_data);\n TextView flightArrival = (TextView) view.findViewById(R.id.available_flight_arrival);\n TextView flightDescription = (TextView) view.findViewById(R.id.available_flight_description);\n //faz cache dos widgets instanciados na tag da view para reusar quando houver reciclagem\n view.setTag(new AvailableFlightsViewHolder(\n flightImage,\n flightOrigin,\n flightData,\n flightArrival,\n flightDescription\n ));\n }\n //usa os widgets cacheados na view reciclada\n AvailableFlightsViewHolder holder = (AvailableFlightsViewHolder) view.getTag();\n //carrega os novos valores\n Drawable drawable = Util.getDrawable(context, flightList[position].getImage());\n holder.getImage().setImageDrawable(drawable);\n holder.getOrigin().setText(flightList[position].getOrigin());\n holder.getData().setText(flightList[position].getName() +\": \"+ flightList[position].getCarrier());\n holder.getArrival().setText(flightList[position].getArrival());\n holder.getDescription().setText(flightList[position].getDescription());\n\n return view;\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View listItem = convertView;\n int pos = position;\n\n if(listItem == null){\n listItem = layoutInflater.inflate(R.layout.item_list, null);\n }\n\n //Colocando na tela os elementos da busca\n ImageView iv = (ImageView) listItem.findViewById(R.id.thumb);\n TextView tvTitle = (TextView) listItem.findViewById(R.id.title);\n TextView tvDate = (TextView) listItem.findViewById(R.id.date);\n\n //aplicando as views no form_contato\n imageLoader.DisplayImage(feed.getItem(pos).getImage(), iv);\n tvTitle.setText(feed.getItem(pos).getTitle());\n tvDate.setText(feed.getItem(pos).getDate());\n\n return listItem;\n }",
"protected void init_adapter()\n {\n manager = new GridLayoutManager(this, 2);\n recycler_view.setLayoutManager(manager);\n //recycler_view.setit\n\n adapter = new NasaApodAdapter();\n\n adapter.setOnItemClickListener(new NasaApodAdapter.OnItemClickListener()\n {\n @Override\n public void onItemClick(Photo photo)\n {\n Log.d(\"APOD\", photo.getImgSrc());\n\n intent = new Intent(getApplicationContext(), DetailActivity.class);\n intent.putExtra(\"photo\", photo);\n\n startActivity(intent);\n }\n });\n }",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n\n FilterResults results=new FilterResults();\n\n if(constraint != null && constraint.length()>0)\n {\n //CONSTARINT TO UPPER\n constraint=constraint.toString().toUpperCase();\n\n ArrayList<Busqueda> filters=new ArrayList<Busqueda>();\n\n //get specific items\n for(int i=0;i<FilterDatos.size();i++)\n {\n if(FilterDatos.get(i).getTitulo().toUpperCase().contains(constraint))\n {\n Busqueda p=new Busqueda();\n p.setId(FilterDatos.get(i).getId());\n p.setTitulo(FilterDatos.get(i).getTitulo());\n p.setDescripcion(FilterDatos.get(i).getDescripcion());\n p.setContraseña(FilterDatos.get(i).getContraseña());\n p.setLongitud(FilterDatos.get(i).getLongitud());\n p.setTerminada(FilterDatos.get(i).getTerminada());\n p.setPuntos(FilterDatos.get(i).getPuntos());\n filters.add(p);\n }\n }\n\n results.count=filters.size();\n results.values=filters;\n\n }else\n {\n results.count=FilterDatos.size();\n results.values=FilterDatos;\n\n }\n\n return results;\n }",
"@Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n rowItems = (List<Product>) results.values;\n notifyDataSetChanged();\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n list = new ArrayList<erupciones>();\n for(DataSnapshot dataSnapshot1 :dataSnapshot.getChildren()){\n\n erupciones value = dataSnapshot1.getValue(erupciones.class);\n erupciones fire = new erupciones();\n String name = value.getFuente();\n String address = value.getObservaciones();\n String email = value.getYear();\n fire.setFuente(name);\n fire.setObservaciones(email);\n fire.setYear(address);\n list.add(fire);\n\n\n RecyclerAdapter recyclerAdapter = new RecyclerAdapter(list, Detalles.this);\n RecyclerView.LayoutManager recyce = new GridLayoutManager(Detalles.this, 1);\n /// RecyclerView.LayoutManager recyce = new LinearLayoutManager(MainActivity.this);\n // recycle.addItemDecoration(new GridSpacingItemDecoration(2, dpToPx(10), true));\n recycle.setLayoutManager(recyce);\n recycle.setItemAnimator(new DefaultItemAnimator());\n recycle.setAdapter(recyclerAdapter);\n\n }\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_scanner__lista_del_total, container, true);\n\n\n tvCodigoLeido = rootView.findViewById(R.id.codigoLeido);\n listView = rootView.findViewById(R.id.listView1);\n btnTerminar = rootView.findViewById(R.id.btnTerminar);\n btnAgregarCL = rootView.findViewById(R.id.btnAgregarCL);\n etBuscar = rootView.findViewById(R.id.etBuscarPC);\n tvTotalDeCompra = rootView.findViewById(R.id.tvTotalDeCompra);\n\n inicializacionFireBase();\n //Patron de Diseño Singleton\n databaseHelperCompra = DatabaseHelperCompra.obtenerConexion(getContext());\n\n btnAgregarCL.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n scaner();\n }\n });\n\n etBuscar.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence s, int start, int count, int after) {\n\n }\n\n @Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {\n\n }\n\n @Override\n public void afterTextChanged(Editable s) {\n String nombre = etBuscar.getText().toString();\n ArrayList<ProductosComprados> listaBusqueda = new ArrayList<>();\n\n if(nombre.length() >= 0){\n listaBusqueda.clear();\n for(ProductosComprados p : listaItem){\n String nombreP = p.getNombre().toLowerCase();\n if(nombreP.contains(nombre.toLowerCase())){\n listaBusqueda.add(p);\n }\n }\n\n adaptador = new Adaptador(getContext(),listaBusqueda);\n listView.setAdapter(adaptador);\n }else{\n listaItem = databaseHelperCompra.getAllEntidad();\n adaptador = new Adaptador(getContext(),listaItem);\n listView.setAdapter(adaptador);\n }\n }\n });\n\n btnTerminar.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //AQUIII\n ArrayList<ProductosComprados> lista = databaseHelperCompra.getAllEntidad();\n String recorer = \"\";\n for(int i = 0; i < lista.size(); i++){\n if(i == 0)\n recorer += lista.get(i).getJSON();\n else\n recorer += \",\" + lista.get(i).getJSON();\n }\n String JSON = \"{\\\"productos\\\":[\" + recorer +\"]}\";\n\n openDialogGenerarCodigo(JSON);\n\n }\n });\n\n //listaItem.clear();\n listaItem = databaseHelperCompra.getAllEntidad();\n\n total = 0;\n for(ProductosComprados p: listaItem){\n total += p.getPrecioTotal();\n }\n\n tvTotalDeCompra.setText(total + \"\");\n\n adaptador = new Adaptador(getContext(), listaItem);\n\n adaptador.notifyDataSetChanged();\n\n listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n yaExiste = true;\n /*\n\n\n\n */\n\n listaItem.clear();\n listaItem = databaseHelperCompra.getAllEntidad();\n adaptador = new Adaptador(getContext(), listaItem);\n listView.setAdapter(adaptador);\n\n\n\n prod = listaItem.get(position);\n openDialog(prod,true);\n yaExiste = false;\n }\n });\n\n listView.setAdapter(adaptador);\n\n\n return rootView;\n }",
"private void getDataModern(){\n UserAPIService api = Config.getRetrofit().create(UserAPIService.class);\n Call<Value> call = api.lihat_jenis(\"Modern\");\n call.enqueue(new Callback<Value>() {\n @Override\n public void onResponse(Call<Value> call, Response<Value> response) {\n// pDialog.dismiss();\n String value1 = response.body().getStatus();\n if (value1.equals(\"1\")){\n Value value = response.body();\n resultAlls = new ArrayList<>(Arrays.asList(value.getResult()));\n adapter = new RecyclerAdapterListAll(resultAlls,getApplicationContext());\n recyclerView.setAdapter(adapter);\n }else {\n Toast.makeText(ListPonpesActivity.this,\"Maaf Data Tidak Ada\",Toast.LENGTH_SHORT).show();\n }\n }\n\n @Override\n public void onFailure(Call<Value> call, Throwable t) {\n // pDialog.dismiss();\n Toast.makeText(ListPonpesActivity.this,\"Respon gagal\",Toast.LENGTH_SHORT).show();\n Log.d(\"Hasil internet\",t.toString());\n }\n });\n }",
"public abstract void bindViewHolder(VH holder, Context context, Cursor cursor);",
"private void showMyAdapt() {\n\t\tmyAdapt = new MyAdapt(this, persons);\n\t\tlistView.setAdapter(myAdapt);\n\t}",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n Recipe myRecipe = getItem(position);\n // Check if an existing view is being reused, otherwise inflate the view\n if (convertView == null) {\n convertView = LayoutInflater.from(getContext()).inflate(R.layout.lista_layout, parent, false);\n }\n // Lookup view for data population\n TextView nombre_receta = (TextView) convertView.findViewById(R.id.nombre_receta);\n // 22 caracteres maximo\n TextView descripcion_receta = (TextView) convertView.findViewById(R.id.descripcion_receta);\n ImageView imagen_receta = (ImageView) convertView.findViewById(R.id.imagen_receta);\n // Populate the data into the template view using the data object\n String aux = myRecipe.getName();\n if (aux.length() > 25){\n aux = aux.substring(0, 22) + \"...\";\n }\n nombre_receta.setText(aux);\n descripcion_receta.setText(Long.toString(myRecipe.getPerson()));\n if(myRecipe.getPicture()!=null) {\n if (myRecipe.getPicture().equals(\"\")) {\n Bitmap bmp = BitmapFactory.decodeResource(getContext().getResources(), R.drawable.recdefault);//image is your image\n bmp = Bitmap.createScaledBitmap(bmp, 500, 500, true);\n imagen_receta.setImageBitmap(bmp);\n } else {\n ByteArrayInputStream imageStream = new ByteArrayInputStream(Base64.decode(myRecipe.getPicture(), Base64.DEFAULT));\n Bitmap theImage = BitmapFactory.decodeStream(imageStream);\n theImage = Bitmap.createScaledBitmap(theImage, 500, 500, true);\n imagen_receta.setImageBitmap(theImage);\n }\n }\n // Return the completed view to render on screen\n return convertView;\n }",
"public Cursor CargarTodosLosDatos()\n {\n return db.query(DATABASE_TABLE, new String[] {KEY_ATRIBUTO01}, null, null, null, null, null);\n }",
"private void loadRecyclerViewItem() {\n for (int i = 0; i < mySongs.size(); i++) {\n Song song = new Song(\n mySongs.get(i),\n mySongs.get(i).getName(),\n getTimeSong(mySongs.get(i))\n );\n songsList.add(song);\n }\n songAdapter = new TheAdapter(songsList,this);\n recyclerView.setAdapter(songAdapter);\n songAdapter.notifyDataSetChanged();\n\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, int position) {\n\n }",
"private void renderer(int rv, ArrayList<ItemBox> list){\n recyclerView = findViewById(rv);\r\n recyclerView.setHasFixedSize(true);\r\n RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false);\r\n RecyclerView.Adapter adapter = new Itembox_Adapter(list, this, 1);\r\n recyclerView.setLayoutManager(layoutManager);\r\n recyclerView.setAdapter(adapter);\r\n }",
"@Override\n public void onBindViewHolder(MinhaViewHolder holder, int position) {\n holder.imagemCategoria.setImageResource(mLista.get(position).getFoto());\n holder.destino.setText(mLista.get(position).getDestino());\n holder.custoTotal.setText(mLista.get(position).getValor());\n holder.data.setText(mLista.get(position).getData());\n\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_rencana_latihan, container, false);\n rv_recentOpen = (RecyclerView) rootView.findViewById(R.id.rv_recentOpen);\n rv_list1 = (RecyclerView) rootView.findViewById(R.id.rv_list1);\n rv_list2 = (RecyclerView) rootView.findViewById(R.id.rv_list2);\n v_noRecent = (View) rootView.findViewById(R.id.v_noRencent);\n TextView tv_selengkapnya1 = (TextView) rootView.findViewById(R.id.tv_selengkapnya1);\n TextView tv_selengkapnya2 = (TextView) rootView.findViewById(R.id.tv_selengkapnya2);\n progress();\n rencanaPresenter = new RencanaPresenter(this, getContext());\n rencanaPresenter.getListRencana();\n mProgress.show();\n tv_selengkapnya1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent data = new Intent(getActivity(), RencanaLatihanDetail.class);\n data.putExtra(\"judul\", \"list1\");\n getActivity().startActivity(data);\n }\n });\n\n tv_selengkapnya2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent data = new Intent(getActivity(), RencanaLatihanDetail.class);\n data.putExtra(\"judul\", \"list2\");\n getActivity().startActivity(data);\n }\n });\n\n\n return rootView;\n }",
"@NonNull\n @Override\n public ViewHolderMisFotos onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n View layoutDeCadaItem = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_layout_mis_fotos, parent, false);\n ViewHolderMisFotos viewHolder = new ViewHolderMisFotos(layoutDeCadaItem);\n viewHolder.seleccion = seleccionados;\n return viewHolder;\n }"
] | [
"0.71146554",
"0.6403762",
"0.6339133",
"0.6238017",
"0.6140072",
"0.61063224",
"0.6062048",
"0.6049733",
"0.6004818",
"0.59500515",
"0.594812",
"0.59374297",
"0.5856215",
"0.58261335",
"0.5805771",
"0.5782951",
"0.5763028",
"0.57529163",
"0.57421714",
"0.57311654",
"0.5728377",
"0.57087857",
"0.56852734",
"0.56754375",
"0.5666053",
"0.5649541",
"0.5640592",
"0.56405485",
"0.5636055",
"0.5635869",
"0.5622881",
"0.5615768",
"0.55428624",
"0.5533424",
"0.55302155",
"0.552973",
"0.55267894",
"0.5521543",
"0.5518358",
"0.5513633",
"0.55102295",
"0.55047643",
"0.5504431",
"0.5500088",
"0.5485964",
"0.5484606",
"0.5475279",
"0.54483557",
"0.5443191",
"0.54411036",
"0.54285675",
"0.54274756",
"0.5426989",
"0.54218954",
"0.54193765",
"0.5413912",
"0.54040533",
"0.5398349",
"0.53968716",
"0.5388915",
"0.53811914",
"0.5374038",
"0.5373413",
"0.5368788",
"0.53649867",
"0.53591174",
"0.5357456",
"0.53574514",
"0.5353912",
"0.5351455",
"0.5348431",
"0.53450316",
"0.5339903",
"0.53376305",
"0.5336973",
"0.53319705",
"0.5328691",
"0.53189594",
"0.53180516",
"0.53171784",
"0.5312001",
"0.53061557",
"0.5305443",
"0.5298741",
"0.52959645",
"0.52954924",
"0.5293339",
"0.5292327",
"0.52913433",
"0.52835554",
"0.5282006",
"0.5281231",
"0.5271727",
"0.5271716",
"0.5264349",
"0.5261079",
"0.5250186",
"0.5250152",
"0.5248052",
"0.52433467"
] | 0.70507205 | 1 |
Carga el adaptador filtrado por categoria o nombre en el recyclerView | public void cargarAdaptador(String filtraPor, String categoria){
if (filtraPor.equals("Categoria")) {
if (!categoria.equals("NoFiltrar")) {
gridLayoutManager = new GridLayoutManager(getContext(), 2);
adapterRecetas = new AdapterRecetas(getContext());
adapterRecetas.filtrarPorCategoria(getContext(), categoria);
recyclerView.setLayoutManager(gridLayoutManager);
recyclerView.setAdapter(adapterRecetas);
} else {
this.cargarAdaptador();
}
}else{ //Se filtra por nombre de plato
gridLayoutManager = new GridLayoutManager(getContext(), 2);
adapterRecetas = new AdapterRecetas(getContext());
adapterRecetas.filtrarPorNombre(getContext(), categoria);
recyclerView.setLayoutManager(gridLayoutManager);
recyclerView.setAdapter(adapterRecetas);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void extrageLista(String numeCategorie){\n RecyclerView recyclerView=findViewById(R.id.recyclerViewCategories);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\n\n myRef.addValueEventListener(new ValueEventListener() {\n\n\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n int lg = (int) dataSnapshot.child(\"listaAlimente\").getChildrenCount();\n int x=0;\n for(x=1;x<=lg;x++)\n if(String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"name\").getValue()).equals(numeCategorie))\n break;\n\n int lungime = (int) dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").getChildrenCount();\n\n myGreenFoodData = new MyGreenFoodData[lungime];\n for(int i=1;i<=lungime;i++){\n\n //String descriere = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"receipe\").child(String.valueOf(i)).child(\"description\").getValue());\n String nume = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").child(String.valueOf(i)).child(\"name\").getValue());\n String imagine = String.valueOf(dataSnapshot.child(\"listaAlimente\").child(String.valueOf(x)).child(\"alimente\").child(String.valueOf(i)).child(\"image\").getValue());\n //Log.d(\"EMA\",nume);\n\n myGreenFoodData[i-1]=new MyGreenFoodData(nume,\"\",imagine);\n\n\n }\n\n\n MyGreenFoodAdapterAlimente myGreenFoodAdapterCategories = new MyGreenFoodAdapterAlimente(myGreenFoodData, AlimenteActivity.this::onItemClickAlimente);\n recyclerView.setAdapter(myGreenFoodAdapterCategories);\n\n }\n @Override\n public void onCancelled(DatabaseError error) {\n Log.w(\"EMA\", \"Failed to read value.\", error.toException());\n }\n });\n\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, final int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n\n holder.tvCategoryName.setText(categorieList.get(position).getName().toUpperCase());\n\n switch (categorieList.get(position).getName()) {\n case \"Historia\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_account_balance_white_48dp));\n break;\n case \"Restaurantes\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_restaurant_white_48dp));\n break;\n case \"Hoteles\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_hotel_white_48dp));\n break;\n case \"Servicios Turisticos\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_local_see_white_48dp));\n break;\n case \"Comida rapida\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_local_pizza_white_48dp));\n break;\n case \"Servicios\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_business_center_white_48dp));\n break;\n case \"Eventos\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_event_white_48dp));\n break;\n case \"Lugares de interes\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_place_white_48dp));\n break;\n case \"Comercios\":\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(R.drawable.ic_store_white_48dp));\n break;\n default:\n holder.ivCateItem.setImageDrawable(context.getResources().getDrawable(android.R.drawable.ic_dialog_info));\n break;\n }\n\n Glide.with(context).load(categorieList.get(position).getImage()).centerCrop().into(holder.ivImageCategory);\n holder.rlContainer.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n listener.onClickCategory(categorieList.get(position));\n }\n });\n\n }",
"public void cargarAdaptador(){\n gridLayoutManager = new GridLayoutManager(getContext(), 2);\n recyclerView.setLayoutManager(gridLayoutManager);\n adapterRecetas = new AdapterRecetas(getContext());\n recyclerView.setAdapter(adapterRecetas);\n }",
"@Override\n public void onBindViewHolder(final MyViewHolder holder, final int position) {\n String name;\n boolean isFilterCateSelected;\n final String seletedImage, unseletedImage;\n name = aL_categoryDatas.get(position).getName();\n\n\n // make first character of character is uppercase\n if (name != null && !name.isEmpty())\n\n /*String[] fullname=name.split(\" \");\n String firstindx=fullname[0].substring(0,1).toUpperCase()+fullname[0].substring(1).toLowerCase();\n Log.d(\"1.indx\",firstindx);\n String middleindx=\"\";\n if(fullname.length>1){\n middleindx=fullname[1];\n Log.d(\"2.indx\",middleindx);\n name=firstindx+\" \"+middleindx;\n }\n if(fullname.length>2) {\n String lastindx=fullname[2];\n lastindx=lastindx.substring(0,1).toUpperCase()+lastindx.substring(1).toLowerCase();\n Log.d(\"3.indx\",lastindx);\n name=name+\" \"+lastindx;\n }*/\n name = name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();\n //aL_categoryDatas.get(position).setName(name);\n\n seletedImage = aL_categoryDatas.get(position).getActiveimage();\n unseletedImage = aL_categoryDatas.get(position).getDeactiveimage();\n isFilterCateSelected = aL_categoryDatas.get(position).isSelected();\n holder.tV_category.setTextColor(ContextCompat.getColor(mActivity, R.color.heading_color));\n if (arrayListSelction.contains(name)) {\n setCategoryImage(holder.iV_category, seletedImage, holder.tV_category, name, selectedColor);\n } else {\n setCategoryImage(holder.iV_category, unseletedImage, holder.tV_category, name, unSelectedColor);\n }\n // set values like category image and name\n if (isFilterCateSelected)\n setCategoryImage(holder.iV_category, seletedImage, holder.tV_category, name, selectedColor);\n else\n setCategoryImage(holder.iV_category, unseletedImage, holder.tV_category, name, unSelectedColor);\n\n // To select or unselect category\n holder.view.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n boolean isViewSelected = aL_categoryDatas.get(holder.getAdapterPosition()).isSelected();\n if (!isViewSelected) {\n arrayListSelction.add(aL_categoryDatas.get(position).getName());\n\n aL_categoryDatas.get(holder.getAdapterPosition()).setSelected(true);\n setCategoryImage(holder.iV_category, seletedImage, holder.tV_category, aL_categoryDatas.get(holder.getAdapterPosition()).getName(), selectedColor);\n\n } else {\n\n for (int i = 0; i < arrayListSelction.size(); i++) {\n if (arrayListSelction.get(i).equals(aL_categoryDatas.get(position).getName())) {\n arrayListSelction.remove(i);\n }\n }\n aL_categoryDatas.get(holder.getAdapterPosition()).setSelected(false);\n setCategoryImage(holder.iV_category, unseletedImage, holder.tV_category, aL_categoryDatas.get(holder.getAdapterPosition()).getName(), unSelectedColor);\n }\n }\n });\n }",
"private void setDataInRecyclerView(){\n KorisniciAdapter adapter = new KorisniciAdapter(this, korisniciList);\n recyclerView.setAdapter(adapter); // set the Adapter to RecyclerView\n }",
"private void reportexfiltro() {\n switch (idcombo){\n\n case 0:\n consultarlistareportes();\n AdaptadorReportes adaptadora=new AdaptadorReportes(listarreportesinc);\n adaptadora.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //codreporte=codrep.toString();\n Toast.makeText(getApplicationContext(), \"Se obtiene el reporte\" +listarreportesinc.get(mRecyclerview.\n getChildAdapterPosition(v)).getCodreporte(),Toast.LENGTH_SHORT).show();\n Intent detalle= new Intent(PanelIncidentes.this,DetalleIncidente.class);\n variab=listarreportesinc.get(mRecyclerview.getChildAdapterPosition(v)).getCodreporte().toString();\n detalle.putExtra(\"pasar_codigo\",variab);\n startActivity(detalle);\n }\n });\n mRecyclerview.setAdapter(adaptadora);\n break;\n default:\n consultarlistareportesxiltro();\n AdaptadorReportes adaptadorb=new AdaptadorReportes(listarreportesinc);\n adaptadorb.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //codreporte=codrep.toString();\n Toast.makeText(getApplicationContext(), \"Se obtiene el reporte\" +listarreportesinc.get(mRecyclerview.\n getChildAdapterPosition(v)).getCodreporte(),Toast.LENGTH_SHORT).show();\n Intent detalle= new Intent(PanelIncidentes.this,DetalleIncidente.class);\n variab=listarreportesinc.get(mRecyclerview.getChildAdapterPosition(v)).getCodreporte().toString();\n detalle.putExtra(\"pasar_codigo\",variab);\n startActivity(detalle);\n }\n });\n mRecyclerview.setAdapter(adaptadorb);\n break;\n }\n }",
"public final void readCategoria() {\n cmbCategoria.removeAllItems();\n cmbCategoria.addItem(\"\");\n categoryMapCategoria.clear();\n AtividadePreparoDAO atvprepDAO = new AtividadePreparoDAO();\n for (AtividadePreparo atvprep : atvprepDAO.readMotivoRetrabalho(\"Categoria\")) {\n Integer id = atvprep.getMotivo_retrabalho_id();\n String name = atvprep.getMotivo_retrabalho();\n cmbCategoria.addItem(name);\n categoryMapCategoria.put(id, name);\n }\n }",
"MyRecyclerViewAdapter(Context context, List<String> data,List<String> giorno,List<String> primo,List<String> secondo,List<String> contorno,List<String> dolce) {\n this.mInflater = LayoutInflater.from(context);\n this.mdata = data;\n this.mgiorno = giorno;\n this.mprimo = primo;\n this.msecondo = secondo;\n this.mcontorno = contorno;\n this.mdolce = dolce;\n\n\n\n }",
"public void getData() {\n String museums = \"museums\";\n categoriesArrayList = new KategorieDao().KategorieList(databaseHelper, museums);\n MuseumsAdapter adapter = new MuseumsAdapter(categoriesArrayList, getApplicationContext());\n ;\n museum_rv.setAdapter(adapter);\n }",
"@Override\n public void onBindViewHolder(CategoriViewHolder holder, int position) {\n CategoriItem categoriItem = categoriItemList.get(position);\n holder.setData(categoriItem);\n\n }",
"@Override\n protected void populateViewHolder(CategoryViewHolder viewHolder, final Category model, int position) {\n viewHolder.name.setText(model.getName());\n Picasso.with(getActivity()).load(model.getImage()).into(viewHolder.image);\n // action View Holder\n viewHolder.setItemClickListener(new ItemClickListener() {\n // method that i create in interface and put it in action of click item in category view holder (to use position )\n @Override\n public void onClick(View view, int position, boolean isLongClick) {\n //get category id from adapter and set in Common.CategoryId\n Common.categoryId=adapter.getRef(position).getKey(); // 01 or 02 or 03 ..... of category\n Common.categoryName=model.getName(); // set name of category to Common variable categoryName\n startActivity(Start.newIntent(getActivity()));// move to StartActivity\n\n }\n });\n\n }",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n\n FilterResults results=new FilterResults();\n\n if(constraint != null && constraint.length()>0)\n {\n //CONSTARINT TO UPPER\n constraint=constraint.toString().toUpperCase();\n\n ArrayList<Busqueda> filters=new ArrayList<Busqueda>();\n\n //get specific items\n for(int i=0;i<FilterDatos.size();i++)\n {\n if(FilterDatos.get(i).getTitulo().toUpperCase().contains(constraint))\n {\n Busqueda p=new Busqueda();\n p.setId(FilterDatos.get(i).getId());\n p.setTitulo(FilterDatos.get(i).getTitulo());\n p.setDescripcion(FilterDatos.get(i).getDescripcion());\n p.setContraseña(FilterDatos.get(i).getContraseña());\n p.setLongitud(FilterDatos.get(i).getLongitud());\n p.setTerminada(FilterDatos.get(i).getTerminada());\n p.setPuntos(FilterDatos.get(i).getPuntos());\n filters.add(p);\n }\n }\n\n results.count=filters.size();\n results.values=filters;\n\n }else\n {\n results.count=FilterDatos.size();\n results.values=FilterDatos;\n\n }\n\n return results;\n }",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n FilterResults results = new FilterResults();\n if (constraint != null && constraint.length() > 0) {\n //CONSTARINT TO UPPER\n constraint = constraint.toString().toUpperCase();\n List<Product> filters = new ArrayList<Product>();\n //get specific items\n for (int i = 0; i < filterList.size(); i++) {\n if (filterList.get(i).getAdi().toUpperCase().contains(constraint)) {\n Product p = new Product(filterList.get(i).getIncKey(),filterList.get(i).getCicekPasta(),filterList.get(i).getUrunKodu(),\n filterList.get(i).getSatisFiyat(),filterList.get(i).getKdv(),filterList.get(i).getResimKucuk(),\n filterList.get(i).getSiparisSayi(),filterList.get(i).getDefaultKategori(),filterList.get(i).getCicekFiloFiyat(),\n filterList.get(i).getAdi(), filterList.get(i).getResimBuyuk(), filterList.get(i).getIcerik());\n filters.add(p);\n }\n }\n results.count = filters.size();\n results.values = filters;\n if(filters.size()==0){ // if not found result\n TextView tv= (TextView) mainActivity.findViewById(R.id.sonucyok);\n tv.setText(\"Üzgünüz, aradığınız sonucu bulamadık..\");\n Log.e(\"bbı\",\"oıfnot\");\n }\n else\n mainActivity.findViewById(R.id.sonucyok).setVisibility(View.INVISIBLE);\n\n } else {\n results.count = filterList.size();\n results.values = filterList;\n }\n return results;\n }",
"@Override\n public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { //이 함수는 RecyclerView의 항목화면 연결\n View view;\n Context context = parent.getContext();\n LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\n // if(viewType == Code.ViewType.STATION_FAV){\n view = inflater.inflate(R.layout.row_favorite, parent, false);\n // mContext = view.getContext();\n return new FavStationViewHolder(view);\n /*}else{\n view = inflater.inflate(R.layout.row_favorite_bus, parent, false);\n return new FavBusViewHolder(view);\n }*/\n }",
"@Override\n public void onResponse(Call call, retrofit2.Response response) {\n String stringRequest=new Gson().toJson(response.body());\n\n try {\n JSONArray array = new JSONArray(stringRequest);\n for (int n = 0; n < array.length(); n++) {\n CategoryModel categoryModel=new CategoryModel();\n JSONObject obj = array.getJSONObject(n);\n categoryModel.setId(Integer.parseInt(obj.get(\"id\").toString().replace(\".0\",\"\")));\n categoryModel.setName_category(obj.get(\"name_category\").toString());\n categoryModel.setStatus_category(Integer.parseInt(obj.get(\"status_category\").toString().replace(\".0\",\"\")));\n categoryModels.add(n,categoryModel);\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n adapter_ = new CategoryAdapter(categoryModels,getApplicationContext());\n LinearLayoutManager layoutManager\n = new LinearLayoutManager(getApplicationContext(), LinearLayoutManager.HORIZONTAL, false);\n\n category_recyclerview.setLayoutManager(layoutManager);\n category_recyclerview.setItemAnimator(new DefaultItemAnimator());\n category_recyclerview.setAdapter(adapter_);\n\n\n }",
"private void buscar(final String filtro) {\n refAnimales.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n long size = dataSnapshot.getChildrenCount();\n ArrayList<String> animalesFirebase = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n\n String code = dataSnapshot.child(\"\" + i).child(\"codigo\").getValue(String.class);\n String nombre = dataSnapshot.child(\"\" + i).child(\"nombre\").getValue(String.class);\n String tipo = dataSnapshot.child(\"\" + i).child(\"tipo\").getValue(String.class);\n String raza = dataSnapshot.child(\"\" + i).child(\"raza\").getValue(String.class);\n String animal = code + \" | \" + nombre + \" | \" + tipo + \" | \" + raza;\n\n if (code.equalsIgnoreCase(filtro) || nombre.equalsIgnoreCase(filtro) || tipo.equalsIgnoreCase(filtro) || raza.equalsIgnoreCase(filtro)) {\n animalesFirebase.add(animal);\n }\n }\n if (animalesFirebase.size() == 0) {\n animalesFirebase.add(\"No se encuentran animales con ese código\");\n }\n adaptar(animalesFirebase);\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }",
"void finalData(String s)\n {\n\n try {\n JSONObject jsonObject=new JSONObject(s);\n JSONArray jsonArray=jsonObject.getJSONArray(\"sources\");\n\n if(jsonArray.length()>icon_link_list.size())\n {\n for(int k=0;k<jsonArray.length()-icon_link_list.size();k++)\n {\n icon_link_list.add(null);\n }\n }\n for(int i=0;i<jsonArray.length();i++)\n {\n ArrayList<String> childList = new ArrayList<String>();\n JSONObject jsonObject1=(JSONObject)jsonArray.get(i);\n String id=jsonObject1.getString(\"id\");\n String name=jsonObject1.getString(\"name\");\n String description=jsonObject1.getString(\"description\");\n String category=jsonObject1.getString(\"category\");\n String country=jsonObject1.getString(\"country\");\n JSONArray jsonArray1=jsonObject1.getJSONArray(\"sortBysAvailable\");\n\n for(int j=0;j<jsonArray1.length();j++)\n {\n\n String sort= (String) jsonArray1.get(j);\n childList.add(sort);\n }\n\n idList.add(id);\n nameList.add(name);\n\n\n descriptionList.add(description);\n categoryList.add(category);\n countryList.add(country);\n sortByList.add(childList);\n\n\n }\n\n /* int count=0;\n for(String name:nameList)\n {\n search_get_setList.add(new Search_Get_Set(name,idList.get(count),categoryList.get(count),countryList.get(count),descriptionList.get(count)));\n count++;\n }*/\n\n\n // sources_adapter=new Sources.Sources_Adapter(search_get_setList);\n // Log.e(\"just before set dapter\",\"just before set dapter\");\n recyclerView.setAdapter(sources_adapter);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }",
"@Override\n public int getItemCount() {\n return categorieList.size();\n }",
"@NonNull\n @Override\n public ViewHolderMisFotos onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n View layoutDeCadaItem = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_layout_mis_fotos, parent, false);\n ViewHolderMisFotos viewHolder = new ViewHolderMisFotos(layoutDeCadaItem);\n viewHolder.seleccion = seleccionados;\n return viewHolder;\n }",
"public void chooseCategory(){\n String title = intent.getStringExtra(\"title\");\n String content = intent.getStringExtra(\"content\");\n TextView titleView = findViewById(R.id.category_grid_title);\n titleView.setText(R.string.choose_category_title);\n categoriesAdapter.passInfo(title, content);\n }",
"public void configs() {\n adaptadorRecyclerView = new AdaptadorRecyclerView(new ArrayList<>(), this);//configuramos el adaptador; necesitamos implementar interfaz OnItemClickListener y sobreescribir sus metodos\n recyclerView.setLayoutManager(new LinearLayoutManager(this));//configuramos la recyclerView\n recyclerView.setAdapter(adaptadorRecyclerView);\n }",
"@Override\n public void onBindViewHolder(MinhaViewHolder holder, int position) {\n holder.imagemCategoria.setImageResource(mLista.get(position).getFoto());\n holder.destino.setText(mLista.get(position).getDestino());\n holder.custoTotal.setText(mLista.get(position).getValor());\n holder.data.setText(mLista.get(position).getData());\n\n\n }",
"@Override\n public int getCount() {\n return filtered.size();\n }",
"public interface FilterView {\n\n void addHairColor(List<String> color);\n void addProfession(List<String> profession);\n\n List<String> getProfessions();\n List<String> getHairColor();\n String getName();\n String getMinAge();\n String getMaxAge();\n String getMinHeight();\n String getMaxHeight();\n String getMinWeight();\n String getMaxWeight();\n\n}",
"public static void consultarListaCategorias(Activity activity) {\n ConexionSQLite conectar = new ConexionSQLite(activity, BASE_DATOS, null, 1);\n SQLiteDatabase db = conectar.getReadableDatabase();\n CategoriaVo categoria = null;\n listaCategorias = new ArrayList<CategoriaVo>();\n Cursor cursor = db.rawQuery(\"SELECT * FROM \"+TABLA_CATEGORIAS, null);\n\n while (cursor.moveToNext()) {\n categoria = new CategoriaVo();\n categoria.setId(cursor.getInt(0));\n categoria.setCategoria(cursor.getString(1));\n categoria.setDescripcion(cursor.getString(2));\n\n listaCategorias.add(categoria);\n }\n db.close();\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_edit_bebida, container, false);\n\n reciclador =(RecyclerView)view.findViewById(R.id.reciclador);\n layout = new GridLayoutManager(getActivity(),2);\n reciclador.setLayoutManager(layout);\n adaptador = new AdaptadorEditBebida(getContext(),getArguments().getInt(\"TIPO\"));\n Principal ma = (Principal) getActivity();\n // 0 nombre de producto\n // 1 Precio del producto\n // 2 cantidad del producto\n // 3 imagen de producto\n Cursor c;\n if(getArguments().getInt(\"TIPO\")==1){\n c = ma.datos.getCursorQuery(\"SELECT producto.nombre, producto.precio, producto.cantidad,producto.imagen,producto.id \" +\n \"FROM producto\");\n }else if(getArguments().getInt(\"TIPO\")==2){\n c = ma.datos.getCursorQuery(\"SELECT insumo.nombre, insumo.cantidad,insumo.imagen,insumo.id \" +\n \"FROM insumo\");\n }else {\n c = null;\n }\n\n adaptador.swapCursor(c);\n reciclador.setAdapter(adaptador);\n return view;\n }",
"private void setCategoryData(){\n ArrayList<Category> categories = new ArrayList<>();\n //add categories\n categories.add(new Category(\"Any Category\",0));\n categories.add(new Category(\"General Knowledge\", 9));\n categories.add(new Category(\"Entertainment: Books\", 10));\n categories.add(new Category(\"Entertainment: Film\", 11));\n categories.add(new Category(\"Entertainment: Music\", 12));\n categories.add(new Category(\"Entertainment: Musicals & Theaters\", 13));\n categories.add(new Category(\"Entertainment: Television\", 14));\n categories.add(new Category(\"Entertainment: Video Games\", 15));\n categories.add(new Category(\"Entertainment: Board Games\", 16));\n categories.add(new Category(\"Science & Nature\", 17));\n categories.add(new Category(\"Science: Computers\", 18));\n categories.add(new Category(\"Science: Mathematics\", 19));\n categories.add(new Category(\"Mythology\", 20));\n categories.add(new Category(\"Sport\", 21));\n categories.add(new Category(\"Geography\", 22));\n categories.add(new Category(\"History\", 23));\n categories.add(new Category(\"Politics\", 24));\n categories.add(new Category(\"Art\", 25));\n categories.add(new Category(\"Celebrities\", 26));\n categories.add(new Category(\"Animals\", 27));\n categories.add(new Category(\"Vehicles\", 28));\n categories.add(new Category(\"Entertainment: Comics\", 29));\n categories.add(new Category(\"Science: Gadgets\", 30));\n categories.add(new Category(\"Entertainment: Japanese Anime & Manga\", 31));\n categories.add(new Category(\"Entertainment: Cartoon & Animations\", 32));\n\n //fill data in selectCategory Spinner\n ArrayAdapter<Category> adapter = new ArrayAdapter<>(this,\n android.R.layout.simple_spinner_dropdown_item, categories);\n selectCategory.setAdapter(adapter);\n\n }",
"List<CategoriaDTO> obtenerCategorias(String estado);",
"public void tredningProductData()\n {\n trendingProductsArrayList.add ( new TrendingProducts ( R.drawable.imgb,\"Sofa Boleria\\n₹ 850/Month\"));\n trendingProductsArrayList.add ( new TrendingProducts ( R.drawable.imgc,\"Dining Table\\n₹ 850/Month\"));\n trendingProductsArrayList.add ( new TrendingProducts ( R.drawable.imga,\"Faberic sofa\\n₹ 850/Month\"));\n trendingrecyclerView.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, true));\n trendingProductsAdapter = new TrendingProductsAdapter( trendingProductsArrayList,getActivity ());\n trendingrecyclerView.setAdapter(trendingProductsAdapter);\n trendingrecyclerView.scrollToPosition(0);\n trendingrecyclerView.scrollTo(0, 0);\n\n categoryData();\n\n }",
"public void loadBooksOfCategory(){\n long categoryId=mainActivityViewModel.getSelectedCategory().getMcategory_id();\n Log.v(\"Catid:\",\"\"+categoryId);\n\n mainActivityViewModel.getBookofASelectedCategory(categoryId).observe(this, new Observer<List<Book>>() {\n @Override\n public void onChanged(List<Book> books) {\n if(books.isEmpty()){\n binding.emptyView.setVisibility(View.VISIBLE);\n }\n else {\n binding.emptyView.setVisibility(View.GONE);\n }\n\n booksAdapter.setmBookList(books);\n }\n });\n }",
"public FilterCategoryRvAdapter(Activity mActivity, ArrayList<ProductCategoryResDatas> aL_categoryDatas) {\n this.mActivity = mActivity;\n this.aL_categoryDatas = aL_categoryDatas;\n selectedColor = ContextCompat.getColor(mActivity, R.color.status_bar_color);\n unSelectedColor = ContextCompat.getColor(mActivity, R.color.heading_color);\n arrayListSelction = new ArrayList<>();\n // load tasks from preference\n SharedPreferences prefs = mActivity.getSharedPreferences(\"ArrayListPref\", Context.MODE_PRIVATE);\n\n try {\n arrayListSelction = (ArrayList<String>) ObjectSerializer.deserialize(prefs.getString(\"LIST_VALUE_FILTER\", ObjectSerializer.serialize(new ArrayList<String>())));\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n }",
"@Override\n public CategoryBookRecyclerAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int arg1) {\n View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.category_items_for_view, null);\n CategoryBookRecyclerAdapter.ViewHolder holder = new CategoryBookRecyclerAdapter.ViewHolder(view);\n\n return holder;\n }",
"public void setUpFavList(ArrayList<service_cat_model>allcats){\n int numberOfColumns = 3;\n myFavRecycler.setLayoutManager(new GridLayoutManager(this, numberOfColumns));\n favAdapter adapter = new favAdapter(allcats,myFavActivity.this);\n // adapter.setClickListener(this);\n myFavRecycler.setAdapter(adapter);\n }",
"public abstract ArrayList<DtPropuesta> listarPropuestasPorCategoria(String nombreCat);",
"public void loadCategoryAdapter() {\n categoryAdapter = new CategoryAdapter(context, sectionItemsWithHeaders);\n listView.setAdapter(categoryAdapter);\n }",
"private void loadCategories() {\n // adapter that show data (View Holder with data )in Recycler View\n adapter=new FirebaseRecyclerAdapter<Category, CategoryViewHolder>(\n Category.class,\n R.layout.category_layout,\n CategoryViewHolder.class,\n categories) {\n @Override\n protected void populateViewHolder(CategoryViewHolder viewHolder, final Category model, int position) {\n // set data in View Holder\n viewHolder.name.setText(model.getName());\n Picasso.with(getActivity()).load(model.getImage()).into(viewHolder.image);\n // action View Holder\n viewHolder.setItemClickListener(new ItemClickListener() {\n // method that i create in interface and put it in action of click item in category view holder (to use position )\n @Override\n public void onClick(View view, int position, boolean isLongClick) {\n //get category id from adapter and set in Common.CategoryId\n Common.categoryId=adapter.getRef(position).getKey(); // 01 or 02 or 03 ..... of category\n Common.categoryName=model.getName(); // set name of category to Common variable categoryName\n startActivity(Start.newIntent(getActivity()));// move to StartActivity\n\n }\n });\n\n }\n };\n adapter.notifyDataSetChanged(); //refresh data when changed\n list.setAdapter(adapter); // set adapter\n }",
"private void prepareMachineCategoryCards() {\n int totalMachineTypes = machine_types_models_array.size();\n MachineCategories a;\n for (int i=0;i<totalMachineTypes;i++){\n String ss=machine_types_models_array.get(i).getImage();\n Log.e(\"IMAGE URL: \",ss );\n a = new MachineCategories(machine_types_models_array.get(i).getMachine_name(),machine_types_models_array.get(i).getImage());\n machineCategoriesList.add(a);\n }\n adapter.notifyDataSetChanged();\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_home, container, false);\n\n ApiServices apiServices = ApiClint.getRetrofit().create(ApiServices.class);\n\n Toolbar toolbar = view.findViewById(R.id.toolbar_home);\n ((AppCompatActivity) getActivity()).setSupportActionBar(toolbar);\n\n recyclerView = view.findViewById(R.id.rv_categories);\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(getContext());\n linearLayoutManager.setOrientation(RecyclerView.HORIZONTAL);\n linearLayoutManager.getReverseLayout();\n recyclerView.setLayoutManager(linearLayoutManager);\n\n\n mainRecycler = view.findViewById(R.id.main_recycler);\n mainRecycler.setLayoutManager(new LinearLayoutManager(getContext()));\n\n List<MainModel> mainList = new ArrayList<>();\n AdapterMain adapterMain = new AdapterMain(getContext(), mainList);\n\n mainRecycler.setAdapter(adapterMain);\n\n\n// List<Results> list = new ArrayList<>(5);\n// list.add(new Results(1, \"TItle\", \"Original\", 1, \"wef\", \"sdf\", \"\", \"\"));\n// list.add(new Results(1, \"TItle\", \"Original\", 1, \"wef\", \"sdf\", \"\", \"\"));\n// list.add(new Results(1, \"TItle\", \"Original\", 1, \"wef\", \"sdf\", \"\", \"\"));\n// list.add(new Results(1, \"TItle\", \"Original\", 1, \"wef\", \"sdf\", \"\", \"\"));\n// list.add(new Results(1, \"TItle\", \"Original\", 1, \"wef\", \"sdf\", \"\", \"\"));\n\n\n //categories api called:----------------------->\n Call<CategoriesGenres> genresCall = apiServices.getGenres(API_KEY);\n genresCall.enqueue(new Callback<CategoriesGenres>() {\n @Override\n public void onResponse(Call<CategoriesGenres> call, Response<CategoriesGenres> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"onResponse: Categories: \" + response.isSuccessful());\n List<Genres> genres = response.body().getGenres();\n genres.add(new Genres(\"Recommends\", -1));\n AdapterCategories adapter = new AdapterCategories(genres);\n recyclerView.setAdapter(adapter);\n adapter.notifyDataSetChanged();\n } else {\n\n Log.d(TAG, \"Categories onResponse: \" + response.errorBody().toString());\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesGenres> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"Categories onFailure: \" + t.getMessage());\n }\n });\n\n //Slider: Playing call part start now:------------------->\n\n Call<CategoriesPlaying> playingCall = apiServices.getPlaying(API_KEY);\n playingCall.enqueue(new Callback<CategoriesPlaying>() {\n @Override\n public void onResponse(Call<CategoriesPlaying> call, Response<CategoriesPlaying> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"onResponse: Playing: \" + response.isSuccessful());\n mainList.add(0, new MainModel(response.body().getResults(), SLIDER_TYPE));\n adapterMain.notifyDataSetChanged();\n\n } else {\n Log.d(TAG, \"Playing onResponse: \" + response.message());\n\n\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesPlaying> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"Playing onFailure: \" + t.getMessage());\n }\n });\n\n\n //Trending call part start now:------------------------------>\n\n Call<CategoriesPopular> trendingCall = apiServices.getTrending(API_KEY);\n trendingCall.enqueue(new Callback<CategoriesPopular>() {\n @Override\n public void onResponse(Call<CategoriesPopular> call, Response<CategoriesPopular> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"onResponse: Trending: \" + response.isSuccessful());\n mainList.add(new MainModel(response.body().getResults(), \"Trending Movie\", POPULAR_TYPE, TYPE_TRENDING));\n\n\n adapterMain.notifyDataSetChanged();\n\n\n } else {\n Log.d(TAG, \"onResponse: Trending: \" + response.message());\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesPopular> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.e(TAG, \"onFailure: Trending: \", t);\n }\n });\n\n\n //Popular call part start now:------------------------------>\n\n Call<CategoriesPopular> popularCall = apiServices.getPopular(API_KEY);\n popularCall.enqueue(new Callback<CategoriesPopular>() {\n @Override\n public void onResponse(Call<CategoriesPopular> call, Response<CategoriesPopular> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"Popular onResponse: \" + response.isSuccessful());\n\n mainList.add(new MainModel(response.body().getResults(), \"Popular Movie\", POPULAR_TYPE, TYPE_POPULAR));\n adapterMain.notifyDataSetChanged();\n\n\n } else {\n Log.d(TAG, \"Popular onResponse: \" + response.message());\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesPopular> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.e(TAG, \"onFailure: Popular: \", t);\n }\n });\n\n\n //Top rated call part start now:------------------------------>\n\n Call<CategoriesPopular> topRatedCall = apiServices.getTopRated(API_KEY);\n topRatedCall.enqueue(new Callback<CategoriesPopular>() {\n @Override\n public void onResponse(Call<CategoriesPopular> call, Response<CategoriesPopular> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"Top Rated onResponse: \" + response.isSuccessful());\n\n mainList.add(new MainModel(response.body().getResults(), \"Top Rated Movie\", POPULAR_TYPE, TYPE_TOP_RATED));\n adapterMain.notifyDataSetChanged();\n\n\n } else {\n Log.d(TAG, \"Top Rated onResponse: \" + response.message());\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesPopular> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.e(TAG, \"onFailure: Top Rated: \", t);\n }\n });\n\n\n //Up Coming call part start now:------------------------------>\n\n Call<CategoriesPopular> upComingCall = apiServices.getUpComing(API_KEY);\n upComingCall.enqueue(new Callback<CategoriesPopular>() {\n @Override\n public void onResponse(Call<CategoriesPopular> call, Response<CategoriesPopular> response) {\n if (response.isSuccessful()) {\n Log.d(TAG, \"Up Coming onResponse: \" + response.isSuccessful());\n\n mainList.add(new MainModel(response.body().getResults(), \"Up Coming Movie\", POPULAR_TYPE, TYPE_UP_COMING));\n adapterMain.notifyDataSetChanged();\n\n\n } else {\n Log.d(TAG, \"Up Coming onResponse: \" + response.message());\n }\n }\n\n @Override\n public void onFailure(Call<CategoriesPopular> call, Throwable t) {\n Toast.makeText(getContext(), \"Internet Connection Error\", Toast.LENGTH_SHORT).show();\n Log.e(TAG, \"onFailure: Up Coming : \", t);\n }\n });\n\n\n return view;\n }",
"@Override\n public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.single_row_filter_category, parent, false);\n return new MyViewHolder(view);\n }",
"@Override\n public void onBindViewHolder(final ViewHolder holder, int position) {\n try {\n JSONObject model = (JSONObject) mDataset.get(position);\n holder.tvAmigo.setText(model.getString(\"name\"));\n holder.fbId = model.getString(\"id\");\n holder.checkAmigo.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\n @Override\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n if(isChecked){\n selectedIds.add(holder.fbId);\n }else{\n selectedIds.remove(holder.fbId);\n }\n }\n });\n }catch (Exception e){\n Log.e(\"FriendsAdapter\", \"Error en adapter: \"+e.getMessage());\n Toast.makeText(context, \"Error en formato de JSON\", Toast.LENGTH_LONG).show();\n }\n }",
"public ArrayList<DataCategoria> listarCategorias(String nickNameRestaurante) throws Exception;",
"@Override\n public void onGetResult(List<Punkty> punkties) {\n listaMeczy=punkties;\n\n gosp=new String[listaMeczy.size()];\n gosc=new String[listaMeczy.size()];\n betGosp=new int[listaMeczy.size()];\n betGosc=new int[listaMeczy.size()];\n wynGosc=new int[listaMeczy.size()];\n wynGosp=new int[listaMeczy.size()];\n punktyZaMecz=new int[listaMeczy.size()];\n\n Punkty pom55;\n\n //przypisanie danych\n for (int i = 0; i < gosp.length; i++) {\n\n pom55 = listaMeczy.get(i);\n\n gosp[i]=pom55.getGosp();\n gosc[i]=pom55.getGosc();\n betGosp[i]=pom55.getBet_gosp();\n betGosc[i]=pom55.getBet_gosc();\n wynGosp[i]=pom55.getWyn_gosp();\n wynGosc[i]=pom55.getWyn_gosc();\n punktyZaMecz[i]=pom55.getPunkty();\n }\n\n //standard\n CaptionedImagesAdapter3 adapter = new CaptionedImagesAdapter3(gosp, gosc, betGosp, betGosc, wynGosp, wynGosc);\n recyclerView.setAdapter(adapter);\n LinearLayoutManager layoutManager=new LinearLayoutManager(this);\n recyclerView.setLayoutManager(layoutManager);\n adapter.setListener(new CaptionedImagesAdapter3.Listener() {\n @Override\n public void onClick(int position) {\n Toast.makeText(getApplicationContext(), punktyZaMecz[position]+\" points\", Toast.LENGTH_SHORT).show();\n }\n });\n\n }",
"private void lanzarListadoCategorias() {\n\t\tIntent i = new Intent(this, ListCategorias.class);\n\t\tstartActivity(i);\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n @Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n ArrayList<T> filtered = (ArrayList<T>) results.values;\n notifyDataSetChanged();\n clear();\n for(int i = 0, l = filtered.size(); i < 1; i++)\n add((C_Item_DzikrName)filtered.get(i));\n notifyDataSetInvalidated();\n }",
"private void refreshFilter() {\n\n if (_IsShowFilter) {\n // mostrar o filtro\n _l_llyFilterCnt.setVisibility(View.VISIBLE);\n _l_txtTitulo.setText(\"( - ) ESCONDER FILTRO\");\n } else {\n // esconder o filtro\n _l_llyFilterCnt.setVisibility(View.GONE);\n _l_txtTitulo.setText(\"( + ) MOSTRAR FILTRO\");\n }\n }",
"private void setUpFilter() {\n List<Department> departmentsList = departmentService.getAll(0, 10000);\n departments.setItems(departmentsList);\n departments.setItemLabelGenerator(Department::getDepartment_name);\n departments.setValue(departmentsList.get(0));\n category.setItems(\"Consumable\", \"Asset\", \"%\");\n category.setValue(\"%\");\n status.setItems(\"FREE\", \"IN USE\", \"%\");\n status.setValue(\"%\");\n show.addClickListener(click -> updateGrid());\n }",
"private void setUpFoodItemsRView(String category, View view){\n //Log.d(TAG, \"setUpFoodItemsRView: Category: \"+category+\" View :\"+view);\n // TextView mFoodCategoryHeadingText = view.findViewById(R.id.menuItemHeading);\n // mFoodCategoryHeadingText.setText(category+\"'s\");\n // shimmerFrameLayout.startShimmer();\n RecyclerView mFoodItemsRecycler = view.findViewById(R.id.foodItemsRecyclerView);\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(getActivity(),LinearLayoutManager.HORIZONTAL,false);\n mFoodItemsRecycler.setHasFixedSize(true);\n mFoodItemsRecycler.setLayoutManager(linearLayoutManager);\n\n // adapter = new FoodItemAdapter(mFoodItems,mContext,this);\n foodAdapter = new FoodItemAdapter(mSelectedCategoryFoodItem,getActivity(),this);\n mFoodItemsRecycler.setAdapter(foodAdapter);\n\n //Getting the data from firebase\n loadRecyclerViewData(category);\n\n\n }",
"@Override\n public void onBindViewHolder(FilmeViewHolder holder, int position) {\n Filme filme = filmes.get(position);\n holder.tvNome.setText(filme.getNome());\n holder.tvGenero.setText(filme.getGenero());\n holder.tvAno.setText(String.valueOf(filme.getAno()));\n }",
"@Override\n public void onDataChange(com.google.firebase.database.DataSnapshot dataSnapshot) {\n list = new ArrayList<canchas>();\n for (com.google.firebase.database.DataSnapshot dataSnapshot1 : dataSnapshot.getChildren()) {\n\n canchas value = dataSnapshot1.getValue(canchas.class);\n canchas fire = new canchas();\n\n String distrito = value.getDistrito();\n String local = value.getLocal();\n String nombre = value.getNombre();\n String foto = value.getFoto();\n\n String localid = value.getLocalid();\n String canchaid = value.getCanchaid();\n\n fire.setDistrito(distrito);\n fire.setLocal(local);\n fire.setNombre(nombre);\n fire.setFoto(foto);\n\n fire.setLocalid(localid);\n fire.setCanchaid(canchaid);\n\n list.add(fire);\n\n\n Canchasadapter canchasadapter = new Canchasadapter(list, Seleccionarcanchas.this);\n RecyclerView.LayoutManager recyce = new GridLayoutManager(Seleccionarcanchas.this, 1);\n /// RecyclerView.LayoutManager recyce = new LinearLayoutManager(MainActivity.this);\n // recycle.addItemDecoration(new GridSpacingItemDecoration(2, dpToPx(10), true));\n recycle.setLayoutManager(recyce);\n recycle.setItemAnimator(new DefaultItemAnimator());\n recycle.setAdapter(canchasadapter);\n\n }\n }",
"@Override\n public void onBindViewHolder(final ViewHolder holder, final int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n if(values != null) {\n final Genres genre = values.get(position);\n holder.txtHeader.setText(genre.getName());\n holder.txtFooter.setText(\"Type : \" + genre.getType());\n\n Picasso.get().load(img_url).resize(170,180).into(holder.img);\n\n }else if(animevalues != null){\n final Anime anime = animevalues.get(position);\n holder.txtHeader.setText(anime.getTitle());\n /*holder.txtHeader.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n }\n });*/\n holder.txtFooter.setText(\"Type : \" + anime.getType());\n\n Picasso.get().load(anime.getImage_url()).resize(150,180).into(holder.img);\n }\n }",
"private void getMaleCategoryData() {\n RequestQueue requestQueue = Volley.newRequestQueue(CategoryActivity.this);\n\n JsonArrayRequest req = new JsonArrayRequest(urlJsonArryMen,\n new Response.Listener<JSONArray>() {\n @Override\n public void onResponse(JSONArray response) {\n Log.d(TAG, response.toString());\n categoryList.clear();\n\n jsonResponse = \"\";\n for (int i = 0; i < response.length(); i++) {\n\n try {\n JSONObject person = (JSONObject) response\n .get(i);\n Category category1 = new Category();\n Data dataa = new Data();\n List<Data> dataList = new ArrayList<>();\n\n String id = person.getString(\"id\");\n Log.e(TAG, \"onResponse: id\" + id);\n JSONObject data = person\n .getJSONObject(\"data\");\n Log.e(TAG, \"onResponse: data\" + data);\n dataa.setPhoto(data.getString(\"photo\"));\n dataa.setPhoto1(data.getString(\"photo1\"));\n dataa.setPhoto2(data.getString(\"photo2\"));\n dataa.setPhoto3(data.getString(\"photo3\"));\n dataa.setTitle(data.getString(\"title\"));\n dataList.add(dataa);\n category1.setId(id);\n category1.setData(dataa);\n categoryList.add(category1);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }\n\n\n Log.e(TAG, \"onResponse: \" + categoryList.size());\n Log.e(TAG, \"onResponse: \" + jsonResponse);\n //txtResponse.setText(jsonResponse);\n\n /* if (categoryList.isEmpty()) {\n recyclerView.setVisibility(View.GONE);\n linearDummy.setVisibility(View.VISIBLE);\n } else {\n recyclerView.setVisibility(View.VISIBLE);\n linearDummy.setVisibility(View.GONE);\n }*/\n initGridAdapter();\n //hidepDialog();\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n VolleyLog.d(TAG, \"Error: \" + error.getMessage());\n // Toast.makeText(getApplicationContext(), error.getMessage(), Toast.LENGTH_SHORT).show();\n //hidepDialog();\n }\n });\n\n requestQueue.add(req);\n\n\n }",
"private void cargarFiltros(Map<String, String> filters)\r\n/* 81: */ {\r\n/* 82:107 */ filters.put(\"numero\", String.valueOf(getDimension()));\r\n/* 83: */ }",
"private void updateWhereItemListData() {\n ModelWhereItem itemDB = new ModelWhereItem(database);\n ArrayList<WhereItem> itemList = itemDB.WSfindItemsByFields(selectedCityId,selectedDistrictId,selectedStreetId,selectedCategoryId);\n RecyclerViewAdapter recyclerViewAdapter = new RecyclerViewAdapter(getContext(),itemList,gridViewMenuAdapter,viewPagerSlideAdapter);\n recyclerView.setAdapter(recyclerViewAdapter);\n\n // tweaks cho recycler view\n recyclerView.setHasFixedSize(true);\n //recyclerView.setItemViewCacheSize(20);\n recyclerView.setDrawingCacheEnabled(true);\n //recyclerView.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH);\n\n changeTab(0);\n }",
"private void triggerValiderCategorie() {\n JSONObject categorie = new JSONObject();\n String categorie_nom = this.editTextCategorie.getText().toString();\n try {\n categorie.put(Metier.CLE_CATEGORIE_NOM, categorie_nom);\n categorie.put(Metier.CLE_PRODUIT_NOM, \"\");\n for (int i = 0; i < this.listViewChampAdapter.getCount(); i++) {\n JSONObject champ = this.listViewChampAdapter.getItem(i);\n categorie.put(champ.optString(Metier.CLE_CHAMP_NOM), \"\");\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n insererCategorie(categorie);\n }",
"@Override\n protected void onItemClickListener(int adapterPosition, int layoutPosition) {\n\n\n CondicaoPagamento condpgto = adaptercondpgto.getItems().get(adapterPosition);\n if (selecionandoCondPgto) {\n Intent data = new Intent();\n data.putExtra(\"condpgto_id\", condpgto.getIdcodicaopagamento());\n setResult(RESULT_OK, data);\n finish();\n } else {\n idcondpgto = condpgto.getIdcodicaopagamento();\n nomecondpgto = condpgto.getDescricao();\n\n }\n\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n ListItem item = this.getItem(position);\n if (convertView == null) {\n \tif (item.type == TYPE_ITEM){\n \t\tconvertView = mInflater.inflate(R.layout.search_item, null);\n \t} else {\n \t\tconvertView = mInflater.inflate(R.layout.search_separator, null);\n \t}\n //holder = new ViewHolder();\n //holder.textView = (TextView)convertView.findViewById(R.id.text);\n //convertView.setTag(holder);\n } else {\n //holder = (ViewHolder)convertView.getTag();\n }\n //holder.textView.setText(this.getItem(position));\n \tif (item.type == TYPE_ITEM) {\n \t\tMangaItem item1 = mData.get(position).item;\n \t\t((TextView)convertView.findViewById(R.id.text)).setText(item1.name);\n \t\t\n \t\tImageView view = (ImageView)convertView.findViewById(R.id.favorites);\n \t\tconvertView.setTag(item1); //just in order simpler access\n \t\tif (MangaUtils.isItemFavorited(SearchActivity.this.getApplicationContext(),item1)) {\n \t\t\tview.setImageResource(R.drawable.favorited);\n \t\t} else {\n \t\t\tview.setImageResource(R.drawable.unfavorited);\n \t\t}\n \t\tview.setTag(item1);\n \t\t//MangaUtils.setPreviewImage((ImageView)convertView.findViewById(R.id.preview),item1.thumnail_url, this);\n \t\tif (item1.thumnail_url!=null) {\n \t\t\timageloader.displayImage(item1.thumnail_url, (ImageView)convertView.findViewById(R.id.preview));\n \t\t} else {\n \t\t((ImageView)convertView.findViewById(R.id.preview)).setImageResource(R.drawable.mangaloading);\n \t}\n \t\t//view.setI\n \t\t\n \t\t\n \t\tview.setOnClickListener(new OnClickListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\tMangaItem item1 = (MangaItem)arg0.getTag();\n\t\t\t\t\t\tImageView iv = (ImageView) arg0;\n\t\t\t\t\t\tif (MangaUtils.isItemFavorited(SearchActivity.this.getApplicationContext(),item1)){\n\t\t\t\t\t\t\tMangaUtils.removeFavorite(SearchActivity.this.getApplicationContext(),item1);\n\t\t\t\t\t\t\tiv.setImageResource(R.drawable.unfavorited);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tMangaUtils.addFavorite(SearchActivity.this.getApplicationContext(),item1);\n\t\t\t\t\t\t\tiv.setImageResource(R.drawable.favorited);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n \t\t});\n \t} else {\n ((TextView)convertView.findViewById(R.id.text)).setText(item.name); \t\t\n ((TextView)convertView.findViewById(R.id.lang)).setText(item.lang); \t\t\n \t}\n return convertView;\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(Categories.this, ListApps.class);\n intent.putExtra(\"imId\", categorias.get(position).getImId());\n startActivity(intent);\n }",
"@Override\n public void onBindViewHolder( CategoryViewHolder holder, int position) {\n Category category = categories.get(position);\n\n\n Typeface plain = AppTypeFace.NewInstance(mContext).getTypeFace();\n //holder.category_name.setSelected(true);\n holder.category_name.setTypeface(plain);\n StringBuilder sb = new StringBuilder(\"\");\n sb.append(category.getCategory())\n .append(\"(\")\n .append(category.getPromotion_count())\n .append(\")\");\n\n holder.category_name.setText(sb.toString());\n holder.brand_name.setText(\"\");\n }",
"@Override\n public ListadoHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n //INFLATE A VIEW FROM XML\n View v= LayoutInflater.from(parent.getContext()).inflate(R.layout.listado_card_item,null);\n\n //HOLDER\n ListadoHolder holder=new ListadoHolder(v);\n\n return holder;\n }",
"@Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n clear();\n Datos=(ArrayList<Busqueda>)results.values;\n addAll(Datos);\n notifyDataSetChanged();\n }",
"@Override\n public void onClick(View view) {\n final String e = imagedat.get(0).getCategory();\n Intent c = new Intent(MainActivity.this, categories_Activity.class) ;\n c.putExtra(\"Cat\", e);\n startActivity(c);\n }",
"@Override\n public void onBindViewHolder(MyViewHolder holder, final int position) {\n\n if (RandomFeedFragment.category_history_array == null){\n// category_history_array = new ArrayList<>();\n// category_id_array = new ArrayList<>();\n// RandomFeedFragment.category_history_array = category_history_array;\n// RandomFeedFragment.category_id_history = category_id_array;\n RandomFeedFragment.category_history_array = new ArrayList<>();\n RandomFeedFragment.category_id_history = new ArrayList<>();\n\n }\n\n if (!RandomFeedFragment.category_history_array.isEmpty()) {\n String last_category_name = RandomFeedFragment.category_history_array.get(RandomFeedFragment.category_history_array.size() - 1);\n String cate_id = cate_Arr.get(position).getCate_title();\n if (cate_id.equals(last_category_name)) {\n holder.hidden_layout.setVisibility(View.VISIBLE);\n holder.main_layout.setVisibility(View.GONE);\n holder.feed_category_list_text_hidden.setText(cate_Arr.get(position).getCate_title());\n\n }\n else {\n\n holder.hidden_layout.setVisibility(View.GONE);\n holder.main_layout.setVisibility(View.VISIBLE);\n\n holder.feed_category_list_text.setText(cate_Arr.get(position).getCate_title());\n\n }\n\n }else {\n holder.feed_category_list_text.setText(cate_Arr.get(position).getCate_title());\n\n }\n\n holder.main_layout.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n RandomFeedFragment.category_history_array.add(cate_Arr.get(position).getCate_title());\n RandomFeedFragment.category_id_history.add(cate_Arr.get(position).getCate_id());\n\n Intent intt = new Intent(mContext, SelectFromSearchActivity.class);\n intt.putExtra(\"CAT_ID\",cate_Arr.get(position).getCate_id());\n intt.putExtra(\"CAT_NAME\",cate_Arr.get(position).getCate_title());\n mContext.startActivity(intt);\n if (RandomFeedFragment.category_history_array.size() != 1) {\n ((Activity) mContext).finish();\n }\n\n }\n });\n\n }",
"@Override\n public void onBindViewHolder(RecyclerView.ViewHolder holder, final int position) {\n // - get element from your dataset at this position\n // - replace the contents of the view with that element\n if(holder instanceof EntityViewHolder){\n EntityViewHolder entityViewHolder = ((EntityViewHolder) holder);\n entityViewHolder.getNumeroColumnas().setText(\"\");\n entityViewHolder.getNumeroRegistros().setText(\"\");\n entityViewHolder.getNumeroEntity().setText(\"\");\n entityViewHolder.getNumeroEntity().setText(\"\");\n AbstractDao dao = daoApp.getEntityByName(entityList.get(position));\n entityViewHolder.getNombreEntity().setText(entityList.get(position));\n entityViewHolder.getNumeroEntity().setText(\"\"+position);\n entityViewHolder.getLinearLayout().setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mOnItemClickLister.onItemClicked(entityList.get(position),position);\n }\n });\n entityViewHolder.getNumeroColumnas().setText(\"\"+dao.getAllColumns().length);\n entityViewHolder.getNumeroRegistros().setText(\"\"+dao.count());\n entityViewHolder.getLinearLayout().setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mOnItemClickLister.onItemClicked(entityList.get(position),position);\n\n }\n });\n\n }\n\n\n\n }",
"@Override\n\t\tpublic View getView(int position, View convertView, ViewGroup parent) {\n\n\t\t\tif (convertView == null) {\n\n\t\t\t\tholder = new ViewHolder();\n\n\t\t\t\t// FitmiFoodDAO object = resultList.get(position);\n\n\t\t\t\t// if(!object.isCustomButton()){\n\n\t\t\t\t// LayoutInflater inflater = (LayoutInflater)\n\t\t\t\t// getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\t\t\t\tLayoutInflater inflater = (LayoutInflater) context\n\t\t\t\t\t\t.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\t\t\t\tconvertView = inflater.inflate(R.layout.autocomplete_layout,\n\t\t\t\t\t\tnull);\n\n\t\t\t}\n\n\t\t\t// holder.txtName.setText(object.getItemName());\n\t\t\t// holder.txtCalGm =\n\t\t\t// (TextView)convertView.findViewById(R.id.txtCalGm);\n\t\t\t// // holder.txtDesc =\n\t\t\t// (TextView)convertView.findViewById(R.id.txtDesc);\n\t\t\t// holder.txtCal = (TextView)convertView.findViewById(R.id.txtCal);\n\n\t\t\t/*\n\t\t\t * float calory = Float.parseFloat(object.getNfCalories());\n\t\t\t * \n\t\t\t * if(!object.getNfServingWeightGrams().equalsIgnoreCase(\"null\")) {\n\t\t\t * \n\t\t\t * String number = object.getNfServingWeightGrams();\n\t\t\t * \n\t\t\t * nfgram = Float.parseFloat(number); nfgram = calory/nfgram;\n\t\t\t * holder.txtCalGm.setText(nfgram+\" cal/gm\"); }else{\n\t\t\t * holder.txtCalGm.setText(\"\"); }\n\t\t\t *//*\n\t\t\t\t * if(!object.getItemDescription().equalsIgnoreCase(\"null\"))\n\t\t\t\t * holder.txtDesc.setText(object.getItemDescription());\n\t\t\t\t * \n\t\t\t\t * if(!object.getItemName().equalsIgnoreCase(\"null\"))\n\t\t\t\t * holder.txtName\n\t\t\t\t * .setText(object.getItemName()+\", \"+object.getBrandName());\n\t\t\t\t * else holder.txtName.setText(object.getBrandName());\n\t\t\t\t * holder.txtCal.setText(object.getNfCalories()+\" cal\");\n\t\t\t\t */\n\t\t\t// }else{\n\n\t\t\t/*\n\t\t\t * LayoutInflater inflater = (LayoutInflater)\n\t\t\t * context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\t\t\t * convertView = inflater.inflate(R.layout.custom_meal, null);\n\t\t\t * \n\t\t\t * holder.customMeal =\n\t\t\t * (Button)convertView.findViewById(R.id.add_customMeal);\n\t\t\t */\n\t\t\t// }\n\n\t\t\tLog.e(\"counting view\", \"Count \" + position);\n\t\t\t// convertView.setTag(holder);\n\n\t\t\t// }else{\n\t\t\t\n\t/*\t\tresultList.add(predsJsonArray.getJSONObject(i).getString(\n\t\t\t\t\tBaseActivity.exercise)\n\t\t\t\t\t+ \" \"\n\t\t\t\t\t+ predsJsonArray.getJSONObject(i).getString(\n\t\t\t\t\t\t\tBaseActivity.cals_per_hour) + \" calories\");*/\n\t\t\ttry {\n\t\t\t\tHashMap<String, String> object = searchList.get(position);\n\t\t\t\t// holder = (ViewHolder) convertView.getTag();\n\t\t\t\tholder.txtName = (TextView) convertView\n\t\t\t\t\t\t.findViewById(R.id.txtName);\n\t\t\t\t\n\t\t\t\tholder.txtName.setText(object.get(\n\t\t\t\t\t\tBaseActivity.exercise_name)\n\t\t\t\t\t\t+ \" \"\n\t\t\t\t\t\t+ object.get(\n\t\t\t\t\t\t\t\tBaseActivity.cals_per_hour) + \" calories\");\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t// }\n\n\t\t\treturn convertView;\n\t\t}",
"public void cargaComentPersonal(){\n List<Comentarios> list = new ArrayList<>();\n list.add(new Comentarios(Config.nombre_cli, comentario_ind[0], comentario_ind[1]));\n AdapterComentarios adpt_coment = new AdapterComentarios(list,InfoFragment.vistaInf.getContext());\n InfoFragment.listViewCP.setAdapter(adpt_coment);\n }",
"@Override\n public void onItemSelcted(Object data, String brandName) {\n\n Intent c = new Intent(MainActivity.this, categories_Activity.class);\n c.putExtra(\"Cat\", brandName);\n c.putExtra(\"img\", \"https://ownshopz.com/wp-content/uploads/2018/07/5d84ef15c47229ed33758985f45411e3.jpg\");\n startActivity(c);\n }",
"private void prepareListData() {\n mCategoryList = new ArrayList<>();\n mFullList = new ArrayList<>();\n for (Category cat : fileSystem.getLocalInformationList())\n {\n List<Object> phraseList = cat.phraseList;\n mCategoryList.add(new Category(phraseList, cat.name));\n }\n mFullList.addAll(mCategoryList);\n\n }",
"@Override\n\tpublic List<Articoli> SelArticoliByFilter(String Filtro, String OrderBy, String Tipo)\n\t{\n\t\treturn null;\n\t}",
"public String[] getPreguntasNivelCategoria(String idCategoria, String idNivel, String IndicePreg){\n //Creamos el conector de bases de datos\n AdmiSQLiteOpenHelper admin = new AdmiSQLiteOpenHelper(this, \"administracion\", null, 1 );\n // Abre la base de datos en modo lectura y escritura\n SQLiteDatabase BasesDeDatos = admin.getWritableDatabase();\n Cursor consultaId = BasesDeDatos.rawQuery(\"SELECT id, co_respuesta, co_categoria, co_nivel, pregunta, respuesta FROM t_preguntas WHERE co_categoria = \"+idCategoria+\" AND co_nivel = \" + idNivel , null);\n\n String contTotalPreg = getPreguntasTotal( idCategoria, idNivel );\n\n\n //Declaro arreglos. todo aqui debo definir el total de indices\n Integer[ ] iPregunta = new Integer[ Integer.parseInt(contTotalPreg) ];\n String[ ] sPreguntas = new String[ Integer.parseInt(contTotalPreg) ];\n String[ ] sRespuesta = new String[ Integer.parseInt(contTotalPreg) ];\n String[ ] sComplemento = new String[2];\n\n try {\n\n if (consultaId != null) {\n consultaId.moveToFirst();\n int indice = 0;\n\n do {\n // todo Asignamos el valor en nuestras variables para usarlos en lo que necesitemos\n iPregunta[indice] = consultaId.getInt(consultaId.getColumnIndex(\"id\"));\n sPreguntas[indice] = consultaId.getString(consultaId.getColumnIndex(\"pregunta\"));\n sRespuesta[indice] = consultaId.getString(consultaId.getColumnIndex(\"respuesta\"));\n indice++;\n\n\n } while ( consultaId.moveToNext() );\n\n //Todo -> Aqui PRegunta // Establecer Pregunta y Respuestas Dinamico todo\n labelPregunta.setText( sPreguntas[ Integer.parseInt( IndicePreg ) ] );\n\n int numero = (int)( Math.random()*4+1 );\n\n //todo aqui las preguntas complementarias Mosca aqui idea algo crazy\n sComplemento = getComplementoPreguntas( Integer.toString( iPregunta[Integer.parseInt( IndicePreg )] ) );\n\n if ( numero == 1 ){\n btnOpcion1.setText( sRespuesta[ Integer.parseInt( IndicePreg ) ] );\n btnOpcion1.setId( iPregunta[Integer.parseInt( IndicePreg )] );\n\n btnOpcion2.setText( sComplemento[0] );\n btnOpcion2.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion3.setText( sComplemento[1] );\n btnOpcion3.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion4.setText( sComplemento[2] );\n btnOpcion4.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n\n }\n\n if ( numero == 2 ){\n btnOpcion2.setText( sRespuesta[ Integer.parseInt( IndicePreg ) ] );\n btnOpcion2.setId( iPregunta[Integer.parseInt( IndicePreg )] );\n\n btnOpcion1.setText( sComplemento[0] );\n btnOpcion1.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion3.setText( sComplemento[1] );\n btnOpcion3.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion4.setText( sComplemento[2] );\n btnOpcion4.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n\n }\n\n if ( numero == 3 ){\n btnOpcion3.setText( sRespuesta[ Integer.parseInt( IndicePreg ) ] );\n btnOpcion3.setId( iPregunta[Integer.parseInt( IndicePreg )] );\n\n btnOpcion1.setText( sComplemento[0] );\n btnOpcion1.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion2.setText( sComplemento[1] );\n btnOpcion2.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion4.setText( sComplemento[2] );\n btnOpcion4.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n }\n\n if ( numero == 4 ){\n btnOpcion4.setText( sRespuesta[ Integer.parseInt( IndicePreg ) ] );\n btnOpcion4.setId( iPregunta[Integer.parseInt( IndicePreg )] );\n\n btnOpcion1.setText( sComplemento[0] );\n btnOpcion1.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion2.setText( sComplemento[1] );\n btnOpcion2.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n btnOpcion3.setText( sComplemento[2] );\n btnOpcion3.setId( - iPregunta[Integer.parseInt( IndicePreg )] );\n\n }\n\n }else{\n System.out.println( \" ------------- No hay datos ------------------\" );\n System.out.println();\n }\n\n } catch ( Exception e ) {\n System.err.println( e.getClass().getName() + \": \" + e.getMessage() );\n System.exit(0);\n }\n\n //Cerramos el cursor y la conexion con la base de datos\n consultaId.close();\n BasesDeDatos.close();\n\n return sPreguntas;\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_category, container, false);\n recyclerView = (RecyclerView) view.findViewById(R.id.categoryWise);\n adapter = new MayankAdapter(getActivity(), getData());\n\n recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));\n recyclerView.addOnItemTouchListener(new RecyclerTouchListener(getActivity(), recyclerView, new ClickListener() {\n @Override\n public void onClick(View view, int position) {\n Toast.makeText(getActivity(), \"You Clicked\" + getData().get(position).title, Toast.LENGTH_LONG).show();\n\n switch (position) {\n case 0:\n startActivity(new Intent(getActivity(), ComputerScience.class));\n break;\n case 1:\n startActivity(new Intent(getActivity(), Electrical.class));\n break;\n case 2:\n startActivity(new Intent(getActivity(), Fiction.class));\n break;\n case 3:\n startActivity(new Intent(getActivity(), Mathematics.class));\n break;\n case 4:\n startActivity(new Intent(getActivity(), Mechanical.class));\n break;\n case 5:\n startActivity(new Intent(getActivity(), Chemical.class));\n break;\n case 6:\n startActivity(new Intent(getActivity(), Civil.class));\n break;\n case 7:\n startActivity(new Intent(getActivity(), Others.class));\n break;\n }\n }\n\n @Override\n public void onLongClick(View view, int position) {\n\n }\n }));\n\n recyclerView.setAdapter(adapter);\n return view;\n }",
"private void setupFilter() {\n mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n\n @Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n mSortBy = adapterView.getSelectedItemPosition();\n fetchMovieData(NetworkUtils.getFilterType(mSortBy));\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> adapterView) {\n }\n });\n }",
"private void cargarRegistro() {\n\t\tif (filaId != null) {\n\t\t\tCursor bar = bdHelper.getBar(filaId);\n // Indicamos que queremos controlar el Cursor\n\t\t\tstartManagingCursor(bar);\n\n\t\t\t// Obtenemos el campo categoria\n\t\t\tString categoria = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_CATEGORIA));\n\t\t\t// Seleccionamos la categoría en el Spinner\n\t\t\tfor (int i=0; i<categoriaSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) categoriaSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(categoria)){\n\t\t\t\t\tcategoriaSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Obtenemos el campo relacion calidad-precio\n\t\t\tString relacion = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_RELACION));\n\t\t\t// Seleccionamos en el Spinner la relacion c-p\n\t\t\tfor (int i=0; i<relacionSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) relacionSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(relacion)){\n\t\t\t\t\trelacionSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Obtenemos el campo del acompañante\n\t\t\tString acompanante = bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_ACOMPANANTE));\n\t\t\t// Seleccionamos el formato en el Spinner\n\t\t\tfor (int i=0; i<acompananteSpinner.getCount();i++){\n\t\t\t\t// Cargamos una de la opciones del listado desplegable\n\t\t\t\tString s = (String) acompananteSpinner.getItemAtPosition(i);\n\t\t\t\t// Si coindice con la que está en la BD la seleccionamos en el listado desplegable\n\t\t\t\tif (s.equalsIgnoreCase(acompanante)){\n\t\t\t\t\tacompananteSpinner.setSelection(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Rellenamos las Vistas\n\t\t\tnombreText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_NOMBRE)));\n\t\t\tdireccionText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_DIRECCION)));\n\t\t\tnotasText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_NOTAS)));\n\t\t\tprecioText.setText(bar.getString(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_PRECIO)));\n\t\t\tvaloracionRB.setRating(bar.getFloat(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_VALORACION)));\n\n // Tratamos las fechas del registro\n\t\t\tlong fecha = bar.getLong(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_FEC_ULT_VIS));\n\t\t\tprimeraFecha.setTimeInMillis(fecha);\n\t\t\tfecha = bar.getLong(bar.getColumnIndexOrThrow(BaresBDAdapter.CAMPO_FEC_PRI_VIS));\n\t\t\tif (fecha>0) {\n\t\t\t\tultimaFecha=Calendar.getInstance();\n\t\t\t\tultimaFecha.setTimeInMillis(fecha);\n\t\t\t}\n\t\t\t// Dejamos de controlar el cursor de la BD\n\t\t\tstopManagingCursor(bar);\n\t\t}\n\t}",
"private void cargarDatosLista(){\n listaInteres= new GsonBuilder().create().fromJson(loadJSONFromAsset(\"fakeInteresesDisponibles.json\", this), Interes[].class);\n\n // Pasamos los datos al adaptador para crear la lista\n adapterListadoInteres = new ListadoInteresesRecyclerAdapter(listaInteres, getApplicationContext());\n // Añade un separador entre los elementos de la lista\n recyclerListadoInteres.addItemDecoration(new SimpleDividerItemDecoration(getApplicationContext()));\n recyclerListadoInteres.setAdapter(adapterListadoInteres);\n\n //Marcamos el interes como favorito\n recyclerListadoInteres.addOnItemTouchListener(new RecyclerItemClickListener(ListadoInteresesActivity.this, new RecyclerItemClickListener.OnItemClickListener() {\n @Override\n public void onItemClick(View v, int position) {\n ImageView ib = (ImageView) v.findViewById(R.id.cvimageFavorito);\n\n if (ListadoInteresesActivity.this.listaInteres[position].getImageFavorito().equals(\"@drawable/ic_favorite_black_24dp\"))\n {\n Toast.makeText(ListadoInteresesActivity.this, R.string.existsfavorito , Toast.LENGTH_SHORT).show();\n \n }\n else\n {\n Toast.makeText(ListadoInteresesActivity.this, R.string.addinteresfavorito, Toast.LENGTH_SHORT).show();\n ib.setImageResource(R.drawable.ic_favorite_black_24dp);\n }\n }\n }));\n adapterListadoInteres.notifyDataSetChanged();\n\n // Oculta el circulo de cargar\n swipeRefreshLayout.setRefreshing(false);\n }",
"@Listen(\"onChange = #txtNombreMostrarTematica,#txtAreaMostrarTematica,#txtDescripcionMostrarTematica\")\r\n\tpublic void filtrarDatosCatalogo() {\r\n\t\tList<Tematica> tematicas1 = servicioTematica.buscarActivos();\r\n\t\tList<Tematica> tematicas2 = new ArrayList<Tematica>();\r\n\r\n\t\tfor (Tematica tematica : tematicas1) {\r\n\t\t\tif (tematica\r\n\t\t\t\t\t.getNombre()\r\n\t\t\t\t\t.toLowerCase()\r\n\t\t\t\t\t.contains(txtNombreMostrarTematica.getValue().toLowerCase())\r\n\t\t\t\t\t&& tematica\r\n\t\t\t\t\t\t\t.getDescripcion()\r\n\t\t\t\t\t\t\t.toLowerCase()\r\n\t\t\t\t\t\t\t.contains(\r\n\t\t\t\t\t\t\t\t\ttxtDescripcionMostrarTematica.getValue()\r\n\t\t\t\t\t\t\t\t\t\t\t.toLowerCase())) {\r\n\t\t\t\ttematicas2.add(tematica);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tltbTematica.setModel(new ListModelList<Tematica>(tematicas2));\r\n\r\n\t}",
"@Override\n public void bind(@NonNull ViewHolder viewHolder, int position) {\n TextView nomePosto = viewHolder.itemView.findViewById(R.id.vl_nomeParceiroItem);\n TextView endereco = viewHolder.itemView.findViewById(R.id.vl_enderecoDenunciaItem);\n TextView bairro = viewHolder.itemView.findViewById(R.id.vl_bairroDenunciaItem);\n TextView cidade = viewHolder.itemView.findViewById(R.id.vc_cidadeDenunciaItem);\n ImageView bandeiraIcone = viewHolder.itemView.findViewById(R.id.im_bandeiraDenunciaItem);\n TextView cnpj = viewHolder.itemView.findViewById(R.id.vl_cnpjDenunciaItem);\n TextView reclacamacoes = viewHolder.itemView.findViewById(R.id.vl_totalReclamacoes);\n\n\n //CARREGANDO IMAGEM DAS BANDEIRAS TESTANDO PARA CADA UM DOS POSTOS\n if (posto.getBandeira().equalsIgnoreCase(\"PETROBRAS\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraPetrobras.jpg?alt=media&token=d53b4fee-d299-4422-a9e7-43d034613ec5\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"IPIRANGA\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraIpiranga.jpg?alt=media&token=b0c55805-61cc-45f2-886f-51be07bb0fed\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"SHELL\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraShell.jpg?alt=media&token=4874b289-f988-4dce-aa09-7011f0e1db9e\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"MEGAPETRO\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraMegapetro.jpg?alt=media&token=71eed8b5-05f4-4e81-9a40-e4081bcf8de6\")\n .into(bandeiraIcone);\n }\n if (posto.getBandeira().equalsIgnoreCase(\"BRANCA\")) {\n Picasso.get()\n .load(\"https://firebasestorage.googleapis.com/v0/b/kartel-59019.appspot.com/o/images%2FbandeiraBranca.jpg?alt=media&token=bee27663-f1a9-48bc-9243-6856f95929f7\")\n .into(bandeiraIcone);\n }\n\n //POPULANDO DADOS DO ITEM COM O RESTANTE DOS ATRIBUTOS\n nomePosto.setText(posto.getNome());\n endereco.setText(posto.getEndereco());\n bairro.setText(posto.getBairro());\n cidade.setText(posto.getCidade());\n cnpj.setText(posto.getCnpj());\n reclacamacoes.setText(\"\" + count);\n\n }",
"@Override\n public View getView(int i, View view, ViewGroup viewGroup) {\n Compra compra = compras.get(i);\n // Inflar a view que criamos para cada item\n View linha = LayoutInflater.from(ctx).inflate(R.layout.item_compras, null);\n\n // Customizar os componentes da view para este cliente\n ImageView imgLogo2 = (ImageView) linha.findViewById(R.id.imgLogo2);\n TextView txtIdCompra = (TextView) linha.findViewById(R.id.txtIdCompraMain);\n TextView txtCompraModelo= (TextView) linha.findViewById(R.id.txtCompraModelo);\n TextView txtCompraQuantidade= (TextView) linha.findViewById(R.id.txtCompraQtd);\n\n // 0=vw 1=gm 2=fiat 3=ford\n Resources reso = ctx.getResources();\n TypedArray logosCompra = reso.obtainTypedArray(R.array.logos);\n imgLogo2.setImageDrawable(logosCompra.getDrawable(compra.getFabricante()));\n\n txtIdCompra.setText(compra.getId().toString());\n txtCompraModelo.setText(compra.getModelo());\n txtCompraQuantidade.setText(compra.getQuantidade());\n // Retornar view\n return linha;\n }",
"public void listado()\n {\n BuscarL.setText(\"Listado Libros\");\n listViewLibros.setVisibility(View.VISIBLE);\n editTextBuscar.setVisibility(View.INVISIBLE);\n btnBuscarL.setVisibility(View.INVISIBLE);\n textView2.setVisibility(View.INVISIBLE);\n texto.setVisibility(View.INVISIBLE);\n radioButtonTitulo.setVisibility(View.INVISIBLE);\n radioButtonAutor.setVisibility(View.INVISIBLE);\n radioButtonEditorial.setVisibility(View.INVISIBLE);\n\n\n\n\n\n Libro[] arr=new Libro[arrLibros.size()];\n for(int i=0;i<arrLibros.size();i++)\n {\n arr[i]=arrLibros.get(i);\n }\n AdaptadorLibros adaptador = new AdaptadorLibros(BuscarLibro.this, arr);\n listViewLibros.setAdapter(adaptador);\n\n\n\n }",
"private void searchAllRadioCategory() {\r\n DeezerRequest request = DeezerRequestFactory.requestRadiosCategories();\r\n AsyncDeezerTask task = new AsyncDeezerTask(mDeezerConnect,\r\n new RadioCategoriesRequestListener() {\r\n\r\n @SuppressWarnings(\"unchecked\")\r\n @Override\r\n public void onResult(final Object result, final Object requestId) {\r\n\r\n mRadioCategoryList.clear();\r\n\r\n try {\r\n mRadioCategoryList.addAll((List<RadioCategory>) result);\r\n } catch (ClassCastException e) {\r\n handleError(e);\r\n }\r\n if (mRadioCategoryList.isEmpty()) {\r\n Toast.makeText(RadiosActivity.this, getResources()\r\n .getString(R.string.no_results), Toast.LENGTH_LONG).show();\r\n }\r\n\r\n mRadioCategoryAdapter.notifyDataSetChanged();\r\n }\r\n\r\n @Override\r\n public void onException(final Exception exception,\r\n final Object requestId) {\r\n handleError(exception);\r\n }\r\n\r\n\r\n });\r\n task.execute(request);\r\n }",
"private Filtro filtroRigheCategoria(int codiceMenu, int codiceCategoria, boolean comandabile) {\n\n /* variabili e costanti locali di lavoro */\n Filtro filtroOut = null;\n Filtro filtro = null;\n Modulo moduloPiatto = null;\n Campo campoLinkMenu = null;\n Campo campoLinkCategoria = null;\n Campo campoPiattoComandabile = null;\n\n try { // prova ad eseguire il codice\n moduloPiatto = Progetto.getModulo(Ristorante.MODULO_PIATTO);\n campoLinkMenu = this.getModulo().getCampo(RMP.CAMPO_MENU);\n campoLinkCategoria = moduloPiatto.getCampo(Piatto.CAMPO_CATEGORIA);\n campoPiattoComandabile = moduloPiatto.getCampo(Piatto.CAMPO_COMANDA);\n\n filtroOut = new Filtro();\n filtro = FiltroFactory.crea(campoLinkMenu, codiceMenu);\n filtroOut.add(filtro);\n filtro = FiltroFactory.crea(campoLinkCategoria, codiceCategoria);\n filtroOut.add(filtro);\n filtro = FiltroFactory.crea(campoPiattoComandabile, comandabile);\n filtroOut.add(filtro);\n\n } catch (Exception unErrore) { // intercetta l'errore\n /* mostra il messaggio di errore */\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n /* valore di ritorno */\n return filtroOut;\n }",
"private void initCategoryListAdapter() {\n\n LinearLayoutManager horizontalLayoutManager = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);\n topicRecyclerView.setLayoutManager(horizontalLayoutManager);\n // topicRecyclerView.setAdapter(adapter);\n }",
"private void initAdapter() {\n GridLayoutManager layoutManager = new GridLayoutManager(this, 3);\n //设置布局管理器\n rv.setLayoutManager(layoutManager);\n //设置为垂直布局,这也是默认的\n layoutManager.setOrientation(OrientationHelper.VERTICAL);\n\n adapter1 = new CommomRecyclerAdapter(ChoiceCityActivity.this, stringList, R.layout.recy_country, new CommomRecyclerAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(CommonRecyclerViewHolder holder, int postion) {\n //热门城市点击\n Map map = new HashMap();\n map.put(\"p1\",stringList.get(postion).getHotCity() );\n StatisticsManager.getInstance(mContext).addEventAidl(1812,map);\n\n Intent intent = new Intent(ChoiceCityActivity.this, MainActivity.class);\n intent.putExtra(\"country\", stringList.get(postion).getHotCountry());\n intent.putExtra(\"city\", stringList.get(postion).getHotCity());\n Constans.CITY = stringList.get(postion).getHotCity();\n Constans.COUNTRY = stringList.get(postion).getHotCountry();\n if (isFirst == 1) {\n isFirst=0;\n startActivity(intent);\n } else {\n setResult(RESULT_OK, intent);\n }\n finish();\n }\n }, null) {\n @Override\n public void convert(CommonRecyclerViewHolder holder, Object o, int position) {\n TextView tv_country_name = holder.getView(R.id.tv);\n tv_country_name.setText(stringList.get(position).getHotCity());\n }\n };\n rv.setAdapter(adapter1);\n\n\n }",
"@Override\n public CategoryView onCreateViewHolder(ViewGroup parent, int viewType){\n View view= LayoutInflater.from(parent.getContext()).inflate(R.layout.card_view,parent,false);\n //create new instance of view holder\n CategoryView viewHolder=new CategoryView(view);\n return viewHolder;\n }",
"@FXML\n public void filtraCidade(){\n \tString filtro = txtFiltroCidade.getText();\n \t\n \tif(filtro.equals(\"\"))\n \t\tfiltro=null;\n \t\n \tcidades = Cidade.listarTodas(conn, filtro);\n\t\ttblCidade.setItems(FXCollections.observableArrayList(cidades));\t\n\t}",
"private void populateAdapter(){\n mAdapter = new MovieRecyclerAdapter(context, moviesList, this);\n mRecyclerView.setAdapter(mAdapter);\n }",
"String getCategoria();",
"@Override\n public void onBindViewHolder(MemberDrugsAdapter.DrugsViewHolder holder, int position) {\n boolean isEnglish = Locale.getDefault().getLanguage().equals(\"en\");\n mCursor.moveToPosition(position); // get to the right location in the cursor\n\n drug_ID = mCursor.getInt(mCursor.getColumnIndex(DataContract.DrugListEntry.COLUMN_DRUG_L_ID));\n member_ID = mCursor.getInt(mCursor.getColumnIndex(DataContract.DrugListEntry.COLUMN_MEMBER_L_ID));\n\n cursor = getSingleDrug();\n cursor1 = getSingleMember();\n int drug_c_name, drug_s_name;\n\n cursor.moveToFirst();\n cursor1.moveToFirst();\n\n // Indices for the _id, drug_c_name, drug_s_name and drug_concentration columns\n int idIndex = cursor.getColumnIndex(DataContract.DrugsEntry._ID);\n if(isEnglish) {\n drug_c_name = cursor.getColumnIndex(DataContract.DrugsEntry.COLUMN_DRUG_COMMERCIAL_NAME);\n drug_s_name = cursor.getColumnIndex(DataContract.DrugsEntry.COLUMN_DRUG_SCIENTIFIC_NAME);\n }\n else {\n drug_c_name = cursor.getColumnIndex(DataContract.DrugsEntry.COLUMN_DRUG_COMMERCIAL_NAME_ARABIC);\n drug_s_name = cursor.getColumnIndex(DataContract.DrugsEntry.COLUMN_DRUG_SCIENTIFIC_NAME_ARABIC);\n }\n int concentration = cursor.getColumnIndex(DataContract.DrugsEntry.COLUMN_DRUG_CONCENTRATION);\n\n // Determine the values of the wanted data\n final int id = cursor.getInt(idIndex);\n String _CName = cursor.getString(drug_c_name);\n String _SName = cursor.getString(drug_s_name);\n String _DC = cursor.getString(concentration);\n\n //Set values\n holder.itemView.setTag(id);\n holder.tv_drug_c_name.setText(_CName);\n holder.tv_drug_s_name.setText(_SName);\n holder.tv_concentration.setText(_DC);\n }",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n MoodBean moodBean = getItem(position);\n View view;\n FilterAdapter.ViewHolder viewHolder;\n if (convertView == null) {\n view =\n LayoutInflater.from(getContext()).inflate(resourceId, parent, false);\n viewHolder = new FilterAdapter.ViewHolder();\n viewHolder.iconImage = view.findViewById(R.id.home_filter_icon);\n viewHolder.moodText = view.findViewById(R.id.home_filter_mood);\n viewHolder.selectMoodCheckBox = view.findViewById(R.id.home_filter_check);\n view.setTag(viewHolder);\n } else {\n view = convertView;\n viewHolder = (FilterAdapter.ViewHolder) view.getTag();\n }\n viewHolder.iconImage.setImageResource(moodBean.getIcon());\n viewHolder.moodText.setText(moodBean.getName());\n\n if (selectedItems[position]) {\n viewHolder.selectMoodCheckBox.setImageResource(R.drawable.redheart);\n } else {\n viewHolder.selectMoodCheckBox.setImageResource(R.drawable.ic_remove);\n }\n\n return view;\n }",
"public void seleccionarCategoria(String name);",
"@Override\n protected void populateViewHolder(final CategoryViewHolder viewHolder, final Category model, final int position) {\n viewHolder.bindToCategory(model);\n //вешаем слушателя долгого нажатия для изменения категории\n viewHolder.cardView.setOnLongClickListener(new View.OnLongClickListener() {\n\n @Override\n public boolean onLongClick(View v) {\n new MaterialDialog.Builder(getActivity())\n .title(R.string.dialog_title)\n .content(R.string.category_change_warning)\n .onPositive(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull final MaterialDialog dialog, @NonNull DialogAction which) {\n new MaterialDialog.Builder(getActivity())\n .title(R.string.category_change)\n .content(R.string.category_change_content)\n .inputType(InputType.TYPE_CLASS_TEXT)\n .inputRange(2, 20)\n .input(model.name, model.name, false, new MaterialDialog.InputCallback() {\n @Override\n public void onInput(@NonNull MaterialDialog dialog, CharSequence input) {\n\n }\n })\n .checkBoxPrompt(getString(R.string.copilka), !model.isShow.equals(\"yes\"), new CompoundButton.OnCheckedChangeListener() {\n @Override\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n isCheck = isChecked;\n }\n })\n .onPositive(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull final MaterialDialog dialoge, @NonNull DialogAction which) {\n final String userId = DataLoader.getUid();\n loader.mDatabase.child(DataLoader.USERS).child(userId).addListenerForSingleValueEvent(\n new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n // Get user value\n User user = dataSnapshot.getValue(User.class);\n\n // [START_EXCLUDE]\n if (user == null) {\n // User is null, error out\n Toast.makeText(getActivity(),\n \"Error: could not fetch user.\",\n Toast.LENGTH_SHORT).show();\n } else {\n // Write new postString name, String kind, String author, boolean isShowIt, String key\n String isShow;\n if (isCheck) {\n isShow = \"not\";\n } else {\n isShow = \"yes\";\n }\n //noinspection ConstantConditions\n Category category = new Category(dialoge.getInputEditText().getText().toString(),\n model.kind,\n userId,\n isShow,\n model.key);\n loader.writeNewCategory(category, getQuery());\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n // [START_EXCLUDE]\n }\n });\n }\n })\n .onNegative(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull MaterialDialog dialoge, @NonNull DialogAction which) {\n dialoge.dismiss();\n }\n })\n .positiveText(R.string.save)\n .negativeText(R.string.dont_save)\n .show();\n\n }\n })\n .onNegative(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {\n dialog.dismiss();\n }\n })\n .positiveText(R.string.agree)\n .negativeText(R.string.disagree)\n .show();\n\n return true;\n }\n });\n progressLayout.showContent();\n }",
"@Override\n public void onResponse(@NotNull final Response<GetCategoryDetailsQuery.Data> response) {\n\n List<GetCategoryDetailsQuery.Food> foods = response.data().category().foods();\n\n for (int i = 0; i < foods.size(); i++) {\n Log.d(\"ALL Food ==>\", foods.get(i).name());\n }\n\n DetailsActivity.this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n foodList = Objects.requireNonNull(response.data().category()).foods();\n detsRecyclerViewAdapter.setCategoryData(foodList);\n }\n });\n }",
"public abstract ItemListAdapter getAdapter(RecyclerView recyclerView);",
"@Override\n public void onBindViewHolder(ListadoHolder holder, int position) {\n idProducto = Integer.parseInt(mListado_Productos.get(position).getId());\n\n\n holder.nombreTxt.setText(mListado_Productos.get(position).getNombre());\n holder.precioTxt.setText(mListado_Productos.get(position).getPrecio() + \"€\");\n holder.imagenIv.setImageBitmap(mListado_Productos.get(position).getImagenBitMap());\n\n //Listener del listado de productos\n holder.setItemClickListener(new ItemClickListener() {\n @Override\n public void onItemClick(View v, int pos) {\n\n //Guardo la fecha y hora del dispositivo\n String fechaHoraActual = (DateFormat.format(\"dd-MM-yyyy hh:mm:ss\", new java.util.Date()).toString());\n\n //Cuando se pulsa un item se guarda en preferencias de usuario\n SharedPreferences prefs = context.getSharedPreferences(HISTORICO_PRODUCTOS,Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = prefs.edit();\n editor.putString(fechaHoraActual, mListado_Productos.get(pos).getNombre()+\";\"+mListado_Productos.get(pos).getImagen());\n editor.commit();\n\n //Pinto preferencias guardadas de prueba\n Map<String, ?> allEntries = prefs.getAll();\n for (Map.Entry<String, ?> entry : allEntries.entrySet()) {\n Log.d(\"map values\", entry.getKey() + \": \" + entry.getValue().toString());\n }\n\n //Intent de llamada a la actividad detalle\n Intent intent = new Intent(context,DetalleActivity.class);\n\n //Metemos datos en el intent\n intent.putExtra(\"Nombre\",mListado_Productos.get(pos).getNombre());\n intent.putExtra(\"Precio\",mListado_Productos.get(pos).getPrecio());\n intent.putExtra(\"Unidades\",mListado_Productos.get(pos).getUnidades());\n intent.putExtra(\"Descripcion\",mListado_Productos.get(pos).getDescripcion());\n\n //Reducimos un poco la imagen antes de mandarla por el intent pq falllaaaaaaaaaaaaaa jooooooderrrrr\n Bitmap imagenGrande = mListado_Productos.get(pos).getImagenBitMap();\n Bitmap imagenPequena = Utils.scaleDownBitmap(imagenGrande,200,context);\n intent.putExtra(\"Imagen\", imagenPequena);\n\n //Lanzar actividad\n context.startActivity(intent);\n\n }\n });\n }",
"private void setAdapter(){\n ArrayList<Veranstaltung>ver = new ArrayList<>(studium.getLVS());\n recyclerView = findViewById(R.id.rc);\n LinearLayoutManager manager = new LinearLayoutManager(this);\n recyclerView.setLayoutManager(manager);\n recyclerView.setHasFixedSize(true);\n adapter = new StudiumDetailsRecylerAdapter(ver);\n recyclerView.setAdapter(adapter);\n }",
"private void getFemaleCategoryData() {\n RequestQueue requestQueue = Volley.newRequestQueue(CategoryActivity.this);\n\n JsonArrayRequest req = new JsonArrayRequest(urlJsonArryWomen,\n new Response.Listener<JSONArray>() {\n @Override\n public void onResponse(JSONArray response) {\n Log.d(TAG, response.toString());\n categoryList.clear();\n\n jsonResponse = \"\";\n for (int i = 0; i < response.length(); i++) {\n\n try {\n JSONObject person = (JSONObject) response\n .get(i);\n Category category1 = new Category();\n Data dataa = new Data();\n List<Data> dataList = new ArrayList<>();\n\n String id = person.getString(\"id\");\n Log.e(TAG, \"onResponse: id======\" + id);\n JSONObject data = person\n .getJSONObject(\"data\");\n Log.e(TAG, \"onResponse: data======\" + data);\n dataa.setPhoto(data.getString(\"photo\"));\n dataa.setPhoto1(data.getString(\"photo1\"));\n dataa.setPhoto2(data.getString(\"photo2\"));\n dataa.setPhoto3(data.getString(\"photo3\"));\n dataa.setTitle(data.getString(\"title\"));\n dataList.add(dataa);\n category1.setId(id);\n category1.setData(dataa);\n categoryList.add(category1);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n\n }\n\n\n //txtResponse.setText(jsonResponse);\n\n /* if (categoryList.isEmpty()) {\n recyclerView.setVisibility(View.GONE);\n linearDummy.setVisibility(View.VISIBLE);\n } else {\n recyclerView.setVisibility(View.VISIBLE);\n linearDummy.setVisibility(View.GONE);\n }*/\n initGridAdapter();\n // hidepDialog();\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n VolleyLog.d(TAG, \"Error: \" + error.getMessage());\n // Toast.makeText(getApplicationContext(), error.getMessage(), Toast.LENGTH_SHORT).show();\n //hidepDialog();\n }\n });\n\n requestQueue.add(req);\n\n\n }",
"@Override\n public RecyclerViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n View view= LayoutInflater.from(parent.getContext()).inflate(R.layout.advice_layout,parent,false);\n\n // int position = holder.getAdapterPosition();\n RecyclerViewHolder recyclerViewHolder = new RecyclerViewHolder(view) {\n\n @Override\n public void onClick(View view) {\n final Intent intent;\n final int position=getAdapterPosition();\n\n switch (getAdapterPosition()){\n case 0:\n intent = new Intent(ctx, Activity_chaleur.class);\n intent.putExtra(\"image\", arrayList.get(position).getImg_res()); //you can name the keys whatever you like\n intent.putExtra(\"title\", arrayList.get(position).getTitle()); //note that all these values have to be primitive (i.e boolean, int, double, String, etc.)\n intent.putExtra(\"txt\", arrayList.get(position).getTxt());\n\n break;\n case 1:\n intent = new Intent(ctx, Activity_blessure.class);\n intent.putExtra(\"image\", arrayList.get(position).getImg_res()); //you can name the keys whatever you like\n intent.putExtra(\"title\", arrayList.get(position).getTitle()); //note that all these values have to be primitive (i.e boolean, int, double, String, etc.)\n intent.putExtra(\"txt\", arrayList.get(position).getTxt());\n\n break;\n default:\n intent = new Intent(ctx, Activity_vid.class);\n intent.putExtra(\"image\", arrayList.get(position).getImg_res()); //you can name the keys whatever you like\n intent.putExtra(\"title\", arrayList.get(position).getTitle()); //note that all these values have to be primitive (i.e boolean, int, double, String, etc.)\n intent.putExtra(\"txt\", arrayList.get(position).getTxt());\n\n break;\n\n }\n ctx.startActivity(intent);\n }\n\n };\n\n return recyclerViewHolder;\n }",
"private void buildRecyclerView() {\n\n movieRecyclerView = findViewById(R.id.movieRecyclerView);\n\n customAdapter = new CustomAdapter(MovieActivity.this,movieLists);\n movieRecyclerView.setAdapter(customAdapter);\n layoutManager = new GridLayoutManager(this,1);\n movieRecyclerView.setLayoutManager(layoutManager);\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n final View v1=inflater.inflate(R.layout.category, container, false);\n context=container.getContext();\n final Button btn1=v1.findViewById(R.id.kind1);\n final Button btn2=v1.findViewById(R.id.kind2);\n final Button btn3=v1.findViewById(R.id.kind3);\n final Button btn4=v1.findViewById(R.id.kind4);\n flag1=0;\n flag2=0;\n flag3=0;\n flag4=0;\n recyclerView = v1.findViewById(R.id.categorylist1);\n RecyclerView.LayoutManager layoutManager;\n recyclerView.setHasFixedSize(true);\n layoutManager=new LinearLayoutManager(getContext());\n recyclerView.setLayoutManager(layoutManager);\n\n\n\n btn1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n btn1.setBackgroundResource(android.R.color.darker_gray);\n btn2.setBackgroundResource(android.R.color.white);\n btn3.setBackgroundResource(android.R.color.white);\n btn4.setBackgroundResource(android.R.color.white);\n\n if(flag1==0) {\n System.out.println(\"서버연결 시도...\");\n new JSONTask().execute(\"http://\"+getString(R.string.ip)+\":65000/userrecipe/category?category=한식\");\n }\n flag1=1; flag2=0; flag3=0; flag4=0;\n\n\n }\n });\n btn2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n btn1.setBackgroundResource(android.R.color.white);\n btn2.setBackgroundResource(android.R.color.darker_gray);\n btn3.setBackgroundResource(android.R.color.white);\n btn4.setBackgroundResource(android.R.color.white);\n\n if(flag2==0) {\n System.out.println(\"서버연결 시도...\");\n new JSONTask().execute(\"http://\"+getString(R.string.ip)+\":65000/userrecipe/category?category=중식\");\n }\n flag1=0; flag2=1; flag3=0; flag4=0;\n }\n });\n btn3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n btn1.setBackgroundResource(android.R.color.white);\n btn2.setBackgroundResource(android.R.color.white);\n btn3.setBackgroundResource(android.R.color.darker_gray);\n btn4.setBackgroundResource(android.R.color.white);\n\n if(flag3==0) {\n System.out.println(\"서버연결 시도...\");\n new JSONTask().execute(\"http://\"+getString(R.string.ip)+\":65000/userrecipe/category?category=양식\");\n }\n flag1=0; flag2=0; flag3=1; flag4=0;\n }\n });\n btn4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n btn1.setBackgroundResource(android.R.color.white);\n btn2.setBackgroundResource(android.R.color.white);\n btn3.setBackgroundResource(android.R.color.white);\n btn4.setBackgroundResource(android.R.color.darker_gray);\n\n if(flag4==0) {\n System.out.println(\"서버연결 시도...\");\n new JSONTask().execute(\"http://\"+getString(R.string.ip)+\":65000/userrecipe/category?category=일식\");\n }\n flag1=0; flag2=0; flag3=0; flag4=1;\n }\n });\n\n btn1.performClick();\n\n\n\n return v1;\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n list = new ArrayList<erupciones>();\n for(DataSnapshot dataSnapshot1 :dataSnapshot.getChildren()){\n\n erupciones value = dataSnapshot1.getValue(erupciones.class);\n erupciones fire = new erupciones();\n String name = value.getFuente();\n String address = value.getObservaciones();\n String email = value.getYear();\n fire.setFuente(name);\n fire.setObservaciones(email);\n fire.setYear(address);\n list.add(fire);\n\n\n RecyclerAdapter recyclerAdapter = new RecyclerAdapter(list, Detalles.this);\n RecyclerView.LayoutManager recyce = new GridLayoutManager(Detalles.this, 1);\n /// RecyclerView.LayoutManager recyce = new LinearLayoutManager(MainActivity.this);\n // recycle.addItemDecoration(new GridSpacingItemDecoration(2, dpToPx(10), true));\n recycle.setLayoutManager(recyce);\n recycle.setItemAnimator(new DefaultItemAnimator());\n recycle.setAdapter(recyclerAdapter);\n\n }\n\n }",
"@Override\n public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n View v = LayoutInflater.from(parent.getContext()).inflate(\n R.layout.item_directorio, parent, false);\n return new ViewHolder(v);\n }",
"@Override\n public void onBindViewHolder(ViewHolder holder, final int position) {\n holder.tvTitle.setText(daftarBarang.get(position).getNama());\n holder.tvLokasi.setText(daftarBarang.get(position).getLokasi());\n holder.tvTanggal.setText(daftarBarang.get(position).getTanggal());\n holder.tvDeskripsi.setText(daftarBarang.get(position).getDeskripsi());\n holder.tvTitle.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n /**\n * Kodingan untuk tutorial Selanjutnya :p Read detail data\n */\n context.startActivity(FirebaseDBReadSingleActivity.getActIntent((Activity) context).putExtra(\"data\", daftarBarang.get(position)));\n }\n });\n holder.tvImage.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n /**\n * Kodingan untuk tutorial Selanjutnya :p Read detail data\n */\n context.startActivity(FirebaseDBReadSingleActivity.getActIntent((Activity) context).putExtra(\"data\", daftarBarang.get(position)));\n }\n });\n holder.tvTitle.setOnLongClickListener(new View.OnLongClickListener() {\n @Override\n public boolean onLongClick(View view) {\n /**\n * Kodingan untuk tutorial Selanjutnya :p Delete dan update data\n */\n return true;\n }\n });\n }"
] | [
"0.6540342",
"0.62979186",
"0.6170281",
"0.59388113",
"0.58919895",
"0.58894324",
"0.58043534",
"0.5765486",
"0.57005644",
"0.56871027",
"0.56779903",
"0.56615806",
"0.56306756",
"0.56199944",
"0.56102234",
"0.55941296",
"0.55898637",
"0.5579258",
"0.5576092",
"0.5565901",
"0.5545823",
"0.5539766",
"0.5520374",
"0.5505484",
"0.5504231",
"0.5498113",
"0.5491495",
"0.5486833",
"0.5484808",
"0.54825556",
"0.5475367",
"0.54644424",
"0.54465026",
"0.5418902",
"0.54178494",
"0.5411735",
"0.5409999",
"0.53908503",
"0.53887415",
"0.538195",
"0.53709567",
"0.53501153",
"0.53276473",
"0.53093",
"0.530226",
"0.52971065",
"0.52941835",
"0.528611",
"0.5285968",
"0.52835244",
"0.52800864",
"0.5278435",
"0.52761877",
"0.5273564",
"0.52726054",
"0.5263789",
"0.526202",
"0.52431273",
"0.5238461",
"0.52371234",
"0.52366626",
"0.52358264",
"0.52283555",
"0.5223671",
"0.5222411",
"0.5222351",
"0.52206635",
"0.52017826",
"0.5200382",
"0.51969564",
"0.51960474",
"0.5194372",
"0.51937026",
"0.51906914",
"0.5189356",
"0.51853293",
"0.5184572",
"0.5179437",
"0.517891",
"0.5172379",
"0.5170933",
"0.516608",
"0.5165219",
"0.51573503",
"0.5155463",
"0.5154911",
"0.51543695",
"0.5152216",
"0.5149999",
"0.51494724",
"0.51475275",
"0.5144736",
"0.51410997",
"0.51403576",
"0.51341605",
"0.511969",
"0.5119384",
"0.51128334",
"0.5112569",
"0.51081544"
] | 0.76104695 | 0 |
on list item click | @Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
mHubListPopupWindow.dismiss();
//set the hub id
mHubId = id;
Log.v(LOG_TAG, "mHubId is: " + mHubId);
cursor.moveToPosition(position);
String buttonString = cursor.getString(cursor.getColumnIndexOrThrow(DatabaseContract.HubEntry.COLUMN_HUB_NAME));
mButtonHubId.setText(buttonString);
//set the list window to null so it will not stop back button from being registered
mHubListPopupWindow = null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void onListClick();",
"@Override\n public void onListItemClicked(int position) {\n\n }",
"@Override\n public void onItemClick(View view, ListItem obj, int position) {\n }",
"@Override\r\n public void onListItemClick(ListView l, View v, int position, long id) {\n }",
"public void onListItemClick( ListView l, View v, int position, long id )\n {\n }",
"@Override\n protected void onListItemClick(ListView l, View v, int position, long id) {\n \t\n \t\n }",
"@Override\n\tpublic void onListItemClick(ListView l, View v, int position, long id) {\n\t \n\t }",
"@Override\n public void onClick(View v) {\n //getAdapterPosition() get's an Integer based on which the position of the current\n //ViewHolder (this) in the Adapter. This is how we get the correct Data.\n ListItem listItem = listOfData.get(\n this.getAdapterPosition()\n );\n\n controller.onListItemClick(\n listItem,\n v\n );\n\n }",
"@Override\n public void OnItemClick(int position) {\n }",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n Log.i(\"LoaderCustom\", \"Item clicked: \" + id);\n }",
"@Override\n public void onItemClick(int pos) {\n }",
"@Override\n public void onItemClick(AdapterView<?> a, View v, int position, long id) {\n Toast.makeText(getApplicationContext(), \"Selected :\" + \" \" + listData.get(position), Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n\n\n }",
"@Override\n\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\tlong arg3) {\n\t\t\t\t\n\t\t\tToast.makeText(getBaseContext(), list.get(arg2),\n\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t}",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n }",
"@Override\n public void itemClick(int pos) {\n }",
"public void onListItemClick(ListView list, View v, int position, long id)\n {\n Intent intent = new Intent(MainActivity.this, EventActivities.class);\n intent.putExtra(\"c\", position);\n startActivity(intent);\n }",
"@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }",
"@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }",
"public void onListItemClick(ListView l, \n\t\t\tView v, int position, long id) {\n\t}",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n\t\t\t\t\t\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\t\t\t\t\t\tint position, long id) {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\t\tBaseData.item = (String[]) adapter.getItem(arg2);\n\t\t\t\tListIntentActivity.goActivity(ListActivity.this);\n\t\t\t}",
"@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Log.w(TAG , \"POSITION : \" + position);\n\n itemClick(position);\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tlist = mdb.getselect_all_data(ed.getText().toString());\n\t\t\t\tMy_list_adapter adapter = new My_list_adapter(getApplicationContext(),\n\t\t\t\t\t\tlist);\n\t\t\t\tlv.setAdapter(adapter);\n\t\t\t}",
"@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tToast.makeText(this, String.format(\"Clicked on item #%d with text %s\",\n\t\t\tposition, mAdapter.getItem(position)), Toast.LENGTH_SHORT).show();\n\t}",
"@Override\n public void onItemClick(int position) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }",
"@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n\t}",
"@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n\t}",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n super.onListItemClick(l, v, position, id);\n\n Artist selectedArtist = artists.get(position);\n String name = selectedArtist.artistName;\n String genre = selectedArtist.artistGenre;\n String label = selectedArtist.artistLabel;\n String city = selectedArtist.artistCity;\n String state = selectedArtist.artistState;\n\n mListener.displayArtist(name, genre, label, city, state);\n\n\n\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n }",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n super.onListItemClick(l, v, position, id);\n SkillModel md = (SkillModel) l.getAdapter().getItem(position);\n //SkillModel md = ((pro_adapter)getListAdapter()).getItem(position);\n String pos = Integer.toString(position);\n Log.d(\"click\", pos);\n com.itemSelected(md.id);\n\n\n\n }",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t\n\t\t\t}",
"void onItemClick(int position);",
"@Override\n public void onClick(View view) { listener.onItemClick(view, getPosition()); }",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n \tsuper.onListItemClick(l, v, position, id);\n \tLog.i(TAG, \"Position: \" + position);\n \t/*String item = (String) getListAdapter().getItem(position);\n \tnew AlertDialog.Builder(this)\n \t .setTitle(\"Test\")\n \t .setMessage(item)\n \t .setPositiveButton(\"OK\",\n \t new DialogInterface.OnClickListener() {\n \t public void onClick(DialogInterface dialog, int which) {}}\n \t )\n \t .show();\n \t\n Toast.makeText(this, item + \" selected\", Toast.LENGTH_LONG).show();*/\n }",
"@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tsuper.onListItemClick(l, v, position, id);\n\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\t\tif (null != mListOnItemClickListener) {\n\t\t\t\t\tmListOnItemClickListener.onItemClick(list.get(arg2), type);\n\t\t\t\t\tpopup.dismiss();\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t\t\t}",
"@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\n\t}",
"abstract public void onSingleItemClick(View view);",
"@Override\r\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\r\n\t}",
"@Override\n public void onItemClicked(int itemPosition, Object dataObject) {\n }",
"public void onListItemClick(ListView l, View v, int position, long id) {\n\t\tsuper.onListItemClick(l, v, position, id);\r\n\t\t\tindex = position;\r\n\t\t\tsour = paths.get(position);\r\n\t\t finish();\r\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tpulllist();\n\t\t\t}",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n Intent intent = new Intent(this, RedyListproducts.class);\n intent.putExtra(\"LIST_NAME\",alSavedLists.get(position));\n startActivity(intent);\n\n }",
"@Override\n public void onItemClick(View view, int position) {\n }",
"@Override\n public void onItemClick(View view, int position) {\n }",
"@Override\n public void onItemClick(View view, int position) {\n\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n }",
"@Override\r\n public void onClick(View view) {\n Intent intent = new Intent(context, DetailActivity.class);\r\n intent.putExtra(\"item\", itemList.get(position));\r\n context.startActivity(intent);\r\n }",
"@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t}",
"@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t}",
"@Override\n\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\tlong arg3) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t}",
"abstract void listSeleccionadas_mouseClicked(MouseEvent e);",
"@Override\n public void onItemClick(int position) {\n }",
"@Override\n public void onItemClick(int position) {\n }",
"@Override protected void onListItemClick (ListView l, View v, int position, long id)\n\t{\n\t\tLog.i(\"IDManagement\", \"Listitemclick set id\" + String.format(\"%d\", id));\n\t\tselectedItem = id;\n\n\t}",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n //Recipe recipe = recipes.get(position);\n mListener.onListInteraction(position, false);\n }",
"@Override\n public void onClick(View view) {\n clickListener.onItemClicked(getBindingAdapterPosition());\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n\n clickedValue = teams.get(position).name.toString();\n\n Intent intent = new Intent(teamSelection.this, Signup.class);\n\n intent.putExtra(\"ListViewClickedValue\", clickedValue);\n startActivity(intent);\n\n }",
"@Override\r\n\t\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\r\n\t\t\t\t\t\tint position, long id) {\n\t\t\t\t}",
"@Override\n protected void onListItemClick(ListView l, View v, int position, long id)\n {\n String selection = l.getItemAtPosition(position).toString();\n Toast.makeText(this, selection, Toast.LENGTH_LONG).show();\n }",
"public void onItemClick(View view, int position);",
"@Override\n\t\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\t\n\t\t\t\t\t Log.i(\"MyListViewBase\", \"你点击了ListView条目\"+arg2);\n\t\t\t\t}",
"@Override\n protected void onListItemClick(ListView listView, View view, int position, long id) {\n Intent intent = new Intent(MedicalTestListActivity.this, mSamples[position].getActivityClass());\n intent.putExtra(\"medical_test\", mSamples[position].getTitle());\n intent.putExtra(\"patient_name\", patient.getName());\n startActivity(intent);\n }",
"void onItemClick(View view, int position);",
"@Override\r\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\r\n\t\t\tlong id) {\n\r\n\t}",
"@Override\n public void onItemClick(View view, String data) {\n }",
"@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n super.onListItemClick(l, v, position, id);\n //l.getSelectedItem()\n String geslecteerdJaar = GEBOORTEJAREN.get(position);\n\n //stap 4 om listener in te stellen\n if(mListener != null)\n mListener.geboortejaarGeselecteerd(geslecteerdJaar);\n\n }",
"@Override\r\n public void onItemClick(AdapterView<?> parent, View view,\r\n int position, long id) {\n int itemPosition = position;\r\n\r\n // ListView Clicked item value\r\n String itemValue = (String) listView.getItemAtPosition(position);\r\n\r\n // Show Alert\r\n Toast.makeText(getApplicationContext(),\r\n \"Position :\"+itemPosition+\" ListItem : \" +itemValue , Toast.LENGTH_LONG)\r\n .show();\r\n\r\n }",
"@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {\n Object object = mList.getItemAtPosition(position);\n String element = \"\";\n // check if list item object is really a hash map\n if (object instanceof StringStringHashMap) {\n // extract the title from the hash map\n element = ((StringStringHashMap) object).get(ITEM_TITLE);\n }\n // show selected item\n Toast.makeText(PDEListPlainIconMultiLineActivity.this, \"Selected : \" + element,\n Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onItemClick(Nson parent, View view, int position) {\n }",
"void contentList_mouseClicked(MouseEvent e) {\n if (e.getClickCount() > 1) {\n doView();\n }\n\n }",
"@Override\n public void onClick(View v) {\n listener.onItemClick(v, position);\n }",
"@Override\n\t public void onListItemClick(ListView l, View v, int position, long id) {\n\t mCallback.onDealSelected(mAdapter.getItem(position));\n\t \n\t // Set the item as checked to be highlighted when in two-pane layout\n\t getListView().setItemChecked(position, true);\n\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\t\t\t\t\tlong arg3) {\n\t\t\t}",
"@Override\r\n\t\t\tpublic void onItemClick(AdapterView<?> adapter, View view, int position,\r\n\t\t\t\t\tlong arg3) {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\t\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\t\tlong id) {\n\t\t\tlist_item = adapter.getItem(position);\n\t\t\tIntent open_detail = new Intent(add_plan_action.this,action_detail.class);\n\t\t\topen_detail.putExtra(\"pngPath\", list_item.getImgPath());\n\t\t\tstartActivity(open_detail);\n\t\t}",
"@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tsuper.onListItemClick(l, v, position, id);\n\t\t\n\t\t\n\t\tMarketIndice mi = (MarketIndice) this.getListAdapter().getItem(position); //get MarketIndice object\n\t String name = mi.getmNameIndice();\n\t String lastIndex=mi.getmLastIndex();\n\t double changeRate=mi.getmChangeRate();\n\t String idI =mi.getmId();\n\t String date = mi.getmDateRefresh();\n\t \n\t \n\t Intent intent=new Intent(this,ChoiceActivity.class);\n\t intent.putExtra(\"nName\", name);\n\t intent.putExtra(\"nLastInd\", lastIndex);\n\t intent.putExtra(\"nChangeR\", changeRate);\n\t intent.putExtra(\"nIdI\", idI);\n\t intent.putExtra(\"date\", date);\n\t startActivity(intent);\n\t}",
"public interface ItemClickListener {\n void onItemClick(View view, int position, ArrayList<MakalaModel> list);\n }",
"@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tString selection = l.getItemAtPosition(position).toString();\n\t\tToast.makeText(this, selection, Toast.LENGTH_LONG).show();\n\t}",
"@Override\r\n public void onItemClick(AdapterView<?> parent, View view,\r\n int position, long id) {\n String Slecteditem = itemname[+position];\r\n Toast.makeText(getApplicationContext(), Slecteditem, Toast.LENGTH_SHORT).show();\r\n startActivity(new Intent(unlogin.this, product.class));\r\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tlistener.clickDisplaylistMethod(position, item.getCategory()\n\t\t\t\t\t\t.getArrCookMethods());\n\t\t\t}",
"@Override\r\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\r\n\t\t\t\t\tlong arg3) {\n\r\n\t\t\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t}",
"@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n int itemPosition = position;\n\n // ListView Clicked item value\n String itemValue = (String) listView.getItemAtPosition(position);\n\n // Show Alert\n Toast.makeText(getApplicationContext(),\n \"Position :\" + itemPosition + \" ListItem : \" + itemValue, Toast.LENGTH_LONG)\n .show();\n\n }",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\n\t\t\t}"
] | [
"0.8252547",
"0.8203406",
"0.7933725",
"0.78964335",
"0.7877282",
"0.78063816",
"0.7801782",
"0.77208304",
"0.76071686",
"0.75661325",
"0.7492662",
"0.748012",
"0.7477775",
"0.7443416",
"0.74400055",
"0.7433198",
"0.7419702",
"0.74151766",
"0.74151766",
"0.74090034",
"0.7402723",
"0.7402723",
"0.7402723",
"0.7402723",
"0.7402723",
"0.7390737",
"0.7355814",
"0.73491126",
"0.73203605",
"0.7319841",
"0.7306648",
"0.7305637",
"0.7303775",
"0.7303775",
"0.7303775",
"0.73020387",
"0.73020387",
"0.73004293",
"0.73004293",
"0.7284649",
"0.72832894",
"0.7277517",
"0.7276836",
"0.72765917",
"0.72712076",
"0.7248831",
"0.72366434",
"0.7235014",
"0.7233318",
"0.72311246",
"0.72280604",
"0.72232354",
"0.72164965",
"0.7210842",
"0.72052145",
"0.72028935",
"0.71893996",
"0.71893996",
"0.7186529",
"0.7178044",
"0.7178044",
"0.71719444",
"0.7164218",
"0.7164218",
"0.71633536",
"0.71599907",
"0.7158343",
"0.7157927",
"0.7157927",
"0.71509576",
"0.7148629",
"0.7137157",
"0.71336615",
"0.71334743",
"0.7125207",
"0.71233803",
"0.71205175",
"0.7117304",
"0.7116287",
"0.7112366",
"0.71029025",
"0.710019",
"0.7092625",
"0.708906",
"0.70879996",
"0.70877624",
"0.7086717",
"0.7065831",
"0.7065665",
"0.7065095",
"0.7061546",
"0.7058482",
"0.70523566",
"0.70507914",
"0.7039022",
"0.7035593",
"0.70333004",
"0.70324755",
"0.7029168",
"0.70289063",
"0.70289063"
] | 0.0 | -1 |
make an intent to start the networks entry | @Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), HubsActivity.class);
intent.setData(DatabaseContract.HubEntry.CONTENT_URI);
startActivity(intent);
mHubListPopupWindow.dismiss();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void startClicked(View view) {\n\t // Check if the user has net\n\t\tif(checkNetwork()) {\n\t\t\tIntent intent = new Intent(this, MainActivity.class);\n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);\n\t\t\tstartActivity(intent);\n\t\t\tfinish();\n\t\t}\n\t}",
"public void startGame(Activity a, Class<?> c){\n\t\tIntent intent = new Intent(a,c);\n\t\tintent.putExtra(\"ipaddress\", ip);\n\t\ta.startActivity(intent);\n\t}",
"void startNewActivity(Intent intent);",
"@Override\n public void onClick(View view) {\n\n Intent myIntent = new Intent(HostOrConnectActivity.this, HostActivity.class);\n\n HostOrConnectActivity.this.startActivity(myIntent);\n\n\n }",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tIntent intent = new Intent(SetInfo.this, ClientGame.class);\n\t\t\t\t\tintent.putExtra(\"IPServer\", et.getText().toString());\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t}",
"public void run()\n {\n\n\n if(privillage.equals(\"admin\"))\n {\n Intent in = new Intent(activity, adminmainscreen.class);\n in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n activity.startActivity(in);\n }else if (privillage.equals(\"employee\"))\n {\n Intent in = new Intent(activity, employeemainscreen.class);\n in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n activity.startActivity(in);\n }else\n {\n Intent in = new Intent(activity, customermainscreen.class);\n in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n activity.startActivity(in);\n }\n\n\n //run serversocket to accept packet from server\n startacceptpacket.startacceptpacketfromserver(s);\n\n }",
"public void goToSendCommand(View view){\n Log.i(tag, \"About to launch SendCommand\");\n Intent i = new Intent(this, SendCommand.class);\n startActivity(i);\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tintent = new Intent(SnaDetailsActivity.this,HostActivity.class);\r\n\t\t\t\tintent.putExtra(\"stoid\", stoid);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}",
"private void launchStartMinglingActivity() {\n\t\tIntent startMinglingActivity = new Intent(this,\n\t\t\t\tStartMinglingActivity.class);\n\t\tstartActivity(startMinglingActivity);\n\t}",
"@Override\n public void onClick(View view) {\n Intent intent = MainActivity.newIntent(getActivity(), mMonitor.getId());\n startActivity(intent);\n\n }",
"@Override\n public void onClick(View view) {\n String identification = etIdentification.getText().toString();\n String address = etAddress.getText().toString();\n Integer port = Integer.parseInt(etPort.getText().toString());\n\n launchChatActivity(identification, address, port);\n }",
"public void openNewActivity(){\n Intent intent = new Intent(this, InventoryDisplay.class);\n startActivity(intent);\n }",
"@Override\n public void run() {\n startActivity(intent);\n }",
"private void createInstagramIntent(String type, Uri uri, String caption){\n Intent share = new Intent(Intent.ACTION_SEND);\n\n // Set the MIME type\n share.setType(type);\n\n // Add the URI and the caption to the Intent.\n share.putExtra(Intent.EXTRA_STREAM, uri);\n share.putExtra(Intent.EXTRA_TEXT, caption);\n share.setPackage(\"com.instagram.android\");\n\n // Broadcast the Intent.\n mContext.startActivity(share);\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent = new Intent(SettingsActivity.this,\n\t\t\t\t\t\tServerIPActivity.class);\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"private void launchDeepLinkActivity(Intent intent) {\n LogUtils.LOGE(\"***> Here\", \"launchDeepLinkActivity:\" + intent);\n Intent newIntent = new Intent(intent).setClass(this, ParseDeepLinkActivity.class);\n startActivity(newIntent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getApplicationContext(),\n\t\t\t\t\t\tCreateChain.class);\n\t\t\t\tstartActivity(i);\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getApplicationContext(), ChainInbox.class);\n\t\t\t\tstartActivity(i);\n\t\t\t}",
"@Override\n public void onClick(View v) {\n Intent activityIntent = new Intent(MainActivity.this, LocalList.class);\n// activityIntent.putExtra(\"reps\", getInfo(MainActivity.this, link));\n activityIntent.putExtra(\"zipcode\", zipcode.getText().toString());\n startActivity(activityIntent);\n }",
"void start(Intent intent, IntentFilter filter, IIntentCallback callback, IEclipseContext context);",
"private void buildIntent() {\n ReportLogic.report(this, \"POST\", mInfo.c_rpt, 0, null);\n Intent intent = new Intent();\n Bundle bundle = new Bundle();\n bundle.putString(PKG_NAME, mInfo.href);\n bundle.putString(APP_NAME, mInfo.name);\n intent.putExtra(DetailActivity.DETAIL, bundle);\n intent.setClass(this, DetailActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n Intent nationIntent = new Intent(MainActivity.this, NationActivity.class);\n startActivity(nationIntent);\n }",
"public void onClickedNet(View view) {\n Class<?> next = \"cage\".equals(ca.getCageType()) ? EnterNetCheckActivity.class : EnvironmentalContainerMenuActivity.class; \n Intent i = new Intent(this, next);\n i.putExtra(\"cageAllocationId\", cageAllocationId);\n startActivity(i);\n }",
"public Intent putIntentToNext(){\n Intent myTobaccoIntent = new Intent(getApplicationContext(), LoginActivity.class);\n myTobaccoIntent.putExtra(AppSettingUtils.EXTRAS_DEVICE_ADDRESS, deviceAddress);\n myTobaccoIntent.putExtra(AppSettingUtils.EXTRAS_SERVER_IP, ipAddress);\n return myTobaccoIntent;\n }",
"private void launchActivity(String title, String url){\n // package intent\n // start activity\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext, \"default\");\n\n String content = \"The instruction for \" + title + \" can be found here!\";\n\n //set icons\n builder.setSmallIcon(android.R.drawable.btn_star);\n builder.setStyle(new NotificationCompat.BigTextStyle(builder).bigText(content));\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n\n // create a pending intent for the notification with the intent I created\n PendingIntent pendingIntent = PendingIntent.getActivity(mContext,0, intent, 0);\n builder.setContentIntent(pendingIntent);\n\n //set the title and content of the notification\n builder.setContentTitle(\"Cooking Instruction\");\n builder.setContentText(content);\n\n // get the system service to display this notification\n NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(NOTIFICATION_SERVICE);\n\n //notify\n notificationManager.notify(1, builder.build());\n\n\n }",
"public void launchChatActivity(String identification, String address, Integer port) {\n Intent connectIntent = new Intent(this, ChatActivity.class);\n connectIntent.putExtra(\"identification\", identification);\n connectIntent.putExtra(\"address\", address);\n connectIntent.putExtra(\"port\", port);\n\n startActivityForResult(connectIntent, REQUEST_CODE);\n }",
"private void setupAddPotLaunch() {\n Button startAddPot = (Button) findViewById(R.id.btn_add_pot);\n startAddPot.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent AddPotintent = AddPot.makeIntent(MainActivity.this);\n startActivityForResult(AddPotintent, REQUEST_CODE_NEWPOT);\n }\n });\n }",
"private void launch() {\n Intent intent = new Intent(getActivity(), ForumAddActivity.class);\n startActivity(intent);\n }",
"public void createBrowserIntent(View view){\n Uri uri = Uri.parse(\"https://www.linkedin.com/in/chidi-uwaleke-3769b9a8/\");\n\n //Step 2: Create a browserIntent with action 'Intent.ACTION_VIEW'\n Intent browserIntent = new Intent(Intent.ACTION_VIEW);\n\n //Step 3: Set the data of the intent\n browserIntent.setData(uri);\n\n //Step 4: Start the intent\n startActivity(browserIntent);\n }",
"public void createPhoneIntent(View view){\n Intent intent = new Intent(Intent.ACTION_DIAL);\n\n //Step 2: Add the telephonne number as a data (URI) to the intent using \"tel:phone_num\";\n Uri uri = Uri.parse(\"tel:09095966472\");\n intent.setData(uri);\n\n //Step 3: Start the activity\n startActivity(intent);\n }",
"public void onClick(View arg0) {\n\t\t\tClass ourClass5;\n\t\t\ttry {\n\t\t\t\tourClass5 = Class.forName(\"com.first.aid.abcd.Nek\");\n\t\t\t\tIntent intentVijf = new Intent(vijfde.this, ourClass5);\n\t\t\t\tintentVijf.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);\n\t\t\t\tstartActivity(intentVijf);\t\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"@Override\n public void grindClicked() {\n Uri webpage = Uri.parse(\"http://www.grind-design.com\");\n Intent webIntent = new Intent(Intent.ACTION_VIEW, webpage);\n startActivity(webIntent);\n }",
"private void startGabrielActivityForTraining(String name, String ip) {\n Const.GABRIEL_IP = ip;\n Intent intent = new Intent(getContext(), GabrielClientActivity.class);\n intent.putExtra(\"name\", name);\n startActivityForResult(intent, LAUNCHCODE);\n Toast.makeText(getContext(), \"training\", Toast.LENGTH_SHORT).show();\n }",
"private void showAddWayPointActivity() {\n Intent intent = new Intent(this, ActivityNewWaypoint.class);\n this.startActivityForResult(intent,CREATE_WAYPOINT_REQUEST);\n }",
"public void goToInstractions(View view)\n {\n Intent intent = new Intent(MainActivity.this, InstructionsActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n Log.d(TAG,\"JOINING ROOMID\" + chat_list.get(position).roomhash );\n mSocket.emit(\"CreateRoom\",chat_list.get(position).roomhash,chat_list.get(position).gcmID);\n Intent intent2 = new Intent(CTX, ChatInstance.class);\n intent2.putExtra(\"roomnum\", chat_list.get(position).roomhash);\n\n CTX.startActivity(intent2);\n\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getApplicationContext(),\n\t\t\t\t\t\tUpdatesCreatedChain.class);\n\t\t\t\tstartActivity(i);\n\t\t\t}",
"public void createMapIntent(View view){\n Uri uri = Uri.parse(\"geo:0,0?q=\" + Uri.encode(\"12 Community Rd, Allen, Ikeja, Lagos\"));\n\n //Step 2: Create a mapIntent with action \"Intent.ACTION_VIEW\". Pass the data too\n Intent mapIntent = new Intent(Intent.ACTION_VIEW, uri);\n\n //Step 3: Set the package name of the Map App (i.e the unique name of the app)\n //E.g mapIntent.setPackage(\"com.google.android.apps.maps\");\n mapIntent.setPackage(\"com.google.android.apps.maps\");\n\n //Step 4: Check if the Map app is available to ACCEPT this intent, if Map app is available, start the Map Activity\n if(mapIntent.resolveActivity(getPackageManager()) != null){\n startActivity(mapIntent);\n }\n else{\n Toast.makeText(this, \"No available client\", Toast.LENGTH_LONG).show();\n }\n\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent irss = new Intent(man_lamar.this,ITCutiesReaderAppActivity.class);\n\t\t\t\tstartActivity(irss);\n\t\t\t\n\t\t\t}",
"@Override\n\t\tpublic void run() {\n\t\t\tswitch (i) {\n\t\t\tcase 4:\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(Admin2Home.this, Admin2CareSelect.class);\n\t\t\t\tstartActivity(intent);\n\t\t\t\thandler.sendEmptyMessage(1);\n\t\t\t\tbreak;\n\t\t\tcase 9:\n\t\t\t\tIntent intent2 = new Intent();\n\t\t\t\tintent2.setClass(Admin2Home.this, UnicomSaleQuery.class);\n\t\t\t\tstartActivity(intent2);\n\t\t\t\thandler.sendEmptyMessage(1);\n\t\t\t\tbreak;\n\t\t\tcase 10:\n\t\t\t\tIntent intent3 = new Intent();\n\t\t\t\tintent3.setClass(Admin2Home.this, UnicomQuery.class);\n\t\t\t\tstartActivity(intent3);\n\t\t\t\thandler.sendEmptyMessage(1);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t intent = new Intent(MainActivity.this, NLUActivity.class);\n\t\t\t\t if(intent != null) {\n\t\t\t\t\t startActivity(intent);\n\t\t\t\t\t }\n\t\t\t\t }",
"@Override\n public void onClick(View view) {\n\n startActivity(getIntent());\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setClass(EntranceActivity.this, ExchangeListActivity.class);\n startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent north_gaza = new Intent(man_lamar.this,man_north_gaza.class);\n\t\t\t\tstartActivity(north_gaza);\n\t\t\t\n\t\t\t}",
"@Override\n public void onClick(View view) {\n // Create a new intent to open the {@link inflatorsActivity}\n Intent inflatorsIntent = new Intent(MainActivity.this, inflatorsActivity.class);\n // Start the new activity\n startActivity(inflatorsIntent);\n }",
"@Override\npublic void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.vijfde);\n \n knop5 = (ImageView)findViewById(R.id.btpijlNaarRechts5);\n noodTransport=(TextView)findViewById(R.id.tvnoodTransport);\n noodTransport.setText(\"Indien mogelijk verplaats slachtoffers uit de gevarenzone. \" +\n \t\t\"\\n\\nDenk aan uw eigen veiligheid.\" +\n \t\t\"\\n\\nNeem geen grote risico's. \\n\\nVraag omstanders om hulp bij het verplaatsen.\" +\n \t\t\"\\n\\nIs het te gevaarlijk, \\nNeem dan afstand. En wacht tot de brandweer er is.\");\n knop5.setOnClickListener(new View.OnClickListener() {\n\t\n\t\tpublic void onClick(View arg0) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tClass ourClass5;\n\t\t\ttry {\n\t\t\t\tourClass5 = Class.forName(\"com.first.aid.abcd.Nek\");\n\t\t\t\tIntent intentVijf = new Intent(vijfde.this, ourClass5);\n\t\t\t\tintentVijf.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);\n\t\t\t\tstartActivity(intentVijf);\t\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}); \n}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(SetActivity.this, WifiSetActivity.class);\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"private void goSomewhere() {\n\n Intent intent = new Intent();\n intent.setClassName(Home.this,this.tip.getTipIntent());\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n // Create a new intent\n Intent new_release_intent = new Intent(VietPopActivity.this, MainActivity.class);\n new_release_intent.putExtra(\"uniqueid\",\"from_viet\");\n // Start the new activity\n startActivity(new_release_intent);\n }",
"private void onTrainActionSelected() {\n\t\tArrayList<Myo> connectedDevices = Hub.getInstance()\n\t\t\t\t.getConnectedDevices();\n\t\tif (connectedDevices.isEmpty()) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Get the Myo to train. In this case, we will train the first Myo in\n\t\t// the Hub's\n\t\t// connected devices list.\n\t\tMyo myo = connectedDevices.get(0);\n\n\t\t// Launch the TrainActivity for the specified Myo.\n\t\tIntent intent = new Intent(this, TrainActivity.class);\n\t\tintent.putExtra(TrainActivity.EXTRA_ADDRESS, myo.getMacAddress());\n\t\tstartActivity(intent);\n\t}",
"public void startNewGame(View view)\n {\n // Set the intent to the RoundActivity class.\n Intent intent = new Intent(this, RoundActivity.class);\n\n // Set the newround flag to true.\n intent.putExtra(EXTRA_NEWROUND, true);\n\n // Start the activity.\n startActivity(intent);\n }",
"private void startNewAcitivity(Intent intent, ActivityOptionsCompat options) {\n ActivityCompat.startActivity(this, intent, options.toBundle());\n }",
"@Override\r\npublic void onClick(View arg0) {\n\tswitch(arg0.getId())\r\n\t{\r\n\t\tcase R.id.bt_other:\r\n\t\t/*Intent i=new Intent();\r\n\t\t\tstartActivity(i);\r\n\t\t\tsetContentView(R.layout.other);*/\r\n\t\t\tIntent Intent=new Intent(MainPage.this,DataSend.class);\r\n\t\t\tIntent.putExtra(\"KEY_LIST\", device);\r\n\t\t\tIntent.putExtra(\"KEY_LISTNUMBER\", count);\r\n\t\t\tstartActivity(Intent);\r\n\t\t\t/*Intent Intent1=new Intent(MainPage.this,AdminPanel.class);\r\n\t\t\tIntent1.putExtra(\"KEY_LIST\", device);\r\n\t\t\tstartActivity(Intent1);*/\r\n \t//setContentView(R.layout.adminhome);\r\n\t\tbreak;\r\n\t}\r\n}",
"public NewNetworkAction(IWorkbenchWindow window) {\r\n\t\t// this.window = window;\r\n\t\tsetId(ID);\r\n\t\tsetText(\"&New\");\r\n\t\tsetToolTipText(\"Opens dialog to get network configuration file\");\r\n\t\tActionContainer.add(ID, this);\r\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent\tin=new Intent(Intent.ACTION_VIEW,Uri.parse(uri2));\n\t\t\t\tstartActivity(in);\n\t\t\t\t\n\t\t\t}",
"public void onClick(View v) {\n double latitude = 51.52;\n double longitude = -13.03;\n Intent intentBundle = new Intent(MainActivity.this, NetMap.class);\n Bundle bundle = new Bundle();\n bundle.putDouble(\"lat\", latitude);\n bundle.putDouble(\"long\", longitude);\n intentBundle.putExtras(bundle);\n startActivity(intentBundle);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(MyInfoActivity.this, NickNameSetActivity.class);\n\t\t\t\tintent.putExtra(\"nickName\", back_uib.getNickname());\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"public void serverb(View v){\n Intent i = new Intent(this, ConfActivity.class);\n i.putExtra(\"tipo\", \"server\");\n startActivity(i);\n }",
"@Override\r\n\t public void onClick(View v) {\n\t\tBundle bundle = new Bundle();\r\n\t\tbundle.putString(\"msgKind\", \"SMSLOG\");\r\n\t\tbundle.putStringArray(\"msgValue\", smsLogStr);\r\n\t\tIntent intent = new Intent(DisplayChoice.this, Display.class);\r\n\t\tintent.putExtras(bundle);\r\n\t\tstartActivity(intent);\r\n\t }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(Akun.this, Akun.class);\n\t\t\t\tstartActivity(i);\n\t\t\t}",
"protected void volverInicio() {\n\t\tIntent i = new Intent(this, ImcActivity.class);\n\t\tthis.startActivity(i);\n\t\t\n\t}",
"@Override\n public void onClick(View view) {\n Intent workoutIntent = new Intent(MainActivity.this, Workout_Playlist.class);\n // Start the new activity\n startActivity(workoutIntent);\n }",
"public void onNewIntent(Intent intent) {\n NetworkDiagnosticsActivity.super.onNewIntent(intent);\n this.mFrom = getIntent().getStringExtra(EXTRA_FROM);\n }",
"@Override\n public void goToEvent() {\n startActivity(new Intent(AddGuests.this, DetailEventRequest.class)); }",
"private void startDeviceListActivity() {\n\t\tIntent intent = new Intent(this, DeviceListActivity.class);\r\n startActivityForResult(intent, REQUEST_CONNECT_DEVICE); \r\n\t}",
"public void Volgende(Intent intent){\r\n\r\n startActivity(intent);\r\n\r\n }",
"public void toBeam(){\n Intent intent = new Intent(this, Beam.class);\n startActivity(intent);\n }",
"void mstrange(){\n Intent i = new Intent(context,Pengembalian.class);\n context.startActivity(i);\n }",
"public void startViewTripActivity() {\r\n\t\t\r\n\t\t// TODO - fill in here\r\n Intent intent = new Intent(this,TripHistoryActivity.class);\r\n startActivity(intent);\r\n\t}",
"public void gotoInkomsten(View v){\n Intent inkomsten;\n inkomsten = new Intent(getBaseContext(),InkomstenActivity.class);\n startActivity(inkomsten);\n }",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tmContext.startActivity(intent);\n\t\t\t\t}",
"@Override\n public void onClick(View v) {\n Uri uri = Uri.parse(url);\n //Se crea un intent implicito para visualizar los links en un navegador\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);\n //Se inicia la actividad del navegador\n activityt.startActivity(intent);\n }",
"public void onClick(View v) {\n Intent intent = new Intent();\n intent.setClass(memberinfo.this,near_res.class);\n startActivity(intent);\n\n }",
"@Override\n public void onClick(View v) {\n String Url= currentNews.getWebUrl();\n //sent intent to the website\n Intent intent = new Intent();\n intent.setAction(Intent.ACTION_VIEW);\n intent.addCategory(Intent.CATEGORY_BROWSABLE);\n intent.setData(Uri.parse(Url));\n getContext().startActivity(intent);\n }",
"public void onClick(View v) {\n\n\n\n startActivity(myIntent);\n }",
"@Override\r\n public void onClick(View view) {\n\r\n Intent gotoWiFISwitch = new Intent(MainActivity.this, WiFISwitch.class);\r\n startActivity(gotoWiFISwitch);\r\n\r\n\r\n }",
"public void contactBtnIntent(View view) {\n Intent intent = new Intent(Intent.ACTION_MAIN);\n intent.addCategory(Intent.CATEGORY_APP_MESSAGING);\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=201\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n public void onClick(View v) {\n\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(\"player1name\", player1Name.getText().toString());\n editor.putString(\"player2name\", player2Name.getText().toString());\n editor.commit();\n\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\n i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n i.putExtra(\"isPlayerDetsSet\", true);\n getApplicationContext().startActivity(i);\n\n }",
"@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n String in =((TextView) view).getText().toString();\n String ad=in.substring((in.length())-17);\n Intent intent= new Intent(MainActivity.this,Connect.class);\n //new activity will recieve that\n intent.putExtra(EXTRA_ADDRESS,ad);\n //Bundle b= new Bundle();\n //b.putString(\"name\",\"sara\");\n //intent.putExtras(b);\n startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=209\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=217\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"public void startTripViewer() {\n\n\t\t// TODO - fill in here\n\t\tviewTripButton.setOnClickListener(new View.OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tIntent viewTripIntent = new Intent(MainActivity.this,\n\t\t\t\t\t\tTripHistoryActivity.class);\n\t\t\t\tstartActivity(viewTripIntent);\n\t\t\t}\n\t\t});\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(MainActivity.this, PartNoList.class);\n\t\t\t\tintent.putExtra(\"motortype\", \"ddrmpartno\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\r\n\t public void onClick(View v) {\n\t\tBundle bundle = new Bundle();\r\n\t\tbundle.putString(\"msgKind\", \"TRALOG\");\r\n\t\tbundle.putStringArray(\"msgValue\", traLogStr);\r\n\t\tIntent intent = new Intent(DisplayChoice.this, Display.class);\r\n\t\tintent.putExtras(bundle);\r\n\t\tstartActivity(intent);\r\n\t }",
"public void startIntent(View view) {\n Intent addToDoIntent = new Intent(ToDoListActivity.this, AddToDoActivity.class);\n startActivityForResult(addToDoIntent, TODO_ADDED);\n }",
"public void startTransactionActivity (String tripName) {\n\n Intent intent = new Intent (MainActivity.this, TransactionsActivity.class);\n intent.putExtra(\"tripName\", tripName);\n startActivity(intent);\n\n\n\n\n\n }",
"public void getNetworks(View view) {\n Intent intent = new Intent().setClass(RepositoryActivity.this, ForkListActivity.class);\n intent.putExtra(Constants.Repository.REPO_OWNER, mBundle\n .getString(Constants.Repository.REPO_OWNER));\n intent.putExtra(Constants.Repository.REPO_NAME, mBundle\n .getString(Constants.Repository.REPO_NAME));\n startActivity(intent);\n }",
"@Override\n\t public void onClick(View v) {\n\t \t try{\n\t \t\t PackageManager pm = getPackageManager();\n\t \t\t Intent intent = pm.getLaunchIntentForPackage(\"com.getpebble.android\");\n\t \t\t startActivity(intent);\n\t \t }finally{;}\n\t }",
"@Override\n public void onClick(View v) {\n startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=213\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"public void sendSettings()\n {\n Intent startSettings = new Intent(this, Main3Activity.class);\n startActivity(startSettings);\n }",
"public void nextIntent(){\n \t\n \tIntent y=new Intent();\n \ty.setClass(MainActivity.this, Dashboard.class);\n \t\n \tstartActivity(y);\n \t\n \t\n}",
"protected void startStats(){\n Intent activityChangeIntent = new Intent(MainActivity.this, StatisticManagerActivity.class);\n startActivity(activityChangeIntent);\n }",
"public void onClick(View v) {\n Intent newActivity = new Intent(Detail_1.this,TabHostMENU.class);\r\n newActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n startActivity(newActivity);\r\n }",
"public void Neurologist(View view) {\n Intent intent = new Intent(ActivityMain.this, ActivityDoctorListBySp.class);\n intent.putExtra(\"TAG\", \"Neurologist\");\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n\n Intent i = new Intent(MainActivity.this, AddRecipeNameActivity.class);\n MainActivity.this.startActivity(i);\n }",
"private void launchLocal(String name) {\n Intent loc = new Intent(homeActivity.this, cardsMenu.class);\n Bundle b = new Bundle();\n b.putString(\"key\",\"local\"); //pass along that this will be a single player multigame\n b.putString(\"name\",name); //pass the player's name\n // b.putString(\"State\", State); //pass along the game type\n loc.putExtras(b);\n startActivity(loc);\n\n }",
"@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\tint which) \n\t\t\t\t\t{\n\t\t\t\t\t\tIntent intent = new Intent(MainActivity.this,\n\t\t\t\t\t\t\t\tSimulation.class);\n\t\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t}"
] | [
"0.62675077",
"0.6240945",
"0.62390214",
"0.60885614",
"0.6048848",
"0.6043284",
"0.60347456",
"0.6014254",
"0.59642196",
"0.59603596",
"0.5951676",
"0.5931071",
"0.59253484",
"0.5895125",
"0.58863896",
"0.58851033",
"0.585759",
"0.5853678",
"0.5833861",
"0.5814875",
"0.58127064",
"0.57872814",
"0.5771224",
"0.57553196",
"0.57497996",
"0.57489014",
"0.57479733",
"0.5740239",
"0.57396483",
"0.5731875",
"0.57298326",
"0.57238543",
"0.57211643",
"0.57191694",
"0.5719052",
"0.5705024",
"0.5702826",
"0.5697409",
"0.569671",
"0.56862515",
"0.5684598",
"0.56757426",
"0.5666437",
"0.56624526",
"0.5661595",
"0.5657896",
"0.5654386",
"0.56491333",
"0.5648127",
"0.5643709",
"0.564004",
"0.562614",
"0.562583",
"0.5614311",
"0.5613498",
"0.5606084",
"0.5597871",
"0.5595344",
"0.55947524",
"0.5585317",
"0.5582969",
"0.55797905",
"0.55768687",
"0.55713797",
"0.5570862",
"0.55630654",
"0.5561597",
"0.5556126",
"0.5551349",
"0.5551151",
"0.5538954",
"0.55388874",
"0.5538638",
"0.5531078",
"0.5522825",
"0.5522635",
"0.55200005",
"0.5515595",
"0.5515077",
"0.55146384",
"0.5512076",
"0.55085737",
"0.55074406",
"0.5505689",
"0.5505499",
"0.5504625",
"0.5502672",
"0.5500528",
"0.5500375",
"0.54999053",
"0.54971826",
"0.54955244",
"0.54933393",
"0.5491564",
"0.54896086",
"0.54879063",
"0.5487783",
"0.5486149",
"0.54842234",
"0.5472087"
] | 0.5517732 | 77 |
Method created to sync all data from the LoaderManager so we can set the data on the Activity without errors This is not fully implemented as only one loader is called at this time | private void allDataLoaded() {
mButtonHubId.setText(R.string.select_hub);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n // Update the data that the adapter uses to create ViewHolders\n mAdapter.swapCursor(data);\n }",
"@Override\n protected void onStartLoading() {\n if (mTaskData != null) {\n // Delivers any previously loaded data immediately\n deliverResult(mTaskData);\n } else {\n // Force a new load\n forceLoad();\n }\n }",
"@Override\n protected void onStartLoading() {\n if (mTaskData != null) {\n // Delivers any previously loaded data immediately\n deliverResult(mTaskData);\n } else {\n // Force a new load\n forceLoad();\n }\n }",
"@Override\n public void onLoaderReset(@NonNull Loader<Cursor> loader) {\n\n }",
"@Override\n\tprotected void onStartLoading() {\n\t\tif (mData != null) {\n\t\t\tdeliverResult(mData);\n\t\t}\n\t\t// Now we're in start state so we need to monitor for data changes.\n\t\t// To do that we start to observer the data\n\t\t// Register for changes which is Loader dependent\n\t\tregisterObserver();\n\t\t// Now if we're in the started state and content is changes we have\n\t\t// a flag that we can check with the method takeContentChanged()\n\t\t// and force the load\t\t\t\t\t\n\t\tif (takeContentChanged() || mData == null) {\n\t\t\tforceLoad();\n\t\t}\n\t}",
"@Override\n\tpublic void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n\t\tBundle result = new Bundle();\n\t\tswitch (loader.getId()) {\n\t\t\tcase LOADER_MODULES_FRAGMENT:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((ModulesCursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\t((ModulesCursorAdapter) mAdapter).notifyDataSetChanged();\n\t\t\t\tbreak;\n\n\t\t\tcase LOADER_MODULE_INFO_FRAGMENT:\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\tresult.putString(\"courseName\", cursor.getString(cursor.getColumnIndex(ModulesContract.COURSE_NAME)));\n\t\t\t\tresult.putString(\"courseCode\", cursor.getString(cursor.getColumnIndex(ModulesContract.COURSE_CODE)));\n\t\t\t\tresult.putString(\"courseAcadYear\", cursor.getString(cursor.getColumnIndex(ModulesContract.COURSE_ACAD_YEAR)));\n\t\t\t\tresult.putString(\"courseSemester\", cursor.getString(cursor.getColumnIndex(ModulesContract.COURSE_SEMESTER)));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_MODULE_INFO_FRAGMENT_DESCRIPTIONS:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((CursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\t((CursorAdapter) mAdapter).notifyDataSetChanged();\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase LOADER_MODULE_ANNOUNCEMENTS_FRAGMENT:\n\t\t\tcase LOADER_NEW_ANNOUNCEMENTS_FRAGMENT:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((CursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\t((CursorAdapter) mAdapter).notifyDataSetChanged();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_MODULE_WEBCASTS_FRAGMENT:\n\t\t\tcase LOADER_MODULE_WORKBINS_FRAGMENT:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((SimpleCursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\t((SimpleCursorAdapter) mAdapter).notifyDataSetChanged();\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase LOADER_VIEW_ANNOUNCEMENT_FRAGMENT:\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\tresult.putString(\"ivleId\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.IVLE_ID)));\n\t\t\t\tresult.putString(\"title\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.TITLE)));\n\t\t\t\tresult.putString(\"userName\", cursor.getString(cursor.getColumnIndex(UsersContract.NAME)));\n\t\t\t\tresult.putString(\"description\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.DESCRIPTION)));\n\t\t\t\tresult.putString(\"createdDate\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.CREATED_DATE)));\n\t\t\t\tresult.putString(\"expiryDate\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.EXPIRY_DATE)));\n\t\t\t\tresult.putString(\"url\", cursor.getString(cursor.getColumnIndex(AnnouncementsContract.URL)));\n\t\t\t\tresult.putBoolean(\"isRead\", cursor.getInt(cursor.getColumnIndex(AnnouncementsContract.IS_READ)) == 0 ? false : true);\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase LOADER_VIEW_WEBCAST_ACTIVITY:\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\tresult.putString(\"title\", cursor.getString(cursor.getColumnIndex(WebcastsContract.TITLE)));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_VIEW_WORKBIN_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WEBCAST_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WEBCAST_ITEM_GROUP_FRAGMENT:\n\t\t\t\t((SimpleCursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase LOADER_VIEW_WEBCAST_FILE_ACTIVITY:\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\tresult.putString(\"createDate\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.CREATE_DATE)));\n\t\t\t\tresult.putString(\"fileTitle\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.FILE_TITLE)));\n\t\t\t\tresult.putString(\"fileName\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.FILE_NAME)));\n\t\t\t\tresult.putString(\"fileDescription\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.FILE_DESCRIPTION)));\n\t\t\t\tresult.putString(\"mediaFormat\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.MEDIA_FORMAT)));\n\t\t\t\tresult.putString(\"MP3\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.MP3)));\n\t\t\t\tresult.putString(\"MP4\", cursor.getString(cursor.getColumnIndex(WebcastFilesContract.MP4)));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_VIEW_WORKBIN_ACTIVITY:\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\tresult.putString(\"title\", cursor.getString(cursor.getColumnIndex(WorkbinsContract.TITLE)));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_VIEW_WORKBIN_FILES_FRAGMENT:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((SimpleCursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcase LOADER_VIEW_WORKBIN_FOLDERS_FRAGMENT:\n\t\t\t\tresult.putInt(\"cursorCount\", cursor.getCount());\n\t\t\t\t((SimpleCursorAdapter) mAdapter).swapCursor(cursor);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\"No such loader\");\n\t\t}\n\t\t\n\t\tif (mListener != null) {\n\t\t\t((DataLoaderListener) mListener).onLoaderFinished(loader.getId(), result);\n\t\t}\n\t}",
"@Override\r\n\tpublic void onLoaderReset(Loader<Cursor> mLoader) {\n\t\t\r\n\t}",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n\n\n }",
"private void swapAndLoadData() {\n\n \tLog.d(Constants.TAG, \"EntryListActivity: swapAndLoadData: update last loaded data date\");\n \tSharedPreferences settings = getSharedPreferences(Preferences.PREFS_NAME, 0);\n\t\tSharedPreferences.Editor editor = settings.edit();\n\t editor.putLong(Preferences.PREF_KEY_LAST_LOADED_DATA_DATE, this.lastRefreshSuccessDate);\n\t editor.commit();\n\n\t\tLog.d(Constants.TAG, \"EntryListActivity: swapAndLoadData: swap data\");\n\t\t// TODO JGU #1: swap in background or UI thread\n\t\tLoadNewDataTask loadNewDataTask = new LoadNewDataTask(this);\n\t\tloadNewDataTask.execute();\n//\t\texecuteSwapping();\n\t\t///JGU #1\n\t}",
"@Override public void onLoaderReset(Loader<Cursor> loader) {\n\t\t}",
"@Override\n public void onLoadFinished(android.support.v4.content.Loader loader, Cursor data) {\n adapter.swapCursor(data);//replaces the old Cursor with the new one\n }",
"@Override\r\n\t\tpublic void onLoaderReset(android.content.Loader<List<User>> arg0) {\n\t\t\t\r\n\t\t}",
"@Override\n protected void onStartLoading() {\n if (mCursor != null) {\n // Deliver any previously loaded data immediately.\n deliverResult(mCursor);\n }\n if (takeContentChanged() || mCursor == null) {\n // When the observer detects a change, it should call onContentChanged()\n // on the Loader, which will cause the next call to takeContentChanged()\n // to return true. If this is ever the case (or if the current data is\n // null), we force a new load.\n forceLoad();\n }\n }",
"@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n //data.moveToPrevious();\n mAdapter.swapCursor(data);\n }",
"public void refreshData(){ \n \t\tif(!mIsFirstRun){\n \t if(mDb == null) mDb = new Sqlite(this.getContext());\n \t if(!mDb.isOpen()) mDb.openRead();\n \t \n \t\t\tgetLoaderManager().restartLoader(0,null,this);\n \t\t}else mIsFirstRun = false;\n \t}",
"@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\n\t}",
"@Override\r\n public void onLoaderReset(Loader<Cursor> loader) {\n\r\n }",
"private void initiateLoader() {\n ConnectivityManager connMgr = (ConnectivityManager)\n getSystemService(Context.CONNECTIVITY_SERVICE);\n\n // Get details on the currently active default data network\n NetworkInfo networkInfo = null;\n if (connMgr != null) {\n networkInfo = connMgr.getActiveNetworkInfo();\n }\n\n // If there is a network connection, fetch data\n if (networkInfo != null && networkInfo.isConnected()) {\n // Get a reference to the LoaderManager, in order to interact with loaders.\n avi.show();\n loadingIndicator.setVisibility(View.VISIBLE);\n errorContainer.setVisibility(View.GONE);\n LoaderManager loaderManager = getSupportLoaderManager();\n String url = BASE_URL + \"&from=\" + fromDate;\n url += \"&to=\" + toDate;\n url += \"&page=\" + currentPageNo;\n url += \"&sortBy=\" + sortPreference;\n if (queryText != null) {\n url += \"&q=\" + queryText;\n }\n\n Bundle args = new Bundle();\n args.putString(URL_KEY, url);\n if (forceLoad) {\n loaderManager.restartLoader(LAST_LOADER_ID, args, this);\n forceLoad = false;\n } else {\n LAST_LOADER_ID = NEWS_LOADER_ID;\n }\n if (!loaderInitiated) {\n loaderManager.initLoader(NEWS_LOADER_ID, args, this);\n loaderInitiated = true;\n } else {\n loaderManager.restartLoader(NEWS_LOADER_ID, args, this);\n }\n } else {\n avi.hide();\n loadingIndicator.setVisibility(View.GONE);\n ((TextView) errorContainer.findViewById(R.id.tvErrorDesc)).setText(R.string.no_conn_error_message);\n errorContainer.setVisibility(View.VISIBLE);\n }\n }",
"@Override\n protected void onStartLoading() {\n if (mData != null) {\n // If we currently have a result available, deliver it\n // immediately.\n deliverResult(mData);\n }\n registerObserver();\n if (takeContentChanged() || mData == null || isConfigChanged()) {\n // If the data has changed since the last time it was loaded\n // or is not currently available, start a load.\n forceLoad();\n }\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n }",
"private void initDataLoader() {\n\t}",
"@Override\n public void onLoadFinished(@NonNull Loader<Boolean> loader, Boolean data) {\n if(data){\n\n act.getAppLoaderManager().restartLoader(MainActivity.CHECK_API_RESPONSE_CODE, null, new LoaderManager.LoaderCallbacks<Boolean>() {\n @NonNull\n @Override\n public Loader<Boolean> onCreateLoader(int id, @Nullable Bundle args) {\n return new ApiAnswers(getContext());\n }\n\n @Override\n public void onLoadFinished(@NonNull Loader<Boolean> loader, Boolean data2) {\n\n if(data2){\n\n GetListAdapterTask adapterTask = new GetListAdapterTask();\n adapterTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, params);\n }\n else{\n\n Intent noResponseIntent = new Intent(getContext(), NoResponseActivity.class);\n startActivity(noResponseIntent);\n getActivity().finish();\n }\n }\n\n @Override\n public void onLoaderReset(@NonNull Loader<Boolean> loader) {\n\n }\n });\n\n\n }\n\n }",
"private void sync() {\n new AsyncTask<Void, Void, Void>() {\n ProgressDialog progressDialog;\n\n @Override\n protected void onPreExecute() {\n progressDialog = ProgressDialog.show(\n PostActivity.this, \"\", getString(R.string.loading));\n }\n\n @Override\n protected Void doInBackground(Void... params) {\n try {\n new PostBusiness().updateAll();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }\n\n @Override\n protected void onPostExecute(Void aVoid) {\n progressDialog.dismiss();\n postFragment.updateList();\n }\n }.execute();\n }",
"@Override\n public void onLoaderReset(@NonNull Loader<List<newslist>> loader) {\n mAdapter.clear();\n }",
"private void startAsyncLoader() {\n if (CheckInternetConnection.isNetworkAvailable(this)) {\n Log.e(\"connection\", \"connection available\");\n if (getLoaderManager().getLoader(ASYNC_LOADER_ID) == null) {\n getLoaderManager().initLoader(ASYNC_LOADER_ID, null, new UpdateDataInfo()).forceLoad();\n } else {\n getLoaderManager().restartLoader(ASYNC_LOADER_ID, null, new UpdateDataInfo()).forceLoad();\n }\n } else {\n showMessageDialog(getResources().getString(R.string.message), getResources().getString(R.string.no_int), 1);\n }\n }",
"@Override\n public void onLoaderReset(android.support.v4.content.Loader loader) {\n adapter.swapCursor(null);\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> cursorLoader) {\n // Nothing to do here\n }",
"@Override\n public Loader<Cursor> onCreateLoader(int id, final Bundle loaderArgs) {\n return new AsyncTaskLoader<Cursor>(this) {\n // Initialize a Cursor, this will hold all the drugs data\n Cursor mTaskData = null;\n // onStartLoading() is called when a loader first starts loading data\n @Override\n protected void onStartLoading() {\n if (mTaskData != null) {\n // Delivers any previously loaded data immediately\n deliverResult(mTaskData);\n } else {\n // Force a new load\n forceLoad();\n }\n }\n // loadInBackground() performs asynchronous loading of data\n @Override\n public Cursor loadInBackground() {\n // Will implement to load data\n // Query and load all drug data in the background; sort by priority\n // use a try/catch block to catch any errors in loading data\n\n try {\n return getContentResolver().query(DataContract.FirstAidEntry.CONTENT_URI,\n null,\n null,\n null,\n DataContract.FirstAidEntry._ID);\n } catch (Exception e) {\n Log.e(TAG, \"Failed to asynchronously load data.\");\n e.printStackTrace();\n return null;\n }\n\n\n }\n // deliverResult sends the result of the load, a Cursor, to the registered listener\n public void deliverResult(Cursor data) {\n mTaskData = data;\n super.deliverResult(data);\n }\n };\n\n\n }",
"private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }",
"private void fillData()\r\n\t{\n\t\tif(mManager.getLoader(LOADER_LOG) != null && !mManager.getLoader(LOADER_LOG).isReset())\r\n\t\t{\r\n\t\t\tmManager.restartLoader(LOADER_LOG, null, this);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tmManager.initLoader(LOADER_LOG, null, this);\r\n\t\t}\r\n\t\t\r\n\t\tif(selectMode != WorkoutMode.Tactical)\r\n\t\t{\r\n\t\t\tif(mManager.getLoader(LOADER_LOG_CARDIO) != null && !mManager.getLoader(LOADER_LOG_CARDIO).isReset())\r\n\t\t\t{\r\n\t\t\t\tmManager.restartLoader(LOADER_LOG_CARDIO, null, this);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tmManager.initLoader(LOADER_LOG_CARDIO, null, this);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tboolean ok = true;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tif(selectMode == WorkoutMode.Tactical || this.dayMode ==WorkoutMode.Tactical)\r\n\t\t\t{\r\n\t\t\t\tlogAdapter = new LogAdapter(this, null, // mGroupCursor,\r\n\t\t\t\t\t\tR.layout.log_ex_name,\r\n\t\t\t\t\t\tnew String[]{DBAdapter.COL_TITLE},\r\n\t\t\t\t\t\tnew int[]{R.id.ex_name},\r\n\t\t\t\t\t\tR.layout.log_tacktical_details,\t\t\t\t\r\n\t\t\t\t\t\tnew String[]{DBAdapter.COL_TITLE, DBAdapter.COL_LAPS},\r\n\t\t\t\t\t\tnew int[]{R.id.txt_name,R.id.txt_laps});\t\r\n\t\t\t\t\r\n\t\t\t\t//Hide cardio\r\n\t\t\t\thideCardio();\r\n\t\t\t}\r\n\t\t\telse //weigh + cardio, only weight; only cardio; \r\n\t\t\t{\t\t\t\t\r\n\t\t\t\tlogAdapter = new LogAdapter(this, null, // mGroupCursor,\r\n\t\t\t\t\t\tR.layout.log_ex_name,\r\n\t\t\t\t\t\tnew String[]{DBAdapter.COL_TITLE},\r\n\t\t\t\t\t\tnew int[]{R.id.ex_name},\r\n\t\t\t\t\t\tR.layout.log_ex_details,\t\t\t\t\r\n\t\t\t\t\t\tnew String[]{DBAdapter.COL_SET_NUM, DBAdapter.COL_REPS,DBAdapter.COL_WEIGHT,DBAdapter.COL_UNITS},\r\n\t\t\t\t\t\tnew int[]{R.id.txt_set,R.id.txt_reps,R.id.txt_wt,R.id.txt_units});\r\n\t\t\t\t\r\n\t\t\t\tcardioAdapter = new SimpleCursorAdapter(this, R.layout.log_item_cardio,null,\r\n\t\t\t\t\t\tnew String[]{ DBAdapter.COL_DISTANCE, DBAdapter.COL_UNITS, DBAdapter.COL_EQUIPMENT,DBAdapter.COL_TIME},\r\n\t\t\t\t\t\tnew int[]{R.id.txt_cardio_dist,R.id.txt_cardio_units,R.id.img_cardio,R.id.txt_cardio_time}, \r\n\t\t\t\t\t\tCursorAdapter.FLAG_REGISTER_CONTENT_OBSERVER);\r\n\t\t\t\t\r\n\t\t\t\tListView cardioList = (ListView)findViewById(R.id.list_log_cardio);\r\n\t\t\t\tcardioList.setAdapter(cardioAdapter);\t\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tcatch(Exception ex)\r\n\t\t{\r\n\t\t\tex.printStackTrace();\r\n\t\t\tok = false;\r\n\t\t}\t\t\r\n\t\t\r\n\t\tif(ok){\r\n\t\t\tsetListAdapter(logAdapter);\r\n//\t\t\tfinal int cnt =logAdapter.getGroupCount();\r\n//\t\t\tfor(int i=0; i < cnt; i++)\r\n//\t\t\t{\r\n//\t\t\t\tlist.expandGroup(i);\r\n//\t\t\t}\r\n\t\t}\r\n\t\t//getExpandableListView().setGroupIndicator(getResources().getDrawable(R.drawable.group_selector));\r\n\t}",
"@Override\r\n public void onLoaderReset(Loader<Cursor> loader) {\n mCursorAdapter.swapCursor(null);\r\n\r\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n // Clear the Cursor we were using with another call to the swapCursor()\n adapter.swapCursor(null);\n }",
"private void refreshData() {\n // Prevent unnecessary refresh.\n if (mRefreshDataRequired) {\n // Mark all entries in the contact info cache as out of date, so\n // they will be looked up again once being shown.\n mAdapter.invalidateCache();\n fetchCalls();\n mRefreshDataRequired = false;\n }\n }",
"private void onDataLoaded() {\n if (userLoc.getLoadingState() != LoadingState.DATA\n || randomNumberLoc1.getLoadingState() != LoadingState.DATA\n || randomNumberLoc2.getLoadingState() != LoadingState.DATA) {\n return;\n }\n\n // Let's pretend that adapting is expensive and takes a while\n try {\n Thread.sleep(ADAPT_DELAY_MS);\n } catch (InterruptedException e) {\n // can't catch a break!\n }\n\n UserService.User user = userLoc.getUser();\n assert user != null; // based on LoadingState check\n DateFormat dateTimeInstance =\n SimpleDateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG);\n\n loadingState = LoadingState.DATA;\n text1 = user.getId() + \": \" + user.getName() + \" (\" + randomNumberLoc1.getRandomNumber() + \")\";\n text2 = dateTimeInstance.format(user.getLastUpdate()) + \" (\" + randomNumberLoc2.getRandomNumber() + \")\";\n notifyPropertyChanged(BR.loadingState);\n notifyPropertyChanged(BR.text1);\n notifyPropertyChanged(BR.text2);\n }",
"public synchronized void updateData() {\n updateDataFields(this::defaultFetcher);\n }",
"@Override\n public void onLoaderReset(Loader loader) {\n mAdapter.swapCursor(null);\n }",
"@Override\n public void onLoaderReset(Loader<List<StockPicking>> loader) {\n mAdapter.clear();\n }",
"@Override\n public android.support.v4.content.Loader<Cursor> onCreateLoader(int i, final Bundle bundle) {\n return new android.support.v4.content.AsyncTaskLoader<Cursor>(this) {\n Cursor mOrderData = null;\n\n /**\n * Callback function for whenever a load operation begins\n */\n @Override\n protected void onStartLoading() {\n if(mOrderData != null){\n deliverResult(mOrderData);//if there was already data loaded(in the event that the activity was navigated away from while loading), load it\n } else {\n forceLoad();//starts a load command\n }\n }\n\n /**\n * Actions the AsyncTask performs in the background\n * @return - the Cursor for the query performed in the background\n */\n @Override\n public Cursor loadInBackground() {\n try {\n return getContentResolver().query(OrderContract.OrderEntry.CONTENT_URI,\n null,\n null,\n null,\n null);\n\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }\n\n /**\n * sets the local Cursor variable to the Cursor that was just loaded\n * @param data the Cursor that was loaded in\n */\n @Override\n public void deliverResult(Cursor data) {\n mOrderData = data;\n super.deliverResult(data);\n }\n };\n }",
"@Override\n protected void onReset() {\n super.onReset();\n\n // Ensure the loader is stopped\n onStopLoading();\n\n // At this point we can release the resources associated with 'apps' if needed.\n if (mData != null) {\n onReleaseResources(mData);\n mData = null;\n }\n }",
"@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n // The swapCursor() method assigns the new Cursor to the adapter\n adapter.swapCursor(cursor);\n }",
"@Override\n protected void onStartLoading() {\n if (lecturers != null) {\n // If we currently have a result available, deliver it\n // immediately.\n deliverResult(lecturers);\n }\n\n if (takeContentChanged() || lecturers == null) {\n // If the data has changed since the last time it was loaded\n // or is not currently available, start a load.\n forceLoad();\n }\n }",
"@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\t\tsetListAdapter(null);\n\t}",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mAdapter.swapCursor(null);\n }",
"@Override\n\tpublic void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n\t\tswitch (loader.getId()) {\n\t\t\tcase LOADER_ID:\n\t\t\t\t// The asynchronous load is complete and the data\n\t\t\t\t// is now available for use. Only now can we associate\n\t\t\t\t// the queried Cursor with the SimpleCursorAdapter.\n\t\t\t\tmAdapter.swapCursor(cursor);\n\t\t\t\tmCursor = mAdapter.getCursor();\n\t\t\t\tbreak;\n\t\t}\n\t\t// The listview now displays the queried data.\n\t}",
"@Override\n\tpublic void onLoaderReset(Loader<ContentResponse> loader) {\n\t\t\n\t}",
"@Override\n\tpublic void onLoaderReset(Loader<ContentResponse> loader) {\n\t\t\n\t}",
"@Override\n protected void onResume() {\n super.onResume();\n\n // re-queries for all drugs\n getSupportLoaderManager().restartLoader(TASK_LOADER_ID, null, this);\n }",
"private void setupLoadManagers() {\r\n\t mAdapter = new SimpleCursorAdapter(this, \r\n\t \t\tandroid.R.layout.two_line_list_item,\t\t\t\t// Specify used row template\r\n\t \t\tnull, \t\t\t\t\t\t\t\t\t\t\t\t// Pass in the cursor to bind to.\r\n\t \t\tdataColumns, \t\t\t\t\t\t\t\t\t\t// Array of cursor columns to bind to.\r\n\t \t\tviewIDs, \t\t\t\t\t\t\t\t\t\t\t// Which layout objects to bind to those columns\r\n\t \t\t0);\r\n\t \t\t\r\n\t // Associate the (now empty) adapter with the ListView.\r\n\t setListAdapter(mAdapter);\r\n\r\n\t /* The Activity (which implements the LoaderCallbacks<Cursor> interface) is the callbacks object \r\n\t * through which we will interact with the LoaderManager. The LoaderManager uses this object to\r\n\t * instantiate the Loader and to notify the client when data is made available/unavailable */\r\n\t mCallbacks = this;\r\n\r\n\t /* Initialize the Loader with id '1' and callbacks 'mCallbacks'. If the loader doesn't already exist, \r\n\t * one is created. Otherwise, the already created Loader is reused. In either case, the LoaderManager will \r\n\t * manage the Loader across the Activity/Fragment lifecycle, will receive any new loads once they have completed,\r\n\t * and will report this new data back to the 'mCallbacks' object. */\r\n\t LoaderManager lm = getLoaderManager();\r\n\t lm.initLoader(LOADER_ID, null, mCallbacks);\t\t\r\n\t}",
"@Override\r\n public boolean doLoadTrackersData() {\r\n TrackerManager tManager = TrackerManager.getInstance();\r\n ObjectTracker objectTracker = (ObjectTracker) tManager.getTracker(ObjectTracker.getClassType());\r\n if (objectTracker == null)\r\n return false;\r\n if (mCurrentDataset == null)\r\n mCurrentDataset = objectTracker.createDataSet();\r\n if (mCurrentDataset == null)\r\n return false;\r\n if (!mCurrentDataset.load(mDatasetStrings.get(mCurrentDatasetSelectionIndex), STORAGE_TYPE.STORAGE_APPRESOURCE))\r\n return false;\r\n if (!objectTracker.activateDataSet(mCurrentDataset))\r\n return false;\r\n int numTrackables = mCurrentDataset.getNumTrackables();\r\n for (int count = 0; count < numTrackables; count++) {\r\n Trackable trackable = mCurrentDataset.getTrackable(count);\r\n if (isExtendedTrackingActive())\r\n trackable.startExtendedTracking();\r\n\r\n String name = \"Current Dataset : \" + trackable.getName();\r\n trackable.setUserData(name);\r\n Log.d(LOGTAG, \"UserData:Set the following user data \" + trackable.getUserData());\r\n }\r\n return true;\r\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mCursorAdapter.swapCursor(null);\n }",
"@Override\n\tpublic void onReset() {\n\t\tonStopLoading();\n\n\t\t// At this point we can release the resources associated with 'mData'.\n\t\tif (mData != null) {\n\t\t\tonReleaseResources(mData);\n\t\t\tmData = null;\n\t\t}\n\t\t// The Loader is being reset so we need to unregister Observer\n\t\tunregisterObserver();\n\t}",
"@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n bookAdapter.swapCursor(data);\n }",
"void onItemsLoadComplete() {\n adapter.notifyDataSetChanged();\n\n // Stop refresh animation\n srl.setRefreshing(false);\n }",
"@Override\n protected void onStartLoading() {\n Utils.postToMainLoop(new Runnable() {\n @Override\n public void run() {\n if (mResult != null) // If we currently have a result available, deliver it immediately.\n deliverResult(mResult);\n\n if (isReload() || mResult == null)\n forceLoad();\n }\n });\n }",
"private void loadData(){\n updateDateTimeText();\n\n mLoadingDialog = DialogUtil.createLoadingDialog(getActivity(), getString(R.string.loading_dialog_in_progress));\n mLoadingDialog.show();\n // Call API to get the schedules\n mPresenter.loadAllExaminationSchedulesForSpecificDate(mMyDate.generateDateString(AppConstants.DATE_FORMAT_YYYY_MM_DD));\n }",
"public void requestTracksDataLoad() {\n getSupportLoaderManager().initLoader(TRACK_LOADER_INDEX, null, this).forceLoad();\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n this.goalAdapter.swapCursor(null);\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n adapter.swapCursor(null);\n }",
"@Override\n public void onLoaderReset(Loader<List<TutorialModel>> loader) {\n mTutorialAdapter.clear();\n progressDialog.toggleDialog(false);\n }",
"public void initData() {\n ConnectivityManager connMgr = (ConnectivityManager)\n getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);\n\n // Get details on the currently active default data network\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\n // If there is a network connection, fetch data\n if (networkInfo != null && networkInfo.isConnected()) {\n // Get a reference to the LoaderManager, in order to interact with loaders.\n LoaderManager loaderManager = getLoaderManager();\n\n // number the loaderManager with mPage as may be requesting up to three lots of JSON for each tab\n loaderManager.initLoader(FETCH_STOCK_PICKING_LOADER_ID, null, loadStockPickingFromServerListener);\n } else {\n // Otherwise, display error\n // First, hide loading indicator so error message will be visible\n View loadingIndicator = getView().findViewById(R.id.loading_spinner);\n loadingIndicator.setVisibility(View.GONE);\n\n // Update empty state with no connection error message\n mEmptyStateTextView.setText(R.string.error_no_internet_connection);\n }\n }",
"@Override\n protected void onStartLoading() {\n\n forceLoad();\n }",
"@Override\n protected void loadData() {\n setUpLoadingViewVisibility(true);\n callImageList = RetrofitGenerator.createService(ApiService.class)\n .getAllPubImage();\n callImageList.enqueue(callbackImageList);\n }",
"@Override\n public void onLoaderReset(Loader<List<Link>> loader) {\n }",
"@Override\n protected void onReset() {\n super.onReset();\n // Ensure the loader is stopped\n onStopLoading();\n // At this point we can release the resources associated with 'apps'\n // if needed.\n if (mData != null) {\n onReleaseResources(mData);\n mData = null;\n }\n unregisterObserver();\n }",
"@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\t\tmAdapter.swapCursor(null);\n\t}",
"private void initializeSpinner() {\n listClients = appGlobal.listClients;\n listDSRStatuses = appGlobal.listDSRStatuses;\n listLoadingnPoint = appGlobal.listLoadingnPoint;\n listDestinationPoint = appGlobal.listDestinationPoint;\n\n\n if(listClients!=null && listClients.size()>0){\n CompanySelectorAdapter clientCompAdapter = new CompanySelectorAdapter(getActivity(), listClients);\n spinnerListClientComp.setAdapter(clientCompAdapter);\n clientCompAdapter.notifyDataSetChanged();\n }\n else {\n loadClientsList();\n }\n if(listDSRStatuses!=null && listDSRStatuses.size()>0){\n // Remove all value from list\n for (DSRStatusModel model :listDSRStatuses) {\n if(Integer.parseInt(model.dsrStatusID.trim())== -1) {\n listDSRStatuses.remove(model);\n }\n }\n DSRStatusSpinnerAdapter dsrStatusAdapter = new DSRStatusSpinnerAdapter(getActivity(), listDSRStatuses);\n spinnerListStatusDSR.setAdapter(dsrStatusAdapter);\n dsrStatusAdapter.notifyDataSetChanged();\n }else {\n loadDSRStatusList();\n }\n if(listLoadingnPoint!=null && listLoadingnPoint.size()>0) {\n LocationPointAdapter loadingPointAdapter = new LocationPointAdapter(getActivity(), listLoadingnPoint);\n //spinnerListLoadingPoint.setAdapter(loadingPointAdapter);\n autocompleteTVLoadingPoint.setAdapter(loadingPointAdapter);\n loadingPointAdapter.notifyDataSetChanged();\n }\n else {\n loadLoadingPointList();\n }\n if(listDestinationPoint!=null && listDestinationPoint.size()>0) {\n LocationPointAdapter destinationPointAdapter = new LocationPointAdapter(getActivity(), listDestinationPoint);\n //spinnerListDestinationPoint.setAdapter(destinationPointAdapter);\n autocompleteTVDestinationPoint.setAdapter(destinationPointAdapter);\n destinationPointAdapter.notifyDataSetChanged();\n }\n else {\n loadDestinationPointList();\n }\n loadCustomsPoints();\n\n }",
"@Override\n protected void onStartLoading() {\n forceLoad();\n\n }",
"@Override\n\tpublic void refresh(){\n\t\tgetLoaderManager().restartLoader(0, null, this);\n\t}",
"@Override\r\n public void onLoaderReset(Loader<List<News>> loader) {\n mAdapter.clear();\r\n }",
"private synchronized void syncData() {\n try {\n // pulling data from server\n pullData();\n\n // pushing local changes to server\n// recordStatus=2\n pushData();\n// recordStatus=1\n// pushData1();\n } catch (Throwable throwable) {\n Log.d(TAG, \"doWork: \" + throwable.getMessage());\n }\n // Toast.makeText(getApplicationContext(), \".\", Toast.LENGTH_SHORT).show();\n }",
"private void manageLoaders() {\n\n // note: null is used in place of a Bundle object since all additional\n // parameters for Loader are global variables\n\n // get LoaderManager and initialise the loader\n if (getSupportLoaderManager().getLoader(LOADER_ID_01) == null) {\n getSupportLoaderManager().initLoader(LOADER_ID_01, null, this);\n } else {\n getSupportLoaderManager().restartLoader(LOADER_ID_01, null, this);\n }\n }",
"@Override\n public void onLoaderReset(Loader<ArrayList<NewsItem>> loader) {\n newsAdapter.clear();\n }",
"@Override\n protected void onStartLoading() {\n if(mOrderData != null){\n deliverResult(mOrderData);//if there was already data loaded(in the event that the activity was navigated away from while loading), load it\n } else {\n forceLoad();//starts a load command\n }\n }",
"private void loadContact() {\n groupSpinnerItems.clear();\n for (GroupSummary groupSummary: new Contacts(getActivity()).getGroupSummary()) {\n GroupSpinnerEntry item = new GroupSpinnerEntry();\n item.groupId = groupSummary.getId();\n item.title = groupSummary.getTitle();\n groupSpinnerItems.add(item);\n }\n\n getLoaderManager().initLoader(0, null, new LoaderManager.LoaderCallbacks<Contact>() {\n @Override\n public Loader<Contact> onCreateLoader(int id, Bundle args) {\n return new ContactLoader(getActivity(), mContactLookupUri);\n }\n\n @Override\n public void onLoadFinished(Loader<Contact> loader, Contact data) {\n List<DataItem> dataItems = contact.getData();\n dataItems.clear();\n dataItems.addAll(data.getData());\n// contact.setData(data.getData());\n contact.setId(data.getId());\n contact.setRawContactId(data.getRawContactId());\n contact.setName(data.getName());\n originName = data.getName();\n contact.setPhotoUri(data.getPhotoUri());\n ((ContactEditorAdapter)adapter).refreshData();\n }\n\n @Override\n public void onLoaderReset(Loader<Contact> loader) {\n\n }\n });\n }",
"@Override\n public void onLoaderReset(Loader<List<EarthQuake>> loader) {\n mAdapter.clear();\n }",
"@Override\n public void onLoaderReset(Loader<List<Book>> loader) {\n mAdapter.clear();\n }",
"@Override\r\n public void onLoaderReset(Loader<Cursor> loader){\r\n //mDetailCursor = null;\r\n }",
"public void requestPlaylistDataLoad() {\n getSupportLoaderManager().initLoader(PLAYLIST_LOADER_INDEX, null, this).forceLoad();\n }",
"@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n mAdapter.swapCursor(data);\n if(mPosition==RecyclerView.NO_POSITION){\n mPosition=0;\n }\n mRecyclerView.smoothScrollToPosition(mPosition);\n // Log.v(\"getcount\",String.valueOf(data.getCount()));\n if(data.getCount()!=0){\n showWeatherDataView();\n }\n\n }",
"void loadAll() {\n\t\tsynchronized (this) {\n\t\t\tif (isFullyLoaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (Entry<Integer, Supplier<ChunkMeta<?>>> generator : ChunkMetaFactory.getInstance()\n\t\t\t\t\t.getEmptyChunkFunctions()) {\n\t\t\t\tChunkMeta<?> chunk = generator.getValue().get();\n\t\t\t\tchunk.setChunkCoord(this);\n\t\t\t\tchunk.setPluginID(generator.getKey());\n\t\t\t\ttry {\n\t\t\t\t\tchunk.populate();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// need to catch everything here, otherwise we block the main thread forever\n\t\t\t\t\t// once it tries to read this\n\t\t\t\t\tCivModCorePlugin.getInstance().getLogger().log(Level.SEVERE, \n\t\t\t\t\t\t\t\"Failed to load chunk data\", e);\n\t\t\t\t}\n\t\t\t\taddChunkMeta(chunk);\n\t\t\t}\n\t\t\tisFullyLoaded = true;\n\t\t\tthis.notifyAll();\n\t\t}\n\t}",
"void applyLoaderData(@NotNull IndexRegistrar registrar, @NotNull Loader loader) {\n IntObjectHashMap<Loader[]> newClassPackageCache = new IntObjectHashMap<>(classPackageCache);\n IntObjectHashMap<Loader[]> newResourcePackageCache = new IntObjectHashMap<>(resourcePackageCache);\n registrar.registerPackageIndex(newClassPackageCache, newResourcePackageCache, loader);\n classPackageCache = newClassPackageCache;\n resourcePackageCache = newResourcePackageCache;\n }",
"@Override\n public void deliverResult(Cursor cursor) {\n if (isReset()) {\n // The Loader has been reset; ignore the result and invalidate the data.\n if (cursor!=null) {\n ReleaseResources(cursor);\n }\n return;\n }\n // Hold a reference to the old data so it doesn't get garbage collected.\n // We must protect it until the new data has been delivered.\n Cursor oldCursor = mCursor;\n mCursor = cursor;\n Log.v(LOG_TAG, \"deliverResult cursor: \" + String.valueOf(mCursor.getCount()));\n if (isStarted()) {\n // If the Loader is in a started state, deliver the results to the\n // client. The superclass method does this for us.\n super.deliverResult(cursor);\n }\n // Invalidate the old data as we don't need it any more\n if (oldCursor!=null && oldCursor!=cursor) {\n ReleaseResources(oldCursor);\n }\n }",
"public void setUpdateData() {\n positionFenceToUpdateinController = Controller.getPositionFenceInArrayById(this.idFenceToUpdate);\n if(positionFenceToUpdateinController >= 0) {\n Fence fence = Controller.fences.get(positionFenceToUpdateinController);\n ((MainActivity)getActivity()).getSupportActionBar().setTitle(Constant.TITLE_VIEW_UPDATE_FENCE + \": \" + fence.getName());\n this.nameFence.setText(fence.getName());\n this.addressFence.setText(fence.getAddress());\n this.cityFence.setText(fence.getCity());\n this.provinceFence.setText(fence.getProvince());\n this.numberFence.setText(fence.getNumber());\n this.textSMSFence.setText(fence.getTextSMS());\n int index = (int)Constant.SPINNER_RANGE_POSITIONS.get(fence.getRange());\n this.spinnerRange.setSelection(index);\n this.spinnerEvent.setSelection(fence.getEvent());\n }\n }",
"private void loadData() {\n progressBar.setVisibility(View.VISIBLE);\n feeService.GetInstallmentSummary(userData.getSchoolId(), userData.getAcademicyearId()).enqueue(new Callback<InstallmentSummaryBean>() {\n @Override\n public void onResponse(Call<InstallmentSummaryBean> call, Response<InstallmentSummaryBean> response) {\n InstallmentSummaryBean installmentSummaryBean = response.body();\n if (installmentSummaryBean != null) {\n\n if (installmentSummaryBean.rcode == Constants.Rcode.OK) {\n installmentSummaryModels.clear();\n long total = 0;\n for (InstallmentSummaryModel installment : installmentSummaryBean.data) {\n installmentSummaryModels.add(installment);\n try {\n total += Integer.parseInt(installment.Amount);\n } catch (NumberFormatException ex) {\n ex.printStackTrace();\n }\n }\n\n adapter.notifyDataSetChanged();\n totalAmount.setText(\" Installment Total(Rs): \" + String.valueOf(total));\n\n } else {\n Toast.makeText(context, \"Installment Summary could not be loaded. Please try again.\", Toast.LENGTH_LONG).show();\n }\n }\n// hideLoader();\n progressBar.setVisibility(View.GONE);\n }\n\n @Override\n public void onFailure(Call<InstallmentSummaryBean> call, Throwable t) {\n // hideLoader();\n progressBar.setVisibility(View.GONE);\n Toast.makeText(context, \"Installment Summary could not be loaded. Please try again.\", Toast.LENGTH_LONG).show();\n }\n });\n }",
"@Override\n protected void onPostExecute(final Void aVoid) {\n userSettings.getDataset().synchronize(new Dataset.SyncCallback() {\n @Override\n public void onSuccess(Dataset dataset, List<Record> updatedRecords) {\n Log.d(LOG_TAG, \"onSuccess - dataset updated\");\n }\n\n @Override\n public boolean onConflict(Dataset dataset, List<SyncConflict> conflicts) {\n Log.d(LOG_TAG, \"onConflict - dataset conflict\");\n return false;\n }\n\n @Override\n public boolean onDatasetDeleted(Dataset dataset, String datasetName) {\n Log.d(LOG_TAG, \"onDatasetDeleted - dataset deleted\");\n return false;\n }\n\n @Override\n public boolean onDatasetsMerged(Dataset dataset, List<String> datasetNames) {\n Log.d(LOG_TAG, \"onDatasetsMerged - datasets merged\");\n return false;\n }\n\n @Override\n public void onFailure(DataStorageException dse) {\n Log.e(LOG_TAG, \"onFailure - \" + dse.getMessage(), dse);\n }\n });\n }",
"@Override\n public void onLoaderReset(Loader<ArrayList<Book>> loader) {\n adapter.clear();\n Log.i(LOG_TAG,\"onLoaderReset\");\n }",
"@Override\n public void onLoaderReset(Loader<List<News>> loader) {\n mAdapter = new NewsRecyclerAdapter(MainActivity.this, new ArrayList<News>());\n }",
"public void onLoaderReset(Loader<List<Book>> loader) {\n mAdapter.clear();\n }",
"public void onStartLoading() {\n Cursor cursor = this.mCursor;\n if (cursor != null) {\n deliverResult(cursor);\n }\n if (takeContentChanged() || this.mCursor == null) {\n forceLoad();\n }\n }",
"@Override\n public void onLoaderReset(Loader<ArrayList<SingleMovieReview>> loader) {\n Log.i(LOG_TAG, \"onLoaderReset\");\n mAdapterR = new MovieReviewsAdapter(reviewsList);\n }",
"@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\t\tswitch (loader.getId()) {\n\t\t\tcase LOADER_MODULES_FRAGMENT:\n\t\t\t\t((ModulesCursorAdapter) mAdapter).swapCursor(null);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_MODULE_INFO_FRAGMENT_DESCRIPTIONS:\n\t\t\tcase LOADER_MODULE_ANNOUNCEMENTS_FRAGMENT:\n\t\t\tcase LOADER_NEW_ANNOUNCEMENTS_FRAGMENT:\n\t\t\t\t((CursorAdapter) mAdapter).swapCursor(null);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_MODULE_WEBCASTS_FRAGMENT:\n\t\t\tcase LOADER_MODULE_WORKBINS_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WEBCAST_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WEBCAST_ITEM_GROUP_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WORKBIN_FILES_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WORKBIN_FOLDERS_FRAGMENT:\n\t\t\t\t((SimpleCursorAdapter) mAdapter).swapCursor(null);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase LOADER_MODULE_INFO_FRAGMENT:\n\t\t\tcase LOADER_VIEW_ANNOUNCEMENT_FRAGMENT:\n\t\t\tcase LOADER_VIEW_WEBCAST_ACTIVITY:\n\t\t\tcase LOADER_VIEW_WEBCAST_FILE_ACTIVITY:\n\t\t\tcase LOADER_VIEW_WORKBIN_ACTIVITY:\n\t\t\tcase LOADER_VIEW_WORKBIN_FRAGMENT:\n\t\t\t\t// Do nothing.\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tdefault:\n\t\t\t\tthrow new IllegalArgumentException(\"No such loader\");\n\t\t}\n\t}",
"public void syncWithRTInfo() {\n new rtLocation(locationValueString).execute();\n new rtTemp(tempValueString).execute();\n new rtHumidity(humidityValueString).execute();\n new rtCondition(conditionValueString).execute();\n }",
"void onLoaderLoading();",
"@Override \n\t protected void onStartLoading() {\n\t if (mChildList != null) {\n\t // If we currently have a result available, deliver it\n\t // immediately.\n\t deliverResult(mChildList);\n\t }\n\n\t if (takeContentChanged() || mChildList == null) {\n\t // If the data has changed since the last time it was loaded\n\t // or is not currently available, start a load.\n\t forceLoad();\n\t }\n\t }",
"@Override \n\t protected void onStartLoading() {\n\t if (mChildList != null) {\n\t // If we currently have a result available, deliver it\n\t // immediately.\n\t deliverResult(mChildList);\n\t }\n\n\t if (takeContentChanged() || mChildList == null) {\n\t // If the data has changed since the last time it was loaded\n\t // or is not currently available, start a load.\n\t forceLoad();\n\t }\n\t }",
"@Override\n protected void onPreExecute() {\n Log.e(TAG, \"onPreExecute\");\n\n //showing the ProgressBar \n //simpleWaitDialog = ProgressDialog.show(settingslistactivity.this, \"loading settings from datastore...\", \"\");\n //simpleWaitDialog.setCancelable(true);\n\n lstsettingdtos = new ArrayList<>();\n _settingslistadapter = new settingslistadapter(getApplicationContext(), lstsettingdtos);\n _settingslistadapter.notifyDataSetChanged();\n\n super.onPreExecute();\n }",
"@Override\n public boolean doLoadTrackersData() {\n\n TrackerManager tManager = TrackerManager.getInstance();\n ObjectTracker objectTracker = (ObjectTracker) tManager\n .getTracker(ObjectTracker.getClassType());\n if (objectTracker == null)\n return false;\n\n if (markerDataSet == null)\n markerDataSet = objectTracker.createDataSet();\n\n if (markerDataSet == null)\n return false;\n\n if (!markerDataSet.load(\n \"Test0000.xml\",\n STORAGE_TYPE.STORAGE_APPRESOURCE))\n return false;\n\n if (!objectTracker.activateDataSet(markerDataSet))\n return false;\n\n int numTrackers = markerDataSet.getNumTrackables();\n for (int count = 0; count < numTrackers; count++) {\n Trackable trackable = markerDataSet.getTrackable(count);\n if (enableExtendedTracking) {\n trackable.startExtendedTracking();\n }\n\n String name = \"Current Dataset : \" + trackable.getName();\n trackable.setUserData(name);\n Log.d(TAG, \"UserData:Set the following user data \" + trackable.getUserData());\n }\n\n return true;\n }",
"@Override\n protected void onPreExecute() {\n super.onPreExecute();\n if(mCallback != null) {\n if (!mCallback.getNetworkConnection()) {\n /* Update with null data if no connection. Cancel asyncTask */\n mCallback.updateFromAsyncTask(null);\n cancel(true);\n }\n mCallback.handleProgressLoader();\n }\n }",
"@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mNameEditText.setText(\"\");\n mAddressEditText.setText(\"\");\n mNumberEditText.setText(\"\");\n mBirthTextView.setText(\"\");\n mImagePathTextView.setText(\"\");\n\n }"
] | [
"0.6350377",
"0.62631667",
"0.62631667",
"0.62491786",
"0.61875564",
"0.61794674",
"0.6176783",
"0.61529595",
"0.61314744",
"0.6112199",
"0.61070144",
"0.608138",
"0.6080579",
"0.6036778",
"0.60311896",
"0.6028888",
"0.6005595",
"0.5998821",
"0.59873784",
"0.5967621",
"0.59309095",
"0.59309095",
"0.5906415",
"0.58620685",
"0.5855343",
"0.5832652",
"0.5812616",
"0.58057785",
"0.5802006",
"0.5799861",
"0.57966685",
"0.57929784",
"0.5792583",
"0.5780427",
"0.5777267",
"0.5775031",
"0.5770574",
"0.57701534",
"0.5763927",
"0.57632226",
"0.5755504",
"0.57517177",
"0.5746441",
"0.5744166",
"0.57404286",
"0.5720742",
"0.5719299",
"0.5719299",
"0.57175136",
"0.5715041",
"0.57137233",
"0.57115275",
"0.5701832",
"0.5700827",
"0.5695646",
"0.5691493",
"0.56898963",
"0.5686657",
"0.56795084",
"0.5677995",
"0.56768274",
"0.56735384",
"0.56726885",
"0.5655756",
"0.5653192",
"0.56525636",
"0.5649432",
"0.56443864",
"0.5644265",
"0.5644079",
"0.5636882",
"0.56349087",
"0.56327766",
"0.5626594",
"0.5626391",
"0.5622744",
"0.5619172",
"0.5617626",
"0.5611953",
"0.56071824",
"0.5603468",
"0.5602563",
"0.5598716",
"0.5594407",
"0.55869955",
"0.5586403",
"0.55840397",
"0.5580519",
"0.5575473",
"0.5571968",
"0.5570775",
"0.55633634",
"0.5563348",
"0.556274",
"0.5559125",
"0.5557638",
"0.5557638",
"0.5553928",
"0.55449873",
"0.5538326",
"0.5535411"
] | 0.0 | -1 |
setter and getter methods | public char getLetterGrade() {
return letter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Set method_1559();",
"String setValue();",
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"public void setdat()\n {\n }",
"@Override\n public void get() {}",
"public String setter() {\n\t\treturn prefix(\"set\");\n\t}",
"public void get() {\n }",
"public abstract void set(M newValue);",
"public T get() {\n return value;\n }",
"private void assignment() {\n\n\t\t\t}",
"public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }",
"public T get() {\n return value;\n }",
"public T get() {\n return value;\n }",
"public Object getNewValue()\n {\n return newValue;\n }",
"@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}",
"@Override\n String get();",
"public String get();",
"@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }",
"public void setAge(int age) { this.age = age; }",
"public T set(T obj);",
"public Object get()\n {\n return m_internalValue;\n }",
"@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}",
"protected Object doGetValue() {\n\t\treturn value;\n\t}",
"public abstract String get();",
"V setValue(final V value) {\n\t setMethod.accept(value);\n\n\t return value;\n\t}",
"public void setValue(Object value) { this.value = value; }",
"public V get() {\n return value;\n }",
"public int getSet() {\n return set;\n }",
"protected void setValue(T value) {\r\n this.value = value;\r\n }",
"public void setValor(String valor)\n/* 22: */ {\n/* 23:34 */ this.valor = valor;\n/* 24: */ }",
"public void set(String name, Object value) {\n }",
"private void setData() {\n\n }",
"public abstract void setValue(T value);",
"@Override\n\tpublic void set() {\n\t\tSystem.out.println(\"A==========set\");\n\t}",
"void setValue(T value)\n\t\t{\n\t\t\tthis.value = value;\n\t\t}",
"@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}",
"@Test\n\tpublic void testSet() {\n\t}",
"@Override\n\tpublic void setValue(Object object) {\n\n\t}",
"void set(T t);",
"@Override\n\tpublic void set(T e) {\n\t\t\n\t}",
"public void setValue(S s) { value = s; }",
"public String getSetter() {\n return \"set\" + getCapName();\n }",
"Object setValue(Object value) throws NullPointerException;",
"public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }",
"public void setValue(IveObject val){\r\n\tvalue = val;\r\n\tnotifyFromAttr();\r\n }",
"public void setEmpresa(Empresa empresa)\r\n/* 89: */ {\r\n/* 90:141 */ this.empresa = empresa;\r\n/* 91: */ }",
"public void setPrice(double price){this.price=price;}",
"public void setProp(String key, String value){\t\t\n \t\t//Check which of property to set & set it accordingly\n \t\tif(key.equals(\"UMPD.latestReport\")){\n \t\t\tthis.setLatestReport(value);\n<<<<<<< HEAD\n\t\t} \n=======\n \t\t\treturn;\n \t\t} \n \t\tif (key.equals(\"UMPD.latestVideo\")) {\n \t\t\tthis.setLastestVideo(value);\n \t\t\treturn;\n \t\t}\n>>>>>>> 45a14c6cf04ac0844f8d8b43422597ae953e0c42\n \t}\n //-----------------------------------------------------------------------------\n \t/**\n \t * @return - a list of <code>FieldAndval</code> objects representing the set \n \t * properties\n \t */\n \tpublic ArrayList<FieldAndVal> getSetPropsList(){\n \t\tcreateSetPropsList();\n \t\treturn setPropsList;\n \t}\n //-----------------------------------------------------------------------------\n \t/**\n \t * \n \t */\n \tprivate void createSetPropsList(){\n \t\tif((this.latestReport).length()>0){\n \t\t\tsetPropsList.add(new FieldAndVal(\"UMPD.latestReport\", this.latestReport));\n \t\t}\n \t}\n //-----------------------------------------------------------------------------\n \t/**\n \t * @return lastestVideo - \n \t */\n \tpublic String getLastestVideo() {\n \t\treturn lastestVideo;\n \t}",
"void setValue(Object value);",
"@Test\n\tpublic void get_test()\n\t{\n\t\tb.set(1,2,'x');\n\t\tassertEquals(b.get(1,2),'x');\n\t}",
"public int\t\tget() { return value; }",
"public String get()\n {\n return this.string;\n }",
"@Test\n public void setAndGetTest() {\n GameEntity t2 = new GameEntity(new Rectangle(10.0, 10.0));\n\n //Set and getting temp node\n t2.getView().setTranslateX(5.0);\n t2.getView().setTranslateY(5.0);\n Circle temp = new Circle(4);\n t2.setView(temp);\n assertEquals(\"Expected view to be changed\", temp, t2.getView());\n\n //Testing the alive and dead of the object\n t2.setAlive(false);\n assertEquals(\"Expected the object state to be set to dead.\", false, t2.isAlive());\n assertEquals(\"Expected the reverse of object state to be set to alive.\", true, t2.isDead());\n }",
"@Deprecated\n final Method setter() {\n return this.setter;\n }",
"boolean getSet();",
"public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }",
"public void setAge(int age);",
"@Override\r\n\t\tpublic void set(E arg0) {\n\r\n\t\t}",
"public void setX(int x) { this.x=x; }",
"public void setValue(Object val);",
"public String getValue() {\n/* 99 */ return this.value;\n/* */ }",
"private SetProperty(Builder builder) {\n super(builder);\n }",
"public void setValue(Object value);",
"public int setValue (int val);",
"public Object getValue(){\n \treturn this.value;\n }",
"@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}",
"public int getAge() {return age;}",
"boolean get();",
"public Object getValue() { return _value; }",
"@Override\n\t\tpublic V setValue(V p1){\n\t\t\treturn p1;\n\t\t}",
"public void setValue(A value) {this.value = value; }",
"public void setEmployee(String employee)\r\n/* 43: */ {\r\n/* 44:47 */ this.employee = employee;\r\n/* 45: */ }",
"String get();",
"String get();",
"public String get()\n {\n return val;\n }",
"@Test\n public void testSetNombre() {\n System.out.println(\"setNombre\");\n Receta instance = new Receta();\n instance.setNombre(\"nom1\");\n String expResult = \"nom1\";\n String result = instance.getNombre();\n assertEquals(expResult, result);\n }",
"public void setU(String f){\n u = f;\n}",
"public int getValue() {\n/* 450 */ return this.value;\n/* */ }",
"public void set(String s);",
"void setValue(T value);",
"void setValue(T value);",
"public int getAge(){\n return age;\n }",
"public Value getSetValue() {\n\t\treturn set_value_;\n\t}",
"@Override\n public void setValue(Object val)\n {\n value = val;\n }",
"public Object getValue()\n {\n\treturn value;\n }",
"void setAge(int age);",
"void set(Model model);",
"public void set()\r\n {\r\n isSet = true;\r\n }",
"public int getlife(){\r\n return life;\r\n}",
"public void setDataGetter(Object instance, Method method) {\n this.instance = instance;\n this.method = method;\n }",
"public void testGetterAndSetter() {\n UDDIOperationInput uddiOperationInput = new UDDIOperationInput();\n\n //Test Get and Set ElementType\n QName qName = new QName(UDDI_NS_URI, \"input\");\n assertNotNull(\"getElementType was null\",\n uddiOperationInput.getElementType());\n assertTrue(\"getElementType was incorrect\",\n uddiOperationInput.getElementType().equals(qName));\n\n //Test Get and Set Required\n uddiOperationInput.setRequired(isRequired);\n assertFalse(\"getRequired returned true\",\n uddiOperationInput.getRequired());\n isRequired = true;\n uddiOperationInput.setRequired(isRequired);\n assertTrue(\"getRequired returned false\",\n uddiOperationInput.getRequired());\n\n //Test Get and Set BusinessName\n uddiOperationInput.setBusinessName(businessName);\n assertTrue(\"getBusinessName incorrect\",\n uddiOperationInput.getBusinessName().equals(businessName));\n\n //Test Get and Set ServiceName\n uddiOperationInput.setServiceName(serviceName);\n assertTrue(\"getServiceName incorrect\",\n uddiOperationInput.getServiceName().equals(serviceName));\n }",
"double sety(double y) {\nreturn this.y;\n }",
"@Override\n public Object getValue()\n {\n return value;\n }",
"public String get() {\n return value;\n\t}",
"@Test\n public void test_getTelephone() {\n String value = \"new_value\";\n instance.setTelephone(value);\n\n assertEquals(\"'getTelephone' should be correct.\",\n value, instance.getTelephone());\n }",
"private interface Valuable extends Base {\n\t\tString getValue();\n\t\tvoid setValue(String value);\n\t}",
"@Test\r\n\tpublic void test_setter_and_getter_title(){\r\n\t\ttestClassDefinition();\r\n\t\tBook c = new BookMock(\"Old Title\", 1);\r\n\t\tc.setTitle(\"New Title\");\r\n\t\tassertEquals(\"Changed title\", \"New Title\", c.getTitle());\r\n\t}",
"public void set() {\r\n\t\tage = 19;\r\n\t\tname = \"ΎΛ·»\";\r\n\t\theight = 161;\r\n\t\tsetWeight(50);\r\n\t\tSystem.out.println(getWeight());\r\n\t}",
"public void setM_Locator_ID (int M_Locator_ID)\n{\nset_Value (\"M_Locator_ID\", new Integer(M_Locator_ID));\n}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}"
] | [
"0.69148004",
"0.6894207",
"0.650436",
"0.6456427",
"0.63813746",
"0.6367311",
"0.62834966",
"0.62599576",
"0.6249823",
"0.623669",
"0.6204832",
"0.6188973",
"0.6188973",
"0.61540455",
"0.6138265",
"0.61323977",
"0.6110242",
"0.61005723",
"0.6094278",
"0.60873",
"0.6077639",
"0.60602427",
"0.605697",
"0.6051745",
"0.6031006",
"0.5997971",
"0.59876335",
"0.5985872",
"0.5985549",
"0.5979751",
"0.597589",
"0.5974855",
"0.59741324",
"0.5955235",
"0.5944319",
"0.59439814",
"0.59424454",
"0.5936783",
"0.59124035",
"0.59120536",
"0.59101015",
"0.590698",
"0.58993125",
"0.58986896",
"0.5895973",
"0.5888807",
"0.5884669",
"0.5881829",
"0.58815503",
"0.58776236",
"0.5876857",
"0.5868513",
"0.5859433",
"0.5853588",
"0.5838331",
"0.5836376",
"0.5832556",
"0.5830345",
"0.5828648",
"0.58263266",
"0.58230954",
"0.58218575",
"0.5819901",
"0.5813393",
"0.5813086",
"0.5801493",
"0.5798873",
"0.5796073",
"0.5790647",
"0.57753193",
"0.5772829",
"0.57713985",
"0.5769665",
"0.57685757",
"0.57685757",
"0.57660055",
"0.57656986",
"0.57576776",
"0.5755166",
"0.5750931",
"0.574513",
"0.574513",
"0.57446706",
"0.5742932",
"0.5733665",
"0.57321393",
"0.57248837",
"0.5721334",
"0.5713902",
"0.5708622",
"0.57079786",
"0.570722",
"0.5705229",
"0.5703449",
"0.5694595",
"0.56908774",
"0.56863254",
"0.56835765",
"0.5678349",
"0.5670613",
"0.5666354"
] | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
System.out.println("ange triangelns sidor");
Scanner in = new Scanner(System.in);
double x = in.nextInt();
double y = in.nextInt();
//double z = in.nextInt();
double alfa = in.nextInt();
//double theta = in.nextInt();
//double yeeta = in.nextInt();
System.out.println();
System.out.println();
System.out.println();
System.out.println();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0.6080555",
"0.6076938",
"0.6041293",
"0.6024541",
"0.6019185",
"0.5998426",
"0.5967487",
"0.5967487",
"0.5964935",
"0.59489644",
"0.59404725",
"0.5922823",
"0.5908894",
"0.5903041",
"0.5893847",
"0.5885641",
"0.5883141",
"0.586924",
"0.5856793",
"0.58503157",
"0.58464456",
"0.5823378",
"0.5809384",
"0.58089525",
"0.58065355",
"0.58065355",
"0.5800514",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57896614",
"0.5789486",
"0.5786597",
"0.5783299",
"0.5783299",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5760369",
"0.5758614",
"0.5758614",
"0.574912",
"0.574912",
"0.574912",
"0.57482654",
"0.5732775",
"0.5732775",
"0.5732775",
"0.57207066",
"0.57149917",
"0.5714821",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57115865",
"0.57045746",
"0.5699",
"0.5696016",
"0.5687285",
"0.5677473",
"0.5673346",
"0.56716853",
"0.56688815",
"0.5661065",
"0.5657898",
"0.5654782",
"0.5654782",
"0.5654782",
"0.5654563",
"0.56536144",
"0.5652585",
"0.5649566"
] | 0.0 | -1 |
Called before the vanilla shaders are applied to the screen | public static void onPreRenderShaders(float partialTicks) {
MinecraftForge.EVENT_BUS.post(new PreRenderShadersEvent(partialTicks));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initialize() {\n ShaderProgram.pedantic = false;\r\n\r\n shader = CustomShaderLoader.createShader();\r\n if (!shader.isCompiled()) {\r\n System.err.println(shader.getLog());\r\n System.exit(0);\r\n }\r\n if (shader.getLog().length() != 0)\r\n System.out.println(shader.getLog());\r\n }",
"@Override\n public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {\n glClearColor(0.0f, 0.0f, 0.0f, 0.0f);\n \n String vertexShaderSource = TextResourceReader.readTextFileFromResource(context, R.raw.simple_vertex_shader);\n String fragmentShaderSource = TextResourceReader.readTextFileFromResource(context, R.raw.simple_fragment_shader);\n \n int vertexShaderId = ShaderHelper.compileVertexShader(vertexShaderSource);\n int fragmentShaderId = ShaderHelper.compileFragmentShader(fragmentShaderSource);\n \n program = ShaderHelper.linkProgram(vertexShaderId, fragmentShaderId);\n \n if(LoggerConfig.ON){\n \tShaderHelper.validateProgram(program);\n }\n glUseProgram(program);\n uColorLocation = glGetUniformLocation(program, U_COLOR);\n aPositionLocation = glGetAttribLocation(program, A_POSITION);\n \n vertexData.position(0);\n glVertexAttribPointer(aPositionLocation, POSITION_COMPONENT_COUNT, GL_FLOAT, false, 0, vertexData);\n glEnableVertexAttribArray(aPositionLocation); \n }",
"@Override\n\tpublic void glSetup(Context cx) {\n\t\tmShader = ShaderHelper.glGenerateShader(cx, \"vertex_shader\",\n\t\t\t\t\"scene_enhance_fragment_shader\", \"aPosition\", \"uMVPMatrix\",\n\t\t\t\t\"uTexture\", \"uTextureCurve\");\n\n\t}",
"public void prepare(){\n\t\tGL11.glEnable(GL11.GL_DEPTH_TEST);\n\t\tGL11.glClear( GL11.GL_COLOR_BUFFER_BIT|GL11.GL_DEPTH_BUFFER_BIT );\n\t\tGL11.glClearColor(1, 0, 0, 1);\n\t\t\n\t}",
"public void onSurfaceCreated(int vertexShader, int gridShader, int passthroughShader) {\r\n \tstuff();\r\n program = GLES20.glCreateProgram();\r\n GLES20.glAttachShader(program, vertexShader);\r\n if (this instanceof GLSelectableObject) {\r\n GLES20.glAttachShader(program, passthroughShader);\r\n } else {\r\n GLES20.glAttachShader(program, gridShader);\r\n }\r\n GLES20.glLinkProgram(program);\r\n GLES20.glUseProgram(program);\r\n\r\n checkGLError(\"Floor program\");\r\n\r\n modelParam = GLES20.glGetUniformLocation(program, \"u_Model\");\r\n modelViewParam = GLES20.glGetUniformLocation(program, \"u_MVMatrix\");\r\n modelViewProjectionParam = GLES20.glGetUniformLocation(program, \"u_MVP\");\r\n lightPosParam = GLES20.glGetUniformLocation(program, \"u_LightPos\");\r\n\r\n positionParam = GLES20.glGetAttribLocation(program, \"a_Position\");\r\n normalParam = GLES20.glGetAttribLocation(program, \"a_Normal\");\r\n colorParam = GLES20.glGetAttribLocation(program, \"a_Color\");\r\n\r\n GLES20.glEnableVertexAttribArray(positionParam);\r\n GLES20.glEnableVertexAttribArray(normalParam);\r\n GLES20.glEnableVertexAttribArray(colorParam);\r\n\r\n checkGLError(\"Floor program params\");\r\n Matrix.setIdentityM(model, 0);\r\n Matrix.translateM(model, 0, -xPos, -yPos, -zPos); // Floor appears\r\n // below user.\r\n\r\n }",
"@Override\n\tpublic void prepareScreen() {\n\t\tgl.glColor3d(0.0, 0.0, 0.0);\n\t\tgl.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\n\t}",
"@Override\n protected void onResume() {\n super.onResume();\n mGLSurfaceView.onResume();\n }",
"@Override\n protected void onResume()\n {\n super.onResume();\n mGLSurfaceView.onResume();\n }",
"@Override\n protected void onResume()\n {\n super.onResume();\n mGLSurfaceView.onResume();\n }",
"void glAttachShader(int program, int shader);",
"@Override\n public void onResume() {\n \tsuper.onResume();\n mGLSurfaceView.onResume();\n }",
"private static void initGL() {\n glClearColor(152/255f, 175/255f, 199/255f, 0.0f);\n glMatrixMode(GL_PROJECTION);\n glLoadIdentity();\n GLU.gluPerspective(100.0f, (float)displayMode.getWidth()/(float)\n displayMode.getHeight(), 0.1f, 500);\n glMatrixMode(GL_MODELVIEW);\n glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\n glClearDepth(1.0f);\n glEnable(GL_DEPTH_TEST);\n glEnable(GL_TEXTURE_2D);\n glEnableClientState(GL_VERTEX_ARRAY);\n glEnableClientState(GL_COLOR_ARRAY);\n glEnableClientState(GL_TEXTURE_COORD_ARRAY);\n glEnable(GL_LIGHTING);\n glEnable(GL_LIGHT0);\n glEnable(GL_NORMALIZE);\n\n }",
"public void init() {\n createVertexShader(vertexShader(true));\n createFragmentShader(fragShader.SHADER_STRING);\n\n /* Binds the code and checks that everything has been done correctly. */\n link();\n\n createUniform(\"worldMatrix\");\n createUniform(\"modelMatrix\");\n createUniform(\"normalMatrix\");\n\n /* Initialization of the shadow map matrix uniform. */\n createUniform(\"directionalShadowMatrix\");\n\n /* Create uniform for material. */\n createMaterialUniform(\"material\");\n createUniform(\"texture_sampler\");\n /* Initialization of the light's uniform. */\n createUniform(\"camera_pos\");\n createUniform(\"specularPower\");\n createUniform(\"ambientLight\");\n createPointLightListUniform(\"pointLights\", LightModel.MAX_POINTLIGHT);\n createSpotLightUniformList(\"spotLights\", LightModel.MAX_SPOTLIGHT);\n createDirectionalLightUniform(\"directionalLight\");\n createUniform(\"shadowMapSampler\");\n createUniform(\"bias\");\n }",
"public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {\n\t\tGLES20.glBlendFunc(GLES20.GL_SRC_ALPHA, GLES20.GL_ONE_MINUS_SRC_ALPHA);\n\t\tmVertexShader = RawResourceReader.readTextFileFromRawResource(mContext,\n\t\t\t\tde.moliso.shelxle.R.raw.atoms_vetrex_shader);\n\t\tmFragmentShader = RawResourceReader.readTextFileFromRawResource(\n\t\t\t\tmContext, de.moliso.shelxle.R.raw.atoms_fragment_shader);\n\n\t\tmProgram = createProgram(mVertexShader, mFragmentShader);\n\t\tif (mProgram == 0) {\n\t\t\treturn;\n\t\t}\n\t\ttry{\n\t\t\tversionName = mContext.getPackageManager().getPackageInfo(mContext.getPackageName(), 0).versionName;\n\t\t}catch (NameNotFoundException e){\n\t\t\t//wurst\n\t\t}\n\t\ttexturH = GLES20.glGetUniformLocation(mProgram, \"text\");\n\t\tellipsoidH = GLES20.glGetUniformLocation(mProgram, \"eli\");\n\t\tlichtH = GLES20.glGetUniformLocation(mProgram, \"lighting\");\n\n\t\tvertexAttr1 = GLES20.glGetAttribLocation(mProgram, \"vertex\");\n\n\t\tnormalAttr1 = GLES20.glGetAttribLocation(mProgram, \"normal\");\n\t\tmatrixUniform1 = GLES20.glGetUniformLocation(mProgram, \"matrix\");\n\t\tinvmatrixUniform1 = GLES20.glGetUniformLocation(mProgram, \"invmatrix\");\n\t\tcolorUniform1 = GLES20.glGetUniformLocation(mProgram, \"col\");\n\n\t\tmTextureLoc = GLES20.glGetUniformLocation(mProgram, \"textureSampler\");\n\t\tMatrix.setIdentityM(mv, 0);\n\t\tMatrix.scaleM(mv, 0, 9.0f, 9.0f, 9.0f);\n\n\t\t// Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);\n\n\t}",
"@Override\n\tprotected void init() {\n\t\tShaderProgram shaderProgram = new ShaderProgram(\"aufgabe2\");\n\t\tglUseProgram(shaderProgram.getId());\n\t\tfloat [] vertex_data = {\n\t\t\t\t-0.5f,-0.5f,\n\t\t\t\t0.5f,-0.5f,\n\t\t\t\t0.0f,0.5f,\n\t\t};\n\t\tfloat[] frag_data = { 1f, 0f, 0f, 0f, 1f, 0f, 0f, 0f, 1f };\n\t\t// Koordinaten, VAO, VBO, ... hier anlegen und im Grafikspeicher ablegen\n\t\tint vaoId = glGenVertexArrays();\n\t\tglBindVertexArray(vaoId);\n\t\tint vboId = glGenBuffers();\n\t\tglBindBuffer(GL_ARRAY_BUFFER, vboId);\n\t\tglBufferData(GL_ARRAY_BUFFER,vertex_data, GL_STATIC_DRAW);\n\t\tglVertexAttribPointer(0, 2, GL_FLOAT,false, 0, 0);\n\t\tglEnableVertexAttribArray(0);\n\t\tint vboId2 = glGenBuffers();\n\t\tglBindBuffer(GL_ARRAY_BUFFER, vboId2);\n\t\tglBufferData(GL_ARRAY_BUFFER,frag_data, GL_STATIC_DRAW);\n\t\tglVertexAttribPointer(1, 3, GL_FLOAT, false, 0, 0);\n\t\tglEnableVertexAttribArray(1);\n\t}",
"public void initGLState() {\n\n\t\tm.setPerspective(fovy, aspect, zNear, zFar);\n\t\tglMatrixMode(GL_PROJECTION);\n\t\tglLoadIdentity();\n\n\t\tm.get(fb);\n\n\t\tglLoadMatrixf(fb);\n\n\t\tglMatrixMode(GL_MODELVIEW);\n\t\tglLoadIdentity();\n\n\t\t/* Smooth-Shading soll benutzt werden */\n\t\tglEnable(GL_NORMALIZE);\n\t\tglShadeModel(GL_SMOOTH);\n\t\tinitLighting();\n\t}",
"protected void begin()\t{\n\t\t glUseProgram(programID);\n\t\t shadUniLoc.put(UNIFORM_TRANS, \n\t\t\t\t glGetUniformLocation(programID, UNIFORM_TRANS));\n\t}",
"public void init () {\n\t\tshaderProgram.addUniform(TEXTURE_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(SCALING_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(TRANSLATION_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(POSITION_UNIFORM_KEY);\n\t}",
"private void initOpenGL(){\n\t\tcaps = GL.createCapabilities();\n\t\tglViewport(0,0,WIDTH,HEIGHT);\n\t\tif(caps.OpenGL44)System.out.println(\"All OK\");\n\t\tglEnable(GL_DEPTH_TEST);\n\t\t//glPolygonMode(GL_BACK, GL_LINE);\n\t\tglClearColor(0.0f, 0.0f, 0.0f, 0.0f);\n\t}",
"public void initialize()\r\n\t{\r\n\t\tgl.glClearColor(0.0F, 0.0F, 0.0F, 1.0F);\r\n\t\t// initialize blending for transparency\r\n\t\tgl.glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\r\n\t\tgl.glEnable(GL_DEPTH_TEST);\r\n\t\tgl.glEnable(GL_DITHER);\r\n\t\t//gl.disable(GL_ALPHA_TEST);\r\n\t\t//gl.disable(GL_COLOR_MATERIAL);\r\n\t\tgl.glShadeModel(GL_SMOOTH);\r\n\t\tgl.glDepthFunc( GL_LEQUAL );\r\n\t\tgl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);\r\n\t\tgl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);\r\n\t\tgl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);\r\n\t\tgl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);\r\n\t\tgl.glPixelStorei(GL_UNPACK_ALIGNMENT, 1);\r\n\t\tgl.glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);\r\n\t\tgl.glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 1);\r\n\t\tglj.gljCheckGL();\r\n\t}",
"public void beforeNotifyScenesGLRendererChanged(VideoRenderer videoRenderer, int i, int i2) {\n }",
"@Override\n public void onSurfaceCreated(GL10 gl, EGLConfig config) {\n GLES20.glClearColor(0.15f, 0.15f, 0.15f, 0.15f);\n\n // Position the eye behind the origin.\n final float eyeX = 0.0f;\n final float eyeY = 0.0f;\n final float eyeZ = 1.5f;\n\n // We are looking toward the distance\n final float lookX = 0.0f;\n final float lookY = 0.0f;\n final float lookZ = -5.0f;\n\n // Set our up vector. This is where our head would be pointing were we holding the camera.\n final float upX = 0.0f;\n final float upY = 1.0f;\n final float upZ = 0.0f;\n\n Matrix.setLookAtM(mViewMatrix, 0, eyeX, eyeY, eyeZ, lookX,\n lookY, lookZ, upX, upY, upZ);\n\n String fragmentShader = \"precision mediump float; \\n\"\n // This is the color from the vertex shader interpolated across the\n + \"varying vec4 v_Color; \\n\"\n // triangle per fragment.\n + \"void main() \\n\"\n + \"{ \\n\"\n + \" gl_FragColor = v_Color; \\n\"\n + \"} \\n\";\n String vertexShader = \"uniform mat4 u_MVPMatrix; \\n\"\n // Per-vertex position information we will pass in.\n + \"attribute vec4 a_Position; \\n\"\n\n // Per-vertex color information we will pass in.\n + \"attribute vec4 a_Color; \\n\"\n\n // This will be passed into the fragment shader.\n + \"varying vec4 v_Color; \\n\"\n\n + \"void main() \\n\"\n + \"{ \\n\"\n\n // Pass the color through to the fragment shader.\n + \" v_Color = a_Color; \\n\"\n\n // gl_Position is a special variable used to store the final position.\n // Multiply the vertex by the matrix to get the final point in\n // normalized screen coordinates.\n + \" gl_Position = u_MVPMatrix \\n\"\n + \" * a_Position; \\n\"\n + \"} \\n\";\n\n program = new GLProgram(vertexShader, fragmentShader);\n\n String positionVariableName = \"a_Position\";\n program.declareAttribute(positionVariableName);\n\n String colorVariableName = \"a_Color\";\n program.declareAttribute(colorVariableName);\n\n program.declareUniform(U_MVP_MATRIX);\n\n // Tell OpenGL to use this program when rendering.\n program.activate();\n\n // This triangle is red, green, and blue.\n final float[] triangle1VerticesData = {\n // X, Y, Z,\n // R, G, B, A\n -0.5f, -0.25f, 0.0f,\n 0.5f, -0.25f, 0.0f,\n 0.0f, 0.559016994f, 0.0f,\n };\n\n final float[] triangleColorData = {\n 1.0f, 0.0f, 0.0f, 1.0f,\n 0.0f, 1.0f, 0.0f, 1.0f,\n 0.0f, 0.0f, 1.0f, 1.0f,\n };\n\n VertexArray mTriangleVertices = new VertexArray(triangle1VerticesData,\n program.getVariableHandle(positionVariableName), true);\n /*\n Store our model data in a float buffer.\n */\n ColorArray mTriangleColors = new ColorArray(triangleColorData,\n program.getVariableHandle(colorVariableName), true);\n\n positionVbo = new VertexBufferObject(mTriangleVertices);\n colorVbo = new VertexBufferObject(mTriangleColors);\n }",
"private void initOpenGL()\n\t{\n\t\t// Create an OpenGL ES 2.0 context.\n\t\tsetEGLContextClientVersion(2);\n\n\t\t// Set the drawing quality.\n\t\t// Alpha isn't needed and the color choice is limited anyway, so we can get away with this setting.\n\t\tgetHolder().setFormat(PixelFormat.RGB_565);\n\t\tsetEGLConfigChooser(5, 6, 5, 0, 0, 0);\n\n\t\t// Prepare the renderer.\n\t\trenderer = new GLRenderer();\n\t\tsetRenderer(renderer);\n\n\t\t// Choose to only render the view on demand.\n\t\tsetRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);\n\n\t\t// Disable the unneeded depth test and stencil test.\n\t\tGLES20.glDisable(GLES20.GL_DEPTH_TEST);\n\t\tGLES20.glDisable(GLES20.GL_STENCIL_TEST);\n\n\t\t// Render the canvas for the first time.\n\t\trequestRender();\n\t}",
"public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {\n Log.i(Focus.TAG, \"onSurfaceCreated, thread is \" + Thread.currentThread());\n\n root = new Root();\n renderable = new Triangle();\n\n try {\n shader = new ShaderLoader(context).load(\"plain\");\n renderable = new Triangle();\n renderable.setShaderProgram(shader);\n Log.i(Focus.TAG, \"shader found, id: \" + shader);\n } catch (IOException ex) {\n Log.e(Focus.TAG, \"error creating shader\", ex);\n }\n\n }",
"public void apply() {\n\t\tif (! defaultFragmentShader.exists() || ! defaultVertexShader.exists()) {\n\t\t\tthrow new IllegalArgumentException(\"No default shader exists.\");\n\t\t}\n\t\t\n\t}",
"public void onSurfaceCreated(GL10 unused, EGLConfig config) {\n GLES20.glClearColor(0.1f, 0.1f, 0.25f, 1.0f);\n RSGFXShaderManager.loadShaders();\n next_game_tick = SystemClock.elapsedRealtime();\n // No culling of back faces\n GLES20.glDisable(GLES20.GL_CULL_FACE);\n \n // No depth testing\n //GLES20.glDisable(GLES20.GL_DEPTH_TEST);\n setupRender();\n // Enable blending\n // GLES20.glEnable(GLES20.GL_BLEND);\n // GLES20.glBlendFunc(GLES20.GL_ONE, GLES20.GL_ONE);\n \n // Setup quad \n \t\t// Generate your vertex, normal and index buffers\n \t\t// vertex buffer\n \t\t_qvb = ByteBuffer.allocateDirect(_quadv.length\n \t\t\t\t* FLOAT_SIZE_BYTES).order(ByteOrder.nativeOrder()).asFloatBuffer();\n \t\t_qvb.put(_quadv);\n \t\t_qvb.position(0);\n\n \t\t// index buffer\n \t\t_qib = ByteBuffer.allocateDirect(_quadi.length\n \t\t\t\t* 4).order(ByteOrder.nativeOrder()).asIntBuffer();\n \t\t_qib.put(_quadi);\n \t\t_qib.position(0);\n }",
"@Override\r\n\tpublic void surfaceCreated(GL10 gl) {\n\t\tgl.glDisable(GL10.GL_DITHER);\r\n\t\t\r\n\t\t// One-time OpenGL initialization based on context...\r\n gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,\r\n GL10.GL_NICEST);\r\n\t\t\r\n gl.glClearColor(0, 0, 0, 1); \r\n gl.glEnable(GL10.GL_CULL_FACE);\r\n gl.glCullFace(GL10.GL_BACK);\r\n gl.glEnable(GL10.GL_DEPTH_TEST);\r\n gl.glEnable(GL10.GL_LIGHTING);\r\n gl.glDepthFunc(GL10.GL_LEQUAL);\r\n gl.glShadeModel(GL10.GL_SMOOTH);\r\n \r\n if(scene != null && use_vbos) {\r\n \t\t// TODO messy...\r\n \t\tscene.forgetHardwareBuffers();\r\n \t\tscene.generateHardwareBuffers(gl);\r\n }\r\n }",
"@Override\n public void surfaceCreated(SurfaceHolder holder) {\n Log.d(TAG, \"surfaceCreated\");\n mRenderingPaused = false;\n mHolder = holder;\n updateRenderingState();\n }",
"public void beforeDraw()\n {\n INDirector.setProjection(ProjectionFormat.DirectorProjection2D);\n this.grabber.beforeRender();\n }",
"@Override\n public void preUpdate(GameState currentState) {\n if (window.isCloseRequested())\n engine.shutdown();\n if (glUtils != null) {\n glUtils.color(0.1960784314f, 0.3921568627f, 0.6588235294f, 1.0f);\n glUtils.clear(true, true);\n }\n }",
"private void applyOpenGLStartSettings(){\r\n\t\t//TODO pa.smooth() / pa.noSmooth() ver�ndert auch line_smooth!\r\n\t\t//f�r test ob multisampling lines ohne Line_smooth okay rendered m�ssen\r\n\t\t//sicherheitshalber auch die pa.smoot() etc abgefangen werden und line_smooth immer disabled sein!\r\n\t\t\r\n\t\t//TODO check line drawing and abstractvisible at stencil in this context (line_smooth)\r\n\t\t\r\n\t //TODO \r\n\t\t// - if multisampling enabled dont do line smoothing at all\r\n\t\t// - OR: disable multisampling each time before doing line_smoothing! (better but expensive?) \r\n\t\t// -> info: disabling multisampling isnt possible at runtime..\r\n\r\n\t // - or disable mutisample before drawing with line_smooth!\r\n\t\t//TOOD dont use lines to smooth some objects then (fonts, etc)\r\n\t if (MT4jSettings.getInstance().isOpenGlMode() ){\r\n\t \t\r\n\t \t//////////////////////////////\r\n\t \tthis.loadGL();\r\n\t //////////////////////////\r\n\t \r\n//\t \tGL gl = Tools3D.getGL(this);\r\n\t GLCommon gl = getGLCommon();\r\n\t \t\r\n\t \tlogger.info(\"OpenGL Version: \\\"\" + gl.glGetString(GL.GL_VERSION) + \"\\\"\" + \" - Vendor: \\\"\" + gl.glGetString(GL.GL_VENDOR) + \"\\\"\" + \" - Renderer: \\\"\" + gl.glGetString(GL.GL_RENDERER) + \"\\\"\");\r\n//\t \tlogger.info(\"Shading language version: \\\"\" + gl.glGetString(GL.GL_SHADING_LANGUAGE_VERSION) + \"\\\"\");\r\n\t \tlogger.info(\"Non power of two texture sizes allowed: \\\"\" + Tools3D.supportsNonPowerOfTwoTexture(this) + \"\\\"\");\r\n\t \tlogger.info(\"OpenGL Framebuffer Object Extension available: \\\"\" + GLFBO.isSupported(this) + \"\\\"\");\r\n\t \t\r\n\t\t\t//Set VSyncing on -> to avoid tearing \r\n\t\t\t//-> check if gfx card settings allow apps to set it!\r\n\t\t\t//-> Use with caution! only use with fps rate == monitor Hz!\r\n\t\t\t//and fps never drop below Hz! -> else choppy!\r\n\t\t\t//-> only works with opengl!\r\n\t \tTools3D.setVSyncing(this, MT4jSettings.getInstance().isVerticalSynchronization());\r\n\t\t\tlogger.info(\"Vertical Sync enabled: \\\"\" + MT4jSettings.getInstance().isVerticalSynchronization() + \"\\\"\");\r\n\t \t\r\n\t \tif ( MT4jSettings.getInstance().isMultiSampling()){\r\n\t \t\tgl.glEnable(GL.GL_MULTISAMPLE);\r\n//\t \t\tgl.glDisable(GL.GL_MULTISAMPLE);\r\n\t \t\tlogger.info(\"OpenGL multi-sampling enabled.\");\r\n\t \t}\r\n\t \tgl.glEnable(GL.GL_LINE_SMOOTH);\r\n//\t \tgl.glDisable(GL.GL_LINE_SMOOTH);\r\n\t }\r\n\t}",
"static public void init() {\r\n\t\t\r\n\t\t\r\n\t\tfor(int i=MeshFrame.HEIGHT; i>=HeightScale;i-=HeightScale){\r\n\t\t\tGL11.glBegin(GL11.GL_TRIANGLE_STRIP);\r\n\t\t\tfor (int j = 0; j <= MeshFrame.WIDTH; j+=WidthScale) {\r\n\t\t\t\tGL11.glVertex3f(j, i, 0);\r\n\t\t\t\tGL11.glVertex3f(j, i-HeightScale, 0);\r\n\t\t\t}\r\n\t\t\tGL11.glEnd();\r\n\t\t\t\r\n\t\t}\t\t\r\n\t\t\r\n\t}",
"@Override\n\t@GLContextRequired\n\tpublic void initGL() {\n\t\tif(Objects.isNull(va)){\n\t\t\tva = new VertexArray(4);\n\t\t\tupdateGL(false);\t\t\n\t\t}\n\t}",
"@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tmGLView.onResume();\n\t}",
"@Override\n\tpublic void render3D(Shader shader, RenderingEngine engine) {\n\t\t\n\t}",
"private void initialRenderPhase(final GL10 gl)\n {\n gl.glViewport(0, 0, width, height);\n gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\n gl.glMatrixMode(GL10.GL_PROJECTION);\n gl.glLoadIdentity();\n GLU.gluOrtho2D(gl, 0, width, 0, height);\n }",
"protected void initParams(){\n super.initParams();\n muMoiveFilterTextureLoc = GLES20.glGetUniformLocation(mProgramHandle, \"movieFilterTexture\");\n GlUtil.checkLocation(muMoiveFilterTextureLoc, \"movieFilterTexture\");\n }",
"@Override\n public void onSurfaceCreated(GL10 unused, EGLConfig config) {\n GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\n\n mTriangle = new Triangle();\n mSquare = new Square();\n }",
"protected void initRender() {\n glActiveTexture(GL_TEXTURE0);\n // Bind the texture\n glBindTexture(GL_TEXTURE_2D, texture.getId());\n\n // Draw the mesh\n glBindVertexArray(vaoId);\n glEnableVertexAttribArray(0);\n glEnableVertexAttribArray(1);\n }",
"@Override\n public void onSurfaceCreated(GL10 gl, EGLConfig config) {\n Log.d(LOGTAG, \"GLRenderer.onSurfaceCreated\");\n\n initRendering();\n\n vuforiaAppSession.onSurfaceCreated();\n }",
"public void setup(){\n\t\t gl.glEnable(GL.GL_BLEND);\n\t\t gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);\n\t\t for (int i = 0; i< cubes.length; i++){\n\t\t cubes[i] = this.s.new Cube(\n\t\t \t\tMath.round(p.random(-100, 100)), \n\t\t \t\tMath.round(p.random(-100, 100)), \n\t\t \t\t5,//Math.round(random(-100, 100)),\n\t\t \t\tMath.round(p.random(-10, 10)), \n\t\t \t\t\tMath.round(p.random(-10, 10)), \n\t\t\t\t\tMath.round( p.random(-10, 10))\n\t\t );\n\t\t cubRotation[i]=new Vector3D();\n\t\t cubRotationFactor[i]=new Vector3D();\n\t\t cubRotationFactor[i].x = (float)Math.random()/2f;\n\t\t cubRotationFactor[i].y = (float)Math.random()/2f;\n\t\t cubRotationFactor[i].z = (float)Math.random()/2f;\n\t\t \n\t\t cubColor[i]=new Vector3D();\n\t\t cubColor[i].x = (float)Math.random();\n\t\t cubColor[i].y = (float)Math.random();\n\t\t cubColor[i].z = (float)Math.random();\n\t\t }\n\t\t \n\t\t try {\n\t\t\togl.makeProgram(\n\t\t\t\t\t\t\"glass\",\n\t\t\t\t\t\tnew String[] {},\n\t\t\t\t\t\tnew String[] {\"SpecularColor1\",\"SpecularColor2\",\"SpecularFactor1\",\"SpecularFactor2\",\"LightPosition\"}, //\"GlassColor\",\n\t\t\t\t\t\togl.loadGLSLShaderVObject(\t\"resources/robmunro/perform/ol5/glass_c.vert\" ), \n\t\t\t\t\t\togl.loadGLSLShaderFObject(\t\"resources/robmunro/perform/ol5/glass_c.frag\"\t)\n\t\t\t\t);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t}",
"private void init()\n {\n holder = getHolder();\n holder.addCallback(this);\n holder.setType(SurfaceHolder.SURFACE_TYPE_GPU);\n }",
"protected abstract void initializeUniforms();",
"private void init(Context context) {\n setEGLContextClientVersion(3);\n\n mRenderer = new MyGLRenderer(context);\n\n // Set the Renderer for drawing on the GLSurfaceView\n setRenderer(mRenderer);\n// setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);\n }",
"public static void init() {\n\t\tsetOrtho(Display.getWidth(), Display.getHeight());\n\t\tglEnable(GL_BLEND);\n\t\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\n\t\t\n\t\tLights.init();\n\t\tenableCulling();\n\t}",
"@Override\n public void cleanup(final Program program) {\n int positionHandle = GLES20.glGetAttribLocation(program.handle, A_POSITION);\n GLES20.glDisableVertexAttribArray(positionHandle);\n }",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n requestWindowFeature(Window.FEATURE_NO_TITLE);\n super.onCreate(savedInstanceState);\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);\n GLSurfaceView view = new GLSurfaceView(this);\n view.setEGLConfigChooser(8, 8, 8, 8, 16, 0); //Transparent background\n view.getHolder().setFormat(PixelFormat.TRANSLUCENT); //Transparent background\n view.setRenderer(new OpenGLRenderer(this));\n setContentView(view);\n //Transition to Landing screen\n new Handler().postDelayed(new Runnable() {\n\n @Override\n public void run() {\n // This app main activity\n Intent i = new Intent(SplashActivity.this, SearchActivity.class);\n startActivity(i);\n finish();\n }\n }, SPLASH_TIME_OUT);\n }",
"private void initGL() {\n\t\ttry {\n\t\t\tDisplay.setDisplayMode(new DisplayMode(displayWidth, displayHeight));\n\t\t\tDisplay.setVSyncEnabled(true);\n\t\t\tDisplay.setTitle(\"Shooter\");\n\t\t\tDisplay.create();\n\t\t} catch (LWJGLException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\t// init OpenGL\n\t\tglEnable(GL_TEXTURE_2D);\n\t\t\n\t\tglClearColor(0.0f, 0.0f, 0.0f, 0.0f);\n\t\t\n\t\t// enable alpha blending\n\t\tglEnable(GL_BLEND);\n\t\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\n\t\t\n\t\tglViewport(0, 0, displayWidth, displayHeight);\n\t\t\n\t\tglMatrixMode(GL_PROJECTION);\n\t\tglLoadIdentity();\n\t\tglOrtho(0, displayWidth, displayHeight, 0, 1, -1);\n\t\tglMatrixMode(GL_MODELVIEW);\n\t}",
"private void drawStatic() {\n Matrix.multiplyMM(mMVPMatrix, 0, mViewMatrix, 0, mModelMatrix, 0);\n\n // Pass in the modelview matrix.\n GLES20.glUniformMatrix4fv(mMVMatrixHandle, 1, false, mMVPMatrix, 0);\n\n // This multiplies the modelview matrix by the projection matrix, and stores the result in the MVP matrix\n // (which now contains model * view * projection).\n Matrix.multiplyMM(mTemporaryMatrix, 0, mProjectionMatrix, 0, mMVPMatrix, 0);\n System.arraycopy(mTemporaryMatrix, 0, mMVPMatrix, 0, 16);\n\n // Pass in the combined matrix.\n GLES20.glUniformMatrix4fv(mMVPMatrixHandle, 1, false, mMVPMatrix, 0);\n\n // Pass in the light position in eye space.\n GLES20.glUniform3f(mLightPosHandle, mLightPosInEyeSpace[0], mLightPosInEyeSpace[1], mLightPosInEyeSpace[2]);\n }",
"@Override\n\t\tpublic void onSurfaceCreated(GL10 unused, EGLConfig config)\n\t\t{\n\t\t\tupdateBackgroundColor();\n\n\t\t\t// Get pointers to the shaders.\n\t\t\tint vertexShader = renderer.loadShader(GLES20.GL_VERTEX_SHADER,\tGLProgram.vertexShaderCode);\n\t\t\tint fragmentShader = renderer.loadShader(GLES20.GL_FRAGMENT_SHADER,\tGLProgram.fragmentShaderCode);\n\n\t\t\t// Create a new OpenGL program.\n\t\t\tGLProgram.glProgram = GLES20.glCreateProgram();\n\n\t\t\t// Add a vertex shader.\n\t\t\tGLES20.glAttachShader(GLProgram.glProgram, vertexShader);\n\n\t\t\t// Add a fragment shader.\n\t\t\tGLES20.glAttachShader(GLProgram.glProgram, fragmentShader);\n\n\t\t\t// Compile the program.\n\t\t\tGLES20.glLinkProgram(GLProgram.glProgram);\n\n\t\t\t// Use it.\n\t\t\tGLES20.glUseProgram(GLProgram.glProgram);\n\n\t\t\t// Initialize the project if it hasn't been done already.\n\t\t\t// Use a posted Runnable since NotepadActivity.initProject() should run on the UI thread.\n\t\t\tif (project == null)\n\t\t\t{\n\t\t\t\tpost(new Runnable()\n\t\t\t\t{\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run()\n\t\t\t\t\t{\n\t\t\t\t\t\tproject = new Project();\n\t\t\t\t\t\tactivity.initProject();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}",
"@Override\n public void prepareRendering() {\n GL11.glClearStencil(0);\n GL11.glClear(GL11.GL_STENCIL_BUFFER_BIT);\n \n GlStateManager.enableDepthTest();\n GL11.glEnable(GL_STENCIL_TEST);\n \n IEFrameBuffer ieFrameBuffer = (IEFrameBuffer) client.getFramebuffer();\n if (!ieFrameBuffer.getIsStencilBufferEnabled()) {\n ieFrameBuffer.setIsStencilBufferEnabledAndReload(true);\n if (Minecraft.func_238218_y_()) {\n client.worldRenderer.loadRenderers();\n }\n }\n \n }",
"@Override\n public void onSurfaceCreated(GL10 unused, EGLConfig config) {\n GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\n \n // Do backface culling\n GLES20.glEnable(GLES20.GL_CULL_FACE);\n GLES20.glFrontFace(GLES20.GL_CCW);\n // Why using GL_BACK won't work is a mystery\n GLES20.glCullFace(GLES20.GL_BACK);\n // Enable depth buffer\n GLES20.glEnable(GLES20.GL_DEPTH_TEST);\n GLES20.glDepthFunc(GLES20.GL_LEQUAL);\n GLES20.glDepthMask(true);\n \n for (int i = 0; i < NUM_CARS; i++) {\n mCarBody[i] = new CarBody((float) Math.random(),\n (float) Math.random(),\n (float) Math.random());\n mCarWheels[i] = new CarWheels();\n }\n \n // Create transformation matrices for each car\n for (int i = 0; i < NUM_CARS; i++) {\n mCarXOffsets[i] = (i % NUM_LANES) * 1.1f;\n mCarZOffsets[i] = ((i / NUM_LANES) * -2) + ((i % NUM_LANES) * 1.3f);\n }\n \n road = new Square(0.6f, 0.6f, 0.6f);\n land = new Square(0.1f, 0.6f, 0.1f);\n sky = new Square(0.6f, 0.6f, 0.9f);\n background = new Sprite(mActivityContext);\n \n }",
"@Override\n\t\tpublic void render()\n\t\t{\n\t\t\tif(color.alpha() > 0)\n\t\t\t{\n\t\t\t\tbind();\n\t\t\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);\n\t\t\t\tGL11.glBegin(GL11.GL_TRIANGLE_STRIP);\n\t\t\t\t\tfloat screenWidth = WindowManager.controller().width();\n\t\t\t\t\tfloat screenHeight = WindowManager.controller().height();\n\t\t\t\t\tGL11.glVertex2f(0, 0);\n\t\t\t\t\tGL11.glVertex2f(screenWidth, 0);\n\t\t\t\t\tGL11.glVertex2f(0, screenHeight);\n\t\t\t\t\tGL11.glVertex2f(screenWidth, screenHeight);\n\t\t\t\tGL11.glEnd();\n\t\t\t\trelease();\n\t\t\t}\n\t\t}",
"public void pre() {\r\n if(!isTiling) return;\r\n if(firstFrame) firstFrame=false;\r\n else if(secondFrame) {\r\n secondFrame=false;\r\n tileInc();\r\n }\r\n setupCamera();\r\n }",
"private void initGL() {\r\n glClearColor(0.0f, 0.0f, 0.0f, 0.0f);\r\n glMatrixMode(GL_PROJECTION);\r\n glLoadIdentity();\r\n\r\n glOrtho(-320, 320, -240, 240, 1, -1);\r\n\r\n glMatrixMode(GL_MODELVIEW);\r\n glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\r\n }",
"private void initOpenGlView() {\n setEGLContextClientVersion(2);\n setPreserveEGLContextOnPause(true);\n System.out.println(\"************************************************************* init OpenGlView ********************\");\n// setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);\n// setEGLConfigChooser(8, 8, 8, 8, 0, 0); // added 10.05\n// getHolder().setFormat(PixelFormat.TRANSLUCENT); // // added 10.05\n }",
"private FontRenderer prepareShader() {\n\t\tFontShaderProgram.INSTANCE.sendFloat(\"width\", .46f * (1 + size / 100f));\n\t\tFontShaderProgram.INSTANCE.sendFloat(\"edge\", .2f * (1f / (size * 2)));\n\t\tFontShaderProgram.INSTANCE.sendVec4(\"fontColor\", color);\n\t\t\n\t\treturn this;\n\t}",
"@Override\n public void onSurfaceCreated(GL10 unused, EGLConfig config) {\n GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\n \n // initialize a triangle\n mTriangle = new Triangle();\n // initialize a rect\n mRect = new Rect(mContext.getResources());\n\n mPicture = new Picture(mContext.getResources());\n mBlackAndWhitePicture = new BlackAndWhitePicture(mContext.getResources());\n }",
"private void initRender() {\n if (!isRenderable()) {\n throw new IllegalStateException(\"Make the mesh renderable before rendering!\");\n }\n \n //Set active texture if it exists\n if (material.hasTexture()) {\n glActiveTexture(GL_TEXTURE0);\n glBindTexture(GL_TEXTURE_2D, material.getTexture().getId());\n }\n\n if (material.hasNormalMap()) {\n glActiveTexture(GL_TEXTURE1);\n glBindTexture(GL_TEXTURE_2D, material.getNormalMap().getId());\n }\n\n //Draw mesh\n glBindVertexArray(vaoId);\n glEnableVertexAttribArray(0);\n glEnableVertexAttribArray(1);\n glEnableVertexAttribArray(2);\n glEnableVertexAttribArray(3);\n glEnableVertexAttribArray(4);\n }",
"private void init(Context context) {\n FilterParam.context = this.getContext();\n this.setEGLContextClientVersion(2);// @see android.opengl.GLSurfaceView\n this.mRender = new MyRenderer(this);\n this.setRenderer(this.mRender);//@see android.opengl.GLSurfaceView\n this.setZOrderMediaOverlay(true);//@see android.opengl.GLSurfaceView\n this.setRenderMode(RENDERMODE_WHEN_DIRTY);\n }",
"public void begin() {\r\n GL11.glViewport(0, 0, colorTexture.getWidth(), colorTexture.getHeight());\r\n bind();\r\n }",
"private void init()\n {\n batch = new SpriteBatch();\n \n camera = new OrthographicCamera(Constants.VIEWPORT_WIDTH, Constants.VIEWPORT_HEIGHT);\n camera.position.set(0, 0, 0);\n camera.update();\n \n cameraGui = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH, Constants.VIEWPORT_GUI_HEIGHT);\n cameraGui.position.set(0, 0, 0);\n cameraGui.setToOrtho(true); // flip y-axis\n cameraGui.update();\n \n cameraBg = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH, Constants.VIEWPORT_GUI_HEIGHT);\n cameraBg.position.set(0, 0, 0);\n //cameraBg.setToOrtho(true);\n cameraBg.update();\n \n b2Debug = new Box2DDebugRenderer();\n }",
"@Override\n public void render() {\n Gdx.gl.glClearColor(0f, 0f, 0f, 1f);\n Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n Gdx.gl.glDisable(GL20.GL_BLEND);\n }",
"public void onSurfaceCreated(GL2 gl) {\r\n gl.glMatrixMode(GLMatrixFunc.GL_PROJECTION);\r\n gl.glLoadIdentity();\r\n\r\n // Perspective\r\n final int width = SCREEN_WIDTH;\r\n final int height = SCREEN_HEIGHT;\r\n aspectRatio = (float) width / (float) height;\r\n glu.gluPerspective(camera.getOpeningAngle(), aspectRatio, nearClippingPlane, farClippingPlane);\r\n\r\n // Viewport\r\n gl.glViewport(0, 0, width, height);\r\n gl.glMatrixMode(GLMatrixFunc.GL_MODELVIEW);\r\n\r\n // Depth\r\n gl.glEnable(GL2.GL_DEPTH_TEST);\r\n\r\n // which is the front? the one which is drawn counter clockwise\r\n gl.glFrontFace(GL2.GL_CCW);\r\n // which one should NOT be drawn\r\n gl.glCullFace(GL2.GL_BACK);\r\n\r\n // define the color we want to be displayed as the \"clipping wall\"\r\n gl.glClearColor((float) (CLEAR_COLOR.get(0)), (float) (CLEAR_COLOR.get(1)), (float) (CLEAR_COLOR.get(2)), OPAQUE);\r\n\r\n // Flat shading\r\n gl.glPolygonMode(GL2.GL_FRONT_AND_BACK, GL2.GL_FILL);\r\n\r\n // Set a light, just use the first one from the root node.\r\n if (renderFrame != null && renderFrame.getRoot().getNumberOfLightSources() > 0) {\r\n LightSource lightSource = renderFrame.getRoot().getLightSource(0);\r\n float lightAmbient[] = { 1, 1, 1, 1 };\r\n float lightSpecular[] = { 1, 1, 1, 1 };\r\n float lightPosition[] = lightSource.getPosition().floatData();\r\n float lightDiffuse[] = lightSource.getColor().floatData();\r\n gl.glEnable(GL2.GL_LIGHT0);\r\n gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_AMBIENT, lightAmbient, 0);\r\n gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_SPECULAR, lightSpecular, 0);\r\n gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_DIFFUSE, lightDiffuse, 0);\r\n gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_POSITION, lightPosition, 0);\r\n }\r\n\r\n updateView(gl);\r\n }",
"@Override\n public void init() {\n glEnable( GL_BLEND );\n glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );\n glEnable( GL_LINE_SMOOTH );\n glEnable( GL_POINT_SMOOTH );\n }",
"public void init(GLAutoDrawable drawable){\n GL4 gl = (GL4) GLContext.getCurrentGL();\n rendering_program = createShaderProgram();\n \n //setup the camera position\n cameraX = 0.0f;\n cameraY = 0.0f;\n cameraZ = 2.0f;\n\n setupVertices();\n \n }",
"public void onDrawFrame(GL10 unused) {\n\n \tGLES20.glClearColor(0.5f,0.5f,0.5f,0.5f);\n GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT | GLES20.GL_DEPTH_BUFFER_BIT);\n \n GLES20.glEnable(GLES20.GL_DEPTH_TEST);\n\n \t//GLES20.glCullFace(GLES20.GL_BACK);\n\n /* Update MVP matrix */\n\n mat4 mvp = mProj\n \t.mul(mat4.translation(0.0f, 0.0f, -5.0f))\n \t.mul(mat4.rotateY(-mAngleX))\n \t.mul(mat4.rotateX(mAngleY));\n \t\n \n // Add program to OpenGL environment\n GLES20.glUseProgram(mProgram);\n \n /* Set model view projection matrix */\n GLES20.glUniformMatrix4fv(muMVPHandle, 1, false, mvp.f(), 0);\n \n /*\n * Now we're ready to draw some 3D objects\n */\n mCube.draw(maPositionHandle, maColorHandle);\n }",
"@Override\n public void initShaderProgram(util.ShaderProgram shaderProgram, Map<String, String> shaderVarsToVertexAttribs) {\n Objects.requireNonNull(glContext);\n GL3 gl = glContext.getGL().getGL3();\n\n shaderLocations = shaderProgram.getAllShaderVariables(gl);\n this.shaderVarsToVertexAttribs = new HashMap<String, String>(shaderVarsToVertexAttribs);\n shaderLocationsSet = true;\n }",
"public void onSurfaceChanged(GL10 gl, int width, int height)\n {\n\n nativeInitialize(width, height);\n }",
"private void unbindGameTerrain(){\r\n\t\t//Disable the vertex position attribute from VAO\r\n\t\tGL20.glDisableVertexAttribArray(0);\r\n\t\t//Disable the texture coordinate attribute from VAO\r\n\t\tGL20.glDisableVertexAttribArray(1);\r\n\t\t//Disable the normal coordinate attribute from VAO\r\n\t\tGL20.glDisableVertexAttribArray(2);\r\n\t\t//Unbind\r\n\t\tGL30.glBindVertexArray(0);\r\n\t}",
"@Override\n public void onSurfaceChanged(GL10 glUnused, int width, int height) {\n glViewport(0, 0, width, height);\n\n this.width = width;\n this.height = height;\n setPerspectiveView();\n \n }",
"@Override\n public void onSurfaceCreated(EGLConfig config) {\n Log.i(TAG, \"onSurfaceCreated\");\n GLES20.glClearColor(0.1f, 0.1f, 0.1f, 0.5f); // Dark background so text shows up well\n\n ByteBuffer bb = ByteBuffer.allocateDirect(squareVertices.length * 4);\n bb.order(ByteOrder.nativeOrder());\n vertexBuffer = bb.asFloatBuffer();\n vertexBuffer.put(squareVertices);\n vertexBuffer.position(0);\n\n ByteBuffer dlb = ByteBuffer.allocateDirect(drawOrder.length * 2);\n dlb.order(ByteOrder.nativeOrder());\n drawListBuffer = dlb.asShortBuffer();\n drawListBuffer.put(drawOrder);\n drawListBuffer.position(0);\n\n ByteBuffer bb2 = ByteBuffer.allocateDirect(textureVertices.length * 4);\n bb2.order(ByteOrder.nativeOrder());\n textureVerticesBuffer = bb2.asFloatBuffer();\n textureVerticesBuffer.put(textureVertices);\n textureVerticesBuffer.position(0);\n\n int vertexShader = loadGLShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode);\n int fragmentShader = loadGLShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);\n\n mProgram = GLES20.glCreateProgram(); // create empty OpenGL ES Program\n GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program\n GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program\n GLES20.glLinkProgram(mProgram);\n\n texture = createTexture();\n startCamera(texture);\n }",
"@Override\r\n\tpublic void onSurfaceCreated(GL10 gl, EGLConfig config) {\n\r\n\t\tgl.glDisable(GL10.GL_DITHER);\r\n\t\tgl.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\r\n\t\tgl.glEnable(GL10.GL_DEPTH_TEST);\r\n\t\tgl.glDepthFunc(GL10.GL_LEQUAL);\r\n\t\tgl.glClearDepthf(1f);\r\n\t}",
"private void endRender() {\n //Restore state by unbinding everything\n glDisableVertexAttribArray(0);\n glDisableVertexAttribArray(1);\n glDisableVertexAttribArray(2);\n glDisableVertexAttribArray(3);\n glDisableVertexAttribArray(4);\n glBindVertexArray(0);\n\n glBindTexture(GL_TEXTURE_2D, 0);\n }",
"@Override\n public void preInitialise(Context rootContext) {\n this.window = new GlfwWindow(\"ChunkWorld\", 1350, 900, false, true, false);\n rootContext.put(IWindow.class, window);\n window.init();\n }",
"public void renderScene() {\n\t\tscene.ready=false;\n\t\tscene.num_points=0;\n\t\tscene.num_triangles=0;\n\t\tscene.num_tri_vertices=0;\n\t\tscene.list_of_triangles.clear(); // reset the List of Triangles (for z-sorting purposes)\n\t\tscene.num_objects_visible=0;\n\t\ttotal_cost=0;\n\t\tupdateLighting();\n\t\tfor (int i=0; i<num_vobjects;i++) {\n\t\t\tif (vobject[i].potentially_visible) {\n\t\t\t\tif (checkVisible(i)) {\n\t\t\t\t\tscene.num_objects_visible++;\n\t\t\t\t\tcalculateRelativePoints(i);\n\t\t\t\t\tif (scene.dot_field) {defineDots(i);} \n\t\t\t\t\tif (scene.wireframe) {defineTriangles(i);}\n\t\t\t\t\tif (scene.solid_poly) {defineTriangles(i);}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\tif (scene.z_sorted) {Collections.sort(scene.list_of_triangles);}\n\t\tscene.ready=true;\n\t}",
"public void simpleInitApp() {\n//\t\t\t\tdl=new DirectionalLight(new Vector3f(0f, 1f, 0),new ColorRGBA(.72f,.97f,1f,1f).mult(1.4f));\n//\t\t\t\trootNode.addLight(dl);\n\t\t\t\tF3bLoader.init(assetManager);\n\t\t\t\tflyCam.setMoveSpeed(10f);\n\t\t\t\tflyCam.setDragToRotate(true);\n\t\t\t\trun_tab.put(this,new Object());\n\t\t\t}",
"public void preGame() {\n\n\t}",
"public void Render(){\n //player rect\n glPushMatrix();\n glTranslatef(px, py, 0.0f);\n glBegin(GL_TRIANGLES);\n glColor3f(1.0f, 1.0f, 1.0f);\n glVertex2f(-sx, sy);\n glVertex2f(-sx, -sy);\n glVertex2f(sx, sy);\n glVertex2f(sx, sy);\n glVertex2f(-sx, -sy);\n glVertex2f(sx, -sy);\n glEnd();\n glPopMatrix();\n \n if(debug){\n glPushMatrix();\n glBegin(GL_LINES);\n glColor3f(0f, 1f, 0f);\n glVertex2f(px-sx, py+sy/2);\n glVertex2f(px+sx, py+sy/2);\n glColor3f(0f, 1f, 0f);\n glVertex2f(px-sx, py-sy/2);\n glVertex2f(px+sx, py-sy/2);\n glEnd();\n glPopMatrix();\n }\n \n }",
"protected void InitValuables() {\n\t\tsuper.InitValuables();\n\t\tbScreenOnFlag = false;\n\t}",
"private void finalRenderToTexture() {\n\t\tGL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);\n\t\tGL11.glCullFace(GL11.GL_BACK);\n\t\tGL11.glColorMask(true, true, true, true);\n\t\tGL11.glDepthFunc(GL11.GL_LEQUAL);\n\t\tGL11.glStencilOp(GL11.GL_KEEP, GL11.GL_KEEP, GL11.GL_KEEP);\n\t\tGL11.glDepthMask(false);\n\t\tGL11.glEnable(GL11.GL_STENCIL_TEST);\n\n\t\t// ambient pass\n\t\tGL11.glStencilFunc(GL11.GL_NOTEQUAL, 0, 0xff);\n\t\tphongShadowContext.uniform1f(\"ambientOnly\", 1);\n\t\tfor (PhysicsEntity<? extends RenderEntity> e : entities) {\n\t\t\tRenderEntity re = e.getWorldEntity();\n\t\t\tre.render(phongShadowContext);\n\t\t}\n\n\t\t// diffuse pass\n\t\tGL11.glStencilFunc(GL11.GL_EQUAL, 0, 0xff);\n\t\tphongShadowContext.uniform1f(\"ambientOnly\", 0);\n\t\tfor (PhysicsEntity<? extends RenderEntity> e : entities) {\n\t\t\tRenderEntity re = e.getWorldEntity();\n\t\t\tre.render(phongShadowContext);\n\t\t}\n\n\t\tGL11.glDisable(GL11.GL_BLEND);\n\t\tGL11.glDepthFunc(GL11.GL_LEQUAL);\n\t\tGL11.glDepthMask(true);\n\t\tGL11.glDisable(GL11.GL_STENCIL_TEST);\n\n\t\t// SCREEN POST PROCESSING\n\t\tscreenBuffer.copyPixels();\n\t}",
"private void initPaint() {\n paint = new Paint();\n paint.setAntiAlias(true);\n Bitmap bitmap = Bitmap.createBitmap(starSize, starSize, Bitmap.Config.ARGB_8888);\n Canvas canvas = new Canvas(bitmap);\n lightDrawable.setBounds(0,0,starSize,starSize);\n lightDrawable.draw(canvas);\n paint.setShader(new BitmapShader(bitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP));\n }",
"private void init() \n\t{\n\t\tgoalReached = false;\n\t\tGdx.input.setInputProcessor(this);\n\t\tcameraHelper = new CameraHelper();\n\t\tlives = Constants.LIVES_START;\n\t\tlivesVisual = lives;\n\t\ttimeLeftGameOverDelay = 0;\n\t\tinitLevel();\n\n\t}",
"@Override\n\tpublic void initCameraGlSurfaceView() {\n\t\t\n\t}",
"@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tourSurfaceView.onResume();\n\t}",
"@Override\n public void onSurfaceChanged(GL10 glUnused, int width, int height) {\n // Set the OpenGL viewport to fill the entire surface.\n glViewport(0, 0, width, height);\n }",
"private void init () \n\t{ \n\t\tbatch = new SpriteBatch();\n\t\tcamera = new OrthographicCamera(Constants.VIEWPORT_WIDTH,\n\t\t\tConstants.VIEWPORT_HEIGHT);\n\t\tcamera.position.set(0, 0, 0);\n\t\tcamera.update();\n\t\tcameraGUI = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH,\n\t\t\t\tConstants.VIEWPORT_GUI_HEIGHT);\n\t\tcameraGUI.position.set(0, 0, 0);\n\t\tcameraGUI.setToOrtho(true); // flip y-axis\n\t\tcameraGUI.update();\n\t\t\n\t\tb2debugRenderer = new Box2DDebugRenderer();\n\t}",
"private void renderEngine() {\r\n GL11.glDisable(GL11.GL_LIGHTING);\r\n\r\n GL11.glEnable(GL11.GL_BLEND);\r\n GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE);\r\n\r\n shotTexture.bind();\r\n engine.render();\r\n\r\n GL11.glDisable(GL11.GL_BLEND);\r\n }",
"@Override\n\tpublic void surfaceCreated(SurfaceHolder holder) {\n\t\trequestRender();\n\t}",
"public void previewOglRender();",
"public void onSurfaceCreated(GL10 unused, EGLConfig config) {\n GLES20.glClearColor(0.2f, 0.7f, 0.0f, 1.0f);\n }",
"@Override\r\n protected void onResume() {\r\n Log.d(LOGTAG, \"onResume\");\r\n super.onResume();\r\n\r\n // This is needed for some Droid devices to force portrait\r\n if (mIsDroidDevice) {\r\n setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);\r\n setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);\r\n }\r\n\r\n try {\r\n vuforiaAppSession.resumeAR();\r\n } catch (ArException e) {\r\n Log.e(LOGTAG, e.getString());\r\n }\r\n\r\n // Resume the GL view:\r\n if (mGlView != null) {\r\n mGlView.setVisibility(View.VISIBLE);\r\n mGlView.onResume();\r\n }\r\n }",
"public void setupOpenGL() {\n try {\n PixelFormat pixelFormat = new PixelFormat();\n ContextAttribs contextAtrributes = new ContextAttribs(3, 2)\n .withForwardCompatible(true)\n .withProfileCore(true);\n\n DisplayMode displayMode = new DisplayMode(WIDTH, HEIGHT);\n Display.setDisplayMode(displayMode);\n Display.setTitle(WINDOW_TITLE);\n Display.create(pixelFormat, contextAtrributes);\n\n GL11.glEnable(GL11.GL_DEPTH_TEST);\n GL11.glDepthFunc(GL11.GL_LEQUAL);\n\n GL11.glViewport(0, 0, WIDTH, HEIGHT);\n } catch (LWJGLException e) {\n e.printStackTrace();\n System.exit(-1);\n }\n\n // Setup an XNA like background color\n GL11.glClearColor(0.4f, 0.6f, 0.9f, 0f);\n\n // Map the internal OpenGL coordinate system to the entire screen\n GL11.glViewport(0, 0, WIDTH, HEIGHT);\n\n this.exitOnGLError(\"Error in setupOpenGL\");\n }",
"public void glLoadIdentity() {\r\n\t\tMatrix.setIdentityM(this.mMatrixStack, this.mMatrixStackOffset);\r\n\t}",
"private void renderShadowMap() {\n GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, fboId[0]);\n GLES20.glViewport(0, 0, mShadowMapWidth,\n mShadowMapHeight);\n // Clear color and buffers\n GLES20.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);\n GLES20.glClear(GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);\n // Start using the shader\n GLES20.glUseProgram(mDepthMapProgram);\n float[] tempResultMatrix = new float[16];\n // Calculate matrices for standing objects\n // View matrix * Model matrix value is stored\n Matrix.multiplyMM(mLightMvpMatrix_staticShapes, 0, mLightViewMatrix, 0, mModelMatrix, 0);\n // Model * view * projection matrix stored and copied for use at rendering from camera point of view\n Matrix.multiplyMM(tempResultMatrix, 0, mLightProjectionMatrix, 0, mLightMvpMatrix_staticShapes, 0);\n System.arraycopy(tempResultMatrix, 0, mLightMvpMatrix_staticShapes, 0, 16);\n // Pass in the combined matrix.\n GLES20.glUniformMatrix4fv(mMVPMatrixHandleShadow, 1, false, mLightMvpMatrix_staticShapes, 0);\n // Render all stationary shapes on scene\n\n mDrawPlane.setDraw(mPositionHandleShadow, 0, 0, 0, true);\n mDrawPlane.draw();\n\n // Calculate matrices for moving objects\n // Rotate the model matrix with current rotation matrix\n Matrix.multiplyMM(tempResultMatrix, 0, mModelMatrix, 0, mCubeRotation, 0);\n // View matrix * Model matrix value is stored\n Matrix.multiplyMM(mLightMvpMatrix_dynamicShapes, 0, mLightViewMatrix, 0, tempResultMatrix, 0);\n // Model * view * projection matrix stored and copied for use at rendering from camera point of view\n Matrix.multiplyMM(tempResultMatrix, 0, mLightProjectionMatrix, 0, mLightMvpMatrix_dynamicShapes, 0);\n System.arraycopy(tempResultMatrix, 0, mLightMvpMatrix_dynamicShapes, 0, 16);\n // Pass in the combined matrix.\n GLES20.glUniformMatrix4fv(mMVPMatrixHandleShadow, 1, false, mLightMvpMatrix_dynamicShapes, 0);\n // Render all moving shapes on scene\n mDrawObj.setDraw(mPositionHandleShadow,0,0,0,true);\n }",
"private void drawBox() {\n GLES20.glEnable(GLES20.GL_SCISSOR_TEST);\n GLES20.glScissor(0, 0, 100, 100);\n GLES20.glClearColor(1.0f, 0.0f, 0.0f, 1.0f);\n GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);\n GLES20.glDisable(GLES20.GL_SCISSOR_TEST);\n }",
"int glCreateProgram();",
"@Override\n public void onSurfaceCreated(GL10 unused, javax.microedition.khronos.egl.EGLConfig config) {\n GLES20.glClearColor(Player.colorBG[0], Player.colorBG[1], Player.colorBG[2], 1.0f);\n // initialize a triangle\n mHat = new Hat();\n robe = new Robe();\n // initialize a square\n mSquare = new Square(Player.PLAYER_ONE);\n mHat2 = new Hat();\n robe2 = new Robe();\n // initialize a square\n mSquare2 = new Square(Player.PLAYER_TWO);\n\n\n\n float[] colorWhite = {1f, 1f, 1f, 1.0f};\n p1Eye = new Circle(colorWhite);\n p2Eye = new Circle(colorWhite);\n\n }",
"@Override\n public void onSurfaceCreated(GL10 gl, EGLConfig config) {\n gl.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); // Set color's clear-value to black\n gl.glClearDepthf(1.0f); // Set depth's clear-value to farthest\n gl.glEnable(GL10.GL_DEPTH_TEST); // Enables depth-buffer for hidden surface removal\n gl.glDepthFunc(GL10.GL_LEQUAL); // The type of depth testing to do\n gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_NICEST); // nice perspective view\n gl.glShadeModel(GL10.GL_SMOOTH); // Enable smooth shading of color\n gl.glDisable(GL10.GL_DITHER); // Disable dithering for better performance\n \n // You OpenGL|ES initialization code here\n\n \n \n }",
"@Override\n protected void onResume() {\n super.onResume();\n init();\n decideScreen();\n }"
] | [
"0.72970706",
"0.65514517",
"0.65107906",
"0.64782166",
"0.6448735",
"0.63994324",
"0.63400114",
"0.63261425",
"0.63261425",
"0.6317763",
"0.61828554",
"0.61801887",
"0.6170593",
"0.6136033",
"0.6119222",
"0.6114023",
"0.6096572",
"0.6051438",
"0.6033994",
"0.6020535",
"0.59792566",
"0.5974474",
"0.59707093",
"0.59532636",
"0.59508777",
"0.5927613",
"0.5922328",
"0.59091324",
"0.58903927",
"0.5863144",
"0.5853847",
"0.5831029",
"0.58242893",
"0.5823907",
"0.58064234",
"0.58013177",
"0.57912505",
"0.5768672",
"0.57584906",
"0.57422644",
"0.5731072",
"0.5726872",
"0.571497",
"0.5702626",
"0.5697278",
"0.56845367",
"0.5666477",
"0.56268215",
"0.56237143",
"0.56137127",
"0.5599642",
"0.55984384",
"0.5592678",
"0.5590531",
"0.55844826",
"0.55803424",
"0.5579169",
"0.5575146",
"0.5568682",
"0.5566598",
"0.55637914",
"0.55627596",
"0.55579585",
"0.55509526",
"0.55509317",
"0.5549826",
"0.5544075",
"0.55381143",
"0.55342877",
"0.55288655",
"0.55252844",
"0.5518456",
"0.5515916",
"0.5492944",
"0.54917604",
"0.54860556",
"0.5481883",
"0.5479484",
"0.547677",
"0.54746115",
"0.5471791",
"0.54714686",
"0.547078",
"0.5465765",
"0.54637283",
"0.5461992",
"0.54558283",
"0.5455059",
"0.54548454",
"0.5453772",
"0.5452575",
"0.5438924",
"0.5437114",
"0.5400839",
"0.54000443",
"0.53943986",
"0.53926766",
"0.5392112",
"0.5380431",
"0.53731483"
] | 0.70067966 | 1 |
QueryWrapper orderQueryWrapper = new QueryWrapper(); orderQueryWrapper.eq("gmPurchaserId", userId); | @Override
public JsonMsg findUserAllOrders(Integer page, Integer pageSize, Integer userId) {
List<OrderVo> orders = orderMapper.findUserAllOrderByPage(userId, page - 1, pageSize);
JsonMsg jsonMsg = JsonMsg.makeSuccess("成功", orders);
return jsonMsg;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"NjOrderWork2 selectByPrimaryKey(String id);",
"@Query(nativeQuery = true, value =\"select * from order_details where user_id = :userId\" )\r\n\tList<OrderDetails> getOrderDetailsByUserId(@Param(\"userId\") Integer id);",
"public void customerQuery(){\n }",
"OrderDetailBean getSearchOrderById(long orderIdi,String userLogin,int paymenttype) throws SQLException, Exception, RemoteException;",
"List<Order> findByUser(User user);",
"ClOrderInfo selectByPrimaryKey(String orderId);",
"Orderall selectByPrimaryKey(String orderid);",
"Query query();",
"public Query advancedQuery() \n {\n return null;\n }",
"public interface OrderConsigneeSearchRepository extends ElasticsearchRepository<OrderConsignee, Long> {\n}",
"@Override\r\n\tpublic Orderitem queryByUidAndPid(Orderitem oi) {\n\t\treturn orderitemDao.queryByUidAndPid(oi);\r\n\t}",
"ZZW queryByHql(String hql,Map<String,Object> param);",
"public void executeQBEAdvancedCriteria() {\n Session session = getSession();\n Transaction transaction = session.beginTransaction();\n\n // SELECT p.id, p.description, p.name, p.price, p.supplier_id, p.version, p.DTYPE, s.id, s.name\n // FROM Product p\n Criteria productCriteria = session.createCriteria(Product.class);\n\n // INNER JOIN Supplier s\n // ON p.supplier_id = s.id\n Criteria supplierCriteria = productCriteria.createCriteria(\"supplier\");\n\n // WHERE (s.name = 'SuperCorp')\n Supplier supplier = new Supplier();\n supplier.setName(\"SuperCorp\");\n\n supplierCriteria.add(Example.create(supplier));\n\n // AND (p.name LIKE 'M%')\n Product product = new Product();\n product.setName(\"M%\");\n\n Example productExample = Example.create(product);\n\n // TODO: Why must the price column be excluded?\n productExample.excludeProperty(\"price\");\n productExample.enableLike();\n\n productCriteria.add(productExample);\n\n displayProductsList(productCriteria.list());\n transaction.commit();\n }",
"public abstract Page<CustomerOrder> findByShipper(Shipper shipper, GlobalSearch globalSearch, Pageable pageable);",
"@Repository\npublic interface PurchaseRepository extends MongoRepository<Purchase, UUID>\n{\n Collection<Purchase> findPurchaceByUserId(Integer userId);\n}",
"List<UserOrder> findUserOrdersByUserId(Long userId);",
"Optional<Order> findByUserId(long userId);",
"public interface ShopRepository extends GazelleRepository<Shop, String> {\n\n @Query(@Where(and = @And({@Expression(ops = ExpressionOps.eq,key = \"del\"),\n @Expression(ops = ExpressionOps.eq,key = \"shopName\")}),\n// or = @Or({@Expression(ops = ExpressionOps.like,key = \"id\",value = \"%BC85\"),\n// @Expression(ops = ExpressionOps.in)}),\n order = @Order(asc = \"createTime\"),\n check = {CheckOps.checkNullValue, CheckOps.checkEmptyValue}))\n List<Shop> find (@ExpParam Object del, @ExpParam Object shopName,\n @PageParam(PageType.first) int first);\n\n @SqlQuery(value = \"select * from shop where del=:del order by create_time limit 10\", isNative = true, result = Shop.class)\n List<Shop> find (@ExpParam(\"del\") Integer del);\n\n @Update(set = {\"shopName\"},where = @Where(and = @And(@Expression(ops = ExpressionOps.eq, key=\"shopName\"))))\n int update(@ExpParam Object shopName, @ModifyParam String name);\n\n}",
"SelectQuery createSelectQuery();",
"@Select({\n \"select\",\n \"id, orderid, name, price, userid\",\n \"from order\",\n \"where id = #{id,jdbcType=BIGINT}\"\n })\n @ResultMap(\"BaseResultMap\")\n Order selectByPrimaryKey(Long id);",
"TRefundOrder selectByPrimaryKey(String refundorderid);",
"public interface MenuGroupRepository extends JpaRepository<MenuGroup,String>\n , QuerydslPredicateExecutor<MenuGroup> {\n}",
"List<OrderDetail> selectByExample(OrderDetailExample example);",
"List<MVoucherDTO> selectByExample(MVoucherDTOCriteria example);",
"@Select({\"select * from user_order where local_trade_no=#{0} limit 1\"})\n UserOrder selectByLocalTradeNo(String localTradeNo);",
"IQuery getQuery();",
"private void montaQuery(Publicacao object, Query q) {\t\t\n\t}",
"List<ProductPurchaseItem> getAllSupplierProductPurchaseItems(long suppId, String searchStr);",
"public interface CoffeeOrderItemRepository extends PagingAndSortingRepository<CoffeeOrderItem, Long> {\n\n @Query(\"select t from CoffeeOrderItem o join o.coffeeType t where t.disabled = ?1 \" +\n \"group by t order by sum(quantity) desc\")\n List<CoffeeType> findAllHit(char disabled);\n}",
"public abstract Query<T> buildFilter(Query<T> builder, T exampleObj);",
"@Override\n\tpublic PurchaseAudit query(PurchaseAudit purchaseAudit) {\n\t\treturn purchaseAuditMapper.query(purchaseAudit);\n\t}",
"QueryArgs getQueryArgs();",
"@Transactional\n @Override\n public PageUtils queryPage(Map<String, Object> params) {\n QueryWrapper<PurchaseDetailEntity> wrapper = new QueryWrapper<>();\n String key = (String) params.get(\"key\");\n if (!StringUtils.isEmpty(key)) {\n wrapper.and(w->{\n w.eq(\"purchase_id\", key).or().like(\"sku_id\", key);\n });\n }\n String status = (String) params.get(\"status\");\n if (!StringUtils.isEmpty(status)) {\n wrapper.eq(\"status\", status);\n }\n String wareId = (String) params.get(\"wareId\");\n if (!StringUtils.isEmpty(wareId)) {\n wrapper.eq(\"ware_id\", wareId);\n }\n IPage<PurchaseDetailEntity> page = this.page(\n new Query<PurchaseDetailEntity>().getPage(params),\n wrapper\n );\n\n return new PageUtils(page);\n }",
"List<PurchasePayment> selectByExample(PurchasePaymentExample example);",
"@Repository\npublic interface UserKeyRepository extends JpaRepository<UserKey,Long>,QuerydslPredicateExecutor<UserKey> {\n UserKey findByAppId(String appId);\n}",
"static DbQuery createKeyQuery() {\n DbQuery query = new DbQuery();\n query.order = OrderBy.KEY;\n return query;\n }",
"GroupQuery createQuery();",
"List<TbaDeliveryinfo> selectByExample(TbaDeliveryinfoCriteria example);",
"List<R_order> selectByExample(R_orderExample example);",
"List<UserGift> selectByExample(UserGiftCriteria example);",
"UserGift selectByPrimaryKey(String ugId);",
"List<UcOrderGuestInfo> selectByExample(UcOrderGuestInfoExample example);",
"public interface GProductsDao\n{\n public List<GProduct> findGProductsByUser(final Long userId);\n}",
"TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);",
"public static Result getOrderListByUser(String userId, int limit){\n \n MysqlDBOperations mysql = new MysqlDBOperations();\n ResourceProperty rs = new ResourceProperty(\"com.generic.resources.mysqlQuery\");\n Connection conn = mysql.getConnection(); \n List<Orders> orderList;\n\n try{\n\n // -1- Prepare Statement\n PreparedStatement preStat=conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.1\"));\n if(userId!=null){\n preStat = conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.7\"));\n preStat.setString(1, userId);\n preStat.setInt(2, limit);\n }else{\n preStat = conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.5\"));\n preStat.setInt(1, limit);\n }\n \n ResultSet resultSet = preStat.executeQuery();\n \n // -2- Get Result\n if(resultSet.first()){\n \n orderList = new ArrayList<>();\n do{\n Orders order = ORMHandler.resultSetToOrder(resultSet);\n User user = ORMHandler.resultSetToUser(resultSet);\n order.setUser(user);\n \n orderList.add(order);\n }while(resultSet.next());\n \n return Result.SUCCESS.setContent(orderList);\n }else{\n return Result.SUCCESS_EMPTY;\n } \n\n } catch (SQLException ex) { \n return Result.FAILURE_DB.setContent(ex.getMessage());\n }finally{\n mysql.closeAllConnection();\n } \n }",
"public Query getQuery ()\n {\n\n\treturn this.q;\n\n }",
"List<MEsShoppingCartDTO> selectByExample(MEsShoppingCartDTOCriteria example);",
"public static void main (String[] args) {\n EntityQuery query = new EntityQuery();\n Harvestable res = new OaiPmhResource();\n query.setFilter(\"test\", res);\n query.setAcl(\"diku\");\n query.setStartsWith(\"cf\",\"name\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"a\"));\n query.setQuery(\"(usedBy=library)\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"x\"));\n\n query = new EntityQuery();\n query.setQuery(\"(usedBy=library)\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"b\"));\n query.setQuery(\"usedBy=*library\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"c\"));\n query.setQuery(\"(=library\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"d\"));\n query.setQuery(\"usedBy=\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"e\"));\n query.setQuery(\"(usedBy!=library)\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"f\"));\n query.setQuery(\"(usedBy==library)\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"g\"));\n query.setQuery(\"(usedBy===library)\");\n System.out.println(query.asUrlParameters());\n System.out.println(query.asWhereClause(\"h\"));\n }",
"List<UserPonumberGoods> selectByExample(UserPonumberGoodsExample example);",
"public static Result getOrder(String orderId){\n \n MysqlDBOperations mysql = new MysqlDBOperations();\n ResourceProperty rs = new ResourceProperty(\"com.generic.resources.mysqlQuery\");\n Connection conn = mysql.getConnection(); \n Orders order;\n List<MarketProduct> productList;\n\n try{\n\n // -1- Prepare Statement\n PreparedStatement preStat = conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.4\"));\n preStat.setString(1, orderId);\n \n ResultSet resultSet = preStat.executeQuery();\n \n // -2- Get Result\n if(resultSet.first()){\n \n // -2.1- Get Order Object\n order = ORMHandler.resultSetToOrder(resultSet);\n \n // -2.2- Get User & UserAddress Object\n User user = ORMHandler.resultSetToUser(resultSet);\n UserAddress userAddress = ORMHandler.resultSetToUserAddress(resultSet);\n userAddress.setAddress(ORMHandler.resultSetToAddress(resultSet));\n \n // -2.3- Get MarketProduct list \n productList = new ArrayList<>();\n do{\n MarketProduct product = ORMHandler.resultSetToProduct(resultSet);\n productList.add(product);\n }while(resultSet.next());\n \n // -2.4- Set \n order.setUserAddress(userAddress);\n order.setUser(user);\n order.setProductList(productList);\n \n return Result.SUCCESS.setContent(order);\n }else{\n return Result.SUCCESS_EMPTY;\n } \n\n } catch (SQLException ex) { \n return Result.FAILURE_DB.setContent(ex.getMessage());\n }finally{\n mysql.closeAllConnection();\n } \n }",
"List<Order> selectAll(int userid);",
"QueryRequest<Review> query();",
"@Repository\r\npublic interface OrderDetailsRepository extends JpaRepository<OrderDetails, Integer>{\r\n\r\n\t/**\r\n\t * Gets the order details by user id.\r\n\t *\r\n\t * @param id the id\r\n\t * @return the order details by user id\r\n\t */\r\n\t@Query(nativeQuery = true, value =\"select * from order_details where user_id = :userId\" )\r\n\tList<OrderDetails> getOrderDetailsByUserId(@Param(\"userId\") Integer id);\r\n\r\n}",
"@Select({\n \"select\",\n \"ID, SDATE, STYPE, SMONEY, TOUCHING, ACCOUNT, CHECKSTATUS, DEMO1, DEMO2, DEMO3\",\n \"from PURCHASE\",\n \"where ID = #{id,jdbcType=DECIMAL}\"\n })\n @ConstructorArgs({\n @Arg(column=\"ID\", javaType=BigDecimal.class, jdbcType=JdbcType.DECIMAL, id=true),\n @Arg(column=\"SDATE\", javaType=Date.class, jdbcType=JdbcType.TIMESTAMP),\n @Arg(column=\"STYPE\", javaType=String.class, jdbcType=JdbcType.VARCHAR),\n @Arg(column=\"SMONEY\", javaType=BigDecimal.class, jdbcType=JdbcType.DECIMAL),\n @Arg(column=\"TOUCHING\", javaType=String.class, jdbcType=JdbcType.VARCHAR),\n @Arg(column=\"ACCOUNT\", javaType=String.class, jdbcType=JdbcType.VARCHAR),\n @Arg(column=\"CHECKSTATUS\", javaType=BigDecimal.class, jdbcType=JdbcType.DECIMAL),\n @Arg(column=\"DEMO1\", javaType=BigDecimal.class, jdbcType=JdbcType.DECIMAL),\n @Arg(column=\"DEMO2\", javaType=String.class, jdbcType=JdbcType.VARCHAR),\n @Arg(column=\"DEMO3\", javaType=BigDecimal.class, jdbcType=JdbcType.DECIMAL)\n })\n Purchase selectByPrimaryKey(BigDecimal id);",
"static DbQuery createValueQuery() {\n DbQuery query = new DbQuery();\n query.order = OrderBy.VALUE;\n return query;\n }",
"CampusSearchQuery generateQuery();",
"@Test\n public void test() throws Exception {\n\n ModelObjectSearchService.addNoSQLServer(Address.class, new SolrRemoteServiceImpl(\"http://dr.dk\"));\n\n\n\n Address mock = NQL.mock(Address.class);\n NQL.search(mock).search(\n\n NQL.all(\n NQL.has(mock.getArea(), NQL.Comp.LIKE, \"Seb\"),\n NQL.has(\"SebastianRaw\")\n\n )\n\n ).addStats(mock.getZip()).getFirst();\n\n\n// System.out.println(\"inline query: \" + NQL.search(mock).search(mock.getA().getFunnyD(), NQL.Comp.EQUAL, 0.1d).());\n// System.out.println(\"normal query: \" + NQL.search(mock).search(mock.getArea(), NQL.Comp.EQUAL, \"area\").buildQuery());\n }",
"public static ru.terralink.mvideo.sap.Orders findByPrimaryKey(java.lang.String IV_FO_TOR_ID\n ,java.lang.String IV_FU_TOR_ID)\n {\n String intervalName = null;\n if(com.sybase.mobile.util.perf.impl.PerformanceAgentServiceImpl.isEnabled)\n {\n intervalName = \"Orders.findByPrimaryKey\";\n com.sybase.mobile.util.perf.impl.PerformanceAgentServiceImpl.getInstance().startInterval(intervalName, com.sybase.mobile.util.perf.impl.PerformanceAgentServiceImpl.PersistenceRead);\n }\n try\n {\n \n \n String _selectSQL = \"SELECT x.\\\"a\\\",x.\\\"b\\\",x.\\\"c\\\",x.\\\"d\\\",x.\\\"e\\\",x.\\\"f\\\",x.\\\"g\\\",x.\\\"h\\\",x.\\\"i\\\",x.\\\"j\\\",x.\\\"l\\\",x.\\\"m\\\",x.\\\"n\\\",x.\\\"o\\\",x.\\\"p\\\",x.\\\"q\\\",x.\\\"r\\\",x.\\\"s\\\",x.\\\"t\\\",x.\\\"u\\\",x.\\\"v\\\",x.\\\"w\\\",x.\\\"x\\\",x.\\\"y\\\",x.\\\"z\\\",x.\\\"ba\\\",x.\\\"bb\\\",x.\\\"bc\\\",x.\\\"bd\\\",x.\\\"be\\\",x.\\\"bf\\\",x.\\\"bg\\\",x.\\\"bh\\\",x.\\\"bi\\\",x.\\\"bj\\\",x.\\\"bl\\\",x.\\\"bm\\\",x.\\\"pending\\\",x.\\\"_pc\\\",x.\\\"_rp\\\",x\"\n + \".\\\"_rf\\\",x.\\\"relationsFK\\\",x.\\\"bn\\\",x.\\\"_rc\\\",x.\\\"_ds\\\",x.\\\"cvpOperation_length\\\",x.\\\"cvpOperationLobs_length\\\" FROM \\\"mvideo5_1_0_orders\\\" x WHERE (((x.\\\"pending\\\" = 1 or not exists (select x_os.\\\"bn\\\" from \\\"mvideo5_1_0_orders_os\\\" x_os where x_os.\\\"bn\\\" = x.\\\"bn\\\")))) and ( x.\\\"bl\\\" = ? AND x.\\\"bm\\\" = ?)\";\n String[] ids = new String[0];\n com.sybase.reflection.DataType[] dts = new com.sybase.reflection.DataType[]{ \n com.sybase.reflection.DataType.forName(\"string\"),\n com.sybase.reflection.DataType.forName(\"string\"),\n };\n Object[] values = new Object[] { \n IV_FO_TOR_ID,\n IV_FU_TOR_ID,\n };\n Object res = DELEGATE.findWithSQL(_selectSQL, dts, values, ids, ru.terralink.mvideo.sap.Orders.class);\n return (ru.terralink.mvideo.sap.Orders)res;\n }\n finally\n {\n if(com.sybase.mobile.util.perf.impl.PerformanceAgentServiceImpl.isEnabled)\n {\n com.sybase.mobile.util.perf.impl.PerformanceAgentServiceImpl.getInstance().stopInterval(intervalName);\n }\n }\n }",
"List<ShipmentInfoPODDTO> search(String query);",
"SearchResponse query(SearchRequest request, Map<SearchParam, String> params);",
"List<AdminUser> selectByExample(AdminUserCriteria example);",
"List<AdminUser> selectByExample(AdminUserCriteria example);",
"public interface ReleaseRepository extends CrudRepository<Release, Long>, QueryDslPredicateExecutor {\n\n}",
"public Query() {\n\n// oriToRwt = new HashMap();\n// oriToRwt.put(); // TODO\n }",
"public Query(){\n this(new MongoQueryFilter.MongoQueryFilterBuilder());\n }",
"Order requireById(Long orderId);",
"public List<TblPurchaseOrderDetail>getAllDataPurchaseOrderDetail(TblSupplier supplier,TblPurchaseOrder po,RefPurchaseOrderStatus poStatus,TblItem item,Date startDate,Date endDate,TblPurchaseRequest mr);",
"List<ClOrderInfo> selectByExample(ClOrderInfoExample example);",
"Disproduct selectByPrimaryKey(String samId);",
"@Query(\"{ 'userName' : ?0, 'userPassword' : ?1 }\")\n //method to authenticate DomainExpert Credentials\n public List<DomainExpert> findByUserName(@Param(\"userName\")String userName, @Param(\"userPassword\") String userPassword);",
"List<ShopAccount> selectByExample(ShopAccountExample example);",
"public interface OrderEntitySearchRepository extends ElasticsearchRepository<OrderEntity, Long> {\n}",
"List<ProcRecInvoice> selectByExample(ProcRecInvoiceExample example);",
"public static void findByOR() {\n\t\tFindIterable<Document> findIterable = collection.find(or(eq(\"status\", \"A\"), lt(\"qty\", 30)));\r\n\t\tprint(findIterable);\r\n\t}",
"List<GoodsPo> selectByExample(GoodsPoExample example);",
"public Object findUniqueByHql(String hql, Object... params);",
"@Query(\n \"Select t FROM Ticket t WHERE t.user.id = :userId \"\n + \"AND (LOWER(t.title) LIKE LOWER(CONCAT('%', :searchTerm, '%')) \"\n + \"OR LOWER(t.id) LIKE LOWER(CONCAT('%', :searchTerm, '%')) \"\n + \"OR LOWER(t.client.name) LIKE LOWER(CONCAT('%', :searchTerm, '%')) \"\n + \"OR LOWER(t.user.name) LIKE LOWER(CONCAT('%', :searchTerm, '%')) \"\n + \"OR LOWER(t.category.name) LIKE LOWER(CONCAT('%', :searchTerm, '%')) \"\n + \"OR DATE_FORMAT(t.lastInteration, '%d/%m/%Y') LIKE CONCAT('%', :searchTerm, '%')) \"\n )\n public Page<Ticket> searchType1(@Param(\"userId\") Long userId,@Param(\"searchTerm\") String searchTerm,Pageable pageable);",
"SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);",
"TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);",
"BnesBrowsingHis selectByPrimaryKey(BigDecimal browsingHisId) throws SQLException;",
"public List<Orders> findAccepted2(int userID);",
"public static void findByAND_OR() {\n\t\tFindIterable<Document> findIterable = collection.find(\r\n\t\t and(eq(\"status\", \"A\"),\r\n\t\t or(lt(\"qty\", 30), regex(\"item\", \"^p\")))\r\n\t\t);\r\n\t\tprint(findIterable);\r\n\t}",
"ProductSellerGoods selectByPrimaryKey(Integer productId);",
"OrderDetail selectByPrimaryKey(String detailId);",
"@Override\n public List<Buyer> query(Buyer buyer) {\n return null;\n }",
"@Query(value = \"select subscribers from User u where u.id =:userId\")\n List<User> findSubscribers(@Param(\"userId\") long userId);",
"public T findOne(DBObject dbObjectQuery, DBObject orderBy) throws NoSQLException;",
"public static void findByAND() {\n\t\tFindIterable<Document> findIterable = collection.find(and(eq(\"status\", \"A\"), lt(\"qty\", 30)));\r\n\t\tprint(findIterable);\r\n\t}",
"List<OwnerOperatorDTO> search(String query);",
"List<PurchaseOrderHeader> getAllPurchaseOrderHeaderPerOrguIdAndSupplierId(long supplierId);",
"public List<InternalProduct> queryProduct(String productId, String name, Timestamp dateAfter, Timestamp dateBefore,\r\n\t\t\tString status, String asin, String orderBy, String ascOrDesc) {\r\n\r\n\t\t// SQL part1: select & from\r\n\t\tString part1 = \"select product_id,name,description,create_time,status,asin from internal_product\";\r\n\r\n\t\t// SQL part2: where\r\n\t\tString part2 = \"\";\r\n\t\tif (Filter.nullFilter(productId) != \"\" || Filter.nullFilter(name) != \"\" || dateAfter != null\r\n\t\t\t\t|| dateBefore != null || Filter.nullFilter(status) != \"\" || Filter.nullFilter(asin) != \"\") {\r\n\t\t\t// where condition exists\r\n\t\t\t// construct where condition\r\n\t\t\tList<String> whereCondition = new ArrayList<>();\r\n\t\t\twhereCondition.add(\" where \");// size is 1 now\r\n\t\t\tif (Filter.nullFilter(productId) != \"\") {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"product_id='\" + Integer.parseInt(productId.trim()) + \"'\");\r\n\t\t\t}\r\n\t\t\tif (Filter.nullFilter(name) != \"\") {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"name like '%\" + name.trim() + \"%'\");// %name%\r\n\t\t\t}\r\n\t\t\tif (dateAfter != null) {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"create_time > '\" + dateAfter + \"'\");\r\n\t\t\t}\r\n\t\t\tif (dateBefore != null) {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"create_time < '\" + dateBefore + \"'\");\r\n\t\t\t}\r\n\t\t\tif (Filter.nullFilter(status) != \"\") {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"status='\" + status.trim() + \"'\");\r\n\t\t\t}\r\n\t\t\tif (Filter.nullFilter(asin) != \"\") {\r\n\t\t\t\twhereCondition.add(whereCondition.size() == 1 ? \"\" : \" and \");\r\n\t\t\t\twhereCondition.add(\"asin='\" + asin.trim() + \"'\");\r\n\t\t\t}\r\n\r\n\t\t\t// convert List to String\r\n\t\t\tfor (String wc : whereCondition) {\r\n\t\t\t\tpart2 += wc;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// SQL part3: order by\r\n\t\tString part3 = \"\";\r\n\t\tif (orderBy != null && !\"\".equals(orderBy.trim())) {\r\n\t\t\t// order by condition exists\r\n\t\t\t// construct order by condition\r\n\t\t\tpart3 += \" order by \" + orderBy;\r\n\t\t\tif (ascOrDesc != null && !\"\".equals(ascOrDesc)) {\r\n\t\t\t\t// use the specified sort order\r\n\t\t\t\tpart3 += \" \" + ascOrDesc;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// get the SQL string\r\n\t\tString sql = part1 + part2 + part3;\r\n\t\t// System.out.println(sql);\r\n\r\n\t\tList<InternalProduct> products = new ArrayList<>();\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = DB.getConnection();\r\n\t\t\tPreparedStatement ps = con.prepareStatement(sql);\r\n\t\t\tResultSet rs = ps.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tInternalProduct product = new InternalProduct();\r\n\t\t\t\tproduct.setProductId(rs.getInt(1));\r\n\t\t\t\tproduct.setName(rs.getString(2));\r\n\t\t\t\tproduct.setDescription(rs.getString(3));\r\n\t\t\t\tproduct.setCreateTime(rs.getTimestamp(4));\r\n\t\t\t\tproduct.setStatus(rs.getString(5));\r\n\t\t\t\tproduct.setAsin(rs.getString(6));\r\n\r\n\t\t\t\tproducts.add(product);\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t\tps.close();\r\n\t\t\tcon.close();\r\n\t\t} catch (SQLException | NamingException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t} finally {\r\n\t\t\tboolean flag = true;\r\n\t\t\ttry {\r\n\t\t\t\tif (con == null || con.isClosed()) {\r\n\t\t\t\t\tflag = false;\r\n\t\t\t\t}\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\tif (flag) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcon.close();\r\n\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn products;\r\n\t}",
"List<Order> findOrdersByParameters(Map<String, Object> orderParameters) throws DaoProjectException;",
"Assist_table selectByPrimaryKey(Integer user);",
"ObstacleQuery createObstacleQuery();",
"public BibliographicDetails searchCallNOByBiblio(String callno, int biblio_id, String library_id, String sub_library_id) {\n Session session = HibernateUtil.getSessionFactory().openSession();\n BibliographicDetails obj=null;\n\n try{\n session.beginTransaction();\n Criteria criteria = session.createCriteria(BibliographicDetails.class)\n .add(Restrictions.conjunction()\n .add(Restrictions.eq(\"id.libraryId\", library_id))\n .add(Restrictions.eq(\"id.sublibraryId\", sub_library_id))\n .add(Restrictions.ne(\"id.biblioId\", biblio_id))\n .add(Restrictions.eq(\"callNo\", callno)));\n obj= (BibliographicDetails) criteria.uniqueResult();\n session.getTransaction().commit();\n }\n catch(Exception e){\n e.printStackTrace();\n }\n finally {\n session.close();\n }\n return obj;\n }",
"@SuppressWarnings(\"unused\")\n@Repository\n\npublic interface GOtherVoucherDetailsRepository extends JpaRepository<GOtherVoucherDetails, UUID>, GOtherVoucherDetailsRepositoryCustom {\n @Query(value = \"select * from GOtherVoucherDetail where GOtherVoucherID = ?1 order by OrderPriority \", nativeQuery = true)\n List<GOtherVoucherDetails> findAllByGOtherVoucherID(UUID id);\n\n /**\n * @param id\n * @return\n * @author congnd\n */\n List<GOtherVoucherDetails> findAllBygOtherVoucherIDOrderByOrderPriorityAsc(UUID id);\n\n}",
"@Repository\npublic interface FreeOrderRepository extends JpaRepository<FreeOrder,Long> {\n\n\n FreeOrder findById(int id);\n\n Page<FreeOrder> findAll(Pageable pageable);\n\n List<FreeOrder> findByUserid(int userid, Sort sort);\n}",
"UserPonumberGoods selectByPrimaryKey(String ponumberGoodsId);",
"List<ItoProduct> selectByExample(ItoProductCriteria example);",
"Salaries selectByPrimaryKey(@Param(\"empNo\") Integer empNo, @Param(\"fromDate\") Date fromDate);",
"public Order getOrderById(long orderId);"
] | [
"0.5745616",
"0.5648457",
"0.5623354",
"0.5619089",
"0.5572758",
"0.5568035",
"0.5557138",
"0.55147123",
"0.55136317",
"0.5497422",
"0.54946804",
"0.5493316",
"0.54750913",
"0.54657084",
"0.5409461",
"0.5373987",
"0.5370832",
"0.5361744",
"0.53590494",
"0.5350403",
"0.53489995",
"0.5326695",
"0.5324449",
"0.5320858",
"0.5314337",
"0.53106785",
"0.529998",
"0.52931243",
"0.5289289",
"0.5281896",
"0.52818793",
"0.5281238",
"0.5261547",
"0.5250247",
"0.52487767",
"0.5234267",
"0.5232145",
"0.52295375",
"0.5229504",
"0.52285266",
"0.5226743",
"0.5222845",
"0.5220053",
"0.5217671",
"0.52148944",
"0.5205561",
"0.52045554",
"0.5202967",
"0.52010417",
"0.5198664",
"0.5196824",
"0.51859534",
"0.51659364",
"0.51598716",
"0.5159517",
"0.51587003",
"0.51465887",
"0.514624",
"0.51292497",
"0.51289165",
"0.51246065",
"0.51246065",
"0.51201916",
"0.511623",
"0.51146704",
"0.5105833",
"0.510492",
"0.5100118",
"0.5095057",
"0.50942737",
"0.5091123",
"0.50813514",
"0.5073628",
"0.50677156",
"0.50665253",
"0.5063135",
"0.5059714",
"0.50482273",
"0.5041609",
"0.50367796",
"0.50361174",
"0.50313187",
"0.5027393",
"0.50266886",
"0.5026373",
"0.50260484",
"0.5024502",
"0.5023856",
"0.5018082",
"0.5015212",
"0.50142735",
"0.5014097",
"0.5001726",
"0.5000768",
"0.499887",
"0.49970278",
"0.49919632",
"0.49901214",
"0.49851125",
"0.4981085",
"0.49776587"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseClicked(MouseEvent arg0) {
if(MODE == 0){
if(builds.size() <= 2 && buildingType != -1){
ElbiWars_Building newBuilding = new ElbiWars_Building(arg0.getX(), arg0.getY(), buildingType);
newBuilding.setBounds(arg0.getX(), arg0.getY(), 30, 30);
builds.add(newBuilding);
}
}else if(MODE == 1){
ElbiWars_Troops troop = new ElbiWars_Troops(arg0.getX(), arg0.getY(), troopType);
if(troopType != -1 && checkCollision(troop) == false){
Random random = new Random();
if((builds.size() * random.nextInt())%2 == 0){
troop.a = builds.getLast();
} else {
troop.a = builds.getFirst();
}
chars.add(troop);
Thread k = new Thread(chars.getLast());
k.start();
}
}
this.revalidate();
this.repaint();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseEntered(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0.6080555",
"0.6076938",
"0.6041293",
"0.6024541",
"0.6019185",
"0.5998426",
"0.5967487",
"0.5967487",
"0.5964935",
"0.59489644",
"0.59404725",
"0.5922823",
"0.5908894",
"0.5903041",
"0.5893847",
"0.5885641",
"0.5883141",
"0.586924",
"0.5856793",
"0.58503157",
"0.58464456",
"0.5823378",
"0.5809384",
"0.58089525",
"0.58065355",
"0.58065355",
"0.5800514",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57896614",
"0.5789486",
"0.5786597",
"0.5783299",
"0.5783299",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5760369",
"0.5758614",
"0.5758614",
"0.574912",
"0.574912",
"0.574912",
"0.57482654",
"0.5732775",
"0.5732775",
"0.5732775",
"0.57207066",
"0.57149917",
"0.5714821",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57115865",
"0.57045746",
"0.5699",
"0.5696016",
"0.5687285",
"0.5677473",
"0.5673346",
"0.56716853",
"0.56688815",
"0.5661065",
"0.5657898",
"0.5654782",
"0.5654782",
"0.5654782",
"0.5654563",
"0.56536144",
"0.5652585",
"0.5649566"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseExited(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mousePressed(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void mouseReleased(MouseEvent arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @SuppressWarnings("deprecation")
@Override
public void actionPerformed(ActionEvent e) {
if(e.getSource() == modeChange){
if(MODE == -1){
MODE = 0;
bottomPanel.show();
troopsPanel.hide();
} else {
MODE = 1;
troopsPanel.show();
buildingsPanel.hide();
}
}
for(int i=0; i<8; i++){
if(e.getSource() == buildingsButton[i]){
buildingType = i;
System.out.println("Building type = "+buildingType);
}
}
for(int j=0; j<10; j++){
if(e.getSource() == troopsButton[j]){
troopType = j;
System.out.println("Troop type = "+troopType);
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0.6080555",
"0.6076938",
"0.6041293",
"0.6024541",
"0.6019185",
"0.5998426",
"0.5967487",
"0.5967487",
"0.5964935",
"0.59489644",
"0.59404725",
"0.5922823",
"0.5908894",
"0.5903041",
"0.5893847",
"0.5885641",
"0.5883141",
"0.586924",
"0.5856793",
"0.58503157",
"0.58464456",
"0.5823378",
"0.5809384",
"0.58089525",
"0.58065355",
"0.58065355",
"0.5800514",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57896614",
"0.5789486",
"0.5786597",
"0.5783299",
"0.5783299",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5760369",
"0.5758614",
"0.5758614",
"0.574912",
"0.574912",
"0.574912",
"0.57482654",
"0.5732775",
"0.5732775",
"0.5732775",
"0.57207066",
"0.57149917",
"0.5714821",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57115865",
"0.57045746",
"0.5699",
"0.5696016",
"0.5687285",
"0.5677473",
"0.5673346",
"0.56716853",
"0.56688815",
"0.5661065",
"0.5657898",
"0.5654782",
"0.5654782",
"0.5654782",
"0.5654563",
"0.56536144",
"0.5652585",
"0.5649566"
] | 0.0 | -1 |
End closed loop parameter constants | public static void IAmFalconBot() {
// How many encoder clicks per revolution (change to 2048 for falcon 500
// encoders)
encoderUnitsPerShaftRotation = 2048;
// with 6 in wheels estimate 10 feet = 13038 encoder ticks
// The difference between the left and right side encoder values when the robot
// is rotated 180 degrees
encoderUnitsPerRobotRotation = 3925;// thats the SUM of the two (this is just a rough guess)
//these values are just guesses at the moment
cruiseVelocity = 2250;
acceleration = 2250;
// Allowable error to exit movement methods
defaultAcceptableError = 250;
shooterPanMotorEncoderTicksPerRotation = 3977;
//TODO: may need to be negative if turns the wrong way
shooterPanSpeed = 1;
System.out.println("I AM FALCONBOT! CACAW! CACAAAAAWWWWW!");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean endLoop();",
"public void stopAtLoopEnd() {\n mStopAtLoopEnd = true;\n }",
"private void closedLoopAlgo() {\n\t\tsimonsSimpleAlgo();\n\t}",
"protected abstract void trace_end_loop();",
"protected void end()\n\t{\n\t}",
"protected void end() {\r\n }",
"protected void end() {\r\n }",
"protected void end() {\r\n }",
"protected void end() {\r\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n }",
"protected void end() {\n\t}",
"protected void end() {\n\t}",
"protected void end() {\n\t}",
"protected void end() {\n\t}",
"protected void end() {\n\t}",
"protected void end() {\n\t}",
"protected void endBatch() {\n \n }",
"protected void end() {\n \n \n }",
"protected void end() {\n\r\n\t}",
"public void end() {\n\n }",
"@Override\n\t\t\tpublic void end() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\tpublic void end() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void end() {\n\t\t\n\t}",
"protected abstract boolean end();",
"public abstract void end();",
"@Override\n\tprotected void end() {\n\t\t\n\t}",
"protected void end() {\n \t// theres nothing to end\n }",
"protected abstract void forceEndValues();",
"public int end() { return _end; }",
"public void end();",
"WorkoutBatch end(boolean wasInVehicle);",
"@Override\n\tpublic void end() {\n\n\t}",
"@Override\n\tpublic void end() {\n\n\t}",
"public void endCompute();",
"public void end() throws Exception;",
"public abstract int end(int i);",
"protected void end() {\n \n \tRobotMap.motorLeftOne.set(com.ctre.phoenix.motorcontrol.ControlMode.PercentOutput, 0);\n \tRobotMap.motorLeftTwo.set(com.ctre.phoenix.motorcontrol.ControlMode.PercentOutput, 0);\n \t\n \tRobotMap.motorRightOne.set(com.ctre.phoenix.motorcontrol.ControlMode.PercentOutput, 0);\n \tRobotMap.motorRightTwo.set(com.ctre.phoenix.motorcontrol.ControlMode.PercentOutput, 0);\n \t\n }",
"@Override\r\n\tprotected void end() {\r\n\t}",
"int getEnd();",
"@Override\n public void end() {\n }",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\n\tprotected void end() {\n\t}",
"@Override\n\tprotected void end() {\n\t}",
"@Override\n\tprotected void end() {\n\t}",
"@Override\n\tprotected void end() {\n\t}",
"@Override\n\tprotected void end() {\n\n\t}",
"@Override\n\tprotected void end() {\n\n\t}",
"@Override\n\tprotected void end() {\n\n\t}",
"protected void end() {\r\n\t \tRobotMap.armarm_talon.changeControlMode(CANTalon.ControlMode.PercentVbus);\r\n\t }",
"protected void end()\n\t{\n\t\t//\t\tdouble intakeSpeed[] = { 0.0, 0.0 };\n\t\t//\t\tRobot.intake.setSpeed(intakeSpeed);\n\t}",
"public static void main(String[] args) {\n\t\tint loopidx = 1\r\n\t\tint sum =0;\r\n\t\tfinal LAST_loop_IDX =10;\r\n\t}",
"public void setEnd(){\n\t\tthis.isEnd=true;\n\t}",
"@Override\n protected void end() {\n }",
"protected void end() {\r\n // stop motor, reset position on the dumper, enable closed loop\r\n }",
"int getEndTick();",
"protected void end() {\n\t\tRobot.conveyor.Stop();\n\t}",
"@Override\r\n\tprotected void end() {\n\r\n\t}",
"@Override\r\n\tprotected void end() {\n\r\n\t}",
"@Override\n protected void end() {\n\n }",
"protected void end() {\n \tRobot.conveyor.stop();\n }",
"public boolean getLoops() { return getEndAction().startsWith(\"Loop\"); }",
"protected void end() {\n \tshooterWheel.shooterWheelSpeedControllerAft.Pause();\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }"
] | [
"0.6602905",
"0.6333115",
"0.6281712",
"0.6253989",
"0.60171247",
"0.598449",
"0.598449",
"0.598449",
"0.598449",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5958087",
"0.5955275",
"0.5955275",
"0.5955275",
"0.5955275",
"0.5955275",
"0.5955275",
"0.59256446",
"0.5903689",
"0.58844197",
"0.5861887",
"0.5840812",
"0.57944924",
"0.57743406",
"0.5762553",
"0.57393444",
"0.57242143",
"0.57109326",
"0.5702701",
"0.5650457",
"0.5643178",
"0.56402254",
"0.56400967",
"0.56400967",
"0.5630143",
"0.5618565",
"0.560498",
"0.5604713",
"0.5603994",
"0.55985105",
"0.55857515",
"0.55778205",
"0.55760646",
"0.55760646",
"0.55760646",
"0.55760646",
"0.557404",
"0.557404",
"0.557404",
"0.5563542",
"0.5562024",
"0.55514985",
"0.5547974",
"0.554644",
"0.5539705",
"0.5536811",
"0.5517901",
"0.55094624",
"0.55094624",
"0.5495384",
"0.54908925",
"0.5486923",
"0.54836845",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326",
"0.54800326"
] | 0.0 | -1 |
Unzip files matching regex from all archives in given directory. | public static void unzipFiles(@NotNull String path, @NotNull String name) throws IOException {
Path dir = Paths.get(path);
final PathMatcher matcher = dir.getFileSystem().getPathMatcher("glob:**.zip");
try (final Stream<Path> stream = Files.list(dir)) {
stream.filter(matcher::matches)
.forEach(zipFile -> unzip(zipFile, dir, name));
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unarchive(String baseDir) throws MojoExecutionException {\n try (FileInputStream fis = new FileInputStream(archive);\n ZipArchiveInputStream zipIn = new ZipArchiveInputStream(fis)) {\n ZipArchiveEntry zipEnry = zipIn.getNextZipEntry();\n while (zipEnry != null) {\n // Create a file for this tarEntry\n final File destPath = new File(baseDir + File.separator + zipEnry.getName());\n if (zipEnry.isDirectory()) {\n destPath.mkdirs();\n }\n else {\n destPath.createNewFile();\n try (BufferedOutputStream bout = new BufferedOutputStream(new FileOutputStream(destPath))) {\n IOUtils.copy(zipIn, bout);\n }\n }\n zipEnry = zipIn.getNextZipEntry();\n }\n }\n catch (IOException ex) {\n throw new MojoExecutionException(\"Could not extract archive: \" + archive.getAbsolutePath(), ex);\n }\n\n // delete archive after extraction\n archive.delete();\n }",
"public static void unzipArchive(File archive, String outputDir) throws IOException {\n\t\tZipFile zipfile = new ZipFile(archive);\n\t\tfor (Enumeration<?> e = zipfile.entries(); e.hasMoreElements();) {\n\t\t\tZipEntry entry = (ZipEntry) e.nextElement();\n\t\t\tunzipEntry(zipfile, entry, outputDir);\n\t\t}\n\t}",
"private void unCompress()\n\t{\n\t\ttry\n\t\t{\n\t\t\tbyte[] buffer = new byte[4096];\n\t\t\tint bytesIn;\n\t\t\tZipFile rfoFile = new ZipFile(path + fileName);\n\t\t\tEnumeration<? extends ZipEntry> allFiles = rfoFile.entries();\n\t\t\twhile(allFiles.hasMoreElements())\n\t\t\t{\n\t\t\t\tZipEntry ze = (ZipEntry)allFiles.nextElement();\n\t\t\t\tInputStream is = rfoFile.getInputStream(ze);\n\t\t\t\tString fName = processSeparators(ze.getName());\n\t\t\t\tFile element = new File(tempDir + fName);\n\t\t\t\torg.reprap.Main.ftd.add(element);\n\t\t\t\tFileOutputStream os = new FileOutputStream(element);\n\t\t\t\twhile((bytesIn = is.read(buffer)) != -1) \n\t\t\t\t\tos.write(buffer, 0, bytesIn);\n\t\t\t\tos.close();\n\t\t\t}\n\t\t} catch (Exception e)\n\t\t{\n\t\t\tDebug.e(\"RFO.unCompress(): \" + e);\n\t\t}\n\t}",
"public static void extractZipArchive(byte[] zipFileData, String directory) throws IOException {\n new File(directory).mkdirs();\n // get the zip file content\n ZipInputStream inputStream = new ZipInputStream(new ByteArrayInputStream(zipFileData));\n // get the zipped file list entry\n ZipEntry zipEntry = inputStream.getNextEntry();\n byte[] buffer = new byte[BUFFER_SIZE];\n while (zipEntry != null) {\n if (!zipEntry.isDirectory()) {\n String fileName = zipEntry.getName();\n File newFile = new File(directory + File.separator + fileName);\n new File(newFile.getParent()).mkdirs();\n\n FileOutputStream fos = new FileOutputStream(newFile);\n\n int len;\n while ((len = inputStream.read(buffer)) > 0) {\n fos.write(buffer, 0, len);\n }\n\n fos.close();\n\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"File unzipped: \" + newFile.getAbsoluteFile());\n }\n }\n zipEntry = inputStream.getNextEntry();\n }\n inputStream.closeEntry();\n inputStream.close();\n }",
"public void unzip(String zipFilePath, String destDirectory) throws IOException {\n File destDir = new File(destDirectory);\n if (!destDir.exists()) {\n destDir.mkdir();\n }\n ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry ZipEntry = zipInputStream.getNextEntry();\n\t\twhile (ZipEntry != null) {\n String fileName = ZipEntry.getName();\n\t\t\tString filePath = destDirectory + File.separator + fileName;\n if (!ZipEntry.isDirectory() && fileName.endsWith(\".jar\")) {\n extractFile(zipInputStream, filePath);\n } \n zipInputStream.closeEntry();\n ZipEntry = zipInputStream.getNextEntry();\n }\n zipInputStream.close();\n }",
"private void findAssignmentFiles(ArrayList<File> files, String directory) {\n\n //---------- Step 1: find and uncompress zip files ----------\n if (bAutoUncompress) {\n ArrayList<File> compressedFiles = findFilesByExtension(directory, COMPRESSION_EXTENSIONS);\n for (File cFile : compressedFiles) {\n //uncompress each zip file\n String[] cmd = {\"unzip\", \"-u\", cFile.getAbsolutePath(), \"-d\", stripFileExtension(cFile.getAbsolutePath())};\n String cmdStr = \"unzip -u \\\"\" + cFile.getAbsolutePath() + \"\\\" -d \\\"\" + stripFileExtension(cFile.getAbsolutePath()) + \"\\\"\";\n console(cmdStr);\n\n try {\n Runtime r = Runtime.getRuntime();\n Process p = r.exec(cmd); //execute the unzip command\n //Process p = r.exec(\"unzip -u \\34/Users/jvolcy/work/test/JordanStill_1124140_assignsubmission_file_/P0502b.zip\\34 -d \\34/Users/jvolcy/work/test/JordanStill_1124140_assignsubmission_file_/P0502b\\34\");\n p.waitFor();\n } catch (Exception e) {\n console(\"[findAssignmentFiles()]\", e);\n }\n }\n }\n\n //---------- Step 2: find programming files in the directory ----------\n ArrayList<File> programmingFiles = findFilesByExtension(directory, PYTHON_AND_CPP_EXTENSIONS);\n if (programmingFiles.size() > 0) {\n files.addAll(programmingFiles);\n //if we found any files, we are done\n return;\n }\n\n //---------- Step 3: search for sub-directories ----------\n ArrayList<File> subDirs = getSubDirectories(directory, true);\n for (File sDir : subDirs) {\n //Step 4: recursively call findAssignmentFiles() if we find subdirectories\n findAssignmentFiles(files, sDir.toString());\n }\n\n //---------- Step 5 ----------\n //No assignment files found. This may be the end of the recursion.\n }",
"static void unzip(String zipFilePath, String destDirectory, boolean recursive, boolean teacherZip) throws IOException {\n\n if (students == null) {\n students = new ArrayList<Student>();\n }\n\n ZipInputStream zipIn = null;\n\n try {\n zipIn = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry entry = zipIn.getNextEntry();\n\n // iterates over entries in the zip file\n while (entry != null) {\n createFiles(destDirectory, zipIn, entry, recursive);\n\n zipIn.closeEntry();\n entry = zipIn.getNextEntry();\n }\n\n } catch (IOException e) {\n System.err.println(e.getMessage());\n Errors.setUnzipperError(true);\n\n } finally {\n if (zipIn != null) {\n zipIn.close();\n }\n }\n }",
"private static void unzip(EmailTypes collection) {\n File dir = new File(destDir);\n // create output directory if it doesn't exist\n if(!dir.exists()) {\n dir.mkdirs();\n }\n FileInputStream fis;\n //buffer for read and write data to file\n byte[] buffer = new byte[1024];\n try {\n fis = new FileInputStream(sourceFiles.get(collection).getPath());\n ZipInputStream is = new ZipInputStream(fis);\n ZipEntry zipEntry = is.getNextEntry();\n System.out.println(\"Unzipping set: \" + collection.getCollection() + \".\");\n while(zipEntry != null){\n String fileName = zipEntry.getName();\n File newFile = new File(unpackedFiles.get(collection) + File.separator + fileName);\n new File(newFile.getParent()).mkdirs();\n FileOutputStream fos = new FileOutputStream(newFile);\n int len;\n while ((len = is.read(buffer)) > 0) {\n fos.write(buffer, 0, len);\n }\n fos.close();\n is.closeEntry();\n zipEntry = is.getNextEntry();\n }\n is.closeEntry();\n is.close();\n fis.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public static void main(String[] args) {\n File directoryPath = new File(\"C:\\\\Users\\\\jarek\\\\Downloads\");\n //List of all files and directories\n String[] contents = directoryPath.list();\n\n Pattern p= Pattern.compile(\"zip$\");\n Matcher m;\n Vector<String> lis = new Vector<>();\n for(int i = 0; i< Objects.requireNonNull(contents).length; i++){\n m=p.matcher(contents[i]);\n if(m.find()) lis.addElement(contents[i]);\n }\n System.out.println(\"List of files and directories in the specified directory:\");\n for (String content : contents) {\n System.out.println(content);\n }\n }",
"public void unZip(String apkFile) throws Exception \r\n\t{\r\n\t\tLog.p(tag, apkFile);\r\n\t\tFile file = new File(apkFile);\r\n\t\r\n\t\t/*\r\n\t\t * Create the Base Directory, whose name should be same as Zip file name.\r\n\t\t * All decompressed contents will be placed under this folder.\r\n\t\t */\r\n\t\tString apkFileName = file.getName();\r\n\t\t\r\n\t\tif(apkFileName.indexOf('.') != -1)\r\n\t\t\tapkFileName = apkFileName.substring(0, apkFileName.indexOf('.'));\r\n\t\t\r\n\t\tLog.d(tag, \"Folder name: \"+ apkFileName);\r\n\t\t\r\n\t\tFile extractFolder = new File((file.getParent() == null ? \"\" : file.getParent() + File.separator) + apkFileName);\r\n\t\tif(!extractFolder.exists())\r\n\t\t\textractFolder.mkdir();\r\n\t\t\r\n\t\t/*\r\n\t\t * Read zip entries.\r\n\t\t */\r\n\t\tFileInputStream fin = new FileInputStream(apkFile);\r\n\t\tZipInputStream zin = new ZipInputStream(new BufferedInputStream(fin));\r\n\t\t\r\n\t\t/*\r\n\t\t * Zip InputStream shifts its index to every Zip entry when getNextEntry() is called.\r\n\t\t * If this method returns null, Zip InputStream reaches EOF.\r\n\t\t */\r\n\t\tZipEntry ze = null;\r\n\t\tBufferedOutputStream dest;\r\n\t\t\r\n\t\twhile((ze = zin.getNextEntry()) != null)\r\n\t\t{\r\n\t\t\tLog.d(tag, \"Zip entry: \" + ze.getName() + \" Size: \"+ ze.getSize());\r\n\t\t\t/*\r\n\t\t\t * Create decompressed file for each Zip entry. A Zip entry can be a file or directory.\r\n\t\t\t * ASSUMPTION: APK Zip entry uses Unix style File seperator- \"/\"\r\n\t\t\t * \r\n\t\t\t * 1. Create the prefix Zip Entry folder, if it is not yet available\r\n\t\t\t * 2. Create the individual Zip Entry file.\r\n\t\t\t */\r\n\t\t\tString zeName = ze.getName();\r\n\t\t\tString zeFolder = zeName;\r\n\t\t\t\r\n\t\t\tif(ze.isDirectory())\r\n\t\t\t{\r\n\t\t\t\tzeName = null; // Don't create Zip Entry file\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tif(zeName.indexOf(\"/\") == -1) // Zip entry uses \"/\"\r\n\t\t\t\t\tzeFolder = null; // It is File. don't create Zip entry Folder\r\n\t\t\t\telse {\r\n\t\t\t\t\tzeFolder = zeName.substring(0, zeName.lastIndexOf(\"/\"));\r\n\t\t\t\t\tzeName = zeName.substring( zeName.lastIndexOf(\"/\") + 1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tLog.d(tag, \"zeFolder: \"+ zeFolder +\" zeName: \"+ zeName);\r\n\t\t\t\r\n\t\t\t// Create Zip Entry Folder\r\n\t\t\tFile zeFile = extractFolder;\r\n\t\t\tif(zeFolder != null)\r\n\t\t\t{\r\n\t\t\t\tzeFile = new File(extractFolder.getPath() + File.separator + zeFolder);\r\n\t\t\t\tif(!zeFile.exists())\r\n\t\t\t\t\tzeFile.mkdirs();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Create Zip Entry File\r\n\t\t\tif(zeName == null)\r\n\t\t\t\tcontinue;\r\n\t\t\t\r\n\t\t\t// Keep track of XML files, they are in Android Binary XML format\r\n\t\t\tif(zeName.endsWith(\".xml\"))\r\n\t\t\t\txmlFiles.add(zeFile.getPath() + File.separator + zeName);\r\n\t\t\t\r\n\t\t\t// Keep track of the Dex/ODex file. Need to convert to Jar\r\n\t\t\tif(zeName.endsWith(\".dex\") || zeName.endsWith(\".odex\"))\r\n\t\t\t\tdexFile = zeFile.getPath() + File.separator + zeName;\r\n\t\t\t\r\n\t\t\t// Keep track of Resources.arsc file- resources.arsc\r\n\t\t\tif(zeName.endsWith(\".arsc\"))\r\n\t\t\t\tresFile = zeFile.getPath() + File.separator + zeName;\r\n\t\t\t\r\n\t\t\t// Write Zip entry File to the disk\r\n\t\t\tint count;\r\n\t\t\tbyte data[] = new byte[BUFFER];\r\n\t\t\t\r\n\t\t\tFileOutputStream fos = new FileOutputStream(zeFile.getPath() + File.separator + zeName);\r\n\t\t\tdest = new BufferedOutputStream(fos, BUFFER);\r\n\r\n\t\t\twhile ((count = zin.read(data, 0, BUFFER)) != -1) \r\n\t\t\t{\r\n\t\t\t\tdest.write(data, 0, count);\r\n\t\t\t}\r\n\t\t\tdest.flush();\r\n\t\t\tdest.close();\r\n\t\t}\r\n\r\n\t\t// Close Zip InputStream\r\n\t\tzin.close();\r\n\t\tfin.close();\r\n\t}",
"public static final void unzip(String zipfileName, String baseOutputDir) {\r\n Enumeration entries;\r\n ZipFile zipFile;\r\n try {\r\n zipFile = new ZipFile(zipfileName);\r\n entries = zipFile.entries();\r\n while (entries.hasMoreElements()) {\r\n ZipEntry entry = (ZipEntry) entries.nextElement();\r\n String entryName = entry.getName();\r\n String theName = baseOutputDir + '/' + entryName;\r\n if (entry.isDirectory()) {\r\n // Assume directories are stored parents first then children.\r\n System.out.println(\"Extracting directory: \" + entry.getName());\r\n // This is not robust, just for demonstration purposes.\r\n (new File(theName)).mkdirs();\r\n continue;\r\n }\r\n //(new File(theName)).mkdirs();\r\n forceParentDirectories(theName);\r\n System.out.println(\"Extracting file: \" + theName);\r\n copyInputStream(zipFile.getInputStream(entry), new BufferedOutputStream(new FileOutputStream(theName)));\r\n }\r\n zipFile.close();\r\n } catch (Exception ioe) {\r\n System.err.println(\"Unhandled exception:\");\r\n ioe.printStackTrace();\r\n return;\r\n }\r\n }",
"public void unZip(String fileName, String unZipTarget) throws IOException {\n this.unzipFileTargetLocation = unZipTarget;\n dirsMade = new TreeSet();\n zippy = new ZipFile(fileName);\n Enumeration all = zippy.entries();\n while (all.hasMoreElements()) {\n getFile((ZipEntry) all.nextElement());\n }\n }",
"public static void unzip(BasicShell shell, File archive, File destination) {\n\t\ttry {\n\t\t\tshell.printOut(\"Extracting files from archive '\" + archive.getPath() + \"'.\");\n\t\t\tZipFile zipFile = new ZipFile(archive);\n\t\t\tEnumeration<? extends ZipEntry> e = zipFile.entries();\n\t\t\twhile (e.hasMoreElements() ) {\n\t\t\t\tZipEntry entry = e.nextElement();\n\t\t\t\tFile entryFile = new File(destination, entry.getName());\n\t\t\t\tif ( entry.isDirectory() ) {\n\t\t\t\t\tentryFile.mkdirs();\n\t\t\t\t} else {\n\t\t\t\t\tentryFile.getParentFile().mkdirs();\n\t\t\t\t\t\n\t\t\t\t\tInputStream entryStream = zipFile.getInputStream(entry);\n\t\t\t\t\tBufferedOutputStream outStream = new BufferedOutputStream(new FileOutputStream(entryFile));\n\t\t\t\t\tbyte[] buffer = new byte[2048];\n\t\t\t\t\tint count = entryStream.read(buffer);\n\t\t\t\t\twhile ( count > -1 ) {\n\t\t\t\t\t\toutStream.write(buffer, 0, count);\n\t\t\t\t\t\tcount = entryStream.read(buffer);\n\t\t\t\t\t}\n\t\t\t\t\toutStream.flush();\n\t\t\t\t\toutStream.close();\n\t\t\t\t\tentryStream.close();\n\t\t\t\t}\n\t\t\t\tshell.printOut(\"Extracted file '\" + entry.getName() + \"'.\") ;\n\t\t\t}\n\t\t\tzipFile.close();\n\t\t} catch (Exception e) {\n\t\t\tshell.getErrorHandler().handleError(Diagnostic.ERROR, e.getClass().getSimpleName() + \": \"+ e.getMessage());\n\t\t}\n\n\t\t\n\t}",
"@Test\r\n public void testUnzipArchive() throws Exception {\r\n\r\n\r\n (new ZipUtils(\"Cp866\")).unzipArchive(\r\n \"src/test/resources/archive/testfile.zip\",\r\n \"target/test-classes/import/archive\"\r\n );\r\n\r\n File [] files = (new File(\"target/test-classes/import/archive\")).listFiles();\r\n\r\n boolean found = false;\r\n \r\n for (File file : files) {\r\n if (file.getAbsolutePath().contains(\"Привет, я файло.txt\")) {\r\n found = true;\r\n break;\r\n }\r\n }\r\n assertTrue(found);\r\n\r\n\r\n }",
"public void toUnzip(String zipFile, String targetDir) {\n\n\t\tMessage message = new Message();\n\t\tmessage.what = SUCCESS;\n\n\t\tint SIZE = 4096; // buffer size: 4KB\n\t\tString strEntry; // each zip entry name\n\t\ttry {\n\t\t\tBufferedOutputStream dest = null; // buffer output stream\n\t\t\tFileInputStream fis = new FileInputStream(zipFile);\n\t\t\tZipInputStream zis = new ZipInputStream(\n\t\t\t\t\tnew BufferedInputStream(fis));\n\t\t\tZipEntry entry; // each zip entry\n\t\t\twhile ((entry = zis.getNextEntry()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tint count;\n\t\t\t\t\tbyte data[] = new byte[SIZE];\n\t\t\t\t\tstrEntry = entry.getName();\n\n\t\t\t\t\tFile entryFile = new File(targetDir + strEntry);\n\t\t\t\t\tFile entryDir = new File(entryFile.getParent());\n\t\t\t\t\tif (!entryDir.exists()) {\n\t\t\t\t\t\tentryDir.mkdirs();\n\t\t\t\t\t}\n\n\t\t\t\t\tFileOutputStream fos = new FileOutputStream(entryFile);\n\t\t\t\t\tdest = new BufferedOutputStream(fos, SIZE);\n\t\t\t\t\twhile ((count = zis.read(data, 0, SIZE)) != -1) {\n\t\t\t\t\t\tdest.write(data, 0, count);\n\n\t\t\t\t\t\tMessage msg = Message.obtain();\n\t\t\t\t\t\tmsg.what = PROGRESS;\n\t\t\t\t\t\tmsg.obj = count;\n\t\t\t\t\t\thandler.sendMessage(msg);\n\t\t\t\t\t}\n\t\t\t\t\tdest.flush();\n\t\t\t\t\tdest.close();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\tmessage.what = ERROR;\n\t\t\t\t\tmessage.obj = ex.getMessage();\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tzis.close();\n\t\t\tFile fileszipe = new File(zipFile);\n\t\t\tfileszipe.delete();\n\t\t} catch (Exception cwj) {\n\t\t\tmessage.what = ERROR;\n\t\t\tmessage.obj = cwj.getMessage();\n\t\t\tcwj.printStackTrace();\n\t\t}\n\t\thandler.sendMessage(message);\n\t}",
"public static void unzip(File archive, File directory) throws IOException\n {\n ZipFile zip = null;\n\n if (directory.exists()) {\n if (!directory.isDirectory()) {\n throw new IOException(\"Directory is not a directory: \" + directory);\n }\n }\n else {\n if (!directory.mkdirs()) {\n throw new IOException(\"Could not create directory: \" + directory);\n }\n }\n try {\n zip = new ZipFile(archive);\n for (Enumeration entries = zip.entries(); entries.hasMoreElements();) {\n ZipEntry entry = (ZipEntry)entries.nextElement();\n File f = new File(directory, entry.getName());\n if (entry.isDirectory()) {\n if (!f.mkdirs()) {\n throw new IOException(\"Could not create directory: \" + f);\n }\n }\n else {\n if (zip != null) {\n InputStream is = zip.getInputStream(entry);\n OutputStream os = new BufferedOutputStream(new FileOutputStream(f));\n IOUtils.copy(is, os);\n IOUtils.closeQuietly(is);\n IOUtils.closeQuietly(os);\n }\n }\n }\n }\n finally {\n if (zip != null) {\n zip.close();\n }\n }\n }",
"public FilesArchived(File rootDir, String zip) {\n this.root = rootDir;\n this.compression = (\"zstd\".equals(zip)) ? Compression.ZSTD : Compression.GZIP;\n rescan();\n Thread thread = new Thread(this::run);\n thread.setDaemon(true);\n thread.setName(\"FilesArchived-maintainer\");\n thread.start();\n }",
"public static boolean UnzipFile(ZipFile zf, String filepathinzip, File fileinfiledir) {\r\n BufferedOutputStream Output_fos = null;\r\n BufferedInputStream bufbr = null;\r\n try {\r\n ZipEntry ze = zf.getEntry(filepathinzip);\r\n if (ze != null) {\r\n BufferedOutputStream Output_fos2 = new BufferedOutputStream(new FileOutputStream(fileinfiledir));\r\n try {\r\n byte[] buf = new byte[65536];\r\n BufferedInputStream bufbr2 = new BufferedInputStream(zf.getInputStream(ze));\r\n while (true) {\r\n try {\r\n int readlen = bufbr2.read(buf);\r\n if (readlen < 0) {\r\n break;\r\n }\r\n Output_fos2.write(buf, 0, readlen);\r\n } catch (Exception e) {\r\n e = e;\r\n bufbr = bufbr2;\r\n Output_fos = Output_fos2;\r\n } catch (Throwable th) {\r\n th = th;\r\n bufbr = bufbr2;\r\n Output_fos = Output_fos2;\r\n if (Output_fos != null) {\r\n try {\r\n Output_fos.close();\r\n if (bufbr != null) {\r\n try {\r\n bufbr.close();\r\n } catch (IOException e2) {\r\n e2.printStackTrace();\r\n return false;\r\n }\r\n }\r\n } catch (IOException e3) {\r\n e3.printStackTrace();\r\n if (bufbr == null) {\r\n return false;\r\n }\r\n try {\r\n bufbr.close();\r\n return false;\r\n } catch (IOException e4) {\r\n e4.printStackTrace();\r\n return false;\r\n }\r\n } finally {\r\n if (bufbr != null) {\r\n try {\r\n bufbr.close();\r\n } catch (IOException e5) {\r\n e5.printStackTrace();\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n throw th;\r\n }\r\n }\r\n if (Output_fos2 != null) {\r\n try {\r\n Output_fos2.close();\r\n if (bufbr2 != null) {\r\n try {\r\n bufbr2.close();\r\n } catch (IOException e6) {\r\n e6.printStackTrace();\r\n BufferedInputStream bufferedInputStream = bufbr2;\r\n BufferedOutputStream bufferedOutputStream = Output_fos2;\r\n return false;\r\n }\r\n }\r\n } catch (IOException e7) {\r\n e7.printStackTrace();\r\n if (bufbr2 != null) {\r\n try {\r\n bufbr2.close();\r\n } catch (IOException e8) {\r\n e8.printStackTrace();\r\n BufferedInputStream bufferedInputStream2 = bufbr2;\r\n BufferedOutputStream bufferedOutputStream2 = Output_fos2;\r\n return false;\r\n }\r\n }\r\n BufferedInputStream bufferedInputStream3 = bufbr2;\r\n BufferedOutputStream bufferedOutputStream3 = Output_fos2;\r\n return false;\r\n } finally {\r\n if (bufbr2 != null) {\r\n try {\r\n bufbr2.close();\r\n } catch (IOException e9) {\r\n e9.printStackTrace();\r\n BufferedInputStream bufferedInputStream4 = bufbr2;\r\n BufferedOutputStream bufferedOutputStream4 = Output_fos2;\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n BufferedInputStream bufferedInputStream5 = bufbr2;\r\n BufferedOutputStream bufferedOutputStream5 = Output_fos2;\r\n return true;\r\n } catch (Exception e10) {\r\n e = e10;\r\n Output_fos = Output_fos2;\r\n try {\r\n e.printStackTrace();\r\n if (Output_fos == null) {\r\n return false;\r\n }\r\n try {\r\n Output_fos.close();\r\n if (bufbr == null) {\r\n return false;\r\n }\r\n try {\r\n bufbr.close();\r\n return false;\r\n } catch (IOException e11) {\r\n e11.printStackTrace();\r\n return false;\r\n }\r\n } catch (IOException e12) {\r\n e12.printStackTrace();\r\n if (bufbr == null) {\r\n return false;\r\n }\r\n try {\r\n bufbr.close();\r\n return false;\r\n } catch (IOException e13) {\r\n e13.printStackTrace();\r\n return false;\r\n }\r\n } finally {\r\n if (bufbr != null) {\r\n try {\r\n bufbr.close();\r\n } catch (IOException e14) {\r\n e14.printStackTrace();\r\n return false;\r\n }\r\n }\r\n }\r\n } catch (Throwable th2) {\r\n th = th2;\r\n if (Output_fos != null) {\r\n }\r\n throw th;\r\n }\r\n } catch (Throwable th3) {\r\n th = th3;\r\n Output_fos = Output_fos2;\r\n if (Output_fos != null) {\r\n }\r\n throw th;\r\n }\r\n } else if (Output_fos == null) {\r\n return false;\r\n } else {\r\n try {\r\n Output_fos.close();\r\n if (bufbr == null) {\r\n return false;\r\n }\r\n try {\r\n bufbr.close();\r\n return false;\r\n } catch (IOException e15) {\r\n e15.printStackTrace();\r\n return false;\r\n }\r\n } catch (IOException e16) {\r\n e16.printStackTrace();\r\n if (bufbr == null) {\r\n return false;\r\n }\r\n try {\r\n bufbr.close();\r\n return false;\r\n } catch (IOException e17) {\r\n e17.printStackTrace();\r\n return false;\r\n }\r\n } finally {\r\n if (bufbr != null) {\r\n try {\r\n bufbr.close();\r\n } catch (IOException e18) {\r\n e18.printStackTrace();\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n } catch (Exception e19) {\r\n e = e19;\r\n }\r\n }",
"public static void extractZip(String archiveFile, String destinationPath) {\n\t\tFile targetDir = new File(destinationPath);\n\t\ttry (InputStream is = new FileInputStream(new File(archiveFile));\n\t\t\t\tArchiveInputStream i = new ArchiveStreamFactory().createArchiveInputStream(ArchiveStreamFactory.ZIP, is);) {\n\t\t\tArchiveEntry entry = null;\n\t\t\twhile ((entry = i.getNextEntry()) != null) {\n\t\t\t\tif (!i.canReadEntryData(entry)) {\n\t\t\t\t\tlog.error(\"entry cannot be read!! \" + entry.getName());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif (entry.isDirectory()) {\n\t\t\t\t\t// ignore dirs as we don't want to extract any directories (non will exist in this case)\n\t\t\t\t} else {\n\t\t\t\t\t//no point in unzipping empty files\n\t\t\t\t\tif(entry.getSize() > 0) {\n\t\t\t\t\t\tString name = entry.getName();\n\t\t\t\t\t\t//in case the file was a child to a folder, we remove the parent name\n\t\t\t\t\t\tif(name.lastIndexOf(\"/\")!=-1) {\n\t\t\t\t\t\t\tname = name.substring(name.lastIndexOf(\"/\")+1);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tFile f = new File(targetDir + \"/\" + name);\n\t\t\t\t\t\tOutputStream o = Files.newOutputStream(f.toPath());\n\t\t\t\t\t\tIOUtils.copy(i, o);\n\t\t\t\t\t\to.close();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.fatal(\"Exception thrown while zipping\", e);\n\t\t}\n\t}",
"private static void zipFolder(ZipOutputStream out, File folder) throws IOException {\n\n final int BUFFER = 2048;\n\n File[] fileList = folder.listFiles();\n BufferedInputStream origin;\n\n for (File file : fileList) {\n if (file.isDirectory()) {\n zipFolder(out, file);\n } else {\n byte data[] = new byte[BUFFER];\n\n String unmodifiedFilePath = file.getPath();\n FileInputStream fi = new FileInputStream(unmodifiedFilePath);\n\n origin = new BufferedInputStream(fi, BUFFER);\n ZipEntry entry = new ZipEntry(file.getName());\n\n out.putNextEntry(entry);\n\n int count;\n while ((count = origin.read(data, 0, BUFFER)) != -1) {\n out.write(data, 0, count);\n }\n\n out.closeEntry();\n origin.close();\n }\n }\n\n // Finish the zip stream and close it\n out.finish();\n out.close();\n }",
"public void unzip(String zipFilePath, String destDirectory) throws IOException {\n File destDir = new File(destDirectory);\n if (!destDir.exists()) {\n destDir.mkdir();\n }\n ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry entry = zipIn.getNextEntry();\n // iterates over entries in the zip file\n while (entry != null) {\n String filePath = destDirectory + \"\\\\\" + entry.getName();\n if (!entry.isDirectory()) {\n // if the entry is a file, extracts it\n extractFile(zipIn, filePath);\n } else {\n // if the entry is a directory, make the directory\n File dir = new File(filePath);\n dir.mkdir();\n }\n zipIn.closeEntry();\n entry = zipIn.getNextEntry();\n }\n zipIn.close();\n }",
"@Override\r\n public void extractArchive(ArchiveExtractor decompressor) throws ArcException {\r\n\r\n\tString fileName = ManipString.substringAfterFirst(this.idSource, \"_\");\r\n\r\n\tboolean uncompressInProgress=false;\r\n\tFile dir = new File(this.archiveChargement + \".dir\");\r\n\tif (!dir.exists()) {\r\n\t\ttry {\r\n\t\t if (dir.mkdir())\r\n\t\t {\r\n\t\t \tStaticLoggerDispatcher.debug(LOGGER,\"$$\"+Thread.currentThread().getId()+\" is decompressing \"+dir.getAbsolutePath());\r\n\t\t \tdecompressor.extract(this.archiveChargement);\r\n\t\t \tuncompressInProgress=true;\r\n\t\t }\r\n\t\t}\r\n\t\t catch (Exception ex)\r\n\t\t{\r\n\t\t\t throw new ArcException(ex, ArcExceptionMessage.FILE_EXTRACT_FAILED, this.archiveChargement).logFullException();\r\n\t\t}\r\n\t}\r\n\t\r\n\tif (!uncompressInProgress) {\r\n\t\t\t// check if file exists\r\n\t File toRead = new File(dir + File.separator + ManipString.redoEntryName(fileName));\r\n\t while (!toRead.exists()) {\r\n\t \ttry {\r\n\t\t\t\tThread.sleep(MILLISECOND_UNCOMPRESSION_CHECK_INTERVAL);\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\tThread.currentThread().interrupt();\r\n\t\t\t StaticLoggerDispatcher.error(LOGGER, \"Error in thread sleep extractArchive()\");\r\n\t\t\t}\r\n\t \ttoRead = new File(dir + File.separator + ManipString.redoEntryName(fileName));\r\n\t }\r\n\t}\r\n\r\n\r\n\t\r\n }",
"private static void extract (Path zipPath, Path destination)\n\t\tthrows IOException\n\t{\n\t\tif (Files.isDirectory (zipPath))\n\t\t{\n\t\t\ttry (DirectoryStream<Path> directoryStream = Files\n\t\t\t\t.newDirectoryStream (zipPath);)\n\t\t\t{\n\t\t\t\tfor (Path file : directoryStream)\n\t\t\t\t{\n\t\t\t\t\textract (file, destination);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tPath fileOutZip = destination\n\t\t\t\t.resolve (\"./\" + zipPath.normalize ().toString ()).normalize ();\n\t\t\tFiles.createDirectories (fileOutZip.getParent ());\n\t\t\tFiles.copy (zipPath, fileOutZip, Utils.COPY_OPTION);\n\t\t}\n\t}",
"public static void unzipFiles(EmailTypes collection) {\n unzip(collection);\n }",
"public static void zipFiles(List<String> srcFiles, String directoryPath) throws FileNotFoundException, IOException {\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"dd-MM-yyyy-HHmmss\");\r\n LocalDateTime now = LocalDateTime.now();\r\n String d = dtf.format(now);\r\n FileOutputStream fos = new FileOutputStream(directoryPath + \"\\\\\" + \"backupRexs\" + d + \".zip\");\r\n ZipOutputStream zipOut = new ZipOutputStream(fos);\r\n for (String srcFile : srcFiles) {\r\n File fileToZip = new File(srcFile);\r\n FileInputStream fis = new FileInputStream(fileToZip);\r\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\r\n zipOut.putNextEntry(zipEntry);\r\n\r\n byte[] bytes = new byte[1024];\r\n int length;\r\n while ((length = fis.read(bytes)) >= 0) {\r\n zipOut.write(bytes, 0, length);\r\n }\r\n fis.close();\r\n fileToZip.delete();\r\n }\r\n zipOut.close();\r\n fos.close();\r\n }",
"public static void unzip(String zipFilePath, String destDirectory) throws IOException {\n File destDir = new File(destDirectory);\n if (!destDir.exists()) {\n destDir.mkdir();\n }\n ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry entry = zipIn.getNextEntry();\n // iterates over entries in the zip file\n while (entry != null) {\n String filePath = destDirectory + File.separator + entry.getName();\n if (!entry.isDirectory()) {\n // if the entry is a file, extracts it\n extractFile(zipIn, filePath);\n } else {\n // if the entry is a directory, make the directory\n File dir = new File(filePath);\n dir.mkdir();\n }\n zipIn.closeEntry();\n entry = zipIn.getNextEntry();\n }\n zipIn.close();\n }",
"public static void unzip(String zipFilePath, String destDirectory) throws IOException {\n File destDir = new File(destDirectory);\n if (!destDir.exists()) {\n destDir.mkdir();\n }\n ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry entry = zipIn.getNextEntry();\n // iterates over entries in the zip file\n while (entry != null) {\n String filePath = destDirectory + File.separator + entry.getName();\n if (!entry.isDirectory()) {\n // if the entry is a file, extracts it\n extractFile(zipIn, filePath);\n } else {\n // if the entry is a directory, make the directory\n File dir = new File(filePath);\n dir.mkdir();\n }\n zipIn.closeEntry();\n entry = zipIn.getNextEntry();\n }\n zipIn.close();\n }",
"private void unzip(File zipFile, File targetDirectory) throws LpException {\n try {\n final ZipFile zip = new ZipFile(zipFile);\n if (zip.isEncrypted()) {\n throw new LpException(\"File is encrypted: {}\",\n zipFile.getName());\n }\n zip.extractAll(targetDirectory.toString());\n } catch (ZipException ex) {\n throw new LpException(\"Extraction failure: {}\",\n zipFile.getName(), ex);\n }\n }",
"public void extractPackage(String zipPath, String destPath) throws IOException {\n File destDir = new File(destPath);\n if(!destDir.exists()) {\n destDir.mkdir();\n }\n ZipInputStream zipIn = new ZipInputStream(new FileInputStream((zipPath)));\n ZipEntry entry = zipIn.getNextEntry();\n while(entry != null) {\n String filePath = destPath+File.separator+entry.getName();\n //filePath = filePath.replaceAll(\" \",\"_\");\n if(!entry.isDirectory()) {\n Log.i(\"extract\",\"Package Name: \"+entry.getName());\n Log.i(\"extract\",filePath);\n String[] temp = entry.getName().split(\"\\\\.\");\n if(validExtension(temp[temp.length-1].toLowerCase())) {\n extractFile(zipIn,filePath);\n }\n //extractFile(zipIn,filePath);\n } else {\n File dir = new File(filePath);\n dir.mkdirs();\n }\n zipIn.closeEntry();;\n entry = zipIn.getNextEntry();\n }\n zipIn.close();\n }",
"public static void unZip(String zipFilePath, String outPath) throws Exception {\n unZip(new FileInputStream(zipFilePath), outPath);\n }",
"private static void extractFile(ZipInputStream inStreamZip, FSDataOutputStream destDirectory) throws IOException {\n BufferedOutputStream bos = new BufferedOutputStream(destDirectory);\n byte[] bytesIn = new byte[BUFFER_SIZE];\n int read = 0;\n while ((read = inStreamZip.read(bytesIn)) != -1) {\n bos.write(bytesIn, 0, read);\n }\n bos.close();\n }",
"protected static void zipDir(File zipDir, ZipOutputStream zos, String archiveSourceDir)\n throws IOException {\n String[] dirList = zipDir.list();\n byte[] readBuffer = new byte[40960];\n int bytesIn;\n //loop through dirList, and zip the files\n if (dirList != null) {\n for (String aDirList : dirList) {\n File f = new File(zipDir, aDirList);\n //place the zip entry in the ZipOutputStream object\n zos.putNextEntry(new ZipEntry(getZipEntryPath(f, archiveSourceDir)));\n if (f.isDirectory()) {\n //if the File object is a directory, call this\n //function again to add its content recursively\n zipDir(f, zos, archiveSourceDir);\n //loop again\n continue;\n }\n //if we reached here, the File object f was not a directory\n //create a FileInputStream on top of f\n try (FileInputStream fis = new FileInputStream(f)) {\n //now write the content of the file to the ZipOutputStream\n while ((bytesIn = fis.read(readBuffer)) != -1) {\n zos.write(readBuffer, 0, bytesIn);\n }\n }\n }\n }\n }",
"private void zipDirectoryToOutputStream(File dirToZip, OutputStream outStream)\n throws IOException {\n if (!dirToZip.isDirectory()) {\n throw new IOException(\"zip directory does not exist\");\n }\n Log.v(TAG, \"zipping directory \" + dirToZip.getAbsolutePath());\n\n File[] listFiles = dirToZip.listFiles();\n try (ZipOutputStream zipStream = new ZipOutputStream(new BufferedOutputStream(outStream))) {\n for (File file : listFiles) {\n if (file.isDirectory()) {\n continue;\n }\n String filename = file.getName();\n // only for the zipped output file, we add individual entries to zip file.\n if (filename.equals(OUTPUT_ZIP_FILE) || filename.equals(EXTRA_OUTPUT_ZIP_FILE)) {\n ZipUtils.extractZippedFileToZipStream(file, zipStream);\n } else {\n ZipUtils.addFileToZipStream(file, zipStream);\n }\n }\n } finally {\n outStream.close();\n }\n // Zipping successful, now cleanup the temp dir.\n FileUtils.deleteDirectory(dirToZip);\n }",
"private boolean unZipFileFromUrl(final String zipUrl, final File unzipFolder)\n {\n // cleanup left over files\n FileUtils.deleteFile(unzipFolder);\n FileUtils.createDirectories(unzipFolder);\n\n final URL downloadUrl;\n\n try {\n downloadUrl = new URL(zipUrl);\n\n } catch (final MalformedURLException e) {\n LOGGER.error(String.format(FishStatJFileConstants.DOWNLOAD_ERROR, zipUrl), e);\n return false;\n }\n\n try\n (InputStream urlInputStream = downloadUrl.openStream();\n ZipInputStream zipStream = new ZipInputStream(urlInputStream)) {\n\n // iterate through the files of the zip input stream\n while (true) {\n final ZipEntry entry = zipStream.getNextEntry();\n\n if (entry == null)\n break;\n\n // open streams for writing files to disk\n try\n (OutputStream fileOut = Files.newOutputStream(new File(unzipFolder, entry.getName()).toPath());\n BufferedOutputStream bufferedFileOut = new BufferedOutputStream(fileOut, FishStatJFileConstants.ZIP_EXTRACT_BUFFER_SIZE)) {\n\n // write the file from the stream to disk\n final byte[] fileOutBuffer = new byte[FishStatJFileConstants.ZIP_EXTRACT_BUFFER_SIZE];\n\n while (true) {\n final int readByteCount = zipStream.read(fileOutBuffer, 0, fileOutBuffer.length);\n\n if (readByteCount == -1)\n break;\n else\n bufferedFileOut.write(fileOutBuffer, 0, readByteCount);\n }\n\n bufferedFileOut.flush();\n }\n }\n\n return true;\n\n } catch (final ZipException e) {\n LOGGER.error(String.format(FishStatJFileConstants.UNZIP_ERROR, zipUrl), e);\n\n } catch (final IOException e) {\n LOGGER.error(String.format(FishStatJFileConstants.DOWNLOAD_ERROR, zipUrl), e);\n }\n\n return false;\n }",
"public static void extractFile(String zipFilePath, String inZipFilePath, String destDirectory) throws IOException {\n ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFilePath));\n ZipEntry entry = zipIn.getNextEntry();\n // iterates over entries in the zip file\n while (entry != null) {\n if (!entry.isDirectory() && inZipFilePath.equals(entry.getName())) {\n String filePath = entry.getName();\n int separatorIndex = filePath.lastIndexOf(File.separator);\n if (separatorIndex > -1)\n filePath = filePath.substring(separatorIndex + 1, filePath.length());\n filePath = destDirectory + File.separator + filePath;\n extractFile(zipIn, filePath);\n break;\n }\n zipIn.closeEntry();\n entry = zipIn.getNextEntry();\n }\n zipIn.close();\n }",
"private void unzipDownloadedFile(String zipFile) throws ZipException, IOException{\n\t int BUFFER = 2048;\n\t \n\t // get zip file\n\t File file = new File(zipFile);\n\t ZipFile zip = new ZipFile(file);\n\t \n\t // unzip to directory of the same name\n\t // When sip is a directory, this gets two folders\n\t //String newPath = zipFile.substring(0, zipFile.length() - 4);\n\t //new File(newPath).mkdir();\n\t \n\t // unzip to parent directory of the zip file\n\t // This is assuming zip if of a directory\n\t String newPath = file.getParent();\n\t \n\t // Process each entry\n\t Enumeration<? extends ZipEntry> zipFileEntries = zip.entries();\n\t while (zipFileEntries.hasMoreElements())\n\t {\n\t // grab a zip file entry\n\t ZipEntry entry = (ZipEntry) zipFileEntries.nextElement();\n\t String currentEntry = entry.getName();\n\t File destFile = new File(newPath, currentEntry);\n\t File destinationParent = destFile.getParentFile();\n\n\t // create the parent directory structure if needed\n\t destinationParent.mkdirs();\n\n\t if (!entry.isDirectory())\n\t {\n\t BufferedInputStream is = new BufferedInputStream(zip.getInputStream(entry));\n\t int currentByte;\n\t // establish buffer for writing file\n\t byte data[] = new byte[BUFFER];\n\n\t // write the current file to disk\n\t FileOutputStream fos = new FileOutputStream(destFile);\n\t BufferedOutputStream dest = new BufferedOutputStream(fos,\n\t BUFFER);\n\n\t // read and write until last byte is encountered\n\t while ((currentByte = is.read(data, 0, BUFFER)) != -1) {\n\t dest.write(data, 0, currentByte);\n\t }\n\t dest.flush();\n\t dest.close();\n\t is.close();\n\t }\n\n\t if (currentEntry.endsWith(\".zip\"))\n\t {\n\t // found a zip file, try to open\n\t \tunzipDownloadedFile(destFile.getAbsolutePath());\n\t }\n\t }\n\t zip.close();\n\t}",
"void onUnzipCompleted(String output);",
"public static void unzip(File zipFile, File destDir) throws IOException {\n BufferedOutputStream dest = null;\n FileInputStream fis = new FileInputStream(zipFile);\n ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));\n ZipEntry entry;\n while ((entry = zis.getNextEntry()) != null) {\n if (log.isDebugEnabled()) {\n log.debug(\"Extracting: \" + entry);\n }\n int count;\n byte[] data = new byte[BUFFER_SIZE];\n FileOutputStream fos = new FileOutputStream(destDir.getAbsolutePath() + \"/\" + entry.getName());\n dest = new BufferedOutputStream(fos, BUFFER_SIZE);\n while ((count = zis.read(data, 0, BUFFER_SIZE)) != -1) {\n dest.write(data, 0, count);\n }\n dest.flush();\n dest.close();\n }\n zis.close();\n }",
"public void scanZipFile() {\r\n\t\tnew SwingWorker<Void, String>() {\r\n\t\t\tprotected Void doInBackground() throws Exception {\r\n\t\t\t\tZipInputStream zin = new ZipInputStream(new FileInputStream(\r\n\t\t\t\t\t\tzipname));\r\n\t\t\t\tZipEntry entry;\r\n\t\t\t\twhile ((entry = zin.getNextEntry()) != null) {\r\n\t\t\t\t\tpublish(entry.getName());\r\n\t\t\t\t\tzin.closeEntry();\r\n\t\t\t\t}\r\n\t\t\t\tzin.close();\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\r\n\t\t\tprotected void process(List<String> names) {\r\n\t\t\t\tfor (String name : names)\r\n\t\t\t\t\tfileCombo.addItem(name);\r\n\r\n\t\t\t}\r\n\t\t}.execute();\r\n\t}",
"public static void unzip(String csarFilename, Map<String, ToscaServiceTemplate> unzippedTemplates, String... filter)\n throws PolicyDecodingException, CoderException {\n try (var zipFile = new ZipFile(csarFilename)) {\n int totalSizeArchive = 0;\n int totalEntryArchive = 0;\n\n Enumeration<? extends ZipEntry> entries = zipFile.entries();\n\n while (entries.hasMoreElements()) {\n ZipEntry entry = entries.nextElement();\n totalEntryArchive++;\n\n if (checkEntryFilter(entry.getName(), filter)) {\n validateZipEntry(entry.getName(), csarFilename);\n InputStream entryData = new BufferedInputStream(zipFile.getInputStream(entry));\n\n int bufferedBytes;\n byte[] buffer = new byte[2048];\n int totalSizeEntry = 0;\n\n boolean isValidThreshold = true;\n while ((bufferedBytes = entryData.read(buffer)) > 0 && isValidThreshold) {\n totalSizeEntry += bufferedBytes;\n totalSizeArchive += bufferedBytes;\n\n double compressionRatio = Math.floorDiv(totalSizeEntry, entry.getCompressedSize());\n isValidThreshold = compressionRatio <= THRESHOLD_RATIO;\n }\n\n unzippedTemplates.put(entry.getName(), decodeFile(entry.getName(), zipFile.getInputStream(entry)));\n }\n\n if (totalSizeArchive > THRESHOLD_SIZE || totalEntryArchive > THRESHOLD_ENTRIES) {\n // the uncompressed data size is too much for the application resource capacity\n break;\n }\n }\n } catch (IOException exception) {\n throw new PolicyDecodingException(\"Couldn't read the zipFile\", exception);\n }\n }",
"private void scanJarArchive() throws AnalyzerException {\n\t\tJarFile jarFile;\n\t\ttry {\n\t\t\tjarFile = new JarFile(archive);\n\t\t} catch (IOException ioe) {\n\t\t\tthrow new AnalyzerException(\"Cannot build jar file on archive '\"\n\t\t\t\t\t+ archive + \"'.\", ioe);\n\t\t}\n\t\tEnumeration<? extends ZipEntry> en = jarFile.entries();\n\t\twhile (en.hasMoreElements()) {\n\t\t\tZipEntry e = en.nextElement();\n\t\t\tString name = e.getName();\n\t\t\t// iterate through the jar file\n\t\t\tif (name.toLowerCase().endsWith(\".class\")) {\n\t\t\t\ttry {\n\t\t\t\t\tnew ClassReader(jarFile.getInputStream(e)).accept(\n\t\t\t\t\t\t\tscanVisitor, ClassReader.SKIP_CODE);\n\t\t\t\t} catch (Exception ioe) {\n\t\t\t\t\tthrow new AnalyzerException(\n\t\t\t\t\t\t\t\"Error while analyzing file entry '\" + name\n\t\t\t\t\t\t\t\t\t+ \"' in jar file '\" + archive + \"'\", ioe);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\ttry {\n\t\t\tjarFile.close();\n\t\t} catch (IOException ioe) {\n\t\t\tlogger.warn(\"Error while trying to close the file '\" + jarFile\n\t\t\t\t\t+ \"'\", ioe);\n\t\t}\n\n\t}",
"public static void zip(BasicShell shell, File archive, List<File> filesToZip) {\n\t\ttry {\n\t\t\tshell.printOut(\"Creating archive '\" + archive.getPath() + \"'.\");\n\t\t\tfinal BufferedOutputStream archiveStream = new BufferedOutputStream(new FileOutputStream(archive));\n\t\t\tZipOutputStream zipStream = new ZipOutputStream(archiveStream);\n\t\t\tzipStream.setLevel(7);\n\t\t\t\n\t\t\tString pwd = shell.pwd().getPath();\n\t\t\tfor ( File file : filesToZip) {\n\t\t\t\tString name = file.getPath();\n\t\t\t\tif (name.equals(pwd)) continue;\n\t\t\t\t\n\t\t\t\tif ( name.startsWith(pwd) ) {\n\t\t\t\t\tname = name.substring(pwd.length()+1);\n\t\t\t\t}\n\t\t\t\tZipEntry entry = new ZipEntry(name);\n\t\t\t\tzipStream.putNextEntry(entry);\n\t\t\t\tif ( file.isFile() ) {\n\t\t\t\t\tBufferedInputStream fileStream = new BufferedInputStream(new FileInputStream(file));\n\t\t\t\t\tbyte[] buffer = new byte[2048];\n\t\t\t\t\tint count = fileStream.read(buffer);\n\t\t\t\t\twhile ( count > -1 ) {\n\t\t\t\t\t\tzipStream.write(buffer, 0, count);\n\t\t\t\t\t\tcount = fileStream.read(buffer);\n\t\t\t\t\t}\n\t\t\t\t\tfileStream.close();\n\t\t\t\t}\n\t\t\t\tshell.printOut(\"File '\" + entry.getName() + \"' added.\");\n\t\t\t}\n\t\t\tzipStream.close();\n\t\t} catch (Exception e) {\n\t\t\tshell.getErrorHandler().handleError(Diagnostic.ERROR, e.getClass().getSimpleName() + \": \"+ e.getMessage());\n\t\t}\n\t}",
"private void compress()\n\t{\n\t\ttry\n\t\t{\n\t\t\tZipOutputStream rfoFile = new ZipOutputStream(new FileOutputStream(path + fileName)); \n\t\t\tFile dirToZip = new File(rfoDir); \n\t\t\tString[] fileList = dirToZip.list(); \n\t\t\tbyte[] buffer = new byte[4096]; \n\t\t\tint bytesIn = 0; \n\n\t\t\tfor(int i=0; i<fileList.length; i++) \n\t\t\t{ \n\t\t\t\tFile f = new File(dirToZip, fileList[i]); \n\t\t\t\tFileInputStream fis = new FileInputStream(f); \n\t\t\t\tString zEntry = f.getPath();\n\t\t\t\t//System.out.println(\"\\n\" + zEntry);\n\t\t\t\tint start = zEntry.indexOf(uniqueName);\n\t\t\t\tzEntry = zEntry.substring(start + uniqueName.length() + 1, zEntry.length());\n\t\t\t\t//System.out.println(tempDir);\n\t\t\t\t//System.out.println(zEntry + \"\\n\");\n\t\t\t\tZipEntry entry = new ZipEntry(zEntry); \n\t\t\t\trfoFile.putNextEntry(entry); \n\t\t\t\twhile((bytesIn = fis.read(buffer)) != -1) \n\t\t\t\t\trfoFile.write(buffer, 0, bytesIn); \n\t\t\t\tfis.close();\n\t\t\t}\n\t\t\trfoFile.close();\n\t\t} catch (Exception e)\n\t\t{\n\t\t\tDebug.e(\"RFO.compress(): \" + e);\n\t\t}\n\t}",
"public static void unzip(InputStream is, String outdir) throws IOException {\r\n\r\n\t\tbyte[] buffer = new byte[buffSize];\r\n\r\n\t\tjava.util.zip.ZipInputStream zis = new java.util.zip.ZipInputStream(new BufferedInputStream(is));\r\n\r\n\t\tjava.util.zip.ZipEntry entry;\r\n\r\n\t\ttry {\r\n\t\t\twhile ((entry = zis.getNextEntry()) != null) {\r\n\r\n\t\t\t\tFile of = new File(outdir + File.separator + entry.getName());\r\n\r\n\t\t\t\tif (entry.isDirectory()) {\r\n\t\t\t\t\tof.mkdirs();\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tFile xx = new File(of.getParent());\r\n\t\t\t\t\tif (!xx.exists()) {\r\n\t\t\t\t\t\tStack<String> todo = new Stack<String>();\r\n\t\t\t\t\t\tdo {\r\n\t\t\t\t\t\t\ttodo.push(xx.getAbsolutePath());\r\n\t\t\t\t\t\t\txx = new File(xx.getParent());\r\n\t\t\t\t\t\t} while (!xx.exists());\r\n\t\t\t\t\t\twhile (todo.size() > 0) {\r\n\t\t\t\t\t\t\txx = new File(todo.pop());\r\n\t\t\t\t\t\t\tif (!xx.exists()) {\r\n\t\t\t\t\t\t\t\txx.mkdirs();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tBufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(of), buffer.length);\r\n\r\n\t\t\t\tcpio(new BufferedInputStream(zis), bos, \"unzip:\" + entry.getName());\r\n\r\n\t\t\t\tbos.flush();\r\n\t\t\t\tbos.close();\r\n\t\t\t}\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\t// problem with chars in entry name likely\r\n\t\t}\r\n\t\tzis.close();\r\n\r\n\t}",
"public static void unpackFiles() throws IOException {\n if(!new File(\"src/main/resources/tmp\").exists() || (Objects.requireNonNull(new File(\"src/main/resources/tmp\").list()).length != IO.sourceFiles.size())) {\n IO.unzipFiles();\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/ham_Calibration\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.HAM_CAL)).size()) {\n IO.unzipFiles(EmailTypes.HAM_CAL);\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/ham_Test\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.HAM_TEST)).size()) {\n IO.unzipFiles(EmailTypes.HAM_TEST);\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/ham_Train\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.HAM_TRAIN)).size()) {\n IO.unzipFiles(EmailTypes.HAM_TRAIN);\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/spam_Calibration\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.SPAM_CAL)).size()) {\n IO.unzipFiles(EmailTypes.SPAM_CAL);\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/spam_Test\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.SPAM_TEST)).size()) {\n IO.unzipFiles(EmailTypes.SPAM_TEST);\n } else if(Objects.requireNonNull(new File(\"src/main/resources/tmp/spam_Train\").list()).length != new ZipFile(IO.sourceFiles.get(EmailTypes.SPAM_TRAIN)).size()) {\n IO.unzipFiles(EmailTypes.SPAM_TRAIN);\n } else {\n System.out.println(\"Files already unpacked - skipping\\n\");\n }\n calculateSizes();\n }",
"public static synchronized void removeArchiveFiles() {\n System.out.println(Thread.currentThread().getName() + \"********************************************************* TestHelper.removeArchiveFiles\");\n String firstDestinationDirName = System.getProperty(USER_DIR)\n + File.separator\n + QVCSConstants.QVCS_PROJECTS_DIRECTORY\n + File.separator\n + getTestProjectName();\n File firstDestinationDirectory = new File(firstDestinationDirName);\n\n String secondDestinationDirName = firstDestinationDirName + File.separator + \"subProjectDirectory\";\n File secondDestinationDirectory = new File(secondDestinationDirName);\n\n String thirdDestinationDirName = secondDestinationDirName + File.separator + \"subProjectDirectory2\";\n File thirdDestinationDirectory = new File(thirdDestinationDirName);\n\n String fourthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_CEMETERY_DIRECTORY;\n File fourthDestinationDirectory = new File(fourthDestinationDirName);\n\n String fifthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_DIRECTORY_METADATA_DIRECTORY;\n File fifthDestinationDirectory = new File(fifthDestinationDirName);\n\n String sixthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_BRANCH_ARCHIVES_DIRECTORY;\n File sixthDestinationDirectory = new File(sixthDestinationDirName);\n\n deleteDirectory(sixthDestinationDirectory);\n deleteDirectory(fifthDestinationDirectory);\n deleteDirectory(fourthDestinationDirectory);\n deleteDirectory(thirdDestinationDirectory);\n deleteDirectory(secondDestinationDirectory);\n deleteDirectory(firstDestinationDirectory);\n }",
"public static List<String> scanFileNamesInArchive(InputStream in)\r\n\t\t\tthrows IOException {\r\n\r\n\t\tfinal List<String> back = new ArrayList<String>();\r\n\r\n\t\tJarInputStream jin = new JarInputStream(in);\r\n\t\tZipEntry entry = jin.getNextEntry();\r\n\t\twhile (entry != null) {\r\n\r\n\t\t\tString fileName = entry.getName();\r\n\t\t\tif (fileName.charAt(fileName.length() - 1) == '/') {\r\n\t\t\t\tfileName = fileName.substring(0, fileName.length() - 1);\r\n\t\t\t}\r\n\r\n\t\t\tif (fileName.charAt(0) == '/') {\r\n\t\t\t\tfileName = fileName.substring(1);\r\n\t\t\t}\r\n\r\n\t\t\tif (File.separatorChar != '/') {\r\n\t\t\t\tfileName = fileName.replace('/', File.separatorChar);\r\n\t\t\t}\r\n\r\n\t\t\tif (!entry.isDirectory()) {\r\n\t\t\t\tback.add(fileName);\r\n\t\t\t}\r\n\r\n\t\t\tentry = jin.getNextEntry();\r\n\t\t}\r\n\t\tjin.close();\r\n\t\treturn back;\r\n\t}",
"public void unzip(String _zipFile, String _targetLocation) {\n dirChecker(_targetLocation);\n\n try {\n FileInputStream fin = new FileInputStream(_zipFile);\n ZipInputStream zin = new ZipInputStream(fin);\n ZipEntry ze = null;\n while ((ze = zin.getNextEntry()) != null) {\n\n //create dir if required while unzipping\n if (ze.isDirectory()) {\n dirChecker(ze.getName());\n } else {\n FileOutputStream fout = new FileOutputStream(_targetLocation + ze.getName());\n for (int c = zin.read(); c != -1; c = zin.read()) {\n fout.write(c);\n }\n\n zin.closeEntry();\n fout.close();\n }\n\n }\n zin.close();\n } catch (Exception e) {\n System.out.println(e);\n }\n }",
"private void getAllJarFiles(File dir, ArrayList fileList)\n\t{\n\t\tif (dir.exists() && dir.isDirectory())\n\t\t{\n\t\t\tFile[] files = dir.listFiles();\n\t\t\tif (files == null)\n\t\t\t\treturn;\n\n\t\t\tfor (int i = 0; i < files.length; i++)\n\t\t\t{\n\t\t\t\tFile file = files[i];\n\t\t\t\tif (file.isFile())\n\t\t\t\t{\n\t\t\t\t\tif (file.getName().endsWith(\".jar\")) //$NON-NLS-1$\n\t\t\t\t\t\tfileList.add(file);\n\t\t\t\t}\n\t\t\t\telse if (file.isDirectory())\n\t\t\t\t{\n\t\t\t\t\tgetAllJarFiles(file, fileList);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"@Override\r\n\tpublic void decompileFromArchive( String archivePath, String packege, String className )\r\n\t{\r\n\t\tstart = System.currentTimeMillis( );\r\n\t\tFile workingDir = new File(\r\n\t\t\t\tJavaDecompilerPlugin.getDefault( ).getPreferenceStore( ).getString( JavaDecompilerPlugin.TEMP_DIR )\r\n\t\t\t\t\t\t+ \"/\" //$NON-NLS-1$\r\n\t\t\t\t\t\t+ System.currentTimeMillis( ) );\r\n\r\n\t\ttry\r\n\t\t{\r\n\t\t\tworkingDir.mkdirs( );\r\n\t\t\tJarClassExtractor.extract( archivePath, packege, className, true, workingDir.getAbsolutePath( ) );\r\n\t\t\tdecompile( workingDir.getAbsolutePath( ), \"\", className ); //$NON-NLS-1$\r\n\t\t}\r\n\t\tcatch ( Exception e )\r\n\t\t{\r\n\t\t\texcList.add( e );\r\n\t\t\t// logExceptions();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\tFileUtil.deltree( workingDir );\r\n\t\t}\r\n\t}",
"public static void compressFolder(String dirPath, String zipFileName) throws Exception {\n\t\tFile destination = new File(zipFileName);\n\t\tFile source = new File(dirPath);\n\t\tOutputStream archiveStream = new FileOutputStream(destination);\n\t\tArchiveOutputStream archive = new ArchiveStreamFactory().createArchiveOutputStream(ArchiveStreamFactory.ZIP,\n\t\t\t\tarchiveStream);\n\n\t\tCollection<File> fileList = FileUtils.listFiles(source, null, true);\n\n\t\t//loop through all files and add them one by one to the archive\n\t\tfor (File file : fileList) {\n\t\t\tString entryName = getEntryName(source, file);\n\t\t\tZipArchiveEntry entry = new ZipArchiveEntry(entryName);\n\t\t\tarchive.putArchiveEntry(entry);\n\n\t\t\tBufferedInputStream input = new BufferedInputStream(new FileInputStream(file));\n\n\t\t\tIOUtils.copy(input, archive);\n\t\t\tinput.close();\n\t\t\tarchive.closeArchiveEntry();\n\t\t}\n\n\t\tarchive.finish();\n\t\tarchiveStream.close();\n\t}",
"private boolean extractSettingsZip(File fSettingsZip, String destDir, int index)\n {\n boolean result = false;\n try\n {\n //m_logWriter.write(\"Unzipping to destination: \"+destDir+\"\\n\");\n //m_logWriter.flush();\n \tboolean backFavFile = false;\n \tFile dest = new File(destDir);\n \tif (dest.exists()) {\n \t\tString userPath = destDir + \"/userdata/\";\n \t\tFile userFile = new File(userPath);\n \t\tString favDir = userPath + Update.FavouriteFile;\n \t\tFile favFile = new File(favDir);\n \t\tif (userFile.exists() && favFile.exists()) {\n \t\t\tCopyFile(userPath, Update.FavouriteFile, Update.pathSD);\n \t\t\tbackFavFile = true;\n \t\t}\n \t\t\n \t\tDeleteDir(destDir);\n \t}\n \telse\n \t\tdest.mkdirs();\n \t\n publishProgress(PROGRESS_EXTRACT, (int)(0.5 * index));\n // open the zip\n ZipFile zip = new ZipFile(fSettingsZip);\n int count=0;\n int zipSize = zip.size();\n Enumeration<? extends ZipEntry> entries = zip.entries();\n //while(entries.hasMoreElements())\n while (true)\n {\n if (isCancelled()) {\n \tresult = false;\n \tm_ErrorCode = 4;\n break;\n }\n\n if (m_DownloadStop)\n \tcontinue;\n \n if (!entries.hasMoreElements())\n \tbreak;\n \n // todo: update progress\n ZipEntry ze = (ZipEntry)entries.nextElement();\n count++;\n String entryName = ze.getName();\n String destFullpath = destDir+\"/\"+entryName;\n //m_logWriter.write(\"Extracting: \"+destFullpath+\"\\n\");\n File fDestPath = new File(destFullpath);\n if (ze.isDirectory())\n {\n fDestPath.mkdirs();\n publishProgress(PROGRESS_EXTRACT, (int)(0.5 * (index + count*100/zipSize)));\n continue;\n }\n fDestPath.getParentFile().mkdirs();\n\n // write file\n try {\n InputStream is = zip.getInputStream(ze);\n BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(destFullpath));\n int n=0;\n byte buf[] = new byte[4096];\n while((n = is.read(buf, 0, 4096)) > -1)\n {\n bos.write(buf, 0, n);\n }\n // close\n is.close();\n bos.close();\n } catch(IOException ioe) {\n \tm_ErrorCode = 5;\n //m_logWriter.write(\"Could not write, error: \"+ioe.toString());\n }\n\n // update progress\n //publishProgress(PROGRESS_EXTRACT, (count*100/zipSize));\n }\n\n // close zip and bail\n zip.close();\n //m_logWriter.write(\"Successfully extracted: \"+fSettingsZip.getName()+\"\\n\");\n //m_logWriter.flush();\n if (backFavFile) {\n \t\tString userPath = destDir + \"/userdata/\";\n \t\tFile userFile = new File(userPath);\n \t\tif (!userFile.exists())\n \t\t\tuserFile.mkdirs();\n \t\t\n \t\tFile inputFile = new File(Update.pathSD + Update.FavouriteFile);\n \t\tif (inputFile.exists())\n \t\t\tCopyFile(Update.pathSD, Update.FavouriteFile, userPath);\n }\n \n result = !isCancelled();\n }\n catch(Exception e)\n {\n //Log.e(\"SettingsDownloader\", \"Error: \"+e.toString());\n result = false;\n m_ErrorCode = 6;\n }\n\n return result;\n }",
"public static List<File> unjar(InputStream in, File dest)\r\n\t\t\tthrows IOException {\r\n\r\n\t\tfinal List<File> back = new ArrayList<File>();\r\n\t\tif (!dest.exists()) {\r\n\t\t\tdest.mkdirs();\r\n\t\t}\r\n\r\n\t\tif (!dest.isDirectory()) {\r\n\t\t\tthrow new IOException(\"Destination must be a directory.\");\r\n\t\t}\r\n\r\n\t\tJarInputStream jin = new JarInputStream(in);\r\n\t\tfinal byte[] buffer = new byte[1024];\r\n\t\tZipEntry entry = jin.getNextEntry();\r\n\t\twhile (entry != null) {\r\n\r\n\t\t\tString fileName = entry.getName();\r\n\t\t\tif (fileName.charAt(fileName.length() - 1) == '/') {\r\n\t\t\t\tfileName = fileName.substring(0, fileName.length() - 1);\r\n\t\t\t}\r\n\r\n\t\t\tif (fileName.charAt(0) == '/') {\r\n\t\t\t\tfileName = fileName.substring(1);\r\n\t\t\t}\r\n\r\n\t\t\tif (File.separatorChar != '/') {\r\n\t\t\t\tfileName = fileName.replace('/', File.separatorChar);\r\n\t\t\t}\r\n\r\n\t\t\tfinal File file = new File(dest, fileName);\r\n\t\t\tif (entry.isDirectory()) {\r\n\t\t\t\t// make sure the directory exists\r\n\t\t\t\tfile.mkdirs();\r\n\t\t\t\tjin.closeEntry();\r\n\t\t\t} else {\r\n\t\t\t\t// make sure the directory exists\r\n\t\t\t\tfinal File parent = file.getParentFile();\r\n\t\t\t\tif (parent != null && !parent.exists()) {\r\n\t\t\t\t\tparent.mkdirs();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// dump the file\r\n\r\n\t\t\t\tfinal OutputStream out = new FileOutputStream(file);\r\n\t\t\t\tint len = 0;\r\n\t\t\t\twhile ((len = jin.read(buffer, 0, buffer.length)) != -1) {\r\n\t\t\t\t\tout.write(buffer, 0, len);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tout.flush();\r\n\t\t\t\tout.close();\r\n\t\t\t\tjin.closeEntry();\r\n\t\t\t\tback.add(file);\r\n\r\n\t\t\t}\r\n\r\n\t\t\tentry = jin.getNextEntry();\r\n\t\t}\r\n\t\tjin.close();\r\n\t\treturn back;\r\n\t}",
"private static void processZip(File zip_name, final Histogram class_use, final Histogram method_use) {\n ZipFile zip_file;\n try {\n zip_file = new ZipFile(zip_name);\n } catch (Exception e) {\n throw new IllegalStateException(\"while reading archive '\"+zip_name+\"': \"+e);\n }\n final Enumeration< ? extends ZipEntry> en = zip_file.entries();\n while (en.hasMoreElements()) {\n final ZipEntry e = en.nextElement();\n final String e_name = e.getName();\n if (e.isDirectory()) continue;\n if (e_name.endsWith(\".class\")){\n try {\n final InputStream object_stream=zip_file.getInputStream(e);\n MethodCallEnumerator.analyzeClass(object_stream,class_use,method_use);\n object_stream.close();\n } catch (Exception ex) {\n throw new IllegalStateException(\"while processing: \"+ ex);\n }\n } \n }\n try {\n zip_file.close();\n } catch (Exception e) {\n throw new IllegalStateException(\"while reading archive: \" + e);\n }\n }",
"private static void decompressJarFile(String destDirectory, String jarFilePath) throws IOException {\n File destDir = new File(destDirectory);\n if (!destDir.exists()) {\n destDir.mkdir();\n }\n JarInputStream jarIn = new JarInputStream(new FileInputStream(jarFilePath));\n JarEntry entry = jarIn.getNextJarEntry();\n // iterates over all the entries in the jar file\n while (entry != null) {\n String filePath = destDirectory + \"/\" + entry.getName();\n if (!entry.isDirectory()) {\n new File(filePath).getParentFile().mkdirs();\n // if the entry is a file, extracts it\n extractFile(jarIn, filePath);\n }/* else {\n System.out.println(\"New dir: \" + filePath);\n // if the entry is a directory, make the directory\n File dir = new File(filePath);\n dir.mkdir();\n System.out.println(dir.canWrite());\n }*/\n jarIn.closeEntry();\n entry = jarIn.getNextJarEntry();\n }\n jarIn.close();\n }",
"public Result unzip() {\n MultipartFormData<File> body = request().body().asMultipartFormData();\n MultipartFormData.FilePart<File> fileInput = body.getFile(\"inputFile\");\n String filename = fileInput.getFilename();\n if (fileInput != null) {\n File file = (File) fileInput.getFile();\n File nf = new File(ZIP_URL + filename);\n boolean rst = file.renameTo(nf);\n String destDir = ZipUtils.unZip(ZIP_URL + filename, ZIP_URL);\n File dir = new File(ZIP_URL);\n String[] dirList = dir.list();\n return ok(afterUpload.render(Arrays.asList(dirList)));\n } else {\n return badRequest(\"error\");\n }\n }",
"private void addDirContents( ZipOutputStream output, File dir, String prefix, boolean compress ) throws IOException {\n String[] contents = dir .list();\n for ( int i = 0; i < contents .length; ++i ) {\n String name = contents[i];\n File file = new File( dir, name );\n if ( file .isDirectory() ) {\n addDirContents( output, file, prefix + name + '/', compress );\n }\n else {\n addFile( output, file, prefix, compress );\n }\n }\n }",
"public void run() {\n try {\n handleZipFiles(file);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }",
"public static void packToZip(String sourceDirPath, String zipFilePath) throws IOException {\n Path p;\n p = Files.createFile(Paths.get(zipFilePath));\n try (ZipOutputStream zs = new ZipOutputStream(Files.newOutputStream(p))) {\n Path pp = Paths.get(sourceDirPath);\n Files.walk(pp)\n .filter(path -> !Files.isDirectory(path))\n .forEach(path -> {\n if (!path.toString().endsWith(\".zip\")) {\n ZipEntry zipEntry = new ZipEntry(pp.relativize(path).toString());\n try {\n zs.putNextEntry(zipEntry);\n Files.copy(path, zs);\n zs.closeEntry();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n });\n }\n }",
"public static File unpackArchive(File theFile, File targetDir)\n\t\t\tthrows IOException {\n\t\tif (!theFile.exists()) {\n\t\t\tthrow new IOException(theFile.getAbsolutePath() + \" does not exist\");\n\t\t}\n\t\tif (!buildDirectory(targetDir)) {\n\t\t\tthrow new IOException(\"Could not create directory: \" + targetDir);\n\t\t}\n\t\tZipFile zipFile = new ZipFile(theFile);\n\t\tfor (Enumeration<? extends ZipEntry> entries = zipFile.entries(); entries.hasMoreElements();) {\n\t\t\tZipEntry entry = (ZipEntry) entries.nextElement();\n\t\t\tFile file = new File(targetDir, File.separator + entry.getName());\n\t\t\tif (!buildDirectory(file.getParentFile())) {\n\t\t\t\tthrow new IOException(\"Could not create directory: \"\n\t\t\t\t\t\t+ file.getParentFile());\n\t\t\t}\n\t\t\tif (!entry.isDirectory()) {\n\t\t\t\tcopyInputStream(zipFile.getInputStream(entry),\n\t\t\t\t\t\tnew BufferedOutputStream(new FileOutputStream(file)));\n\t\t\t} else {\n\t\t\t\tif (!buildDirectory(file)) {\n\t\t\t\t\tthrow new IOException(\"Could not create directory: \" + file);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tzipFile.close();\n\t\treturn theFile;\n\t}",
"public List<File> unzipSubtitle(File zipFile, File targetDirectory) throws IOException {\n List<File> subtitles = new ArrayList<File>();\n ZipInputStream zis = new ZipInputStream(\n new BufferedInputStream(new FileInputStream(zipFile)));\n try {\n ZipEntry ze;\n byte[] buffer = new byte[2048];\n while ((ze = zis.getNextEntry()) != null) {\n File file = new File(targetDirectory, ze.getName());\n File dir = ze.isDirectory() ? file : file.getParentFile();\n if (!dir.isDirectory() && !dir.mkdirs())\n throw new FileNotFoundException(\"Failed to ensure directory: \" +\n dir.getAbsolutePath());\n if (ze.isDirectory())\n continue;\n String ext = FilenameUtils.getExtension(ze.getName());\n if(ext.equalsIgnoreCase(\"srt\") || ext.equalsIgnoreCase(\"vtt\") ) {\n FileOutputStream fout = new FileOutputStream(file);\n BufferedOutputStream bufout = new BufferedOutputStream(fout);\n int count;\n try {\n while ((count = zis.read(buffer)) != -1)\n bufout.write(buffer, 0, count);\n } finally {\n subtitles.add(file);\n bufout.close();\n fout.close();\n }\n }\n\n }\n } finally {\n zis.close();\n }\n\n\n return subtitles;\n }",
"public static boolean unzipFiles(String folder, InputStream is) {\n /**\n * List of files we want to zip, folder is parent of app preferences folder\n * Shared prefs has all Avare data except tracks\n * TODO : Tracks\n */\n\n /**\n * Zip to output stream (could be File or Drive)\n */\n try {\n ZipInputStream zis = new ZipInputStream(is);\n\n ZipEntry ze = zis.getNextEntry();\n\n while(ze != null) {\n String fileName = ze.getName();\n File newFile = new File(folder + File.separator + fileName);\n\n //create all non existent folders\n new File(newFile.getParent()).mkdirs();\n\n FileOutputStream fos = new FileOutputStream(newFile);\n\n int len;\n byte[] bytes = new byte[4096];\n while ((len = zis.read(bytes)) > 0) {\n fos.write(bytes, 0, len);\n }\n\n fos.close();\n ze = zis.getNextEntry();\n }\n\n zis.closeEntry();\n zis.close();\n\n } catch (Exception e) {\n return false;\n }\n return true;\n }",
"public void handleAllArchivedRequest(boolean z) {\n File[] listFiles = AVPersistenceUtils.getCommandCacheDir().listFiles();\n if (listFiles != null && listFiles.length > 0) {\n Arrays.sort(listFiles, fileModifiedDateComparator);\n for (File file : listFiles) {\n if (file.isFile()) {\n handleArchivedRequest(file, z);\n } else if (AVOSCloud.showInternalDebugLog()) {\n StringBuilder sb = new StringBuilder();\n sb.append(file.getAbsolutePath());\n sb.append(\" is a dir\");\n avlog.e(sb.toString());\n }\n }\n }\n }",
"public static void zipFiles(String target, String... entries) {\n\t byte[] buf = new byte[1024];\n\t ZipOutputStream out = null;\n\t try {\n\t out = new ZipOutputStream(new FileOutputStream(target));\n\t for (String entry : entries) {\n\t FileInputStream in = new FileInputStream(entry);\n\t entry = entry.substring(entry.lastIndexOf(\"/\") + 1);\n\t out.putNextEntry(new ZipEntry(entry));\n\t int len;\n\t while ((len = in.read(buf)) > 0) {\n\t out.write(buf, 0, len);\n\t }\n\t out.closeEntry();\n\t in.close();\n\t }\n\t out.close();\n\t } catch (IOException e) {\n\t \tLogger.e(\"FileUtil\", \"zip file io error\", e);\n\t } finally {\n\t \tif (null != out) {\n\t \t\ttry {\n\t\t\t\t\tout.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tLogger.e(\"FileUtil\", \"close zip out stream error\", e);\n\t\t\t\t}\n\t \t}\n\t }\n\t}",
"public static void unzip(File targetDir,File zipFile) throws ZipException, IOException{\n\t\tZipFile zip = new ZipFile(zipFile);\n\t\t\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tEnumeration<ZipEntry> z = (Enumeration<ZipEntry>) zip.entries();\n\t\twhile(z.hasMoreElements()){\n\t\t\tZipEntry entry = z.nextElement();\n\t\t\tFile f = new File(targetDir, entry.getName());\n\t\t\tif(f.isDirectory()){\n\t\t\t\tif(!f.exists())\n\t\t\t\t\tf.mkdirs();\n\t\t\t}else{\n\t\t\t\tf.getParentFile().mkdirs();\n\t\t\t\tInputStream in = zip.getInputStream(entry);\n\t\t\t\tif(f.getPath().contains(\"__MACOSX\")) continue;\n\t\t\t\tBufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(f));\n\t\t\t\tIOUtils.copy(in, out);\n\t\t\t\tin.close();\n\t\t\t\tout.flush();\n\t\t\t\tout.close();\n\t\t\t}\n\t\t}\n\t\tzip.close();\n\t}",
"public void unzip(File f) throws Exception {\r\n String destDir = workplace + \"/temp/\";\r\n File tmp = new File(destDir);\r\n if(!tmp.exists())tmp.mkdir();\r\n byte b[] = new byte [1024];\r\n int length;\r\n \r\n ZipFile zipFile;\r\n zipFile = new ZipFile(f);\r\n Enumeration enumeration = zipFile.entries();\r\n ZipEntry zipEntry = null ;\r\n OutputStream outputStream = null;\r\n InputStream inputStream = null;\r\n while (enumeration.hasMoreElements()) {\r\n zipEntry = (ZipEntry) enumeration.nextElement();\r\n File loadFile = new File(destDir + zipEntry.getName());\r\n if (zipEntry.isDirectory()) {\r\n // 这段都可以不要,因为每次都貌似从最底层开始遍历的\r\n loadFile.mkdirs();\r\n }else{\r\n if (!loadFile.getParentFile().exists())\r\n loadFile.getParentFile().mkdirs();\r\n outputStream = new FileOutputStream(loadFile);\r\n inputStream = zipFile.getInputStream(zipEntry);\r\n while ((length = inputStream.read(b)) > 0)\r\n outputStream.write(b, 0, length);\r\n }\r\n }\r\n outputStream.flush();\r\n outputStream.close();\r\n inputStream.close();\r\n }",
"public static void decompressJars(final String outputDirectory) {\n File files = new File(outputDirectory);\n for (File f : Objects.requireNonNull(files.listFiles())) {\n if (f.getName().endsWith(\".jar\")) {\n try {\n JarUtils.decompressJarFile(outputDirectory, f.getAbsolutePath());\n // delete the original dependency jar file\n f.delete();\n } catch (IOException e) {\n System.err.println(\"Problem decompressing jar file.\");\n }\n }\n }\n }",
"public static void main(String[] args){\r\n List<File> xzQueue = new ArrayList<>();\r\n List<File> unpackQueue = new ArrayList<>();\r\n List<File> packXZQueue = new ArrayList<>();\r\n\r\n for(int i=0; i<args.length; ++i){\r\n if(args[i].equalsIgnoreCase(\"-packxz\")){\r\n if(i+1<args.length){\r\n ++i;\r\n String[] paths = args[i].split(\",\");\r\n for(String s : paths){\r\n packXZQueue.add(new File(s));\r\n }\r\n }\r\n } else if(args[i].equalsIgnoreCase(\"-xz\")){\r\n if(i+1<args.length){\r\n ++i;\r\n String[] paths = args[i].split(\",\");\r\n for(String s : paths){\r\n xzQueue.add(new File(s));\r\n }\r\n }\r\n } else if(args[i].equalsIgnoreCase(\"-pack\")){\r\n if(i+1<args.length){\r\n ++i;\r\n String[] paths = args[i].split(\",\");\r\n for(String s : paths){\r\n unpackQueue.add(new File(s));\r\n }\r\n }\r\n }\r\n }\r\n\r\n for(File f : packXZQueue) unpack(extractXZ(f));\r\n for(File f : xzQueue) extractXZ(f);\r\n for(File f : unpackQueue) unpack(f);\r\n }",
"@SuppressWarnings(\"unchecked\")\n private boolean unzipFolder(File archiveFile, long compressedSize, File unzipDestFolder, String description, String[] outZipRootFolder, ITaskMonitor monitor) {\n description += \" (%1$d%%)\";\n ZipFile zipFile = null;\n try {\n zipFile = new ZipFile(archiveFile);\n boolean usingUnixPerm = SdkConstants.CURRENT_PLATFORM == SdkConstants.PLATFORM_DARWIN || SdkConstants.CURRENT_PLATFORM == SdkConstants.PLATFORM_LINUX;\n long incStep = compressedSize / NUM_MONITOR_INC;\n long incTotal = 0;\n long incCurr = 0;\n int lastPercent = 0;\n byte[] buf = new byte[65536];\n Enumeration<ZipArchiveEntry> entries = zipFile.getEntries();\n while (entries.hasMoreElements()) {\n ZipArchiveEntry entry = entries.nextElement();\n String name = entry.getName();\n name = name.replace('\\\\', '/');\n int pos = name.indexOf('/');\n if (pos < 0 || pos == name.length() - 1) {\n continue;\n } else {\n if (outZipRootFolder[0] == null && pos > 0) {\n outZipRootFolder[0] = name.substring(0, pos);\n }\n name = name.substring(pos + 1);\n }\n File destFile = new File(unzipDestFolder, name);\n if (name.endsWith(\"/\")) {\n if (!destFile.isDirectory() && !destFile.mkdirs()) {\n monitor.setResult(\"Failed to create temp directory %1$s\", destFile.getPath());\n return false;\n }\n continue;\n } else if (name.indexOf('/') != -1) {\n File parentDir = destFile.getParentFile();\n if (!parentDir.isDirectory()) {\n if (!parentDir.mkdirs()) {\n monitor.setResult(\"Failed to create temp directory %1$s\", parentDir.getPath());\n return false;\n }\n }\n }\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(destFile);\n int n;\n InputStream entryContent = zipFile.getInputStream(entry);\n while ((n = entryContent.read(buf)) != -1) {\n if (n > 0) {\n fos.write(buf, 0, n);\n }\n }\n } finally {\n if (fos != null) {\n fos.close();\n }\n }\n if (usingUnixPerm && destFile.isFile()) {\n int mode = entry.getUnixMode();\n if ((mode & 0111) != 0) {\n setExecutablePermission(destFile);\n }\n }\n for (incTotal += entry.getCompressedSize(); incCurr < incTotal; incCurr += incStep) {\n monitor.incProgress(1);\n }\n int percent = (int) (100 * incTotal / compressedSize);\n if (percent != lastPercent) {\n monitor.setDescription(description, percent);\n lastPercent = percent;\n }\n if (monitor.isCancelRequested()) {\n return false;\n }\n }\n return true;\n } catch (IOException e) {\n monitor.setResult(\"Unzip failed: %1$s\", e.getMessage());\n } finally {\n if (zipFile != null) {\n try {\n zipFile.close();\n } catch (IOException e) {\n }\n }\n }\n return false;\n }",
"public static boolean unZipFile(String _location, String _zipFile) {\n boolean unzipped = false;\n try {\n FileInputStream fin = new FileInputStream(_location + \"/\" + _zipFile);\n ZipInputStream zin = new ZipInputStream(fin);\n ZipEntry ze;\n while ((ze = zin.getNextEntry()) != null) {\n if (ze.isDirectory()) {\n File f = new File(_location + \"/\" + ze.getName());\n if(!f.isDirectory()) {\n f.mkdirs();\n }\n } else {\n FileOutputStream fOut = new FileOutputStream(_location + \"/\" + ze.getName());\n BufferedOutputStream bufOut = new BufferedOutputStream(fOut);\n byte[] buffer = new byte[1024];\n int read;\n while ((read = zin.read(buffer)) != -1) {\n bufOut.write(buffer, 0, read);\n }\n bufOut.close();\n zin.closeEntry();\n fOut.close();\n }\n }\n zin.close();\n unzipped = true;\n } catch (Exception e) {\n writeLog(LOG_LEVEL.ERROR, \"Unzipping failed - \" + e.getLocalizedMessage());\n }\n return unzipped;\n }",
"List<CompressResult> decompress(Path input, Path output) throws IOException;",
"public void clean()\r\n {\r\n // DO NOT TOUCH\r\n // System.out.println(unzipedFilePath);\r\n\r\n // only clean if there was a successful unzipping\r\n if (success)\r\n {\r\n // only clean if the file path to remove matches the zipped file.\r\n if (unzippedFilePath.equals(zippedFilePath.substring(0,\r\n zippedFilePath.length() - 4)))\r\n {\r\n // System.out.println(\"to be implmented\");\r\n for (File c : outputDir.listFiles())\r\n {\r\n // System.out.println(c.toString());\r\n if (!c.delete())\r\n {\r\n System.out.println(\"failed to delete\" + c.toString());\r\n }\r\n }\r\n outputDir.delete();\r\n outputDir = null;\r\n }\r\n }\r\n }",
"public File extractTo (File destination) throws IOException\n\t{\n\t\ttry (DirectoryStream<Path> directoryStream = Files\n\t\t\t.newDirectoryStream (zipfs.getPath (\"/\"));)\n\t\t{\n\t\t\tfor (Path file : directoryStream)\n\t\t\t{\n\t\t\t\textract (file, destination.toPath ());\n\t\t\t}\n\t\t}\n\t\treturn destination;\n\t}",
"private void processJar(String jarname){\n ZipFile zf=null;\n Enumeration entries=null;\n // open the zip file and get the list of entries\n try{\n zf=new ZipFile(jarname);\n entries=zf.entries();\n }catch(IOException e){\n throw new InstantiationError(\"IOException:\"+e.getMessage() + \"\\n\" +\n \"failed on file \" + jarname );\n }\n\n // prepare some variables for looping through\n ZipEntry entry=null;\n String name=null;\n\n // go through the entries\n while(entries.hasMoreElements()){\n entry=(ZipEntry)entries.nextElement();\n name=checkName(entry.getName(),0);\n if(name!=null) addParameter(name);\n }\n\n // clean up\n try{\n zf.close();\n }catch(IOException e){\n // doesn't matter now\n }\n }",
"private void addFilesToZip(List<File> files,String outputPath) throws IOException \r\n\t{\r\n\t\t// create a zip output stream\r\n\t\tString zipFileName = outputPath + File.separator + Constants.name + zipIndex + Constants.zipExtension;\r\n\t\tOutputStreamWithLength chunkedFile = new OutputStreamWithLength(zipFileName);\r\n\t\tzipOutputStream = new ZipOutputStream(chunkedFile);\r\n\t\tdouble totalBytesRead = 0L;\r\n\t\tint count = 10; \r\n\t\tfor(File file:files)\r\n\t\t{\r\n\t\t\t// reset the file index\r\n\t\t\tfileIndex = 0;\r\n\t\t\tString zipEntryPath = file.getAbsolutePath().substring(basePath.length() + 0);\r\n\t\t\t\r\n\t\t\tif(file.isDirectory())\r\n\t\t\t{\r\n\t\t\t\tZipEntry entry =new ZipEntry(zipEntryPath+\"/\");\r\n\t\t\t\tzipOutputStream.putNextEntry(entry);\r\n\t\t\t\tzipOutputStream.closeEntry();\r\n\t\t\t\tcontinue;\r\n\t\t\t}\t\t\t\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tzipEntryPath = zipEntryPath + Constants.fragmentLabel + fileIndex++;\r\n\t\t\t}\t\t\t\r\n\r\n\t\t\t// add the current file to the zip\r\n\t\t\tZipEntry entry =new ZipEntry(zipEntryPath);\r\n\t\t\tzipOutputStream.putNextEntry(entry);\r\n\r\n\t\t\tbyte[] buffer = new byte[1024]; \t \r\n\r\n\t\t\tFileInputStream inputFileStream = new FileInputStream(file);\r\n\t\t\tint len; \r\n\t\t\twhile ((len = inputFileStream.read(buffer)) > 0) \r\n\t\t\t{ \r\n\t\t\t\tif((chunkedFile.getCurrentWriteLength() + len ) > maxSplitSize){\r\n\t\t\t\t\t// close current zip output stream\r\n\t\t\t\t\tzipOutputStream.closeEntry();\r\n\t\t\t\t\tzipOutputStream.finish();\r\n\t\t\t\t\t\r\n\t\t\t\t\t// reset the write length\r\n\t\t\t\t\tchunkedFile.setCurrentWriteLength(0);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// create new zip output stream\r\n\t\t\t\t\tzipIndex += 1;\r\n\t\t\t\t\tzipFileName = outputPath+ File.separator + Constants.name + zipIndex + Constants.zipExtension;\r\n\t\t\t\t\tchunkedFile = new OutputStreamWithLength(zipFileName);\r\n\t\t\t\t\tzipOutputStream = new ZipOutputStream(chunkedFile);\r\n\r\n\t\t\t\t\t// add the current file to write remaining bytes\r\n\t\t\t\t\tzipEntryPath = file.getAbsolutePath().substring(basePath.length() + 0);\r\n\t\t\t\t\tzipEntryPath = zipEntryPath + Constants.fragmentLabel + fileIndex++;\r\n\t\t\t\t\tentry = new ZipEntry(zipEntryPath);\r\n\t\t\t\t\tzipOutputStream.putNextEntry(entry);\r\n\r\n\t\t\t\t\t// write the bytes to the zip output stream\r\n\t\t\t\t\tzipOutputStream.write(buffer, 0, len);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\t// write the bytes to the zip output stream\r\n\t\t\t\t\tzipOutputStream.write(buffer, 0, len);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Show progress\r\n\t\t\t\ttotalBytesRead += len;\r\n\t\t\t\tdouble progress = totalBytesRead / totalBytes;\r\n\t\t\t\tif (progress*100 > 10)\r\n\t\t\t\t{\r\n\t\t\t\t\ttotalBytesRead = 0L;\r\n\t\t\t\t\tcount += 10;\r\n\t\t\t\t\tSystem.out.println(\"Finished \" + count +\"%\");\r\n\t\t\t\t}\r\n\t\t\t}\t\t\t\t\t\t\r\n\t\t\tinputFileStream.close();\r\n\t\t}\r\n\r\n\t\tzipOutputStream.closeEntry();\r\n\t\tzipOutputStream.finish();\r\n\t}",
"private static void recurseFiles(File file)\r\n throws IOException, FileNotFoundException\r\n {\r\n if (file.isDirectory()) {\r\n //Create an array with all of the files and subdirectories \r\n //of the current directory.\r\nString[] fileNames = file.list();\r\n if (fileNames != null) {\r\n //Recursively add each array entry to make sure that we get\r\n //subdirectories as well as normal files in the directory.\r\n for (int i=0; i<fileNames.length; i++){ \r\n \trecurseFiles(new File(file, fileNames[i]));\r\n }\r\n }\r\n }\r\n //Otherwise, a file so add it as an entry to the Zip file. \r\nelse {\r\n byte[] buf = new byte[1024];\r\n int len;\r\n //Create a new Zip entry with the file's name. \r\n\r\n\r\nZipEntry zipEntry = new ZipEntry(file.toString());\r\n //Create a buffered input stream out of the file \r\n\r\n\r\n//we're trying to add into the Zip archive. \r\n\r\n\r\nFileInputStream fin = new FileInputStream(file);\r\n BufferedInputStream in = new BufferedInputStream(fin);\r\n zos.putNextEntry(zipEntry);\r\n //Read bytes from the file and write into the Zip archive. \r\n\r\n\r\nwhile ((len = in.read(buf)) >= 0) {\r\n zos.write(buf, 0, len);\r\n }\r\n //Close the input stream. \r\n\r\n\r\n in.close();\r\n //Close this entry in the Zip stream. \r\n\r\n\r\n zos.closeEntry();\r\n }\r\n }",
"public static boolean unzip(String unZipFile, String saveFilePath) {\n boolean succeed = true;\n ZipInputStream zin = null;\n ZipEntry entry;\n try {\n // zip file path\n File olddirec = new File(unZipFile);\n zin = new ZipInputStream(new FileInputStream(unZipFile));\n // iterate ZipEntry in zip\n while ((entry = zin.getNextEntry()) != null) {\n // if folder,create it\n if (entry.isDirectory()) {\n File directory = new File(olddirec.getParent(),\n entry.getName());\n if (!directory.exists()) {\n if (!directory.mkdirs()) {\n System.out.println(\"Create foler in \"\n + directory.getAbsoluteFile() + \" failed\");\n }\n }\n zin.closeEntry();\n }\n // if file,unzip it\n if (!entry.isDirectory()) {\n File myFile = new File(saveFilePath);\n FileOutputStream fout = null;\n DataOutputStream dout = null;\n try {\n fout = new FileOutputStream(myFile);\n dout = new DataOutputStream(fout);\n byte[] b = new byte[1024];\n int len = 0;\n while ((len = zin.read(b)) != -1) {\n dout.write(b, 0, len);\n }\n } finally {\n if (dout != null) {\n try {\n dout.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n if (fout != null) {\n try {\n fout.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }\n zin.closeEntry();\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n succeed = false;\n System.out.println(e);\n } finally {\n if (null != zin) {\n try {\n zin.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n if (succeed)\n System.out.println(\"File unzipped successfully!\");\n else\n System.out.println(\"File unzipped with failure!\");\n return succeed;\n }",
"public static ArrayList getEntriesFromMRFiles( String dir ) {\n \n ArrayList entries = new ArrayList();\n \n File rdir = new File( dir );\n String[] mr_files = rdir.list( new FilenameFilter() {\n public boolean accept(File d, String name) { return name.endsWith( \".mr\" ); }\n });\n \n if (mr_files == null) {\n General.showWarning(\"Found NO entries on file in directory: \" + dir);\n return (entries);\n }\n \n File f;\n String fname, entry_code;\n \n // Check if the code conforms\n for (int i=0; i<mr_files.length; i++) {\n f = new File(mr_files[i]);\n fname = f.getPath();\n entry_code = fname.substring(0,4);\n // Check whether that's reasonable by matching against reg.exp.\n if ( Wattos.Utils.Strings.is_pdb_code( entry_code ) ) {\n entries.add( entry_code );\n } else {\n General.showWarning(\"Skipping this file.\");\n General.showWarning(\"String for filename [\"+fname+\n \"] doesn't look like a pdb code: \" + entry_code);\n }\n }\n Collections.sort(entries);\n return (entries);\n }",
"public String execute(File directoryToZip) {\r\n return execute(directoryToZip,null);\r\n }",
"public static void parseZipFile(final Path zipFile, final Consumer<Path> fileListener) throws IOException {\n\t\ttry (FileSystem fs = FileSystems.newFileSystem(zipFile, (ClassLoader) null)) {\n\t\t\tfinal Path root = fs.getPath(\"/\");\n\t\t\t// the more convenient Files.walk method sometimes fails with funny IOExceptions... \n\t\t\t// see https://stackoverflow.com/questions/14654737/nosuchfileexception-while-walking-files-tree-inside-a-zip-using-java-nio\n\t\t\tFiles.walkFileTree(root, EnumSet.noneOf(FileVisitOption.class), Integer.MAX_VALUE, new java.nio.file.SimpleFileVisitor<Path>() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {\n\t\t\t\t\tif (Files.isRegularFile(file)) {\n\t\t\t\t\t\tfileListener.accept(file);\n\t\t\t\t\t}\n\t\t\t\t\treturn FileVisitResult.CONTINUE;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {\n\t\t\t\t\tLoggerFactory.getLogger(ZipUtils.class).warn(\"File visit failed: {}. {}\", file,exc.toString());\n\t\t\t\t\treturn FileVisitResult.CONTINUE;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t}",
"private boolean unarchive(String osSdkRoot, File archiveFile, SdkManager sdkManager, ITaskMonitor monitor) {\n boolean success = false;\n Package pkg = getParentPackage();\n String pkgName = pkg.getShortDescription();\n String pkgDesc = String.format(\"Installing %1$s\", pkgName);\n monitor.setDescription(pkgDesc);\n monitor.setResult(pkgDesc);\n String pkgKind = pkg.getClass().getSimpleName();\n File destFolder = null;\n File unzipDestFolder = null;\n File oldDestFolder = null;\n try {\n unzipDestFolder = createTempFolder(osSdkRoot, pkgKind, \"new\");\n if (unzipDestFolder == null) {\n monitor.setResult(\"Failed to find a temp directory in %1$s.\", osSdkRoot);\n return false;\n }\n if (!unzipDestFolder.mkdirs()) {\n monitor.setResult(\"Failed to create directory %1$s\", unzipDestFolder.getPath());\n return false;\n }\n String[] zipRootFolder = new String[] { null };\n if (!unzipFolder(archiveFile, getSize(), unzipDestFolder, pkgDesc, zipRootFolder, monitor)) {\n return false;\n }\n if (!generateSourceProperties(unzipDestFolder)) {\n return false;\n }\n destFolder = pkg.getInstallFolder(osSdkRoot, zipRootFolder[0], sdkManager);\n if (destFolder == null) {\n monitor.setResult(\"Failed to compute installation directory for %1$s.\", pkgName);\n return false;\n }\n if (!pkg.preInstallHook(this, monitor, osSdkRoot, destFolder)) {\n monitor.setResult(\"Skipping archive: %1$s\", pkgName);\n return false;\n }\n boolean move1done = false;\n boolean move2done = false;\n while (!move1done || !move2done) {\n File renameFailedForDir = null;\n if (!move1done) {\n if (destFolder.isDirectory()) {\n if (oldDestFolder == null) {\n oldDestFolder = createTempFolder(osSdkRoot, pkgKind, \"old\");\n }\n if (oldDestFolder == null) {\n monitor.setResult(\"Failed to find a temp directory in %1$s.\", osSdkRoot);\n return false;\n }\n if (!destFolder.renameTo(oldDestFolder)) {\n monitor.setResult(\"Failed to rename directory %1$s to %2$s.\", destFolder.getPath(), oldDestFolder.getPath());\n renameFailedForDir = destFolder;\n }\n }\n move1done = (renameFailedForDir == null);\n }\n if (move1done && !move2done) {\n if (renameFailedForDir == null && !unzipDestFolder.renameTo(destFolder)) {\n monitor.setResult(\"Failed to rename directory %1$s to %2$s\", unzipDestFolder.getPath(), destFolder.getPath());\n renameFailedForDir = unzipDestFolder;\n }\n move2done = (renameFailedForDir == null);\n }\n if (renameFailedForDir != null) {\n if (SdkConstants.CURRENT_PLATFORM == SdkConstants.PLATFORM_WINDOWS) {\n String msg = String.format(\"-= Warning ! =-\\n\" + \"A folder failed to be renamed or moved. On Windows this \" + \"typically means that a program is using that folder (for example \" + \"Windows Explorer or your anti-virus software.)\\n\" + \"Please momentarily deactivate your anti-virus software.\\n\" + \"Please also close any running programs that may be accessing \" + \"the directory '%1$s'.\\n\" + \"When ready, press YES to try again.\", renameFailedForDir.getPath());\n if (monitor.displayPrompt(\"SDK Manager: failed to install\", msg)) {\n continue;\n }\n }\n return false;\n }\n break;\n }\n unzipDestFolder = null;\n success = true;\n pkg.postInstallHook(this, monitor, destFolder);\n return true;\n } finally {\n deleteFileOrFolder(oldDestFolder);\n deleteFileOrFolder(unzipDestFolder);\n if (!success) {\n pkg.postInstallHook(this, monitor, null);\n }\n }\n }",
"private static void extractArchive(Path sourcePath, Path targetPath) throws IOException {\n\n // TODO: janv_capgemini check if sourcePath is an archive and throw exception if not\n FileSystem fs = FileSystems.newFileSystem(sourcePath, null);\n\n Path path = fs.getPath(\"/\");\n Files.walkFileTree(path, new SimpleFileVisitor<Path>() {\n @Override\n public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {\n\n Path relativePath = path.relativize(file);\n Path targetPathResolved = targetPath.resolve(relativePath.toString());\n Files.deleteIfExists(targetPathResolved);\n Files.createDirectories(targetPathResolved.getParent());\n Files.copy(file, targetPathResolved);\n return FileVisitResult.CONTINUE;\n }\n\n @Override\n public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {\n\n // Log errors but do not throw an exception\n LOG.warn(\"An IOException occurred while reading a file on path {} with message: {}\", file, exc.getMessage());\n LOG.debug(\"An IOException occurred while reading a file on path {} with message: {}\", file,\n LOG.isDebugEnabled() ? exc : null);\n return FileVisitResult.CONTINUE;\n }\n });\n\n }",
"private void resolveJarDirectory( final File directory, final boolean recursive, final Set<String> bag )\r\n throws IllegalArgumentException, ResolutionException {\r\n if ( !directory.exists() )\r\n throw new ResolutionException(\r\n \"Directory \\\"\" + directory + \"\\\" is referenced by \" + this.toString() + \" but does not exist.\" );\r\n if ( !directory.isDirectory() )\r\n throw new ResolutionException(\r\n \"Directory \\\"\" + directory + \"\\\" is referenced by \" + this.toString() + \" but not a directory.\" );\r\n\r\n for ( final File file : directory.listFiles( new FileFilter() {\r\n @Override\r\n public boolean accept( final File pathname ) {\r\n return ( recursive && pathname.isDirectory() ) || pathname.getName().toLowerCase().endsWith( \".jar\" );\r\n }\r\n } ) ) {\r\n if ( recursive && file.isDirectory() )\r\n resolveJarDirectory( file, recursive, bag );\r\n else\r\n bag.add( file.getAbsolutePath() );\r\n }\r\n }",
"String transcribeFilesInDirectory(String directoryPath);",
"void makeZip(String zipFilePath, String srcFilePaths[], ZipMainFrame f) {\n ...\n for (int i = 0; i < srcFilePaths.length; i++) {\n f.setStatusBarText(\"Zipping \"+srcFilePaths[i]);\n //add the file srcFilePaths[i] into the zip file.\n ...\n }\n }",
"public static int unzip(String srcZipFile, String specifiedFile, String targetDirectory, String passwd) {\n File srcFile = new File(srcZipFile);\n if (!srcFile.exists() || srcFile.isDirectory()) {\n System.out.println(\"[JZip] Source file does not exist or correct.\");\n return SOURCE_FILE_ERROR;\n }\n \n // Check target directory\n File destDir = new File(targetDirectory);\n destDir.mkdir();\n if (!destDir.isDirectory()) {\n System.out.println(\"[JZip] targetDirectory should be directory.\");\n return TARGET_DIR_ERROR;\n }\n \n // Init and set password\n ZipFile zipFile;\n try {\n zipFile = new ZipFile(srcZipFile);\n \n if (zipFile.isEncrypted()) {\n if (passwd != null && !passwd.isEmpty()) {\n zipFile.setPassword(passwd.toCharArray());\n }\n else {\n System.out.println(\"[JZip] No password indicated for a password-protected file.\");\n return PASSWORD_NOT_FOUND;\n }\n }\n else {\n System.out.println(\"[JZip] This zip file should has password but it doesn't.\");\n return SOURCE_SHOULD_HAS_PASSWORD;\n }\n }\n catch (ZipException e) {\n System.out.println(\"[JZip] Create zip object or set password causes cexception.\");\n return ZIP_INITIAL_ERROR;\n }\n \n // Check content and extract\n String targetFile = targetDirectory + (targetDirectory.endsWith(File.separator) ? \"\" : File.separator) + specifiedFile;\n try {\n \tList<?> fileHeaderList = zipFile.getFileHeaders();\n for (int i = 0; i < fileHeaderList.size(); i++) {\n \tFileHeader fileHeader = (FileHeader)fileHeaderList.get(i);\n \tif (fileHeader != null && fileHeader.getFileName().equals(specifiedFile)) {\n \t\tzipFile.extractFile(specifiedFile, targetDirectory);\n \t\tbreak;\n \t}\n }\n if (!new File(targetFile).isFile()) {\n \tSystem.out.println(\"[JZip] Input zip file does not have correct content.\");\n \treturn SOURCE_CONTENT_ERROR;\n }\n }\n catch (ZipException e) {\n System.out.println(\"[JZip] Extract zip file causes exception.\");\n // It will extract a zero-size file when password is incorrect, should be deleted\n new File(targetFile).delete();\n return EXTRACT_FILE_ERROR;\n }\n \n return NO_ERROR;\n }",
"void makeZip(String zipFilePath, String srcFilePaths[],\n\t\t\tMessageDisplay msgDisplay) {\n\t\t...\n\t\tfor (int i = 0; i < srcFilePaths.length; i++) {\n\t\t\tmsgDisplay.showMessage(\"Zipping \"+srcFilePaths[i]);\n\t\t\t//add the file srcFilePaths[i] into the zip file.\n\t\t\t...\n\t\t}\n\t}",
"public void extractFile(ZipModel zipModel, String outputPath, UnzipParameters unzipParameters,\r\n ProgressMonitor progressMonitor, boolean runInThread, char[] password) throws ZipException {\r\n extractFile(zipModel, outputPath, unzipParameters, null, progressMonitor, runInThread, password);\r\n }",
"private static String[] findFiles(String dirpath) {\n\t\tString fileSeparator = System.getProperty(\"file.separator\");\n\t\tVector<String> fileListVector = new Vector<String>();\n\t\tFile targetDir = null;\n\t\ttry {\n\t\t\ttargetDir = new File(dirpath);\n\t\t\tif (targetDir.isDirectory())\n\t\t\t\tfor (String val : targetDir.list(new JavaFilter()))\n\t\t\t\t\tfileListVector.add(dirpath + fileSeparator + val);\n\t\t} catch(Exception e) {\n\t\t\tlogger.error(e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\tString fileList = \"\";\n\t\tfor (String filename : fileListVector) {\n\t\t\tString basename = filename.substring(filename.lastIndexOf(fileSeparator) + 1);\n\t\t\tfileList += \"\\t\" + basename;\n\t\t}\n\t\tif (fileList.equals(\"\")) \n\t\t\tfileList += \"none.\";\n\t\tlogger.trace(\"Unpackaged source files found in dir \" + dirpath + fileSeparator + \": \" + fileList);\n\t\t\n\t\treturn (String[]) fileListVector.toArray(new String[fileListVector.size()]);\n\t}",
"public static ArrayList<File> getJars(File dir) {\r\n\t\treturn getFiles(dir, \".jar\");\r\n\t}",
"public List<HL7InArchive> getHL7InArchivesToMigrate();",
"public void testChangeZIPArchive1() throws Exception {\n String externalLib = Util.getOutputDirectory() + File.separator + \"externalLib.abc\";\n IPath projectPath = env.addProject(\"Project\");\n try {\n org.eclipse.jdt.core.tests.util.Util.createJar(new String[] { \"p/X.java\", \"package p;\\n\" + \"public class X {\\n\" + \" public void foo() {\\n\" + \" }\\n\" + \"}\" }, externalLib, \"1.4\");\n env.addExternalJars(projectPath, Util.getJavaClassLibs());\n env.addExternalJars(projectPath, new String[] { externalLib });\n //$NON-NLS-1$\n IPath root = env.getPackageFragmentRootPath(projectPath, \"\");\n env.setOutputFolder(projectPath, \"\");\n IPath classY = env.addClass(root, \"q\", \"Y\", \"package q;\\n\" + \"public class Y {\\n\" + \" void bar(p.X x) {\\n\" + \" x.foo();\\n\" + \" }\\n\" + \"}\");\n fullBuild(projectPath);\n expectingNoProblems();\n org.eclipse.jdt.core.tests.util.Util.createJar(new String[] { \"p/X.java\", \"package p;\\n\" + \"public class X {\\n\" + \"}\" }, externalLib, \"1.4\");\n IJavaProject p = env.getJavaProject(projectPath);\n p.getJavaModel().refreshExternalArchives(new IJavaElement[] { p }, null);\n incrementalBuild(projectPath);\n expectingProblemsFor(classY, \"Problem : The method foo() is undefined for the type X [ resource : </Project/q/Y.java> range : <54,57> category : <50> severity : <2>]\");\n } finally {\n new File(externalLib).delete();\n env.removeProject(projectPath);\n }\n }",
"private static void zipSubFolder(ZipOutputStream out, File folder,\n\t\t\tint basePathLength) throws IOException {\n\n\t\tFile[] fileList = folder.listFiles();\n\t\tBufferedInputStream origin = null;\n\t\tfor (File file : fileList) {\n\t\t\tif (file.isDirectory()) {\n\t\t\t\tzipSubFolder(out, file, basePathLength);\n\t\t\t} else {\n\t\t\t\tbyte data[] = new byte[BUFFER_SIZE];\n\t\t\t\tString unmodifiedFilePath = file.getPath();\n\t\t\t\tString relativePath = unmodifiedFilePath\n\t\t\t\t\t\t.substring(basePathLength);\n\t\t\t\tLog.i(\"ZIP SUBFOLDER\", \"Relative Path : \" + relativePath);\n\t\t\t\tFileInputStream fi = new FileInputStream(unmodifiedFilePath);\n\t\t\t\torigin = new BufferedInputStream(fi, BUFFER_SIZE);\n\t\t\t\tZipEntry entry = new ZipEntry(relativePath);\n\t\t\t\tout.putNextEntry(entry);\n\t\t\t\tint count;\n\t\t\t\twhile ((count = origin.read(data, 0, BUFFER_SIZE)) != -1) {\n\t\t\t\t\tout.write(data, 0, count);\n\t\t\t\t}\n\t\t\t\torigin.close();\n\t\t\t}\n\t\t}\n\t}",
"private void processZipEntries(List<ZipEntry> contents, String prefix, int depth) throws SAXException {\r\n if (depth > 0) {\r\n // Get the zip-entries at this level.\r\n ArrayList<Map.Entry<String, ZipEntry>> level = new ArrayList<Map.Entry<String, ZipEntry>>();\r\n for (ZipEntry entry : contents) {\r\n String name = entry.getName();\r\n if (name.length() > prefix.length() && name.startsWith(prefix)) { // Entry is below this level.\r\n name = name.substring(prefix.length());\r\n // Names of files and directories at this level contain no '/' or '/' at the end.\r\n if ((name.indexOf('/') + 1) % name.length() == 0) {\r\n level.add(new AbstractMap.SimpleImmutableEntry<String, ZipEntry>(name, entry));\r\n }\r\n }\r\n }\r\n // Do sorting of the level, if required.\r\n if (sort.equals(\"name\")) {\r\n Collections.sort(level, new Comparator<Map.Entry<String, ZipEntry>>() {\r\n public int compare(Map.Entry<String, ZipEntry> o1, Map.Entry<String, ZipEntry> o2) {\r\n return reverse ? o2.getKey().compareTo(o1.getKey())\r\n : o1.getKey().compareTo(o2.getKey());\r\n }\r\n });\r\n } else if (sort.equals(\"size\")) {\r\n Collections.sort(level, new Comparator<Map.Entry<String, ZipEntry>>() {\r\n public int compare(Map.Entry<String, ZipEntry> o1, Map.Entry<String, ZipEntry> o2) {\r\n return reverse ? Long.compare(o2.getValue().getSize(), o1.getValue().getSize())\r\n : Long.compare(o1.getValue().getSize(), o2.getValue().getSize());\r\n }\r\n });\r\n } else if (sort.equals(\"lastmodified\")) {\r\n Collections.sort(level, new Comparator<Map.Entry<String, ZipEntry>>() {\r\n public int compare(Map.Entry<String, ZipEntry> o1, Map.Entry<String, ZipEntry> o2) {\r\n return reverse ? Long.compare(o2.getValue().getTime(), o1.getValue().getTime())\r\n : Long.compare(o1.getValue().getTime(), o2.getValue().getTime()) ;\r\n }\r\n });\r\n }\r\n // Output nodes in this level.\r\n for (Map.Entry<String, ZipEntry> entry : level) {\r\n if (isIncluded(entry.getKey()) && !isExcluded(entry.getKey())) {\r\n if (entry.getValue().isDirectory()) {\r\n startNode(DIR_NODE_NAME, entry);\r\n processZipEntries(contents, entry.getValue().getName(), depth - 1);\r\n endNode(DIR_NODE_NAME);\r\n } else {\r\n startNode(FILE_NODE_NAME, entry);\r\n endNode(FILE_NODE_NAME);\r\n }\r\n }\r\n }\r\n }\r\n }",
"public Collection<String[]> getAllArchiveSummaryFile()\n {\n ArrayList<String[]> tmSummaryInfoList = new ArrayList<String[]>();\n \n String archiveFolderPath = getArchiveFolderPath();\n File archiveFolder = new File(archiveFolderPath);\n File[] files = archiveFolder.listFiles();\n \n for(int i= 0; files != null && i < files.length; i++)\n {\n File tmSummaryFile = files[i];\n String summaryFilename = tmSummaryFile.getName();\n \n if(tmSummaryFile.isFile() && summaryFilename.indexOf(\".xml\") >= 0)\n {\n String lastModifiedDate = new Date(tmSummaryFile.lastModified()).toString();\n String[] summaryInfo = new String[]{summaryFilename, lastModifiedDate};\n tmSummaryInfoList.add(summaryInfo);\n }\n }\n return tmSummaryInfoList;\n }",
"public static void m97139a(File file, ZipOutputStream zipOutputStream, String str) throws IOException {\n if (file.exists()) {\n if (file.isDirectory()) {\n String name = file.getName();\n if (!name.endsWith(File.separator)) {\n name = name + File.separator;\n }\n if (!TextUtils.isEmpty(str)) {\n name = str + name;\n }\n File[] listFiles = file.listFiles();\n if (listFiles == null || listFiles.length <= 0) {\n zipOutputStream.putNextEntry(new ZipEntry(name));\n zipOutputStream.closeEntry();\n return;\n }\n for (File file2 : listFiles) {\n m97139a(file2, zipOutputStream, name);\n }\n return;\n }\n zipOutputStream.putNextEntry(new ZipEntry(TextUtils.isEmpty(str) ? file.getName() : str + file.getName()));\n FileInputStream fileInputStream = new FileInputStream(file);\n byte[] bArr = new byte[4096];\n while (true) {\n int read = fileInputStream.read(bArr);\n if (read != -1) {\n zipOutputStream.write(bArr, 0, read);\n } else {\n zipOutputStream.flush();\n fileInputStream.close();\n zipOutputStream.closeEntry();\n return;\n }\n }\n } else {\n return;\n }\n throw th;\n }",
"@Test\n public void testDecompressWithoutPrefix() throws Exception {\n\n Path outputDir =\n new CompressedTarFunction() {\n @Override\n protected InputStream getDecompressorStream(DecompressorDescriptor descriptor)\n throws IOException {\n return new GZIPInputStream(new FileInputStream(descriptor.archivePath().getPathFile()));\n }\n }.decompress(descriptorBuilder.build());\n\n assertOutputFiles(outputDir.getRelative(ROOT_FOLDER_NAME).getRelative(INNER_FOLDER_NAME));\n }",
"public void convertToZip(String input, String output) throws ZipException {\n\t\tZipFile zip = new ZipFile(output); \n\t ZipParameters parameters = new ZipParameters();\n parameters.setCompressionMethod(Zip4jConstants.COMP_DEFLATE);\n parameters.setCompressionLevel(Zip4jConstants.DEFLATE_LEVEL_NORMAL); \n\t zip.addFolder(input, parameters);\n\t}",
"private ZipCompressor(){}",
"Map<String, InputStream> extract(TypedValue<InputStream> archive) throws DecompressionException;"
] | [
"0.6637859",
"0.6435473",
"0.6311536",
"0.6128021",
"0.6011717",
"0.5860996",
"0.5791264",
"0.5744722",
"0.5705824",
"0.5696863",
"0.567909",
"0.5625647",
"0.55595714",
"0.55562764",
"0.5503867",
"0.54343194",
"0.54015476",
"0.5367951",
"0.53468424",
"0.5344502",
"0.5341657",
"0.5329523",
"0.5302581",
"0.5298942",
"0.52965194",
"0.5284381",
"0.5284381",
"0.5268059",
"0.5255414",
"0.5239569",
"0.5221487",
"0.5215318",
"0.51769644",
"0.5170327",
"0.51639396",
"0.51628685",
"0.5159777",
"0.5155449",
"0.51206243",
"0.5119072",
"0.508647",
"0.5049137",
"0.5038699",
"0.5036721",
"0.5033756",
"0.50246185",
"0.5022814",
"0.49989107",
"0.49493462",
"0.49411246",
"0.49041378",
"0.48908952",
"0.48753148",
"0.48469856",
"0.48467165",
"0.4827912",
"0.4818689",
"0.48150557",
"0.48004445",
"0.4784122",
"0.47697666",
"0.4767782",
"0.47601348",
"0.47579676",
"0.47532767",
"0.4747728",
"0.4745581",
"0.47426113",
"0.47419462",
"0.47336712",
"0.4709906",
"0.46508166",
"0.46500656",
"0.4647661",
"0.4638692",
"0.46362945",
"0.46268985",
"0.46214858",
"0.4615506",
"0.46042162",
"0.45810735",
"0.45763072",
"0.45511106",
"0.4545117",
"0.4539639",
"0.45367613",
"0.4529029",
"0.45165637",
"0.45151126",
"0.4508067",
"0.4503655",
"0.45029905",
"0.44986305",
"0.44924453",
"0.44842646",
"0.44823784",
"0.44732428",
"0.4473012",
"0.44670975",
"0.44550058"
] | 0.57313764 | 8 |
/ renamed from: a | private static int m615a(String str, int i) {
int length = str.length() - 1;
int i2 = 1;
int i3 = 0;
while (length >= 0) {
int indexOf = (f337z[0].indexOf(str.charAt(length)) * i2) + i3;
i3 = i2 + 1;
if (i3 > i) {
i3 = 1;
}
length--;
i2 = i3;
i3 = indexOf;
}
return i3 % 47;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
] | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
] | 0.0 | -1 |
/ renamed from: a | private static void m616a(int i, int[] iArr) {
for (int i2 = 0; i2 < 9; i2++) {
iArr[i2] = ((1 << (8 - i2)) & i) == 0 ? 0 : 1;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
] | [
"0.6249595",
"0.6242955",
"0.61393225",
"0.6117684",
"0.61140615",
"0.60893875",
"0.6046927",
"0.60248226",
"0.60201806",
"0.59753186",
"0.5947817",
"0.5912414",
"0.5883872",
"0.5878469",
"0.587005",
"0.58678955",
"0.58651674",
"0.5857262",
"0.58311176",
"0.58279663",
"0.58274275",
"0.5794977",
"0.57889086",
"0.57837564",
"0.5775938",
"0.57696944",
"0.57688814",
"0.5752557",
"0.5690739",
"0.5678386",
"0.567034",
"0.56661606",
"0.56595623",
"0.56588095",
"0.56576085",
"0.5654566",
"0.56445956",
"0.56401736",
"0.5638699",
"0.56305",
"0.56179273",
"0.56157446",
"0.5607045",
"0.5605239",
"0.5600648",
"0.5595156",
"0.55912733",
"0.5590759",
"0.5573802",
"0.5556659",
"0.55545336",
"0.5550466",
"0.5549409",
"0.5544484",
"0.55377364",
"0.55291194",
"0.55285007",
"0.55267704",
"0.5525843",
"0.5522067",
"0.5520236",
"0.55098593",
"0.5507351",
"0.5488173",
"0.54860324",
"0.54823226",
"0.5481975",
"0.5481588",
"0.5480086",
"0.5478032",
"0.54676044",
"0.5463578",
"0.54506475",
"0.54438734",
"0.5440832",
"0.5440053",
"0.5432095",
"0.5422814",
"0.5421934",
"0.54180306",
"0.5403851",
"0.5400144",
"0.5400042",
"0.5394655",
"0.53891194",
"0.5388751",
"0.53749055",
"0.53691155",
"0.53590924",
"0.5356525",
"0.5355397",
"0.535498",
"0.5354871",
"0.535003",
"0.5341249",
"0.5326222",
"0.53232485",
"0.53197914",
"0.5316941",
"0.5311645",
"0.5298656"
] | 0.0 | -1 |
/ renamed from: b | protected static int m617b(boolean[] zArr, int i, int[] iArr, boolean z) {
int length = iArr.length;
int i2 = 0;
while (i2 < length) {
int i3 = i + 1;
zArr[i] = iArr[i2] != 0;
i2++;
i = i3;
}
return 9;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo2508a(bxb bxb);",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"@Override\n\tpublic void b() {\n\n\t}",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public bb b() {\n return a(this.a);\n }",
"@Override\n\tpublic void b1() {\n\t\t\n\t}",
"public void b() {\r\n }",
"@Override\n\tpublic void bbb() {\n\t\t\n\t}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void b(StringBuilder sb);",
"public void b() {\n }",
"public void b() {\n }",
"protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }",
"public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }",
"public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public void b() {\n ((a) this.a).b();\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }",
"public t b() {\n return a(this.a);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }",
"private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public abstract T zzm(B b);",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }",
"public abstract void zzc(B b, int i, int i2);",
"public interface b {\n}",
"public interface b {\n}",
"private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }",
"BSubstitution createBSubstitution();",
"public void b(ahd paramahd) {}",
"void b();",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"B database(S database);",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public abstract C0631bt mo9227aB();",
"public an b() {\n return a(this.a);\n }",
"protected abstract void a(bru parambru);",
"static void go(Base b) {\n\t\tb.add(8);\n\t}",
"void mo46242a(bmc bmc);",
"public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }",
"public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public abstract BoundType b();",
"public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }",
"b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }",
"private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }",
"public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }",
"interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}",
"@Override\n\tpublic void visit(PartB partB) {\n\n\t}",
"public abstract void zzb(B b, int i, long j);",
"public abstract void zza(B b, int i, zzeh zzeh);",
"int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}",
"private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }",
"public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }",
"public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }",
"public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }",
"public abstract void a(StringBuilder sb);",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public abstract void zzf(Object obj, B b);",
"public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}",
"@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public abstract void a(b paramb, int paramInt1, int paramInt2);",
"public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }",
"void mo83703a(C32456b<T> bVar);",
"public void a(String str) {\n ((b.b) this.b).d(str);\n }",
"public void selectB() { }",
"BOperation createBOperation();",
"void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}",
"private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }",
"public void b(String str) {\n ((b.b) this.b).e(str);\n }",
"public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }",
"public abstract void zza(B b, int i, T t);",
"public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }",
"public abstract void zza(B b, int i, long j);",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public abstract void mo9798a(byte b);",
"public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }",
"private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }",
"public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
] | [
"0.64558864",
"0.6283203",
"0.6252635",
"0.6250949",
"0.6244743",
"0.6216273",
"0.6194491",
"0.6193556",
"0.61641675",
"0.6140157",
"0.60993093",
"0.60974354",
"0.6077849",
"0.6001867",
"0.5997364",
"0.59737104",
"0.59737104",
"0.5905105",
"0.5904295",
"0.58908087",
"0.5886636",
"0.58828026",
"0.5855491",
"0.584618",
"0.5842517",
"0.5824137",
"0.5824071",
"0.58097327",
"0.5802052",
"0.58012927",
"0.579443",
"0.5792392",
"0.57902914",
"0.5785124",
"0.57718205",
"0.57589084",
"0.5735892",
"0.5735892",
"0.5734873",
"0.5727929",
"0.5720821",
"0.5712531",
"0.5706813",
"0.56896514",
"0.56543154",
"0.5651059",
"0.5649904",
"0.56496733",
"0.5647035",
"0.5640965",
"0.5640109",
"0.563993",
"0.5631903",
"0.5597427",
"0.55843794",
"0.5583287",
"0.557783",
"0.55734867",
"0.55733293",
"0.5572254",
"0.55683887",
"0.55624336",
"0.55540246",
"0.5553985",
"0.55480546",
"0.554261",
"0.5535739",
"0.5529958",
"0.5519634",
"0.5517503",
"0.55160624",
"0.5511545",
"0.5505353",
"0.5500533",
"0.5491741",
"0.5486198",
"0.5481978",
"0.547701",
"0.54725856",
"0.5471632",
"0.5463497",
"0.5460805",
"0.5454913",
"0.5454885",
"0.54519916",
"0.5441594",
"0.5436747",
"0.5432453",
"0.5425923",
"0.5424724",
"0.54189867",
"0.54162544",
"0.54051477",
"0.53998184",
"0.53945845",
"0.53887725",
"0.5388146",
"0.5387678",
"0.53858143",
"0.53850687",
"0.5384439"
] | 0.0 | -1 |
/ renamed from: z | private static String m618z(char[] cArr) {
int length = cArr.length;
for (int i = 0; length > i; i++) {
int i2;
char c = cArr[i];
switch (i % 5) {
case 0:
i2 = 6;
break;
case 1:
i2 = 14;
break;
case 2:
i2 = 30;
break;
case 3:
i2 = 7;
break;
default:
i2 = 20;
break;
}
cArr[i] = (char) (i2 ^ c);
}
return new String(cArr).intern();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo28717a(zzc zzc);",
"public abstract void zza(zzk zzk, zzk zzk2);",
"protected abstract String getZ();",
"private zza.zza()\n\t\t{\n\t\t}",
"public final zzgol<zzgop<?>> zzn() {\n zzr();\n return this.zzae;\n }",
"public final boolean zza() {\n boolean z = false;\n if (!this.zza.zza()) {\n return false;\n }\n this.zzx = this.zza.zzb();\n this.zzy = this.zza.zzb();\n this.zzz = this.zzy & 255;\n int i = this.zzx;\n if (i < this.zzq) {\n this.zzq = i;\n }\n int i2 = this.zzx;\n if (i2 > this.zzr) {\n this.zzr = i2;\n }\n if (this.zzz == zzgod.MAP.zza()) {\n this.zzs++;\n } else if (this.zzz >= zzgod.DOUBLE_LIST.zza() && this.zzz <= zzgod.GROUP_LIST.zza()) {\n this.zzt++;\n }\n this.zzw++;\n if (zzgqn.zza(this.zzq, this.zzx, this.zzw)) {\n this.zzv = this.zzx + 1;\n this.zzu = this.zzv - this.zzq;\n } else {\n this.zzu++;\n }\n if ((this.zzy & 1024) != 0) {\n int[] iArr = this.zzn;\n int i3 = this.zzp;\n this.zzp = i3 + 1;\n iArr[i3] = this.zzx;\n }\n if (zzd()) {\n this.zzaa = this.zza.zzb();\n if (this.zzz == zzgod.MESSAGE.zza() + 51 || this.zzz == zzgod.GROUP.zza() + 51) {\n zza(this.zzx, (Class) zzp());\n } else if (this.zzz == zzgod.ENUM.zza() + 51 && zzq()) {\n zza(this.zzx, (zzgop) zzp());\n }\n } else {\n this.zzac = zza(this.zzc, (String) zzp());\n if (zzh()) {\n this.zzab = this.zza.zzb();\n }\n if (this.zzz == zzgod.MESSAGE.zza() || this.zzz == zzgod.GROUP.zza()) {\n zza(this.zzx, this.zzac.getType());\n } else if (this.zzz == zzgod.MESSAGE_LIST.zza() || this.zzz == zzgod.GROUP_LIST.zza()) {\n zza(this.zzx, (Class) zzp());\n } else if (this.zzz == zzgod.ENUM.zza() || this.zzz == zzgod.ENUM_LIST.zza() || this.zzz == zzgod.ENUM_LIST_PACKED.zza()) {\n if (zzq()) {\n zza(this.zzx, (zzgop) zzp());\n }\n } else if (this.zzz == zzgod.MAP.zza()) {\n int i4 = this.zzx;\n Object zzp2 = zzp();\n if (this.zzaf == zzgol.zza()) {\n this.zzaf = new zzgol<>();\n }\n this.zzaf.zza(i4, zzp2);\n if ((this.zzy & 2048) != 0) {\n z = true;\n }\n if (z) {\n zza(this.zzx, (zzgop) zzp());\n }\n }\n }\n return true;\n }",
"float getZ();",
"float getZ();",
"float getZ();",
"public abstract void zza(T t, zzjl zzjl) throws IOException;",
"int getZ();",
"int getZ();",
"int getZ();",
"public final void zza(String str, List<zzbu.zza> list) {\n boolean z;\n boolean z2;\n String str2 = str;\n List<zzbu.zza> list2 = list;\n Preconditions.checkNotNull(list);\n for (int i = 0; i < list.size(); i++) {\n zzbu.zza.C4079zza zza = (zzbu.zza.C4079zza) list2.get(i).zzbl();\n if (zza.zzb() != 0) {\n for (int i2 = 0; i2 < zza.zzb(); i2++) {\n zzbu.zzb.zza zza2 = (zzbu.zzb.zza) zza.zzb(i2).zzbl();\n zzbu.zzb.zza zza3 = (zzbu.zzb.zza) ((zzib.zza) zza2.clone());\n String zzb2 = zzhb.zzb(zza2.zza());\n if (zzb2 != null) {\n zza3.zza(zzb2);\n z2 = true;\n } else {\n z2 = false;\n }\n for (int i3 = 0; i3 < zza2.zzb(); i3++) {\n zzbu.zzc zza4 = zza2.zza(i3);\n String zza5 = zzha.zza(zza4.zzh());\n if (zza5 != null) {\n zza3.zza(i3, (zzbu.zzc) ((zzib) ((zzbu.zzc.zza) zza4.zzbl()).zza(zza5).zzv()));\n z2 = true;\n }\n }\n if (z2) {\n zza = zza.zza(i2, zza3);\n list2.set(i, (zzbu.zza) ((zzib) zza.zzv()));\n }\n }\n }\n if (zza.zza() != 0) {\n for (int i4 = 0; i4 < zza.zza(); i4++) {\n zzbu.zze zza6 = zza.zza(i4);\n String zza7 = zzhd.zza(zza6.zzc());\n if (zza7 != null) {\n zza = zza.zza(i4, ((zzbu.zze.zza) zza6.zzbl()).zza(zza7));\n list2.set(i, (zzbu.zza) ((zzib) zza.zzv()));\n }\n }\n }\n }\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n Preconditions.checkNotNull(list);\n SQLiteDatabase c_ = mo40210c_();\n c_.beginTransaction();\n try {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n SQLiteDatabase c_2 = mo40210c_();\n c_2.delete(\"property_filters\", \"app_id=?\", new String[]{str2});\n c_2.delete(\"event_filters\", \"app_id=?\", new String[]{str2});\n for (zzbu.zza next : list) {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n Preconditions.checkNotNull(next);\n if (!next.zza()) {\n zzr().zzi().zza(\"Audience with no ID. appId\", zzez.zza(str));\n } else {\n int zzb3 = next.zzb();\n Iterator<zzbu.zzb> it = next.zze().iterator();\n while (true) {\n if (!it.hasNext()) {\n Iterator<zzbu.zze> it2 = next.zzc().iterator();\n while (true) {\n if (!it2.hasNext()) {\n Iterator<zzbu.zzb> it3 = next.zze().iterator();\n while (true) {\n if (!it3.hasNext()) {\n z = true;\n break;\n } else if (!zza(str2, zzb3, it3.next())) {\n z = false;\n break;\n }\n }\n if (z) {\n Iterator<zzbu.zze> it4 = next.zzc().iterator();\n while (true) {\n if (!it4.hasNext()) {\n break;\n } else if (!zza(str2, zzb3, it4.next())) {\n z = false;\n break;\n }\n }\n }\n if (!z) {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n SQLiteDatabase c_3 = mo40210c_();\n c_3.delete(\"property_filters\", \"app_id=? and audience_id=?\", new String[]{str2, String.valueOf(zzb3)});\n c_3.delete(\"event_filters\", \"app_id=? and audience_id=?\", new String[]{str2, String.valueOf(zzb3)});\n }\n } else if (!it2.next().zza()) {\n zzr().zzi().zza(\"Property filter with no ID. Audience definition ignored. appId, audienceId\", zzez.zza(str), Integer.valueOf(zzb3));\n break;\n }\n }\n } else if (!it.next().zza()) {\n zzr().zzi().zza(\"Event filter with no ID. Audience definition ignored. appId, audienceId\", zzez.zza(str), Integer.valueOf(zzb3));\n break;\n }\n }\n }\n }\n ArrayList arrayList = new ArrayList();\n for (zzbu.zza next2 : list) {\n arrayList.add(next2.zza() ? Integer.valueOf(next2.zzb()) : null);\n }\n zzb(str2, (List<Integer>) arrayList);\n c_.setTransactionSuccessful();\n } finally {\n c_.endTransaction();\n }\n }",
"public final zzgol<Class<?>> zzm() {\n zzr();\n return this.zzad;\n }",
"public void zRotate() {\n\t\t\n\t}",
"public abstract void zzc(T t, zzjl zzjl) throws IOException;",
"double setz(double z) {\nreturn this.z;\n }",
"@Override\r\n\tpublic void zjedz(Kost k) {\n\t}",
"void zmniejszBieg();",
"public abstract boolean zza(zzdxo<?> zzdxo, zzd zzd, zzd zzd2);",
"@Override\n\tpublic int getZ() {\n\t\treturn 1000;\n\t}",
"public abstract boolean zza(zzdxo<?> zzdxo, zzk zzk, zzk zzk2);",
"public abstract void zzf(Object obj);",
"@Override\r\n\tpublic void zjedz(Seno s) {\n\t}",
"public final /* synthetic */ void zzx() {\n zzbu zzw = zzw();\n if (zzw != null) {\n this.zzbb.add(zzw);\n }\n }",
"public abstract int zzu(T t);",
"public final zzgol<Object> zzo() {\n zzr();\n return this.zzaf;\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final <E> void zza(Object obj, Object obj2, long j) {\n List zzc = zzc(obj2, j);\n List zza = zza(obj, j, zzc.size());\n int size = zza.size();\n int size2 = zzc.size();\n if (size > 0 && size2 > 0) {\n zza.addAll(zzc);\n }\n if (size > 0) {\n zzc = zza;\n }\n zziu.zza(obj, j, zzc);\n }",
"double getZ() { return pos[2]; }",
"public int getZ() {\r\n return z;\r\n }",
"private static void zza(com.google.android.gms.internal.gtm.zzug r2, java.lang.Object r3) {\n /*\n com.google.android.gms.internal.gtm.zzre.checkNotNull(r3)\n int[] r0 = com.google.android.gms.internal.gtm.zzqu.zzaxr\n com.google.android.gms.internal.gtm.zzul r2 = r2.zzrs()\n int r2 = r2.ordinal()\n r2 = r0[r2]\n r0 = 1\n r1 = 0\n switch(r2) {\n case 1: goto L_0x0040;\n case 2: goto L_0x003d;\n case 3: goto L_0x003a;\n case 4: goto L_0x0037;\n case 5: goto L_0x0034;\n case 6: goto L_0x0031;\n case 7: goto L_0x0028;\n case 8: goto L_0x001e;\n case 9: goto L_0x0015;\n default: goto L_0x0014;\n }\n L_0x0014:\n goto L_0x0043\n L_0x0015:\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzsk\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrn\n if (r2 == 0) goto L_0x0043\n goto L_0x0026\n L_0x001e:\n boolean r2 = r3 instanceof java.lang.Integer\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrf\n if (r2 == 0) goto L_0x0043\n L_0x0026:\n r1 = 1\n goto L_0x0043\n L_0x0028:\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzps\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof byte[]\n if (r2 == 0) goto L_0x0043\n goto L_0x0026\n L_0x0031:\n boolean r0 = r3 instanceof java.lang.String\n goto L_0x0042\n L_0x0034:\n boolean r0 = r3 instanceof java.lang.Boolean\n goto L_0x0042\n L_0x0037:\n boolean r0 = r3 instanceof java.lang.Double\n goto L_0x0042\n L_0x003a:\n boolean r0 = r3 instanceof java.lang.Float\n goto L_0x0042\n L_0x003d:\n boolean r0 = r3 instanceof java.lang.Long\n goto L_0x0042\n L_0x0040:\n boolean r0 = r3 instanceof java.lang.Integer\n L_0x0042:\n r1 = r0\n L_0x0043:\n if (r1 == 0) goto L_0x0046\n return\n L_0x0046:\n java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException\n java.lang.String r3 = \"Wrong object type used with protocol message reflection.\"\n r2.<init>(r3)\n goto L_0x004f\n L_0x004e:\n throw r2\n L_0x004f:\n goto L_0x004e\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.gtm.zzqt.zza(com.google.android.gms.internal.gtm.zzug, java.lang.Object):void\");\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final void zzb(Object obj, long j) {\n Object obj2;\n List list = (List) zziu.zzp(obj, j);\n if (list instanceof zzgo) {\n obj2 = ((zzgo) list).zzfu();\n } else if (!zzyp.isAssignableFrom(list.getClass())) {\n if (!(list instanceof zzhr) || !(list instanceof zzge)) {\n obj2 = Collections.unmodifiableList(list);\n } else {\n zzge zzge = (zzge) list;\n if (zzge.zzch()) {\n zzge.zzci();\n return;\n }\n return;\n }\n } else {\n return;\n }\n zziu.zza(obj, j, obj2);\n }",
"abstract double getDirZ();",
"public int zzz() {\n int i;\n int i2 = 0;\n int zzz = super.zzz();\n if (this.zzbuR != 0) {\n zzz += zzsn.zzd(1, this.zzbuR);\n }\n if (!this.tag.equals(\"\")) {\n zzz += zzsn.zzo(2, this.tag);\n }\n if (this.zzbuW != null && this.zzbuW.length > 0) {\n i = zzz;\n for (zzsu zzsu : this.zzbuW) {\n if (zzsu != null) {\n i += zzsn.zzc(3, zzsu);\n }\n }\n zzz = i;\n }\n if (!Arrays.equals(this.zzbuY, zzsx.zzbuD)) {\n zzz += zzsn.zzb(6, this.zzbuY);\n }\n if (this.zzbvb != null) {\n zzz += zzsn.zzc(7, this.zzbvb);\n }\n if (!Arrays.equals(this.zzbuZ, zzsx.zzbuD)) {\n zzz += zzsn.zzb(8, this.zzbuZ);\n }\n if (this.zzbuX != null) {\n zzz += zzsn.zzc(9, this.zzbuX);\n }\n if (this.zzbuV) {\n zzz += zzsn.zzf(10, this.zzbuV);\n }\n if (this.zzbuU != 0) {\n zzz += zzsn.zzC(11, this.zzbuU);\n }\n if (this.zzob != 0) {\n zzz += zzsn.zzC(12, this.zzob);\n }\n if (!Arrays.equals(this.zzbva, zzsx.zzbuD)) {\n zzz += zzsn.zzb(13, this.zzbva);\n }\n if (!this.zzbvc.equals(\"\")) {\n zzz += zzsn.zzo(14, this.zzbvc);\n }\n if (this.zzbvd != 180000) {\n zzz += zzsn.zze(15, this.zzbvd);\n }\n if (this.zzbve != null) {\n zzz += zzsn.zzc(16, this.zzbve);\n }\n if (this.zzbuS != 0) {\n zzz += zzsn.zzd(17, this.zzbuS);\n }\n if (!Arrays.equals(this.zzbvf, zzsx.zzbuD)) {\n zzz += zzsn.zzb(18, this.zzbvf);\n }\n if (this.zzbvg != 0) {\n zzz += zzsn.zzC(19, this.zzbvg);\n }\n if (this.zzbvh != null && this.zzbvh.length > 0) {\n i = 0;\n while (i2 < this.zzbvh.length) {\n i += zzsn.zzmx(this.zzbvh[i2]);\n i2++;\n }\n zzz = (zzz + i) + (this.zzbvh.length * 2);\n }\n if (this.zzbuT != 0) {\n zzz += zzsn.zzd(21, this.zzbuT);\n }\n return this.zzbvi != 0 ? zzz + zzsn.zzd(22, this.zzbvi) : zzz;\n }",
"zzkf(zzkc zzkc, zzgz zzgz) {\n super(zzgz);\n this.zza = zzkc;\n }",
"private final int zzr(Object var1_1) {\n var2_2 = zzja.zzb;\n var4_4 = 0;\n block71: for (var3_3 = 0; var3_3 < (var6_6 = ((int[])(var5_5 = this.zzc)).length); var3_3 += 3) {\n block76: {\n var6_6 = this.zzA(var3_3);\n var7_7 = zzja.zzC(var6_6);\n var8_8 = this.zzc;\n var9_9 = var8_8[var3_3];\n var10_10 = 1048575;\n var11_11 = var6_6 & var10_10;\n var5_5 = (Object)zzhk.zzJ;\n var6_6 = var5_5.zza();\n if (var7_7 >= var6_6 && var7_7 <= (var6_6 = (var5_5 = zzhk.zzW).zza())) {\n var5_5 = this.zzc;\n var13_12 = var3_3 + 2;\n var6_6 = var5_5[var13_12];\n }\n var6_6 = 63;\n switch (var7_7) {\n default: {\n continue block71;\n }\n case 68: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzix)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzgz.zzE(var9_9, (zzix)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 67: {\n var7_7 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var7_7 == 0) continue block71;\n var11_11 = zzja.zzG(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var15_14 = var11_11 + var11_11;\n var17_15 = var11_11 >> var6_6 ^ var15_14;\n var6_6 = zzgz.zzx(var17_15);\n ** GOTO lbl427\n }\n case 66: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var9_9 = var6_6 + var6_6;\n var6_6 = zzgz.zzw(var6_6 >> 31 ^ var9_9);\n ** GOTO lbl427\n }\n case 65: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 64: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 63: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 62: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzw(var6_6);\n ** GOTO lbl427\n }\n case 61: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzgs)zzkh.zzn(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl380\n }\n case 60: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzw(var9_9, var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 59: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var7_7 = var5_5 instanceof zzgs;\n if (var7_7 == 0) ** GOTO lbl94\n var5_5 = (zzgs)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl380\nlbl94:\n // 1 sources\n\n var5_5 = (String)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzy((String)var5_5);\n ** GOTO lbl427\n }\n case 58: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl409\n }\n case 57: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 56: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 55: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 54: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzja.zzG(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 53: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzja.zzG(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 52: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 51: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 50: {\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzw(var3_3);\n zzis.zza(var9_9, var5_5, var14_13);\n continue block71;\n }\n case 49: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzz(var9_9, (List)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 48: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzf((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 47: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzn((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 46: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 45: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 44: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzh((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 43: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzl((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 42: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzt((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 41: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 40: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 39: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzj((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 38: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzd((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 37: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzb((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 36: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 35: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\nlbl252:\n // 14 sources\n\n var7_7 += var9_9;\n ** GOTO lbl427\n }\n case 34: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzg(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 33: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzo(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 32: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 31: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 30: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzi(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 29: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzm(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 28: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzy(var9_9, (List)var5_5);\n ** GOTO lbl322\n }\n case 27: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzx(var9_9, (List)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 26: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzv(var9_9, (List)var5_5);\n ** GOTO lbl322\n }\n case 25: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzu(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 24: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 23: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 22: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzk(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 21: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zze(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 20: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzc(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 19: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 18: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\nlbl322:\n // 25 sources\n\n while (true) {\n var4_4 += var6_6;\n continue block71;\n break;\n }\n }\n case 17: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzix)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzgz.zzE(var9_9, (zzix)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 16: {\n var7_7 = (int)this.zzK(var1_1, var3_3);\n if (var7_7 == 0) continue block71;\n var11_11 = zzkh.zzf(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var15_14 = var11_11 + var11_11;\n var17_15 = var11_11 >> var6_6 ^ var15_14;\n var6_6 = zzgz.zzx(var17_15);\n ** GOTO lbl427\n }\n case 15: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var9_9 = var6_6 + var6_6;\n var6_6 = zzgz.zzw(var6_6 >> 31 ^ var9_9);\n ** GOTO lbl427\n }\n case 14: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 13: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 12: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 11: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzw(var6_6);\n ** GOTO lbl427\n }\n case 10: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzgs)zzkh.zzn(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\nlbl380:\n // 4 sources\n\n while (true) {\n var7_7 += (var9_9 += var6_6);\n ** GOTO lbl428\n break;\n }\n }\n case 9: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzw(var9_9, var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 8: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var7_7 = var5_5 instanceof zzgs;\n if (var7_7 != 0) {\n var5_5 = (zzgs)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** continue;\n }\n var5_5 = (String)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzy((String)var5_5);\n ** GOTO lbl427\n }\n case 7: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\nlbl409:\n // 2 sources\n\n ++var6_6;\n ** GOTO lbl322\n }\n case 6: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 5: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 4: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\nlbl427:\n // 13 sources\n\n var7_7 += var6_6;\nlbl428:\n // 2 sources\n\n var4_4 += var7_7;\n continue block71;\n }\n case 3: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzkh.zzf(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 2: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzkh.zzf(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\nlbl443:\n // 4 sources\n\n var4_4 += (var9_9 += var6_6);\n continue block71;\n }\n case 1: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\nlbl449:\n // 6 sources\n\n var6_6 += 4;\n ** GOTO lbl322\n }\n case 0: \n }\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue;\n var6_6 = zzgz.zzw(var9_9 << 3);\n }\n var6_6 += 8;\n ** continue;\n }\n var2_2 = this.zzn;\n var1_1 = var2_2.zzd(var1_1);\n var21_17 = var2_2.zzh(var1_1);\n return var4_4 + var21_17;\n }",
"abstract double getOrgZ();",
"public abstract boolean zza(zzhr zzhr);",
"public abstract int zzh(int i, int i2, int i3);",
"public int getZ() {\n return z;\n }",
"void mo69875a(List<Aweme> list, boolean z);",
"public final void mo91704a(boolean z, boolean z2, boolean z3) {\n }",
"public int zzz() {\n int i;\n int i2;\n int i3;\n int i4 = 0;\n int zzz = super.zzz();\n if (this.zzbuI == null || this.zzbuI.length <= 0) {\n i = zzz;\n } else {\n i2 = 0;\n i3 = 0;\n for (String str : this.zzbuI) {\n if (str != null) {\n i3++;\n i2 += zzsn.zzgO(str);\n }\n }\n i = (zzz + i2) + (i3 * 1);\n }\n if (this.zzbuJ != null && this.zzbuJ.length > 0) {\n i3 = 0;\n zzz = 0;\n for (String str2 : this.zzbuJ) {\n if (str2 != null) {\n zzz++;\n i3 += zzsn.zzgO(str2);\n }\n }\n i = (i + i3) + (zzz * 1);\n }\n if (this.zzbuK != null && this.zzbuK.length > 0) {\n i3 = 0;\n for (int zzz2 : this.zzbuK) {\n i3 += zzsn.zzmx(zzz2);\n }\n i = (i + i3) + (this.zzbuK.length * 1);\n }\n if (this.zzbuL == null || this.zzbuL.length <= 0) {\n return i;\n }\n i2 = 0;\n while (i4 < this.zzbuL.length) {\n i2 += zzsn.zzas(this.zzbuL[i4]);\n i4++;\n }\n return (i + i2) + (this.zzbuL.length * 1);\n }",
"public final /* synthetic */ void zza(Api.zzb zzb) throws RemoteException {\n zzbdw<zzbaz<Status>> zzzX = zzzX();\n ((zzs) ((zzah) zzb).zzrf()).zza(new zzbe((IBinder) null, new zzcpq(zzzX), this.zzaVL));\n }",
"public void addToZ(int z){\n\t\tcurrentSet().Z.add(z);\n\t\tcurrentSet().inZ[z] = true;\n\t}",
"public abstract void zza(B b, int i, zzeh zzeh);",
"@Override\n\tpublic double getZ() {\n\t\treturn z;\n\t}",
"public void zza(zzj zzj) {\n this.zzaTY = (zzj) zzu.zzu(zzj);\n }",
"void mo28307a(zzgd zzgd);",
"godot.wire.Wire.Vector3 getZ();",
"@Override\n public final /* synthetic */ zzfjs zza(zzfjj zzfjj2) throws IOException {\n block19: do {\n int n;\n int n2;\n Object[] arrobject;\n int n3 = zzfjj2.zzcvt();\n switch (n3) {\n default: {\n if (super.zza(zzfjj2, n3)) continue block19;\n }\n case 0: {\n return this;\n }\n case 10: {\n this.zzlmn = zzfjj2.readBytes();\n continue block19;\n }\n case 18: {\n this.zzlmo = zzfjj2.readString();\n continue block19;\n }\n case 25: {\n this.zzlmp = Double.longBitsToDouble(zzfjj2.zzcwp());\n continue block19;\n }\n case 37: {\n this.zzlmq = Float.intBitsToFloat(zzfjj2.zzcwo());\n continue block19;\n }\n case 40: {\n this.zzlmr = zzfjj2.zzcwn();\n continue block19;\n }\n case 48: {\n this.zzlms = zzfjj2.zzcwi();\n continue block19;\n }\n case 56: {\n n3 = zzfjj2.zzcwi();\n this.zzlmt = -(n3 & 1) ^ n3 >>> 1;\n continue block19;\n }\n case 64: {\n this.zzlmu = zzfjj2.zzcvz();\n continue block19;\n }\n case 74: {\n n = zzfjv.zzb(zzfjj2, 74);\n n3 = this.zzlmv == null ? 0 : this.zzlmv.length;\n arrobject = new zzdmc[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmv, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = new zzdmc();\n zzfjj2.zza((zzfjs)arrobject[n]);\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = new zzdmc();\n zzfjj2.zza((zzfjs)arrobject[n]);\n this.zzlmv = arrobject;\n continue block19;\n }\n case 82: {\n n = zzfjv.zzb(zzfjj2, 82);\n n3 = this.zzlmw == null ? 0 : this.zzlmw.length;\n arrobject = new zzdmd[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmw, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = new zzdmd();\n zzfjj2.zza((zzfjs)arrobject[n]);\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = new zzdmd();\n zzfjj2.zza((zzfjs)arrobject[n]);\n this.zzlmw = arrobject;\n continue block19;\n }\n case 90: {\n n = zzfjv.zzb(zzfjj2, 90);\n n3 = this.zzlmx == null ? 0 : this.zzlmx.length;\n arrobject = new String[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmx, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = zzfjj2.readString();\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = zzfjj2.readString();\n this.zzlmx = arrobject;\n continue block19;\n }\n case 96: {\n n = zzfjv.zzb(zzfjj2, 96);\n n3 = this.zzlmy == null ? 0 : this.zzlmy.length;\n arrobject = new long[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmy, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = zzfjj2.zzcwn();\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = zzfjj2.zzcwn();\n this.zzlmy = arrobject;\n continue block19;\n }\n case 98: {\n n2 = zzfjj2.zzks(zzfjj2.zzcwi());\n n3 = zzfjj2.getPosition();\n n = 0;\n while (zzfjj2.zzcwk() > 0) {\n zzfjj2.zzcwn();\n ++n;\n }\n zzfjj2.zzmg(n3);\n n3 = this.zzlmy == null ? 0 : this.zzlmy.length;\n arrobject = new long[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmy, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length) {\n arrobject[n] = zzfjj2.zzcwn();\n ++n;\n }\n this.zzlmy = arrobject;\n zzfjj2.zzkt(n2);\n continue block19;\n }\n case 104: {\n this.zzlna = zzfjj2.zzcwn();\n continue block19;\n }\n case 117: {\n n = zzfjv.zzb(zzfjj2, 117);\n n3 = this.zzlmz == null ? 0 : this.zzlmz.length;\n arrobject = new float[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmz, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n this.zzlmz = arrobject;\n continue block19;\n }\n case 114: \n }\n n3 = zzfjj2.zzcwi();\n n2 = zzfjj2.zzks(n3);\n n = n3 / 4;\n n3 = this.zzlmz == null ? 0 : this.zzlmz.length;\n arrobject = new float[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmz, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length) {\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n ++n;\n }\n this.zzlmz = arrobject;\n zzfjj2.zzkt(n2);\n } while (true);\n }",
"public void setZ(int zPos){\t\t\n\t\tz = new Integer(zPos);\n\t}",
"public int getZ() {\n\t\treturn z;\n\t}",
"double getz() {\nreturn this.z;\n }",
"private static <L> List<L> zza(Object obj, long j, int i) {\n zzgn zzgn;\n List<L> list;\n List<L> zzc = zzc(obj, j);\n if (zzc.isEmpty()) {\n if (zzc instanceof zzgo) {\n list = new zzgn(i);\n } else if (!(zzc instanceof zzhr) || !(zzc instanceof zzge)) {\n list = new ArrayList<>(i);\n } else {\n list = ((zzge) zzc).zzah(i);\n }\n zziu.zza(obj, j, list);\n return list;\n }\n if (zzyp.isAssignableFrom(zzc.getClass())) {\n ArrayList arrayList = new ArrayList(zzc.size() + i);\n arrayList.addAll(zzc);\n zziu.zza(obj, j, arrayList);\n zzgn = arrayList;\n } else if (zzc instanceof zzir) {\n zzgn zzgn2 = new zzgn(zzc.size() + i);\n zzgn2.addAll((zzir) zzc);\n zziu.zza(obj, j, zzgn2);\n zzgn = zzgn2;\n } else if (!(zzc instanceof zzhr) || !(zzc instanceof zzge)) {\n return zzc;\n } else {\n zzge zzge = (zzge) zzc;\n if (zzge.zzch()) {\n return zzc;\n }\n zzge zzah = zzge.zzah(zzc.size() + i);\n zziu.zza(obj, j, zzah);\n return zzah;\n }\n return zzgn;\n }",
"public final void zzb(zzk zzk) {\n zzdxo.zzhwd.zza(this, zzk);\n }",
"public double getZ() {\r\n\t\treturn z;\t\r\n\t\t}",
"public int zzz() {\n int i = 0;\n int zzz = super.zzz();\n if (!Arrays.equals(this.zzbuO, zzsx.zzbuD)) {\n zzz += zzsn.zzb(1, this.zzbuO);\n }\n if (this.zzbuP != null && this.zzbuP.length > 0) {\n int i2 = 0;\n int i3 = 0;\n while (i < this.zzbuP.length) {\n byte[] bArr = this.zzbuP[i];\n if (bArr != null) {\n i3++;\n i2 += zzsn.zzG(bArr);\n }\n i++;\n }\n zzz = (zzz + i2) + (i3 * 1);\n }\n return this.zzbuQ ? zzz + zzsn.zzf(3, this.zzbuQ) : zzz;\n }",
"public final void zzc(int i, long j) throws zzlm {\n boolean z = false;\n switch (i) {\n case 131:\n this.zzbal.type = (int) j;\n return;\n case 136:\n zzog zzog = this.zzbal;\n if (j == 1) {\n z = true;\n }\n zzog.zzbce = z;\n return;\n case 155:\n this.zzbar = zzdw(j);\n return;\n case 159:\n this.zzbal.zzafu = (int) j;\n return;\n case 176:\n this.zzbal.width = (int) j;\n return;\n case 179:\n this.zzban.add(zzdw(j));\n return;\n case 186:\n this.zzbal.height = (int) j;\n return;\n case JfifUtil.MARKER_RST7:\n this.zzbal.number = (int) j;\n return;\n case 231:\n this.zzaof = zzdw(j);\n return;\n case 241:\n if (!this.zzaoi) {\n this.zzbao.add(j);\n this.zzaoi = true;\n return;\n }\n return;\n case 251:\n this.zzaop = true;\n return;\n case 16980:\n if (j != 3) {\n StringBuilder sb = new StringBuilder(50);\n sb.append(\"ContentCompAlgo \");\n sb.append(j);\n sb.append(\" not supported\");\n throw new zzlm(sb.toString());\n }\n return;\n case 17029:\n if (j < 1 || j > 2) {\n StringBuilder sb2 = new StringBuilder(53);\n sb2.append(\"DocTypeReadVersion \");\n sb2.append(j);\n sb2.append(\" not supported\");\n throw new zzlm(sb2.toString());\n }\n return;\n case 17143:\n if (j != 1) {\n StringBuilder sb3 = new StringBuilder(50);\n sb3.append(\"EBMLReadVersion \");\n sb3.append(j);\n sb3.append(\" not supported\");\n throw new zzlm(sb3.toString());\n }\n return;\n case 18401:\n if (j != 5) {\n StringBuilder sb4 = new StringBuilder(49);\n sb4.append(\"ContentEncAlgo \");\n sb4.append(j);\n sb4.append(\" not supported\");\n throw new zzlm(sb4.toString());\n }\n return;\n case 18408:\n if (j != 1) {\n StringBuilder sb5 = new StringBuilder(56);\n sb5.append(\"AESSettingsCipherMode \");\n sb5.append(j);\n sb5.append(\" not supported\");\n throw new zzlm(sb5.toString());\n }\n return;\n case 20529:\n if (j != 0) {\n StringBuilder sb6 = new StringBuilder(55);\n sb6.append(\"ContentEncodingOrder \");\n sb6.append(j);\n sb6.append(\" not supported\");\n throw new zzlm(sb6.toString());\n }\n return;\n case 20530:\n if (j != 1) {\n StringBuilder sb7 = new StringBuilder(55);\n sb7.append(\"ContentEncodingScope \");\n sb7.append(j);\n sb7.append(\" not supported\");\n throw new zzlm(sb7.toString());\n }\n return;\n case 21420:\n this.zzaoa = j + this.zzans;\n return;\n case 21432:\n int i2 = (int) j;\n if (i2 == 3) {\n this.zzbal.zzatu = 1;\n return;\n } else if (i2 != 15) {\n switch (i2) {\n case 0:\n this.zzbal.zzatu = 0;\n return;\n case 1:\n this.zzbal.zzatu = 2;\n return;\n default:\n return;\n }\n } else {\n this.zzbal.zzatu = 3;\n return;\n }\n case 21680:\n this.zzbal.zzbbk = (int) j;\n return;\n case 21682:\n this.zzbal.zzbbm = (int) j;\n return;\n case 21690:\n this.zzbal.zzbbl = (int) j;\n return;\n case 21930:\n zzog zzog2 = this.zzbal;\n if (j == 1) {\n z = true;\n }\n zzog2.zzbcf = z;\n return;\n case 21945:\n switch ((int) j) {\n case 1:\n this.zzbal.zzbbq = 2;\n return;\n case 2:\n this.zzbal.zzbbq = 1;\n return;\n default:\n return;\n }\n case 21946:\n int i3 = (int) j;\n if (i3 != 1) {\n if (i3 == 16) {\n this.zzbal.zzbbp = 6;\n return;\n } else if (i3 != 18) {\n switch (i3) {\n case 6:\n case 7:\n break;\n default:\n return;\n }\n } else {\n this.zzbal.zzbbp = 7;\n return;\n }\n }\n this.zzbal.zzbbp = 3;\n return;\n case 21947:\n this.zzbal.zzbbn = true;\n int i4 = (int) j;\n if (i4 == 1) {\n this.zzbal.zzbbo = 1;\n return;\n } else if (i4 != 9) {\n switch (i4) {\n case 4:\n case 5:\n case 6:\n case 7:\n this.zzbal.zzbbo = 2;\n return;\n default:\n return;\n }\n } else {\n this.zzbal.zzbbo = 6;\n return;\n }\n case 21948:\n this.zzbal.zzbbr = (int) j;\n return;\n case 21949:\n this.zzbal.zzbbs = (int) j;\n return;\n case 22186:\n this.zzbal.zzaow = j;\n return;\n case 22203:\n this.zzbal.zzaox = j;\n return;\n case 25188:\n this.zzbal.zzbcd = (int) j;\n return;\n case 2352003:\n this.zzbal.zzbbh = (int) j;\n return;\n case 2807729:\n this.zzanu = j;\n return;\n default:\n return;\n }\n }",
"public final /* synthetic */ void zzy() {\n zzbu zzw = zzw();\n if (zzw != null) {\n this.zzbb.add(zzw);\n }\n }",
"public final Object zza(int i, Object obj, Object obj2) {\n switch (zzczi.zzdi[i - 1]) {\n case 1:\n return new zzczh();\n case 2:\n return new zzb(null);\n case 3:\n return zza((zzdsg) zzgnt, \"\\u0001\\u0004\\u0000\\u0001\\u0001\\u0004\\u0004\\u0000\\u0001\\u0000\\u0001\\u001e\\u0002\\b\\u0000\\u0003\\b\\u0001\\u0004\\b\\u0002\", new Object[]{\"zzdj\", \"zzgno\", zza.zzac(), \"zzgnq\", \"zzgnr\", \"zzgns\"});\n case 4:\n return zzgnt;\n case 5:\n zzdsp<zzczh> zzdsp = zzdv;\n if (zzdsp == null) {\n synchronized (zzczh.class) {\n zzdsp = zzdv;\n if (zzdsp == null) {\n zzdsp = new zzc<>(zzgnt);\n zzdv = zzdsp;\n }\n }\n }\n return zzdsp;\n case 6:\n return Byte.valueOf(1);\n case 7:\n return null;\n default:\n throw new UnsupportedOperationException();\n }\n }",
"public void setLocalZ(float z){\n\t\tthis.z = z;\n\t}",
"private String AccelZConversion() {\n short reading = (short) (((raw[18] & 0xF0) >> 4) + ((raw[19] & 0x3f) << 4));\n\n\n int z[] = fixBinaryString(Integer.toBinaryString(reading));\n return myUnsignedToSigned(z) + \"\";\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final <L> List<L> zza(Object obj, long j) {\n return zza(obj, j, 10);\n }",
"double getZLength();",
"public void setZ(int z) {\r\n this.z = (short) z;\r\n }",
"public abstract void zza(B b, int i, long j);",
"private static void zza(String object, Object object2, StringBuffer stringBuffer, StringBuffer stringBuffer2) throws IllegalAccessException, InvocationTargetException {\n if (object2 == null) return;\n if (object2 instanceof zzfjs) {\n n2 = stringBuffer.length();\n if (object != null) {\n stringBuffer2.append(stringBuffer).append(zzfjt.zzty((String)object)).append(\" <\\n\");\n stringBuffer.append(\" \");\n }\n class_ = object2.getClass();\n object5 = class_.getFields();\n n4 = ((Field[])object5).length;\n } else {\n object = zzfjt.zzty((String)object);\n stringBuffer2.append(stringBuffer).append((String)object).append(\": \");\n if (object2 instanceof String) {\n object = object2 = (String)object2;\n if (!object2.startsWith(\"http\")) {\n object = object2;\n if (object2.length() > 200) {\n object = String.valueOf(object2.substring(0, 200)).concat(\"[...]\");\n }\n }\n object = zzfjt.zzgr((String)object);\n stringBuffer2.append(\"\\\"\").append((String)object).append(\"\\\"\");\n } else if (object2 instanceof byte[]) {\n zzfjt.zza((byte[])object2, stringBuffer2);\n } else {\n stringBuffer2.append(object2);\n }\n stringBuffer2.append(\"\\n\");\n return;\n }\n for (n = 0; n < n4; ++n) {\n object6 = object5[n];\n n3 = object6.getModifiers();\n object4 = object6.getName();\n if (\"cachedSize\".equals(object4) || (n3 & 1) != 1 || (n3 & 8) == 8 || object4.startsWith(\"_\") || object4.endsWith(\"_\")) continue;\n object3 = object6.getType();\n object6 = object6.get(object2);\n if (object3.isArray() && object3.getComponentType() != Byte.TYPE) {\n n3 = object6 == null ? 0 : Array.getLength(object6);\n for (i = 0; i < n3; ++i) {\n zzfjt.zza((String)object4, Array.get(object6, i), stringBuffer, stringBuffer2);\n }\n continue;\n }\n zzfjt.zza((String)object4, object6, stringBuffer, stringBuffer2);\n }\n object4 = class_.getMethods();\n n3 = ((Method[])object4).length;\n n = 0;\n do {\n block20: {\n if (n >= n3) {\n if (object == null) return;\n stringBuffer.setLength(n2);\n stringBuffer2.append(stringBuffer).append(\">\\n\");\n return;\n }\n object5 = object4[n].getName();\n if (!object5.startsWith(\"set\")) break block20;\n object3 = object5.substring(3);\n object5 = String.valueOf(object3);\n object5 = object5.length() != 0 ? \"has\".concat((String)object5) : new String(\"has\");\n if (!((Boolean)(object5 = class_.getMethod((String)object5, new Class[0])).invoke(object2, new Object[0])).booleanValue()) ** GOTO lbl81\n {\n catch (NoSuchMethodException noSuchMethodException) {}\n }\n try {\n block22: {\n block21: {\n object5 = String.valueOf(object3);\n if (object5.length() == 0) break block21;\n object5 = \"get\".concat((String)object5);\n break block22;\n break block20;\n }\n object5 = new String(\"get\");\n }\n object5 = class_.getMethod((String)object5, new Class[0]);\n }\n catch (NoSuchMethodException noSuchMethodException) {}\n zzfjt.zza((String)object3, object5.invoke(object2, new Object[0]), stringBuffer, stringBuffer2);\n }\n ++n;\n } while (true);\n }",
"public final void zza(zza zza2) {\n if (zza2 != null) {\n if (!this.zzgno.zzaxi()) {\n this.zzgno = zzdqw.zza(this.zzgno);\n }\n this.zzgno.zzgp(zza2.zzab());\n return;\n }\n throw new NullPointerException();\n }",
"public void removeFromZ(int z){\n\t\tcurrentSet().Z.remove(new Integer(z));\n\t\tcurrentSet().inZ[z] = false;\n\t}",
"public abstract int zzp(T t);",
"@Override\n\tpublic List zhye(String name) {\n\t\treturn deal.zhye(name);\n\t}",
"public double getZ(){\n\t\treturn z;\n\t}",
"@Override\n \t\t\t\tpublic void doRotateZ() {\n \n \t\t\t\t}",
"public final int zza(com.google.android.gms.internal.ads.zzno r8, com.google.android.gms.internal.ads.zznt r9) throws java.io.IOException, java.lang.InterruptedException {\n /*\n r7 = this;\n r0 = 0\n r7.zzaoo = r0\n r1 = 1\n r2 = 1\n L_0x0005:\n if (r2 == 0) goto L_0x003c\n boolean r3 = r7.zzaoo\n if (r3 != 0) goto L_0x003c\n com.google.android.gms.internal.ads.zzob r2 = r7.zzazx\n boolean r2 = r2.zzb(r8)\n if (r2 == 0) goto L_0x0005\n long r3 = r8.getPosition()\n boolean r5 = r7.zzaob\n if (r5 == 0) goto L_0x0025\n r7.zzaod = r3\n long r3 = r7.zzaoc\n r9.zzahv = r3\n r7.zzaob = r0\n L_0x0023:\n r3 = 1\n goto L_0x0039\n L_0x0025:\n boolean r3 = r7.zzbam\n if (r3 == 0) goto L_0x0038\n long r3 = r7.zzaod\n r5 = -1\n int r3 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r3 == 0) goto L_0x0038\n long r3 = r7.zzaod\n r9.zzahv = r3\n r7.zzaod = r5\n goto L_0x0023\n L_0x0038:\n r3 = 0\n L_0x0039:\n if (r3 == 0) goto L_0x0005\n return r1\n L_0x003c:\n if (r2 == 0) goto L_0x003f\n return r0\n L_0x003f:\n r8 = -1\n return r8\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.zzod.zza(com.google.android.gms.internal.ads.zzno, com.google.android.gms.internal.ads.zznt):int\");\n }",
"public int getZ() {\n return Z;\n }",
"private void m128161c(boolean z) {\n if (z) {\n ObjectAnimator ofFloat = ObjectAnimator.ofFloat(this.f104234x, \"rotation\", new float[]{0.0f, 180.0f});\n ofFloat.setDuration(300);\n ofFloat.start();\n } else {\n ObjectAnimator ofFloat2 = ObjectAnimator.ofFloat(this.f104234x, \"rotation\", new float[]{180.0f, 0.0f});\n ofFloat2.setDuration(300);\n ofFloat2.start();\n }\n this.f104235y.mo99814a(z);\n }",
"default void setZ(double z)\n {\n getAxis().setZ(z);\n }",
"public final HashMap<Integer, Long> zzu() {\n HashMap<Integer, Long> hashMap = new HashMap<>();\n hashMap.put(0, this.zzsp);\n hashMap.put(1, this.zzsq);\n hashMap.put(2, this.zzsr);\n hashMap.put(3, this.zzfr);\n hashMap.put(4, this.zzfp);\n hashMap.put(5, this.zzss);\n hashMap.put(6, this.zzst);\n hashMap.put(7, this.zzsu);\n hashMap.put(8, this.zzfw);\n hashMap.put(9, this.zzfv);\n hashMap.put(10, this.zzsv);\n return hashMap;\n }",
"public void setZ(Double z);",
"public abstract void zza(B b, int i, T t);",
"boolean hasZ();",
"boolean hasZ();",
"public <C extends zze> C a(zzc<?> zzc) {\n C c2 = (zze) this.c.get(zzc);\n zzac.zzb(c2, (Object) \"Appropriate Api was not requested.\");\n return c2;\n }",
"public final int zzm(T r22) {\n /*\n r21 = this;\n r0 = r21;\n r1 = r22;\n r2 = r0.zzmq;\n r3 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n r4 = 0;\n r7 = 1;\n r8 = 1048575; // 0xfffff float:1.469367E-39 double:5.18065E-318;\n r9 = 0;\n r11 = 0;\n if (r2 == 0) goto L_0x03b8;\n L_0x0012:\n r2 = zzmh;\n r12 = r11;\n r13 = r12;\n L_0x0016:\n r14 = r0.zzmi;\n r14 = r14.length;\n if (r12 >= r14) goto L_0x03b0;\n L_0x001b:\n r14 = r0.zzag(r12);\n r15 = r14 & r3;\n r15 = r15 >>> 20;\n r3 = r0.zzmi;\n r3 = r3[r12];\n r14 = r14 & r8;\n r5 = (long) r14;\n r14 = com.google.android.gms.internal.clearcut.zzcb.DOUBLE_LIST_PACKED;\n r14 = r14.id();\n if (r15 < r14) goto L_0x0041;\n L_0x0031:\n r14 = com.google.android.gms.internal.clearcut.zzcb.SINT64_LIST_PACKED;\n r14 = r14.id();\n if (r15 > r14) goto L_0x0041;\n L_0x0039:\n r14 = r0.zzmi;\n r17 = r12 + 2;\n r14 = r14[r17];\n r14 = r14 & r8;\n goto L_0x0042;\n L_0x0041:\n r14 = r11;\n L_0x0042:\n switch(r15) {\n case 0: goto L_0x039c;\n case 1: goto L_0x0390;\n case 2: goto L_0x0380;\n case 3: goto L_0x0370;\n case 4: goto L_0x0360;\n case 5: goto L_0x0354;\n case 6: goto L_0x0348;\n case 7: goto L_0x033c;\n case 8: goto L_0x0325;\n case 9: goto L_0x0311;\n case 10: goto L_0x0300;\n case 11: goto L_0x02f1;\n case 12: goto L_0x02e2;\n case 13: goto L_0x02d7;\n case 14: goto L_0x02cc;\n case 15: goto L_0x02bd;\n case 16: goto L_0x02ae;\n case 17: goto L_0x0299;\n case 18: goto L_0x028e;\n case 19: goto L_0x0285;\n case 20: goto L_0x027c;\n case 21: goto L_0x0273;\n case 22: goto L_0x026a;\n case 23: goto L_0x028e;\n case 24: goto L_0x0285;\n case 25: goto L_0x0261;\n case 26: goto L_0x0258;\n case 27: goto L_0x024b;\n case 28: goto L_0x0242;\n case 29: goto L_0x0239;\n case 30: goto L_0x0230;\n case 31: goto L_0x0285;\n case 32: goto L_0x028e;\n case 33: goto L_0x0227;\n case 34: goto L_0x021d;\n case 35: goto L_0x01fd;\n case 36: goto L_0x01ec;\n case 37: goto L_0x01db;\n case 38: goto L_0x01ca;\n case 39: goto L_0x01b9;\n case 40: goto L_0x01a8;\n case 41: goto L_0x0197;\n case 42: goto L_0x0185;\n case 43: goto L_0x0173;\n case 44: goto L_0x0161;\n case 45: goto L_0x014f;\n case 46: goto L_0x013d;\n case 47: goto L_0x012b;\n case 48: goto L_0x0119;\n case 49: goto L_0x010b;\n case 50: goto L_0x00fb;\n case 51: goto L_0x00f3;\n case 52: goto L_0x00eb;\n case 53: goto L_0x00df;\n case 54: goto L_0x00d3;\n case 55: goto L_0x00c7;\n case 56: goto L_0x00bf;\n case 57: goto L_0x00b7;\n case 58: goto L_0x00af;\n case 59: goto L_0x009f;\n case 60: goto L_0x0097;\n case 61: goto L_0x008f;\n case 62: goto L_0x0083;\n case 63: goto L_0x0077;\n case 64: goto L_0x006f;\n case 65: goto L_0x0067;\n case 66: goto L_0x005b;\n case 67: goto L_0x004f;\n case 68: goto L_0x0047;\n default: goto L_0x0045;\n };\n L_0x0045:\n goto L_0x03aa;\n L_0x0047:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x004d:\n goto L_0x029f;\n L_0x004f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0055:\n r5 = zzh(r1, r5);\n goto L_0x02b8;\n L_0x005b:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0061:\n r5 = zzg(r1, r5);\n goto L_0x02c7;\n L_0x0067:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x006d:\n goto L_0x02d2;\n L_0x006f:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0075:\n goto L_0x02dd;\n L_0x0077:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x007d:\n r5 = zzg(r1, r5);\n goto L_0x02ec;\n L_0x0083:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0089:\n r5 = zzg(r1, r5);\n goto L_0x02fb;\n L_0x008f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0095:\n goto L_0x0306;\n L_0x0097:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x009d:\n goto L_0x0317;\n L_0x009f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00a5:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r5 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r6 == 0) goto L_0x0334;\n L_0x00ad:\n goto L_0x0333;\n L_0x00af:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00b5:\n goto L_0x0342;\n L_0x00b7:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00bd:\n goto L_0x034e;\n L_0x00bf:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00c5:\n goto L_0x035a;\n L_0x00c7:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00cd:\n r5 = zzg(r1, r5);\n goto L_0x036a;\n L_0x00d3:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00d9:\n r5 = zzh(r1, r5);\n goto L_0x037a;\n L_0x00df:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00e5:\n r5 = zzh(r1, r5);\n goto L_0x038a;\n L_0x00eb:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00f1:\n goto L_0x0396;\n L_0x00f3:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00f9:\n goto L_0x03a2;\n L_0x00fb:\n r14 = r0.zzmz;\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r0.zzae(r12);\n r3 = r14.zzb(r3, r5, r6);\n goto L_0x0296;\n L_0x010b:\n r5 = zzd(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzd(r3, r5, r6);\n goto L_0x0296;\n L_0x0119:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzc(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0125:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0129:\n goto L_0x020d;\n L_0x012b:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzg(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0137:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x013b:\n goto L_0x020d;\n L_0x013d:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0149:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x014d:\n goto L_0x020d;\n L_0x014f:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x015b:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x015f:\n goto L_0x020d;\n L_0x0161:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzd(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x016d:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0171:\n goto L_0x020d;\n L_0x0173:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzf(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x017f:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0183:\n goto L_0x020d;\n L_0x0185:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzj(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0191:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0195:\n goto L_0x020d;\n L_0x0197:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01a3:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01a7:\n goto L_0x020d;\n L_0x01a8:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01b4:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01b8:\n goto L_0x020d;\n L_0x01b9:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zze(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01c5:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01c9:\n goto L_0x020d;\n L_0x01ca:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzb(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01d6:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01da:\n goto L_0x020d;\n L_0x01db:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zza(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01e7:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01eb:\n goto L_0x020d;\n L_0x01ec:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01f8:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01fc:\n goto L_0x020d;\n L_0x01fd:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0209:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x020d:\n r14 = (long) r14;\n r2.putInt(r1, r14, r5);\n L_0x0211:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzr(r3);\n r6 = com.google.android.gms.internal.clearcut.zzbn.zzt(r5);\n r3 = r3 + r6;\n r3 = r3 + r5;\n goto L_0x0296;\n L_0x021d:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzq(r3, r5, r11);\n goto L_0x0296;\n L_0x0227:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzu(r3, r5, r11);\n goto L_0x0296;\n L_0x0230:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzr(r3, r5, r11);\n goto L_0x0296;\n L_0x0239:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzt(r3, r5, r11);\n goto L_0x0296;\n L_0x0242:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzd(r3, r5);\n goto L_0x0296;\n L_0x024b:\n r5 = zzd(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x0258:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5);\n goto L_0x0296;\n L_0x0261:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzx(r3, r5, r11);\n goto L_0x0296;\n L_0x026a:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzs(r3, r5, r11);\n goto L_0x0296;\n L_0x0273:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzp(r3, r5, r11);\n goto L_0x0296;\n L_0x027c:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzo(r3, r5, r11);\n goto L_0x0296;\n L_0x0285:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzv(r3, r5, r11);\n goto L_0x0296;\n L_0x028e:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzw(r3, r5, r11);\n L_0x0296:\n r13 = r13 + r3;\n goto L_0x03aa;\n L_0x0299:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x029f:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r5 = (com.google.android.gms.internal.clearcut.zzdo) r5;\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x02ae:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02b4:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x02b8:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzf(r3, r5);\n goto L_0x0296;\n L_0x02bd:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02c3:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02c7:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzi(r3, r5);\n goto L_0x0296;\n L_0x02cc:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x02d2:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzh(r3, r9);\n goto L_0x0296;\n L_0x02d7:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x02dd:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzk(r3, r11);\n goto L_0x0296;\n L_0x02e2:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02e8:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02ec:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzl(r3, r5);\n goto L_0x0296;\n L_0x02f1:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02f7:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02fb:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzh(r3, r5);\n goto L_0x0296;\n L_0x0300:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0306:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n L_0x030a:\n r5 = (com.google.android.gms.internal.clearcut.zzbb) r5;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r5);\n goto L_0x0296;\n L_0x0311:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0317:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x0325:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x032b:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r5 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r6 == 0) goto L_0x0334;\n L_0x0333:\n goto L_0x030a;\n L_0x0334:\n r5 = (java.lang.String) r5;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r5);\n goto L_0x0296;\n L_0x033c:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0342:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r7);\n goto L_0x0296;\n L_0x0348:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x034e:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzj(r3, r11);\n goto L_0x0296;\n L_0x0354:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x035a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzg(r3, r9);\n goto L_0x0296;\n L_0x0360:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0366:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x036a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzg(r3, r5);\n goto L_0x0296;\n L_0x0370:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0376:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x037a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zze(r3, r5);\n goto L_0x0296;\n L_0x0380:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0386:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x038a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzd(r3, r5);\n goto L_0x0296;\n L_0x0390:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0396:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r4);\n goto L_0x0296;\n L_0x039c:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x03a2:\n r5 = 0;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r5);\n goto L_0x0296;\n L_0x03aa:\n r12 = r12 + 4;\n r3 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n goto L_0x0016;\n L_0x03b0:\n r2 = r0.zzmx;\n r1 = zza(r2, r1);\n r13 = r13 + r1;\n return r13;\n L_0x03b8:\n r2 = zzmh;\n r3 = -1;\n r6 = r3;\n r3 = r11;\n r5 = r3;\n r12 = r5;\n L_0x03bf:\n r13 = r0.zzmi;\n r13 = r13.length;\n if (r3 >= r13) goto L_0x07d7;\n L_0x03c4:\n r13 = r0.zzag(r3);\n r14 = r0.zzmi;\n r14 = r14[r3];\n r15 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n r16 = r13 & r15;\n r15 = r16 >>> 20;\n r4 = 17;\n if (r15 > r4) goto L_0x03eb;\n L_0x03d6:\n r4 = r0.zzmi;\n r16 = r3 + 2;\n r4 = r4[r16];\n r11 = r4 & r8;\n r16 = r4 >>> 20;\n r16 = r7 << r16;\n if (r11 == r6) goto L_0x040c;\n L_0x03e4:\n r9 = (long) r11;\n r12 = r2.getInt(r1, r9);\n r6 = r11;\n goto L_0x040c;\n L_0x03eb:\n r4 = r0.zzmr;\n if (r4 == 0) goto L_0x0409;\n L_0x03ef:\n r4 = com.google.android.gms.internal.clearcut.zzcb.DOUBLE_LIST_PACKED;\n r4 = r4.id();\n if (r15 < r4) goto L_0x0409;\n L_0x03f7:\n r4 = com.google.android.gms.internal.clearcut.zzcb.SINT64_LIST_PACKED;\n r4 = r4.id();\n if (r15 > r4) goto L_0x0409;\n L_0x03ff:\n r4 = r0.zzmi;\n r9 = r3 + 2;\n r4 = r4[r9];\n r11 = r4 & r8;\n r4 = r11;\n goto L_0x040a;\n L_0x0409:\n r4 = 0;\n L_0x040a:\n r16 = 0;\n L_0x040c:\n r9 = r13 & r8;\n r9 = (long) r9;\n switch(r15) {\n case 0: goto L_0x07c0;\n case 1: goto L_0x07b0;\n case 2: goto L_0x079e;\n case 3: goto L_0x078e;\n case 4: goto L_0x077e;\n case 5: goto L_0x076f;\n case 6: goto L_0x0763;\n case 7: goto L_0x0759;\n case 8: goto L_0x0744;\n case 9: goto L_0x0732;\n case 10: goto L_0x0723;\n case 11: goto L_0x0716;\n case 12: goto L_0x0709;\n case 13: goto L_0x06fe;\n case 14: goto L_0x06f3;\n case 15: goto L_0x06e6;\n case 16: goto L_0x06d9;\n case 17: goto L_0x06c6;\n case 18: goto L_0x06b2;\n case 19: goto L_0x06a4;\n case 20: goto L_0x0698;\n case 21: goto L_0x068c;\n case 22: goto L_0x0680;\n case 23: goto L_0x0674;\n case 24: goto L_0x06a4;\n case 25: goto L_0x0668;\n case 26: goto L_0x065d;\n case 27: goto L_0x064e;\n case 28: goto L_0x0642;\n case 29: goto L_0x0635;\n case 30: goto L_0x0628;\n case 31: goto L_0x06a4;\n case 32: goto L_0x0674;\n case 33: goto L_0x061b;\n case 34: goto L_0x060e;\n case 35: goto L_0x05ee;\n case 36: goto L_0x05dd;\n case 37: goto L_0x05cc;\n case 38: goto L_0x05bb;\n case 39: goto L_0x05aa;\n case 40: goto L_0x0599;\n case 41: goto L_0x0588;\n case 42: goto L_0x0576;\n case 43: goto L_0x0564;\n case 44: goto L_0x0552;\n case 45: goto L_0x0540;\n case 46: goto L_0x052e;\n case 47: goto L_0x051c;\n case 48: goto L_0x050a;\n case 49: goto L_0x04fa;\n case 50: goto L_0x04ea;\n case 51: goto L_0x04dc;\n case 52: goto L_0x04cf;\n case 53: goto L_0x04bf;\n case 54: goto L_0x04af;\n case 55: goto L_0x049f;\n case 56: goto L_0x0491;\n case 57: goto L_0x0484;\n case 58: goto L_0x047c;\n case 59: goto L_0x046c;\n case 60: goto L_0x0464;\n case 61: goto L_0x045c;\n case 62: goto L_0x0450;\n case 63: goto L_0x0444;\n case 64: goto L_0x043c;\n case 65: goto L_0x0434;\n case 66: goto L_0x0428;\n case 67: goto L_0x041c;\n case 68: goto L_0x0414;\n default: goto L_0x0412;\n };\n L_0x0412:\n goto L_0x06be;\n L_0x0414:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x041a:\n goto L_0x06ca;\n L_0x041c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0422:\n r9 = zzh(r1, r9);\n goto L_0x06e1;\n L_0x0428:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x042e:\n r4 = zzg(r1, r9);\n goto L_0x06ee;\n L_0x0434:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x043a:\n goto L_0x06f7;\n L_0x043c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0442:\n goto L_0x0702;\n L_0x0444:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x044a:\n r4 = zzg(r1, r9);\n goto L_0x0711;\n L_0x0450:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0456:\n r4 = zzg(r1, r9);\n goto L_0x071e;\n L_0x045c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0462:\n goto L_0x0727;\n L_0x0464:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x046a:\n goto L_0x0736;\n L_0x046c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0472:\n r4 = r2.getObject(r1, r9);\n r9 = r4 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r9 == 0) goto L_0x0751;\n L_0x047a:\n goto L_0x0750;\n L_0x047c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0482:\n goto L_0x075d;\n L_0x0484:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x048a:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzj(r14, r4);\n goto L_0x0707;\n L_0x0491:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0497:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n goto L_0x06bd;\n L_0x049f:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04a5:\n r4 = zzg(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r4);\n goto L_0x06bd;\n L_0x04af:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04b5:\n r9 = zzh(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zze(r14, r9);\n goto L_0x06bd;\n L_0x04bf:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04c5:\n r9 = zzh(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzd(r14, r9);\n goto L_0x06bd;\n L_0x04cf:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04d5:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r4);\n goto L_0x0707;\n L_0x04dc:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04e2:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r9);\n goto L_0x06bd;\n L_0x04ea:\n r4 = r0.zzmz;\n r9 = r2.getObject(r1, r9);\n r10 = r0.zzae(r3);\n r4 = r4.zzb(r14, r9, r10);\n goto L_0x06bd;\n L_0x04fa:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r14, r4, r9);\n goto L_0x06bd;\n L_0x050a:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzc(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0516:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x051a:\n goto L_0x05fe;\n L_0x051c:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzg(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0528:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x052c:\n goto L_0x05fe;\n L_0x052e:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x053a:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x053e:\n goto L_0x05fe;\n L_0x0540:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x054c:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0550:\n goto L_0x05fe;\n L_0x0552:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzd(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x055e:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0562:\n goto L_0x05fe;\n L_0x0564:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzf(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0570:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0574:\n goto L_0x05fe;\n L_0x0576:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzj(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0582:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0586:\n goto L_0x05fe;\n L_0x0588:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0594:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0598:\n goto L_0x05fe;\n L_0x0599:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05a5:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05a9:\n goto L_0x05fe;\n L_0x05aa:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zze(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05b6:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05ba:\n goto L_0x05fe;\n L_0x05bb:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzb(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05c7:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05cb:\n goto L_0x05fe;\n L_0x05cc:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zza(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05d8:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05dc:\n goto L_0x05fe;\n L_0x05dd:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05e9:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05ed:\n goto L_0x05fe;\n L_0x05ee:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05fa:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05fe:\n r10 = (long) r4;\n r2.putInt(r1, r10, r9);\n L_0x0602:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzr(r14);\n r10 = com.google.android.gms.internal.clearcut.zzbn.zzt(r9);\n r4 = r4 + r10;\n r4 = r4 + r9;\n goto L_0x06bd;\n L_0x060e:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r11 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzq(r14, r4, r11);\n goto L_0x06af;\n L_0x061b:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzu(r14, r4, r11);\n goto L_0x06af;\n L_0x0628:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzr(r14, r4, r11);\n goto L_0x06af;\n L_0x0635:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzt(r14, r4, r11);\n goto L_0x06bd;\n L_0x0642:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r14, r4);\n goto L_0x06bd;\n L_0x064e:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x065d:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4);\n goto L_0x06bd;\n L_0x0668:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r11 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzx(r14, r4, r11);\n goto L_0x06af;\n L_0x0674:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzw(r14, r4, r11);\n goto L_0x06af;\n L_0x0680:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzs(r14, r4, r11);\n goto L_0x06af;\n L_0x068c:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzp(r14, r4, r11);\n goto L_0x06af;\n L_0x0698:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzo(r14, r4, r11);\n goto L_0x06af;\n L_0x06a4:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzv(r14, r4, r11);\n L_0x06af:\n r5 = r5 + r4;\n r4 = r11;\n goto L_0x06bf;\n L_0x06b2:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzw(r14, r4, r11);\n L_0x06bd:\n r5 = r5 + r4;\n L_0x06be:\n r4 = 0;\n L_0x06bf:\n r9 = 0;\n r10 = 0;\n r18 = 0;\n goto L_0x07cf;\n L_0x06c6:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06ca:\n r4 = r2.getObject(r1, r9);\n r4 = (com.google.android.gms.internal.clearcut.zzdo) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x06d9:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06dd:\n r9 = r2.getLong(r1, r9);\n L_0x06e1:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzf(r14, r9);\n goto L_0x06bd;\n L_0x06e6:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06ea:\n r4 = r2.getInt(r1, r9);\n L_0x06ee:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzi(r14, r4);\n goto L_0x06bd;\n L_0x06f3:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06f7:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzh(r14, r9);\n goto L_0x06bd;\n L_0x06fe:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0702:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzk(r14, r4);\n L_0x0707:\n r5 = r5 + r9;\n goto L_0x06be;\n L_0x0709:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x070d:\n r4 = r2.getInt(r1, r9);\n L_0x0711:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzl(r14, r4);\n goto L_0x06bd;\n L_0x0716:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x071a:\n r4 = r2.getInt(r1, r9);\n L_0x071e:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzh(r14, r4);\n goto L_0x06bd;\n L_0x0723:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0727:\n r4 = r2.getObject(r1, r9);\n L_0x072b:\n r4 = (com.google.android.gms.internal.clearcut.zzbb) r4;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r4);\n goto L_0x06bd;\n L_0x0732:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0736:\n r4 = r2.getObject(r1, r9);\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x0744:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0748:\n r4 = r2.getObject(r1, r9);\n r9 = r4 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r9 == 0) goto L_0x0751;\n L_0x0750:\n goto L_0x072b;\n L_0x0751:\n r4 = (java.lang.String) r4;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r4);\n goto L_0x06bd;\n L_0x0759:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x075d:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r7);\n goto L_0x06bd;\n L_0x0763:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0767:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzj(r14, r4);\n r5 = r5 + r9;\n goto L_0x06bf;\n L_0x076f:\n r4 = 0;\n r9 = r12 & r16;\n if (r9 == 0) goto L_0x06bf;\n L_0x0774:\n r9 = 0;\n r11 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n r5 = r5 + r11;\n r18 = r9;\n goto L_0x07ae;\n L_0x077e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x0785:\n r9 = r2.getInt(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n goto L_0x07ad;\n L_0x078e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x0795:\n r9 = r2.getLong(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zze(r14, r9);\n goto L_0x07ad;\n L_0x079e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x07a5:\n r9 = r2.getLong(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzd(r14, r9);\n L_0x07ad:\n r5 = r5 + r9;\n L_0x07ae:\n r9 = 0;\n goto L_0x07bd;\n L_0x07b0:\n r4 = 0;\n r18 = 0;\n r9 = r12 & r16;\n if (r9 == 0) goto L_0x07ae;\n L_0x07b7:\n r9 = 0;\n r10 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r9);\n r5 = r5 + r10;\n L_0x07bd:\n r10 = 0;\n goto L_0x07cf;\n L_0x07c0:\n r4 = 0;\n r9 = 0;\n r18 = 0;\n r10 = r12 & r16;\n if (r10 == 0) goto L_0x07bd;\n L_0x07c8:\n r10 = 0;\n r13 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r10);\n r5 = r5 + r13;\n L_0x07cf:\n r3 = r3 + 4;\n r11 = r4;\n r4 = r9;\n r9 = r18;\n goto L_0x03bf;\n L_0x07d7:\n r2 = r0.zzmx;\n r2 = zza(r2, r1);\n r5 = r5 + r2;\n r2 = r0.zzmo;\n if (r2 == 0) goto L_0x07ed;\n L_0x07e2:\n r2 = r0.zzmy;\n r1 = r2.zza(r1);\n r1 = r1.zzas();\n r5 = r5 + r1;\n L_0x07ed:\n return r5;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zzm(java.lang.Object):int\");\n }",
"private zzdov(zzdor zzdor, Object obj) {\n this.zzhgu = zzdor;\n this.zzhgq = obj;\n }",
"public interface zzxu<T> {\n boolean equals(T t, T t2);\n\n int hashCode(T t);\n\n T newInstance();\n\n void zza(T t, zzxt zzxt, zzvk zzvk) throws IOException;\n\n void zza(T t, zzzh zzzh) throws IOException;\n\n int zzai(T t);\n\n boolean zzaj(T t);\n\n void zzd(T t, T t2);\n\n void zzy(T t);\n}",
"public final void zza(zzk zzk, zzk zzk2) {\n zzhwj.putObject(zzk, zzhwo, zzk2);\n }",
"private int z(int i, Complex prevZ) {\n\t\t\tif(i == 0) return z(1, Complex.ZERO);\n\t\t\tif(i >= maxIts) return maxIts;\n\t\t\telse {\n\t\t\t\tComplex res = c.add(prevZ.square());\n\t\t\t\tif (res.modulusSquared() < 4.0) {\n\t\t\t\t\treturn z(i+1, res);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tescapeZ = res;\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}",
"public double getZ() {\r\n return z;\r\n }",
"public int getZ() {\n\t\treturn -150;\n\t}",
"public final Object zza(int object, Object clazz, Object object2) {\n clazz = (Class<zzhv$zzd>)zzhx.zza;\n byte by2 = 1;\n object -= by2;\n object = clazz[object];\n clazz = null;\n switch (object) {\n default: {\n UnsupportedOperationException unsupportedOperationException = new UnsupportedOperationException();\n throw unsupportedOperationException;\n }\n case 7: {\n return null;\n }\n case 6: {\n return by2;\n }\n case 5: {\n Object object3 = zzl;\n if (object3 != null) return object3;\n clazz = zzhv$zzd.class;\n synchronized (clazz) {\n object3 = zzl;\n if (object3 != null) return object3;\n object2 = zzk;\n zzl = object3 = new zzej$zzc((zzej)object2);\n return object3;\n }\n }\n case 4: {\n return zzk;\n }\n case 3: {\n Object[] objectArray = new Object[8];\n objectArray[0] = \"zzc\";\n objectArray[by2] = \"zzd\";\n objectArray[2] = \"zze\";\n objectArray[3] = \"zzf\";\n objectArray[4] = \"zzg\";\n objectArray[5] = \"zzh\";\n objectArray[6] = \"zzi\";\n objectArray[7] = \"zzj\";\n return zzej.zza(zzk, \"\\u0001\\u0007\\u0000\\u0001\\u0001\\u0007\\u0007\\u0000\\u0000\\u0000\\u0001\\u1008\\u0000\\u0002\\u1008\\u0001\\u0003\\u1008\\u0002\\u0004\\u1004\\u0003\\u0005\\u1004\\u0004\\u0006\\u1008\\u0005\\u0007\\u1004\\u0006\", objectArray);\n }\n case 2: {\n return new zzhv$zzd$zza(null);\n }\n case 1: \n }\n return new zzhv$zzd();\n }",
"public int zzz() {\n int zzz = super.zzz();\n if (this.zzbuM != 0) {\n zzz += zzsn.zzC(1, this.zzbuM);\n }\n if (!this.zzbuN.equals(\"\")) {\n zzz += zzsn.zzo(2, this.zzbuN);\n }\n return !this.version.equals(\"\") ? zzz + zzsn.zzo(3, this.version) : zzz;\n }",
"public abstract T zzm(B b);",
"public abstract void zzc(B b, int i, int i2);",
"public int getZ() {\n return Z;\n }",
"public final zzgs zzb() {\n Object object = this.zzc;\n if (object != null) {\n return this.zzc;\n }\n synchronized (this) {\n object = this.zzc;\n if (object != null) {\n return this.zzc;\n }\n object = this.zza;\n if (object == null) {\n this.zzc = object = zzgs.zzb;\n return this.zzc;\n } else {\n object = this.zza;\n this.zzc = object = object.zzbo();\n }\n return this.zzc;\n }\n }",
"public abstract void zza(zzeim zzeim) throws IOException;",
"private final synchronized void zza(com.google.android.gms.internal.cast.zzcp r10) {\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r10.zzwy;\t Catch:{ all -> 0x008b }\n r1 = 1;\n if (r0 != r1) goto L_0x0007;\n L_0x0006:\n goto L_0x0008;\n L_0x0007:\n r1 = 0;\n L_0x0008:\n r0 = r9.zzwa;\t Catch:{ all -> 0x008b }\n r9.zzwb = r0;\t Catch:{ all -> 0x008b }\n if (r1 == 0) goto L_0x0016;\n L_0x000e:\n r0 = r10.zzxk;\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0016;\n L_0x0012:\n r0 = r10.zzxk;\t Catch:{ all -> 0x008b }\n r9.zzvy = r0;\t Catch:{ all -> 0x008b }\n L_0x0016:\n r0 = r9.isInitialized();\t Catch:{ all -> 0x008b }\n if (r0 != 0) goto L_0x001e;\n L_0x001c:\n monitor-exit(r9);\n return;\n L_0x001e:\n r6 = new java.util.ArrayList;\t Catch:{ all -> 0x008b }\n r6.<init>();\t Catch:{ all -> 0x008b }\n r0 = r10.zzxe;\t Catch:{ all -> 0x008b }\n r0 = r0.iterator();\t Catch:{ all -> 0x008b }\n L_0x0029:\n r1 = r0.hasNext();\t Catch:{ all -> 0x008b }\n if (r1 == 0) goto L_0x0050;\n L_0x002f:\n r1 = r0.next();\t Catch:{ all -> 0x008b }\n r1 = (com.google.android.gms.internal.cast.zzcs) r1;\t Catch:{ all -> 0x008b }\n r2 = r1.getPlayerId();\t Catch:{ all -> 0x008b }\n r3 = new com.google.android.gms.internal.cast.zzcr;\t Catch:{ all -> 0x008b }\n r4 = r1.getPlayerState();\t Catch:{ all -> 0x008b }\n r1 = r1.getPlayerData();\t Catch:{ all -> 0x008b }\n r5 = r9.zzvv;\t Catch:{ all -> 0x008b }\n r5 = r5.containsKey(r2);\t Catch:{ all -> 0x008b }\n r3.<init>(r2, r4, r1, r5);\t Catch:{ all -> 0x008b }\n r6.add(r3);\t Catch:{ all -> 0x008b }\n goto L_0x0029;\n L_0x0050:\n r0 = new com.google.android.gms.internal.cast.zzcq;\t Catch:{ all -> 0x008b }\n r2 = r10.zzxd;\t Catch:{ all -> 0x008b }\n r3 = r10.zzxc;\t Catch:{ all -> 0x008b }\n r4 = r10.zzxg;\t Catch:{ all -> 0x008b }\n r5 = r10.zzxf;\t Catch:{ all -> 0x008b }\n r1 = r9.zzvy;\t Catch:{ all -> 0x008b }\n r7 = r1.zzeo();\t Catch:{ all -> 0x008b }\n r1 = r9.zzvy;\t Catch:{ all -> 0x008b }\n r8 = r1.getMaxPlayers();\t Catch:{ all -> 0x008b }\n r1 = r0;\n r1.<init>(r2, r3, r4, r5, r6, r7, r8);\t Catch:{ all -> 0x008b }\n r9.zzwa = r0;\t Catch:{ all -> 0x008b }\n r0 = r9.zzwa;\t Catch:{ all -> 0x008b }\n r1 = r10.zzxh;\t Catch:{ all -> 0x008b }\n r0 = r0.getPlayer(r1);\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0089;\n L_0x0076:\n r0 = r0.isControllable();\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0089;\n L_0x007c:\n r0 = r10.zzwy;\t Catch:{ all -> 0x008b }\n r1 = 2;\n if (r0 != r1) goto L_0x0089;\n L_0x0081:\n r0 = r10.zzxh;\t Catch:{ all -> 0x008b }\n r9.zzwc = r0;\t Catch:{ all -> 0x008b }\n r10 = r10.zzxb;\t Catch:{ all -> 0x008b }\n r9.zzwd = r10;\t Catch:{ all -> 0x008b }\n L_0x0089:\n monitor-exit(r9);\n return;\n L_0x008b:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.cast.zzcb.zza(com.google.android.gms.internal.cast.zzcp):void\");\n }",
"public final Field zzi() {\n int i = (this.zzf << 1) + (this.zzab / 32);\n Object obj = this.zzb[i];\n if (obj instanceof Field) {\n return (Field) obj;\n }\n Field zza2 = zza(this.zzc, (String) obj);\n this.zzb[i] = zza2;\n return zza2;\n }"
] | [
"0.65401626",
"0.65332305",
"0.64993584",
"0.64535284",
"0.63312113",
"0.6210442",
"0.6164261",
"0.6164261",
"0.6164261",
"0.6124162",
"0.6119013",
"0.6119013",
"0.6119013",
"0.61083883",
"0.60573125",
"0.60561603",
"0.6033825",
"0.60330266",
"0.6027068",
"0.6026799",
"0.6009281",
"0.600025",
"0.59917575",
"0.5988134",
"0.5967744",
"0.5961607",
"0.5961251",
"0.59492034",
"0.59364235",
"0.5929095",
"0.59082574",
"0.5896657",
"0.58921564",
"0.5879607",
"0.5873929",
"0.586761",
"0.5860451",
"0.58488286",
"0.5842407",
"0.58363926",
"0.58269715",
"0.5826255",
"0.58095455",
"0.57966405",
"0.57933646",
"0.5791965",
"0.5785459",
"0.57803196",
"0.5778494",
"0.5778257",
"0.57712656",
"0.57705885",
"0.5763589",
"0.5763089",
"0.57622284",
"0.57596695",
"0.57532096",
"0.57499397",
"0.5748998",
"0.57483053",
"0.5730744",
"0.57227784",
"0.57226694",
"0.5722527",
"0.5722432",
"0.5711303",
"0.57063043",
"0.56956613",
"0.5695429",
"0.569465",
"0.56862694",
"0.56842697",
"0.567875",
"0.5678393",
"0.5677614",
"0.56665164",
"0.5654758",
"0.5653036",
"0.5652574",
"0.5650378",
"0.5645618",
"0.5642516",
"0.5629717",
"0.5629717",
"0.562963",
"0.5628741",
"0.56157386",
"0.56118727",
"0.56087106",
"0.5608197",
"0.56059396",
"0.5601752",
"0.55931234",
"0.55922383",
"0.5592238",
"0.55901724",
"0.5588302",
"0.55877084",
"0.5578476",
"0.5572028",
"0.55627126"
] | 0.0 | -1 |
/ renamed from: z | private static char[] m619z(String str) {
char[] toCharArray = str.toCharArray();
if (toCharArray.length < 2) {
toCharArray[0] = (char) (toCharArray[0] ^ 20);
}
return toCharArray;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo28717a(zzc zzc);",
"public abstract void zza(zzk zzk, zzk zzk2);",
"protected abstract String getZ();",
"private zza.zza()\n\t\t{\n\t\t}",
"public final zzgol<zzgop<?>> zzn() {\n zzr();\n return this.zzae;\n }",
"public final boolean zza() {\n boolean z = false;\n if (!this.zza.zza()) {\n return false;\n }\n this.zzx = this.zza.zzb();\n this.zzy = this.zza.zzb();\n this.zzz = this.zzy & 255;\n int i = this.zzx;\n if (i < this.zzq) {\n this.zzq = i;\n }\n int i2 = this.zzx;\n if (i2 > this.zzr) {\n this.zzr = i2;\n }\n if (this.zzz == zzgod.MAP.zza()) {\n this.zzs++;\n } else if (this.zzz >= zzgod.DOUBLE_LIST.zza() && this.zzz <= zzgod.GROUP_LIST.zza()) {\n this.zzt++;\n }\n this.zzw++;\n if (zzgqn.zza(this.zzq, this.zzx, this.zzw)) {\n this.zzv = this.zzx + 1;\n this.zzu = this.zzv - this.zzq;\n } else {\n this.zzu++;\n }\n if ((this.zzy & 1024) != 0) {\n int[] iArr = this.zzn;\n int i3 = this.zzp;\n this.zzp = i3 + 1;\n iArr[i3] = this.zzx;\n }\n if (zzd()) {\n this.zzaa = this.zza.zzb();\n if (this.zzz == zzgod.MESSAGE.zza() + 51 || this.zzz == zzgod.GROUP.zza() + 51) {\n zza(this.zzx, (Class) zzp());\n } else if (this.zzz == zzgod.ENUM.zza() + 51 && zzq()) {\n zza(this.zzx, (zzgop) zzp());\n }\n } else {\n this.zzac = zza(this.zzc, (String) zzp());\n if (zzh()) {\n this.zzab = this.zza.zzb();\n }\n if (this.zzz == zzgod.MESSAGE.zza() || this.zzz == zzgod.GROUP.zza()) {\n zza(this.zzx, this.zzac.getType());\n } else if (this.zzz == zzgod.MESSAGE_LIST.zza() || this.zzz == zzgod.GROUP_LIST.zza()) {\n zza(this.zzx, (Class) zzp());\n } else if (this.zzz == zzgod.ENUM.zza() || this.zzz == zzgod.ENUM_LIST.zza() || this.zzz == zzgod.ENUM_LIST_PACKED.zza()) {\n if (zzq()) {\n zza(this.zzx, (zzgop) zzp());\n }\n } else if (this.zzz == zzgod.MAP.zza()) {\n int i4 = this.zzx;\n Object zzp2 = zzp();\n if (this.zzaf == zzgol.zza()) {\n this.zzaf = new zzgol<>();\n }\n this.zzaf.zza(i4, zzp2);\n if ((this.zzy & 2048) != 0) {\n z = true;\n }\n if (z) {\n zza(this.zzx, (zzgop) zzp());\n }\n }\n }\n return true;\n }",
"float getZ();",
"float getZ();",
"float getZ();",
"public abstract void zza(T t, zzjl zzjl) throws IOException;",
"int getZ();",
"int getZ();",
"int getZ();",
"public final void zza(String str, List<zzbu.zza> list) {\n boolean z;\n boolean z2;\n String str2 = str;\n List<zzbu.zza> list2 = list;\n Preconditions.checkNotNull(list);\n for (int i = 0; i < list.size(); i++) {\n zzbu.zza.C4079zza zza = (zzbu.zza.C4079zza) list2.get(i).zzbl();\n if (zza.zzb() != 0) {\n for (int i2 = 0; i2 < zza.zzb(); i2++) {\n zzbu.zzb.zza zza2 = (zzbu.zzb.zza) zza.zzb(i2).zzbl();\n zzbu.zzb.zza zza3 = (zzbu.zzb.zza) ((zzib.zza) zza2.clone());\n String zzb2 = zzhb.zzb(zza2.zza());\n if (zzb2 != null) {\n zza3.zza(zzb2);\n z2 = true;\n } else {\n z2 = false;\n }\n for (int i3 = 0; i3 < zza2.zzb(); i3++) {\n zzbu.zzc zza4 = zza2.zza(i3);\n String zza5 = zzha.zza(zza4.zzh());\n if (zza5 != null) {\n zza3.zza(i3, (zzbu.zzc) ((zzib) ((zzbu.zzc.zza) zza4.zzbl()).zza(zza5).zzv()));\n z2 = true;\n }\n }\n if (z2) {\n zza = zza.zza(i2, zza3);\n list2.set(i, (zzbu.zza) ((zzib) zza.zzv()));\n }\n }\n }\n if (zza.zza() != 0) {\n for (int i4 = 0; i4 < zza.zza(); i4++) {\n zzbu.zze zza6 = zza.zza(i4);\n String zza7 = zzhd.zza(zza6.zzc());\n if (zza7 != null) {\n zza = zza.zza(i4, ((zzbu.zze.zza) zza6.zzbl()).zza(zza7));\n list2.set(i, (zzbu.zza) ((zzib) zza.zzv()));\n }\n }\n }\n }\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n Preconditions.checkNotNull(list);\n SQLiteDatabase c_ = mo40210c_();\n c_.beginTransaction();\n try {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n SQLiteDatabase c_2 = mo40210c_();\n c_2.delete(\"property_filters\", \"app_id=?\", new String[]{str2});\n c_2.delete(\"event_filters\", \"app_id=?\", new String[]{str2});\n for (zzbu.zza next : list) {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n Preconditions.checkNotNull(next);\n if (!next.zza()) {\n zzr().zzi().zza(\"Audience with no ID. appId\", zzez.zza(str));\n } else {\n int zzb3 = next.zzb();\n Iterator<zzbu.zzb> it = next.zze().iterator();\n while (true) {\n if (!it.hasNext()) {\n Iterator<zzbu.zze> it2 = next.zzc().iterator();\n while (true) {\n if (!it2.hasNext()) {\n Iterator<zzbu.zzb> it3 = next.zze().iterator();\n while (true) {\n if (!it3.hasNext()) {\n z = true;\n break;\n } else if (!zza(str2, zzb3, it3.next())) {\n z = false;\n break;\n }\n }\n if (z) {\n Iterator<zzbu.zze> it4 = next.zzc().iterator();\n while (true) {\n if (!it4.hasNext()) {\n break;\n } else if (!zza(str2, zzb3, it4.next())) {\n z = false;\n break;\n }\n }\n }\n if (!z) {\n zzak();\n zzd();\n Preconditions.checkNotEmpty(str);\n SQLiteDatabase c_3 = mo40210c_();\n c_3.delete(\"property_filters\", \"app_id=? and audience_id=?\", new String[]{str2, String.valueOf(zzb3)});\n c_3.delete(\"event_filters\", \"app_id=? and audience_id=?\", new String[]{str2, String.valueOf(zzb3)});\n }\n } else if (!it2.next().zza()) {\n zzr().zzi().zza(\"Property filter with no ID. Audience definition ignored. appId, audienceId\", zzez.zza(str), Integer.valueOf(zzb3));\n break;\n }\n }\n } else if (!it.next().zza()) {\n zzr().zzi().zza(\"Event filter with no ID. Audience definition ignored. appId, audienceId\", zzez.zza(str), Integer.valueOf(zzb3));\n break;\n }\n }\n }\n }\n ArrayList arrayList = new ArrayList();\n for (zzbu.zza next2 : list) {\n arrayList.add(next2.zza() ? Integer.valueOf(next2.zzb()) : null);\n }\n zzb(str2, (List<Integer>) arrayList);\n c_.setTransactionSuccessful();\n } finally {\n c_.endTransaction();\n }\n }",
"public final zzgol<Class<?>> zzm() {\n zzr();\n return this.zzad;\n }",
"public void zRotate() {\n\t\t\n\t}",
"public abstract void zzc(T t, zzjl zzjl) throws IOException;",
"double setz(double z) {\nreturn this.z;\n }",
"@Override\r\n\tpublic void zjedz(Kost k) {\n\t}",
"void zmniejszBieg();",
"public abstract boolean zza(zzdxo<?> zzdxo, zzd zzd, zzd zzd2);",
"@Override\n\tpublic int getZ() {\n\t\treturn 1000;\n\t}",
"public abstract boolean zza(zzdxo<?> zzdxo, zzk zzk, zzk zzk2);",
"public abstract void zzf(Object obj);",
"@Override\r\n\tpublic void zjedz(Seno s) {\n\t}",
"public final /* synthetic */ void zzx() {\n zzbu zzw = zzw();\n if (zzw != null) {\n this.zzbb.add(zzw);\n }\n }",
"public abstract int zzu(T t);",
"public final zzgol<Object> zzo() {\n zzr();\n return this.zzaf;\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final <E> void zza(Object obj, Object obj2, long j) {\n List zzc = zzc(obj2, j);\n List zza = zza(obj, j, zzc.size());\n int size = zza.size();\n int size2 = zzc.size();\n if (size > 0 && size2 > 0) {\n zza.addAll(zzc);\n }\n if (size > 0) {\n zzc = zza;\n }\n zziu.zza(obj, j, zzc);\n }",
"double getZ() { return pos[2]; }",
"public int getZ() {\r\n return z;\r\n }",
"private static void zza(com.google.android.gms.internal.gtm.zzug r2, java.lang.Object r3) {\n /*\n com.google.android.gms.internal.gtm.zzre.checkNotNull(r3)\n int[] r0 = com.google.android.gms.internal.gtm.zzqu.zzaxr\n com.google.android.gms.internal.gtm.zzul r2 = r2.zzrs()\n int r2 = r2.ordinal()\n r2 = r0[r2]\n r0 = 1\n r1 = 0\n switch(r2) {\n case 1: goto L_0x0040;\n case 2: goto L_0x003d;\n case 3: goto L_0x003a;\n case 4: goto L_0x0037;\n case 5: goto L_0x0034;\n case 6: goto L_0x0031;\n case 7: goto L_0x0028;\n case 8: goto L_0x001e;\n case 9: goto L_0x0015;\n default: goto L_0x0014;\n }\n L_0x0014:\n goto L_0x0043\n L_0x0015:\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzsk\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrn\n if (r2 == 0) goto L_0x0043\n goto L_0x0026\n L_0x001e:\n boolean r2 = r3 instanceof java.lang.Integer\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrf\n if (r2 == 0) goto L_0x0043\n L_0x0026:\n r1 = 1\n goto L_0x0043\n L_0x0028:\n boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzps\n if (r2 != 0) goto L_0x0026\n boolean r2 = r3 instanceof byte[]\n if (r2 == 0) goto L_0x0043\n goto L_0x0026\n L_0x0031:\n boolean r0 = r3 instanceof java.lang.String\n goto L_0x0042\n L_0x0034:\n boolean r0 = r3 instanceof java.lang.Boolean\n goto L_0x0042\n L_0x0037:\n boolean r0 = r3 instanceof java.lang.Double\n goto L_0x0042\n L_0x003a:\n boolean r0 = r3 instanceof java.lang.Float\n goto L_0x0042\n L_0x003d:\n boolean r0 = r3 instanceof java.lang.Long\n goto L_0x0042\n L_0x0040:\n boolean r0 = r3 instanceof java.lang.Integer\n L_0x0042:\n r1 = r0\n L_0x0043:\n if (r1 == 0) goto L_0x0046\n return\n L_0x0046:\n java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException\n java.lang.String r3 = \"Wrong object type used with protocol message reflection.\"\n r2.<init>(r3)\n goto L_0x004f\n L_0x004e:\n throw r2\n L_0x004f:\n goto L_0x004e\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.gtm.zzqt.zza(com.google.android.gms.internal.gtm.zzug, java.lang.Object):void\");\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final void zzb(Object obj, long j) {\n Object obj2;\n List list = (List) zziu.zzp(obj, j);\n if (list instanceof zzgo) {\n obj2 = ((zzgo) list).zzfu();\n } else if (!zzyp.isAssignableFrom(list.getClass())) {\n if (!(list instanceof zzhr) || !(list instanceof zzge)) {\n obj2 = Collections.unmodifiableList(list);\n } else {\n zzge zzge = (zzge) list;\n if (zzge.zzch()) {\n zzge.zzci();\n return;\n }\n return;\n }\n } else {\n return;\n }\n zziu.zza(obj, j, obj2);\n }",
"abstract double getDirZ();",
"public int zzz() {\n int i;\n int i2 = 0;\n int zzz = super.zzz();\n if (this.zzbuR != 0) {\n zzz += zzsn.zzd(1, this.zzbuR);\n }\n if (!this.tag.equals(\"\")) {\n zzz += zzsn.zzo(2, this.tag);\n }\n if (this.zzbuW != null && this.zzbuW.length > 0) {\n i = zzz;\n for (zzsu zzsu : this.zzbuW) {\n if (zzsu != null) {\n i += zzsn.zzc(3, zzsu);\n }\n }\n zzz = i;\n }\n if (!Arrays.equals(this.zzbuY, zzsx.zzbuD)) {\n zzz += zzsn.zzb(6, this.zzbuY);\n }\n if (this.zzbvb != null) {\n zzz += zzsn.zzc(7, this.zzbvb);\n }\n if (!Arrays.equals(this.zzbuZ, zzsx.zzbuD)) {\n zzz += zzsn.zzb(8, this.zzbuZ);\n }\n if (this.zzbuX != null) {\n zzz += zzsn.zzc(9, this.zzbuX);\n }\n if (this.zzbuV) {\n zzz += zzsn.zzf(10, this.zzbuV);\n }\n if (this.zzbuU != 0) {\n zzz += zzsn.zzC(11, this.zzbuU);\n }\n if (this.zzob != 0) {\n zzz += zzsn.zzC(12, this.zzob);\n }\n if (!Arrays.equals(this.zzbva, zzsx.zzbuD)) {\n zzz += zzsn.zzb(13, this.zzbva);\n }\n if (!this.zzbvc.equals(\"\")) {\n zzz += zzsn.zzo(14, this.zzbvc);\n }\n if (this.zzbvd != 180000) {\n zzz += zzsn.zze(15, this.zzbvd);\n }\n if (this.zzbve != null) {\n zzz += zzsn.zzc(16, this.zzbve);\n }\n if (this.zzbuS != 0) {\n zzz += zzsn.zzd(17, this.zzbuS);\n }\n if (!Arrays.equals(this.zzbvf, zzsx.zzbuD)) {\n zzz += zzsn.zzb(18, this.zzbvf);\n }\n if (this.zzbvg != 0) {\n zzz += zzsn.zzC(19, this.zzbvg);\n }\n if (this.zzbvh != null && this.zzbvh.length > 0) {\n i = 0;\n while (i2 < this.zzbvh.length) {\n i += zzsn.zzmx(this.zzbvh[i2]);\n i2++;\n }\n zzz = (zzz + i) + (this.zzbvh.length * 2);\n }\n if (this.zzbuT != 0) {\n zzz += zzsn.zzd(21, this.zzbuT);\n }\n return this.zzbvi != 0 ? zzz + zzsn.zzd(22, this.zzbvi) : zzz;\n }",
"zzkf(zzkc zzkc, zzgz zzgz) {\n super(zzgz);\n this.zza = zzkc;\n }",
"private final int zzr(Object var1_1) {\n var2_2 = zzja.zzb;\n var4_4 = 0;\n block71: for (var3_3 = 0; var3_3 < (var6_6 = ((int[])(var5_5 = this.zzc)).length); var3_3 += 3) {\n block76: {\n var6_6 = this.zzA(var3_3);\n var7_7 = zzja.zzC(var6_6);\n var8_8 = this.zzc;\n var9_9 = var8_8[var3_3];\n var10_10 = 1048575;\n var11_11 = var6_6 & var10_10;\n var5_5 = (Object)zzhk.zzJ;\n var6_6 = var5_5.zza();\n if (var7_7 >= var6_6 && var7_7 <= (var6_6 = (var5_5 = zzhk.zzW).zza())) {\n var5_5 = this.zzc;\n var13_12 = var3_3 + 2;\n var6_6 = var5_5[var13_12];\n }\n var6_6 = 63;\n switch (var7_7) {\n default: {\n continue block71;\n }\n case 68: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzix)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzgz.zzE(var9_9, (zzix)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 67: {\n var7_7 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var7_7 == 0) continue block71;\n var11_11 = zzja.zzG(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var15_14 = var11_11 + var11_11;\n var17_15 = var11_11 >> var6_6 ^ var15_14;\n var6_6 = zzgz.zzx(var17_15);\n ** GOTO lbl427\n }\n case 66: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var9_9 = var6_6 + var6_6;\n var6_6 = zzgz.zzw(var6_6 >> 31 ^ var9_9);\n ** GOTO lbl427\n }\n case 65: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 64: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 63: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 62: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzw(var6_6);\n ** GOTO lbl427\n }\n case 61: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzgs)zzkh.zzn(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl380\n }\n case 60: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzw(var9_9, var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 59: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var7_7 = var5_5 instanceof zzgs;\n if (var7_7 == 0) ** GOTO lbl94\n var5_5 = (zzgs)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl380\nlbl94:\n // 1 sources\n\n var5_5 = (String)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzy((String)var5_5);\n ** GOTO lbl427\n }\n case 58: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl409\n }\n case 57: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 56: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 55: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzja.zzF(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 54: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzja.zzG(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 53: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzja.zzG(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 52: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 51: {\n var6_6 = (int)this.zzM(var1_1, var9_9, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 50: {\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzw(var3_3);\n zzis.zza(var9_9, var5_5, var14_13);\n continue block71;\n }\n case 49: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzz(var9_9, (List)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 48: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzf((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 47: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzn((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 46: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 45: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 44: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzh((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 43: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzl((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 42: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzt((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 41: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 40: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 39: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzj((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 38: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzd((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 37: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzb((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 36: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzp((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\n ** GOTO lbl252\n }\n case 35: {\n var5_5 = (List)var2_2.getObject(var1_1, var11_11);\n var6_6 = zzjk.zzr((List)var5_5);\n if (var6_6 <= 0) continue block71;\n var7_7 = zzgz.zzu(var9_9);\n var9_9 = zzgz.zzw(var6_6);\nlbl252:\n // 14 sources\n\n var7_7 += var9_9;\n ** GOTO lbl427\n }\n case 34: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzg(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 33: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzo(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 32: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 31: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 30: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzi(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 29: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzm(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 28: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzy(var9_9, (List)var5_5);\n ** GOTO lbl322\n }\n case 27: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzx(var9_9, (List)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 26: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzv(var9_9, (List)var5_5);\n ** GOTO lbl322\n }\n case 25: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzu(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 24: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 23: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 22: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzk(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 21: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zze(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 20: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzc(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 19: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzq(var9_9, (List)var5_5, false);\n ** GOTO lbl322\n }\n case 18: {\n var5_5 = (List)zzkh.zzn(var1_1, var11_11);\n var6_6 = zzjk.zzs(var9_9, (List)var5_5, false);\nlbl322:\n // 25 sources\n\n while (true) {\n var4_4 += var6_6;\n continue block71;\n break;\n }\n }\n case 17: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzix)zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzgz.zzE(var9_9, (zzix)var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 16: {\n var7_7 = (int)this.zzK(var1_1, var3_3);\n if (var7_7 == 0) continue block71;\n var11_11 = zzkh.zzf(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var15_14 = var11_11 + var11_11;\n var17_15 = var11_11 >> var6_6 ^ var15_14;\n var6_6 = zzgz.zzx(var17_15);\n ** GOTO lbl427\n }\n case 15: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var9_9 = var6_6 + var6_6;\n var6_6 = zzgz.zzw(var6_6 >> 31 ^ var9_9);\n ** GOTO lbl427\n }\n case 14: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 13: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 12: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\n ** GOTO lbl427\n }\n case 11: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzw(var6_6);\n ** GOTO lbl427\n }\n case 10: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = (zzgs)zzkh.zzn(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\nlbl380:\n // 4 sources\n\n while (true) {\n var7_7 += (var9_9 += var6_6);\n ** GOTO lbl428\n break;\n }\n }\n case 9: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var14_13 = this.zzv(var3_3);\n var6_6 = zzjk.zzw(var9_9, var5_5, (zzji)var14_13);\n ** GOTO lbl322\n }\n case 8: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var5_5 = zzkh.zzn(var1_1, var11_11);\n var7_7 = var5_5 instanceof zzgs;\n if (var7_7 != 0) {\n var5_5 = (zzgs)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = var5_5.zzc();\n var9_9 = zzgz.zzw(var6_6);\n ** continue;\n }\n var5_5 = (String)var5_5;\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzy((String)var5_5);\n ** GOTO lbl427\n }\n case 7: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\nlbl409:\n // 2 sources\n\n ++var6_6;\n ** GOTO lbl322\n }\n case 6: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n ** GOTO lbl449\n }\n case 5: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\n break block76;\n }\n case 4: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzkh.zzd(var1_1, var11_11);\n var7_7 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzv(var6_6);\nlbl427:\n // 13 sources\n\n var7_7 += var6_6;\nlbl428:\n // 2 sources\n\n var4_4 += var7_7;\n continue block71;\n }\n case 3: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzkh.zzf(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\n ** GOTO lbl443\n }\n case 2: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var19_16 = zzkh.zzf(var1_1, var11_11);\n var9_9 = zzgz.zzw(var9_9 << 3);\n var6_6 = zzgz.zzx(var19_16);\nlbl443:\n // 4 sources\n\n var4_4 += (var9_9 += var6_6);\n continue block71;\n }\n case 1: {\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue block71;\n var6_6 = zzgz.zzw(var9_9 << 3);\nlbl449:\n // 6 sources\n\n var6_6 += 4;\n ** GOTO lbl322\n }\n case 0: \n }\n var6_6 = (int)this.zzK(var1_1, var3_3);\n if (var6_6 == 0) continue;\n var6_6 = zzgz.zzw(var9_9 << 3);\n }\n var6_6 += 8;\n ** continue;\n }\n var2_2 = this.zzn;\n var1_1 = var2_2.zzd(var1_1);\n var21_17 = var2_2.zzh(var1_1);\n return var4_4 + var21_17;\n }",
"abstract double getOrgZ();",
"public abstract boolean zza(zzhr zzhr);",
"public abstract int zzh(int i, int i2, int i3);",
"public int getZ() {\n return z;\n }",
"void mo69875a(List<Aweme> list, boolean z);",
"public final void mo91704a(boolean z, boolean z2, boolean z3) {\n }",
"public int zzz() {\n int i;\n int i2;\n int i3;\n int i4 = 0;\n int zzz = super.zzz();\n if (this.zzbuI == null || this.zzbuI.length <= 0) {\n i = zzz;\n } else {\n i2 = 0;\n i3 = 0;\n for (String str : this.zzbuI) {\n if (str != null) {\n i3++;\n i2 += zzsn.zzgO(str);\n }\n }\n i = (zzz + i2) + (i3 * 1);\n }\n if (this.zzbuJ != null && this.zzbuJ.length > 0) {\n i3 = 0;\n zzz = 0;\n for (String str2 : this.zzbuJ) {\n if (str2 != null) {\n zzz++;\n i3 += zzsn.zzgO(str2);\n }\n }\n i = (i + i3) + (zzz * 1);\n }\n if (this.zzbuK != null && this.zzbuK.length > 0) {\n i3 = 0;\n for (int zzz2 : this.zzbuK) {\n i3 += zzsn.zzmx(zzz2);\n }\n i = (i + i3) + (this.zzbuK.length * 1);\n }\n if (this.zzbuL == null || this.zzbuL.length <= 0) {\n return i;\n }\n i2 = 0;\n while (i4 < this.zzbuL.length) {\n i2 += zzsn.zzas(this.zzbuL[i4]);\n i4++;\n }\n return (i + i2) + (this.zzbuL.length * 1);\n }",
"public final /* synthetic */ void zza(Api.zzb zzb) throws RemoteException {\n zzbdw<zzbaz<Status>> zzzX = zzzX();\n ((zzs) ((zzah) zzb).zzrf()).zza(new zzbe((IBinder) null, new zzcpq(zzzX), this.zzaVL));\n }",
"public void addToZ(int z){\n\t\tcurrentSet().Z.add(z);\n\t\tcurrentSet().inZ[z] = true;\n\t}",
"public abstract void zza(B b, int i, zzeh zzeh);",
"@Override\n\tpublic double getZ() {\n\t\treturn z;\n\t}",
"public void zza(zzj zzj) {\n this.zzaTY = (zzj) zzu.zzu(zzj);\n }",
"void mo28307a(zzgd zzgd);",
"godot.wire.Wire.Vector3 getZ();",
"@Override\n public final /* synthetic */ zzfjs zza(zzfjj zzfjj2) throws IOException {\n block19: do {\n int n;\n int n2;\n Object[] arrobject;\n int n3 = zzfjj2.zzcvt();\n switch (n3) {\n default: {\n if (super.zza(zzfjj2, n3)) continue block19;\n }\n case 0: {\n return this;\n }\n case 10: {\n this.zzlmn = zzfjj2.readBytes();\n continue block19;\n }\n case 18: {\n this.zzlmo = zzfjj2.readString();\n continue block19;\n }\n case 25: {\n this.zzlmp = Double.longBitsToDouble(zzfjj2.zzcwp());\n continue block19;\n }\n case 37: {\n this.zzlmq = Float.intBitsToFloat(zzfjj2.zzcwo());\n continue block19;\n }\n case 40: {\n this.zzlmr = zzfjj2.zzcwn();\n continue block19;\n }\n case 48: {\n this.zzlms = zzfjj2.zzcwi();\n continue block19;\n }\n case 56: {\n n3 = zzfjj2.zzcwi();\n this.zzlmt = -(n3 & 1) ^ n3 >>> 1;\n continue block19;\n }\n case 64: {\n this.zzlmu = zzfjj2.zzcvz();\n continue block19;\n }\n case 74: {\n n = zzfjv.zzb(zzfjj2, 74);\n n3 = this.zzlmv == null ? 0 : this.zzlmv.length;\n arrobject = new zzdmc[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmv, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = new zzdmc();\n zzfjj2.zza((zzfjs)arrobject[n]);\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = new zzdmc();\n zzfjj2.zza((zzfjs)arrobject[n]);\n this.zzlmv = arrobject;\n continue block19;\n }\n case 82: {\n n = zzfjv.zzb(zzfjj2, 82);\n n3 = this.zzlmw == null ? 0 : this.zzlmw.length;\n arrobject = new zzdmd[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmw, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = new zzdmd();\n zzfjj2.zza((zzfjs)arrobject[n]);\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = new zzdmd();\n zzfjj2.zza((zzfjs)arrobject[n]);\n this.zzlmw = arrobject;\n continue block19;\n }\n case 90: {\n n = zzfjv.zzb(zzfjj2, 90);\n n3 = this.zzlmx == null ? 0 : this.zzlmx.length;\n arrobject = new String[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmx, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = zzfjj2.readString();\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = zzfjj2.readString();\n this.zzlmx = arrobject;\n continue block19;\n }\n case 96: {\n n = zzfjv.zzb(zzfjj2, 96);\n n3 = this.zzlmy == null ? 0 : this.zzlmy.length;\n arrobject = new long[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmy, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = zzfjj2.zzcwn();\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = zzfjj2.zzcwn();\n this.zzlmy = arrobject;\n continue block19;\n }\n case 98: {\n n2 = zzfjj2.zzks(zzfjj2.zzcwi());\n n3 = zzfjj2.getPosition();\n n = 0;\n while (zzfjj2.zzcwk() > 0) {\n zzfjj2.zzcwn();\n ++n;\n }\n zzfjj2.zzmg(n3);\n n3 = this.zzlmy == null ? 0 : this.zzlmy.length;\n arrobject = new long[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmy, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length) {\n arrobject[n] = zzfjj2.zzcwn();\n ++n;\n }\n this.zzlmy = arrobject;\n zzfjj2.zzkt(n2);\n continue block19;\n }\n case 104: {\n this.zzlna = zzfjj2.zzcwn();\n continue block19;\n }\n case 117: {\n n = zzfjv.zzb(zzfjj2, 117);\n n3 = this.zzlmz == null ? 0 : this.zzlmz.length;\n arrobject = new float[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmz, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length - 1) {\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n zzfjj2.zzcvt();\n ++n;\n }\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n this.zzlmz = arrobject;\n continue block19;\n }\n case 114: \n }\n n3 = zzfjj2.zzcwi();\n n2 = zzfjj2.zzks(n3);\n n = n3 / 4;\n n3 = this.zzlmz == null ? 0 : this.zzlmz.length;\n arrobject = new float[n + n3];\n n = n3;\n if (n3 != 0) {\n System.arraycopy(this.zzlmz, 0, arrobject, 0, n3);\n n = n3;\n }\n while (n < arrobject.length) {\n arrobject[n] = Float.intBitsToFloat(zzfjj2.zzcwo());\n ++n;\n }\n this.zzlmz = arrobject;\n zzfjj2.zzkt(n2);\n } while (true);\n }",
"public void setZ(int zPos){\t\t\n\t\tz = new Integer(zPos);\n\t}",
"public int getZ() {\n\t\treturn z;\n\t}",
"double getz() {\nreturn this.z;\n }",
"private static <L> List<L> zza(Object obj, long j, int i) {\n zzgn zzgn;\n List<L> list;\n List<L> zzc = zzc(obj, j);\n if (zzc.isEmpty()) {\n if (zzc instanceof zzgo) {\n list = new zzgn(i);\n } else if (!(zzc instanceof zzhr) || !(zzc instanceof zzge)) {\n list = new ArrayList<>(i);\n } else {\n list = ((zzge) zzc).zzah(i);\n }\n zziu.zza(obj, j, list);\n return list;\n }\n if (zzyp.isAssignableFrom(zzc.getClass())) {\n ArrayList arrayList = new ArrayList(zzc.size() + i);\n arrayList.addAll(zzc);\n zziu.zza(obj, j, arrayList);\n zzgn = arrayList;\n } else if (zzc instanceof zzir) {\n zzgn zzgn2 = new zzgn(zzc.size() + i);\n zzgn2.addAll((zzir) zzc);\n zziu.zza(obj, j, zzgn2);\n zzgn = zzgn2;\n } else if (!(zzc instanceof zzhr) || !(zzc instanceof zzge)) {\n return zzc;\n } else {\n zzge zzge = (zzge) zzc;\n if (zzge.zzch()) {\n return zzc;\n }\n zzge zzah = zzge.zzah(zzc.size() + i);\n zziu.zza(obj, j, zzah);\n return zzah;\n }\n return zzgn;\n }",
"public final void zzb(zzk zzk) {\n zzdxo.zzhwd.zza(this, zzk);\n }",
"public double getZ() {\r\n\t\treturn z;\t\r\n\t\t}",
"public int zzz() {\n int i = 0;\n int zzz = super.zzz();\n if (!Arrays.equals(this.zzbuO, zzsx.zzbuD)) {\n zzz += zzsn.zzb(1, this.zzbuO);\n }\n if (this.zzbuP != null && this.zzbuP.length > 0) {\n int i2 = 0;\n int i3 = 0;\n while (i < this.zzbuP.length) {\n byte[] bArr = this.zzbuP[i];\n if (bArr != null) {\n i3++;\n i2 += zzsn.zzG(bArr);\n }\n i++;\n }\n zzz = (zzz + i2) + (i3 * 1);\n }\n return this.zzbuQ ? zzz + zzsn.zzf(3, this.zzbuQ) : zzz;\n }",
"public final void zzc(int i, long j) throws zzlm {\n boolean z = false;\n switch (i) {\n case 131:\n this.zzbal.type = (int) j;\n return;\n case 136:\n zzog zzog = this.zzbal;\n if (j == 1) {\n z = true;\n }\n zzog.zzbce = z;\n return;\n case 155:\n this.zzbar = zzdw(j);\n return;\n case 159:\n this.zzbal.zzafu = (int) j;\n return;\n case 176:\n this.zzbal.width = (int) j;\n return;\n case 179:\n this.zzban.add(zzdw(j));\n return;\n case 186:\n this.zzbal.height = (int) j;\n return;\n case JfifUtil.MARKER_RST7:\n this.zzbal.number = (int) j;\n return;\n case 231:\n this.zzaof = zzdw(j);\n return;\n case 241:\n if (!this.zzaoi) {\n this.zzbao.add(j);\n this.zzaoi = true;\n return;\n }\n return;\n case 251:\n this.zzaop = true;\n return;\n case 16980:\n if (j != 3) {\n StringBuilder sb = new StringBuilder(50);\n sb.append(\"ContentCompAlgo \");\n sb.append(j);\n sb.append(\" not supported\");\n throw new zzlm(sb.toString());\n }\n return;\n case 17029:\n if (j < 1 || j > 2) {\n StringBuilder sb2 = new StringBuilder(53);\n sb2.append(\"DocTypeReadVersion \");\n sb2.append(j);\n sb2.append(\" not supported\");\n throw new zzlm(sb2.toString());\n }\n return;\n case 17143:\n if (j != 1) {\n StringBuilder sb3 = new StringBuilder(50);\n sb3.append(\"EBMLReadVersion \");\n sb3.append(j);\n sb3.append(\" not supported\");\n throw new zzlm(sb3.toString());\n }\n return;\n case 18401:\n if (j != 5) {\n StringBuilder sb4 = new StringBuilder(49);\n sb4.append(\"ContentEncAlgo \");\n sb4.append(j);\n sb4.append(\" not supported\");\n throw new zzlm(sb4.toString());\n }\n return;\n case 18408:\n if (j != 1) {\n StringBuilder sb5 = new StringBuilder(56);\n sb5.append(\"AESSettingsCipherMode \");\n sb5.append(j);\n sb5.append(\" not supported\");\n throw new zzlm(sb5.toString());\n }\n return;\n case 20529:\n if (j != 0) {\n StringBuilder sb6 = new StringBuilder(55);\n sb6.append(\"ContentEncodingOrder \");\n sb6.append(j);\n sb6.append(\" not supported\");\n throw new zzlm(sb6.toString());\n }\n return;\n case 20530:\n if (j != 1) {\n StringBuilder sb7 = new StringBuilder(55);\n sb7.append(\"ContentEncodingScope \");\n sb7.append(j);\n sb7.append(\" not supported\");\n throw new zzlm(sb7.toString());\n }\n return;\n case 21420:\n this.zzaoa = j + this.zzans;\n return;\n case 21432:\n int i2 = (int) j;\n if (i2 == 3) {\n this.zzbal.zzatu = 1;\n return;\n } else if (i2 != 15) {\n switch (i2) {\n case 0:\n this.zzbal.zzatu = 0;\n return;\n case 1:\n this.zzbal.zzatu = 2;\n return;\n default:\n return;\n }\n } else {\n this.zzbal.zzatu = 3;\n return;\n }\n case 21680:\n this.zzbal.zzbbk = (int) j;\n return;\n case 21682:\n this.zzbal.zzbbm = (int) j;\n return;\n case 21690:\n this.zzbal.zzbbl = (int) j;\n return;\n case 21930:\n zzog zzog2 = this.zzbal;\n if (j == 1) {\n z = true;\n }\n zzog2.zzbcf = z;\n return;\n case 21945:\n switch ((int) j) {\n case 1:\n this.zzbal.zzbbq = 2;\n return;\n case 2:\n this.zzbal.zzbbq = 1;\n return;\n default:\n return;\n }\n case 21946:\n int i3 = (int) j;\n if (i3 != 1) {\n if (i3 == 16) {\n this.zzbal.zzbbp = 6;\n return;\n } else if (i3 != 18) {\n switch (i3) {\n case 6:\n case 7:\n break;\n default:\n return;\n }\n } else {\n this.zzbal.zzbbp = 7;\n return;\n }\n }\n this.zzbal.zzbbp = 3;\n return;\n case 21947:\n this.zzbal.zzbbn = true;\n int i4 = (int) j;\n if (i4 == 1) {\n this.zzbal.zzbbo = 1;\n return;\n } else if (i4 != 9) {\n switch (i4) {\n case 4:\n case 5:\n case 6:\n case 7:\n this.zzbal.zzbbo = 2;\n return;\n default:\n return;\n }\n } else {\n this.zzbal.zzbbo = 6;\n return;\n }\n case 21948:\n this.zzbal.zzbbr = (int) j;\n return;\n case 21949:\n this.zzbal.zzbbs = (int) j;\n return;\n case 22186:\n this.zzbal.zzaow = j;\n return;\n case 22203:\n this.zzbal.zzaox = j;\n return;\n case 25188:\n this.zzbal.zzbcd = (int) j;\n return;\n case 2352003:\n this.zzbal.zzbbh = (int) j;\n return;\n case 2807729:\n this.zzanu = j;\n return;\n default:\n return;\n }\n }",
"public final /* synthetic */ void zzy() {\n zzbu zzw = zzw();\n if (zzw != null) {\n this.zzbb.add(zzw);\n }\n }",
"public final Object zza(int i, Object obj, Object obj2) {\n switch (zzczi.zzdi[i - 1]) {\n case 1:\n return new zzczh();\n case 2:\n return new zzb(null);\n case 3:\n return zza((zzdsg) zzgnt, \"\\u0001\\u0004\\u0000\\u0001\\u0001\\u0004\\u0004\\u0000\\u0001\\u0000\\u0001\\u001e\\u0002\\b\\u0000\\u0003\\b\\u0001\\u0004\\b\\u0002\", new Object[]{\"zzdj\", \"zzgno\", zza.zzac(), \"zzgnq\", \"zzgnr\", \"zzgns\"});\n case 4:\n return zzgnt;\n case 5:\n zzdsp<zzczh> zzdsp = zzdv;\n if (zzdsp == null) {\n synchronized (zzczh.class) {\n zzdsp = zzdv;\n if (zzdsp == null) {\n zzdsp = new zzc<>(zzgnt);\n zzdv = zzdsp;\n }\n }\n }\n return zzdsp;\n case 6:\n return Byte.valueOf(1);\n case 7:\n return null;\n default:\n throw new UnsupportedOperationException();\n }\n }",
"public void setLocalZ(float z){\n\t\tthis.z = z;\n\t}",
"private String AccelZConversion() {\n short reading = (short) (((raw[18] & 0xF0) >> 4) + ((raw[19] & 0x3f) << 4));\n\n\n int z[] = fixBinaryString(Integer.toBinaryString(reading));\n return myUnsignedToSigned(z) + \"\";\n }",
"@Override // com.google.android.gms.internal.vision.zzgp\n public final <L> List<L> zza(Object obj, long j) {\n return zza(obj, j, 10);\n }",
"double getZLength();",
"public void setZ(int z) {\r\n this.z = (short) z;\r\n }",
"public abstract void zza(B b, int i, long j);",
"private static void zza(String object, Object object2, StringBuffer stringBuffer, StringBuffer stringBuffer2) throws IllegalAccessException, InvocationTargetException {\n if (object2 == null) return;\n if (object2 instanceof zzfjs) {\n n2 = stringBuffer.length();\n if (object != null) {\n stringBuffer2.append(stringBuffer).append(zzfjt.zzty((String)object)).append(\" <\\n\");\n stringBuffer.append(\" \");\n }\n class_ = object2.getClass();\n object5 = class_.getFields();\n n4 = ((Field[])object5).length;\n } else {\n object = zzfjt.zzty((String)object);\n stringBuffer2.append(stringBuffer).append((String)object).append(\": \");\n if (object2 instanceof String) {\n object = object2 = (String)object2;\n if (!object2.startsWith(\"http\")) {\n object = object2;\n if (object2.length() > 200) {\n object = String.valueOf(object2.substring(0, 200)).concat(\"[...]\");\n }\n }\n object = zzfjt.zzgr((String)object);\n stringBuffer2.append(\"\\\"\").append((String)object).append(\"\\\"\");\n } else if (object2 instanceof byte[]) {\n zzfjt.zza((byte[])object2, stringBuffer2);\n } else {\n stringBuffer2.append(object2);\n }\n stringBuffer2.append(\"\\n\");\n return;\n }\n for (n = 0; n < n4; ++n) {\n object6 = object5[n];\n n3 = object6.getModifiers();\n object4 = object6.getName();\n if (\"cachedSize\".equals(object4) || (n3 & 1) != 1 || (n3 & 8) == 8 || object4.startsWith(\"_\") || object4.endsWith(\"_\")) continue;\n object3 = object6.getType();\n object6 = object6.get(object2);\n if (object3.isArray() && object3.getComponentType() != Byte.TYPE) {\n n3 = object6 == null ? 0 : Array.getLength(object6);\n for (i = 0; i < n3; ++i) {\n zzfjt.zza((String)object4, Array.get(object6, i), stringBuffer, stringBuffer2);\n }\n continue;\n }\n zzfjt.zza((String)object4, object6, stringBuffer, stringBuffer2);\n }\n object4 = class_.getMethods();\n n3 = ((Method[])object4).length;\n n = 0;\n do {\n block20: {\n if (n >= n3) {\n if (object == null) return;\n stringBuffer.setLength(n2);\n stringBuffer2.append(stringBuffer).append(\">\\n\");\n return;\n }\n object5 = object4[n].getName();\n if (!object5.startsWith(\"set\")) break block20;\n object3 = object5.substring(3);\n object5 = String.valueOf(object3);\n object5 = object5.length() != 0 ? \"has\".concat((String)object5) : new String(\"has\");\n if (!((Boolean)(object5 = class_.getMethod((String)object5, new Class[0])).invoke(object2, new Object[0])).booleanValue()) ** GOTO lbl81\n {\n catch (NoSuchMethodException noSuchMethodException) {}\n }\n try {\n block22: {\n block21: {\n object5 = String.valueOf(object3);\n if (object5.length() == 0) break block21;\n object5 = \"get\".concat((String)object5);\n break block22;\n break block20;\n }\n object5 = new String(\"get\");\n }\n object5 = class_.getMethod((String)object5, new Class[0]);\n }\n catch (NoSuchMethodException noSuchMethodException) {}\n zzfjt.zza((String)object3, object5.invoke(object2, new Object[0]), stringBuffer, stringBuffer2);\n }\n ++n;\n } while (true);\n }",
"public final void zza(zza zza2) {\n if (zza2 != null) {\n if (!this.zzgno.zzaxi()) {\n this.zzgno = zzdqw.zza(this.zzgno);\n }\n this.zzgno.zzgp(zza2.zzab());\n return;\n }\n throw new NullPointerException();\n }",
"public void removeFromZ(int z){\n\t\tcurrentSet().Z.remove(new Integer(z));\n\t\tcurrentSet().inZ[z] = false;\n\t}",
"public abstract int zzp(T t);",
"@Override\n\tpublic List zhye(String name) {\n\t\treturn deal.zhye(name);\n\t}",
"public double getZ(){\n\t\treturn z;\n\t}",
"@Override\n \t\t\t\tpublic void doRotateZ() {\n \n \t\t\t\t}",
"public final int zza(com.google.android.gms.internal.ads.zzno r8, com.google.android.gms.internal.ads.zznt r9) throws java.io.IOException, java.lang.InterruptedException {\n /*\n r7 = this;\n r0 = 0\n r7.zzaoo = r0\n r1 = 1\n r2 = 1\n L_0x0005:\n if (r2 == 0) goto L_0x003c\n boolean r3 = r7.zzaoo\n if (r3 != 0) goto L_0x003c\n com.google.android.gms.internal.ads.zzob r2 = r7.zzazx\n boolean r2 = r2.zzb(r8)\n if (r2 == 0) goto L_0x0005\n long r3 = r8.getPosition()\n boolean r5 = r7.zzaob\n if (r5 == 0) goto L_0x0025\n r7.zzaod = r3\n long r3 = r7.zzaoc\n r9.zzahv = r3\n r7.zzaob = r0\n L_0x0023:\n r3 = 1\n goto L_0x0039\n L_0x0025:\n boolean r3 = r7.zzbam\n if (r3 == 0) goto L_0x0038\n long r3 = r7.zzaod\n r5 = -1\n int r3 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r3 == 0) goto L_0x0038\n long r3 = r7.zzaod\n r9.zzahv = r3\n r7.zzaod = r5\n goto L_0x0023\n L_0x0038:\n r3 = 0\n L_0x0039:\n if (r3 == 0) goto L_0x0005\n return r1\n L_0x003c:\n if (r2 == 0) goto L_0x003f\n return r0\n L_0x003f:\n r8 = -1\n return r8\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.zzod.zza(com.google.android.gms.internal.ads.zzno, com.google.android.gms.internal.ads.zznt):int\");\n }",
"public int getZ() {\n return Z;\n }",
"private void m128161c(boolean z) {\n if (z) {\n ObjectAnimator ofFloat = ObjectAnimator.ofFloat(this.f104234x, \"rotation\", new float[]{0.0f, 180.0f});\n ofFloat.setDuration(300);\n ofFloat.start();\n } else {\n ObjectAnimator ofFloat2 = ObjectAnimator.ofFloat(this.f104234x, \"rotation\", new float[]{180.0f, 0.0f});\n ofFloat2.setDuration(300);\n ofFloat2.start();\n }\n this.f104235y.mo99814a(z);\n }",
"default void setZ(double z)\n {\n getAxis().setZ(z);\n }",
"public final HashMap<Integer, Long> zzu() {\n HashMap<Integer, Long> hashMap = new HashMap<>();\n hashMap.put(0, this.zzsp);\n hashMap.put(1, this.zzsq);\n hashMap.put(2, this.zzsr);\n hashMap.put(3, this.zzfr);\n hashMap.put(4, this.zzfp);\n hashMap.put(5, this.zzss);\n hashMap.put(6, this.zzst);\n hashMap.put(7, this.zzsu);\n hashMap.put(8, this.zzfw);\n hashMap.put(9, this.zzfv);\n hashMap.put(10, this.zzsv);\n return hashMap;\n }",
"public void setZ(Double z);",
"public abstract void zza(B b, int i, T t);",
"boolean hasZ();",
"boolean hasZ();",
"public <C extends zze> C a(zzc<?> zzc) {\n C c2 = (zze) this.c.get(zzc);\n zzac.zzb(c2, (Object) \"Appropriate Api was not requested.\");\n return c2;\n }",
"public final int zzm(T r22) {\n /*\n r21 = this;\n r0 = r21;\n r1 = r22;\n r2 = r0.zzmq;\n r3 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n r4 = 0;\n r7 = 1;\n r8 = 1048575; // 0xfffff float:1.469367E-39 double:5.18065E-318;\n r9 = 0;\n r11 = 0;\n if (r2 == 0) goto L_0x03b8;\n L_0x0012:\n r2 = zzmh;\n r12 = r11;\n r13 = r12;\n L_0x0016:\n r14 = r0.zzmi;\n r14 = r14.length;\n if (r12 >= r14) goto L_0x03b0;\n L_0x001b:\n r14 = r0.zzag(r12);\n r15 = r14 & r3;\n r15 = r15 >>> 20;\n r3 = r0.zzmi;\n r3 = r3[r12];\n r14 = r14 & r8;\n r5 = (long) r14;\n r14 = com.google.android.gms.internal.clearcut.zzcb.DOUBLE_LIST_PACKED;\n r14 = r14.id();\n if (r15 < r14) goto L_0x0041;\n L_0x0031:\n r14 = com.google.android.gms.internal.clearcut.zzcb.SINT64_LIST_PACKED;\n r14 = r14.id();\n if (r15 > r14) goto L_0x0041;\n L_0x0039:\n r14 = r0.zzmi;\n r17 = r12 + 2;\n r14 = r14[r17];\n r14 = r14 & r8;\n goto L_0x0042;\n L_0x0041:\n r14 = r11;\n L_0x0042:\n switch(r15) {\n case 0: goto L_0x039c;\n case 1: goto L_0x0390;\n case 2: goto L_0x0380;\n case 3: goto L_0x0370;\n case 4: goto L_0x0360;\n case 5: goto L_0x0354;\n case 6: goto L_0x0348;\n case 7: goto L_0x033c;\n case 8: goto L_0x0325;\n case 9: goto L_0x0311;\n case 10: goto L_0x0300;\n case 11: goto L_0x02f1;\n case 12: goto L_0x02e2;\n case 13: goto L_0x02d7;\n case 14: goto L_0x02cc;\n case 15: goto L_0x02bd;\n case 16: goto L_0x02ae;\n case 17: goto L_0x0299;\n case 18: goto L_0x028e;\n case 19: goto L_0x0285;\n case 20: goto L_0x027c;\n case 21: goto L_0x0273;\n case 22: goto L_0x026a;\n case 23: goto L_0x028e;\n case 24: goto L_0x0285;\n case 25: goto L_0x0261;\n case 26: goto L_0x0258;\n case 27: goto L_0x024b;\n case 28: goto L_0x0242;\n case 29: goto L_0x0239;\n case 30: goto L_0x0230;\n case 31: goto L_0x0285;\n case 32: goto L_0x028e;\n case 33: goto L_0x0227;\n case 34: goto L_0x021d;\n case 35: goto L_0x01fd;\n case 36: goto L_0x01ec;\n case 37: goto L_0x01db;\n case 38: goto L_0x01ca;\n case 39: goto L_0x01b9;\n case 40: goto L_0x01a8;\n case 41: goto L_0x0197;\n case 42: goto L_0x0185;\n case 43: goto L_0x0173;\n case 44: goto L_0x0161;\n case 45: goto L_0x014f;\n case 46: goto L_0x013d;\n case 47: goto L_0x012b;\n case 48: goto L_0x0119;\n case 49: goto L_0x010b;\n case 50: goto L_0x00fb;\n case 51: goto L_0x00f3;\n case 52: goto L_0x00eb;\n case 53: goto L_0x00df;\n case 54: goto L_0x00d3;\n case 55: goto L_0x00c7;\n case 56: goto L_0x00bf;\n case 57: goto L_0x00b7;\n case 58: goto L_0x00af;\n case 59: goto L_0x009f;\n case 60: goto L_0x0097;\n case 61: goto L_0x008f;\n case 62: goto L_0x0083;\n case 63: goto L_0x0077;\n case 64: goto L_0x006f;\n case 65: goto L_0x0067;\n case 66: goto L_0x005b;\n case 67: goto L_0x004f;\n case 68: goto L_0x0047;\n default: goto L_0x0045;\n };\n L_0x0045:\n goto L_0x03aa;\n L_0x0047:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x004d:\n goto L_0x029f;\n L_0x004f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0055:\n r5 = zzh(r1, r5);\n goto L_0x02b8;\n L_0x005b:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0061:\n r5 = zzg(r1, r5);\n goto L_0x02c7;\n L_0x0067:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x006d:\n goto L_0x02d2;\n L_0x006f:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0075:\n goto L_0x02dd;\n L_0x0077:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x007d:\n r5 = zzg(r1, r5);\n goto L_0x02ec;\n L_0x0083:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0089:\n r5 = zzg(r1, r5);\n goto L_0x02fb;\n L_0x008f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0095:\n goto L_0x0306;\n L_0x0097:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x009d:\n goto L_0x0317;\n L_0x009f:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00a5:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r5 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r6 == 0) goto L_0x0334;\n L_0x00ad:\n goto L_0x0333;\n L_0x00af:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00b5:\n goto L_0x0342;\n L_0x00b7:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00bd:\n goto L_0x034e;\n L_0x00bf:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00c5:\n goto L_0x035a;\n L_0x00c7:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00cd:\n r5 = zzg(r1, r5);\n goto L_0x036a;\n L_0x00d3:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00d9:\n r5 = zzh(r1, r5);\n goto L_0x037a;\n L_0x00df:\n r14 = r0.zza(r1, r3, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x00e5:\n r5 = zzh(r1, r5);\n goto L_0x038a;\n L_0x00eb:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00f1:\n goto L_0x0396;\n L_0x00f3:\n r5 = r0.zza(r1, r3, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x00f9:\n goto L_0x03a2;\n L_0x00fb:\n r14 = r0.zzmz;\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r0.zzae(r12);\n r3 = r14.zzb(r3, r5, r6);\n goto L_0x0296;\n L_0x010b:\n r5 = zzd(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzd(r3, r5, r6);\n goto L_0x0296;\n L_0x0119:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzc(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0125:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0129:\n goto L_0x020d;\n L_0x012b:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzg(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0137:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x013b:\n goto L_0x020d;\n L_0x013d:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0149:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x014d:\n goto L_0x020d;\n L_0x014f:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x015b:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x015f:\n goto L_0x020d;\n L_0x0161:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzd(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x016d:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0171:\n goto L_0x020d;\n L_0x0173:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzf(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x017f:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0183:\n goto L_0x020d;\n L_0x0185:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzj(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0191:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x0195:\n goto L_0x020d;\n L_0x0197:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01a3:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01a7:\n goto L_0x020d;\n L_0x01a8:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01b4:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01b8:\n goto L_0x020d;\n L_0x01b9:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zze(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01c5:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01c9:\n goto L_0x020d;\n L_0x01ca:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzb(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01d6:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01da:\n goto L_0x020d;\n L_0x01db:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zza(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01e7:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01eb:\n goto L_0x020d;\n L_0x01ec:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzh(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x01f8:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x01fc:\n goto L_0x020d;\n L_0x01fd:\n r5 = r2.getObject(r1, r5);\n r5 = (java.util.List) r5;\n r5 = com.google.android.gms.internal.clearcut.zzeh.zzi(r5);\n if (r5 <= 0) goto L_0x03aa;\n L_0x0209:\n r6 = r0.zzmr;\n if (r6 == 0) goto L_0x0211;\n L_0x020d:\n r14 = (long) r14;\n r2.putInt(r1, r14, r5);\n L_0x0211:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzr(r3);\n r6 = com.google.android.gms.internal.clearcut.zzbn.zzt(r5);\n r3 = r3 + r6;\n r3 = r3 + r5;\n goto L_0x0296;\n L_0x021d:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzq(r3, r5, r11);\n goto L_0x0296;\n L_0x0227:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzu(r3, r5, r11);\n goto L_0x0296;\n L_0x0230:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzr(r3, r5, r11);\n goto L_0x0296;\n L_0x0239:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzt(r3, r5, r11);\n goto L_0x0296;\n L_0x0242:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzd(r3, r5);\n goto L_0x0296;\n L_0x024b:\n r5 = zzd(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x0258:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5);\n goto L_0x0296;\n L_0x0261:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzx(r3, r5, r11);\n goto L_0x0296;\n L_0x026a:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzs(r3, r5, r11);\n goto L_0x0296;\n L_0x0273:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzp(r3, r5, r11);\n goto L_0x0296;\n L_0x027c:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzo(r3, r5, r11);\n goto L_0x0296;\n L_0x0285:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzv(r3, r5, r11);\n goto L_0x0296;\n L_0x028e:\n r5 = zzd(r1, r5);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzw(r3, r5, r11);\n L_0x0296:\n r13 = r13 + r3;\n goto L_0x03aa;\n L_0x0299:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x029f:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r5 = (com.google.android.gms.internal.clearcut.zzdo) r5;\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x02ae:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02b4:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x02b8:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzf(r3, r5);\n goto L_0x0296;\n L_0x02bd:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02c3:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02c7:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzi(r3, r5);\n goto L_0x0296;\n L_0x02cc:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x02d2:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzh(r3, r9);\n goto L_0x0296;\n L_0x02d7:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x02dd:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzk(r3, r11);\n goto L_0x0296;\n L_0x02e2:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02e8:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02ec:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzl(r3, r5);\n goto L_0x0296;\n L_0x02f1:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x02f7:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x02fb:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzh(r3, r5);\n goto L_0x0296;\n L_0x0300:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0306:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n L_0x030a:\n r5 = (com.google.android.gms.internal.clearcut.zzbb) r5;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r5);\n goto L_0x0296;\n L_0x0311:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0317:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r0.zzad(r12);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzc(r3, r5, r6);\n goto L_0x0296;\n L_0x0325:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x032b:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r1, r5);\n r6 = r5 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r6 == 0) goto L_0x0334;\n L_0x0333:\n goto L_0x030a;\n L_0x0334:\n r5 = (java.lang.String) r5;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r5);\n goto L_0x0296;\n L_0x033c:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0342:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzc(r3, r7);\n goto L_0x0296;\n L_0x0348:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x034e:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzj(r3, r11);\n goto L_0x0296;\n L_0x0354:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x035a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzg(r3, r9);\n goto L_0x0296;\n L_0x0360:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0366:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r1, r5);\n L_0x036a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzg(r3, r5);\n goto L_0x0296;\n L_0x0370:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0376:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x037a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zze(r3, r5);\n goto L_0x0296;\n L_0x0380:\n r14 = r0.zza(r1, r12);\n if (r14 == 0) goto L_0x03aa;\n L_0x0386:\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzk(r1, r5);\n L_0x038a:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzd(r3, r5);\n goto L_0x0296;\n L_0x0390:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x0396:\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r4);\n goto L_0x0296;\n L_0x039c:\n r5 = r0.zza(r1, r12);\n if (r5 == 0) goto L_0x03aa;\n L_0x03a2:\n r5 = 0;\n r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, r5);\n goto L_0x0296;\n L_0x03aa:\n r12 = r12 + 4;\n r3 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n goto L_0x0016;\n L_0x03b0:\n r2 = r0.zzmx;\n r1 = zza(r2, r1);\n r13 = r13 + r1;\n return r13;\n L_0x03b8:\n r2 = zzmh;\n r3 = -1;\n r6 = r3;\n r3 = r11;\n r5 = r3;\n r12 = r5;\n L_0x03bf:\n r13 = r0.zzmi;\n r13 = r13.length;\n if (r3 >= r13) goto L_0x07d7;\n L_0x03c4:\n r13 = r0.zzag(r3);\n r14 = r0.zzmi;\n r14 = r14[r3];\n r15 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n r16 = r13 & r15;\n r15 = r16 >>> 20;\n r4 = 17;\n if (r15 > r4) goto L_0x03eb;\n L_0x03d6:\n r4 = r0.zzmi;\n r16 = r3 + 2;\n r4 = r4[r16];\n r11 = r4 & r8;\n r16 = r4 >>> 20;\n r16 = r7 << r16;\n if (r11 == r6) goto L_0x040c;\n L_0x03e4:\n r9 = (long) r11;\n r12 = r2.getInt(r1, r9);\n r6 = r11;\n goto L_0x040c;\n L_0x03eb:\n r4 = r0.zzmr;\n if (r4 == 0) goto L_0x0409;\n L_0x03ef:\n r4 = com.google.android.gms.internal.clearcut.zzcb.DOUBLE_LIST_PACKED;\n r4 = r4.id();\n if (r15 < r4) goto L_0x0409;\n L_0x03f7:\n r4 = com.google.android.gms.internal.clearcut.zzcb.SINT64_LIST_PACKED;\n r4 = r4.id();\n if (r15 > r4) goto L_0x0409;\n L_0x03ff:\n r4 = r0.zzmi;\n r9 = r3 + 2;\n r4 = r4[r9];\n r11 = r4 & r8;\n r4 = r11;\n goto L_0x040a;\n L_0x0409:\n r4 = 0;\n L_0x040a:\n r16 = 0;\n L_0x040c:\n r9 = r13 & r8;\n r9 = (long) r9;\n switch(r15) {\n case 0: goto L_0x07c0;\n case 1: goto L_0x07b0;\n case 2: goto L_0x079e;\n case 3: goto L_0x078e;\n case 4: goto L_0x077e;\n case 5: goto L_0x076f;\n case 6: goto L_0x0763;\n case 7: goto L_0x0759;\n case 8: goto L_0x0744;\n case 9: goto L_0x0732;\n case 10: goto L_0x0723;\n case 11: goto L_0x0716;\n case 12: goto L_0x0709;\n case 13: goto L_0x06fe;\n case 14: goto L_0x06f3;\n case 15: goto L_0x06e6;\n case 16: goto L_0x06d9;\n case 17: goto L_0x06c6;\n case 18: goto L_0x06b2;\n case 19: goto L_0x06a4;\n case 20: goto L_0x0698;\n case 21: goto L_0x068c;\n case 22: goto L_0x0680;\n case 23: goto L_0x0674;\n case 24: goto L_0x06a4;\n case 25: goto L_0x0668;\n case 26: goto L_0x065d;\n case 27: goto L_0x064e;\n case 28: goto L_0x0642;\n case 29: goto L_0x0635;\n case 30: goto L_0x0628;\n case 31: goto L_0x06a4;\n case 32: goto L_0x0674;\n case 33: goto L_0x061b;\n case 34: goto L_0x060e;\n case 35: goto L_0x05ee;\n case 36: goto L_0x05dd;\n case 37: goto L_0x05cc;\n case 38: goto L_0x05bb;\n case 39: goto L_0x05aa;\n case 40: goto L_0x0599;\n case 41: goto L_0x0588;\n case 42: goto L_0x0576;\n case 43: goto L_0x0564;\n case 44: goto L_0x0552;\n case 45: goto L_0x0540;\n case 46: goto L_0x052e;\n case 47: goto L_0x051c;\n case 48: goto L_0x050a;\n case 49: goto L_0x04fa;\n case 50: goto L_0x04ea;\n case 51: goto L_0x04dc;\n case 52: goto L_0x04cf;\n case 53: goto L_0x04bf;\n case 54: goto L_0x04af;\n case 55: goto L_0x049f;\n case 56: goto L_0x0491;\n case 57: goto L_0x0484;\n case 58: goto L_0x047c;\n case 59: goto L_0x046c;\n case 60: goto L_0x0464;\n case 61: goto L_0x045c;\n case 62: goto L_0x0450;\n case 63: goto L_0x0444;\n case 64: goto L_0x043c;\n case 65: goto L_0x0434;\n case 66: goto L_0x0428;\n case 67: goto L_0x041c;\n case 68: goto L_0x0414;\n default: goto L_0x0412;\n };\n L_0x0412:\n goto L_0x06be;\n L_0x0414:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x041a:\n goto L_0x06ca;\n L_0x041c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0422:\n r9 = zzh(r1, r9);\n goto L_0x06e1;\n L_0x0428:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x042e:\n r4 = zzg(r1, r9);\n goto L_0x06ee;\n L_0x0434:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x043a:\n goto L_0x06f7;\n L_0x043c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0442:\n goto L_0x0702;\n L_0x0444:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x044a:\n r4 = zzg(r1, r9);\n goto L_0x0711;\n L_0x0450:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0456:\n r4 = zzg(r1, r9);\n goto L_0x071e;\n L_0x045c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0462:\n goto L_0x0727;\n L_0x0464:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x046a:\n goto L_0x0736;\n L_0x046c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0472:\n r4 = r2.getObject(r1, r9);\n r9 = r4 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r9 == 0) goto L_0x0751;\n L_0x047a:\n goto L_0x0750;\n L_0x047c:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0482:\n goto L_0x075d;\n L_0x0484:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x048a:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzj(r14, r4);\n goto L_0x0707;\n L_0x0491:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x0497:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n goto L_0x06bd;\n L_0x049f:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04a5:\n r4 = zzg(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r4);\n goto L_0x06bd;\n L_0x04af:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04b5:\n r9 = zzh(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zze(r14, r9);\n goto L_0x06bd;\n L_0x04bf:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04c5:\n r9 = zzh(r1, r9);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzd(r14, r9);\n goto L_0x06bd;\n L_0x04cf:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04d5:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r4);\n goto L_0x0707;\n L_0x04dc:\n r4 = r0.zza(r1, r14, r3);\n if (r4 == 0) goto L_0x06be;\n L_0x04e2:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r9);\n goto L_0x06bd;\n L_0x04ea:\n r4 = r0.zzmz;\n r9 = r2.getObject(r1, r9);\n r10 = r0.zzae(r3);\n r4 = r4.zzb(r14, r9, r10);\n goto L_0x06bd;\n L_0x04fa:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r14, r4, r9);\n goto L_0x06bd;\n L_0x050a:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzc(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0516:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x051a:\n goto L_0x05fe;\n L_0x051c:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzg(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0528:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x052c:\n goto L_0x05fe;\n L_0x052e:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x053a:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x053e:\n goto L_0x05fe;\n L_0x0540:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x054c:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0550:\n goto L_0x05fe;\n L_0x0552:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzd(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x055e:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0562:\n goto L_0x05fe;\n L_0x0564:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzf(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0570:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0574:\n goto L_0x05fe;\n L_0x0576:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzj(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0582:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0586:\n goto L_0x05fe;\n L_0x0588:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x0594:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x0598:\n goto L_0x05fe;\n L_0x0599:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05a5:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05a9:\n goto L_0x05fe;\n L_0x05aa:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zze(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05b6:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05ba:\n goto L_0x05fe;\n L_0x05bb:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzb(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05c7:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05cb:\n goto L_0x05fe;\n L_0x05cc:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zza(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05d8:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05dc:\n goto L_0x05fe;\n L_0x05dd:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzh(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05e9:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05ed:\n goto L_0x05fe;\n L_0x05ee:\n r9 = r2.getObject(r1, r9);\n r9 = (java.util.List) r9;\n r9 = com.google.android.gms.internal.clearcut.zzeh.zzi(r9);\n if (r9 <= 0) goto L_0x06be;\n L_0x05fa:\n r10 = r0.zzmr;\n if (r10 == 0) goto L_0x0602;\n L_0x05fe:\n r10 = (long) r4;\n r2.putInt(r1, r10, r9);\n L_0x0602:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzr(r14);\n r10 = com.google.android.gms.internal.clearcut.zzbn.zzt(r9);\n r4 = r4 + r10;\n r4 = r4 + r9;\n goto L_0x06bd;\n L_0x060e:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r11 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzq(r14, r4, r11);\n goto L_0x06af;\n L_0x061b:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzu(r14, r4, r11);\n goto L_0x06af;\n L_0x0628:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzr(r14, r4, r11);\n goto L_0x06af;\n L_0x0635:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzt(r14, r4, r11);\n goto L_0x06bd;\n L_0x0642:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r14, r4);\n goto L_0x06bd;\n L_0x064e:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x065d:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4);\n goto L_0x06bd;\n L_0x0668:\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r11 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzx(r14, r4, r11);\n goto L_0x06af;\n L_0x0674:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzw(r14, r4, r11);\n goto L_0x06af;\n L_0x0680:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzs(r14, r4, r11);\n goto L_0x06af;\n L_0x068c:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzp(r14, r4, r11);\n goto L_0x06af;\n L_0x0698:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzo(r14, r4, r11);\n goto L_0x06af;\n L_0x06a4:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzv(r14, r4, r11);\n L_0x06af:\n r5 = r5 + r4;\n r4 = r11;\n goto L_0x06bf;\n L_0x06b2:\n r11 = 0;\n r4 = r2.getObject(r1, r9);\n r4 = (java.util.List) r4;\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzw(r14, r4, r11);\n L_0x06bd:\n r5 = r5 + r4;\n L_0x06be:\n r4 = 0;\n L_0x06bf:\n r9 = 0;\n r10 = 0;\n r18 = 0;\n goto L_0x07cf;\n L_0x06c6:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06ca:\n r4 = r2.getObject(r1, r9);\n r4 = (com.google.android.gms.internal.clearcut.zzdo) r4;\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x06d9:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06dd:\n r9 = r2.getLong(r1, r9);\n L_0x06e1:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzf(r14, r9);\n goto L_0x06bd;\n L_0x06e6:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06ea:\n r4 = r2.getInt(r1, r9);\n L_0x06ee:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzi(r14, r4);\n goto L_0x06bd;\n L_0x06f3:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x06f7:\n r9 = 0;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzh(r14, r9);\n goto L_0x06bd;\n L_0x06fe:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0702:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzk(r14, r4);\n L_0x0707:\n r5 = r5 + r9;\n goto L_0x06be;\n L_0x0709:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x070d:\n r4 = r2.getInt(r1, r9);\n L_0x0711:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzl(r14, r4);\n goto L_0x06bd;\n L_0x0716:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x071a:\n r4 = r2.getInt(r1, r9);\n L_0x071e:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzh(r14, r4);\n goto L_0x06bd;\n L_0x0723:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0727:\n r4 = r2.getObject(r1, r9);\n L_0x072b:\n r4 = (com.google.android.gms.internal.clearcut.zzbb) r4;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r4);\n goto L_0x06bd;\n L_0x0732:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0736:\n r4 = r2.getObject(r1, r9);\n r9 = r0.zzad(r3);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r14, r4, r9);\n goto L_0x06bd;\n L_0x0744:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0748:\n r4 = r2.getObject(r1, r9);\n r9 = r4 instanceof com.google.android.gms.internal.clearcut.zzbb;\n if (r9 == 0) goto L_0x0751;\n L_0x0750:\n goto L_0x072b;\n L_0x0751:\n r4 = (java.lang.String) r4;\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r4);\n goto L_0x06bd;\n L_0x0759:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x075d:\n r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r14, r7);\n goto L_0x06bd;\n L_0x0763:\n r4 = r12 & r16;\n if (r4 == 0) goto L_0x06be;\n L_0x0767:\n r4 = 0;\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzj(r14, r4);\n r5 = r5 + r9;\n goto L_0x06bf;\n L_0x076f:\n r4 = 0;\n r9 = r12 & r16;\n if (r9 == 0) goto L_0x06bf;\n L_0x0774:\n r9 = 0;\n r11 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n r5 = r5 + r11;\n r18 = r9;\n goto L_0x07ae;\n L_0x077e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x0785:\n r9 = r2.getInt(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzg(r14, r9);\n goto L_0x07ad;\n L_0x078e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x0795:\n r9 = r2.getLong(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zze(r14, r9);\n goto L_0x07ad;\n L_0x079e:\n r4 = 0;\n r18 = 0;\n r11 = r12 & r16;\n if (r11 == 0) goto L_0x07ae;\n L_0x07a5:\n r9 = r2.getLong(r1, r9);\n r9 = com.google.android.gms.internal.clearcut.zzbn.zzd(r14, r9);\n L_0x07ad:\n r5 = r5 + r9;\n L_0x07ae:\n r9 = 0;\n goto L_0x07bd;\n L_0x07b0:\n r4 = 0;\n r18 = 0;\n r9 = r12 & r16;\n if (r9 == 0) goto L_0x07ae;\n L_0x07b7:\n r9 = 0;\n r10 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r9);\n r5 = r5 + r10;\n L_0x07bd:\n r10 = 0;\n goto L_0x07cf;\n L_0x07c0:\n r4 = 0;\n r9 = 0;\n r18 = 0;\n r10 = r12 & r16;\n if (r10 == 0) goto L_0x07bd;\n L_0x07c8:\n r10 = 0;\n r13 = com.google.android.gms.internal.clearcut.zzbn.zzb(r14, r10);\n r5 = r5 + r13;\n L_0x07cf:\n r3 = r3 + 4;\n r11 = r4;\n r4 = r9;\n r9 = r18;\n goto L_0x03bf;\n L_0x07d7:\n r2 = r0.zzmx;\n r2 = zza(r2, r1);\n r5 = r5 + r2;\n r2 = r0.zzmo;\n if (r2 == 0) goto L_0x07ed;\n L_0x07e2:\n r2 = r0.zzmy;\n r1 = r2.zza(r1);\n r1 = r1.zzas();\n r5 = r5 + r1;\n L_0x07ed:\n return r5;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zzm(java.lang.Object):int\");\n }",
"private zzdov(zzdor zzdor, Object obj) {\n this.zzhgu = zzdor;\n this.zzhgq = obj;\n }",
"public interface zzxu<T> {\n boolean equals(T t, T t2);\n\n int hashCode(T t);\n\n T newInstance();\n\n void zza(T t, zzxt zzxt, zzvk zzvk) throws IOException;\n\n void zza(T t, zzzh zzzh) throws IOException;\n\n int zzai(T t);\n\n boolean zzaj(T t);\n\n void zzd(T t, T t2);\n\n void zzy(T t);\n}",
"public final void zza(zzk zzk, zzk zzk2) {\n zzhwj.putObject(zzk, zzhwo, zzk2);\n }",
"private int z(int i, Complex prevZ) {\n\t\t\tif(i == 0) return z(1, Complex.ZERO);\n\t\t\tif(i >= maxIts) return maxIts;\n\t\t\telse {\n\t\t\t\tComplex res = c.add(prevZ.square());\n\t\t\t\tif (res.modulusSquared() < 4.0) {\n\t\t\t\t\treturn z(i+1, res);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tescapeZ = res;\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}",
"public double getZ() {\r\n return z;\r\n }",
"public int getZ() {\n\t\treturn -150;\n\t}",
"public final Object zza(int object, Object clazz, Object object2) {\n clazz = (Class<zzhv$zzd>)zzhx.zza;\n byte by2 = 1;\n object -= by2;\n object = clazz[object];\n clazz = null;\n switch (object) {\n default: {\n UnsupportedOperationException unsupportedOperationException = new UnsupportedOperationException();\n throw unsupportedOperationException;\n }\n case 7: {\n return null;\n }\n case 6: {\n return by2;\n }\n case 5: {\n Object object3 = zzl;\n if (object3 != null) return object3;\n clazz = zzhv$zzd.class;\n synchronized (clazz) {\n object3 = zzl;\n if (object3 != null) return object3;\n object2 = zzk;\n zzl = object3 = new zzej$zzc((zzej)object2);\n return object3;\n }\n }\n case 4: {\n return zzk;\n }\n case 3: {\n Object[] objectArray = new Object[8];\n objectArray[0] = \"zzc\";\n objectArray[by2] = \"zzd\";\n objectArray[2] = \"zze\";\n objectArray[3] = \"zzf\";\n objectArray[4] = \"zzg\";\n objectArray[5] = \"zzh\";\n objectArray[6] = \"zzi\";\n objectArray[7] = \"zzj\";\n return zzej.zza(zzk, \"\\u0001\\u0007\\u0000\\u0001\\u0001\\u0007\\u0007\\u0000\\u0000\\u0000\\u0001\\u1008\\u0000\\u0002\\u1008\\u0001\\u0003\\u1008\\u0002\\u0004\\u1004\\u0003\\u0005\\u1004\\u0004\\u0006\\u1008\\u0005\\u0007\\u1004\\u0006\", objectArray);\n }\n case 2: {\n return new zzhv$zzd$zza(null);\n }\n case 1: \n }\n return new zzhv$zzd();\n }",
"public int zzz() {\n int zzz = super.zzz();\n if (this.zzbuM != 0) {\n zzz += zzsn.zzC(1, this.zzbuM);\n }\n if (!this.zzbuN.equals(\"\")) {\n zzz += zzsn.zzo(2, this.zzbuN);\n }\n return !this.version.equals(\"\") ? zzz + zzsn.zzo(3, this.version) : zzz;\n }",
"public abstract T zzm(B b);",
"public abstract void zzc(B b, int i, int i2);",
"public int getZ() {\n return Z;\n }",
"public final zzgs zzb() {\n Object object = this.zzc;\n if (object != null) {\n return this.zzc;\n }\n synchronized (this) {\n object = this.zzc;\n if (object != null) {\n return this.zzc;\n }\n object = this.zza;\n if (object == null) {\n this.zzc = object = zzgs.zzb;\n return this.zzc;\n } else {\n object = this.zza;\n this.zzc = object = object.zzbo();\n }\n return this.zzc;\n }\n }",
"public abstract void zza(zzeim zzeim) throws IOException;",
"private final synchronized void zza(com.google.android.gms.internal.cast.zzcp r10) {\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r10.zzwy;\t Catch:{ all -> 0x008b }\n r1 = 1;\n if (r0 != r1) goto L_0x0007;\n L_0x0006:\n goto L_0x0008;\n L_0x0007:\n r1 = 0;\n L_0x0008:\n r0 = r9.zzwa;\t Catch:{ all -> 0x008b }\n r9.zzwb = r0;\t Catch:{ all -> 0x008b }\n if (r1 == 0) goto L_0x0016;\n L_0x000e:\n r0 = r10.zzxk;\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0016;\n L_0x0012:\n r0 = r10.zzxk;\t Catch:{ all -> 0x008b }\n r9.zzvy = r0;\t Catch:{ all -> 0x008b }\n L_0x0016:\n r0 = r9.isInitialized();\t Catch:{ all -> 0x008b }\n if (r0 != 0) goto L_0x001e;\n L_0x001c:\n monitor-exit(r9);\n return;\n L_0x001e:\n r6 = new java.util.ArrayList;\t Catch:{ all -> 0x008b }\n r6.<init>();\t Catch:{ all -> 0x008b }\n r0 = r10.zzxe;\t Catch:{ all -> 0x008b }\n r0 = r0.iterator();\t Catch:{ all -> 0x008b }\n L_0x0029:\n r1 = r0.hasNext();\t Catch:{ all -> 0x008b }\n if (r1 == 0) goto L_0x0050;\n L_0x002f:\n r1 = r0.next();\t Catch:{ all -> 0x008b }\n r1 = (com.google.android.gms.internal.cast.zzcs) r1;\t Catch:{ all -> 0x008b }\n r2 = r1.getPlayerId();\t Catch:{ all -> 0x008b }\n r3 = new com.google.android.gms.internal.cast.zzcr;\t Catch:{ all -> 0x008b }\n r4 = r1.getPlayerState();\t Catch:{ all -> 0x008b }\n r1 = r1.getPlayerData();\t Catch:{ all -> 0x008b }\n r5 = r9.zzvv;\t Catch:{ all -> 0x008b }\n r5 = r5.containsKey(r2);\t Catch:{ all -> 0x008b }\n r3.<init>(r2, r4, r1, r5);\t Catch:{ all -> 0x008b }\n r6.add(r3);\t Catch:{ all -> 0x008b }\n goto L_0x0029;\n L_0x0050:\n r0 = new com.google.android.gms.internal.cast.zzcq;\t Catch:{ all -> 0x008b }\n r2 = r10.zzxd;\t Catch:{ all -> 0x008b }\n r3 = r10.zzxc;\t Catch:{ all -> 0x008b }\n r4 = r10.zzxg;\t Catch:{ all -> 0x008b }\n r5 = r10.zzxf;\t Catch:{ all -> 0x008b }\n r1 = r9.zzvy;\t Catch:{ all -> 0x008b }\n r7 = r1.zzeo();\t Catch:{ all -> 0x008b }\n r1 = r9.zzvy;\t Catch:{ all -> 0x008b }\n r8 = r1.getMaxPlayers();\t Catch:{ all -> 0x008b }\n r1 = r0;\n r1.<init>(r2, r3, r4, r5, r6, r7, r8);\t Catch:{ all -> 0x008b }\n r9.zzwa = r0;\t Catch:{ all -> 0x008b }\n r0 = r9.zzwa;\t Catch:{ all -> 0x008b }\n r1 = r10.zzxh;\t Catch:{ all -> 0x008b }\n r0 = r0.getPlayer(r1);\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0089;\n L_0x0076:\n r0 = r0.isControllable();\t Catch:{ all -> 0x008b }\n if (r0 == 0) goto L_0x0089;\n L_0x007c:\n r0 = r10.zzwy;\t Catch:{ all -> 0x008b }\n r1 = 2;\n if (r0 != r1) goto L_0x0089;\n L_0x0081:\n r0 = r10.zzxh;\t Catch:{ all -> 0x008b }\n r9.zzwc = r0;\t Catch:{ all -> 0x008b }\n r10 = r10.zzxb;\t Catch:{ all -> 0x008b }\n r9.zzwd = r10;\t Catch:{ all -> 0x008b }\n L_0x0089:\n monitor-exit(r9);\n return;\n L_0x008b:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.cast.zzcb.zza(com.google.android.gms.internal.cast.zzcp):void\");\n }",
"public final Field zzi() {\n int i = (this.zzf << 1) + (this.zzab / 32);\n Object obj = this.zzb[i];\n if (obj instanceof Field) {\n return (Field) obj;\n }\n Field zza2 = zza(this.zzc, (String) obj);\n this.zzb[i] = zza2;\n return zza2;\n }"
] | [
"0.65401626",
"0.65332305",
"0.64993584",
"0.64535284",
"0.63312113",
"0.6210442",
"0.6164261",
"0.6164261",
"0.6164261",
"0.6124162",
"0.6119013",
"0.6119013",
"0.6119013",
"0.61083883",
"0.60573125",
"0.60561603",
"0.6033825",
"0.60330266",
"0.6027068",
"0.6026799",
"0.6009281",
"0.600025",
"0.59917575",
"0.5988134",
"0.5967744",
"0.5961607",
"0.5961251",
"0.59492034",
"0.59364235",
"0.5929095",
"0.59082574",
"0.5896657",
"0.58921564",
"0.5879607",
"0.5873929",
"0.586761",
"0.5860451",
"0.58488286",
"0.5842407",
"0.58363926",
"0.58269715",
"0.5826255",
"0.58095455",
"0.57966405",
"0.57933646",
"0.5791965",
"0.5785459",
"0.57803196",
"0.5778494",
"0.5778257",
"0.57712656",
"0.57705885",
"0.5763589",
"0.5763089",
"0.57622284",
"0.57596695",
"0.57532096",
"0.57499397",
"0.5748998",
"0.57483053",
"0.5730744",
"0.57227784",
"0.57226694",
"0.5722527",
"0.5722432",
"0.5711303",
"0.57063043",
"0.56956613",
"0.5695429",
"0.569465",
"0.56862694",
"0.56842697",
"0.567875",
"0.5678393",
"0.5677614",
"0.56665164",
"0.5654758",
"0.5653036",
"0.5652574",
"0.5650378",
"0.5645618",
"0.5642516",
"0.5629717",
"0.5629717",
"0.562963",
"0.5628741",
"0.56157386",
"0.56118727",
"0.56087106",
"0.5608197",
"0.56059396",
"0.5601752",
"0.55931234",
"0.55922383",
"0.5592238",
"0.55901724",
"0.5588302",
"0.55877084",
"0.5578476",
"0.5572028",
"0.55627126"
] | 0.0 | -1 |
/ renamed from: a | public C0194n mo8a(String str, C0217x c0217x, int i, int i2, Map<C0204i, ?> map) throws fb {
try {
if (c0217x == C0217x.CODE_93) {
return super.mo8a(str, c0217x, i, i2, map);
}
throw new IllegalArgumentException(f337z[1] + c0217x);
} catch (fb e) {
throw e;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
] | [
"0.6249595",
"0.6242955",
"0.61393225",
"0.6117684",
"0.61140615",
"0.60893875",
"0.6046927",
"0.60248226",
"0.60201806",
"0.59753186",
"0.5947817",
"0.5912414",
"0.5883872",
"0.5878469",
"0.587005",
"0.58678955",
"0.58651674",
"0.5857262",
"0.58311176",
"0.58279663",
"0.58274275",
"0.5794977",
"0.57889086",
"0.57837564",
"0.5775938",
"0.57696944",
"0.57688814",
"0.5752557",
"0.5690739",
"0.5678386",
"0.567034",
"0.56661606",
"0.56595623",
"0.56588095",
"0.56576085",
"0.5654566",
"0.56445956",
"0.56401736",
"0.5638699",
"0.56305",
"0.56179273",
"0.56157446",
"0.5607045",
"0.5605239",
"0.5600648",
"0.5595156",
"0.55912733",
"0.5590759",
"0.5573802",
"0.5556659",
"0.55545336",
"0.5550466",
"0.5549409",
"0.5544484",
"0.55377364",
"0.55291194",
"0.55285007",
"0.55267704",
"0.5525843",
"0.5522067",
"0.5520236",
"0.55098593",
"0.5507351",
"0.5488173",
"0.54860324",
"0.54823226",
"0.5481975",
"0.5481588",
"0.5480086",
"0.5478032",
"0.54676044",
"0.5463578",
"0.54506475",
"0.54438734",
"0.5440832",
"0.5440053",
"0.5432095",
"0.5422814",
"0.5421934",
"0.54180306",
"0.5403851",
"0.5400144",
"0.5400042",
"0.5394655",
"0.53891194",
"0.5388751",
"0.53749055",
"0.53691155",
"0.53590924",
"0.5356525",
"0.5355397",
"0.535498",
"0.5354871",
"0.535003",
"0.5341249",
"0.5326222",
"0.53232485",
"0.53197914",
"0.5316941",
"0.5311645",
"0.5298656"
] | 0.0 | -1 |
/ renamed from: a | public boolean[] mo21a(String str) {
int length = str.length();
if (length > 80) {
try {
throw new IllegalArgumentException(f337z[2] + length);
} catch (IllegalArgumentException e) {
throw e;
}
}
int i;
int[] iArr = new int[9];
boolean[] zArr = new boolean[((((str.length() + 2) + 2) * 9) + 1)];
C0105f.m616a(C0114p.f385f[47], iArr);
int b = C0105f.m617b(zArr, 0, iArr, true);
for (i = 0; i < length; i++) {
C0105f.m616a(C0114p.f385f[f337z[0].indexOf(str.charAt(i))], iArr);
b += C0105f.m617b(zArr, b, iArr, true);
}
i = C0105f.m615a(str, 20);
C0105f.m616a(C0114p.f385f[i], iArr);
b += C0105f.m617b(zArr, b, iArr, true);
C0105f.m616a(C0114p.f385f[C0105f.m615a(str + f337z[0].charAt(i), 15)], iArr);
i = C0105f.m617b(zArr, b, iArr, true) + b;
C0105f.m616a(C0114p.f385f[47], iArr);
zArr[i + C0105f.m617b(zArr, i, iArr, true)] = true;
return zArr;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
] | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
] | 0.0 | -1 |
TODO Autogenerated method stub | public Integer countNews(String sql) {
return newsDao.countNews(sql);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | public List<News> queryNews(int from, int pageSize, String sql) {
return newsDao.queryNews(from, pageSize, sql);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | public News queryNews(String sql) {
return newsDao.queryNews(sql);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0.6080555",
"0.6076938",
"0.6041293",
"0.6024541",
"0.6019185",
"0.5998426",
"0.5967487",
"0.5967487",
"0.5964935",
"0.59489644",
"0.59404725",
"0.5922823",
"0.5908894",
"0.5903041",
"0.5893847",
"0.5885641",
"0.5883141",
"0.586924",
"0.5856793",
"0.58503157",
"0.58464456",
"0.5823378",
"0.5809384",
"0.58089525",
"0.58065355",
"0.58065355",
"0.5800514",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57912874",
"0.57896614",
"0.5789486",
"0.5786597",
"0.5783299",
"0.5783299",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5773351",
"0.5760369",
"0.5758614",
"0.5758614",
"0.574912",
"0.574912",
"0.574912",
"0.57482654",
"0.5732775",
"0.5732775",
"0.5732775",
"0.57207066",
"0.57149917",
"0.5714821",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57132614",
"0.57115865",
"0.57045746",
"0.5699",
"0.5696016",
"0.5687285",
"0.5677473",
"0.5673346",
"0.56716853",
"0.56688815",
"0.5661065",
"0.5657898",
"0.5654782",
"0.5654782",
"0.5654782",
"0.5654563",
"0.56536144",
"0.5652585",
"0.5649566"
] | 0.0 | -1 |
TODO Autogenerated method stub | public void save(News news) {
newsDao.save(news);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Constructor used on server. Fields populated automatically by ecologylab.serialization | public ChatRequest()
{
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public NetworkData() {\n }",
"public InitialData(){}",
"public MinecraftJson() {\n }",
"public Server()\n\t{\n\t\tusers = new ArrayList<User>();\n\t\tdepartments = new ArrayList<Department>();\n\t\ttokenGenerator = new Random(System.currentTimeMillis());\n\t}",
"public JsonDataset() {\r\n\t\tsuper();\r\n\t\tlogger.trace(\"JsonDataset() - start\");\r\n\t\tlogger.trace(\"JsonDataset() - end\");\r\n\t}",
"public SolicitudREST() {\n gson = new Gson();\n sdao= new SolicitudDAO();\n }",
"protected IBDS()\r\n {\r\n \tthis.modifyBuffer = new StringBuffer(300); // all update operations belong to this only\r\n this.nodeList = new ArrayList<int []>(50);\r\n this.lastUpdated = System.nanoTime();\r\n //this.objectArray = new ArrayList();\r\n }",
"Constructor() {\r\n\t\t \r\n\t }",
"private Response() {\n initFields();\n }",
"public DesastreData() { //\r\n\t}",
"public SensorData() {\n\n\t}",
"public Data() {\n \n }",
"public ServerConnection()\n {\n //Initializing of the variables used in the constructor\n this.hostAddress = \"http://localhost\";\n this.port = 8882;\n }",
"private ServerEntityMetadataPacket() {}",
"protected AuctionServer()\n\t{\n\t}",
"public Data() {}",
"public OServerConfiguration() {}",
"public HGDClient() {\n \n \t}",
"protected GeometricObject() \n\t{\n\t\tdateCreated = new java.util.Date();\n\t}",
"public ArticleData() {\r\n\t\tid = Constants.EMPTY_STRING;\r\n\t\tname = Constants.EMPTY_STRING;\r\n\t\turl = Constants.EMPTY_STRING;\r\n\t\tdesc = Constants.EMPTY_STRING;\r\n\t\tlevels = Constants.EMPTY_STRING;\r\n\t\twebSiteId = Constants.EMPTY_STRING;\r\n\t\tmatched = Constants.EMPTY_STRING;\r\n\t\tcreateBy = Constants.EMPTY_STRING;\r\n\t\tcreateDate = Constants.EMPTY_STRING;\r\n\t\tlastUpdateBy = Constants.EMPTY_STRING;\r\n\t\tlastUpdateDate = Constants.EMPTY_STRING;\r\n\t\tenabled = Constants.EMPTY_STRING;\r\n\t\tpostTableName = Constants.EMPTY_STRING;\r\n\t\treturnPage = Constants.EMPTY_STRING;\r\n\t\twebSiteShowName = Constants.EMPTY_STRING;\r\n\t\treturnDirect = Constants.EMPTY_STRING;\r\n\t\tkeyWordTableName = Constants.EMPTY_STRING;\r\n\t\ttitle = Constants.EMPTY_STRING;\r\n\t\ttitleCounter = Constants.EMPTY_STRING;\r\n\t\tbufferStartCounter = Constants.EMPTY_STRING;\r\n\t\tbufferEndCounter = Constants.EMPTY_STRING;\r\n\t\tcatId = Constants.EMPTY_STRING;\r\n\t\tpostUrl = Constants.EMPTY_STRING;\r\n\t}",
"public Payload() {\n\t}",
"public Data() {\n }",
"public Data() {\n }",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public Payload() {}",
"private Request() {\n initFields();\n }",
"public WCSResponseSerializer()\r\n {\r\n }",
"@Override\n protected void initData() {\n }",
"@Override\n protected void initData() {\n }",
"protected VersionData() {}",
"public Espai(){}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"public ServerDef() {}",
"public ClaseJson() {\n }",
"private RESTBackend()\n\t\t{\n\t\t\t\n\t\t}",
"public CalificacionREST() {\r\n\r\n gson = new Gson();\r\n sdao = new SolicitudDAO();\r\n /**\r\n * Creates a new instance of SolicitudREST\r\n */\r\n }",
"public LpsClient() {\n super();\n }",
"@Override\n\t\tpublic void init() {\n\t\t}",
"private TigerData() {\n initFields();\n }",
"public ReferenceBasePUSData() {\n\t\tsuper();\n\t}",
"public KorisniciREST() {\n }",
"private void init() {\n\t\tinitProtocol();\n\t\tinitResultStorage();\n\t}",
"public UE2_0_3Serializer(){\n\t\txstream = new XStream(/*new DomDriver()*/);\n\t}",
"DataHRecordData() {}",
"@Override\n\tpublic void init(String file_name) { deserialize(file_name); }",
"public WERecordDataModel()\n\t{\n\t\tsuper();\n\t\tsetEqFileName(RECORD_NAME);\n\t\tinitMessages();\n\t}",
"public EnsembleLettre() {\n\t\t\n\t}",
"public RestBean() {\n System.out.println(\"made RestBean\");\n movieData = new ArrayList<Movie>();\n }",
"public Response() {\n objectMap = new JSONObject<>();\n }",
"public PollData() {\n\n\n super(TYPE_NAME);\n }",
"public UpdateTrackingResp() {\n }",
"@Override public void init()\n\t\t{\n\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"public FlexData() {\n entryCollectionList = null;\n entryCollectionMap = null;\n type = Type.UNKNOWN;\n standardDateFormat = \"yyyy-MM-dd\"; // DB2-Datum\n\t}",
"public ClassOne(){\n\t\tthis.age = 55;\t\t// this value won't come while de-serialization.\n\t\tSystem.out.println (\"Default Constructor Running\");\n\t}",
"protected Study() {\n \n \t\tthis.id = Integer.MIN_VALUE;\n \t\tthis.name = \"\";\n \t\tthis.description = \"\";\n \t\tthis.studyType = \"\";\n \t\tthis.validity = \"\";\n \t\tthis.creationDate = new Date();\n //\t\tthis.studyMatrices = new ArrayList<Integer>();\n \t}",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"public void init() {\r\n\t\tlog.info(\"init()\");\r\n\t\tobjIncidencia = new IncidenciaSie();\r\n\t\tobjObsIncidencia = new ObservacionIncidenciaSie();\r\n\t\tobjCliente = new ClienteSie();\r\n\t\tobjTelefono = new TelefonoPersonaSie();\r\n\t}",
"public ClientData() {\n\n this.name = \"\";\n this.key = \"\";\n this.serverIpString = \"\";\n this.serverPort = 0;\n this.clientListenPort = 0;\n this.clientsSocketPort = 0;\n this.clientsLocalHostName = \"\";\n this.clientsLocalhostAddressStr = \"\";\n\n this.socket = new Socket();\n\n try {\n this.socket.bind(null);\n } catch (IOException ex) {\n ClientInterface.getjTextArea1().append(\"Error. Unable to load data and create client.\");\n }\n \n try {\n this.clientsLocalHostName = InetAddress.getLocalHost().getHostName();\n this.clientsLocalhostAddressStr = InetAddress.getLocalHost().getHostAddress();\n } catch (UnknownHostException ex) {\n ClientInterface.getjTextArea1().append(\"Error. Unable to load data and create client.\");\n }\n this.clientsSocketPort = socket.getLocalPort();\n\n parseClientConfigFile();\n\n //Initialize ServerSocket and bind to specific port.\n try {\n serverS = new ServerSocket(clientListenPort);\n } catch (IOException ex) {\n ClientInterface.getjTextArea1().append(\"Error. Unable to load data and create client.\");\n }\n }",
"public Webinar() {\n\t\t\n\t}",
"public AirAndPollen() {\n\n\t}",
"Data() {\n\t\t// dia = 01;\n\t\t// mes = 01;\n\t\t// ano = 1970;\n\t\tthis(1, 1, 1970); // usar um construtor dentro de outro\n\t}",
"public UBERequest() {\r\n }",
"public JobPayload()\n {\n \n }",
"protected GaConnector() {\n }",
"public SceneFurniRecord ()\n {\n }",
"public Response(){\n\t\t// nothing needed\n\t}",
"public CompanyData() {\r\n }",
"public Postoj() {}",
"public TurnoVOClient() {\r\n }",
"public Commune() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}",
"public TradeData() {\r\n\r\n\t}",
"private ServerConnectionParser() {\n }",
"public SurveyEntity(){\n id = -1;\n description = \"No Description Available\";\n date_created = Calendar.getInstance();\n is_default = 0;\n }",
"public RestServiceClient(IServerResponse iResponse, Object[] values, String[] keys, String url, Activity activity,\n String keyForUploadFile, String filePath, String loadingMessage) {\n this.iResponse = iResponse;\n this.values = values;\n this.keys = keys;\n this.url = url;\n this.activity = activity;\n this.filePath = filePath;\n this.keyForUploadFile = keyForUploadFile;\n this.loadingMessage = loadingMessage;\n isLoaderVisible = true;\n }",
"public Data() {\n this.customers = new HashMap<>();\n this.orders = new HashMap<>();\n this.siteVisits = new HashMap<>();\n this.imageUploads = new HashMap<>();\n }",
"public JSFOla() {\n }",
"public mapper3c() { super(); }",
"private FIXResponseImpl()\r\n {\r\n mBrokerID=null;\r\n mOriginator=null;\r\n mActorID=null;\r\n mViewerID=null;\r\n }",
"protected StandardizerServer()\r\n\t{\r\n\t}",
"public Client() {\r\n\t// TODO Auto-generated constructor stub\r\n\t \r\n }",
"@Override\n\tprotected void initData(){\n\t\tsuper.initData();\n\t}",
"public User() {\r\n\t\temployee=new HashMap<Integer, Employee>();\r\n\t\tperformance=new HashMap<Employee,String>();\r\n\t}",
"public ObjectSerializationEncoder() {\n // Do nothing\n }",
"public ClientDetailsEntity() {\n\t\t\n\t}",
"protected Server() {\n super(\"Ublu Server\");\n }",
"public LegProfile ()\n {\n\t// For Jackson ObjectMapper's sanity!\n }",
"public ReplicationObject() {\n }",
"public DataRequest() {\n\t\tfilters = new ArrayList<FilteringRule>();\n\t\tsort_by = new ArrayList<SortingRule>();\n\t}",
"public CSSTidier() {\n\t}",
"private void constructorPostProcessing()\n {\n prepareNextRequest();\n fetchNextBatch();\n advanceObjectSummary();\n }",
"private Noder(E data) {\n this.data = data;\n }",
"public ServerParser() \n\t{\n\t\t m_fileNames = new ArrayList<String>();\n\t\t m_fileNames.add(\"xml/time_context_element.xml\");\n\t\t m_fileNames.add(\"xml/location_context_element.xml\");\n\t m_fileNames.add(\"xml/velocity_context_element.xml\");\n\t m_fileNames.add(\"xml/temperature_context_element.xml\");\n\t}"
] | [
"0.6492901",
"0.64836615",
"0.62231284",
"0.62204736",
"0.61844003",
"0.614951",
"0.6145603",
"0.61342865",
"0.6130913",
"0.6044938",
"0.6010112",
"0.59893",
"0.5978255",
"0.5958422",
"0.5936012",
"0.5932027",
"0.59194595",
"0.5916057",
"0.59091854",
"0.590348",
"0.5884977",
"0.58838993",
"0.58838993",
"0.58727354",
"0.58727354",
"0.5870389",
"0.5862636",
"0.5845651",
"0.5843514",
"0.58387566",
"0.58387566",
"0.58135056",
"0.58096194",
"0.5808824",
"0.5808824",
"0.5808824",
"0.5808824",
"0.5808824",
"0.5808824",
"0.57999325",
"0.579786",
"0.57936764",
"0.5787691",
"0.5781301",
"0.5777374",
"0.5774333",
"0.5771201",
"0.57696307",
"0.5768611",
"0.57611287",
"0.5760415",
"0.57580566",
"0.57524174",
"0.5751965",
"0.5748181",
"0.5744276",
"0.5736516",
"0.57347876",
"0.57308984",
"0.57287586",
"0.57287586",
"0.5724053",
"0.57215023",
"0.57151973",
"0.57136893",
"0.57121706",
"0.5701918",
"0.5701322",
"0.56951404",
"0.56932425",
"0.5691463",
"0.5690533",
"0.5690455",
"0.56892484",
"0.5689101",
"0.5688251",
"0.5686778",
"0.56862104",
"0.5678691",
"0.56781435",
"0.566873",
"0.5666724",
"0.5665072",
"0.5662888",
"0.56613785",
"0.56613207",
"0.5659238",
"0.5654093",
"0.5650376",
"0.5649532",
"0.56474787",
"0.56369704",
"0.5635035",
"0.5634183",
"0.56323856",
"0.5630369",
"0.5627687",
"0.56270903",
"0.5626324",
"0.5621397",
"0.56162983"
] | 0.0 | -1 |
Constructor used on client. | public ChatRequest(String message)
{
this.message = message;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Client() {\n }",
"public Client() {}",
"public Client() {\r\n\t// TODO Auto-generated constructor stub\r\n\t \r\n }",
"public Client() {\n\t\t// TODO Auto-generated constructor stub\n\t}",
"public LpsClient() {\n super();\n }",
"private CorrelationClient() { }",
"protected ClientStatus() {\n }",
"public HGDClient() {\n \n \t}",
"public ServiceClient() {\n\t\tsuper();\n\t}",
"private MatterAgentClient() {}",
"public Cliente() {\n\t\tsuper();\n\t}",
"public TurnoVOClient() {\r\n }",
"public Cliente() {\n }",
"private ClientLoader() {\r\n }",
"private APIClient() {\n }",
"private NotificationClient() { }",
"protected AuctionServer()\n\t{\n\t}",
"public Client(Client client) {\n\n }",
"public Client() {\n _host_name = DEFAULT_SERVER;\n _port = PushCacheFilter.DEFAULT_PORT_NUM;\n }",
"public Ctacliente() {\n\t}",
"protected RestClient() {\n }",
"public GameClient() {\r\n super(new Client(Config.WRITE_BUFFER_SIZE, Config.OBJECT_BUFFER_SIZE), null, null);\r\n }",
"private Connection () {}",
"private RestClient() {\n }",
"public EO_ClientsImpl() {\n }",
"public Factory() {\n this(getInternalClient());\n }",
"private Connection() {\n \n }",
"public AbaloneClient() {\n server = new AbaloneServer();\n clientTUI = new AbaloneClientTUI();\n }",
"private HttpClient() {\n\t}",
"public ClientCredentials() {\n }",
"public Connection() {\n\t\t\n\t}",
"public ServerConnecter() {\r\n\r\n\t}",
"public BrowseOffenceAMClient() {\r\n }",
"Cliente(){}",
"protected GaConnector() {\n }",
"public HRModuleClient() {\n }",
"private ClientController() {\n }",
"Constructor() {\r\n\t\t \r\n\t }",
"public ChatClient() {\n\n }",
"public NMQModuleClient() {\r\n }",
"public MdrCreater()\n {\n super();\n client = new RawCdrAccess();\n }",
"ClientMessageSender() {\n\n\t}",
"private SequencerConnection() { }",
"public UPKClient() {\n connectToServer(BASE_URL);\n }",
"public ClienteServicio() {\n }",
"public ClientDetailsEntity() {\n\t\t\n\t}",
"private Server()\n\t{\n\t}",
"public RestClient(){\n }",
"private Request() {}",
"private Request() {}",
"public Gateway() {\n genClient = new GenericClient<Gateway>(this);\n }",
"public PublishingClientImpl() {\n this.httpClientSupplier = () -> HttpClients.createDefault();\n this.requestBuilder = new PublishingRequestBuilderImpl();\n }",
"public Response(){\n\t\t// nothing needed\n\t}",
"public ClientTSap() {\n socketFactory = SocketFactory.getDefault();\n }",
"protected RestClient()\n\t{\n\t\tclient = new HttpClient();\n\t\tclient.setIdleTimeout(3000000);\n\t\t// for possible future use:\n\t\t//exchange_get = new ContentExchange()\n\t\t{\n\t\t\t// define the callback method to process the response when you get it back\n\t\t\t// protected void onResponseComplete() throws IOException\n\t\t\t// {\n\t\t\t// super.onResponseComplete();\n\t\t\t// int responseStatus = this.getStatus();\n\n\t\t\t// do something with the response content\n\t\t\t//System.out.println(\"Response status: \" + responseStatus);\n\t\t\t//System.out.println(this.getResponseContent());\n\t\t\t//\t }\n\t\t};\n\t}",
"public LocalClient() {\n\t\tsuper(\"SERVER\", Arrays.asList(new String[] {\"*\"}), null, null);\n\t\tinputThread = new Thread(this);\n\t\tinputThread.start();\n\t}",
"Client(String host, int port) {\n super(host, port);\n }",
"public Communicator() {\n\t}",
"public ProductsVOClient() {\r\n }",
"private MockClientNetworkModule() {\n\t\t// TODO complete this constructor\n\t}",
"private Response() {}",
"private Response() {}",
"private Response() {\n initFields();\n }",
"public ClipsManager()\n {\n setClientAuth( m_clientId, m_clientSecret );\n setAuthToken( m_authToken );\n }",
"private Connection(){\n\n }",
"private RedisClient() {\n\n }",
"private ServerConnectionParser() {\n }",
"private SocketMessage() {\n initFields();\n }",
"public Request() {\n }",
"public Client() {\n initComponents();\n \n Server server = new Server();\n server.start();\n \n }",
"public UBERequest() {\r\n }",
"public ClientController() {\n }",
"public Client(int id, String name) {\n\t\tsuper(id, name);\n\t\tthis.jobs = new ArrayList<Job>();\n\t}",
"public UDPclient()\n\t{\n\t}",
"public Communicator() {\n }",
"public Communicator() {\n }",
"public ExampleModuleClient() {\r\n }",
"protected Server() {\n super(\"Ublu Server\");\n }",
"public Request() {\n\n }",
"public JSipClient() {\n\t\tinitComponents();\n\t}",
"public CalccustoRequest()\r\n\t{\r\n\t}",
"public Curso() {\r\n }",
"public JsonHttpChannel() {\n this.defaultConstructor = new JsonHttpEventFactory();\n }",
"public Server() {}",
"public ServerConnection()\n {\n //Initializing of the variables used in the constructor\n this.hostAddress = \"http://localhost\";\n this.port = 8882;\n }",
"public ClientInformation(){\n clientList = new ArrayList<>();\n\n }",
"private MyClientEndpoint(){\n // private to prevent anyone else from instantiating\n }",
"public BasicResponse() {\n }",
"public UpdateTrackingResp() {\n }",
"private Aliyun() {\n\t\tsuper();\n\t}",
"public RentRPCServer() {\n\t\tsuper(null, null);\n\t\t// mocking purpose\n\t}",
"public Server()\n\t{\n\t\tusers = new ArrayList<User>();\n\t\tdepartments = new ArrayList<Department>();\n\t\ttokenGenerator = new Random(System.currentTimeMillis());\n\t}",
"protected ServerConnectionDebugger() {\n\n }",
"public NetworkData() {\n }",
"private MemberIdServer() {\n }",
"public MinecraftJson() {\n }",
"public RedisClient() {\n init();\n }",
"public GameServerClient(){\r\n\t\tinitComponents();\r\n\t\t}",
"public Telefone() {\n\t}",
"private Connection() {\n\t\tSystem.out.println(\">> Connection Object Constructed at \"+this);\n\t}",
"public Client(ClientEvents event) throws UnknownHostException, IOException {\n\t\t// TODO Auto-generated constructor stub\n\t\t//super(\"83.52.33.147\", 3553);\n\t\tmIp = \"85.53.66.42\";\n\t\tmPort = 3553;\n\t\tthis.event = event;\n\t\tmInstance = this;\n\t\t\n\t\t//startConection();\n\t}"
] | [
"0.7972604",
"0.7894895",
"0.7709071",
"0.7704843",
"0.76840246",
"0.7652598",
"0.7579365",
"0.7578464",
"0.7534815",
"0.7491943",
"0.74867177",
"0.7415247",
"0.74108654",
"0.73821753",
"0.737455",
"0.7362886",
"0.7302311",
"0.7297932",
"0.7289639",
"0.72864497",
"0.7280079",
"0.7142189",
"0.710621",
"0.7095049",
"0.708614",
"0.7071723",
"0.7021221",
"0.7008303",
"0.6995109",
"0.6992374",
"0.69902325",
"0.69730437",
"0.6971289",
"0.69402796",
"0.6938632",
"0.69384307",
"0.6933006",
"0.692478",
"0.6923296",
"0.69017005",
"0.6898224",
"0.6879306",
"0.68762416",
"0.6866145",
"0.6862168",
"0.68447024",
"0.684051",
"0.6836784",
"0.6832378",
"0.6832378",
"0.6823844",
"0.67989063",
"0.67649865",
"0.6758262",
"0.6744736",
"0.67293644",
"0.67292506",
"0.6709199",
"0.6699135",
"0.6695562",
"0.669376",
"0.669376",
"0.66909885",
"0.66819334",
"0.667858",
"0.6676073",
"0.66736054",
"0.6656335",
"0.6656166",
"0.6655366",
"0.66478336",
"0.6645834",
"0.6637626",
"0.6630675",
"0.66289824",
"0.66289824",
"0.66251844",
"0.66125935",
"0.66108143",
"0.66091543",
"0.6608957",
"0.6608236",
"0.6607507",
"0.66054165",
"0.66011316",
"0.65996706",
"0.65864295",
"0.6584716",
"0.6582234",
"0.65819067",
"0.65737325",
"0.6572307",
"0.6561606",
"0.6560377",
"0.65579736",
"0.6549599",
"0.6529685",
"0.6529451",
"0.65287274",
"0.65263563",
"0.65102285"
] | 0.0 | -1 |
Called automatically by LSDCS on server | @Override
public ResponseMessage performService(Scope cSScope)
{
//implemented in ChatRequest on C# server side;
/*
* Send back a response confirming that we got the request
*/
return OkResponse.reusableInstance;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void handleServerCmd() {\n\t\t\n\t}",
"void onServerStarted();",
"@Override\n\tpublic void onModServerStarted2(FMLServerStartedEvent aEvent) {\n\t}",
"@Override\n\tpublic void onNetStart(String id) {\n\t\t\n\t}",
"@Override\n\t\t\t\t\tpublic void onReqStart() {\n\t\t\t\t\t}",
"@Override\n\tpublic void preServe() {\n\n\t}",
"@Override\n\tpublic void onModServerStarting2(FMLServerStartingEvent aEvent) {\n\t}",
"S getServer();",
"@Override\n\tprotected void onConnect() {\n\t\tLogUtil.debug(\"server connect\");\n\n\t}",
"protected void serverStarted()\n {\n // System.out.println\n // (\"Server listening for connections on port \" + getPort());\n }",
"protected void onFirstUse() {}",
"private void requestServerId() {\n connection.startClient(lbInfo.getIp(), lbInfo.getPort());\n System.out.println(\"Connected!\");\n connection.sendMessage(connectionInfo);\n }",
"public void init() throws ServletException {\n\t\tserver = getInitParameter(\"ncserver\");\n\t\t// System.out.println(\"fffpropsFileName\"+propsFileName+\"...\");\n\t\tif (server == null)\n\t\t\tserver = \"http://100.100.1.61:81/service/XChangeServlet?account=0002\";\n\t\tSystem.out.println(\"server:\" + server + \"...\");\n\t}",
"protected void onBeginRequest()\n\t{\n\t}",
"@Override\n\tpublic void onRequestStart(String reqId) {\n\t\t\n\t}",
"@Override\n public void socket() {\n }",
"protected StandardizerServer()\r\n\t{\r\n\t}",
"public void startServer(PWModelDetails pwModelDetails) {\n try {\n List<ServerSap> serverSaps = null;\n try {\n serverSaps = ServerSap.getSapsFromSclFile(pwModelDetails.getSclFileName());\n } catch (SclParseException e) {\n logger.info(\"Error parsing SCL/ICD file: \" + e.getMessage());\n e.printStackTrace();\n return;\n }\n serverSap = serverSaps.get(0);\n serverSap.setPort(pwModelDetails.getPortNumber());\n\n InetAddress address = null;\n try {\n ipAddress = pwModelDetails.getIpAddress();\n address = InetAddress.getByName(ipAddress);\n } catch (UnknownHostException e) {\n logger.info(\"Unknown host: \" + ipAddress);\n logger.info(\"Proxy will run with the defualt IP as define in the SCL file.\");\n logger.info(\"Unknown host \" + ipAddress);\n return;\n }\n if (address != null) {\n serverSap.setBindAddress(address);\n }\n Runtime.getRuntime().addShutdownHook(new Thread() {\n @Override\n public void run() {\n if (serverSap != null) {\n serverSap.stop();\n }\n logger.info(\"Server was stopped\");\n }\n });\n ServerModel serverModel = serverSap.getModelCopy();\n// create a SampleServer instance that can be passed as a callback object to startListening() and\n// SmartPowerIEDServer sampleServer = new SmartPowerIEDServer();\n SoftGridIEDServer sampleServer = this;\n// Open MUC initialization\n List<BasicDataAttribute> branchCircuitBreakerVals = new ArrayList<BasicDataAttribute>(3);\n for (String reference : iedRefFcHashMap.keySet()) {\n BasicDataAttribute field = (BasicDataAttribute) serverModel.findModelNode(reference, iedRefFcHashMap.get(reference));\n if (field == null) {\n logger.info(\">>>>>> Error in obtaining SCL reference object = \" + reference);\n }\n branchCircuitBreakerVals.add(field);\n }\n// Power World Device Initialization\n ParameterGenerator parameterGenerator = new ParameterGenerator();\n parameterGenerator.setSclKeyToPWKeyMap(pwModelDetails.getSclToPWMapping());\n parameterGenerator.setKeyParameters(pwModelDetails.getKeyArray());\n parameterGenerator.setValueParameters(pwModelDetails.getDataFieldArray());\n parameterGenerator.setPersistedValues(pwModelDetails.getValueArray());\n parameterGenerator.setDeviceObjectName(pwModelDetails.getDeviceName());\n if (controlAPI == null) {\n controlAPI = IedControlerFactory.getPWComBridgeIterface();\n synchronized (controlAPI) {\n if (!controlAPI.isCaseOpened()) {\n controlAPI.openCase();\n }\n }\n }\n parameterGenerator.setControlAPI(controlAPI);\n// load power world data\n serverSap.startListening(sampleServer, parameterGenerator);\n try {\n serverSap.setValues(branchCircuitBreakerVals);\n } catch (Exception e) {\n logger.info(\"pwModelDetails.getModelNodeReference() = \" + pwModelDetails.getModelNodeReference());\n e.printStackTrace();\n }\n\n String[][] paramPack = parameterGenerator.getParamPack();\n type = IEDUtils.getIEDType(parameterGenerator.getDeviceObjectName());\n id = ++IED_COUNT;\n StringBuffer sb = new StringBuffer();\n String logDataSeperator = \":\";\n boolean loged = false;\n logEvent(\"IED : \" + type.name() + \" : \" + id + \" is Started...!\");\n String[] elements = null;\n while (true) {\n synchronized (this) {\n try {\n Thread.sleep(PW_INTERROGATION_INTERVAL);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n\n elements = parameterGenerator.loadDataValues(paramPack);\n if (elements == null) {\n if(type.name().equals(\"BUS\"))\n {\n System.out.println(\"BUS\");\n }\n continue;\n }\n sb.append(\"Type:\").append(type.name());\n for (int i = 0; i < branchCircuitBreakerVals.size(); i++) {\n BasicDataAttribute modelNodes = branchCircuitBreakerVals.get(i);\n if (modelNodes != null && elements.length > i) {\n String pwKeyName = null;\n for (String sclKey : parameterGenerator.getSclKeyToPWKeyMap().keySet()) {\n if (modelNodes.getReference().toString().endsWith(sclKey)) {\n pwKeyName = sclKey;\n }\n }\n if (pwKeyName == null) {\n continue;\n }\n for (int j = 0; j < paramPack[0].length; j++) {\n if (!loged) {\n sb.append(logDataSeperator).append(paramPack[0][j]).append(logDataSeperator).append(elements[j]);\n }\n if (parameterGenerator.getSclKeyToPWKeyMap().get(pwKeyName).equals(paramPack[0][j])) {\n if (modelNodes instanceof BdaDoubleBitPos) {\n byte[] status = new byte[1];\n if (elements[j].equalsIgnoreCase(\"open\")) {\n status[0] = 0;\n } else {\n status[0] = 1;\n }\n ((BdaDoubleBitPos) modelNodes).setValue(status);\n } else if (modelNodes instanceof BdaVisibleString) {\n ((BdaVisibleString) modelNodes).setValue(elements[j]);\n } else if (modelNodes instanceof BdaFloat32) {\n ((BdaFloat32) modelNodes).setFloat(Float.parseFloat(elements[j]));\n }\n }\n }\n loged = true;\n }\n }\n serverStarted = true;\n// synchronized (logger) {\n// if (ConfigUtil.MANUAL_EXPERIMENT_MODE) {\n // if this string is not printed in the log file,\n logger.info(sb.toString());\n// }\n// }\n sb = new StringBuffer(\"\");\n loged = false;\n serverSap.setValues(branchCircuitBreakerVals);\n if (serverStoped) {\n serverStarted = false;\n break;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void onFeedbackServerStarted() {\n }",
"public void conectServer() {\n\n\t}",
"@Override\n @SideOnly(Side.CLIENT)\n public void onClientPostInit()\n {\n\n }",
"public void onServerStart(MinecraftServer server)\n\t{\n\t\t// WARNING : integrated server work whit proxy on ClienSide.\n\t\tJLog.info(\" --- SERVER START --- \");\n\t\tElementalIntegrationHelper.initializeClass();\n\t}",
"@Override\n public void onResponse(String response) {\n System.out.print(\"respuesta Server\"+response);\n responseRequest(sync_id);\n /*if (sync_id != 0) {\n responseRequest(sync_id);\n } else {\n background_response = \"ID Sync null\";\n restartRequest(background_response);\n }*/\n }",
"private void msgNoServerConnection() {\r\n\thandler.sendEmptyMessage(1); // enviar error al cargar\r\n }",
"@Override\n\tpublic void onModServerStopped2(FMLServerStoppedEvent aEvent) {\n\t}",
"private void initData() {\n requestServerToGetInformation();\n }",
"@Override\r\n\t\t\tpublic void onRequest() {\n\t\t\t\t\r\n\t\t\t}",
"@Listener\n public void onServerStart(GameStartedServerEvent event) {\n logger.debug(\"*************************\");\n logger.debug(\"HI! MY PLUGIN IS WORKING!\");\n logger.debug(\"*************************\");\n }",
"@Override\n\tpublic void OnRequest() {\n\t\t\n\t}",
"@Override\r\n\t\t\t\tpublic void onServerDisconnect() {\n\t\t\t\t}",
"@Override\r\n\tpublic void onTrafficStatusUpdate() {\n\r\n\t}",
"@Override\n public void process() {\n Simulator.allocateServer(c);\n }",
"public void receivedUpdateFromServer();",
"private void sendUpdateConnectionInfo() {\n\n }",
"@Override\n\tpublic void updateClient() {\n\t\t\n\t}",
"private void selectedServerChanged() {\n\t\tDASServer selectedServer = (DASServer) jcbServer.getSelectedItem();\n\t\tif (selectedServer != null) {\n\t\t\tselectedDasConnector = new DASConnector(selectedServer.getURL());\n\t\t\ttry {\n\t\t\t\tList<DataSource> dataSourceList = selectedDasConnector.getDataSourceList();\n\t\t\t\tjcbDataSource.removeAllItems();\n\t\t\t\tfor (DataSource currentSource: dataSourceList) {\n\t\t\t\t\tjcbDataSource.addItem(currentSource);\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tExceptionManager.getInstance().caughtException(Thread.currentThread(), e, \"Error when retrieving the data sources from \" + selectedServer);\n\t\t\t}\n\t\t}\n\t}",
"@Override\n public void onTrafficStatusUpdate() {\n\n }",
"private stendhal() {\n\t}",
"@Override\n public void initialize(ServerConfiguration config) {\n }",
"private OutOfProcessServer()\n {\n }",
"private void requestClientNameFromServer() {\n writeToServer(ServerAction.GET_NAME + \"\");\n }",
"@Override\n public void run() {\n EndpointServer random = Preferences.getEndpointServer(mContext);\n\n /** no server found -- notify to user */\n if (random == null) {\n Log.i(TAG, \"no list to pick a random server from - aborting\");\n\n // notify to UI\n if (mListener != null)\n mListener.nodata();\n\n return;\n }\n\n try {\n // TODO\n /*\n mConnection = new ClientHTTPConnection(null, mContext, random, null);\n Protocol.ServerList data = mConnection.serverList();\n if (data != null) {\n // write down to cache\n OutputStream out = new FileOutputStream(getCachedListFile(mContext));\n data.writeTo(out);\n out.close();\n }\n\n // parse cached list :)\n sCurrentList = parseList(data);\n if (mListener != null)\n mListener.updated(sCurrentList);\n\n // restart message center\n MessageCenterService.restartMessageCenter(mContext.getApplicationContext());\n */\n throw new IOException();\n }\n catch (IOException e) {\n if (mListener != null)\n mListener.error(e);\n }\n finally {\n mConnection = null;\n }\n }",
"protected void serverStopped()\n {\n // System.out.println\n // (\"Server has stopped listening for connections.\");\n }",
"protected void onConnect() {}",
"@Override\r\n\t\t\tpublic void run()\r\n\t\t\t{\n\t\t\t\tString path = \"D:\\\\TUM\\\\3rd Semester\\\\3. Lab Course - Cloud DB [IN0012, IN2106, IN4163]\\\\LatestVersion\\\\gr6\\\\path\";\r\n\t\t\t\tKVServer newServer = new KVServer(\"newNode\", 50001, 30000, 3, \"FIFO\", path, 0,1,1);\r\n\t\t\t}",
"protected void onBegin() {}",
"void serverLostConnection();",
"@Override\n public void run() {\n load_remote_data();\n }",
"@Override\r\n\tpublic void sssDoLwTestPeriodic() {\n\r\n\t}",
"@Override\n\tpublic void onTrafficStatusUpdate() {\n\n\t}",
"@Override\r\n\tpublic void sssDoLwTestInit() {\n\r\n\t}",
"void onServerStopped();",
"@Override\n\t\t\t\t\tpublic void onStart(int what, Object[] params) {\n\n\t\t\t\t\t}",
"protected ServerConnectionDebugger() {\n\n }",
"@Override\n public void onContextCreated() {\n HeartbeatJob.updateBinaryServiceClusterChanges(serversService);\n registersHeartbeatJob();\n registerCallHomeJob();\n }",
"private Server()\n\t{\n\t}",
"@Override\n protected void setServerAccessCreditsSubClass ()\n {\n getEncapsulatedQueue ().setServerAccessCredits (getLastUpdateTime (), getServerAccessCredits ());\n }",
"@Override\n\t\t\t\tpublic void onStart() {\n\t\t\t\t}",
"public void lbl_ListName_Server(ActionEvent e) throws Exception\n\t{\n\t}",
"public void setServer(boolean isServer) { this.isServer = isServer; }",
"@Override\r\n public void contextInitialized(ServletContextEvent servletContextEvent) {\r\n \r\n }",
"@Override\n\t\t\t\t\tpublic void onStart() {\n\n\t\t\t\t\t}",
"@Override\n\tpublic void handleServer(EntityPlayerMP player) {\n\n\t}",
"@Override\n\tpublic void saveDataSource() {\n\t\tsaveServerOffline();\n\t}",
"@Override\n\tpublic void run(){\n\t\t//int port = Integer.parseInt(Config.getKey(\"frontPort\"));\n\t\tlog.info(\"启动蓝斯出租车设备数据采集\");\n\t\t//int port=20011;\n\t\tint port=39990;\n\t\tCCSocketServer frontLZss=new CCSocketServer(port,new LZTAXI_Front_IChannelPipeline());\n\t\ttry {\n\t\t\tfrontLZss.run();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void onPreLoad()\n\t{\n\t\tJLog.info(\" --- PREINIT --- \");\n\t\t\n\t\t/** packet connect */\n\t\tSTATS_SOCKET = NetworkRegistry.INSTANCE.newSimpleChannel(STATS_ID);\n\t\tSTATS_SOCKET.registerMessage(AskPlayerStatsPacket.Handler.class, AskPlayerStatsPacket.class, 0, Side.SERVER);\n\t\tSTATS_SOCKET.registerMessage(PlayerStatsPacket.Handler.class, PlayerStatsPacket.class, 1, Side.CLIENT);\n\t\tSTATS_SOCKET.registerMessage(AskMonsterStatsPacket.Handler.class, AskMonsterStatsPacket.class, 2, Side.SERVER);\n\t\tSTATS_SOCKET.registerMessage(MonsterStatsPacket.Handler.class, MonsterStatsPacket.class, 3, Side.CLIENT);\n\t\tSTATS_SOCKET.registerMessage(AskItemStatsPacket.Handler.class, AskItemStatsPacket.class, 4, Side.SERVER);\n\t\tSTATS_SOCKET.registerMessage(ItemStatsPacket.Handler.class, ItemStatsPacket.class, 5, Side.CLIENT);\t\t\n\t\tSTATS_SOCKET.registerMessage(InitElementPacket.Handler.class, InitElementPacket.class, 6, Side.CLIENT);\n\t\tSTATS_SOCKET.registerMessage(InitDamageSourcePacket.Handler.class, InitDamageSourcePacket.class, 7, Side.CLIENT);\n\t\tJLog.info(\"New socket have been create for STATS_SOCKET\");\n\n\t\t/** list of value that exist for player. */\n\t\tPLAYER_STATS = new ArrayList<Class<? extends IElementalWritable>>();\n\t\tPLAYER_STATS.add(AttackMatrix.class);\n\t\tPLAYER_STATS.add(DefenceMatrix.class);\n\t\tJLog.info(\"New list have been create for PLAYER_STATS\");\n\n\t\t/** list of value that exist for monster. */ \n\t\tMONSTER_STATS = new ArrayList<Class<? extends IElementalWritable>>();\n\t\tMONSTER_STATS.add(AttackMatrix.class);\n\t\tMONSTER_STATS.add(DefenceMatrix.class);\n\t\tJLog.info(\"New list have been create for MONSTER_STATS\");\n\n\t\t/** list of value that exist for monster, value is only use to know which class use. */ \n\t\tITEM_STATS = new ArrayList<Class<? extends IElementalWritable>>();\n\t\tITEM_STATS.add(DamageMatrix.class);\n\t\tITEM_STATS.add(ShieldMatrix.class);\n\t\tJLog.info(\"New list have been create for ITEM_STATS\");\n\t\t\n\t\t/** list of all available stats. Use for algorithm only. */\n\t\tSTATS = new HashMap<Class, Map<Class, DataParameter>>();\n\t\tRegister.addNewStats(AttackMatrix.class);\n\t\tRegister.addNewStats(DefenceMatrix.class);\n\t\t\n\t\tRegister.addNewStats(DamageMatrix.class);\n\t\tRegister.addNewStats(ShieldMatrix.class);\n\t\tRegister.addNewStats(EnvironmentalMatrix.class);\n\t\t\n\t\tDEFAULT_STATS = new HashMap<Class, AbstractStats>();\n\t\tJLog.info(\"New map have been create for DEFAULT_STATS\");\n\t\t\n\t\tDEFAULT_ITEM_STATS = new HashMap<String, ItemStats>();\n\t\tJLog.info(\"New map have been create for DEFAULT_ITEM_STATS\");\n\n\t\tVALUE_REGISTER = new HashMap<Class, Map<Class, IElementalWritable>>();\n\t\tJLog.info(\"New map have been create for VALUE_REGISTER\");\n\n\t\tDEFAULT_ELEMENT_DAMAGE_SOURCES = new HashMap<String, Element>();\n\t\tJLog.info(\"New map have been create for DEFAULT_ELEMENT_DAMAGE_SOURCES\");\n\t\t\n\t\tDEFAULT_EFFECT_DAMAGE_SOURCES = new HashMap<String, Boolean>();\n\t\tJLog.info(\"New map have been create for DEFAULT_EFFECT_DAMAGE_SOURCES\");\n\n\t}",
"protected void addedServer(final BasicServerMetrics metrics) {\n // Nothing - Extension point.\n }",
"@Override\n public void startup() {\n }",
"public void setServer(Server server) {\n\t\t\r\n\t}",
"@Override\npublic void onInit(int status) {\n\t\n\t\t\t\t\t\t\t\t}",
"public void sendeLobby();",
"@Override\r\n\tpublic void onInit(int status) {\n\t\t\r\n\t}",
"public void init(){\n\t\tmultiplexingClientServer = new MultiplexingClientServer(selectorCreator);\n\t}",
"public void start() {\n \t\tinit();\n\t\tif(!checkBackend()){\n\t\t\tvertx.createHttpServer().requestHandler(new Handler<HttpServerRequest>() {\n\t\t\t\tpublic void handle(HttpServerRequest req) {\n\t\t\t\t String query_type = req.path();\t\t\n\t\t\t\t req.response().headers().set(\"Content-Type\", \"text/plain\");\n\t\t\t\t\n\t\t\t\t if(query_type.equals(\"/target\")){\n\t\t\t\t\t String key = req.params().get(\"targetID\");\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tprocessRequest(key,req);\n\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t else {\n\t\t\t\t\t String key = \"1\";\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tprocessRequestRange(key,req);\n\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t } \n\t\t\t}).listen(80);\n\t\t} else {\n\t\t\tSystem.out.println(\"Please make sure that both your DCI are up and running\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"private void initServer() throws IOException {\r\n \t\tLogger.logMessage(\"Binding Server to \" + this.serverIpAddress + \":\" + this.serverPort);\r\n \r\n \t\tthis.isAlive = true;\r\n \t\tthis.serverSocket = new ServerSocket(this.serverPort, this.backLog, this.serverIpAddress);\r\n \t\tthis.dataLayer = DataLayerFactory.getDataLayer();\r\n \r\n \t\t// Generate the grouplist\r\n \t\tCollection<String> dbGroupList = this.dataLayer.getGroups();\r\n \r\n \t\tfor (String group : dbGroupList) {\r\n \t\t\tthis.groupList.addGroup(group);\r\n \t\t}\r\n \r\n \t\tLogger.logMessage(\"Server successfuly bound!\");\r\n \t}",
"public void service_INIT(){\n }",
"private static void startServer(){\n try{\n MMServer server=new MMServer(50000);\n }catch (IOException ioe){\n System.exit(0);\n }\n \n }",
"@Override\n \tpublic void connectionOpened(NetHandler netClientHandler, MinecraftServer server, INetworkManager manager)\n \t{\n \t}",
"private RESTBackend()\n\t\t{\n\t\t\t\n\t\t}",
"public void run() {\n Runtime.getRuntime().addShutdownHook(new MNOSManagerShutdownHook(this));\n\n OFNiciraVendorExtensions.initialize();\n\n this.startDatabase();\n\n try {\n final ServerBootstrap switchServerBootStrap = this\n .createServerBootStrap();\n\n this.setServerBootStrapParams(switchServerBootStrap);\n\n switchServerBootStrap.setPipelineFactory(this.pfact);\n final InetSocketAddress sa = this.ofHost == null ? new InetSocketAddress(\n this.ofPort) : new InetSocketAddress(this.ofHost,\n this.ofPort);\n this.sg.add(switchServerBootStrap.bind(sa));\n }catch (final Exception e){\n throw new RuntimeException(e);\n }\n\n }",
"@Override\n\tpublic void listenerStarted(ConnectionListenerEvent evt) {\n\t\t\n\t}",
"@Override\n public void onFeedbackServerStopped() {\n }",
"@Override\r\n protected void onConnected() {\n \r\n }",
"private IdServer() {\n\t\t//System.out.println(\"Creating new instance of ID Server!\");\n\t\tclientIDCounter = 1;\n\t\tmemberIDCounter = 1;\n\t\tticketIdCounter = 1;\n\t}",
"@Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n super.channelActive(ctx);\n \n }",
"private void m10989Qx() {\n LbsManagerProxy.init(VivaBaseApplication.m8749FZ().getApplicationContext(), AppStateModel.getInstance().isInChina());\n LbsManagerProxy.setAutoStop(true);\n LbsManagerProxy.recordLocation(false, false);\n LbsManagerProxy.resetLocation();\n LbsManagerProxy.recordLocation(true, false);\n }",
"public void contextInitialized(ServletContextEvent event) {\n\t\t sessionid=new Date().getTime();\n\t\t BBSyncDB syncdb=BBSyncDB.getBBSyncDB();\n\t\t try{\t\t\t \n\t\t\t\tsyncdb.connectDB();\n\t\t\t\tsyncdb.peerStarted(P2PService.getComputerName(), P2PServletContextListener.sessionid, new Date());\n\t\t }catch(Exception e){\n\t\t\t e.printStackTrace();\n\t\t }finally{\n\t\t\t try{syncdb.closeDB();}catch(Exception e){}\n\t\t }\n\t\t\n\t\t\n\t\t \n\t}",
"public void startServer(View view) {\n Log.d(TAG, \"Server Starting........\");\n checkConnection();\n\n }",
"public SDARTS (int port, String lspName) throws Exception {\r\n System.out.println (\"Creating front end and initializing back ends\");\r\n System.out.println (\"--------------------------------------------\");\r\n init (port, lspName, new FrontEndLSP());\r\n }",
"@Override\n\tpublic void onModServerStopping2(FMLServerStoppingEvent aEvent) {\n\t}",
"private void setServerList() {\n ArrayList<ServerObjInfo> _serverList =\n ServerConfigurationUtils.getServerListFromFile(mContext, ExoConstants.EXO_SERVER_SETTING_FILE);\n ServerSettingHelper.getInstance().setServerInfoList(_serverList);\n\n int selectedServerIdx = Integer.parseInt(mSharedPreference.getString(ExoConstants.EXO_PRF_DOMAIN_INDEX, \"-1\"));\n mSetting.setDomainIndex(String.valueOf(selectedServerIdx));\n mSetting.setCurrentServer((selectedServerIdx == -1) ? null : _serverList.get(selectedServerIdx));\n }",
"@Override\n\tpublic void netErrorReLoad() {\n\t\t\n\t}",
"@Override\n\tpublic void netErrorReLoad() {\n\t\t\n\t}",
"protected void serverStarted()\n {\n System.out.println(\"Server listening for connections on port \" + getPort());\n }",
"@Override\n public void autonomousInit() {\n \n }",
"@Override\n public void Wsdl2CodeStartedRequest() {\n }",
"@Override\n protected void preClientStart() {\n client.registerListener(new BuddycloudLocationChannelListener(\n getContentResolver()\n ));\n client.registerListener(new BuddycloudChannelMetadataListener(\n getContentResolver()\n ));\n BCConnectionAtomListener atomListener = new BCConnectionAtomListener(\n getContentResolver(), this);\n registerListener(atomListener);\n }",
"@Override\r\n\tprotected void processInit() {\n\t\t\r\n\t}",
"protected void serverStarted()\r\n {\r\n System.out.println\r\n (\"Server listening for connections on port \" + getPort());\r\n }",
"@Override\r\n\tpublic void initial() {\n\t\ttry {\r\n\t\t\tserverSocket = new ServerSocket(port);\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t// System.out.println(\"LocalProxy run on \" + port);\r\n\t}",
"@Override\n public void beforeStart() {\n \n }"
] | [
"0.6476412",
"0.60886014",
"0.6087238",
"0.60532546",
"0.6051033",
"0.5981918",
"0.5931895",
"0.5916788",
"0.5830268",
"0.57785803",
"0.57722074",
"0.57662344",
"0.575993",
"0.5721978",
"0.57004404",
"0.56794226",
"0.567902",
"0.56531096",
"0.5651697",
"0.5635073",
"0.56224585",
"0.5597917",
"0.5569138",
"0.55638105",
"0.55619955",
"0.5559758",
"0.55468875",
"0.55133116",
"0.55026925",
"0.5501746",
"0.55007553",
"0.5480783",
"0.5474052",
"0.54713786",
"0.54663795",
"0.5456668",
"0.5437836",
"0.5436887",
"0.5434167",
"0.54338807",
"0.5421783",
"0.5421666",
"0.54213125",
"0.5416447",
"0.5413188",
"0.5411884",
"0.54106283",
"0.5409037",
"0.54050905",
"0.5402053",
"0.54005045",
"0.5395806",
"0.5387406",
"0.5384431",
"0.53815866",
"0.5370129",
"0.5367996",
"0.5367726",
"0.5367623",
"0.5367128",
"0.5365633",
"0.535883",
"0.5354651",
"0.53535265",
"0.53501076",
"0.53439337",
"0.53397727",
"0.5329861",
"0.5327736",
"0.532298",
"0.5318414",
"0.5317786",
"0.5314772",
"0.53110546",
"0.5308732",
"0.53051764",
"0.53008",
"0.5299572",
"0.5298193",
"0.52836615",
"0.5278638",
"0.52785534",
"0.5276926",
"0.527311",
"0.5272464",
"0.5264783",
"0.5264556",
"0.52573544",
"0.52527636",
"0.52511394",
"0.52494615",
"0.52478623",
"0.52478623",
"0.52452457",
"0.5242541",
"0.52322793",
"0.52318186",
"0.5229922",
"0.52271444",
"0.52269983",
"0.52227956"
] | 0.0 | -1 |
Get the DrawingAttributes that should be used for rendering. | protected DrawingAttributes getAttributesForRendering(DrawingAttributes da) {
if (da == null) {
return getRenderingAttributes();
} else {
return da;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ShapeAttributes getAttributes()\n {\n return this.normalAttrs;\n }",
"public ShapeAttributes getHighlightAttributes()\n {\n return highlightAttrs;\n }",
"protected StringBuffer getAttributes()\r\n\t{\r\n\t\t// Output buffer\r\n\t\tStringBuffer transformBuff\t= new StringBuffer();\r\n\t\t// The various transformation buffers.\r\n\t\tStringBuffer rotateBuff\t\t= new StringBuffer();\r\n\t\tStringBuffer translateBuff\t= new StringBuffer();\r\n\t\tStringBuffer scaleBuff \t\t= new StringBuffer();\r\n\r\n\t\t\r\n\t\t// now let's calculate our transformation information if any.\r\n\t\t////////////////// Rotate the object ////////////\r\n\t\t// you may want to play with this if it doesn't work\r\n\t\t// Transformation a followed by tranformation b is not the\r\n\t\t// same as transformation b followed by transformation a.\r\n\t\t// Page 65 SVG Essentials, J. David Eisenberg, O'Reilly Press.\r\n\t\tif (Rotation != 0.0)\r\n\t\t{\r\n\t\t\trotateBuff.append(\"rotate(\");\r\n\t\t\trotateBuff.append(Rotation + \" \");\r\n\t\t\t// Blocks are rotated around their insertion point.\r\n\t\t\trotateBuff.append(Anchor.toTransformCoordinate());\r\n\t\t\trotateBuff.append(\") \");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\r\n\t\t///////////////// Scale the object //////////////\r\n\t\tif ((xScale != 1.0) || (yScale != 1.0))\r\n\t\t{\r\n\t\t\tscaleBuff.append(\" scale(\"+xScale);\r\n\t\t\tif (xScale != yScale)\r\n\t\t\t\tscaleBuff.append(\",\"+yScale);\r\n\t\t\tscaleBuff.append(\")\");\r\n\t\t\t\r\n\t\t\t// Now we have to compensate for any scaling in the y axis \r\n\t\t\t// because Dxf scales objects from the lower left corner of\r\n\t\t\t// the drawing and SVG scales from the top left.\r\n\t\t\t//\r\n\t\t\t// This requires a little explanation as it took some time \r\n\t\t\t// to work out exactly what is going on between DXF and SVG.\r\n\t\t\t//\r\n\t\t\t// Blocks in AutoCAD have their own space. When you choose \r\n\t\t\t// an insertion point for a block you are telling the block\r\n\t\t\t// that it's new origin is the insert point, not the drawing's\r\n\t\t\t// origin.\r\n\t\t\t//\r\n\t\t\t// Dxf2Svg reads the blocks section of the DXF and interprets the\r\n\t\t\t// entities within a block literally and converts them into \r\n\t\t\t// XML entities with the insert point as their origin.\r\n\t\t\t// \r\n\t\t\t// Now DXF's drawing origin is in the bottom lefthand corner of the page.\r\n\t\t\t// SVG's origin is the top left hand corner. That means that all blocks \r\n\t\t\t// are drawn in reference to the lower left corner. We have already converted\r\n\t\t\t// the blocks entities to assume that the origin is SVG style (top left)\r\n\t\t\t// so when we try to specify an insert point in SVG, we have a problem. The\r\n\t\t\t// references are from different corners of the page.\r\n\t\t\t//\r\n\t\t\t// To compensate blocks have two points; an Anchor like all other graphic \r\n\t\t\t// objects and a Virtual DXF Coordinate (VDC). The VDC is basically\r\n\t\t\t// the x, and y values from the DXF file, converted to USR_UNITS.\r\n\t\t\t// That's all. It is not converted to SVG space. \r\n\t\t\t// \r\n\t\t\t// First you \r\n\t\t\t// must imagine that you are overlaying SVG space (0,0 top left) on top\r\n\t\t\t// of DXF space (0,0 bottom left). To get objects to appear in the same\r\n\t\t\t// location as they did in the DXF you must move that insertion point\r\n\t\t\t// up above the SVG y = 0 line (so y becomes negative in SVG).\r\n\t\t\t// This requires knowing the height of \r\n\t\t\t// the drawing which SvgUtil.java can provide. Once you know the height\r\n\t\t\t// you find out how subtract the anchor's y coordinate from the height\r\n\t\t\t// thus in effect you are flipping between the two drawing spaces.\r\n\t\t\t//\r\n\t\t\t// Inserting an object is easy now; just use the VDC as the anchor and \r\n\t\t\t// reference the block within a <g> tag. If you want to scale\r\n\t\t\t// that object, things get a little more complicated. The y\r\n\t\t\t// value is in the negative 'y' range of the SVG space. Any scaling of\r\n\t\t\t// that object will be in reference to that point.\r\n\t\t\t//\r\n\t\t\t// So to get the object to appear in it's original position we must move\r\n\t\t\t// it further up into negative y SVG space by the distance it would \r\n\t\t\t// have grown during transformation. I.e. if the object grew by 25% or\r\n\t\t\t// 1.25 in AutoCAD, and the object is 1 inch in height then the growth\r\n\t\t\t// through scaling is 1 * (1.25 -1) or 1 * 0.25 or 0.25 inches.\r\n\t\t\t//\r\n\t\t\t// Now we need to now the distance of the VDC from the SVG object's\r\n\t\t\t// origin. That should be the height of the drawing, but to be sure \r\n\t\t\t// add the absolute value of the distance from SVG y = 0 to the object's\r\n\t\t\t// origin in negative y SVG space, and add it to the distance from \r\n\t\t\t// SVG y = 0 to the VDC y coordinate. Now if you multiply that distance\r\n\t\t\t// by the above 0.25, and subtract that from the SVG origin point\r\n\t\t\t// in negative SVG y space you will have compensated for the shift of \r\n\t\t\t// due to scaling.\r\n\t\t\t//\r\n\t\t\t// We don't need to do anything with the x value because it is \r\n\t\t\t// just the VDC x value, which has a one-to-one relationship to\r\n\t\t\t// SVG space except that it is not in SVG space, but in DXF space.\r\n\t\t\t//\r\n\t\t\t// I'm sorry this would have benifited from a picture so perhaps you\r\n\t\t\t// should browse through the paper documentation as there is a diagram\r\n\t\t\t// that I used to formulate the algorithm.\r\n\t\t\t\r\n\t\t\t//double VDCx = virtualDxfPoint.getX();\r\n\t\t\tdouble VDCy = virtualDxfPoint.getY();\r\n\t\t\t//double Ax\t= Anchor.getX();\r\n\t\t\tdouble Ay\t= Anchor.getY();\r\n\t\t\t\r\n\t\t\t////////////////////////////////\r\n\t\t\t//VDCx = VDCx;\r\n\t\t\tVDCy = VDCy - ((Ay + Math.abs(VDCy))*(yScale -1));\r\n\t\t\t////////////////////////////////\r\n\r\n\t\t\t// We do not need to set the x value for this point. I don't know why.\r\n\t\t\t//virtualDxfPoint.setXUU(VDCx);\r\n\t\t\tvirtualDxfPoint.setYUU(VDCy);\r\n\t\t}\r\n\t\t\r\n\t\t// We do this last because we might have adjusted the virtualDxfPoint's y \r\n\t\t// value, but the transformation is best done after the rotation and it seems\r\n\t\t// before the scale. \r\n\t\ttranslateBuff.append(\"translate(\");\r\n\t\ttranslateBuff.append(virtualDxfPoint.toTransformCoordinate());\r\n\t\ttranslateBuff.append(\")\");\r\n\t\t\r\n\t\t\r\n\t\t// Put all three parts together now.\r\n\t\ttransformBuff.append(\" transform=\\\"\");\r\n\t\t// Can only do this with Java 1.4\r\n\t\t// The transformation ordering can be changed here.\r\n\t\ttransformBuff.append(rotateBuff);\r\n\t\ttransformBuff.append(translateBuff);\r\n\t\ttransformBuff.append(scaleBuff);\t// this may be an empty buffer.\r\n\t\t// closing quote on the transformation string.\r\n\t\ttransformBuff.append(\"\\\"\");\r\n\t\ttransformBuff.append(getAdditionalAttributes());\r\n\t\t\r\n\t\treturn transformBuff;\r\n\t}",
"public String getAttributes() {\n\t\treturn getProperty(\"attributes\");\n\t}",
"public Map<String, String> getAttributes() {\n\t\treturn atts;\n\t}",
"@Override\n\tpublic Attributes getAttributes() {\n\t\treturn (Attributes)map.get(ATTRIBUTES);\n\t}",
"public Map<String, Object> getAttributesMap() {\n\t\treturn this.staticAttributes;\n\t}",
"public Map<String, String> getAttributes() {\n return Collections.unmodifiableMap(attributes);\n }",
"Map<String, String> getAttributes();",
"@Override\r\n\tpublic Map<String, String> getAttributes() {\r\n\t\treturn this.attributes;\r\n\t}",
"public Map<String, String> getAttributes() {\n\t\treturn attributes;\n\t}",
"Map<String, Object> getAttributes();",
"Map<String, Object> getAttributes();",
"Map<String, Object> getAttributes();",
"public java.util.Collection getAttributes();",
"public Map<TextAttribute,?> getAttributes(){\n return (Map<TextAttribute,?>)getRequestedAttributes().clone();\n }",
"public Map<String, Object> getAttributes();",
"public Map<String, Object> getAttributes();",
"public Map<String, String> getAttributes();",
"public final native JsArray<Attribute> getAttributes() /*-{\n\t\t\treturn this.attributes;\n\t\t}-*/;",
"@Override\n\tpublic AttributeMap getAttributes() {\n\t\treturn defaultEdgle.getAttributes();\n\t}",
"@Override\r\n\tpublic Map<String, Object> getAttributes() {\n\t\treturn null;\r\n\t}",
"public List<Pair<String, String>> getAttributes() {\n\t\treturn attributes;\n\t}",
"public List<Attribute<?>> getAttributes() {\r\n\t\treturn Collections.unmodifiableList(attributes);\r\n\t}",
"public Map getAttributes() {\n Map common = channel.getAttributes();\n \n if(map == null) {\n map = new HashMap(common);\n }\n return map;\n }",
"Attributes getAttributes();",
"public final Map<String, DomAttr> getAttributesMap() {\n return attributes_;\n }",
"public AttributeSet getAttributes() {\n return null;\n }",
"public int getDrawingsColor(){\n return mPaintLine.getColor();\n }",
"public String getAttributes() {\n StringBuilder sb = new StringBuilder();\n\n // class\n if (!getClassAttribute().isEmpty()) {\n sb.append(\"class='\").append(getClassAttribute()).append(\"' \");\n }\n\n // data-*\n if (!getDataAttributes().isEmpty()) {\n sb.append(getDataAttributes()).append(\" \");\n }\n\n // hidden\n if (isHiddenAttribute()) {\n //sb.append(\"hidden \");\n addSpecialAttribute(\"hidden\");\n }\n\n // id\n if (!getIdAttribute().isEmpty()) {\n sb.append(\"id='\").append(getIdAttribute()).append(\"' \");\n }\n\n // style\n if (!getStyleAttribute().isEmpty()) {\n sb.append(\"style='\").append(getStyleAttribute()).append(\"' \");\n }\n\n // title\n if (!getTitleAttribute().isEmpty()) {\n sb.append(\"title='\").append(getTitleAttribute()).append(\"' \");\n }\n\n // custom\n if (!getCustomAttributes().isEmpty()) {\n sb.append(getCustomAttributes()).append(\" \");\n }\n \n // special\n if (!getSpecialAttribute().isEmpty()) {\n sb.append(getSpecialAttribute());\n }\n\n return sb.toString().trim();\n }",
"public Map<String, Set<String>> getAttributes() {\n return attributes;\n }",
"public List<Attribute> getAttributes() {\n return Collections.unmodifiableList(attributes);\n }",
"public java.lang.Integer getBgElementAttributes() {\r\n return bgElementAttributes;\r\n }",
"IAttributes getAttributes();",
"public Attribute[] getAttributes()\n {\n return _attrs;\n }",
"public Attributes getAttributes() { return this.attributes; }",
"public abstract Map<String, Object> getAttributes();",
"private Hashtable getRequestedAttributes() {\n\tif (fRequestedAttributes == null) {\n\t fRequestedAttributes = new Hashtable(7, (float)0.9);\n fRequestedAttributes.put(TextAttribute.TRANSFORM,\n\t\t\t\t IDENT_TX_ATTRIBUTE);\n fRequestedAttributes.put(TextAttribute.FAMILY, name);\n fRequestedAttributes.put(TextAttribute.SIZE, new Float(size));\n\t fRequestedAttributes.put(TextAttribute.WEIGHT,\n\t\t\t\t (style & BOLD) != 0 ? \n\t\t\t\t TextAttribute.WEIGHT_BOLD :\n\t\t\t\t TextAttribute.WEIGHT_REGULAR);\n\t fRequestedAttributes.put(TextAttribute.POSTURE,\n\t\t\t\t (style & ITALIC) != 0 ? \n\t\t\t\t TextAttribute.POSTURE_OBLIQUE :\n\t\t\t\t TextAttribute.POSTURE_REGULAR);\n fRequestedAttributes.put(TextAttribute.SUPERSCRIPT,\n new Integer(superscript));\n fRequestedAttributes.put(TextAttribute.WIDTH,\n new Float(width));\n\t}\n\treturn fRequestedAttributes;\n }",
"public WSLAttributeList getAttributes() {return attributes;}",
"public final String[] getAttributes() {\n return this.attributes;\n }",
"public String getAttributes() {\n return attributes;\n }",
"public String getAttributes() {\n return attributes;\n }",
"public abstract Map getAttributes();",
"@Override\n public List<MappedField<?>> getAttributes() {\n return attributes;\n }",
"public Attributes getAttributes() {\n\t\treturn null;\r\n\t}",
"public Object[] getAttributes() {\n\t\treturn new Object[] {true}; //true for re-init... \n\t}",
"public DrawingModel getDrawingModel() {\r\n\t\treturn drawingModel;\r\n\t}",
"public FaceAttributes faceAttributes() {\n return this.faceAttributes;\n }",
"public String[] getRelevantAttributes();",
"protected void determineActiveAttributes()\n {\n if (this.isHighlighted())\n {\n if (this.getHighlightAttributes() != null)\n this.activeAttributes.copy(this.getHighlightAttributes());\n else\n {\n // If no highlight attributes have been specified we need to use the normal attributes but adjust them\n // to cause highlighting.\n if (this.getAttributes() != null)\n this.activeAttributes.copy(this.getAttributes());\n else\n this.activeAttributes.copy(defaultAttributes);\n\n this.activeAttributes.setOutlineMaterial(DEFAULT_HIGHLIGHT_MATERIAL);\n this.activeAttributes.setInteriorMaterial(DEFAULT_HIGHLIGHT_MATERIAL);\n }\n }\n else if (this.getAttributes() != null)\n {\n this.activeAttributes.copy(this.getAttributes());\n }\n else\n {\n this.activeAttributes.copy(defaultAttributes);\n }\n }",
"BidiMap<String, DictionarySimpleAttribute> getUnmodifiableAttributes() {\n\t\treturn UnmodifiableBidiMap.unmodifiableBidiMap(this.attributes);\n\t}",
"public Attribute[] getAvailableAttributes(){\n Attribute attributes[] = {\n TextAttribute.FAMILY,\n TextAttribute.WEIGHT,\n TextAttribute.POSTURE,\n TextAttribute.SIZE,\n\t TextAttribute.TRANSFORM,\n TextAttribute.SUPERSCRIPT,\n TextAttribute.WIDTH,\n };\n\n return attributes;\n }",
"public List<Attribute> getAttributes() {\r\n return attributes;\r\n }",
"static synchronized List<Drawing> getAllDrawings() {\r\n return new ArrayList(drawings.values());\r\n }",
"private ArrayList<Attribute> getAttributes() {\n\t\tif (attributes != null && attributes instanceof ArrayList)\n\t\t\treturn ((ArrayList<Attribute>) attributes);\n\t\telse {\n\t\t\tArrayList<Attribute> tmp = new ArrayList<Attribute>();\n\t\t\tif (attributes != null)\n\t\t\t\ttmp.addAll(attributes);\n\t\t\tattributes = tmp;\n\t\t\treturn tmp;\n\t\t}\n\t}",
"@Override\n\tpublic AttributeSet getAttributes() {\n\t\treturn null;\n\t}",
"public final String getAttributesString() {\n String returnAttributes = \"\";\n boolean debut = true;\n for (int i = 0; i < this.attributes.length; i++) {\n if (debut) {\n debut = false;\n } else {\n returnAttributes += \"|\";\n }\n returnAttributes += this.attributes[i];\n }\n return returnAttributes;\n }",
"java.util.Map<java.lang.String, java.lang.String> getAttributesMap();",
"public java.util.List<DBSnapshotAttribute> getDBSnapshotAttributes() {\n if (dBSnapshotAttributes == null) {\n dBSnapshotAttributes = new com.amazonaws.internal.SdkInternalList<DBSnapshotAttribute>();\n }\n return dBSnapshotAttributes;\n }",
"public List<GenericAttribute> getAttributes() {\n return attributes;\n }",
"public FileAttributes getFileAttributes() {\n\t\tFileAttributes attributes = new FileAttributes();\n\t\tFormatter formatter = new Formatter();\n\t\tfor (short deviceID : deviceList) {\n\t\t\tformatter.format(\"0x%02X \", deviceID);\n\t\t}\n\n\t\tattributes.add(\"Supported Device IDs\", formatter.toString());\n\t\treturn attributes;\n\t}",
"protected Map<String, String> getElementAttributes() {\n // Preserve order of attributes\n Map<String, String> attrs = new HashMap<>();\n\n if (this.getName() != null) {\n attrs.put(\"name\", this.getName());\n }\n if (this.getValue() != null) {\n attrs.put(\"value\", this.getValue());\n }\n\n return attrs;\n }",
"Map getPassThroughAttributes();",
"public Attributes getContextAttributes() {\r\n return this.atts;\r\n }",
"public GraphicsObject[] getDrawBuffer() {\n return drawBuffer.toArray(new GraphicsObject[0]);\n }",
"public List<TLAttribute> getAttributes();",
"public java.lang.Integer getAttributes() {\r\n return attributes;\r\n }",
"public Drawing drawing() {\n return fDrawing;\n }",
"public HashSet<String> getUsefulAttributes() {\n\t\t \n\t\tHashSet<String> attr = new HashSet<>();\n\t\tQuery firstQ = this.rset.get(1); // get first query on rewriting set 'rset'.\n\t\t\n\t\tGrouping gPart = firstQ.getQueryTriple()._1();\n\t attr.addAll(gPart.getUsefulAttributes());\n\t \n\t Measuring mPart = firstQ.getQueryTriple()._2();\n\t attr.addAll(mPart.getMeasuringAttributes());\n\t \n\t\treturn attr;\n\t}",
"public Vector<HibernateAttribute> getAttributes() {\n\t\treturn attributes;\n\t}",
"protected void determineActiveAttributes()\n {\n // Reset symbol attributes to default before applying overrides.\n this.activeSymbolAttributes.copy(defaultSymbolAttributes);\n\n if (this.isHighlighted())\n {\n TacticalGraphicAttributes highlightAttributes = this.getHighlightAttributes();\n\n // If the application specified overrides to the highlight attributes, then apply the overrides\n if (highlightAttributes != null)\n {\n // Apply overrides specified by application\n this.applyAttributesToSymbol(highlightAttributes, this.activeSymbolAttributes);\n }\n }\n else\n {\n // Apply overrides specified by application\n TacticalGraphicAttributes normalAttributes = this.getAttributes();\n if (normalAttributes != null)\n {\n this.applyAttributesToSymbol(normalAttributes, this.activeSymbolAttributes);\n }\n }\n }",
"private Attributes getAttributes()\r\n\t{\r\n\t return attributes;\r\n\t}",
"Map getGenAttributes();",
"public @NonNull PrintAttributes getDefaults() {\n PrintAttributes.Builder builder = new PrintAttributes.Builder();\n\n builder.setMinMargins(mMinMargins);\n\n final int mediaSizeIndex = mDefaults[PROPERTY_MEDIA_SIZE];\n if (mediaSizeIndex >= 0) {\n builder.setMediaSize(mMediaSizes.get(mediaSizeIndex));\n }\n\n final int resolutionIndex = mDefaults[PROPERTY_RESOLUTION];\n if (resolutionIndex >= 0) {\n builder.setResolution(mResolutions.get(resolutionIndex));\n }\n\n final int colorMode = mDefaults[PROPERTY_COLOR_MODE];\n if (colorMode > 0) {\n builder.setColorMode(colorMode);\n }\n\n final int duplexMode = mDefaults[PROPERTY_DUPLEX_MODE];\n if (duplexMode > 0) {\n builder.setDuplexMode(duplexMode);\n }\n\n return builder.build();\n }",
"private byte attributes() {\n return (byte) buffer.getShort(ATTRIBUTES_OFFSET);\n }",
"public Map<String, Object> getAttrs();",
"BalloonAttributes getAttributes();",
"public FactAttributes getAttributes() {\r\n return localAttributes;\r\n }",
"public Enumeration getAttributes()\n {\n ensureLoaded();\n return m_tblAttribute.elements();\n }",
"@Nullable\n public Map<String, Object> getCustomAttributes() {\n return mCustomAttributes;\n }",
"public final int getAttributes() {\n\t\treturn m_info.getFileAttributes();\n\t}",
"public java.util.List<google.maps.fleetengine.v1.VehicleAttribute> getAttributesList() {\n if (attributesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(attributes_);\n } else {\n return attributesBuilder_.getMessageList();\n }\n }",
"Map<String, ?> getFlashAttributes();",
"List<Attribute<T, ?>> getAttributes();",
"public Set<String> getAttributes() {\r\n return attributeMap.keySet();\r\n }",
"public Color getDrawColor() {\n\t\treturn drawColor;\n\t}",
"public TableAttributes getAttributes() {\n\treturn attrs;\n }",
"public trinsic.services.common.v1.CommonOuterClass.JsonPayload getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }",
"protected Drawing createDrawing() {\n return new StandardDrawing();\n }",
"@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getAttributes() {\n return attributes_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : attributes_;\n }",
"public Vector getAttributes(boolean create) {\n\treturn attributeFields;\n }",
"private String getStyleAttribute() {\n StringBuilder sb = new StringBuilder();\n\n styleAttribute.forEach((key, value) -> {\n sb.append(key).append(\":\").append(value).append(\";\");\n });\n\n return sb.toString();\n }",
"java.util.List<tendermint.abci.EventAttribute> \n getAttributesList();",
"@Override\n public ArrayList<SCANAttributesXML> getAttributes() {\n return mesoCfgXML.getAttributesData();\n }",
"@java.lang.Override\n public java.util.List<google.maps.fleetengine.v1.VehicleAttribute> getAttributesList() {\n return attributes_;\n }",
"public java.util.List<DocumentAttribute> getDocumentAttributes() {\n return documentAttributes;\n }",
"public String printAttributes() {\n checkNotUnknown();\n StringBuilder b = new StringBuilder();\n if (hasDontDelete()) {\n b.append(\"(DontDelete\");\n if (isMaybeDontDelete())\n b.append(\"+\");\n if (isMaybeNotDontDelete())\n b.append(\"-\");\n b.append(\")\");\n }\n if (hasDontEnum()) {\n b.append(\"(DontEnum\");\n if (isMaybeDontEnum())\n b.append(\"+\");\n if (isMaybeNotDontEnum())\n b.append(\"-\");\n b.append(\")\");\n }\n if (hasReadOnly()) {\n b.append(\"(ReadOnly\");\n if (isMaybeReadOnly())\n b.append(\"+\");\n if (isMaybeNotReadOnly())\n b.append(\"-\");\n b.append(\")\");\n }\n return b.toString();\n }",
"public ConnectionAttributes getAttributes() {\n \treturn new ConnectionAttributes(strDbName , strUser, strPasswd, strCharSet, iLoginTimeout);\n }",
"public ConcurrentHashMap<String, Attribute> getAttributes() {\n\t\treturn list;\n\t}",
"public String[] getAllAttributes() {\n\t\treturn allAttributes;\n\t}"
] | [
"0.6537656",
"0.62213856",
"0.61039543",
"0.5945614",
"0.59247226",
"0.5910911",
"0.590856",
"0.59071094",
"0.5880684",
"0.5875478",
"0.58598757",
"0.5842336",
"0.5842336",
"0.5842336",
"0.582965",
"0.5826638",
"0.58150136",
"0.58150136",
"0.57904094",
"0.5785964",
"0.5731005",
"0.57256573",
"0.57108295",
"0.570432",
"0.5697216",
"0.56815904",
"0.5677027",
"0.5674718",
"0.5672984",
"0.5661481",
"0.56574756",
"0.5626738",
"0.5619954",
"0.56167364",
"0.5601926",
"0.5601801",
"0.5601274",
"0.55886644",
"0.55773425",
"0.55616623",
"0.5551382",
"0.5551382",
"0.55206656",
"0.551226",
"0.5500177",
"0.5498706",
"0.54754514",
"0.547387",
"0.5473098",
"0.54501575",
"0.54485315",
"0.5446211",
"0.543894",
"0.5438195",
"0.5397439",
"0.53967786",
"0.53840095",
"0.5379807",
"0.53646374",
"0.53642213",
"0.536062",
"0.53575087",
"0.53386784",
"0.532881",
"0.5325153",
"0.53243107",
"0.5300315",
"0.5298877",
"0.5283807",
"0.52525693",
"0.52490103",
"0.5239781",
"0.5235789",
"0.52340686",
"0.52236694",
"0.5220916",
"0.5215067",
"0.5202609",
"0.52015764",
"0.5191605",
"0.51879036",
"0.5186449",
"0.51608884",
"0.5156572",
"0.51463765",
"0.513198",
"0.5123822",
"0.51184916",
"0.50999177",
"0.5089513",
"0.50861657",
"0.5075463",
"0.50639224",
"0.5063481",
"0.5062171",
"0.50604045",
"0.5055888",
"0.5053551",
"0.5037391",
"0.5031645"
] | 0.70014817 | 0 |
A representation of the model object 'Ifc Annotation Surface Occurrence'. | public interface IfcAnnotationSurfaceOccurrence extends IfcAnnotationOccurrence {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface IfcStyleModel extends IfcRepresentation {\n}",
"public String toString()\r\n {\r\n\treturn \"HSIImage-object:\" +\r\n\t \"\\n\\tWidth: \" + getWidth() +\r\n\t \"\\n\\tHeight: \" + getHeight();\r\n }",
"OurIfcElementType createOurIfcElementType();",
"public String getRepresentation() {\n\t\treturn representation;\n\t}",
"public String getRepresentation();",
"public java.util.List<BoundCodeDt<PropertyRepresentationEnum>> getRepresentation() { \n\t\tif (myRepresentation == null) {\n\t\t\tmyRepresentation = new java.util.ArrayList<BoundCodeDt<PropertyRepresentationEnum>>();\n\t\t}\n\t\treturn myRepresentation;\n\t}",
"@Override\n public String toString() {\n return \"\" + this.getAppearance();\n }",
"protected void createOCCIE2EcoreAnnotations() {\n\t\tString source = \"OCCIE2Ecore\";\t\n\t\taddAnnotation\n\t\t (ldprojectEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", \"LDProject\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject__Publish(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject__Unpublish(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject__Update(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject_Lifecycle(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdproject_Robustness(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (lddatabaselinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", \"LDDatabaseLink\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLddatabaselink_Database(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLddatabaselink_Port(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (ldprojectlinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (ldnodeEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"title\", \"LDNode\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdnode_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdnode_MongoHosts(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdnode_MainProject(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\t\n\t\taddAnnotation\n\t\t (getLdnode_AnalyticsReadPreference(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", null\n\t\t });\n\t}",
"@DISPID(1611005996) //= 0x6006002c. The runtime will prefer the VTID if present\n @VTID(71)\n CatPartSurfaceElementsLocation surfaceElementsLocation();",
"@Override\r\n public String toString() {\r\n return this.objectName + \"{Name: \" + this.getName() + \", index: \" + this.getIndexList() + \", Measured m/z: \" + this.getMeasureValues() + \", Intensities: \" + this.getItensityValues() + \"}\";\r\n }",
"public String toString() {\n/* 96 */ return \"Outline (Zigzag)\";\n/* */ }",
"OurIfcElement createOurIfcElement();",
"public int get_surface_type() {\n return surface_type;\n }",
"@Override\n\tpublic String toString() {\n\t\treturn this.getStringEventId()+\"-\"+this.getOccurrenceMark();\n\t}",
"@Override\n\tpublic String toString() {\n\t\tString str = \"ForecastCatalog\\n\"\n\t\t\t+ \"\\teqk_count: \" + eqk_count + \"\\n\"\n\t\t\t+ \"\\tlat_lon_depth_list: \" + ((lat_lon_depth_list == null) ? (\"null\") : (\"len=\" + lat_lon_depth_list.length)) + \"\\n\"\n\t\t\t+ \"\\tmag_time_list: \" + ((mag_time_list == null) ? (\"null\") : (\"len=\" + mag_time_list.length)) + \"\\n\";\n\t\treturn str;\n\t}",
"@Override\n\tpublic String toString() {\n\t\tString str = \"ForecastCatalog\\n\"\n\t\t\t+ \"\\teqk_count: \" + eqk_count + \"\\n\"\n\t\t\t+ \"\\tlat_lon_depth_list: \" + ((lat_lon_depth_list == null) ? (\"null\") : (\"len=\" + lat_lon_depth_list.length)) + \"\\n\"\n\t\t\t+ \"\\tmag_time_list: \" + ((mag_time_list == null) ? (\"null\") : (\"len=\" + mag_time_list.length)) + \"\\n\";\n\t\treturn str;\n\t}",
"org.landxml.schema.landXML11.SurfaceNameRefs xgetSurfaceRefs();",
"OurIfcRelDefinesByType createOurIfcRelDefinesByType();",
"public DrawingComponent getAnnotation()\n\t{\n\t\treturn this.annotation;\n\t}",
"IfcColourSpecification getIfcColourSpecification();",
"public void testGetEAnnotationsDetails() {\r\n\t\t// any model element should do\r\n\t\tEModelElement modelElement = new Emf().getEcorePackage();\r\n\t\tEAnnotation eAnnotation = _emfAnnotations.annotationOf(modelElement, \"http://rcpviewer.berlios.de/test/source\");\r\n\t\tMap<String,String> details = new HashMap<String,String>();\r\n\t\tdetails.put(\"foo\", \"bar\");\r\n\t\tdetails.put(\"baz\", \"boz\");\r\n\t\t_emfAnnotations.putAnnotationDetails(eAnnotation, details);\r\n\t\t\r\n\t\tMap<String,String> retrievedDetails = _emfAnnotations.getAnnotationDetails(eAnnotation);\r\n\t\tassertEquals(2, retrievedDetails.size());\r\n\t\tassertEquals(\"bar\", retrievedDetails.get(\"foo\"));\r\n\t\tassertEquals(\"boz\", retrievedDetails.get(\"baz\"));\r\n\t}",
"@Override\r\n\tpublic String toString() {\r\n\r\n\t\treturn \"My rectangle's Areas is \"+area();\r\n\t}",
"protected void createAspectAnnotations() {\n\t\tString source = \"aspect\";\t\n\t\taddAnnotation\n\t\t (partEClass.getEOperations().get(0), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (partEClass.getEOperations().get(1), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (partEClass.getEOperations().get(2), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (partEClass.getEOperations().get(3), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_Value(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_MaxValue(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_MinValue(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_CurrentMass(), \n\t\t source, \n\t\t new String[] {\n\t\t });\n\t}",
"ArtefactModel getArtefactModel();",
"public Surface getSurface() {\n \t\treturn surface;\n \t}",
"@Override\n public String toString() {\n return this.area + \"/\" + this.aisle + \"/\" + this.x + \"/\" + this.y + \"/\" + this.z;\n }",
"public abstract ArrayList<DrawingComponent> getAnnotationList();",
"public IfcShapeAspect getShapeAspectStyle()\n\t{\n\t\treturn this.ShapeAspectStyle;\n\t}",
"public String toString() {\n\t\treturn \"Face: \" + faceValue;\n\t}",
"public String annotation() {\n return this.innerProperties() == null ? null : this.innerProperties().annotation();\n }",
"public ArrayList<Drawable> getConstantDisplay(){return this.toDisplay;}",
"public IRClass getDefnObject()\n throws OculusException;",
"public interface IfcFaceOuterBound extends IfcFaceBound {\n}",
"public String toString() {\n\t\t\treturn shape;\n\t\t}",
"@Override\r\n\tpublic String getModel_cmv_cal_ind() {\n\t\treturn super.getModel_cmv_cal_ind();\r\n\t}",
"@Override\n public String toString() {\n return StringUtilities.joinNonEmpty(\" \", describeZDimension(), describeChannels())\n .orElseThrow(AnchorImpossibleSituationException::new);\n }",
"public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Graphic getGraphic() {\r\n return graphic;\r\n }",
"public XSObjectList getAnnotations() {\n\treturn (fAnnotations != null) ? fAnnotations : XSObjectListImpl.EMPTY_LIST;\n }",
"@Override\r\n\tpublic String toString() {\n\t\tStringBuffer buf = new StringBuffer();\r\n\t\tbuf.append(\"APOCALYPSE : \").append(this.capaciteDesc).append(\"\\n Origine : \").append(this.origine);\r\n\t\tbuf.append(\" \" +capacite);\r\n\t\treturn buf.toString();\r\n\t}",
"IfcPreDefinedColour getIfcPreDefinedColour();",
"public double getSurfaceArea() {\n\n return surfaceArea;\n }",
"protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\t\n\t\taddAnnotation\n\t\t (controlEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"control\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Midi(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"midi\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Background(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"background\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Centered(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"centered\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Color(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"color\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_H(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"h\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Inverted(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_LocalOff(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"local_off\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Number(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_OscCs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"osc_cs\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Outline(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"outline\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Response(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"response\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalef\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalet(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalet\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Seconds(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"seconds\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Size(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"size\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Text(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"text\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_W(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"w\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_X(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Y(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (layoutEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"layout\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Tabpage(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"tabpage\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Mode(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"mode\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Orientation(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"orientation\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Version(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"version\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (midiEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"midi\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Channel(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"channel\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data1(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data1\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2f(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2f\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2t(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2t\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Var(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"var\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (tabpageEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"tabpage\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Control(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"control\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (topEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"TOP\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTOP_Layout(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"layout\"\n\t\t });\n\t}",
"public String getFeatVect();",
"@UML(identifier=\"facsimile\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getFacsimiles();",
"EAttributeDefinition getAttribute();",
"@Override\n\tpublic String toString() {\n\t\treturn \"Cube(\" + this.nom + \")@(\" + this.centre.getX() + \", \" + this.centre.getY() + \", \" + this.centre.getZ() + \") ar�te : \"+this.arete;\n\t}",
"interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectModelImpl <em>Object Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectModelImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObjectModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT_MODEL = eINSTANCE.getObjectModel();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__OBJECTS = eINSTANCE.getObjectModel_Objects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Links</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__LINKS = eINSTANCE.getObjectModel_Links();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectImpl <em>Object</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT = eINSTANCE.getObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__NAME = eINSTANCE.getObject_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__IDENTITY = eINSTANCE.getObject_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__CLASS_NAME = eINSTANCE.getObject_ClassName();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__ATTRIBUTES = eINSTANCE.getObject_Attributes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__OPERATIONS = eINSTANCE.getObject_Operations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.AttributeImpl <em>Attribute</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.AttributeImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getAttribute()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__TEXT = eINSTANCE.getAttribute_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value Type</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE_TYPE = eINSTANCE.getAttribute_ValueType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.OperationImpl <em>Operation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.OperationImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getOperation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OPERATION = eINSTANCE.getOperation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__TEXT = eINSTANCE.getOperation_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__NAME = eINSTANCE.getOperation_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.LinkImpl <em>Link</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.LinkImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getLink()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass LINK = eINSTANCE.getLink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute LINK__IDENTITY = eINSTANCE.getLink_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>From Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__FROM_OBJECT = eINSTANCE.getLink_FromObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>To Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__TO_OBJECT = eINSTANCE.getLink_ToObject();\r\n\r\n\t}",
"@Override\n public String toString() {\n StringBuilder buff = new StringBuilder();\n\n buff.append(this.getClass().getSimpleName()).append(\": \");\n buff.append(\" ics:\");\n buff.append(this.initialCaseSignificantProperty.get());\n buff.append(\" lang:\");\n buff.append(\"'\").append(this.languageProperty.get()).append(\"'\");\n buff.append(\" text:\");\n buff.append(\"'\").append(this.textProperty.get()).append(\"'\");\n buff.append(super.toString());\n\n return buff.toString();\n }",
"@Override\n public String toString() {\n return \"code: \" + this.paintCode + \"secCode: \" + this.secCode + \", image: \" + this.image;\n }",
"public C1818w mo7074m() {\n return C1818w.ABSTRACT;\n }",
"@Override\n\tpublic String toString() {\n\t\tif (this.imag == 0) {\n\t\t\tif (this.reell == 0) {\n\t\t\t\treturn \"\" + 0;\n\t\t\t} else {\n\t\t\t\treturn \"\" + reell;\n\t\t\t}\n\t\t} else {\n\t\t\tif (this.reell == 0) {\n\t\t\t\tif (this.imag > 0) {\n\t\t\t\t\treturn \"+\" + imag + \"i\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"-\" + imag * (-1) + \"i\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (this.imag > 0) {\n\t\t\treturn \"\" + reell + \" + i*\" + imag;\n\t\t} else {\n\t\t\treturn \"\" + reell + \" -\" + imag * (-1) + \"i\";\n\t\t}\n\t}",
"@Override\n public String toString() {\n return (\"[\"+ this.getStatusIcon()+ \"] \"\n + this.description );\n }",
"@Override\n public Enumeration<String> enumerateMeasures() {\n\n Vector<String> newVector = new Vector<String>(3);\n newVector.addElement(\"measureNumRules\");\n newVector.addElement(\"measureNumPositiveRules\");\n newVector.addElement(\"measureNumConditionsInPositiveRules\");\n return newVector.elements();\n }",
"DimensionInner innerModel();",
"public interface C2277a {\n String getNameType();\n\n @DrawableRes\n int getStatusIcon();\n\n @Nullable\n String getTagName();\n}",
"public interface C2007e {\n C3224j getData();\n\n float getMaxHighlightDistance();\n\n int getMaxVisibleCount();\n\n float getYChartMax();\n\n float getYChartMin();\n}",
"@Override\n public String toString() {\n String typeIcon = getTypeIcon();\n String statusIcon = getStatusIcon();\n return typeIcon\n + \" \"\n + statusIcon\n + this.description\n + \" (at:\"\n + this.timeframe\n + \")\";\n }",
"@Override\n public String toString() {\n StringBuffer buf = new StringBuffer();\n buf.append(\"Vibrational: \");\n buf.append(elementName);\n buf.append(\"(\");\n buf.append(structureName);\n buf.append(\", \");\n buf.append(frequency);\n buf.append(\", \");\n buf.append(symmetry);\n buf.append(\")\");\n return buf.toString();\n }",
"public List<? extends IFlexoOntologyFeatureAssociation<TA>> getStructuralFeatureAssociations();",
"public interface cdfgPackage extends EPackage {\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"cdfg\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http://www.ifrn.edu.br/cdfg/1.0\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"cdfg\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tcdfgPackage eINSTANCE = cdfg.cdfg.impl.cdfgPackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.AnnotableImpl <em>Annotable</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.AnnotableImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotable()\n\t * @generated\n\t */\n\tint ANNOTABLE = 18;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTABLE__ANNOTATIONS = 0;\n\n\t/**\n\t * The number of structural features of the '<em>Annotable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTABLE_FEATURE_COUNT = 1;\n\n\t/**\n\t * The number of operations of the '<em>Annotable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTABLE_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.CFGImpl <em>CFG</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.CFGImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getCFG()\n\t * @generated\n\t */\n\tint CFG = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG__ANNOTATIONS = ANNOTABLE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>Nodes</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG__NODES = ANNOTABLE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Start</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG__START = ANNOTABLE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Arcs</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG__ARCS = ANNOTABLE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of structural features of the '<em>CFG</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG_FEATURE_COUNT = ANNOTABLE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The number of operations of the '<em>CFG</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint CFG_OPERATION_COUNT = ANNOTABLE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.DFGImpl <em>DFG</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.DFGImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFG()\n\t * @generated\n\t */\n\tint DFG = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__ANNOTATIONS = ANNOTABLE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' containment reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__SOURCE = ANNOTABLE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Sink</b></em>' containment reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__SINK = ANNOTABLE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Nodes</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__NODES = ANNOTABLE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Arcs</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__ARCS = ANNOTABLE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__FROM = ANNOTABLE_FEATURE_COUNT + 4;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG__TO = ANNOTABLE_FEATURE_COUNT + 5;\n\n\t/**\n\t * The number of structural features of the '<em>DFG</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_FEATURE_COUNT = ANNOTABLE_FEATURE_COUNT + 6;\n\n\t/**\n\t * The number of operations of the '<em>DFG</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_OPERATION_COUNT = ANNOTABLE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.DFGNodeImpl <em>DFG Node</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.DFGNodeImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGNode()\n\t * @generated\n\t */\n\tint DFG_NODE = 6;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_NODE__ANNOTATIONS = ANNOTABLE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_NODE__TO = ANNOTABLE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_NODE__FROM = ANNOTABLE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of structural features of the '<em>DFG Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_NODE_FEATURE_COUNT = ANNOTABLE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of operations of the '<em>DFG Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_NODE_OPERATION_COUNT = ANNOTABLE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.OperationNodeImpl <em>Operation Node</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.OperationNodeImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOperationNode()\n\t * @generated\n\t */\n\tint OPERATION_NODE = 2;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__ANNOTATIONS = DFG_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__TO = DFG_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__FROM = DFG_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Precedes</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__PRECEDES = DFG_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Succeeds</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__SUCCEEDS = DFG_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Function</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE__FUNCTION = DFG_NODE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of structural features of the '<em>Operation Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE_FEATURE_COUNT = DFG_NODE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The number of operations of the '<em>Operation Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint OPERATION_NODE_OPERATION_COUNT = DFG_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.DFGArcImpl <em>DFG Arc</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.DFGArcImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGArc()\n\t * @generated\n\t */\n\tint DFG_ARC = 3;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_ARC__ANNOTATIONS = ANNOTABLE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_ARC__SOURCE = ANNOTABLE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_ARC__TARGET = ANNOTABLE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of structural features of the '<em>DFG Arc</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_ARC_FEATURE_COUNT = ANNOTABLE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of operations of the '<em>DFG Arc</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DFG_ARC_OPERATION_COUNT = ANNOTABLE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.SourceImpl <em>Source</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.SourceImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSource()\n\t * @generated\n\t */\n\tint SOURCE = 4;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SOURCE__ANNOTATIONS = DFG_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SOURCE__TO = DFG_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SOURCE__FROM = DFG_NODE__FROM;\n\n\t/**\n\t * The number of structural features of the '<em>Source</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SOURCE_FEATURE_COUNT = DFG_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Source</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SOURCE_OPERATION_COUNT = DFG_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.SinkImpl <em>Sink</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.SinkImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSink()\n\t * @generated\n\t */\n\tint SINK = 5;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SINK__ANNOTATIONS = DFG_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SINK__TO = DFG_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SINK__FROM = DFG_NODE__FROM;\n\n\t/**\n\t * The number of structural features of the '<em>Sink</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SINK_FEATURE_COUNT = DFG_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Sink</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SINK_OPERATION_COUNT = DFG_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.ComputingImpl <em>Computing</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.ComputingImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getComputing()\n\t * @generated\n\t */\n\tint COMPUTING = 7;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__ANNOTATIONS = OPERATION_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__TO = OPERATION_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__FROM = OPERATION_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Precedes</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__PRECEDES = OPERATION_NODE__PRECEDES;\n\n\t/**\n\t * The feature id for the '<em><b>Succeeds</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__SUCCEEDS = OPERATION_NODE__SUCCEEDS;\n\n\t/**\n\t * The feature id for the '<em><b>Function</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING__FUNCTION = OPERATION_NODE__FUNCTION;\n\n\t/**\n\t * The number of structural features of the '<em>Computing</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING_FEATURE_COUNT = OPERATION_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Computing</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint COMPUTING_OPERATION_COUNT = OPERATION_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.LoadImpl <em>Load</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.LoadImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getLoad()\n\t * @generated\n\t */\n\tint LOAD = 8;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__ANNOTATIONS = OPERATION_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__TO = OPERATION_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__FROM = OPERATION_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Precedes</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__PRECEDES = OPERATION_NODE__PRECEDES;\n\n\t/**\n\t * The feature id for the '<em><b>Succeeds</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__SUCCEEDS = OPERATION_NODE__SUCCEEDS;\n\n\t/**\n\t * The feature id for the '<em><b>Function</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD__FUNCTION = OPERATION_NODE__FUNCTION;\n\n\t/**\n\t * The number of structural features of the '<em>Load</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD_FEATURE_COUNT = OPERATION_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Load</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint LOAD_OPERATION_COUNT = OPERATION_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.StoreImpl <em>Store</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.StoreImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStore()\n\t * @generated\n\t */\n\tint STORE = 9;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__ANNOTATIONS = OPERATION_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__TO = OPERATION_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__FROM = OPERATION_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Precedes</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__PRECEDES = OPERATION_NODE__PRECEDES;\n\n\t/**\n\t * The feature id for the '<em><b>Succeeds</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__SUCCEEDS = OPERATION_NODE__SUCCEEDS;\n\n\t/**\n\t * The feature id for the '<em><b>Function</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE__FUNCTION = OPERATION_NODE__FUNCTION;\n\n\t/**\n\t * The number of structural features of the '<em>Store</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE_FEATURE_COUNT = OPERATION_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Store</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint STORE_OPERATION_COUNT = OPERATION_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.JumpImpl <em>Jump</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.JumpImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getJump()\n\t * @generated\n\t */\n\tint JUMP = 10;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP__ANNOTATIONS = ANNOTABLE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>Source</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP__SOURCE = ANNOTABLE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Target</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP__TARGET = ANNOTABLE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Branch Condition</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP__BRANCH_CONDITION = ANNOTABLE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Condition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP__CONDITION = ANNOTABLE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The number of structural features of the '<em>Jump</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP_FEATURE_COUNT = ANNOTABLE_FEATURE_COUNT + 4;\n\n\t/**\n\t * The number of operations of the '<em>Jump</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint JUMP_OPERATION_COUNT = ANNOTABLE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.DataNodeImpl <em>Data Node</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.DataNodeImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDataNode()\n\t * @generated\n\t */\n\tint DATA_NODE = 11;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__ANNOTATIONS = DFG_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__TO = DFG_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__FROM = DFG_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Definition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__DEFINITION = DFG_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Used</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__USED = DFG_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Constant</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__CONSTANT = DFG_NODE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Number Of Bits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__NUMBER_OF_BITS = DFG_NODE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE__VALUE = DFG_NODE_FEATURE_COUNT + 4;\n\n\t/**\n\t * The number of structural features of the '<em>Data Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE_FEATURE_COUNT = DFG_NODE_FEATURE_COUNT + 5;\n\n\t/**\n\t * The number of operations of the '<em>Data Node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DATA_NODE_OPERATION_COUNT = DFG_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.IntegerImpl <em>Integer</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.IntegerImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getInteger()\n\t * @generated\n\t */\n\tint INTEGER = 12;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__ANNOTATIONS = DATA_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__TO = DATA_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__FROM = DATA_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Definition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__DEFINITION = DATA_NODE__DEFINITION;\n\n\t/**\n\t * The feature id for the '<em><b>Used</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__USED = DATA_NODE__USED;\n\n\t/**\n\t * The feature id for the '<em><b>Constant</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__CONSTANT = DATA_NODE__CONSTANT;\n\n\t/**\n\t * The feature id for the '<em><b>Number Of Bits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__NUMBER_OF_BITS = DATA_NODE__NUMBER_OF_BITS;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__VALUE = DATA_NODE__VALUE;\n\n\t/**\n\t * The feature id for the '<em><b>Signed</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER__SIGNED = DATA_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Integer</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER_FEATURE_COUNT = DATA_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Integer</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint INTEGER_OPERATION_COUNT = DATA_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.FixedPointImpl <em>Fixed Point</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.FixedPointImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFixedPoint()\n\t * @generated\n\t */\n\tint FIXED_POINT = 13;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__ANNOTATIONS = DATA_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__TO = DATA_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__FROM = DATA_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Definition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__DEFINITION = DATA_NODE__DEFINITION;\n\n\t/**\n\t * The feature id for the '<em><b>Used</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__USED = DATA_NODE__USED;\n\n\t/**\n\t * The feature id for the '<em><b>Constant</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__CONSTANT = DATA_NODE__CONSTANT;\n\n\t/**\n\t * The feature id for the '<em><b>Number Of Bits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__NUMBER_OF_BITS = DATA_NODE__NUMBER_OF_BITS;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__VALUE = DATA_NODE__VALUE;\n\n\t/**\n\t * The feature id for the '<em><b>Quantization</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__QUANTIZATION = DATA_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Overflow</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__OVERFLOW = DATA_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Wl</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__WL = DATA_NODE_FEATURE_COUNT + 2;\n\n\t/**\n\t * The feature id for the '<em><b>Iwl</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__IWL = DATA_NODE_FEATURE_COUNT + 3;\n\n\t/**\n\t * The feature id for the '<em><b>Nbits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT__NBITS = DATA_NODE_FEATURE_COUNT + 4;\n\n\t/**\n\t * The number of structural features of the '<em>Fixed Point</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT_FEATURE_COUNT = DATA_NODE_FEATURE_COUNT + 5;\n\n\t/**\n\t * The number of operations of the '<em>Fixed Point</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FIXED_POINT_OPERATION_COUNT = DATA_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.FloatImpl <em>Float</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.FloatImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFloat()\n\t * @generated\n\t */\n\tint FLOAT = 14;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__ANNOTATIONS = DATA_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__TO = DATA_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__FROM = DATA_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Definition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__DEFINITION = DATA_NODE__DEFINITION;\n\n\t/**\n\t * The feature id for the '<em><b>Used</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__USED = DATA_NODE__USED;\n\n\t/**\n\t * The feature id for the '<em><b>Constant</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__CONSTANT = DATA_NODE__CONSTANT;\n\n\t/**\n\t * The feature id for the '<em><b>Number Of Bits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__NUMBER_OF_BITS = DATA_NODE__NUMBER_OF_BITS;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__VALUE = DATA_NODE__VALUE;\n\n\t/**\n\t * The feature id for the '<em><b>Standard</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT__STANDARD = DATA_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Float</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT_FEATURE_COUNT = DATA_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>Float</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint FLOAT_OPERATION_COUNT = DATA_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.BooleanImpl <em>Boolean</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.BooleanImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBoolean()\n\t * @generated\n\t */\n\tint BOOLEAN = 15;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__ANNOTATIONS = DATA_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__TO = DATA_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__FROM = DATA_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Definition</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__DEFINITION = DATA_NODE__DEFINITION;\n\n\t/**\n\t * The feature id for the '<em><b>Used</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__USED = DATA_NODE__USED;\n\n\t/**\n\t * The feature id for the '<em><b>Constant</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__CONSTANT = DATA_NODE__CONSTANT;\n\n\t/**\n\t * The feature id for the '<em><b>Number Of Bits</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__NUMBER_OF_BITS = DATA_NODE__NUMBER_OF_BITS;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN__VALUE = DATA_NODE__VALUE;\n\n\t/**\n\t * The number of structural features of the '<em>Boolean</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN_FEATURE_COUNT = DATA_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of operations of the '<em>Boolean</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint BOOLEAN_OPERATION_COUNT = DATA_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.PHI_nodeImpl <em>PHI node</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.PHI_nodeImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_node()\n\t * @generated\n\t */\n\tint PHI_NODE = 16;\n\n\t/**\n\t * The feature id for the '<em><b>Annotations</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__ANNOTATIONS = OPERATION_NODE__ANNOTATIONS;\n\n\t/**\n\t * The feature id for the '<em><b>To</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__TO = OPERATION_NODE__TO;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__FROM = OPERATION_NODE__FROM;\n\n\t/**\n\t * The feature id for the '<em><b>Precedes</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__PRECEDES = OPERATION_NODE__PRECEDES;\n\n\t/**\n\t * The feature id for the '<em><b>Succeeds</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__SUCCEEDS = OPERATION_NODE__SUCCEEDS;\n\n\t/**\n\t * The feature id for the '<em><b>Function</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__FUNCTION = OPERATION_NODE__FUNCTION;\n\n\t/**\n\t * The feature id for the '<em><b>Args</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE__ARGS = OPERATION_NODE_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>PHI node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE_FEATURE_COUNT = OPERATION_NODE_FEATURE_COUNT + 1;\n\n\t/**\n\t * The number of operations of the '<em>PHI node</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_NODE_OPERATION_COUNT = OPERATION_NODE_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.AnnotationImpl <em>Annotation</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.AnnotationImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotation()\n\t * @generated\n\t */\n\tint ANNOTATION = 17;\n\n\t/**\n\t * The feature id for the '<em><b>Key</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTATION__KEY = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Value</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTATION__VALUE = 1;\n\n\t/**\n\t * The number of structural features of the '<em>Annotation</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTATION_FEATURE_COUNT = 2;\n\n\t/**\n\t * The number of operations of the '<em>Annotation</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint ANNOTATION_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.impl.PHI_argImpl <em>PHI arg</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.impl.PHI_argImpl\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_arg()\n\t * @generated\n\t */\n\tint PHI_ARG = 19;\n\n\t/**\n\t * The feature id for the '<em><b>From</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_ARG__FROM = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Data</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_ARG__DATA = 1;\n\n\t/**\n\t * The number of structural features of the '<em>PHI arg</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_ARG_FEATURE_COUNT = 2;\n\n\t/**\n\t * The number of operations of the '<em>PHI arg</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint PHI_ARG_OPERATION_COUNT = 0;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.BranchCondition <em>Branch Condition</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.BranchCondition\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBranchCondition()\n\t * @generated\n\t */\n\tint BRANCH_CONDITION = 20;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.Quantization <em>Quantization</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.Quantization\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getQuantization()\n\t * @generated\n\t */\n\tint QUANTIZATION = 21;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.Overflow <em>Overflow</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.Overflow\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOverflow()\n\t * @generated\n\t */\n\tint OVERFLOW = 22;\n\n\t/**\n\t * The meta object id for the '{@link cdfg.cdfg.Standard <em>Standard</em>}' enum.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see cdfg.cdfg.Standard\n\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStandard()\n\t * @generated\n\t */\n\tint STANDARD = 23;\n\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.CFG <em>CFG</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>CFG</em>'.\n\t * @see cdfg.cdfg.CFG\n\t * @generated\n\t */\n\tEClass getCFG();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.CFG#getNodes <em>Nodes</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Nodes</em>'.\n\t * @see cdfg.cdfg.CFG#getNodes()\n\t * @see #getCFG()\n\t * @generated\n\t */\n\tEReference getCFG_Nodes();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.CFG#getStart <em>Start</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Start</em>'.\n\t * @see cdfg.cdfg.CFG#getStart()\n\t * @see #getCFG()\n\t * @generated\n\t */\n\tEReference getCFG_Start();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.CFG#getArcs <em>Arcs</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Arcs</em>'.\n\t * @see cdfg.cdfg.CFG#getArcs()\n\t * @see #getCFG()\n\t * @generated\n\t */\n\tEReference getCFG_Arcs();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.DFG <em>DFG</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>DFG</em>'.\n\t * @see cdfg.cdfg.DFG\n\t * @generated\n\t */\n\tEClass getDFG();\n\n\t/**\n\t * Returns the meta object for the containment reference '{@link cdfg.cdfg.DFG#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference '<em>Source</em>'.\n\t * @see cdfg.cdfg.DFG#getSource()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_Source();\n\n\t/**\n\t * Returns the meta object for the containment reference '{@link cdfg.cdfg.DFG#getSink <em>Sink</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference '<em>Sink</em>'.\n\t * @see cdfg.cdfg.DFG#getSink()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_Sink();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.DFG#getNodes <em>Nodes</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Nodes</em>'.\n\t * @see cdfg.cdfg.DFG#getNodes()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_Nodes();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.DFG#getArcs <em>Arcs</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Arcs</em>'.\n\t * @see cdfg.cdfg.DFG#getArcs()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_Arcs();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.DFG#getFrom <em>From</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>From</em>'.\n\t * @see cdfg.cdfg.DFG#getFrom()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_From();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.DFG#getTo <em>To</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>To</em>'.\n\t * @see cdfg.cdfg.DFG#getTo()\n\t * @see #getDFG()\n\t * @generated\n\t */\n\tEReference getDFG_To();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.OperationNode <em>Operation Node</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Operation Node</em>'.\n\t * @see cdfg.cdfg.OperationNode\n\t * @generated\n\t */\n\tEClass getOperationNode();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.OperationNode#getPrecedes <em>Precedes</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Precedes</em>'.\n\t * @see cdfg.cdfg.OperationNode#getPrecedes()\n\t * @see #getOperationNode()\n\t * @generated\n\t */\n\tEReference getOperationNode_Precedes();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.OperationNode#getSucceeds <em>Succeeds</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Succeeds</em>'.\n\t * @see cdfg.cdfg.OperationNode#getSucceeds()\n\t * @see #getOperationNode()\n\t * @generated\n\t */\n\tEReference getOperationNode_Succeeds();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.OperationNode#getFunction <em>Function</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Function</em>'.\n\t * @see cdfg.cdfg.OperationNode#getFunction()\n\t * @see #getOperationNode()\n\t * @generated\n\t */\n\tEReference getOperationNode_Function();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.DFGArc <em>DFG Arc</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>DFG Arc</em>'.\n\t * @see cdfg.cdfg.DFGArc\n\t * @generated\n\t */\n\tEClass getDFGArc();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.DFGArc#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Source</em>'.\n\t * @see cdfg.cdfg.DFGArc#getSource()\n\t * @see #getDFGArc()\n\t * @generated\n\t */\n\tEReference getDFGArc_Source();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.DFGArc#getTarget <em>Target</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Target</em>'.\n\t * @see cdfg.cdfg.DFGArc#getTarget()\n\t * @see #getDFGArc()\n\t * @generated\n\t */\n\tEReference getDFGArc_Target();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Source <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Source</em>'.\n\t * @see cdfg.cdfg.Source\n\t * @generated\n\t */\n\tEClass getSource();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Sink <em>Sink</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Sink</em>'.\n\t * @see cdfg.cdfg.Sink\n\t * @generated\n\t */\n\tEClass getSink();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.DFGNode <em>DFG Node</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>DFG Node</em>'.\n\t * @see cdfg.cdfg.DFGNode\n\t * @generated\n\t */\n\tEClass getDFGNode();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.DFGNode#getTo <em>To</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>To</em>'.\n\t * @see cdfg.cdfg.DFGNode#getTo()\n\t * @see #getDFGNode()\n\t * @generated\n\t */\n\tEReference getDFGNode_To();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.DFGNode#getFrom <em>From</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>From</em>'.\n\t * @see cdfg.cdfg.DFGNode#getFrom()\n\t * @see #getDFGNode()\n\t * @generated\n\t */\n\tEReference getDFGNode_From();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Computing <em>Computing</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Computing</em>'.\n\t * @see cdfg.cdfg.Computing\n\t * @generated\n\t */\n\tEClass getComputing();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Load <em>Load</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Load</em>'.\n\t * @see cdfg.cdfg.Load\n\t * @generated\n\t */\n\tEClass getLoad();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Store <em>Store</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Store</em>'.\n\t * @see cdfg.cdfg.Store\n\t * @generated\n\t */\n\tEClass getStore();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Jump <em>Jump</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Jump</em>'.\n\t * @see cdfg.cdfg.Jump\n\t * @generated\n\t */\n\tEClass getJump();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.Jump#getSource <em>Source</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Source</em>'.\n\t * @see cdfg.cdfg.Jump#getSource()\n\t * @see #getJump()\n\t * @generated\n\t */\n\tEReference getJump_Source();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.Jump#getTarget <em>Target</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Target</em>'.\n\t * @see cdfg.cdfg.Jump#getTarget()\n\t * @see #getJump()\n\t * @generated\n\t */\n\tEReference getJump_Target();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.Jump#getBranchCondition <em>Branch Condition</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Branch Condition</em>'.\n\t * @see cdfg.cdfg.Jump#getBranchCondition()\n\t * @see #getJump()\n\t * @generated\n\t */\n\tEAttribute getJump_BranchCondition();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.Jump#getCondition <em>Condition</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Condition</em>'.\n\t * @see cdfg.cdfg.Jump#getCondition()\n\t * @see #getJump()\n\t * @generated\n\t */\n\tEReference getJump_Condition();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.DataNode <em>Data Node</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Data Node</em>'.\n\t * @see cdfg.cdfg.DataNode\n\t * @generated\n\t */\n\tEClass getDataNode();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.DataNode#getDefinition <em>Definition</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Definition</em>'.\n\t * @see cdfg.cdfg.DataNode#getDefinition()\n\t * @see #getDataNode()\n\t * @generated\n\t */\n\tEReference getDataNode_Definition();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link cdfg.cdfg.DataNode#getUsed <em>Used</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Used</em>'.\n\t * @see cdfg.cdfg.DataNode#getUsed()\n\t * @see #getDataNode()\n\t * @generated\n\t */\n\tEReference getDataNode_Used();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.DataNode#isConstant <em>Constant</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Constant</em>'.\n\t * @see cdfg.cdfg.DataNode#isConstant()\n\t * @see #getDataNode()\n\t * @generated\n\t */\n\tEAttribute getDataNode_Constant();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.DataNode#getNumberOfBits <em>Number Of Bits</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Number Of Bits</em>'.\n\t * @see cdfg.cdfg.DataNode#getNumberOfBits()\n\t * @see #getDataNode()\n\t * @generated\n\t */\n\tEAttribute getDataNode_NumberOfBits();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.DataNode#getValue <em>Value</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Value</em>'.\n\t * @see cdfg.cdfg.DataNode#getValue()\n\t * @see #getDataNode()\n\t * @generated\n\t */\n\tEAttribute getDataNode_Value();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Integer <em>Integer</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Integer</em>'.\n\t * @see cdfg.cdfg.Integer\n\t * @generated\n\t */\n\tEClass getInteger();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.Integer#isSigned <em>Signed</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Signed</em>'.\n\t * @see cdfg.cdfg.Integer#isSigned()\n\t * @see #getInteger()\n\t * @generated\n\t */\n\tEAttribute getInteger_Signed();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.FixedPoint <em>Fixed Point</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Fixed Point</em>'.\n\t * @see cdfg.cdfg.FixedPoint\n\t * @generated\n\t */\n\tEClass getFixedPoint();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.FixedPoint#getQuantization <em>Quantization</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Quantization</em>'.\n\t * @see cdfg.cdfg.FixedPoint#getQuantization()\n\t * @see #getFixedPoint()\n\t * @generated\n\t */\n\tEAttribute getFixedPoint_Quantization();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.FixedPoint#getOverflow <em>Overflow</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Overflow</em>'.\n\t * @see cdfg.cdfg.FixedPoint#getOverflow()\n\t * @see #getFixedPoint()\n\t * @generated\n\t */\n\tEAttribute getFixedPoint_Overflow();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.FixedPoint#getWl <em>Wl</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Wl</em>'.\n\t * @see cdfg.cdfg.FixedPoint#getWl()\n\t * @see #getFixedPoint()\n\t * @generated\n\t */\n\tEAttribute getFixedPoint_Wl();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.FixedPoint#getIwl <em>Iwl</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Iwl</em>'.\n\t * @see cdfg.cdfg.FixedPoint#getIwl()\n\t * @see #getFixedPoint()\n\t * @generated\n\t */\n\tEAttribute getFixedPoint_Iwl();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.FixedPoint#getNbits <em>Nbits</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Nbits</em>'.\n\t * @see cdfg.cdfg.FixedPoint#getNbits()\n\t * @see #getFixedPoint()\n\t * @generated\n\t */\n\tEAttribute getFixedPoint_Nbits();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Float <em>Float</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Float</em>'.\n\t * @see cdfg.cdfg.Float\n\t * @generated\n\t */\n\tEClass getFloat();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.Float#getStandard <em>Standard</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Standard</em>'.\n\t * @see cdfg.cdfg.Float#getStandard()\n\t * @see #getFloat()\n\t * @generated\n\t */\n\tEAttribute getFloat_Standard();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Boolean <em>Boolean</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Boolean</em>'.\n\t * @see cdfg.cdfg.Boolean\n\t * @generated\n\t */\n\tEClass getBoolean();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.PHI_node <em>PHI node</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>PHI node</em>'.\n\t * @see cdfg.cdfg.PHI_node\n\t * @generated\n\t */\n\tEClass getPHI_node();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.PHI_node#getArgs <em>Args</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Args</em>'.\n\t * @see cdfg.cdfg.PHI_node#getArgs()\n\t * @see #getPHI_node()\n\t * @generated\n\t */\n\tEReference getPHI_node_Args();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Annotation <em>Annotation</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Annotation</em>'.\n\t * @see cdfg.cdfg.Annotation\n\t * @generated\n\t */\n\tEClass getAnnotation();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.Annotation#getKey <em>Key</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Key</em>'.\n\t * @see cdfg.cdfg.Annotation#getKey()\n\t * @see #getAnnotation()\n\t * @generated\n\t */\n\tEAttribute getAnnotation_Key();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link cdfg.cdfg.Annotation#getValue <em>Value</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Value</em>'.\n\t * @see cdfg.cdfg.Annotation#getValue()\n\t * @see #getAnnotation()\n\t * @generated\n\t */\n\tEAttribute getAnnotation_Value();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.Annotable <em>Annotable</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Annotable</em>'.\n\t * @see cdfg.cdfg.Annotable\n\t * @generated\n\t */\n\tEClass getAnnotable();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link cdfg.cdfg.Annotable#getAnnotations <em>Annotations</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Annotations</em>'.\n\t * @see cdfg.cdfg.Annotable#getAnnotations()\n\t * @see #getAnnotable()\n\t * @generated\n\t */\n\tEReference getAnnotable_Annotations();\n\n\t/**\n\t * Returns the meta object for class '{@link cdfg.cdfg.PHI_arg <em>PHI arg</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>PHI arg</em>'.\n\t * @see cdfg.cdfg.PHI_arg\n\t * @generated\n\t */\n\tEClass getPHI_arg();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.PHI_arg#getFrom <em>From</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>From</em>'.\n\t * @see cdfg.cdfg.PHI_arg#getFrom()\n\t * @see #getPHI_arg()\n\t * @generated\n\t */\n\tEReference getPHI_arg_From();\n\n\t/**\n\t * Returns the meta object for the reference '{@link cdfg.cdfg.PHI_arg#getData <em>Data</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference '<em>Data</em>'.\n\t * @see cdfg.cdfg.PHI_arg#getData()\n\t * @see #getPHI_arg()\n\t * @generated\n\t */\n\tEReference getPHI_arg_Data();\n\n\t/**\n\t * Returns the meta object for enum '{@link cdfg.cdfg.BranchCondition <em>Branch Condition</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Branch Condition</em>'.\n\t * @see cdfg.cdfg.BranchCondition\n\t * @generated\n\t */\n\tEEnum getBranchCondition();\n\n\t/**\n\t * Returns the meta object for enum '{@link cdfg.cdfg.Quantization <em>Quantization</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Quantization</em>'.\n\t * @see cdfg.cdfg.Quantization\n\t * @generated\n\t */\n\tEEnum getQuantization();\n\n\t/**\n\t * Returns the meta object for enum '{@link cdfg.cdfg.Overflow <em>Overflow</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Overflow</em>'.\n\t * @see cdfg.cdfg.Overflow\n\t * @generated\n\t */\n\tEEnum getOverflow();\n\n\t/**\n\t * Returns the meta object for enum '{@link cdfg.cdfg.Standard <em>Standard</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for enum '<em>Standard</em>'.\n\t * @see cdfg.cdfg.Standard\n\t * @generated\n\t */\n\tEEnum getStandard();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tcdfgFactory getcdfgFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each operation of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.CFGImpl <em>CFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.CFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getCFG()\n\t\t * @generated\n\t\t */\n\t\tEClass CFG = eINSTANCE.getCFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__NODES = eINSTANCE.getCFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__START = eINSTANCE.getCFG_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__ARCS = eINSTANCE.getCFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGImpl <em>DFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFG()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG = eINSTANCE.getDFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SOURCE = eINSTANCE.getDFG_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sink</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SINK = eINSTANCE.getDFG_Sink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__NODES = eINSTANCE.getDFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__ARCS = eINSTANCE.getDFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__FROM = eINSTANCE.getDFG_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__TO = eINSTANCE.getDFG_To();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.OperationNodeImpl <em>Operation Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.OperationNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOperationNode()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATION_NODE = eINSTANCE.getOperationNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Precedes</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__PRECEDES = eINSTANCE.getOperationNode_Precedes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Succeeds</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__SUCCEEDS = eINSTANCE.getOperationNode_Succeeds();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Function</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__FUNCTION = eINSTANCE.getOperationNode_Function();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGArcImpl <em>DFG Arc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGArcImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGArc()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_ARC = eINSTANCE.getDFGArc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__SOURCE = eINSTANCE.getDFGArc_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__TARGET = eINSTANCE.getDFGArc_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SourceImpl <em>Source</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SourceImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSource()\n\t\t * @generated\n\t\t */\n\t\tEClass SOURCE = eINSTANCE.getSource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SinkImpl <em>Sink</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SinkImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSink()\n\t\t * @generated\n\t\t */\n\t\tEClass SINK = eINSTANCE.getSink();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGNodeImpl <em>DFG Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_NODE = eINSTANCE.getDFGNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_NODE__TO = eINSTANCE.getDFGNode_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_NODE__FROM = eINSTANCE.getDFGNode_From();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.ComputingImpl <em>Computing</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.ComputingImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getComputing()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPUTING = eINSTANCE.getComputing();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.LoadImpl <em>Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.LoadImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD = eINSTANCE.getLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.StoreImpl <em>Store</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.StoreImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStore()\n\t\t * @generated\n\t\t */\n\t\tEClass STORE = eINSTANCE.getStore();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.JumpImpl <em>Jump</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.JumpImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getJump()\n\t\t * @generated\n\t\t */\n\t\tEClass JUMP = eINSTANCE.getJump();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__SOURCE = eINSTANCE.getJump_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__TARGET = eINSTANCE.getJump_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branch Condition</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute JUMP__BRANCH_CONDITION = eINSTANCE.getJump_BranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__CONDITION = eINSTANCE.getJump_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DataNodeImpl <em>Data Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DataNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDataNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DATA_NODE = eINSTANCE.getDataNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Definition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DATA_NODE__DEFINITION = eINSTANCE.getDataNode_Definition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Used</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DATA_NODE__USED = eINSTANCE.getDataNode_Used();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constant</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__CONSTANT = eINSTANCE.getDataNode_Constant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number Of Bits</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__NUMBER_OF_BITS = eINSTANCE.getDataNode_NumberOfBits();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DATA_NODE__VALUE = eINSTANCE.getDataNode_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.IntegerImpl <em>Integer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.IntegerImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getInteger()\n\t\t * @generated\n\t\t */\n\t\tEClass INTEGER = eINSTANCE.getInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Signed</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute INTEGER__SIGNED = eINSTANCE.getInteger_Signed();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FixedPointImpl <em>Fixed Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FixedPointImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFixedPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass FIXED_POINT = eINSTANCE.getFixedPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Quantization</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__QUANTIZATION = eINSTANCE.getFixedPoint_Quantization();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Overflow</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__OVERFLOW = eINSTANCE.getFixedPoint_Overflow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Wl</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__WL = eINSTANCE.getFixedPoint_Wl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Iwl</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__IWL = eINSTANCE.getFixedPoint_Iwl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nbits</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FIXED_POINT__NBITS = eINSTANCE.getFixedPoint_Nbits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FloatImpl <em>Float</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FloatImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFloat()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOAT = eINSTANCE.getFloat();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Standard</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute FLOAT__STANDARD = eINSTANCE.getFloat_Standard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.BooleanImpl <em>Boolean</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.BooleanImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBoolean()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN = eINSTANCE.getBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_nodeImpl <em>PHI node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_nodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_node()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_NODE = eINSTANCE.getPHI_node();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Args</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_NODE__ARGS = eINSTANCE.getPHI_node_Args();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotationImpl <em>Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotationImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTATION = eINSTANCE.getAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ANNOTATION__KEY = eINSTANCE.getAnnotation_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ANNOTATION__VALUE = eINSTANCE.getAnnotation_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotableImpl <em>Annotable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotableImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotable()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTABLE = eINSTANCE.getAnnotable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotations</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ANNOTABLE__ANNOTATIONS = eINSTANCE.getAnnotable_Annotations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_argImpl <em>PHI arg</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_argImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_arg()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_ARG = eINSTANCE.getPHI_arg();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__FROM = eINSTANCE.getPHI_arg_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__DATA = eINSTANCE.getPHI_arg_Data();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.BranchCondition <em>Branch Condition</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.BranchCondition\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBranchCondition()\n\t\t * @generated\n\t\t */\n\t\tEEnum BRANCH_CONDITION = eINSTANCE.getBranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Quantization <em>Quantization</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Quantization\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getQuantization()\n\t\t * @generated\n\t\t */\n\t\tEEnum QUANTIZATION = eINSTANCE.getQuantization();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Overflow <em>Overflow</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Overflow\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOverflow()\n\t\t * @generated\n\t\t */\n\t\tEEnum OVERFLOW = eINSTANCE.getOverflow();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Standard <em>Standard</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Standard\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStandard()\n\t\t * @generated\n\t\t */\n\t\tEEnum STANDARD = eINSTANCE.getStandard();\n\n\t}\n\n}",
"public interface OurPartialIFCFactory extends EFactory {\n\t/**\n\t * The singleton instance of the factory.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tOurPartialIFCFactory eINSTANCE = OurPartialIFC.impl.OurPartialIFCFactoryImpl.init();\n\n\t/**\n\t * Returns a new object of class '<em>Our IFC</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our IFC</em>'.\n\t * @generated\n\t */\n\tOurIFC createOurIFC();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Rel Associates Material</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Rel Associates Material</em>'.\n\t * @generated\n\t */\n\tOurIfcRelAssociatesMaterial createOurIfcRelAssociatesMaterial();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Material</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Material</em>'.\n\t * @generated\n\t */\n\tOurIfcMaterial createOurIfcMaterial();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Material Layer</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Material Layer</em>'.\n\t * @generated\n\t */\n\tOurIfcMaterialLayer createOurIfcMaterialLayer();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Material List</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Material List</em>'.\n\t * @generated\n\t */\n\tOurIfcMaterialList createOurIfcMaterialList();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Material Layer Set</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Material Layer Set</em>'.\n\t * @generated\n\t */\n\tOurIfcMaterialLayerSet createOurIfcMaterialLayerSet();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Material Layer Set Usage</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Material Layer Set Usage</em>'.\n\t * @generated\n\t */\n\tOurIfcMaterialLayerSetUsage createOurIfcMaterialLayerSetUsage();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Element</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Element</em>'.\n\t * @generated\n\t */\n\tOurIfcElement createOurIfcElement();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Element Type</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Element Type</em>'.\n\t * @generated\n\t */\n\tOurIfcElementType createOurIfcElementType();\n\n\t/**\n\t * Returns a new object of class '<em>Our Ifc Rel Defines By Type</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Our Ifc Rel Defines By Type</em>'.\n\t * @generated\n\t */\n\tOurIfcRelDefinesByType createOurIfcRelDefinesByType();\n\n\t/**\n\t * Returns the package supported by this factory.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the package supported by this factory.\n\t * @generated\n\t */\n\tOurPartialIFCPackage getOurPartialIFCPackage();\n\n}",
"public Surface(){\r\n\t\tsuper(SURFACE_TAG,\"\");\r\n\t\tthis.setRef(\"CG\");\r\n\t}",
"public String toString()\n {\n return \"The tesseract's dimensions are \" + getLength() + \" X \" + getWidth() + \" X \" + getHeight() + \" X \" + getwDimension();\n }",
"private void _writeOccurrence(final Occurrence occ) throws IOException {\n _out.startObject();\n _writeReifier(occ);\n _writeItemIdentifiers(occ);\n _writeType(occ);\n _writeScope(occ);\n _writeDatatypeAware(occ);\n _out.endObject();\n }",
"interface Literals\n {\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl <em>Feature Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModel()\n * @generated\n */\n EClass FEATURE_MODEL = eINSTANCE.getFeatureModel();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__ID = eINSTANCE.getFeatureModel_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__NAME = eINSTANCE.getFeatureModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__FEATURES = eINSTANCE.getFeatureModel_Features();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__PRIMITIVES = eINSTANCE.getFeatureModel_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl <em>Feature Model Primitive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModelPrimitive()\n * @generated\n */\n EClass FEATURE_MODEL_PRIMITIVE = eINSTANCE.getFeatureModelPrimitive();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__ID = eINSTANCE.getFeatureModelPrimitive_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__NAME = eINSTANCE.getFeatureModelPrimitive_Name();\n\n /**\n * The meta object literal for the '<em><b>Configuration Source</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__CONFIGURATION_SOURCE = eINSTANCE.getFeatureModelPrimitive_ConfigurationSource();\n\n /**\n * The meta object literal for the '<em><b>Explanations</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL_PRIMITIVE__EXPLANATIONS = eINSTANCE.getFeatureModelPrimitive_Explanations();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl <em>Feature Has Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__PARENT = eINSTANCE.getFeatureHasSubfeature_Parent();\n\n /**\n * The meta object literal for the '<em><b>Subfeature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__SUBFEATURE = eINSTANCE.getFeatureHasSubfeature_Subfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl <em>Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getUndirectedRelationship()\n * @generated\n */\n EClass UNDIRECTED_RELATIONSHIP = eINSTANCE.getUndirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl <em>Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getDirectedRelationship()\n * @generated\n */\n EClass DIRECTED_RELATIONSHIP = eINSTANCE.getDirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl <em>Feature Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureGroup()\n * @generated\n */\n EClass FEATURE_GROUP = eINSTANCE.getFeatureGroup();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl <em>Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeature()\n * @generated\n */\n EClass FEATURE = eINSTANCE.getFeature();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__ID = eINSTANCE.getFeature_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_PARENT = eINSTANCE.getFeature_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_CHILD = eINSTANCE.getFeature_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_PARENT = eINSTANCE.getFeature_FeatureHasParent();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Subfeature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeature_FeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Selected Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__SELECTED_FEATURE = eINSTANCE.getFeature_SelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Eliminated Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__ELIMINATED_FEATURE = eINSTANCE.getFeature_EliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Undirected Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__UNDIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_UndirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Incoming Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__INCOMING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_IncomingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Outgoing Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__OUTGOING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_OutgoingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Feature Is Root</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_IS_ROOT = eINSTANCE.getFeature_FeatureIsRoot();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl <em>Group Has Parent</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasParent()\n * @generated\n */\n EClass GROUP_HAS_PARENT = eINSTANCE.getGroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__PARENT = eINSTANCE.getGroupHasParent_Parent();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__GROUP = eINSTANCE.getGroupHasParent_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl <em>Group Has Child</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasChild()\n * @generated\n */\n EClass GROUP_HAS_CHILD = eINSTANCE.getGroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Child</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__CHILD = eINSTANCE.getGroupHasChild_Child();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__GROUP = eINSTANCE.getGroupHasChild_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl <em>Selected Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getSelectedFeature()\n * @generated\n */\n EClass SELECTED_FEATURE = eINSTANCE.getSelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SELECTED_FEATURE__FEATURE = eINSTANCE.getSelectedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl <em>Eliminated Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getEliminatedFeature()\n * @generated\n */\n EClass ELIMINATED_FEATURE = eINSTANCE.getEliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELIMINATED_FEATURE__FEATURE = eINSTANCE.getEliminatedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl <em>Feature Is Root</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureIsRoot()\n * @generated\n */\n EClass FEATURE_IS_ROOT = eINSTANCE.getFeatureIsRoot();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_IS_ROOT__FEATURE = eINSTANCE.getFeatureIsRoot_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl <em>Explanation</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getExplanation()\n * @generated\n */\n EClass EXPLANATION = eINSTANCE.getExplanation();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPLANATION__PRIMITIVES = eINSTANCE.getExplanation_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl <em>Group Has Max</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMax()\n * @generated\n */\n EClass GROUP_HAS_MAX = eINSTANCE.getGroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Max</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MAX__MAX = eINSTANCE.getGroupHasMax_Max();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MAX__GROUP = eINSTANCE.getGroupHasMax_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl <em>Group Has Min</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMin()\n * @generated\n */\n EClass GROUP_HAS_MIN = eINSTANCE.getGroupHasMin();\n\n /**\n * The meta object literal for the '<em><b>Min</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MIN__MIN = eINSTANCE.getGroupHasMin_Min();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MIN__GROUP = eINSTANCE.getGroupHasMin_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl <em>Alternative Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAlternativeGroup()\n * @generated\n */\n EClass ALTERNATIVE_GROUP = eINSTANCE.getAlternativeGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_PARENT = eINSTANCE.getAlternativeGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_CHILD = eINSTANCE.getAlternativeGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MAX = eINSTANCE.getAlternativeGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MIN = eINSTANCE.getAlternativeGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl <em>Or Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getOrGroup()\n * @generated\n */\n EClass OR_GROUP = eINSTANCE.getOrGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_PARENT = eINSTANCE.getOrGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_CHILD = eINSTANCE.getOrGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MAX = eINSTANCE.getOrGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MIN = eINSTANCE.getOrGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl <em>Feature Has Optional Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasOptionalSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_OPTIONAL_SUBFEATURE = eINSTANCE.getFeatureHasOptionalSubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl <em>Feature Has Mandatory Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasMandatorySubfeature()\n * @generated\n */\n EClass FEATURE_HAS_MANDATORY_SUBFEATURE = eINSTANCE.getFeatureHasMandatorySubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl <em>Mutual Exclusive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getMutualExclusive()\n * @generated\n */\n EClass MUTUAL_EXCLUSIVE = eINSTANCE.getMutualExclusive();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MUTUAL_EXCLUSIVE__RELATED_FEATURES = eINSTANCE.getMutualExclusive_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl <em>Custom Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomUndirectedRelationship()\n * @generated\n */\n EClass CUSTOM_UNDIRECTED_RELATIONSHIP = eINSTANCE.getCustomUndirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_UNDIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomUndirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_UNDIRECTED_RELATIONSHIP__RELATED_FEATURES = eINSTANCE.getCustomUndirectedRelationship_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl <em>Requires</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getRequires()\n * @generated\n */\n EClass REQUIRES = eINSTANCE.getRequires();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__SOURCES = eINSTANCE.getRequires_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__TARGETS = eINSTANCE.getRequires_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl <em>Temporal Ordering Sequential</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getTemporalOrderingSequential()\n * @generated\n */\n EClass TEMPORAL_ORDERING_SEQUENTIAL = eINSTANCE.getTemporalOrderingSequential();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__SOURCES = eINSTANCE.getTemporalOrderingSequential_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__TARGETS = eINSTANCE.getTemporalOrderingSequential_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl <em>Custom Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomDirectedRelationship()\n * @generated\n */\n EClass CUSTOM_DIRECTED_RELATIONSHIP = eINSTANCE.getCustomDirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_DIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomDirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__SOURCES = eINSTANCE.getCustomDirectedRelationship_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__TARGETS = eINSTANCE.getCustomDirectedRelationship_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl <em>Auto Complete</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAutoComplete()\n * @generated\n */\n EClass AUTO_COMPLETE = eINSTANCE.getAutoComplete();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource <em>Configuration Source</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getConfigurationSource()\n * @generated\n */\n EEnum CONFIGURATION_SOURCE = eINSTANCE.getConfigurationSource();\n\n }",
"public void incompletetestSetEAnnotationsDetails() {\r\n\t\t// any model element should do\r\n\t\tEModelElement modelElement = new Emf().getEcorePackage();\r\n\t\tEAnnotation eAnnotation = _emfAnnotations.annotationOf(modelElement, \"http://rcpviewer.berlios.de/test/source\");\r\n\t\tMap<String,String> details = new HashMap<String,String>();\r\n\t\tdetails.put(\"foo\", \"bar\");\r\n\t\tdetails.put(\"baz\", \"boz\");\r\n\t\tassertEquals(0, eAnnotation.getDetails().size());\r\n\t\t_emfAnnotations.putAnnotationDetails(eAnnotation, details);\r\n\t\tassertEquals(2, eAnnotation.getDetails().size());\r\n\t}",
"@ApiModelProperty(value = \"The country-composite OpenFIGI identifier\")\n public String getCompositeFigi() {\n return compositeFigi;\n }",
"protected void createInternalAnnotations() {\n\t\tString source = \"http://www.eclipse.org/ecl/internal\";\t\t\t\t\t\n\t\taddAnnotation\n\t\t (printEClass, \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t}",
"public double getFeIF() {\n return _avTable.getDouble(ATTR_FE_IF, 0.0);\n }",
"public String getOcNo() {\n return (String)getAttributeInternal(OCNO);\n }",
"public String getSampleFractionForAUC() {\n return m_predFrac;\n }",
"public Image getImagen() {\n\t\tRectangle rootFigureBounds = this.getBounds();\n\t\tGC figureCanvasGC = new GC(this.canvas);\n\n\t\tImage image = new Image(this.canvas.getDisplay(), rootFigureBounds.width,\n\t\t\t\trootFigureBounds.height);\n\t\tGC imageGC = new GC(image);\n\n\t\timageGC.setBackground(figureCanvasGC.getBackground());\n\t\timageGC.setForeground(figureCanvasGC.getForeground());\n\t\timageGC.setFont(figureCanvasGC.getFont());\n\t\timageGC.setLineStyle(figureCanvasGC.getLineStyle());\n\t\timageGC.setLineWidth(figureCanvasGC.getLineWidth());\n\t\t// imageGC.setXORMode(figureCanvasGC.getXORMode());\n\n\t\tGraphics imgGraphics = new SWTGraphics(imageGC);\n\t\tthis.paint(imgGraphics);\n\n\t\treturn image;\n\t}",
"@Override\n\tpublic String getText(Object object) {\n\t\tIfcOffsetCurve2D ifcOffsetCurve2D = (IfcOffsetCurve2D)object;\n\t\treturn getString(\"_UI_IfcOffsetCurve2D_type\") + \" \" + ifcOffsetCurve2D.getDim();\n\t}",
"@Override\r\n\tpublic String toString() {\r\n\t\tString record;\r\n\t\trecord = getID() + \":\" + getYear() + \":\" + getMake() + \":\" + getModel() + \":\" + getNumOfSeats() + \":\"\r\n\t\t\t\t+ getStatus() + \":\" + getImageName();\r\n\t\treturn record;\r\n\t}",
"public String toString() {\r\n return \"[\" + geomKML + \", \" + attributes.toString() + \"]\";\r\n }",
"protected void createGmf_2Annotations() {\n\t\tString source = \"gmf.compartment\";\t\n\t\taddAnnotation\n\t\t (getNode_Children(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"mxShape\", \"swimlane\",\n\t\t\t \"mxCollapsible\", \"0\",\n\t\t\t \"mxNoLabel\", \"1\",\n\t\t\t \"xEditable\", \"0\",\n\t\t\t \"mxFillColor\", \"none\",\n\t\t\t \"mxStrokeColor\", \"none\"\n\t\t });\n\t}",
"public String toString() {\n\t\tString stringList = Arrays.toString(this.facets.toArray());\n\t\treturn \"solid \" + name + stringList.replace(\"[\", \"\").replace(\"]\", \"\").replace(\",\", \"\") + \"\\nendsolid \" + name;\n\t}",
"public Shape getAreaColision();",
"public java.util.List<BoundCodeDt<AggregationModeEnum>> getAggregation() { \n\t\tif (myAggregation == null) {\n\t\t\tmyAggregation = new java.util.ArrayList<BoundCodeDt<AggregationModeEnum>>();\n\t\t}\n\t\treturn myAggregation;\n\t}",
"public BoundCodeDt<PropertyRepresentationEnum> getRepresentationFirstRep() {\n\t\tif (getRepresentation().size() == 0) {\n\t\t\taddRepresentation();\n\t\t}\n\t\treturn getRepresentation().get(0);\n\t}",
"int getObjectAnnotationsCount();",
"int getObjectAnnotationsCount();",
"@objid (\"661a22c1-2de2-4b65-a955-6b755461b1ac\")\n AssociationEnd getModel();",
"public ForecastCatalog () {\n\t\teqk_count = -1;\n\t\tlat_lon_depth_list = new long[1];\n\t\tlat_lon_depth_list[0] = 0L;\n\t\tmag_time_list = new long[1];\n\t\tmag_time_list[0] = 0L;\n\n\t\tset_standard_format();\n\t}",
"private Map<S, Integer> getAppearances() {\n List<P> productions = slp.getOrderedProductions();\n Map<S, Integer> appearences = new HashMap<>(productions.size());\n\n for(S axiom : slp.getAxioms()) {\n appearences.put(axiom, 1);\n }\n\n for(P production : productions) {\n if(!appearences.containsKey(production.getLeft())) {\n appearences.put(production.getLeft(), 1);\n }\n\n for(S terminal : production.getRight().findAll(s -> !s.isTerminal())) {\n if(!appearences.containsKey(terminal)) {\n appearences.put(terminal, 0);\n }\n\n appearences.put(terminal, appearences.get(terminal) + appearences.get(production.getLeft()));\n }\n }\n return appearences;\n }",
"@Override\n\tpublic long getIconId() {\n\t\treturn _scienceApp.getIconId();\n\t}",
"public AOC getAOC() {\n\t\treturn aoc;\n\t}",
"@Override public List<String> gridRepresentation() {\n assert(checkRep());\n return representation;\n }",
"public String mo468c() throws RemoteException {\r\n if (this.f1768l == null) {\r\n this.f1768l = C0350r.m2938a(\"Arc\");\r\n }\r\n return this.f1768l;\r\n }",
"public String getOutline() {\n return outline;\n }",
"public tudresden.ocl20.core.jmi.uml15.core.Association getAssociation()\n {\n \tModelFacade instance = ModelFacade.getInstance(this.refOutermostPackage().refMofId());\n \tif (instance != null && \n \t\tinstance.isRepresentative(this.refMofId())&&\n \t\tinstance.hasRefObject(this.refMofId()))\n \t{ \t\t\n \t\treturn instance.getAssociation(this.refMofId());\n \t} \n \t\n\t\treturn super_getAssociation();\t\n }",
"public double totalSurfaceArea() {\n int index = 0;\n double total = 0.0;\n while (index < icosList.size()) {\n total += icosList.get(index).surfaceArea();\n index++; \n }\n return total;\n }",
"protected void createSegmentAnnotations() {\n\t\tString source = \"http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment\";\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedRequirementPkgs(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedAbstractCapabilityPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedInterfacePkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedDataPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedAbstractCapabilityPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedInterfacePkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedDataPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedInterfaceUses(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getSystemComponent_ParticipationsInCapabilityRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfacePkg_OwnedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfacePkg_OwnedInterfacePkgs(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ImplementorComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_UserComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceImplementations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceUses(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceImplementation_InterfaceImplementor(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceImplementation_ImplementedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceUse_InterfaceUser(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceUse_UsedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getProvidedInterfaceLink_Interface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getRequiredInterfaceLink_Interface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeployableElement_DeployingLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeploymentTarget_DeploymentLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractDeploymentLink_DeployedElement(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractDeploymentLink_Location(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLinkEnd_Port(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLinkEnd_Part(), \n\t\t source, \n\t\t new String[] {\n\t\t });\n\t}",
"public String getDiagramAnnotation() {\n\t\treturn null;\n\t}",
"public String toString()\n {\n String contents = \"\";\n double totalArea = 0;\n \n contents = contents + \"\\nThere are \" + shapes.size() + \" shapes in the container.\\n\";\n \n for(int i = 0; i < shapes.size(); i++)\n {\n totalArea = totalArea + shapes.get(i).getArea();\n contents = contents + shapes.get(i).toString();\n }\n contents = contents + \"\\nand total area of shapes is \" + totalArea + \"\\n\";\n return contents;\n }",
"public String toString() {\n return \"Name: \" + this.name + \"\\nType: Rectangle\" + \"\\nCenter: (\" + this.xPos + \",\"\n + this.yPos + \"), Width: \" + this.width + \", Height: \" + this.height + \", Color: (\"\n + this.color.getRed() + \",\" + this.color.getGreen() + \",\" + this.color.getBlue()\n + \")\\nAppears at t = \" + this.startTime + \"\\nDisappears at t = \" + this.endTime;\n }",
"public PDRectangle getFringe()\n {\n COSArray rd = annot.getCOSArray(COSName.RD);\n return rd != null ? new PDRectangle(rd) : null;\n }",
"public BoundCodeDt<PropertyRepresentationEnum> addRepresentation() {\n\t\tBoundCodeDt<PropertyRepresentationEnum> retVal = new BoundCodeDt<PropertyRepresentationEnum>(PropertyRepresentationEnum.VALUESET_BINDER);\n\t\tgetRepresentation().add(retVal);\n\t\treturn retVal;\n\t}",
"public String getAsciidocDiagramImageFormat() {\n\t\treturn asciidocDiagramImageFormat;\n\t}",
"public final FavaDiagnosticsEntity mo42081i() {\n return riw.f43138f;\n }"
] | [
"0.53882015",
"0.50156635",
"0.49988112",
"0.4934792",
"0.49140662",
"0.49111202",
"0.4903463",
"0.49032885",
"0.4884539",
"0.48402345",
"0.48166922",
"0.48119158",
"0.47944847",
"0.47437707",
"0.47245175",
"0.47245175",
"0.47116113",
"0.47004315",
"0.46834335",
"0.46804643",
"0.46796185",
"0.46674204",
"0.46467757",
"0.46405262",
"0.46394295",
"0.46295622",
"0.46216843",
"0.4621373",
"0.46166584",
"0.46132812",
"0.46091586",
"0.460764",
"0.45905456",
"0.45902678",
"0.45864725",
"0.45588997",
"0.4558031",
"0.45563576",
"0.45546672",
"0.45479137",
"0.4532367",
"0.4508215",
"0.450384",
"0.4500738",
"0.45003146",
"0.44930467",
"0.44910377",
"0.44867158",
"0.44815964",
"0.4474796",
"0.4466973",
"0.44669536",
"0.44649494",
"0.44618165",
"0.44568947",
"0.4454198",
"0.44486636",
"0.44464156",
"0.4442569",
"0.44404414",
"0.44348964",
"0.44297406",
"0.44256127",
"0.44184658",
"0.44130135",
"0.4408409",
"0.44081345",
"0.44058597",
"0.44027522",
"0.44023055",
"0.44005692",
"0.44004467",
"0.43972498",
"0.43952683",
"0.43885162",
"0.4387917",
"0.4386062",
"0.43848523",
"0.4384524",
"0.43835095",
"0.43834856",
"0.43834856",
"0.437385",
"0.4371775",
"0.4365909",
"0.4365047",
"0.43628967",
"0.4362615",
"0.43609548",
"0.43601435",
"0.43586352",
"0.43581957",
"0.43573487",
"0.4356046",
"0.435142",
"0.4348023",
"0.4344362",
"0.43438366",
"0.43412253",
"0.43408078"
] | 0.6311634 | 0 |
This constructs an object which represents a rate of turn and a velocity. The velocity is measured in terms of meters per second and the rate of turn is measured in terms of radians per second. | public SpeedAndTurnRate(
final double aVelocity,
final double aRateOfTurn) {
mV = aVelocity;
mDThetaDT = aRateOfTurn;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static AngularVelocity newRadiansPerSecondValue()\n\t{\n\t\treturn new AngularVelocity(0.0, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public static AngularVelocity newRadiansPerSecondValue(Double new_val)\n\t{\n\t\treturn new AngularVelocity(new_val, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public static AngularVelocity newDegreePerSecondValue()\n\t{\n\t\treturn new AngularVelocity(0.0, AngularVelocityUnit.DEGREES_PER_SEC);\n\t}",
"public double getSpeed();",
"public static Velocity newMicrometersPerSecondValue()\n\t{\n\t\treturn new Velocity(0.0, VelocityUnit.MICROMETERS_PER_SECOND);\n\t}",
"public double getCurrentSpeed();",
"public static Velocity newMetersPerSecondValue()\n\t{\n\t\treturn new Velocity(0.0, VelocityUnit.METERS_PER_SECOND);\n\t}",
"double getSpeed();",
"public Vector2 getSpeed() { return speed; }",
"double getRate();",
"public abstract double getSpeed();",
"public void radiansPerSecond(Double val)\n\t{\n\t\tsetValue(val, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\n double adjustAngle = angle - 90;\n double nextX = speed * Math.cos(Math.toRadians(adjustAngle));\n double nextY = speed * Math.sin(Math.toRadians(adjustAngle));\n return new Velocity(nextX, nextY);\n }",
"public double getVelocity()\n {\n return velocity * FPS;\n }",
"@Override\n protected AngularSpeed createMeasurement(double value, AngularSpeedUnit unit) {\n return new AngularSpeed(value, unit);\n }",
"public float getSpeed (){\n return speed;\n }",
"public Velocity fromAngleAndSpeed(double angle, double speed) {\r\n double dX = Math.sin(Math.toRadians(angle)) * speed;\r\n double dY = Math.cos(Math.toRadians(angle)) * speed;\r\n return new Velocity(dX, dY);\r\n }",
"public void setRate();",
"double getPWMRate();",
"public Rate rate() {\n _initialize();\n return rate;\n }",
"void vibrate(double radiansFromNorth, double radiansOfArch, double durationInMS) throws IOException;",
"public static Velocity newMicrometersPerSecondValue(Double new_val)\n\t{\n\t\treturn new Velocity(new_val, VelocityUnit.MICROMETERS_PER_SECOND);\n\t}",
"private FPS(){}",
"private void calculateVelocity() {\n\t\tthis.velocity = Math.sqrt((this.roughRange *this.roughRange * this.gravity_Math)\n\t\t\t\t/ ((this.roughRange * Math.sin(2 * angle)) + (2\n\t\t\t\t\t\t* Constant.heroBaseHeight * Math.cos(angle) * Math\n\t\t\t\t\t\t\t.cos(angle))));\n\t\t\n\t}",
"void setSpeed(RobotSpeedValue newSpeed);",
"public double speed() {\n /* dx = sin(angle) * speed\n dy = cos(angle-180) * speed = -cos(angle)\n sqrt((dx)^2 + (-dy)^2 = sin(angle)^2*speed^2 + cos(angle)^2*speed^2)=\n sqrt(speed^2 *(cos(angle)^2+sin(angle)^2) = sqrt(speed^2*1)=speed\n */\n //distance math functions\n //to calculate the square root of the sum of squares of numbers passed to it as arguments.\n return Math.hypot(this.dx, this.dy);\n }",
"public double getSpeed(){\r\n double Speed;\r\n Speed = (double)(Distance * TimeConversion)/(getMinutes() * SecondsConversion + getSeconds()); \r\n if ((getMinutes()==0) || (getSeconds() == 0)) {\r\n Speed =0;\r\n } //Closing bracket if statement\r\n return Speed;\r\n }",
"public Velocity(double angle, double mag){\n\t\tthis(Math.cos(angle),-Math.sin(angle),mag);\n\t}",
"public Double radiansPerSecond()\n\t{\n\t\treturn getValue(AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public Robot(int step, int speed) {\n\t\tthis.step = step; \n\t\tthis.speed = speed; \n\t}",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\r\n angle -= 90;\r\n angle *= Math.PI / (180);\r\n double dx = Math.cos(angle) * speed;\r\n double dy = Math.sin(angle) * speed;\r\n return new Velocity(dx, dy);\r\n }",
"@Override\n\tpublic double calculateVelocity() {\n\t\tdouble result = distance / time + velocitySame - velocityReverse;\n\t\treturn result;\n\t}",
"public static AngularVelocity newDegreePerSecondValue(Double new_val)\n\t{\n\t\treturn new AngularVelocity(new_val, AngularVelocityUnit.DEGREES_PER_SEC);\n\t}",
"public double getCurrentSpeed(){\r\n return speed;\r\n }",
"public static Velocity newKilometersPerSecondValue()\n\t{\n\t\treturn new Velocity(0.0, VelocityUnit.KILOMETERS_PER_SECOND);\n\t}",
"public VelocityMetric velocityMetric() {\n _initialize();\n return velocityMetric;\n }",
"public double getSpeed() {\n return speed;\n }",
"public SwerveDriveCalculator() {\n this(1.0, 1.0);\n }",
"public double getCurrentSpeed(){\n return currentSpeed;\n }",
"public double getCurrentSpeed(){\n return currentSpeed;\n }",
"org.auvua.utils.protobuffer.AUVprotocol.AUVCommand.Movement getSpeed();",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\n double dx = speed * Math.sin(Math.toRadians(angle));\n double dy = speed * Math.cos(Math.toRadians(angle));\n return new Velocity(dx, -dy);\n }",
"public void setCurrentSpeed (double speed);",
"public double getVelocity() {\n \treturn this.currentSpeed;\n }",
"public ShotSpeed(float x, float y) {\n\t\tsuper(SHOTSPEED_PATH, x, y);\n\t}",
"public double getSpeedPerFrame(){\r\n\t\treturn speed;\r\n\t}",
"public double fromVelocityToSpeed() {\n return Math.sqrt(Math.pow(this.getDx(), 2) + Math.pow(this.getDy(), 2));\n }",
"public double speed()\r\n {\r\n return speed;\r\n }",
"public static Velocity newMetersPerSecondValue(Double new_val)\n\t{\n\t\treturn new Velocity(new_val, VelocityUnit.METERS_PER_SECOND);\n\t}",
"public float getFrameRate() { return 1000f/_interval; }",
"public void setSpeed(float val) {speed = val;}",
"public Motor(int lSpeed, int rSpeed, long lPos, long rPos) {\n leftSpeed = lSpeed;\n rightSpeed = rSpeed;\n leftPosition = lPos;\n rightPosition = rPos;\n }",
"public static Velocity newNanometersPerSecondValue()\n\t{\n\t\treturn new Velocity(0.0, VelocityUnit.NANOMETERS_PER_SECOND);\n\t}",
"public void setSpeed(double multiplier);",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\r\n double dx = speed * Math.sin(Math.toRadians(angle));\r\n double dy = -speed * Math.cos(Math.toRadians(angle));\r\n return new Velocity(dx, dy);\r\n }",
"public void updateRate(double r){\r\n rate *= r;\r\n }",
"public void setSpeed( Vector2 sp ) { speed = sp; }",
"public NewtonRaphsonCalibrator()\r\n\t{\r\n\t}",
"@Override\n\tpublic int getMotorSpeed() {\n\t\tupdateIR();\n\t\treturn direction*360;\n\t}",
"public Velocity(int dx, int dy) {\n this((double) dx, (double) dy);\n }",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\n double dx = speed * Math.sin(Math.toRadians(angle));\n double dy = -speed * Math.cos(Math.toRadians(angle));\n return new Velocity(dx, dy);\n }",
"List<Velocity> initialBallVelocities();",
"protected abstract Double getSpeed(T object);",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public Circle(double r)\n {\n setRad(r);\n\n }",
"public int getSpeed(){return this.speed;}",
"static int getVelocity(){return currentVelocity;}",
"public Vector2D getVelocity ();",
"public static Velocity fromAngleAndSpeed(double angle, double speed) {\n double dx = Math.sin(Math.toRadians(angle)) * Math.abs(speed);\n double dy = Math.cos(Math.toRadians(angle - 180)) * Math.abs(speed);\n return new Velocity(dx, dy);\n }",
"protected void calcVelocity()\n\t{}",
"public SeaUrchin()\n {\n speed = Greenfoot.getRandomNumber(2) +1;\n setRotation(Greenfoot.getRandomNumber(360)); \n }",
"public float getRate(){\r\n return rate;\r\n }",
"void setPWMRate(double rate);",
"NetTankSpeed(float speed)\n\t{\n\t\tthis.speed = speed;\n\t}",
"private double getVelocity() {\n \tif (currentState == DriveState.accelerating) {\n \t\treturn acceleration * timer.get();\n \t}\n \telse if (currentState == DriveState.cruisung) {\n \t\treturn maxVelocity;\n \t}\n \telse if (currentState == DriveState.decelerating) {\n \t\treturn maxVelocity - acceleration * (timer.get());\n \t}\n \t\t\n \treturn 0;\n }",
"public double getVelocityRPM();",
"public Car (String color, int wheels, double speed)\n {\n this.color = color;\n this.wheels = wheels;\n this.speed = speed;\n }",
"double getAcceleration ();",
"public float getSpeed() {\n\t\tfloat result = (float) Math.sqrt(velocity.x * velocity.x + velocity.y * velocity.y);\n\t\treturn result;\n\t}",
"public Loan() {\n this(2.5, 1, 1000);\n }",
"public static Velocity newMillimetersPerSecondValue()\n\t{\n\t\treturn new Velocity(0.0, VelocityUnit.MILLIMETERS_PER_SECOND);\n\t}",
"public void calcSpeed(){\r\n Random rand = new Random();\r\n tire = rand.nextInt(10)+1;\r\n engine = rand.nextInt(10)+1;\r\n weight = rand.nextInt(10)+1;\r\n speed = ((double)(tire+engine+weight))/3;\r\n\r\n //round speed to 2 decimal places\r\n speed = speed*100;\r\n speed = Math.round(speed);\r\n speed = speed/100;\r\n }",
"public Rain(Context<Object> context, Grid<Object> grid, GridPoint pos)\r\n\t{\r\n\t\tParameters params = RunEnvironment.getInstance().getParameters();\r\n\t\t// Initialize local variables\r\n\t\tthis.context = context;\r\n\t\tthis.grid = grid;\r\n\t\tstrength = params.getInteger(\"rain_strength\");\r\n\t\tdouble initialSpeed = params.getDouble(\"rain_initial_speed\");\r\n\t\tdouble initialSpeedDeviation = params.getDouble(\"rain_initial_speed_deviation\");\r\n\t\tvelocity = new Velocity(RandomHelper.nextDoubleFromTo(initialSpeed - initialSpeedDeviation, initialSpeed + initialSpeedDeviation),\r\n\t\t\t\tRandomHelper.nextDoubleFromTo(0, 360));\r\n\t\tmoveRandomness = params.getDouble(\"rain_moveRandomness\");\r\n\t\tspawnProb = params.getDouble(\"rain_spawnProb\");\r\n\t\tvaporProb = params.getDouble(\"rain_vaporProb\");\r\n\t\t// Add the object to the context\r\n\t\tif (!context.contains(this)) { context.add(this); }\r\n\t\t// Add the object to the grid\r\n\t\tif (pos != null) { grid.moveTo(this, pos.toIntArray(null)); }\r\n\t\telse { grid.moveTo(this,Tools.getRandomPosWithinBounds(grid).toIntArray(null)); }\r\n\t\t// Schedule methods\r\n\t ISchedule schedule = RunEnvironment.getInstance().getCurrentSchedule();\r\n\t double current_tick = schedule.getTickCount();\r\n\t ScheduleParameters sch_params = ScheduleParameters.createRepeating(current_tick + 1, Math.round(1 / velocity.speed));\r\n\t stepSchedule = schedule.schedule(sch_params, this, \"step\");\r\n\t}",
"public double getVelocity() {\n return mV;\n }",
"private int newSpeed() {\n //makes a random speed for the ball in (-50,-15)U(15,50)\n int n = r.nextInt(71) - 35;\n if (n < 0) {\n n = n - 15;\n } else {\n n = n + 15;\n }\n return n;\n }",
"public Spin(double time) {\r\n\t\tthis.time = time;\r\n\t\t\r\n\t}",
"public Velocity(double dx, double dy) {\r\n this.dx = dx;\r\n this.dy = dy;\r\n }",
"public Velocity(double dx, double dy) {\r\n this.dx = dx;\r\n this.dy = dy;\r\n }",
"public double getTurnRate() {\n return mDThetaDT;\n }",
"public double getSpeed() {\r\n\t\treturn speed;\r\n\t}",
"@Override\n public double getVelocity()\n {\n final String funcName = \"getVelocity\";\n double velocity = encoder.getVelocity() * encoderSign / 60.0;\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%f\", velocity);\n }\n\n return velocity;\n }",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();"
] | [
"0.6731006",
"0.62173593",
"0.59880227",
"0.59539807",
"0.5927988",
"0.58811",
"0.5804211",
"0.5775957",
"0.577582",
"0.57536435",
"0.572091",
"0.5720509",
"0.567695",
"0.56736434",
"0.5646631",
"0.56196636",
"0.56159824",
"0.5589092",
"0.558729",
"0.558465",
"0.5558869",
"0.55525804",
"0.55496305",
"0.5533138",
"0.5532363",
"0.549537",
"0.5491384",
"0.548384",
"0.54837894",
"0.5483347",
"0.5482576",
"0.54770935",
"0.54529583",
"0.5443253",
"0.54287267",
"0.5390538",
"0.5388416",
"0.53848696",
"0.5383413",
"0.5383413",
"0.5376315",
"0.5374898",
"0.53624696",
"0.53577167",
"0.53566164",
"0.5350701",
"0.5348472",
"0.534789",
"0.5346773",
"0.5346204",
"0.5342324",
"0.5329213",
"0.53212297",
"0.532039",
"0.5319322",
"0.53175986",
"0.5316297",
"0.53084517",
"0.5303118",
"0.53030956",
"0.53017545",
"0.5298097",
"0.5293943",
"0.52859706",
"0.52859706",
"0.52859706",
"0.52859706",
"0.52746946",
"0.52739",
"0.52696085",
"0.52693987",
"0.52679926",
"0.5267922",
"0.5266659",
"0.52653986",
"0.52434134",
"0.52421075",
"0.5236212",
"0.52287585",
"0.52286345",
"0.52192795",
"0.52155864",
"0.5214549",
"0.52048",
"0.5203519",
"0.5201817",
"0.5194809",
"0.51925004",
"0.51906407",
"0.51900595",
"0.51900595",
"0.5187787",
"0.5185987",
"0.5183543",
"0.51781523",
"0.51781523",
"0.51781523",
"0.51781523",
"0.51781523",
"0.51781523"
] | 0.7700087 | 0 |
This method returns the rate of movement of the object in terms of meters per second. | public double getVelocity() {
return mV;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double metersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.METERS_PER_SECOND);\n\t}",
"protected float getMovementSpeed() {\r\n\t\tfloat speed = getSpeed();\r\n\t\treturn speed / 17f + (float) Math.pow(Math.sqrt(speed), 1.225f) * 0.985f;\r\n\t}",
"public double getCurrentSpeed();",
"public double getSpeed();",
"public double speed()\r\n {\r\n return speed;\r\n }",
"public double getMovespeed()\r\n\t{\r\n\t\treturn movespeed;\r\n\t}",
"public double getSpeed() {\n\t\tdouble speed = 0;\n\t\tfor (Motor motor : this) {\n\t\t\tspeed += motor.get();\n\t\t}\n\t\treturn speed / this.size();\n\t}",
"double getSpeed();",
"public double getSpeedPerFrame(){\r\n\t\treturn speed;\r\n\t}",
"public float getSpeed() {\n\t\tfloat result = (float) Math.sqrt(velocity.x * velocity.x + velocity.y * velocity.y);\n\t\treturn result;\n\t}",
"public double getMovementSpeed() {\n return movementSpeed;\n }",
"@Override\n public double speed() {\n \tif(Robot.drive.getDistance() > 120) {\n \t\treturn 0.2;\n \t}\n \treturn speed;\n }",
"public Double radiansPerSecond()\n\t{\n\t\treturn getValue(AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public double getCurrentSpeed(){\r\n return speed;\r\n }",
"public double getSpeed() {\r\n\t\treturn speed;\r\n\t}",
"public int getSpeed()\n {\n return (int) (getMovement().getLength() * 10);\n }",
"public int getMoveRate() {\n return moveRate;\r\n }",
"public float getWalkSpeed ( ) {\n\t\treturn extract ( handle -> handle.getWalkSpeed ( ) );\n\t}",
"public double getSpeed() {\n return speed;\n }",
"protected long travel() {\n\n return Math.round(((1 / Factory.VERTEX_PER_METER_RATIO) / (this.speed / 3.6)) * 1000);\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getSpeed() {\n return speed;\n }",
"public double getDistance() {\n\t\t// miles = miles/hr * s / (s/hr)\n\t\treturn (double)speed/10.0 * duration / 3600.0;\n\t}",
"public Double kilometersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.KILOMETERS_PER_SECOND);\n\t}",
"@Override\r\n\tpublic double getSpeed() {\n\t\treturn this.speed;\r\n\t}",
"public float getSpeed (){\n return speed;\n }",
"public float getSpeed() {\n return this.movementComposer.getSpeed();\n }",
"public abstract float getMovementPerTick();",
"public void calcSpeed() {\n double dist = 0;\n double time = 0;\n for (int i = 0; i < this.length() - 1; i++) {\n dist += get(i).distanceTo(get(i + 1));\n }\n// since it is known that 1ms between frames - calc number of frames * inter_frame_time\n time = (get(length() - 1).getTime() - get(0).getTime()) * INTER_FRAME_TIME;\n\n avgSpeed = dist / time;\n }",
"public double getSpeed() {\r\n\t\tif (this.base.equals(\"zombie\")) {\r\n\t\t\treturn speed;\r\n\t\t}\r\n\t\treturn 0;\r\n\t}",
"public double getCurrentSpeed(){\n return currentSpeed;\n }",
"public double getCurrentSpeed(){\n return currentSpeed;\n }",
"public float getSpeed() {\n return this.speedValue;\n }",
"public float getSpeed() {\n return speed;\n }",
"public float getSpeed() {\n return speed;\n }",
"@Override\n\tpublic int getMotorSpeed() {\n\t\tupdateIR();\n\t\treturn direction*360;\n\t}",
"public double getSpeed(){\r\n double Speed;\r\n Speed = (double)(Distance * TimeConversion)/(getMinutes() * SecondsConversion + getSeconds()); \r\n if ((getMinutes()==0) || (getSeconds() == 0)) {\r\n Speed =0;\r\n } //Closing bracket if statement\r\n return Speed;\r\n }",
"public double getSpeed() {\n return m_master.getEncoder().getVelocity() / MotorConstants.kNeoRPM;\n }",
"public float getSpeed()\n\t{\n\t\treturn speed;\n\t}",
"public abstract double getSpeed();",
"public float getSpeed()\n\t{\n\t\treturn this.speed;\n\t}",
"public float getSpeed()\n\t{\n\t\treturn this.speed;\n\t}",
"public abstract float getSecondsPerUpdate();",
"public Double millimetersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.MILLIMETERS_PER_SECOND);\n\t}",
"public double getRate() {\r\n\t\treturn (getRate(0)+getRate(1))/2.0;\r\n\t}",
"public float getSpeed() {\n\t\treturn speed;\n\t}",
"public double speed() {\n /* dx = sin(angle) * speed\n dy = cos(angle-180) * speed = -cos(angle)\n sqrt((dx)^2 + (-dy)^2 = sin(angle)^2*speed^2 + cos(angle)^2*speed^2)=\n sqrt(speed^2 *(cos(angle)^2+sin(angle)^2) = sqrt(speed^2*1)=speed\n */\n //distance math functions\n //to calculate the square root of the sum of squares of numbers passed to it as arguments.\n return Math.hypot(this.dx, this.dy);\n }",
"public int getMovespeed(){\n\t\treturn movespeed;\n\t}",
"public int getSpeed()\r\n\t{\n\t\treturn 90;\r\n\t}",
"double getRate();",
"@Override\n\t\tpublic int getSpeed() {\n\t\t\treturn i+30;\n\t\t}",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"double getHitRate();",
"double getHitRate();",
"double getAcceleration ();",
"private int speed() {\n final int slowfactor = 3;\n return speed * (cd.isSlow(curpos) ? slowfactor : 1);\n }",
"public int getSpeed() {\r\n return speed;\r\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed()\n\t{\n\t\treturn speed;\n\t}",
"public int delta()\r\n\t{\r\n\t\treturn smooth ? (resolution / fps) : duration;\r\n\t}",
"public int getSpeed(){\r\n\t\treturn speed;\r\n\t}",
"int getMortgageRate();",
"public int getSpeed() {\n\t\t\treturn 0;\n\t\t}",
"public int getSpeed() {\r\n\t\t\tlong elapsedTime = System.currentTimeMillis() - tStartTime;\r\n\t\t\t\r\n\t\t\t// Refresh cache every 5 secs & prevent fake speed when resume\r\n\t\t\tif (elapsedTime > 5000) {\r\n\t\t\t\tspeedRefresh();\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn Math.round(1000f * tDownloaded / elapsedTime);\r\n\t\t}",
"public Double micrometersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.MICROMETERS_PER_SECOND);\n\t}",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=30-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"public int getSpeed() {\n return speed;\n }",
"public int getSpeed() {\n return speed;\n }",
"public int getSpeed() {\n return speed;\n }",
"public int getSpeed() {\n return speed;\n }",
"public int getSpeed() {\n return speed;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n return speed_;\n }",
"public int getSpeed() {\n\t\treturn speed;\n\t}",
"public int getSpeed() {\n\t\treturn speed;\n\t}",
"public int getSpeed() {\n\t\treturn speed;\n\t}",
"private static float calculateStepRate(int stepCount) {\n\n return (float) stepCount / (float) secsPerMinute;\n\n }",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=20-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"@Override\n\t\tpublic int getSpeed() {\n\t\t\treturn i+20;\n\t\t}",
"public double getTurnRate() {\n return mDThetaDT;\n }",
"public float getFrameRate() { return 1000f/_interval; }",
"public int getWalkSpeed()\n{\n return walkSpeed;\n}",
"public int getSpeed() {\n return mSpeed;\n }",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=50-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"public float getFramesPerSecond() {\n return 1 / frametime;\n }"
] | [
"0.7200855",
"0.71750057",
"0.7123409",
"0.71166205",
"0.6981789",
"0.6966303",
"0.6963788",
"0.6962148",
"0.6946115",
"0.69246125",
"0.691217",
"0.6862157",
"0.6859558",
"0.684185",
"0.6805687",
"0.6789487",
"0.6778102",
"0.6767606",
"0.67673373",
"0.6756369",
"0.6752986",
"0.6752986",
"0.6752986",
"0.6752986",
"0.6728006",
"0.672644",
"0.67026067",
"0.66860104",
"0.6685588",
"0.6677752",
"0.66689223",
"0.6665428",
"0.66601074",
"0.66601074",
"0.6656528",
"0.6651262",
"0.6651262",
"0.6645264",
"0.66449887",
"0.664209",
"0.6640464",
"0.66326064",
"0.66305727",
"0.66305727",
"0.662019",
"0.66187245",
"0.6617684",
"0.660099",
"0.6585043",
"0.6584595",
"0.6576585",
"0.6559086",
"0.6528597",
"0.6524254",
"0.6524254",
"0.6524254",
"0.6524254",
"0.6524254",
"0.6524254",
"0.6517139",
"0.6517139",
"0.65156",
"0.6491274",
"0.6485991",
"0.6482397",
"0.6482397",
"0.6482397",
"0.6482397",
"0.6482397",
"0.6482397",
"0.6481347",
"0.647959",
"0.6468156",
"0.6466532",
"0.64636356",
"0.64574975",
"0.6453456",
"0.64420694",
"0.64376557",
"0.64376557",
"0.64376557",
"0.64376557",
"0.64376557",
"0.6425855",
"0.6425855",
"0.6425855",
"0.6425855",
"0.6425855",
"0.6425855",
"0.64180636",
"0.64180636",
"0.64180636",
"0.64144015",
"0.6407227",
"0.64044785",
"0.64013517",
"0.6386256",
"0.6378244",
"0.63708436",
"0.635926",
"0.6358344"
] | 0.0 | -1 |
This method returns the rate of turn in terms of Radians per second. | public double getTurnRate() {
return mDThetaDT;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getTurnRate() {\n return m_gyro.getRate() * (DriveConstants.kGyroReversed ? -1.0 : 1.0);\n }",
"public Double radiansPerSecond()\n\t{\n\t\treturn getValue(AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public double getRate() {\r\n\t\treturn (getRate(0)+getRate(1))/2.0;\r\n\t}",
"double getRate();",
"public Double degreePerSecond()\n\t{\n\t\treturn getValue(AngularVelocityUnit.DEGREES_PER_SEC);\n\t}",
"public double getSwitchSuccessRate() {\n if (total_switched == 0)\n return 0;\n return (double) won_switched / total_switched * 100;\n }",
"@Override\n\tpublic double calRate() {\n\t\treturn 0.9f;\n\t}",
"@Override\n public int calculerPerimetre() {\n return (int)(rayon * 2 * Math.PI);\n }",
"public double calculateRate() {\n\t\tdouble rate = 0;\n\t\tfor (int i = 0; i < upgrades.size(); i++) {\n\t\t\trate += upgrades.get(i).getProduction();\n\t\t}\n\t\tbrain.setRate(rate);\n\t\treturn rate;\n\t}",
"double getPWMRate();",
"public void radiansPerSecond(Double val)\n\t{\n\t\tsetValue(val, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public double perimetre()\n\t{\n\t\treturn 2*Math.PI*rayon;\n\t}",
"private static double getWinRate() {\n\t\treturn winRate ;\n\t}",
"public double getRate() {\n\t\treturn rate;\n\t}",
"public double getRate() {\n return rate;\n }",
"public double getRate() {\n return rate;\n }",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=30-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"public double speed() {\n /* dx = sin(angle) * speed\n dy = cos(angle-180) * speed = -cos(angle)\n sqrt((dx)^2 + (-dy)^2 = sin(angle)^2*speed^2 + cos(angle)^2*speed^2)=\n sqrt(speed^2 *(cos(angle)^2+sin(angle)^2) = sqrt(speed^2*1)=speed\n */\n //distance math functions\n //to calculate the square root of the sum of squares of numbers passed to it as arguments.\n return Math.hypot(this.dx, this.dy);\n }",
"public float getRate() {\n\treturn durationStretch * nominalRate;\n }",
"public double getCurrentSpeed();",
"public float getRate() {\n\t\treturn rate;\n\t}",
"public float getCountRate() {\n return countMonitor.getRate();\n }",
"public int turnedDegree() {\n return (int) Math.round(rightMotor.getTachoCount() / TURN_RATIO);\n }",
"public double getSurvivalRate() {\n return 100 - (Math.round((double) deaths / (double) attempts * 100d));\n }",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=20-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"public double getSpeed(){\r\n double Speed;\r\n Speed = (double)(Distance * TimeConversion)/(getMinutes() * SecondsConversion + getSeconds()); \r\n if ((getMinutes()==0) || (getSeconds() == 0)) {\r\n Speed =0;\r\n } //Closing bracket if statement\r\n return Speed;\r\n }",
"public int getRate() {\n return rate_;\n }",
"@Override\n\tpublic float calculateRunRate() {\n\t\tint remaingrun=Math.abs((super.getTarget()-super.getCurrentscore()));\n\t\tfloat remaingOver=50-super.getCurrentover();\n\t\treturn remaingrun/remaingOver;\n\t}",
"private static float calculateStepRate(int stepCount) {\n\n return (float) stepCount / (float) secsPerMinute;\n\n }",
"double getTransRate();",
"public float getRate(){\r\n return rate;\r\n }",
"int getMortgageRate();",
"public Double getConversionRateManyPerClick() {\r\n return conversionRateManyPerClick;\r\n }",
"public int getRate() {\n return rate_;\n }",
"public int getSpeed()\r\n\t{\n\t\treturn 90;\r\n\t}",
"double getSpeed();",
"private double toRotationsPerSecond(int encoderPulsesPer100ms) {\n return (double)encoderPulsesPer100ms * 10 / m_encoderResolution;\n }",
"public double getConversionRate() {\n return conversionRate;\n }",
"public float perimetro(){\r\n return 2*(float)Math.PI*radio;\r\n }",
"public Rate rate() {\n _initialize();\n return rate;\n }",
"public double getSpeed();",
"public double getRightRate() {\n return rightEnc.getRate();\n }",
"public static double centiMetresPerSecondToMetrePerSecond(double num) { return (num/100); }",
"public void calcSpeed(){\r\n Random rand = new Random();\r\n tire = rand.nextInt(10)+1;\r\n engine = rand.nextInt(10)+1;\r\n weight = rand.nextInt(10)+1;\r\n speed = ((double)(tire+engine+weight))/3;\r\n\r\n //round speed to 2 decimal places\r\n speed = speed*100;\r\n speed = Math.round(speed);\r\n speed = speed/100;\r\n }",
"public double getCredits() {\n\n return Math.round(this.credits * 100.0) / 100.0;\n }",
"@Override\n\tpublic int getMotorSpeed() {\n\t\tupdateIR();\n\t\treturn direction*360;\n\t}",
"private double calculaPerimetro(){\r\n double perimetro;\r\n perimetro=(float) ((2*(cir.getY()-cir.getX()))*Math.PI);\r\n return perimetro;\r\n }",
"double getPerimetro();",
"public double readClock()\n {\n\tif (frameByFrameClock) {\n\t return frameNumber * (1/30.0f);\n\t} else {\n\t long elapsed;\n\t \n\t if (drawAnimation.value) {\n\t\t// Time during animation\n\t\telapsed = System.currentTimeMillis() - startTime;\n\t } else {\n\t\t// Time during pause\n\t\telapsed = pauseTime - startTime;\n\t }\n\t \n\t return elapsed / 1000.0f;\n\t}\n }",
"protected double getDataRate() {\n\t\treturn (double) getThroughput() / (double) getElapsedTime();\n\t}",
"int getMPPerSecond();",
"public static AngularVelocity newRadiansPerSecondValue()\n\t{\n\t\treturn new AngularVelocity(0.0, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}",
"public double getSpeedPerFrame(){\r\n\t\treturn speed;\r\n\t}",
"public Double metersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.METERS_PER_SECOND);\n\t}",
"@Override\n public double salario() {\n return 2600 * 1.10;\n }",
"public float getFramesPerSecond() {\n return 1 / frametime;\n }",
"public double getAsDouble() {\n if (totalAttempts == 0) {\n return 0;\n }\n return (double) correctAttempts / totalAttempts;\n }",
"public double getTurnAngle() {\n return getTurnAngle(turnEncoder.getCount());\n }",
"public Double micrometersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.MICROMETERS_PER_SECOND);\n\t}",
"public int getRatePerSqFeet() {\n if (hasWifi == true)\n return ratePerSqFeet + 2;\n else\n return ratePerSqFeet;\n }",
"int getSmpRate();",
"public final int getRotationRate() {\r\n return rotationRate;\r\n }",
"public Double getReturnRate() {\r\n return returnRate;\r\n }",
"public SpeedAndTurnRate(\n final double aVelocity,\n final double aRateOfTurn) {\n mV = aVelocity;\n mDThetaDT = aRateOfTurn;\n }",
"public double getReturnRate() {\n return returnRate;\n }",
"public double calcularPerimetro() {\n\t\treturn 2 * (base + altura);\n\t}",
"public static double cal(final int ratePerHrs, final int totalHrs){\n\tfinal double cal= ratePerHrs*totalHrs;\n\treturn cal;\n}",
"public final int getRefreshRate() {\r\n return settings.getRefreshRate();\r\n }",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"int getSpeed();",
"public int getMoveRate() {\n return moveRate;\r\n }",
"public void updateRate(double r){\r\n rate *= r;\r\n }",
"float getVacationAccrualRate();",
"public Integer getRate() {\r\n return rate;\r\n }",
"public Double getTime() {\n\t\treturn new Double((double) length * 36) / ((((double) speed) * 100));\n\t}",
"public double getRotRms() {\n\t\treturn 3600.0 * Math.sqrt(1000.0 * rotInt / (double) (updateTimeStamp - startTime));\n\t}",
"public float perimetro() {\n return (lado * 2 + base);\r\n }",
"public long getTrialSpeed() {\r\n\t return this.pTrialTimeSpeed;\r\n\t}",
"public double updatePeriodic()\n {\n double Angle = getRawAngle();\n\n if (FirstCall)\n {\n AngleAverage = Angle;\n }\n\n AngleAverage -= AngleAverage / NumAvgSamples;\n AngleAverage += Angle / NumAvgSamples;\n\n return (AngleAverage);\n }",
"public int getSpeed() {\r\n\t\t\tlong elapsedTime = System.currentTimeMillis() - tStartTime;\r\n\t\t\t\r\n\t\t\t// Refresh cache every 5 secs & prevent fake speed when resume\r\n\t\t\tif (elapsedTime > 5000) {\r\n\t\t\t\tspeedRefresh();\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn Math.round(1000f * tDownloaded / elapsedTime);\r\n\t\t}",
"public static float rate(float x, float y) {\n float res = (x / y);\n logger.info(\"rate = {}\", res);\n return res;\n }",
"public double radians() {\n return Math.toRadians(this.degrees);\n }",
"private Double calculateRate(TSDBData tsdbData) {\n logger.trace(\"BEGIN Double calculateRate(TSDBData tsdbData)\");\n int rateIndex;\n int rateDataPoints;\n Double rate = 0.0;\n ArrayList dataPointsArray;\n\n rateIndex = tsdbData.getColumns().indexOf(\"rate\");\n rateDataPoints = tsdbData.getPoints().size();\n for (int i = 0; i < tsdbData.getPoints().size(); i++) {\n dataPointsArray = tsdbData.getPoints().get(i);\n rate = rate + Double.parseDouble(dataPointsArray.get(rateIndex) + \"\");\n }\n logger.trace(\"DATA Double calculateRate(TSDBData tsdbData): rate=\" + rate);\n rate = rate / tsdbData.getPoints().size();\n logger.trace(\"END Double calculateRate(TSDBData tsdbData)\");\n return rate;\n }",
"public float getSpeed() {\n\t\tfloat result = (float) Math.sqrt(velocity.x * velocity.x + velocity.y * velocity.y);\n\t\treturn result;\n\t}",
"public static double doAvgTurnAroundTime() {\n if (count >= 1) {\n return turnaroundTimeTotal / count;\n } else {\n return -1;\n }\n }",
"public double getRps() {\n double deltaTimeInSec = (currSampleTimeInMillis - lastSampleTimeInMillis) / 1000.0;\n double deltaPostion = Math.abs(currPositionInTicks - lastPositionInTicks);\n double ticksPerSecond = deltaPostion / deltaTimeInSec;\n double rps = ticksPerSecond / ticksPerRevolution;\n return rps;\n }",
"public double toMetersPerSecond(){\n\t\tdouble mps = mph * 1609.34/3600;\n\t\treturn mps;\n\t}",
"@DefaultFloat(1.497f / 60.0f * 3.6f * 1.33f * 34.0f / 19.0f)\n float crankSpeedRatio();",
"public float getFrameRate() { return 1000f/_interval; }",
"public int tickRate(World p_149738_1_) {\n\t\treturn 2;\n\t}",
"public Double kilometersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.KILOMETERS_PER_SECOND);\n\t}",
"@Override\n public int getRatePerSqFeet() {\n if (hasWifi == true)\n return ratePerSqFeet + 2;\n else\n return ratePerSqFeet;\n }",
"public double speed()\r\n {\r\n return speed;\r\n }",
"public double tradeRate()\n\t{\n\t\treturn _dblTradeRate;\n\t}",
"public double getAverageRate() {\n return (leftEnc.getRate() + rightEnc.getRate()) / 2;\n }",
"public float getSpeechRate() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n return Float.valueOf(preferences.getString(\"speech_rate\", \"\"));\n }"
] | [
"0.7516819",
"0.7479482",
"0.7237877",
"0.7037524",
"0.69464314",
"0.6666447",
"0.66644853",
"0.6536479",
"0.6511967",
"0.6485294",
"0.6441571",
"0.64366496",
"0.6340269",
"0.63123554",
"0.6283496",
"0.6283496",
"0.6263019",
"0.6261768",
"0.6247555",
"0.62339747",
"0.6233481",
"0.6207221",
"0.6202515",
"0.619504",
"0.6194665",
"0.61904335",
"0.6174303",
"0.61634773",
"0.6162704",
"0.6160668",
"0.6149222",
"0.6148171",
"0.6118986",
"0.6118318",
"0.61042815",
"0.61039424",
"0.6102754",
"0.6098246",
"0.6087456",
"0.60759616",
"0.6058315",
"0.6050889",
"0.60447645",
"0.6031433",
"0.6021191",
"0.6015902",
"0.60133046",
"0.59893155",
"0.5983539",
"0.5964801",
"0.59460497",
"0.59405327",
"0.5937945",
"0.5934973",
"0.5931897",
"0.5924251",
"0.59181243",
"0.58987755",
"0.5898118",
"0.5890098",
"0.58899885",
"0.5889694",
"0.5887046",
"0.5884556",
"0.5882576",
"0.5880739",
"0.58786434",
"0.58736455",
"0.5866993",
"0.5866993",
"0.5866993",
"0.5866993",
"0.5866993",
"0.5866993",
"0.58656645",
"0.5864743",
"0.5849858",
"0.58480537",
"0.5847756",
"0.5846074",
"0.5835804",
"0.58357394",
"0.58307946",
"0.5819448",
"0.5818604",
"0.58174044",
"0.58141565",
"0.58090353",
"0.5781483",
"0.57803434",
"0.5780198",
"0.5779617",
"0.5779457",
"0.57714075",
"0.5771284",
"0.5770123",
"0.5768049",
"0.57653177",
"0.5761442",
"0.57552046"
] | 0.74143 | 2 |
Created by s0c00q3 on 2017/3/20. | @Mapper
public interface PermissionDao {
int addPermission(SystemPermission permission);
int delPermission(int id);
int updatePermission(SystemPermission permission);
SystemPermission getPermissionById(int id);
List<SystemPermission> getPermissionListByRoleId(int rid);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"public void mo38117a() {\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n void init() {\n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n public void init() {\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"Petunia() {\r\n\t\t}",
"@Override\n protected void initialize() \n {\n \n }",
"private void poetries() {\n\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\n public void memoria() {\n \n }",
"public Pitonyak_09_02() {\r\n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"public void gored() {\n\t\t\n\t}",
"private void init() {\n\n\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"private TMCourse() {\n\t}",
"@Override\n public void init() {}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"public void mo6081a() {\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"private void m50366E() {\n }",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\n public void initialize() { \n }",
"private void kk12() {\n\n\t}",
"@Override\r\n\tpublic void init() {}",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n protected void getExras() {\n }",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void initialize() {\n \n }",
"@Override\n public void initialize() {}",
"@Override\n public void initialize() {}",
"@Override\n public void initialize() {}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"private UsineJoueur() {}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"private MetallicityUtils() {\n\t\t\n\t}",
"Consumable() {\n\t}",
"@Override\n\tpublic void init() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public final void mo91715d() {\n }"
] | [
"0.6174187",
"0.6123039",
"0.5824198",
"0.58057183",
"0.57848185",
"0.57738775",
"0.57738775",
"0.5746904",
"0.573037",
"0.57258224",
"0.56926626",
"0.56781554",
"0.56538886",
"0.5649301",
"0.5634772",
"0.5613064",
"0.5613064",
"0.5612024",
"0.55988395",
"0.5574078",
"0.55739963",
"0.5567931",
"0.55476594",
"0.5529477",
"0.5529477",
"0.5529477",
"0.5529477",
"0.5529477",
"0.5529477",
"0.5528854",
"0.5528658",
"0.5528452",
"0.55228657",
"0.5520032",
"0.55175775",
"0.5513727",
"0.55125237",
"0.55011845",
"0.5482457",
"0.5476665",
"0.5474229",
"0.5467104",
"0.5466428",
"0.5455888",
"0.5442184",
"0.54413086",
"0.54413086",
"0.54413086",
"0.54413086",
"0.54413086",
"0.5422258",
"0.54201734",
"0.541976",
"0.5414623",
"0.5409675",
"0.5401586",
"0.53999805",
"0.53928745",
"0.53928745",
"0.53924966",
"0.5383733",
"0.53795356",
"0.53795356",
"0.53747684",
"0.53658295",
"0.53658295",
"0.53658295",
"0.5363387",
"0.53581154",
"0.5354819",
"0.5352682",
"0.5351591",
"0.5335843",
"0.53357327",
"0.5324477",
"0.5324477",
"0.5324477",
"0.5324477",
"0.5324477",
"0.5324477",
"0.5324477",
"0.53217065",
"0.53212637",
"0.5315467",
"0.5313766",
"0.53135103",
"0.53135103",
"0.53135103",
"0.5311865",
"0.5311865",
"0.5311865",
"0.5306566",
"0.5299198",
"0.5299198",
"0.5299198",
"0.52901953",
"0.5286628",
"0.5275972",
"0.5262779",
"0.525779",
"0.5250565"
] | 0.0 | -1 |
Author: Inno Fang Time: 2016/12/27 21:17 Description: | public interface PermissionListener {
void onGranted(); //授权
void onDenied(List<String> deniedPermission); //拒绝 ,并传入被拒绝的权限
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo4359a() {\n }",
"public void mo21877s() {\n }",
"public void mo38117a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo6081a() {\n }",
"public void mo21785J() {\n }",
"public static void listing5_14() {\n }",
"public void mo12930a() {\n }",
"public void mo21878t() {\n }",
"public void mo21795T() {\n }",
"public void mo21794S() {\n }",
"public void mo21783H() {\n }",
"public void mo21779D() {\n }",
"public static void shoInfo() {\n\t\tSystem.out.println(description);\n\t \n\t}",
"public void autoDetails() {\n\t\t\r\n\t}",
"public void mo21793R() {\n }",
"public void mo3376r() {\n }",
"public void mo5382o() {\n }",
"public static void listing5_16() {\n }",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"public void mo1531a() {\n }",
"public void mo21782G() {\n }",
"private void strin() {\n\n\t}",
"public final void mo51373a() {\n }",
"public void mo97908d() {\n }",
"public void mo21791P() {\n }",
"public void mo21789N() {\n }",
"private stendhal() {\n\t}",
"public void mo3749d() {\n }",
"public void mo21792Q() {\n }",
"public static void listing5_15() {\n }",
"public void mo44053a() {\n }",
"public void mo21825b() {\n }",
"private static void cajas() {\n\t\t\n\t}",
"public void mo21784I() {\n }",
"@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }",
"public void mo21879u() {\n }",
"public void mo115188a() {\n }",
"public void mo9848a() {\n }",
"public void mo21787L() {\n }",
"public void mo12628c() {\n }",
"static void feladat9() {\n\t}",
"public void mo21781F() {\n }",
"public void mo2471e() {\n }",
"private void kk12() {\n\n\t}",
"public void mo21788M() {\n }",
"public void mo21780E() {\n }",
"public void mo2470d() {\n }",
"private void m50366E() {\n }",
"public void mo56167c() {\n }",
"public void mo21880v() {\n }",
"public void mo115190b() {\n }",
"public static String getInfo() {\n/* 327 */ return \"\";\n/* */ }",
"@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"static void feladat7() {\n\t}",
"void mo17013d();",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"public void mo3370l() {\n }",
"public static void main(String args[]) throws Exception\n {\n \n \n \n }",
"public void mo21786K() {\n }",
"public void mo5248a() {\n }",
"@Override\n public void perish() {\n \n }",
"public void mo9233aH() {\n }",
"@Override\r\n\tpublic void description() {\n\t\tSystem.out.println(\"Seorang yang mengendarai kendaraan dan bekerja\");\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"void mo21073d();",
"public void mo9241ay() {\n }",
"public void skystonePos6() {\n }",
"protected void mo6255a() {\n }",
"private void getStatus() {\n\t\t\n\t}",
"public final void mo91715d() {\n }",
"public static void main(String[] args) {\n StringBuffer content = new StringBuffer();\n content.append(\"hi all:\");\n content.append(\"\\n\");\n content.append(\" 附件是\");\n Date cur = new Date();\n\n\n content.append(getDateByFormat(cur,\"MM\") + \"月\"+getDateByFormat(cur,\"dd\")+\"日\");\n content.append(\"oneday项目pv/uv\");\n\n System.out.println(content.toString());\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"static void feladat5() {\n\t}",
"public void mo23813b() {\n }",
"public void mo6944a() {\n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override \n\t public String getDescription() {\n\t \t return \"(*.MXD)\"; \n\t }",
"@Override\n public void date()\n {\n }",
"public void method_4270() {}",
"void mo1507n();",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"static void feladat6() {\n\t}",
"public void mo9137b() {\n }",
"void kiemTraThangHopLi() {\n }",
"public void mo1403c() {\n }",
"public void m23075a() {\n }",
"public void skystonePos5() {\n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"public void mo1405e() {\n }",
"public void mo97906c() {\n }",
"static void feladat4() {\n\t}"
] | [
"0.60863113",
"0.6079755",
"0.6049438",
"0.59770066",
"0.5963829",
"0.5963829",
"0.5963829",
"0.5963829",
"0.5963829",
"0.5963829",
"0.5963829",
"0.5958013",
"0.5953388",
"0.593482",
"0.5912812",
"0.59112513",
"0.5898005",
"0.58875495",
"0.58593297",
"0.5851935",
"0.5850922",
"0.58272594",
"0.58179885",
"0.58149385",
"0.57987773",
"0.5791371",
"0.578809",
"0.57793164",
"0.5777714",
"0.57674026",
"0.57671344",
"0.57657576",
"0.5764091",
"0.57611305",
"0.57371074",
"0.57262594",
"0.5723173",
"0.57035536",
"0.56991327",
"0.56768626",
"0.5676291",
"0.56714696",
"0.56577635",
"0.5639507",
"0.56354266",
"0.5630553",
"0.562951",
"0.56257343",
"0.56228083",
"0.56177336",
"0.56121886",
"0.56031376",
"0.56024873",
"0.5592177",
"0.55920243",
"0.55821466",
"0.5567288",
"0.5565408",
"0.55627614",
"0.55536544",
"0.5545861",
"0.55426097",
"0.5539782",
"0.5539368",
"0.5531852",
"0.55234635",
"0.5522719",
"0.552178",
"0.5518034",
"0.5507909",
"0.5507476",
"0.5505283",
"0.5498077",
"0.5487236",
"0.548447",
"0.54731315",
"0.54725385",
"0.5466679",
"0.5464534",
"0.5460679",
"0.54509914",
"0.54483205",
"0.5447256",
"0.5445192",
"0.5442868",
"0.5442868",
"0.5441235",
"0.5432576",
"0.54324126",
"0.5431462",
"0.54279256",
"0.54255044",
"0.5417302",
"0.541422",
"0.5411685",
"0.5411626",
"0.54103786",
"0.54096043",
"0.5404691",
"0.5400189",
"0.5387609"
] | 0.0 | -1 |
/ JADX WARNING: Removed duplicated region for block: B:15:0x0027 A[SYNTHETIC, Splitter:B:15:0x0027] / JADX WARNING: Removed duplicated region for block: B:22:0x0034 A[SYNTHETIC, Splitter:B:22:0x0034] / JADX WARNING: Removed duplicated region for block: B:34:? A[RETURN, SYNTHETIC] / Code decompiled incorrectly, please refer to instructions dump. | public static void sync() {
/*
int r0 = android.os.Build.VERSION.SDK_INT
r1 = 24
if (r0 >= r1) goto L_0x001f
java.io.File r0 = new java.io.File
java.lang.String r1 = mStrPath
r0.<init>(r1)
r2 = 0
java.io.FileInputStream r1 = new java.io.FileInputStream // Catch:{ Exception -> 0x0020, all -> 0x0030 }
r1.<init>(r0) // Catch:{ Exception -> 0x0020, all -> 0x0030 }
java.io.FileDescriptor r0 = r1.getFD() // Catch:{ Exception -> 0x0044 }
r0.sync() // Catch:{ Exception -> 0x0044 }
if (r1 == 0) goto L_0x001f
r1.close() // Catch:{ Exception -> 0x003d }
L_0x001f:
return
L_0x0020:
r0 = move-exception
r1 = r2
L_0x0022:
r0.printStackTrace() // Catch:{ all -> 0x0042 }
if (r1 == 0) goto L_0x001f
r1.close() // Catch:{ Exception -> 0x002b }
goto L_0x001f
L_0x002b:
r0 = move-exception
r0.printStackTrace()
goto L_0x001f
L_0x0030:
r0 = move-exception
r1 = r2
L_0x0032:
if (r1 == 0) goto L_0x0037
r1.close() // Catch:{ Exception -> 0x0038 }
L_0x0037:
throw r0
L_0x0038:
r1 = move-exception
r1.printStackTrace()
goto L_0x0037
L_0x003d:
r0 = move-exception
r0.printStackTrace()
goto L_0x001f
L_0x0042:
r0 = move-exception
goto L_0x0032
L_0x0044:
r0 = move-exception
goto L_0x0022
*/
throw new UnsupportedOperationException("Method not decompiled: com.syu.util.MySharePreference.sync():void");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }",
"public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }",
"private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }",
"@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }",
"public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();\r\n \t\tfor (Object cell2 : cells) {\r\n \t\t\tif (cell2 instanceof JmtCell && ((JmtCell) cell2).parentChanged()) {\r\n \t\t\t\t// This cell was moved in, out or between blocking regions\r\n \t\t\t\tJmtCell cell = (JmtCell) cell2;\r\n \t\t\t\tObject key = ((CellComponent) cell.getUserObject()).getKey();\r\n \t\t\t\tObject oldRegionKey, newRegionKey;\r\n \t\t\t\tif (!(cell.getParent() instanceof BlockingRegion)) {\r\n \t\t\t\t\t// Object removed from blocking region\r\n \t\t\t\t\tputBack.add(cell2);\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Allow adding of removed objects to a new blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(true);\r\n \t\t\t\t} else if (cell.getPrevParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t// Object changed blocking region\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tmodel.addRegionStation(newRegionKey, key);\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Object added to a blocking region\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tif (!model.addRegionStation(newRegionKey, key)) {\r\n \t\t\t\t\t\t// object cannot be added to blocking region (for\r\n \t\t\t\t\t\t// example it's a source)\r\n \t\t\t\t\t\tcell.removeFromParent();\r\n \t\t\t\t\t\tgraph.getModel().insert(new Object[] { cell }, null, null, null, null);\r\n \t\t\t\t\t\tputBack.add(cell);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Doesn't allow adding of selected objects to a new\r\n \t\t\t\t\t// blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(false);\r\n \t\t\t\t}\r\n \t\t\t\t// Resets parent for this cell\r\n \t\t\t\tcell.resetParent();\r\n \t\t\t}\r\n \t\t\t// Avoid insertion of a blocking region in an other\r\n \t\t\telse if (cell2 instanceof BlockingRegion) {\r\n \t\t\t\tBlockingRegion region = (BlockingRegion) cell2;\r\n \t\t\t\tif (region.getParent() != null) {\r\n \t\t\t\t\tregion.removeFromParent();\r\n \t\t\t\t\tgraph.getModel().insert(new Object[] { region }, null, null, null, null);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Puts cells removed from blocking regiont on background\r\n \t\tgraph.getModel().toBack(putBack.toArray());\r\n \t}",
"private void b()\r\n/* 67: */ {\r\n/* 68: 73 */ this.c.clear();\r\n/* 69: 74 */ this.e.clear();\r\n/* 70: */ }",
"public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}",
"public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }",
"public synchronized void m6495a(int r6, int r7) throws fr.pcsoft.wdjava.geo.C0918i {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:fr.pcsoft.wdjava.geo.a.b.a(int, int):void. bs: [B:13:0x001d, B:18:0x0027, B:23:0x0031, B:28:0x003a, B:44:0x005d, B:55:0x006c, B:64:0x0079]\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:86)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/70807318.run(Unknown Source)\n*/\n /*\n r5 = this;\n r4 = 2;\n r1 = 0;\n r0 = 1;\n monitor-enter(r5);\n r5.m6487e();\t Catch:{ all -> 0x0053 }\n switch(r6) {\n case 2: goto L_0x0089;\n case 3: goto L_0x000a;\n case 4: goto L_0x0013;\n default: goto L_0x000a;\n };\t Catch:{ all -> 0x0053 }\n L_0x000a:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 3;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n L_0x0011:\n monitor-exit(r5);\n return;\n L_0x0013:\n r3 = new android.location.Criteria;\t Catch:{ all -> 0x0053 }\n r3.<init>();\t Catch:{ all -> 0x0053 }\n r2 = r7 & 2;\n if (r2 != r4) goto L_0x0058;\n L_0x001c:\n r2 = 1;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0056 }\n L_0x0020:\n r2 = r7 & 128;\n r4 = 128; // 0x80 float:1.794E-43 double:6.32E-322;\n if (r2 != r4) goto L_0x0065;\n L_0x0026:\n r2 = 3;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0063 }\n L_0x002a:\n r2 = r7 & 8;\n r4 = 8;\n if (r2 != r4) goto L_0x007f;\n L_0x0030:\n r2 = r0;\n L_0x0031:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0081 }\n r2 = r7 & 4;\n r4 = 4;\n if (r2 != r4) goto L_0x0083;\n L_0x0039:\n r2 = r0;\n L_0x003a:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0085 }\n r2 = r7 & 16;\n r4 = 16;\n if (r2 != r4) goto L_0x0087;\n L_0x0043:\n r3.setAltitudeRequired(r0);\t Catch:{ all -> 0x0053 }\n r0 = 0;\t Catch:{ all -> 0x0053 }\n r0 = r5.m6485a(r0);\t Catch:{ all -> 0x0053 }\n r1 = 1;\t Catch:{ all -> 0x0053 }\n r0 = r0.getBestProvider(r3, r1);\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n L_0x0053:\n r0 = move-exception;\n monitor-exit(r5);\n throw r0;\n L_0x0056:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0058:\n r2 = r7 & 1;\n if (r2 != r0) goto L_0x0020;\n L_0x005c:\n r2 = 2;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0061 }\n goto L_0x0020;\n L_0x0061:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0063:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0065:\n r2 = r7 & 64;\n r4 = 64;\n if (r2 != r4) goto L_0x0072;\n L_0x006b:\n r2 = 2;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0070 }\n goto L_0x002a;\n L_0x0070:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0072:\n r2 = r7 & 32;\n r4 = 32;\n if (r2 != r4) goto L_0x002a;\n L_0x0078:\n r2 = 1;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x007d }\n goto L_0x002a;\n L_0x007d:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x007f:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0031;\t Catch:{ all -> 0x0053 }\n L_0x0081:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0083:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x003a;\t Catch:{ all -> 0x0053 }\n L_0x0085:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0087:\n r0 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0043;\t Catch:{ all -> 0x0053 }\n L_0x0089:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 2;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: fr.pcsoft.wdjava.geo.a.b.a(int, int):void\");\n }",
"public void a()\r\n/* 49: */ {\r\n/* 50: 64 */ HashSet<BlockPosition> localHashSet = Sets.newHashSet();\r\n/* 51: */ \r\n/* 52: 66 */ int m = 16;\r\n/* 53: 67 */ for (int n = 0; n < 16; n++) {\r\n/* 54: 68 */ for (int i1 = 0; i1 < 16; i1++) {\r\n/* 55: 69 */ for (int i2 = 0; i2 < 16; i2++) {\r\n/* 56: 70 */ if ((n == 0) || (n == 15) || (i1 == 0) || (i1 == 15) || (i2 == 0) || (i2 == 15))\r\n/* 57: */ {\r\n/* 58: 74 */ double d1 = n / 15.0F * 2.0F - 1.0F;\r\n/* 59: 75 */ double d2 = i1 / 15.0F * 2.0F - 1.0F;\r\n/* 60: 76 */ double d3 = i2 / 15.0F * 2.0F - 1.0F;\r\n/* 61: 77 */ double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 62: */ \r\n/* 63: 79 */ d1 /= d4;\r\n/* 64: 80 */ d2 /= d4;\r\n/* 65: 81 */ d3 /= d4;\r\n/* 66: */ \r\n/* 67: 83 */ float f2 = this.i * (0.7F + this.d.rng.nextFloat() * 0.6F);\r\n/* 68: 84 */ double d6 = this.e;\r\n/* 69: 85 */ double d8 = this.f;\r\n/* 70: 86 */ double d10 = this.g;\r\n/* 71: */ \r\n/* 72: 88 */ float f3 = 0.3F;\r\n/* 73: 89 */ while (f2 > 0.0F)\r\n/* 74: */ {\r\n/* 75: 90 */ BlockPosition localdt = new BlockPosition(d6, d8, d10);\r\n/* 76: 91 */ Block localbec = this.d.getBlock(localdt);\r\n/* 77: 93 */ if (localbec.getType().getMaterial() != Material.air)\r\n/* 78: */ {\r\n/* 79: 94 */ float f4 = this.h != null ? this.h.a(this, this.d, localdt, localbec) : localbec.getType().a((Entity)null);\r\n/* 80: 95 */ f2 -= (f4 + 0.3F) * 0.3F;\r\n/* 81: */ }\r\n/* 82: 98 */ if ((f2 > 0.0F) && ((this.h == null) || (this.h.a(this, this.d, localdt, localbec, f2)))) {\r\n/* 83: 99 */ localHashSet.add(localdt);\r\n/* 84: */ }\r\n/* 85:102 */ d6 += d1 * 0.300000011920929D;\r\n/* 86:103 */ d8 += d2 * 0.300000011920929D;\r\n/* 87:104 */ d10 += d3 * 0.300000011920929D;\r\n/* 88:105 */ f2 -= 0.225F;\r\n/* 89: */ }\r\n/* 90: */ }\r\n/* 91: */ }\r\n/* 92: */ }\r\n/* 93: */ }\r\n/* 94:111 */ this.j.addAll(localHashSet);\r\n/* 95: */ \r\n/* 96:113 */ float f1 = this.i * 2.0F;\r\n/* 97: */ \r\n/* 98:115 */ int i1 = MathUtils.floor(this.e - f1 - 1.0D);\r\n/* 99:116 */ int i2 = MathUtils.floor(this.e + f1 + 1.0D);\r\n/* 100:117 */ int i3 = MathUtils.floor(this.f - f1 - 1.0D);\r\n/* 101:118 */ int i4 = MathUtils.floor(this.f + f1 + 1.0D);\r\n/* 102:119 */ int i5 = MathUtils.floor(this.g - f1 - 1.0D);\r\n/* 103:120 */ int i6 = MathUtils.floor(this.g + f1 + 1.0D);\r\n/* 104:121 */ List<Entity> localList = this.d.b(this.h, new AABB(i1, i3, i5, i2, i4, i6));\r\n/* 105:122 */ Vec3 localbrw = new Vec3(this.e, this.f, this.g);\r\n/* 106:124 */ for (int i7 = 0; i7 < localList.size(); i7++)\r\n/* 107: */ {\r\n/* 108:125 */ Entity localwv = (Entity)localList.get(i7);\r\n/* 109:126 */ if (!localwv.aV())\r\n/* 110: */ {\r\n/* 111:129 */ double d5 = localwv.f(this.e, this.f, this.g) / f1;\r\n/* 112:131 */ if (d5 <= 1.0D)\r\n/* 113: */ {\r\n/* 114:132 */ double d7 = localwv.xPos - this.e;\r\n/* 115:133 */ double d9 = localwv.yPos + localwv.getEyeHeight() - this.f;\r\n/* 116:134 */ double d11 = localwv.zPos - this.g;\r\n/* 117: */ \r\n/* 118:136 */ double d12 = MathUtils.sqrt(d7 * d7 + d9 * d9 + d11 * d11);\r\n/* 119:137 */ if (d12 != 0.0D)\r\n/* 120: */ {\r\n/* 121:141 */ d7 /= d12;\r\n/* 122:142 */ d9 /= d12;\r\n/* 123:143 */ d11 /= d12;\r\n/* 124: */ \r\n/* 125:145 */ double d13 = this.d.a(localbrw, localwv.getAABB());\r\n/* 126:146 */ double d14 = (1.0D - d5) * d13;\r\n/* 127:147 */ localwv.receiveDamage(DamageSource.a(this), (int)((d14 * d14 + d14) / 2.0D * 8.0D * f1 + 1.0D));\r\n/* 128: */ \r\n/* 129:149 */ double d15 = EnchantmentProtection.a(localwv, d14);\r\n/* 130:150 */ localwv.xVelocity += d7 * d15;\r\n/* 131:151 */ localwv.yVelocity += d9 * d15;\r\n/* 132:152 */ localwv.zVelocity += d11 * d15;\r\n/* 133:154 */ if ((localwv instanceof EntityPlayer)) {\r\n/* 134:155 */ this.k.put((EntityPlayer)localwv, new Vec3(d7 * d14, d9 * d14, d11 * d14));\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139: */ }\r\n/* 140: */ }",
"void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }",
"public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}",
"@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }",
"private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }",
"public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }",
"public abstract void removeBlock();",
"static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\t Catch:{ Exception -> 0x000a }\n r1 = \"battery_watcher\";\t Catch:{ Exception -> 0x000a }\n r2 = 0;\t Catch:{ Exception -> 0x000a }\n r0.delete(r1, r2, r2);\t Catch:{ Exception -> 0x000a }\n L_0x000a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.b():void\");\n }",
"public void cleanupOldBlocks (long threshTime) ;",
"private static void removeBreakPoint() {\n for (int i=1;i<=dvm.getSourceCodeLength();i++) {\n dvm.setBreakPoint(i-1, false);\n }\n }",
"@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }",
"@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }",
"public void run() {\n /*\n r8 = this;\n r1 = com.umeng.commonsdk.proguard.b.b;\t Catch:{ Throwable -> 0x00c9 }\n monitor-enter(r1);\t Catch:{ Throwable -> 0x00c9 }\n r0 = r8.a;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x0009:\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x000d:\n r0 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n if (r0 != 0) goto L_0x00c4;\n L_0x0013:\n r0 = 1;\n com.umeng.commonsdk.proguard.b.a = r0;\t Catch:{ all -> 0x00c6 }\n r0 = \"walle-crash\";\n r2 = 1;\n r2 = new java.lang.Object[r2];\t Catch:{ all -> 0x00c6 }\n r3 = 0;\n r4 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r4.<init>();\t Catch:{ all -> 0x00c6 }\n r5 = \"report thread is \";\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r5 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r4 = r4.toString();\t Catch:{ all -> 0x00c6 }\n r2[r3] = r4;\t Catch:{ all -> 0x00c6 }\n com.umeng.commonsdk.statistics.common.e.a(r0, r2);\t Catch:{ all -> 0x00c6 }\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n r0 = com.umeng.commonsdk.proguard.c.a(r0);\t Catch:{ all -> 0x00c6 }\n r2 = android.text.TextUtils.isEmpty(r0);\t Catch:{ all -> 0x00c6 }\n if (r2 != 0) goto L_0x00c4;\n L_0x0045:\n r2 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r3.getFilesDir();\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"stateless\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"umpx_internal\";\n r3 = r3.getBytes();\t Catch:{ all -> 0x00c6 }\n r4 = 0;\n r3 = android.util.Base64.encodeToString(r3, r4);\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r2 = r2.toString();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r4 = 10;\n com.umeng.commonsdk.stateless.f.a(r3, r2, r4);\t Catch:{ all -> 0x00c6 }\n r2 = new com.umeng.commonsdk.stateless.UMSLEnvelopeBuild;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r2.buildSLBaseHeader(r3);\t Catch:{ all -> 0x00c6 }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"content\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = \"ts\";\n r6 = java.lang.System.currentTimeMillis();\t Catch:{ JSONException -> 0x00cb }\n r4.put(r0, r6);\t Catch:{ JSONException -> 0x00cb }\n r0 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r0.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"crash\";\n r0.put(r5, r4);\t Catch:{ JSONException -> 0x00cb }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"tp\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = r8.a;\t Catch:{ JSONException -> 0x00cb }\n r5 = \"umpx_internal\";\n r0 = r2.buildSLEnvelope(r0, r3, r4, r5);\t Catch:{ JSONException -> 0x00cb }\n if (r0 == 0) goto L_0x00c4;\n L_0x00bc:\n r2 = \"exception\";\n r0 = r0.has(r2);\t Catch:{ JSONException -> 0x00cb }\n if (r0 != 0) goto L_0x00c4;\n L_0x00c4:\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n L_0x00c5:\n return;\n L_0x00c6:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n throw r0;\t Catch:{ Throwable -> 0x00c9 }\n L_0x00c9:\n r0 = move-exception;\n goto L_0x00c5;\n L_0x00cb:\n r0 = move-exception;\n goto L_0x00c4;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.umeng.commonsdk.proguard.bb.run():void\");\n }",
"public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }",
"protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public boolean willOverlap() {\n/* 208 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"void m5768b() throws C0841b;",
"@org.jetbrains.annotations.NotNull\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public static /* synthetic */ com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection copy$default(com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection r4, com.bitcoin.mwallet.core.models.slp.Slp r5, java.util.List<kotlin.ULong> r6, com.bitcoin.bitcoink.p008tx.Satoshis r7, com.bitcoin.bitcoink.p008tx.Satoshis r8, java.util.List<com.bitcoin.mwallet.core.models.p009tx.utxo.Utxo> r9, com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.Error r10, int r11, java.lang.Object r12) {\n /*\n r12 = r11 & 1\n if (r12 == 0) goto L_0x0006\n com.bitcoin.mwallet.core.models.slp.Slp r5 = r4.token\n L_0x0006:\n r12 = r11 & 2\n if (r12 == 0) goto L_0x000c\n java.util.List<kotlin.ULong> r6 = r4.quantities\n L_0x000c:\n r12 = r6\n r6 = r11 & 4\n if (r6 == 0) goto L_0x0013\n com.bitcoin.bitcoink.tx.Satoshis r7 = r4.fee\n L_0x0013:\n r0 = r7\n r6 = r11 & 8\n if (r6 == 0) goto L_0x001a\n com.bitcoin.bitcoink.tx.Satoshis r8 = r4.change\n L_0x001a:\n r1 = r8\n r6 = r11 & 16\n if (r6 == 0) goto L_0x0021\n java.util.List<com.bitcoin.mwallet.core.models.tx.utxo.Utxo> r9 = r4.utxos\n L_0x0021:\n r2 = r9\n r6 = r11 & 32\n if (r6 == 0) goto L_0x0028\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error r10 = r4.error\n L_0x0028:\n r3 = r10\n r6 = r4\n r7 = r5\n r8 = r12\n r9 = r0\n r10 = r1\n r11 = r2\n r12 = r3\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection r4 = r6.copy(r7, r8, r9, r10, r11, r12)\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.copy$default(com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection, com.bitcoin.mwallet.core.models.slp.Slp, java.util.List, com.bitcoin.bitcoink.tx.Satoshis, com.bitcoin.bitcoink.tx.Satoshis, java.util.List, com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error, int, java.lang.Object):com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection\");\n }",
"int numberOfBlocksToRemove();",
"private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }",
"public int numberOfBlocksToRemove() {\r\n return 105;\r\n }",
"public final /* bridge */ /* synthetic */ void mo43569b() {\n super.mo43569b();\n }",
"private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }",
"@Test (timeout=180000)\n public void testValidLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(Bytes.toBytes(\"B\"));\n\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n // do a regular split\n byte[] regionName = location.getRegionInfo().getRegionName();\n admin.splitRegion(location.getRegionInfo().getRegionName(), Bytes.toBytes(\"BM\"));\n TestEndToEndSplitTransaction.blockUntilRegionSplit(conf, 60000, regionName, true);\n\n // TODO: fixHdfsHoles does not work against splits, since the parent dir lingers on\n // for some time until children references are deleted. HBCK erroneously sees this as\n // overlapping regions\n HBaseFsck hbck = doFsck(\n conf, true, true, false, false, false, true, true, true, false, false, false, null);\n assertErrors(hbck, new ERROR_CODE[] {}); //no LINGERING_SPLIT_PARENT reported\n\n // assert that the split hbase:meta entry is still there.\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertNotNull(result);\n assertNotNull(MetaTableAccessor.getHRegionInfo(result));\n\n assertEquals(ROWKEYS.length, countRows());\n\n // assert that we still have the split regions\n assertEquals(tbl.getStartKeys().length, SPLITS.length + 1 + 1); //SPLITS + 1 is # regions pre-split.\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }",
"public void collapseBlocks() {\n // Create it if it's null\n if (graph_bcc == null) {\n // Create graph parametrics (Only add linear time algorithms here...)\n graph_bcc = new BiConnectedComponents(graph);\n graph2p_bcc = new BiConnectedComponents(new UniTwoPlusDegreeGraph(graph));\n }\n BiConnectedComponents bcc = graph_bcc, bcc_2p = graph2p_bcc; if (bcc != null && bcc_2p != null) {\n // Get the vertex to block lookup\n Map<String,Set<MyGraph>> v_to_b = bcc.getVertexToBlockMap();\n // Go through the entities and accumulate the positions\n Map<MyGraph,Double> x_sum = new HashMap<MyGraph,Double>(), y_sum = new HashMap<MyGraph,Double>();\n Iterator<String> it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity)) {\n\t Iterator<MyGraph> it_mg = v_to_b.get(entity).iterator();\n\t while (it_mg.hasNext()) {\n\t MyGraph mg = it_mg.next();\n\t if (x_sum.containsKey(mg) == false) { x_sum.put(mg,0.0); y_sum.put(mg,0.0); }\n\t x_sum.put(mg,x_sum.get(mg)+pt.getX()); y_sum.put(mg,y_sum.get(mg)+pt.getY());\n\t }\n } else System.err.println(\"Vertex To Block Lookup missing \\\"\" + entity + \"\\\"\");\n }\n // Now position those entities that aren't cut vertices at the center of the graph\n it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity) && bcc.getCutVertices().contains(entity) == false) {\n MyGraph mg = v_to_b.get(entity).iterator().next();\n\t entity_to_wxy.put(entity, new Point2D.Double(x_sum.get(mg)/mg.getNumberOfEntities(),y_sum.get(mg)/mg.getNumberOfEntities()));\n\t transform(entity);\n\t}\n }\n // Re-render\n zoomToFit(); repaint();\n }\n }",
"public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }",
"void blackhole(){ if (zzAtBOL) return; }",
"public ByteBuf duplicate()\r\n/* 95: */ {\r\n/* 96:112 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 97:113 */ return super.duplicate();\r\n/* 98: */ }",
"private void exitSequence_mainRegion_State2__region0_State4() {\n\t\texitSequence_mainRegion_State2__region0_State4__region0();\n\t}",
"@Test\n\tpublic void testForwardNonFrameBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642114, PositionType.ZERO_BASED),\n\t\t\t\t\"TAAACA\", \"GTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.691-3_693delinsGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Trp231Val\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_ACCEPTOR),\n\t\t\t\tannotation1.effects);\n\n\t\t// deletion of three codons, insertion of one\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642126, PositionType.ZERO_BASED),\n\t\t\t\t\"GTGGTTCAA\", \"ACC\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(2, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.700_708delinsACC\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Val234_Gln236delinsThr\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION), annotation2.effects);\n\n\t\t// deletion of three codons, insertion of one, includes truncation of replacement ref from the right\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642134, PositionType.ZERO_BASED),\n\t\t\t\t\"AGTGGAGGAT\", \"CTT\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(2, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.708_716delinsCT\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Gln236Hisfs*16\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION), annotation3.effects);\n\t}",
"private static void registerBlock(Block b)\n\t{\n\t}",
"public final synchronized com.google.android.m4b.maps.bu.C4910a m21843a(java.lang.String r10) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r9.f17909e;\t Catch:{ all -> 0x0056 }\n r1 = 0;\n if (r0 != 0) goto L_0x0008;\n L_0x0006:\n monitor-exit(r9);\n return r1;\n L_0x0008:\n r0 = r9.f17907c;\t Catch:{ all -> 0x0056 }\n r2 = com.google.android.m4b.maps.az.C4733b.m21060a(r10);\t Catch:{ all -> 0x0056 }\n r0 = r0.m21933a(r2, r1);\t Catch:{ all -> 0x0056 }\n if (r0 == 0) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0014:\n r2 = r0.length;\t Catch:{ all -> 0x0056 }\n r3 = 9;\t Catch:{ all -> 0x0056 }\n if (r2 <= r3) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0019:\n r2 = 0;\t Catch:{ all -> 0x0056 }\n r2 = r0[r2];\t Catch:{ all -> 0x0056 }\n r4 = 1;\t Catch:{ all -> 0x0056 }\n if (r2 == r4) goto L_0x0020;\t Catch:{ all -> 0x0056 }\n L_0x001f:\n goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0020:\n r5 = com.google.android.m4b.maps.bs.C4891e.m21914c(r0, r4);\t Catch:{ all -> 0x0056 }\n r2 = new com.google.android.m4b.maps.ar.a;\t Catch:{ all -> 0x0056 }\n r7 = com.google.android.m4b.maps.de.C5350x.f20104b;\t Catch:{ all -> 0x0056 }\n r2.<init>(r7);\t Catch:{ all -> 0x0056 }\n r7 = new java.io.ByteArrayInputStream;\t Catch:{ IOException -> 0x0052 }\n r8 = r0.length;\t Catch:{ IOException -> 0x0052 }\n r8 = r8 - r3;\t Catch:{ IOException -> 0x0052 }\n r7.<init>(r0, r3, r8);\t Catch:{ IOException -> 0x0052 }\n r2.m20818a(r7);\t Catch:{ IOException -> 0x0052 }\n r0 = 2;\n r0 = r2.m20843h(r0);\t Catch:{ all -> 0x0056 }\n r10 = r10.equals(r0);\t Catch:{ all -> 0x0056 }\n if (r10 != 0) goto L_0x0042;\n L_0x0040:\n monitor-exit(r9);\n return r1;\n L_0x0042:\n r10 = new com.google.android.m4b.maps.bu.a;\t Catch:{ all -> 0x0056 }\n r10.<init>();\t Catch:{ all -> 0x0056 }\n r10.m22018a(r4);\t Catch:{ all -> 0x0056 }\n r10.m22020a(r2);\t Catch:{ all -> 0x0056 }\n r10.m22016a(r5);\t Catch:{ all -> 0x0056 }\n monitor-exit(r9);\n return r10;\n L_0x0052:\n monitor-exit(r9);\n return r1;\n L_0x0054:\n monitor-exit(r9);\n return r1;\n L_0x0056:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bs.b.a(java.lang.String):com.google.android.m4b.maps.bu.a\");\n }",
"private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void doElimination() {\n IR ir;\n\tIR defCode;\n\tIR useCode;\n int i, j, countOperand;\n JavaVariable v1, v2;\n short shortOpcode;\n short shortOpcode2;\n boolean singleDefCondition;\n BitSet[] reachingDef = cfg.getReachingDef();\n\n Iterator it = cfg.iterator();\n\twhile(it.hasNext()) {\n ir = (IR) it.next();\n //System.out.println(ir);\n countOperand = ir.getNumOfOperands();\n if (ir.hasAttribute(IRAttribute.ELIMINATED)) {\n // Removed code can't remove other code\n continue; \n }\n // eliminate single def. single use. (aload)\n for (i = 0; i < countOperand; i++) {\n if (ir.getNumOfDefs(i) ==1 && ir.getShortOpcode() != OpcodeConst.opc_areturn) { // single def\n defCode = cfg.getIRAtBpc (ir.getDefOfOperand(i, 0));\n if (defCode.hasAttribute(IRAttribute.ELIMINATED)) {\n // Eliminated code can't remove other codes\n continue;\n } \n\t shortOpcode= defCode.getShortOpcode();\n if (shortOpcode == OpcodeConst.opc_aload ||\n (shortOpcode >= OpcodeConst.opc_aload_0 && shortOpcode <= OpcodeConst.opc_aload_3)) {\n singleDefCondition = false;\n for (j = 0; j < defCode.getNumOfUses(0); j++) {\n singleDefCondition = true;\n // if the def is the only def for every the uses it can reach\n useCode = cfg.getIRAtBpc(defCode.getUseOfTarget(0, j));\n if (useCode.getNumOfDefs(defCode.getTarget(0)) != 1) {\n singleDefCondition = false;\n break;\n }\n if (cfg.getIRAtBpc(useCode.getDefOfOperand(defCode.getTarget(0), 0)).compareTo(defCode) != 0) {\n singleDefCondition = false;\n break;\n }\n // For dup\n // The Reaching Def of the operand of the copy and the Reaching Def of the operand of the useCode\n // should be the same.\n int reachToCopyCode, reachToUseCode;\n reachToCopyCode = getUniqueReachOfVariable(reachingDef[defCode.getBpc()], defCode.getOperand(0));\n reachToUseCode = getUniqueReachOfVariable(reachingDef[useCode.getBpc()], defCode.getOperand(0));\n if (reachToCopyCode != reachToUseCode) {\n singleDefCondition = false;\n break;\n }\n }\n if (singleDefCondition == true) {\n for (j = 0; j < defCode.getNumOfUses(0); j++) {\n useCode = cfg.getIRAtBpc(defCode.getUseOfTarget(0, j));\n if (useCode.hasAttribute(IRAttribute.ELIMINATED) \n /*|| defCode.hasAttribute(IRAttribute.ELIMINATED)*/) {\n continue;\n }\n //System.out.println(\"useCode:\" + useCode + \" defCode:\" + defCode);\n //System.out.println(\"Try to change usecode's operand from \" + defCode.getTarget(0) +\n // \" to \" + defCode.getOperand(0));\n useCode.changeOperand(defCode.getTarget(0), defCode.getOperand(0));\n defCode.setAttribute(IRAttribute.ELIMINATED);\n defCode.addDebugInfoString(\"Eliminated by BPC:\" + ir.getBpc());\n }\n }\n }\n }\n }\n\n // elimination of single use. single def. (astore)\n if (ir.getNumOfTargets() == 1) {\n if (ir.getNumOfUses(0) == 1) {\n v1 = ir.getTarget(0);\n useCode = cfg.getIRAtBpc(ir.getUseOfTarget(0, 0));\n if (useCode.hasAttribute(IRAttribute.ELIMINATED)) {\n // Removed code can't remove other code\n continue; \n }\n countOperand = useCode.getNumOfOperands();\n for (i = 0; i < countOperand; i++) {\n v2 = useCode.getOperand(i);\n if ((v1.compareTo(v2) == 0) && (useCode.getNumOfDefs(i) == 1)) {\n\t //shortOpcode=CFG.makeShortVal((byte)0,useCode.getBytecode().getOpcode());\n shortOpcode = useCode.getShortOpcode();\n if (shortOpcode == OpcodeConst.opc_astore\n || (shortOpcode >= OpcodeConst.opc_astore_0 && shortOpcode <= OpcodeConst.opc_astore_3)) {\n //System.out.println(useCode + \" can be absorbed by \" + ir);\n // 1. substitute the target of bytecode for the target of astore.\n ir.changeTarget(0, useCode.getTarget(0));\n // 2. and remove the astore operation\n useCode.setAttribute(IRAttribute.ELIMINATED);\n useCode.addDebugInfoString(\"Eliminated by BPC:\" + ir.getBpc());\n }\n }\n }\n }\n } \n }\n\n }",
"public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)\r\n {\r\n super.onBlockAdded(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n// this.func_149930_e(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n }",
"public void mo23813b() {\n }",
"private void repairGenome() {\n if (checkGenome(this.code)) {\n return;\n }\n int[] counters = new int[8];\n for (int c : code) { counters[c]++; }\n for (int i = 0; i < 8; ++i) {\n if (counters[i] == 0) {\n while (true) {\n int newPos = r.nextInt(GENOME_SIZE);\n if (counters[this.code[newPos]] > 1) {\n counters[this.code[newPos]]--;\n this.code[newPos] = i;\n break;\n }\n }\n }\n }\n }",
"protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }",
"void reportSplit(HRegionInfo oldRegion, HRegionInfo newRegionA,\n HRegionInfo newRegionB) {\n \n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_SPLIT, oldRegion,\n (oldRegion.getRegionNameAsString() + \" split; daughters: \" +\n newRegionA.getRegionNameAsString() + \", \" +\n newRegionB.getRegionNameAsString()).getBytes()));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionA));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionB));\n }",
"public void method_2139() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public final void mo1285b() {\n }",
"public void m2108c() {\n /*\n r3 = this;\n r0 = \"Calling this from your main thread can lead to deadlock\";\n com.google.android.gms.common.internal.C1305x.m6628c(r0);\n monitor-enter(r3);\n r0 = r3.f1274g;\t Catch:{ all -> 0x002a }\n if (r0 == 0) goto L_0x000e;\n L_0x000a:\n r0 = r3.f1268a;\t Catch:{ all -> 0x002a }\n if (r0 != 0) goto L_0x0010;\n L_0x000e:\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n L_0x000f:\n return;\n L_0x0010:\n r0 = r3.f1270c;\t Catch:{ IllegalArgumentException -> 0x002d }\n if (r0 == 0) goto L_0x001f;\n L_0x0014:\n r0 = com.google.android.gms.common.stats.C1530b.m6956a();\t Catch:{ IllegalArgumentException -> 0x002d }\n r1 = r3.f1274g;\t Catch:{ IllegalArgumentException -> 0x002d }\n r2 = r3.f1268a;\t Catch:{ IllegalArgumentException -> 0x002d }\n r0.m6963a(r1, r2);\t Catch:{ IllegalArgumentException -> 0x002d }\n L_0x001f:\n r0 = 0;\n r3.f1270c = r0;\t Catch:{ all -> 0x002a }\n r0 = 0;\n r3.f1269b = r0;\t Catch:{ all -> 0x002a }\n r0 = 0;\n r3.f1268a = r0;\t Catch:{ all -> 0x002a }\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n goto L_0x000f;\n L_0x002a:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n throw r0;\n L_0x002d:\n r0 = move-exception;\n r1 = \"AdvertisingIdClient\";\n r2 = \"AdvertisingIdClient unbindService failed.\";\n android.util.Log.i(r1, r2, r0);\t Catch:{ all -> 0x002a }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.ads.c.a.c():void\");\n }",
"public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }",
"protected void method_2141() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private ElementDebugger() {\r\n\t\t/* PROTECTED REGION ID(java.constructor._17_0_5_12d203c6_1363681638138_829588_2092) ENABLED START */\r\n\t\t// :)\r\n\t\t/* PROTECTED REGION END */\r\n\t}",
"public void unifyAdjacentChests(World par1World, int par2, int par3, int par4) {\n\t\tif (!par1World.isRemote) {\n\t\t\tBlock l = par1World.getBlock(par2, par3, par4 - 1);\n\t\t\tBlock i1 = par1World.getBlock(par2, par3, par4 + 1);\n\t\t\tBlock j1 = par1World.getBlock(par2 - 1, par3, par4);\n\t\t\tBlock k1 = par1World.getBlock(par2 + 1, par3, par4);\n\t\t\tBlock l1;\n\t\t\tBlock i2;\n\n\t\t\tbyte b0;\n\t\t\tint j2;\n\n\t\t\tif (l != this && i1 != this) {\n\t\t\t\tif (j1 != this && k1 != this) {\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (l.func_149730_j() && !i1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (i1.func_149730_j() && !l.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j1.func_149730_j() && !k1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 5;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (k1.func_149730_j() && !j1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 4;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tl1 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 - 1);\n\t\t\t\t\ti2 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 + 1);\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (j1 == this) {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 - 1, par3, par4);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 + 1, par3, par4);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j2 == 2) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((l.func_149730_j() || l1.func_149730_j()) && !i1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((i1.func_149730_j() || i2.func_149730_j()) && !l.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tl1 = par1World.getBlock(par2 - 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\ti2 = par1World.getBlock(par2 + 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\tb0 = 5;\n\n\t\t\t\tif (l == this) {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 - 1);\n\t\t\t\t} else {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 + 1);\n\t\t\t\t}\n\n\t\t\t\tif (j2 == 4) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\n\t\t\t\tif ((j1.func_149730_j() || l1.func_149730_j()) && !k1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\tb0 = 5;\n\t\t\t\t}\n\n\t\t\t\tif ((k1.func_149730_j() || i2.func_149730_j()) && !j1.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpar1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 3);\n\t\t}\n\t}",
"private void exitSequence_mainRegion_State2__region0_a() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}",
"public void mo115190b() {\n }",
"public JBlock _finally() {\n // This method could not be decompiled.\n // \n // Original Bytecode:\n // \n // 0: iconst_0 \n // 1: nop \n // 2: nop \n // 3: nop \n // 4: aload_3 \n // 5: nop \n // 6: lconst_0 \n // 7: nop \n // 8: iaload \n // 9: nop \n // 10: ldc2_w \"Lcom/sun/codemodel/JFormatter;\"\n // 13: nop \n // 14: fload_0 /* this */\n // 15: nop \n // 16: nop \n // 17: nop \n // 18: lload_2 \n // 19: nop \n // 20: iconst_0 \n // 21: nop \n // 22: nop \n // LocalVariableTable:\n // Start Length Slot Name Signature\n // ----- ------ ---- ---- -----------------------------\n // 0 23 0 this Lcom/sun/codemodel/JTryBlock;\n // \n // The error that occurred was:\n // \n // java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:935)\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398)\n // at com.strobel.decompiler.ast.AstBuilder.performStackAnalysis(AstBuilder.java:2030)\n // at com.strobel.decompiler.ast.AstBuilder.build(AstBuilder.java:108)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:210)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:757)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:655)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:532)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:499)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:141)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:130)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:105)\n // at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)\n // at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)\n // at com.strobel.decompiler.DecompilerDriver.decompileType(DecompilerDriver.java:317)\n // at com.strobel.decompiler.DecompilerDriver.decompileJar(DecompilerDriver.java:238)\n // at com.strobel.decompiler.DecompilerDriver.main(DecompilerDriver.java:123)\n // \n throw new IllegalStateException(\"An error occurred while decompiling this method.\");\n }",
"private void ssMergeBackward(int r19, int[] r20, int r21, int r22, int r23, int r24, int r25) {\n /*\n r18 = this;\n r0 = r18;\n r4 = r0.SA;\n r17 = r24 - r23;\n r5 = r21 + r17;\n r17 = r24 - r23;\n r0 = r20;\n r1 = r21;\n r2 = r23;\n r3 = r17;\n ssBlockSwap(r0, r1, r4, r2, r3);\n r16 = 0;\n r17 = r5 + -1;\n r17 = r20[r17];\n if (r17 >= 0) goto L_0x0071;\n L_0x001d:\n r16 = r16 | 1;\n r17 = r5 + -1;\n r17 = r20[r17];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x0027:\n r17 = r23 + -1;\n r17 = r4[r17];\n if (r17 >= 0) goto L_0x0078;\n L_0x002d:\n r16 = r16 | 2;\n r17 = r23 + -1;\n r17 = r4[r17];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n L_0x0037:\n r17 = r24 + -1;\n r15 = r4[r17];\n r6 = r24 + -1;\n r8 = r5 + -1;\n r10 = r23 + -1;\n L_0x0041:\n r0 = r18;\n r1 = r25;\n r14 = r0.ssCompare(r12, r13, r1);\n if (r14 <= 0) goto L_0x009b;\n L_0x004b:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0063;\n L_0x004f:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a9;\n L_0x005f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0063:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x007f;\n L_0x006d:\n r20[r8] = r15;\n r6 = r7;\n L_0x0070:\n return;\n L_0x0071:\n r17 = r5 + -1;\n r17 = r20[r17];\n r12 = r19 + r17;\n goto L_0x0027;\n L_0x0078:\n r17 = r23 + -1;\n r17 = r4[r17];\n r13 = r19 + r17;\n goto L_0x0037;\n L_0x007f:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x0094;\n L_0x0089:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x0094:\n r17 = r20[r9];\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x009b:\n if (r14 >= 0) goto L_0x00fb;\n L_0x009d:\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x00b5;\n L_0x00a1:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x01a5;\n L_0x00b1:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x00b5:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x00e3;\n L_0x00c5:\n r9 = r8;\n L_0x00c6:\n r0 = r21;\n if (r0 >= r9) goto L_0x00d9;\n L_0x00ca:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x00c6;\n L_0x00d9:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x00e3:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x00f3;\n L_0x00e7:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00f3:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00fb:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0113;\n L_0x00ff:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a1;\n L_0x010f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0113:\n r7 = r6 + -1;\n r17 = r20[r8];\n r17 = r17 ^ -1;\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x0124;\n L_0x011f:\n r20[r8] = r15;\n r6 = r7;\n goto L_0x0070;\n L_0x0124:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x019f;\n L_0x012e:\n r6 = r7;\n L_0x012f:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x019c;\n L_0x013f:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x0143:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x0171;\n L_0x0153:\n r0 = r21;\n if (r0 >= r9) goto L_0x0166;\n L_0x0157:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x0153;\n L_0x0166:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x0171:\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x018e;\n L_0x0175:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x017d:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x0193;\n L_0x0181:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x018e:\n r17 = r20[r9];\n r12 = r19 + r17;\n goto L_0x017d;\n L_0x0193:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x019c:\n r10 = r11;\n r6 = r7;\n goto L_0x012f;\n L_0x019f:\n r6 = r7;\n goto L_0x0143;\n L_0x01a1:\n r8 = r9;\n r6 = r7;\n goto L_0x00ff;\n L_0x01a5:\n r10 = r11;\n r6 = r7;\n goto L_0x00a1;\n L_0x01a9:\n r8 = r9;\n r6 = r7;\n goto L_0x004f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.netty.handler.codec.compression.Bzip2DivSufSort.ssMergeBackward(int, int[], int, int, int, int, int):void\");\n }",
"private c b(c blk, int i) {\n/* 585 */ int w = blk.g;\n/* 586 */ int h = blk.h;\n/* */ \n/* */ \n/* 589 */ if (blk.a() != 4) {\n/* 590 */ if (this.j == null || this.j.a() != 4) {\n/* 591 */ this.j = (c)new d();\n/* */ }\n/* 593 */ this.j.g = w;\n/* 594 */ this.j.h = h;\n/* 595 */ this.j.e = blk.e;\n/* 596 */ this.j.f = blk.f;\n/* 597 */ blk = this.j;\n/* */ } \n/* */ \n/* */ \n/* 601 */ float[] outdata = (float[])blk.b();\n/* */ \n/* */ \n/* 604 */ if (outdata == null || outdata.length < w * h) {\n/* 605 */ outdata = new float[h * w];\n/* 606 */ blk.a(outdata);\n/* */ } \n/* */ \n/* */ \n/* 610 */ if (i >= 0 && i <= 2) {\n/* */ int j;\n/* */ \n/* */ \n/* 614 */ if (this.m == null)\n/* 615 */ this.m = new e(); \n/* 616 */ if (this.n == null)\n/* 617 */ this.n = new e(); \n/* 618 */ if (this.o == null)\n/* 619 */ this.o = new e(); \n/* 620 */ this.o.g = blk.g;\n/* 621 */ this.o.h = blk.h;\n/* 622 */ this.o.e = blk.e;\n/* 623 */ this.o.f = blk.f;\n/* */ \n/* */ \n/* 626 */ this.m = (e)this.e.getInternCompData((c)this.m, 0);\n/* 627 */ int[] data0 = (int[])this.m.b();\n/* 628 */ this.n = (e)this.e.getInternCompData((c)this.n, 1);\n/* 629 */ int[] data1 = (int[])this.n.b();\n/* 630 */ this.o = (e)this.e.getInternCompData((c)this.o, 2);\n/* 631 */ int[] data2 = (int[])this.o.b();\n/* */ \n/* */ \n/* 634 */ blk.k = (this.m.k || this.n.k || this.o.k);\n/* */ \n/* 636 */ blk.i = 0;\n/* 637 */ blk.j = w;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 642 */ int k = w * h - 1;\n/* 643 */ int k0 = this.m.i + (h - 1) * this.m.j + w - 1;\n/* 644 */ int k1 = this.n.i + (h - 1) * this.n.j + w - 1;\n/* 645 */ int k2 = this.o.i + (h - 1) * this.o.j + w - 1;\n/* */ \n/* 647 */ switch (i) {\n/* */ \n/* */ case 0:\n/* 650 */ for (j = h - 1; j >= 0; j--) {\n/* 651 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 652 */ outdata[k] = 0.299F * data0[k0] + 0.587F * data1[k1] + 0.114F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 658 */ k0 -= this.m.j - w;\n/* 659 */ k1 -= this.n.j - w;\n/* 660 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 1:\n/* 666 */ for (j = h - 1; j >= 0; j--) {\n/* 667 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 668 */ outdata[k] = -0.16875F * data0[k0] - 0.33126F * data1[k1] + 0.5F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 674 */ k0 -= this.m.j - w;\n/* 675 */ k1 -= this.n.j - w;\n/* 676 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 2:\n/* 682 */ for (j = h - 1; j >= 0; j--) {\n/* 683 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 684 */ outdata[k] = 0.5F * data0[k0] - 0.41869F * data1[k1] - 0.08131F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ k0 -= this.m.j - w;\n/* 691 */ k1 -= this.n.j - w;\n/* 692 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ } \n/* */ } else {\n/* 697 */ if (i >= 3) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 702 */ e indb = new e(blk.e, blk.f, w, h);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 707 */ this.e.getInternCompData((c)indb, i);\n/* 708 */ int[] indata = (int[])indb.b();\n/* */ \n/* */ \n/* 711 */ int k = w * h - 1;\n/* 712 */ int k0 = indb.i + (h - 1) * indb.j + w - 1;\n/* 713 */ for (int j = h - 1; j >= 0; j--) {\n/* 714 */ for (int mink = k - w; k > mink; k--, k0--) {\n/* 715 */ outdata[k] = indata[k0];\n/* */ }\n/* */ \n/* 718 */ k0 += indb.g - w;\n/* */ } \n/* */ \n/* */ \n/* 722 */ blk.k = indb.k;\n/* 723 */ blk.i = 0;\n/* 724 */ blk.j = w;\n/* 725 */ return blk;\n/* */ } \n/* */ \n/* */ \n/* 729 */ throw new IllegalArgumentException();\n/* */ } \n/* 731 */ return blk;\n/* */ }",
"public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }",
"@Override\n public String visit(SynchronizedStmt n, Object arg) {\n return null;\n }",
"private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }",
"public static void m9105b(com.facebook.api.feedcache.db.FeedDbMutationService r5) {\n /*\n L_0x0000:\n r1 = r5.f5242q;\n monitor-enter(r1);\n r0 = r5.f5242q;\t Catch:{ all -> 0x004d }\n r0 = r0.isEmpty();\t Catch:{ all -> 0x004d }\n if (r0 == 0) goto L_0x0010;\n L_0x000b:\n r0 = 0;\n r5.f5240o = r0;\t Catch:{ all -> 0x004d }\n monitor-exit(r1);\t Catch:{ all -> 0x004d }\n return;\n L_0x0010:\n r0 = r5.f5242q;\t Catch:{ all -> 0x004d }\n r0 = r0.removeFirst();\t Catch:{ all -> 0x004d }\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbRequest) r0;\t Catch:{ all -> 0x004d }\n monitor-exit(r1);\t Catch:{ all -> 0x004d }\n r1 = \"FeedDbMutationService(%s)\";\n r2 = r0.getClass();\n r2 = r2.getSimpleName();\n r3 = -341619410; // 0xffffffffeba34d2e float:-3.9483876E26 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r1, r2, r3);\n r1 = -243934633; // 0xfffffffff175da57 float:-1.21740455E30 double:NaN;\n r1 = com.facebook.tools.dextr.runtime.detour.LoomLoggerDetour.a(r1);\n r2 = \"FeedDbMutationService\";\n r3 = r0.getClass();\n r3 = r3.getSimpleName();\n com.facebook.loom.logger.api.LoomLogger.a(r1, r2, r3);\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbInsertionRequest;\t Catch:{ all -> 0x0134 }\n if (r1 == 0) goto L_0x0050;\n L_0x0041:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbInsertionRequest) r0;\t Catch:{ all -> 0x0134 }\n r5.m9111a(r0);\t Catch:{ all -> 0x0134 }\n r0 = 1514815075; // 0x5a4a3e63 float:1.42316351E16 double:7.484180884E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x004d:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ }\n throw r0;\n L_0x0050:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbMutationRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0060;\n L_0x0054:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbMutationRequest) r0;\t Catch:{ }\n r5.m9100a(r0);\t Catch:{ }\n r0 = 32841027; // 0x1f51d43 float:9.0040775E-38 double:1.6225623E-316;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0060:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStorySeenRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0070;\n L_0x0064:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStorySeenRequest) r0;\t Catch:{ }\n r5.m9103a(r0);\t Catch:{ }\n r0 = -150761083; // 0xfffffffff7039185 float:-2.668525E33 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0070:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbImageCacheStateUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0080;\n L_0x0074:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbImageCacheStateUpdateRequest) r0;\t Catch:{ }\n r5.m9097a(r0);\t Catch:{ }\n r0 = -1582673432; // 0xffffffffa1aa51e8 float:-1.1541328E-18 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0080:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbSeeFirstClearRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0091;\n L_0x0084:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbSeeFirstClearRequest) r0;\t Catch:{ }\n r5.m9101a(r0);\t Catch:{ }\n r0 = -1051379810; // 0xffffffffc155379e float:-13.326078 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0091:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheResultRerankRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00a2;\n L_0x0095:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheResultRerankRequest) r0;\t Catch:{ }\n r5.m9094a(r0);\t Catch:{ }\n r0 = -521547659; // 0xffffffffe0e9d075 float:-1.3478476E20 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00a2:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheRerankRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00b3;\n L_0x00a6:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheRerankRequest) r0;\t Catch:{ }\n r5.m9093a(r0);\t Catch:{ }\n r0 = -495910365; // 0xffffffffe2710223 float:-1.1114548E21 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00b3:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStoryImageUrlAddRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00c4;\n L_0x00b7:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStoryImageUrlAddRequest) r0;\t Catch:{ }\n r5.m9102a(r0);\t Catch:{ }\n r0 = 1956524893; // 0x749e335d float:1.0027157E32 double:9.66651735E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00c4:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoriesRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00d5;\n L_0x00c8:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoriesRequest) r0;\t Catch:{ }\n r5.m9095a(r0);\t Catch:{ }\n r0 = 1671584920; // 0x63a25c98 float:5.990089E21 double:8.25872683E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00d5:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoryRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00e6;\n L_0x00d9:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoryRequest) r0;\t Catch:{ }\n r5.m9096a(r0);\t Catch:{ }\n r0 = -696100424; // 0xffffffffd68259b8 float:-7.1660925E13 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00e6:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbVpvOmnistoreSyncRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00f5;\n L_0x00ea:\n r5.m9106c();\t Catch:{ }\n r0 = -1045059660; // 0xffffffffc1b5a7b4 float:-22.706886 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00f5:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLikeAndCommentCountUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0106;\n L_0x00f9:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLikeAndCommentCountUpdateRequest) r0;\t Catch:{ }\n r5.m9098a(r0);\t Catch:{ }\n r0 = 759596755; // 0x2d4686d3 float:1.1284934E-11 double:3.752906613E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0106:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLiveVideoStatusUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0117;\n L_0x010a:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLiveVideoStatusUpdateRequest) r0;\t Catch:{ }\n r5.m9099a(r0);\t Catch:{ }\n r0 = -1270711073; // 0xffffffffb4427cdf float:-1.8113086E-7 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0117:\n r1 = \"FeedDbMutationService\";\n r2 = \"Mutation request is not supported: %s\";\n r3 = 1;\n r3 = new java.lang.Object[r3];\t Catch:{ }\n r4 = 0;\n r0 = r0.getClass();\t Catch:{ }\n r0 = r0.getSimpleName();\t Catch:{ }\n r3[r4] = r0;\t Catch:{ }\n com.facebook.debug.log.BLog.c(r1, r2, r3);\t Catch:{ }\n r0 = 492192568; // 0x1d564338 float:2.8357415E-21 double:2.43175439E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0134:\n r0 = move-exception;\n r1 = -693974918; // 0xffffffffd6a2c87a float:-8.9490962E13 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r1);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.api.feedcache.db.FeedDbMutationService.b(com.facebook.api.feedcache.db.FeedDbMutationService):void\");\n }",
"void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}",
"public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }",
"void m5769c() throws C0841b;",
"protected String codeBlockSource(Block block) {\n block.removeFirstOperation(); // aload_0\n block.removeFirstOperation(); // aload_1\n block.removeFirstOperation(); // iload_2\n block.removeFirstOperation(); // invokespecial <init>\n\n if (getTopBlock().getOperations().size() == 1 &&\n getTopBlock().getOperations().get(0) instanceof ReturnView) {\n return null;\n }\n\n return super.codeBlockSource(block);\n }",
"public final void mo91715d() {\n }",
"public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)\n {\n byte var6 = 0;\n byte var7 = 1;\n\n if (var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID)\n {\n var6 = 1;\n var7 = 0;\n }\n\n int var8;\n\n for (var8 = var3; var1.getBlockId(var2, var8 - 1, var4) == this.blockID; --var8)\n {\n ;\n }\n\n if (var1.getBlockId(var2, var8 - 1, var4) != Block.glowStone.blockID)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else\n {\n int var9;\n\n for (var9 = 1; var9 < 4 && var1.getBlockId(var2, var8 + var9, var4) == this.blockID; ++var9)\n {\n ;\n }\n\n if (var9 == 3 && var1.getBlockId(var2, var8 + var9, var4) == Block.glowStone.blockID)\n {\n boolean var10 = var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID;\n boolean var11 = var1.getBlockId(var2, var3, var4 - 1) == this.blockID || var1.getBlockId(var2, var3, var4 + 1) == this.blockID;\n\n if (var10 && var11)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else if ((var1.getBlockId(var2 + var6, var3, var4 + var7) != Block.glowStone.blockID || var1.getBlockId(var2 - var6, var3, var4 - var7) != this.blockID) && (var1.getBlockId(var2 - var6, var3, var4 - var7) != Block.glowStone.blockID || var1.getBlockId(var2 + var6, var3, var4 + var7) != this.blockID))\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n } else\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n }\n }",
"@Override\n\tpublic int getReplaceBlock() {\n\t\treturn 0;\n\t}",
"@Test (timeout=180000)\n public void testLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(\"B\");\n\n // Delete one region from meta, but not hdfs, unassign it.\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, false);\n\n // Create a new meta entry to fake it as a split parent.\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n HRegionInfo a = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"B\"), Bytes.toBytes(\"BM\"));\n HRegionInfo b = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"BM\"), Bytes.toBytes(\"C\"));\n\n hri.setOffline(true);\n hri.setSplit(true);\n\n MetaTableAccessor.addRegionToMeta(meta, hri, a, b);\n meta.close();\n admin.flush(TableName.META_TABLE_NAME);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // regular repair cannot fix lingering split parent\n hbck = doFsck(conf, true);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN });\n assertFalse(hbck.shouldRerun());\n hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // fix lingering split parent\n hbck = new HBaseFsck(conf, hbfsckExecutorService);\n hbck.connect();\n hbck.setDisplayFullReport(); // i.e. -details\n hbck.setTimeLag(0);\n hbck.setFixSplitParents(true);\n hbck.onlineHbck();\n assertTrue(hbck.shouldRerun());\n hbck.close();\n\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITA_QUALIFIER).isEmpty());\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITB_QUALIFIER).isEmpty());\n admin.flush(TableName.META_TABLE_NAME);\n\n // fix other issues\n doFsck(conf, true);\n\n // check that all are fixed\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }",
"@Override\n \t/**\n \t * Called when the block is placed in the world.\n \t */\n \tpublic void auxiliaryOnBlockPlacedBy(TECarpentersBlock TE, World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack)\n \t{\n \t\tif (!entityLiving.isSneaking())\n \t\t{\n \t\t\t/* Match adjacent collapsible quadrant heights. */\n \t\t\t\n \t\t\tTECarpentersBlock TE_XN = world.getBlockId(x - 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x - 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_XP = world.getBlockId(x + 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x + 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_ZN = world.getBlockId(x, y, z - 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z - 1) : null;\n \t\t\tTECarpentersBlock TE_ZP = world.getBlockId(x, y, z + 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z + 1) : null;\n \n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNP));\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZNP));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZPN));\n \t\t\t}\n \t\t}\n \t}",
"protected int b(i var1_1, y.c.q var2_2, y.c.q var3_3, h var4_4, h var5_5, int var6_6, ArrayList var7_7, ArrayList var8_8, h var9_9, h var10_10) {\n block26 : {\n block25 : {\n var24_11 = o.p;\n this.c = var6_6;\n this.d = var2_2;\n this.e = var3_3;\n this.n = var1_1.h();\n this.o = var1_1.f();\n this.h = var1_1;\n this.i = new int[this.n];\n this.j = new int[this.n];\n this.k = new int[this.o];\n this.l = new int[this.o];\n this.m = new int[this.n];\n this.b = new Object[this.o];\n this.t = new int[this.n];\n this.r = new d[this.n];\n this.s = new d[this.n];\n this.f = var4_4;\n this.a = new a[this.n];\n this.q = new ArrayList<E>(var1_1.f());\n this.p = new I(this.o);\n var11_12 = 0;\n block0 : do {\n v0 = var11_12;\n block1 : while (v0 < var7_7.size()) {\n var12_15 = (a)var7_7.get(var11_12);\n v1 /* !! */ = var12_15.b();\n if (var24_11) break block25;\n var13_17 = v1 /* !! */ ;\n while (var13_17.f()) {\n var14_20 = var13_17.a();\n var15_23 = var14_20.b();\n this.a[var14_20.b()] = var12_15;\n this.i[var15_23] = var12_15.a();\n v0 = this.i[var15_23];\n if (var24_11) continue block1;\n if (v0 < 0) {\n throw new B(\"found negative capacity\");\n }\n var13_17.g();\n if (!var24_11) continue;\n }\n ++var11_12;\n if (!var24_11) continue block0;\n }\n break block0;\n break;\n } while (true);\n v1 /* !! */ = var11_13 = this.h.p();\n }\n while (var11_13.f()) {\n var12_15 = var11_13.a();\n this.r[var12_15.b()] = (d)var10_10.b(var12_15);\n this.s[var12_15.b()] = (d)var9_9.b(var12_15);\n var11_13.g();\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block26;\n }\n this.g = new u[this.o];\n }\n var11_13 = var1_1.o();\n while (var11_13.f()) {\n var12_15 = var11_13.e();\n v2 = this;\n if (!var24_11) {\n v2.g[var12_15.d()] = new u((y.c.q)var12_15, var12_15.d());\n var11_13.g();\n if (!var24_11) continue;\n }\n ** GOTO lbl65\n }\n block5 : do {\n v2 = this;\nlbl65: // 2 sources:\n var11_14 = var13_18 = v2.a();\n var12_16 = 0;\n var14_21 = 0;\n block6 : do {\n v3 = var14_21;\n v4 = var8_8.size();\n block7 : while (v3 < v4) {\n v5 = var8_8.get(var14_21);\n do {\n var15_24 = (ArrayList)v5;\n var16_26 = false;\n var17_27 = 0;\n var18_28 = 0;\n v6 = 0;\n if (!var24_11) {\n for (var19_29 = v1574606; var19_29 < var15_24.size(); ++var19_29) {\n block28 : {\n block27 : {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n ++var12_16;\n var21_31 = this.s[var20_30.b[0].b()];\n var22_32 = 0;\n while (this.m[var21_31.b()] == 1) {\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block27;\n }\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n var23_33 = 0;\n var21_31 = this.s[var20_30.b[1].b()];\n while (this.m[var21_31.b()] == 1) {\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block28;\n }\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n if (var23_33 > 400 || var22_32 > 400) {\n block29 : {\n if (var23_33 < var22_32) {\n this.a(var20_30);\n if (!var24_11) break block29;\n }\n this.b(var20_30);\n }\n var16_26 = true;\n }\n var18_28 += var23_33;\n var17_27 += var22_32;\n if (!var24_11) continue;\n }\n if (!var16_26) {\n for (var19_29 = 0; var19_29 < var15_24.size(); ++var19_29) {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n if (var18_28 < var17_27) {\n this.a(var20_30);\n if (!var24_11) continue;\n }\n this.b(var20_30);\n if (!var24_11) continue;\n }\n }\n ++var14_21;\n if (!var24_11) continue block6;\n }\n ** GOTO lbl133\n v6 = var12_16;\nlbl133: // 2 sources:\n if (v6 > 0) continue block5;\n v5 = this.h.p();\n } while (var24_11);\n }\n break;\n } while (true);\n break;\n } while (true);\n var13_19 = v5;\n while (var13_19.f()) {\n var14_22 = var13_19.a();\n v7 = var14_22.b();\n if (var24_11 != false) return v7;\n var15_25 = v7;\n var5_5.a((Object)var14_22, this.m[var15_25]);\n var13_19.g();\n if (!var24_11) continue;\n }\n v7 = var11_14;\n return v7;\n }",
"void m5771e() throws C0841b;",
"private void smoothAdjacentCollapsibles(TECarpentersBlock TE, int src_quadrant)\n \t{\n \t\tTECarpentersBlock TE_XN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_XP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_ZN = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_ZP = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZNN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZNP = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZPN = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZPP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\t\n \t\tint height = Collapsible.getQuadHeight(TE, src_quadrant);\n \t\t\n \t\tswitch (src_quadrant)\n \t\t{\n \t\tcase Collapsible.QUAD_XZNN:\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_XZNN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZNP:\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XZNP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPN:\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XZPN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPP:\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_XZPP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}",
"@Override\r\n\tpublic void visit(InstrumentBlock instrumentBlock) {\n\t\t\r\n\t}",
"public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }",
"public boolean //##78\n divideHirIntoBasicBlocks()\n {\n HirIterator lHirIterator;\n HIR lNode, // Current node.\n lParent; // Parent of lNode.\n coins.sym.Sym lSym;\n FlowAnalSym lFlowAnalSym;\n int lNodeIndex;\n Label lLabel, lSubpBlockLabel;\n BBlock lBBlock; // BBlock most recently created.\n IrList lLabelDefList;\n Subp lSubp;\n BlockStmt lSubpBody; // Block as the HIR body of subprogram.\n //## LabeledStmt lSubpBodyWithLabel;\n\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, \"divideHirIntoBasicBlocks \",\n flowRoot.subpUnderAnalysis.getName() + \" fIrIndexMin \" +\n fIrIndexMin + \" Max \" + fIrIndexMax); //##62\n recordBBlock(bblock(), 0); //Avoid IndexOutofRangeException\n //##62 BEGIN\n lSubp = fSubpDefinition.getSubpSym();\n fNodeCount = fIrIndexMax - fIrIndexMin + 1;\n fFlowIrLinkSize = fNodeCount + 1; //##62\n fFlowIrLink = new IR[fFlowIrLinkSize];\n lBBlock = null; // Record a basic block created.\n boolean lImmediatelyAfterJumpReturn = false; //##63\n //##62 END\n\n //-- Assign index number to symbols actually used in current\n // subprogram setting index to each node.\n // Make label reference list for labels that are explicitly\n // refered as jump target.\n for (lHirIterator = hirRoot.hir.hirIterator(fSubpDefinition.getHirBody());\n lHirIterator.hasNext(); ) {\n lNode = lHirIterator.next();\n if (lNode != null) {\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(6, \" lNode\", lNode.toStringShort());\n lSym = lNode.getSym();\n if (lSym != null) {\n if (lSym instanceof FlowAnalSym) {\n lFlowAnalSym = (FlowAnalSym)lSym;\n if (lFlowAnalSym.getIndex() == 0) {\n recordSym(lFlowAnalSym); //##62\n }else {\n if (fDbgLevel > 0)\n flow.dbg(6, \" \" + lFlowAnalSym.getName()+\n \":\" + lFlowAnalSym.getIndex());\n }\n }\n }\n\n //##63 BEG\n lNodeIndex = lNode.getIndex();\n //##78 BEGIN\n if (lNodeIndex < fIrIndexMin) {\n ioRoot.msgRecovered.put(5010, \"\\nNode index \" + lNodeIndex\n + \" should be greater or equal to \" + fIrIndexMin\n + \" in \" + fSubpDefinition.getSubpSym().getName()\n + \"\\n Skip the flow analysis and the optimization.\");\n return false;\n }\n //##78 END\n fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n if (lImmediatelyAfterJumpReturn &&\n (lNode.getOperator() != HIR.OP_LABELED_STMT)) {\n continue; // Control does not come here.\n }\n lImmediatelyAfterJumpReturn = false;\n //##63 END\n switch (lNode.getOperator()) {\n case HIR.OP_LABELED_STMT:\n lBBlock = bblock((LabeledStmt)lNode); // Create a basic block.\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; // Store again. //##65\n //## lSubp.addBBlock(lBBlock); // DELETE\n lLabelDefList = ((LabeledStmt)lNode).getLabelDefList();\n if (lLabelDefList != null) {\n for (Iterator lIterator = lLabelDefList.iterator();\n lIterator.hasNext(); ) { // Set link between HIR & Label.\n lLabel = ((coins.ir.hir.LabelDef)(lIterator.next())).getLabel();\n //##60 lLabel.setBBlock(lBBlock);\n flowRoot.fSubpFlow.setBBlock(lLabel, lBBlock); //##60\n }\n }\n lImmediatelyAfterJumpReturn = false;\n break;\n // begin\n case HIR.OP_CONTENTS:\n lParent = (HIR)lNode.getParent();\n if (lParent.getOperator() == HIR.OP_ASSIGN)\n lBBlock.setFlag(BBlock.HAS_PTR_ASSIGN, true);\n case HIR.OP_ARROW:\n case HIR.OP_ADDR:\n lBBlock.setFlag(BBlock.USE_PTR, true);\n break;\n case HIR.OP_QUAL:\n lBBlock.setFlag(BBlock.HAS_STRUCT_UNION, true);\n break;\n case HIR.OP_CALL:\n lBBlock.setFlag(BBlock.HAS_CALL, true);\n //##62 hasCallInSubp = true; //##62\n //##63 BEGIN\n fCallCount++; //##62\n fSubtreesContainingCall.add(lNode);\n for (HIR lHir = (HIR)lNode.getParent(); lHir != null;\n lHir = (HIR)lHir.getParent()) {\n fSubtreesContainingCall.add(lNode);\n }\n //##63 END\n break;\n //##62 BEGIN\n case HIR.OP_ASSIGN:\n fAssignCount++;\n break;\n case HIR.OP_JUMP:\n lLabel = ((JumpStmt)lNode).getLabel();\n //##62 lLabel.addToHirRefList((LabelNode)((JumpStmt)lNode).getChild1());\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_RETURN: //##63\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_SWITCH:\n SwitchStmt lSwitchStmt = (SwitchStmt)lNode;\n int lCaseCount = lSwitchStmt.getCaseCount();\n for (int i = 0; i < lCaseCount; i++) {\n lLabel = lSwitchStmt.getCaseLabel(i);\n //##62 if (lLabel != null)\n //##62 lLabel.addToHirRefList(lSwitchStmt.getCaseLabelNode(i));\n }\n //##62 lSwitchStmt.getDefaultLabel().addToHirRefList((LabelNode)((SwitchStmt)\n //##62 lNode).getDefaultLabelNode());\n //##62 END\n default:\n break;\n // end\n } // End of switch\n //##63 lNodeIndex = lNode.getIndex();\n //##60 fFlowIrLink[lNodeIndex - fIndexMin] =\n //##60 (FlowIrLinkCell)(new FlowIrLinkCellImpl(lNode, lBBlock, 0));\n //##63 fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n //##63 fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n } // End of if(lNode != null)\n }\n //##62 BEGIN\n fUsedSymCount = fSymExpCount;\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, lSubp.getName() +\n \" Number of\", \"Symbols:\" +\n fUsedSymCount + \" Nodes:\" + fNodeCount + \" \");\n fExpVectorBitCount = fUsedSymCount + 2; //##60\n fExpVectorWordCount = (fExpVectorBitCount + 63) / 64; //##60\n\n int lNodeCount = fIrIndexMax - fIrIndexMin;\n if (lNodeCount > fNodeCountLim1)\n fComplexity = 2;\n if (fSymExpCount > fSymCountLim1)\n fComplexity = 2;\n if (lNodeCount > fNodeCountLim2)\n fComplexity = 3;\n if (fSymExpCount > fSymCountLim2)\n fComplexity = 3;\n //##62 END\n if (fDbgLevel > 0) {\n //### fComplexity = 3; //###\n flowRoot.ioRoot.dbgFlow.print(1, \"\\n Node count \" +\n lNodeCount + \" BBlock count \" + getNumberOfBBlocks()+\n \" UsedSymCount \" + getUsedSymCount() + \" SymExpCount \" + getSymExpCount()\n + \"\\n AssignCount \" + getAssignCount()\n + \" CallCount \" + getCallCount()); //##62\n ioRoot.dbgFlow.print(1, \"\\nComplexity level of \",\n getSubpSym().getName() + \" is \" + fComplexity);\n if (fComplexity > 1)\n ioRoot.dbgFlow.print(1, \"\\n Simplify alias analysis.\");\n if (fComplexity > 2)\n ioRoot.dbgFlow.print(1, \"\\n Simplify data flow analysis.\");\n }\n setComputedFlag(CF_BBLOCK); //##60\n return true; //##78\n }",
"@Override\n public void func_104112_b() {\n \n }",
"@RegionEffects(\"writes test.D:Static\") // BAD\n public void n1() {\n s1 = 1;\n }",
"void transform() {\n\t\tint oldline, newline;\n\t\tint oldmax = oldinfo.maxLine + 2; /* Count pseudolines at */\n\t\tint newmax = newinfo.maxLine + 2; /* ..front and rear of file */\n\n\t\tfor (oldline = 0; oldline < oldmax; oldline++)\n\t\t\toldinfo.other[oldline] = -1;\n\t\tfor (newline = 0; newline < newmax; newline++)\n\t\t\tnewinfo.other[newline] = -1;\n\n\t\tscanunique(); /* scan for lines used once in both files */\n\t\tscanafter(); /* scan past sure-matches for non-unique blocks */\n\t\tscanbefore(); /* scan backwards from sure-matches */\n\t\tscanblocks(); /* find the fronts and lengths of blocks */\n\t}",
"static void method_1148() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void method_2113() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private void m29109d() {\n PersistentConfiguration cVar = this.f22554b;\n if (cVar != null) {\n if (C6804i.m29033a(cVar.getString(\"UTDID2\"))) {\n String string = this.f22554b.getString(\"UTDID\");\n if (!C6804i.m29033a(string)) {\n m29110f(string);\n }\n }\n boolean z = false;\n String str = \"DID\";\n if (!C6804i.m29033a(this.f22554b.getString(str))) {\n this.f22554b.remove(str);\n z = true;\n }\n String str2 = \"EI\";\n if (!C6804i.m29033a(this.f22554b.getString(str2))) {\n this.f22554b.remove(str2);\n z = true;\n }\n String str3 = \"SI\";\n if (!C6804i.m29033a(this.f22554b.getString(str3))) {\n this.f22554b.remove(str3);\n z = true;\n }\n if (z) {\n this.f22554b.commit();\n }\n }\n }",
"private void m205c() {\r\n if (this.f161b != null && this.f161b.m543a()) {\r\n this.f161b.m545c();\r\n }\r\n this.f161b = null;\r\n }",
"private void handleInvalidSimNotify(int r1, android.os.AsyncResult r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.handleInvalidSimNotify(int, android.os.AsyncResult):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.handleInvalidSimNotify(int, android.os.AsyncResult):void\");\n }",
"public final void mo51373a() {\n }",
"public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }",
"private synchronized void a(com.whatsapp.util.x r11, boolean r12) {\n /*\n r10 = this;\n r0 = 0;\n monitor-enter(r10);\n r2 = com.whatsapp.util.Log.h;\t Catch:{ all -> 0x0016 }\n r3 = com.whatsapp.util.x.a(r11);\t Catch:{ all -> 0x0016 }\n r1 = com.whatsapp.util.bl.b(r3);\t Catch:{ IllegalArgumentException -> 0x0014 }\n if (r1 == r11) goto L_0x0019;\n L_0x000e:\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0014 }\n r0.<init>();\t Catch:{ IllegalArgumentException -> 0x0014 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0014 }\n L_0x0014:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0016:\n r0 = move-exception;\n monitor-exit(r10);\n throw r0;\n L_0x0019:\n if (r12 == 0) goto L_0x0058;\n L_0x001b:\n r1 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x0052 }\n if (r1 != 0) goto L_0x0058;\n L_0x0021:\n r1 = r0;\n L_0x0022:\n r4 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r1 >= r4) goto L_0x0058;\n L_0x0026:\n r4 = r3.b(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = r4.exists();\t Catch:{ IllegalArgumentException -> 0x0050 }\n if (r4 != 0) goto L_0x0054;\n L_0x0030:\n r11.b();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2.<init>();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r3 = z;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = 24;\n r3 = r3[r4];\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = r2.append(r3);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r2.append(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0.<init>(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0050 }\n L_0x0050:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0052:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0054:\n r1 = r1 + 1;\n if (r2 == 0) goto L_0x0022;\n L_0x0058:\n r1 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r0 >= r1) goto L_0x008f;\n L_0x005c:\n r1 = r3.b(r0);\t Catch:{ all -> 0x0016 }\n if (r12 == 0) goto L_0x0088;\n L_0x0062:\n r4 = r1.exists();\t Catch:{ IllegalArgumentException -> 0x0126 }\n if (r4 == 0) goto L_0x008b;\n L_0x0068:\n r4 = r3.a(r0);\t Catch:{ all -> 0x0016 }\n r1.renameTo(r4);\t Catch:{ all -> 0x0016 }\n r5 = com.whatsapp.util.bl.e(r3);\t Catch:{ all -> 0x0016 }\n r6 = r5[r0];\t Catch:{ all -> 0x0016 }\n r4 = r4.length();\t Catch:{ all -> 0x0016 }\n r8 = com.whatsapp.util.bl.e(r3);\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8[r0] = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r6 = r8 - r6;\n r4 = r4 + r6;\n r10.i = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n if (r2 == 0) goto L_0x008b;\n L_0x0088:\n a(r1);\t Catch:{ IllegalArgumentException -> 0x0128 }\n L_0x008b:\n r0 = r0 + 1;\n if (r2 == 0) goto L_0x0058;\n L_0x008f:\n r0 = r10.e;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 + 1;\n r10.e = r0;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = 0;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 | r12;\n if (r0 == 0) goto L_0x00e0;\n L_0x00a0:\n r0 = 1;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012c }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = z;\t Catch:{ IllegalArgumentException -> 0x012c }\n r5 = 26;\n r4 = r4[r5];\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = r3.a();\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = 10;\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012c }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012c }\n if (r12 == 0) goto L_0x010f;\n L_0x00d4:\n r0 = r10.n;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 1;\n r4 = r4 + r0;\n r10.n = r4;\t Catch:{ IllegalArgumentException -> 0x012e }\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012e }\n if (r2 == 0) goto L_0x010f;\n L_0x00e0:\n r0 = r10.k;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.remove(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = z;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 25;\n r2 = r2[r4];\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = 10;\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x010f:\n r0 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r2 = r10.c;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 > 0) goto L_0x011d;\n L_0x0117:\n r0 = r10.f();\t Catch:{ IllegalArgumentException -> 0x0132 }\n if (r0 == 0) goto L_0x0124;\n L_0x011d:\n r0 = r10.d;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r1 = r10.j;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r0.submit(r1);\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0124:\n monitor-exit(r10);\n return;\n L_0x0126:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0128:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x012a:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012c }\n L_0x012c:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x012e:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0130:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0132:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.util.b6.a(com.whatsapp.util.x, boolean):void\");\n }",
"private void exitSequence_mainRegion_State2__region0_State5() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}",
"private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }",
"@Test\n public void testNonConsecutiveBlocks()\n {\n long blockSize = 1000;\n int noOfBlocks = (int)((testMeta.dataFile.length() / blockSize)\n + (((testMeta.dataFile.length() % blockSize) == 0) ? 0 : 1));\n\n testMeta.blockReader.beginWindow(1);\n\n for (int i = 0; i < 10; i++) {\n for (int j = 0; j < Math.ceil(noOfBlocks / 10.0); j++) {\n int blockNo = 10 * j + i;\n if (blockNo >= noOfBlocks) {\n continue;\n }\n BlockMetadata.FileBlockMetadata blockMetadata = new BlockMetadata.FileBlockMetadata(s3Directory + FILE_1,\n blockNo, blockNo * blockSize,\n blockNo == noOfBlocks - 1 ? testMeta.dataFile.length() : (blockNo + 1) * blockSize,\n blockNo == noOfBlocks - 1, blockNo - 1, testMeta.dataFile.length());\n testMeta.blockReader.blocksMetadataInput.process(blockMetadata);\n }\n }\n\n testMeta.blockReader.endWindow();\n\n List<Object> messages = testMeta.messageSink.collectedTuples;\n Assert.assertEquals(\"No of records\", testMeta.messages.size(), messages.size());\n\n Collections.sort(testMeta.messages, new Comparator<String[]>()\n {\n @Override\n public int compare(String[] rec1, String[] rec2)\n {\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n\n Collections.sort(messages, new Comparator<Object>()\n {\n @Override\n public int compare(Object object1, Object object2)\n {\n String[] rec1 = new String((byte[])object1).split(\",\");\n String[] rec2 = new String((byte[])object2).split(\",\");\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n for (int i = 0; i < messages.size(); i++) {\n byte[] msg = (byte[])messages.get(i);\n Assert.assertTrue(\"line \" + i, Arrays.equals(new String(msg).split(\",\"), testMeta.messages.get(i)));\n }\n }",
"void m5770d() throws C0841b;",
"@Test(groups = {\"unreachable\"})\n\tpublic void testUnreachableNestedBraceless()\n\t{\n\t\tString[] src = {\n\t\t\t\"(function() {\",\n\t\t \" var x;\",\n\t\t \" if (!x)\",\n\t\t \" return function() {\",\n\t\t \" if (!x) x = 0;\",\n\t\t \" return;\",\n\t\t \" };\",\n\t\t \" return;\",\n\t\t \"}());\"\n\t\t};\n\t\t\n\t th.test(src);\n\t}",
"TACBlock optimise(TACBlock code);",
"public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }",
"static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public static java.lang.String m5217a() {\n /*\n r0 = f4109a;\n monitor-enter(r0);\n r1 = f4109a;\t Catch:{ all -> 0x003e }\n r1 = r1.isEmpty();\t Catch:{ all -> 0x003e }\n if (r1 == 0) goto L_0x000f;\n L_0x000b:\n r1 = \"\";\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n return r1;\n L_0x000f:\n r1 = new java.util.ArrayList;\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r1.<init>(r2);\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r2.clear();\t Catch:{ all -> 0x003e }\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n r0 = new org.json.JSONArray;\n r0.<init>();\n r1 = r1.iterator();\n L_0x0025:\n r2 = r1.hasNext();\n if (r2 == 0) goto L_0x0039;\n L_0x002b:\n r2 = r1.next();\n r2 = (com.facebook.ads.internal.p047k.C1481b) r2;\n r2 = r2.m5216a();\n r0.put(r2);\n goto L_0x0025;\n L_0x0039:\n r0 = r0.toString();\n return r0;\n L_0x003e:\n r1 = move-exception;\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.k.c.a():java.lang.String\");\n }",
"@Override\n public void visitBlockStmt(BlockStmt stmt) {\n enterBlockStmt(stmt);\n super.visitBlockStmt(stmt);\n leaveBlockStmt(stmt);\n }"
] | [
"0.5472078",
"0.52876776",
"0.5269523",
"0.5223116",
"0.52155834",
"0.52147436",
"0.5196659",
"0.5188886",
"0.5184291",
"0.5176701",
"0.51739",
"0.5155827",
"0.51343125",
"0.512717",
"0.5114993",
"0.5112251",
"0.5109731",
"0.5090581",
"0.50843996",
"0.50736606",
"0.5065",
"0.50602686",
"0.50602233",
"0.50484806",
"0.5036769",
"0.50294596",
"0.50291604",
"0.5024307",
"0.50228304",
"0.5009654",
"0.50067693",
"0.50004894",
"0.4994238",
"0.49911836",
"0.4986624",
"0.49851733",
"0.49842894",
"0.4982792",
"0.497658",
"0.49732867",
"0.497169",
"0.4967393",
"0.49588197",
"0.49582103",
"0.49493378",
"0.49472123",
"0.4946676",
"0.49457628",
"0.49419734",
"0.49393794",
"0.49293792",
"0.49256137",
"0.4920122",
"0.4917697",
"0.491511",
"0.49031362",
"0.4890231",
"0.48891264",
"0.48866776",
"0.48826334",
"0.48778",
"0.48762146",
"0.48726484",
"0.48692292",
"0.486855",
"0.48606673",
"0.48581147",
"0.48573664",
"0.48475316",
"0.48457158",
"0.48419708",
"0.48399836",
"0.48386103",
"0.4834205",
"0.4833085",
"0.48329845",
"0.4826878",
"0.48220837",
"0.48187435",
"0.48165324",
"0.48160902",
"0.48097265",
"0.4809351",
"0.480739",
"0.48071378",
"0.48071116",
"0.480243",
"0.4800479",
"0.4799962",
"0.47988713",
"0.47988206",
"0.47979647",
"0.47864765",
"0.47814915",
"0.47798136",
"0.47739094",
"0.4773189",
"0.47660094",
"0.47660094",
"0.47648743",
"0.47618803"
] | 0.0 | -1 |
Each nonnill element should have a value that is i + 10j + 100k Add 1000 to each correct value encountered. | public int[][][] testIntArray(int[][][] in) throws java.rmi.RemoteException {
for (int i=0; i < in.length; i++) {
int[][] array2 = in[i];
if (array2 != null)
for (int j=0; j < array2.length; j++) {
int[] array3 = array2[j];
if (array3 != null)
for (int k=0; k <array3.length; k++) {
if (array3[k] == i + 10*j + 100*k)
array3[k] += 1000;
}
}
}
return in;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void arrayIncreaaseSize(MyArrayList myArrayList, Results results) {\r\n int old_size = myArrayList.length();\r\n int value;\r\n Random rand = new Random();\r\n \r\n for(int i=0; i<50; i++) {\r\n value = rand.nextInt(10000);\r\n if(value < 0) {\r\n value = value * -1;\r\n }\r\n myArrayList.insertSorted(value);\r\n }\r\n if(myArrayList.length() == old_size + 25) {\r\n results.storeNewResult(\"ArrayIncrease test case: PASSED\");\r\n }\r\n else {\r\n results.storeNewResult(\"ArrayIncrease test case: FAILED\");\r\n }\r\n }",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tint a[] = {10,10,10,10,15};\n\t\tint len =a.length;\n\t\tint j = a[0];\n\t\t//for(int i =0;i<len;i++) {\n\t\t//\tfor(int j=0;j<=10;j++) {\n\t\t\t\tfor(int i = 0;i<len;i++) {\n\t\t\t\t\n\t\t\t\n\t\t\t\tif(j != a[i]) {\n\t\t\t\t\tfor(int k =j;k<a[i];k++) {\n\t\t\t\t\tSystem.out.println(\"missing number is :\" + k);\n\t\t\t\t\t//j=a[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (j < a[i+1])\n\t\t\t\t\tj++;\n\t\t\t\t//\tj=a[i];\n\t\t\t}\n\t\t\t\t\t\t\n\t\t}",
"protected static int m34121a(int i, long j, List<C22441c> list) {\n C22441c c22441c;\n AppMethodBeat.m2504i(114774);\n Object obj = 1;\n while (i < sJS.size()) {\n try {\n Object obj2;\n c22441c = (C22441c) sJS.get(i);\n if (obj == null || c22441c.endTime <= j) {\n list.add(c22441c);\n obj2 = obj;\n } else {\n C22441c c22441c2 = new C22441c();\n c22441c2.sJY = c22441c.sJY;\n c22441c2.startTime = j;\n c22441c2.endTime = c22441c.endTime;\n list.add(c22441c2);\n obj2 = null;\n }\n i++;\n obj = obj2;\n } catch (Exception e) {\n AppMethodBeat.m2505o(114774);\n return -1;\n }\n }\n if (list.size() == 0) {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = j;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n } else {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = sJP.startTime;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n }\n int size = sJS.size();\n AppMethodBeat.m2505o(114774);\n return size;\n }",
"@Override\r\n public long problem2() {\r\n ArrayList<String> arrList = new ArrayList<>();\r\n long start = System.currentTimeMillis(); \r\n for(int i = 0; i<1234567; i++){\r\n arrList.add(Integer.toString(i));\r\n }\r\n long end = System.currentTimeMillis(); \r\n return end - start; \r\n }",
"private static void findMissingAndDuplicateNumberFrom1toN(int[] input) {\n\t\tint len = input.length;\n\t\tint i = 0;\n\n\t\twhile (i < len) {\n\t\t\t//if its already in correct place\n\t\t\tif (input[i] == i + 1) {\n\t\t\t\ti++;\n\t\t\t\tcontinue;\n\t\t\t} else if (input[i] == input[input[i] - 1]) { //if the elment to be swapped with are same\n\t\t\t\ti++;\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tint temp = input[i];\n\t\t\t\tinput[i] = input[input[i] - 1];\n\t\t\t\tinput[temp - 1] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (input[i] != i + 1) {\n\t\t\t\tSystem.out.println(\"Missing number : \" + (i + 1));\n\t\t\t\tSystem.out.println(\"Duplicate number : \" + input[i]);\n\t\t\t}\n\t\t}\n\n\t}",
"private void updateValues() {\n \n //Find the spaces that can be solved.\n List<Number>updatableNumbers = numbers.stream()\n .filter(n -> n.getUsedValues() != null)\n .filter(n -> n.getUsedValues().size() == 8)\n .filter(n -> n.getValue() == 0)\n .collect(Collectors.toList());\n\n updatableNumbers.forEach(u -> {\n //Create a list of numbers 1-9\n List<Integer> intThrough9 = IntStream.rangeClosed(1, 9)\n .boxed()\n .collect(Collectors.toList());\n\n //Remove the used numbers from the list of 9 \n //to get expected value.\n intThrough9.removeAll(u.getUsedValues());\n u.setValue(intThrough9.get(0));\n }\n );\n }",
"private static long calc1()\n {\n final int min = 1000;\n final int max = 10000;\n\n // initialize\n List<List<Integer>> m = new ArrayList<>();\n for (int k = 0; k < end; k++) {\n List<Integer> list = new ArrayList<Integer>();\n int n = 1;\n while (k >= start) {\n int p = pkn(k, n);\n if (p >= max) {\n break;\n }\n if (p >= min) {\n list.add(p);\n }\n n++;\n }\n m.add(list);\n }\n\n boolean[] arr = new boolean[end];\n arr[start] = true;\n\n List<Integer> solutions = new ArrayList<>();\n List<Integer> list = m.get(start);\n for (Integer first : list) {\n LinkedList<Integer> values = new LinkedList<>();\n values.add(first);\n f(m, arr, values, 1, solutions);\n // we stop at the first solution found\n if (!solutions.isEmpty()) {\n break;\n }\n }\n\n // solutions.stream().forEach(System.out::println);\n int res = solutions.stream().reduce(0, Integer::sum);\n return res;\n }",
"private void expand() {\n int capacity = newCapacity();\n IntIntMap h = new IntIntMap(capacity);\n for (int i = 0; i < entries.length; i += 2) {\n if (entries[i] != EMPTY) {\n h.put(entries[i], entries[i + 1]);\n }\n }\n this.entries = h.entries;\n this.threshold = h.threshold;\n this.modulo = h.modulo;\n this.modulo2 = h.modulo2;\n }",
"private static int findNext(List<List<Integer>> m, int k, int val)\n {\n int res = -1;\n int base = val % 100;\n // we ignore one-digit base (meaning no base can start with zero)\n if (base < 10) {\n return res;\n }\n\n int min = base * 100;\n int max = (base + 1) * 100;\n List<Integer> list = m.get(k);\n Iterator<Integer> iter = list.iterator();\n while (iter.hasNext()) {\n int n = iter.next();\n if (n >= max) {\n break;\n }\n if (n >= min) {\n res = n;\n break;\n }\n }\n return res;\n }",
"public static void func(){\n\t\tHashMap<Integer,Integer> map = new HashMap<Integer,Integer>();\n\t\tint limit = 1000;\n\t\tboolean psb[] = generatePrime(limit);\n\t\t\n\t\tint ps[] = MathTool.generatePrime(100000);\n\t\tfor (int i = 1; ps[i]<1000; i++) {\n\t\t\t//System.out.println(ps[i]);\n\t\t}\n\t\tint max=0;\n\t\tfor (int i = 0; ps[i] < limit; i++) {\n\t\t\tint n = ps[i];\n\t\t\tint j=i;\n\t\t\twhile(n<limit){\n\t\t\t\tif(!psb[n]){\n\t\t\t\t\tint num =j-i+1;\n\t\t\t\t\tif(map.containsKey(n)){\n\t\t\t\t\t\tif(map.get(new Integer(n)) < num){\n\t\t\t\t\t\t\tmap.put(n, num);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmap.put(n, num);\n\t\t\t\t\t}\n\t\t\t\t\tif(num > max){\n\t\t\t\t\t\tmax=num;\n\t\t\t\t\t\tSystem.out.println(num+\" \"+n+\" \"+i+\" \"+j);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t\tn+=ps[j];\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"static /* synthetic */ void m34120F(int i, long j) {\n AppMethodBeat.m2504i(114776);\n C22440b c22440b;\n if (i == 11) {\n c22440b = new C22440b();\n c22440b.startTime = System.currentTimeMillis();\n sJR.put(Long.valueOf(j), c22440b);\n AppMethodBeat.m2505o(114776);\n return;\n }\n if (i == 12) {\n if (!sJR.containsKey(Long.valueOf(j))) {\n new C22440b().startTime = System.currentTimeMillis();\n AppMethodBeat.m2505o(114776);\n return;\n }\n } else if (i == 13) {\n c22440b = (C22440b) sJR.get(Long.valueOf(j));\n if (c22440b != null) {\n c22440b.endTime = System.currentTimeMillis();\n sJT.add(c22440b);\n sJR.remove(Long.valueOf(j));\n }\n }\n AppMethodBeat.m2505o(114776);\n }",
"static void getdonein(int arr[], int val) {\n\t\tint div = arr.length / val;\n\t\tint count = 0;\n\t\tArrayList<ArrayList<Integer>> finalarray = new ArrayList<ArrayList<Integer>>();\n\t\tCollections.sort(finalarray, (a, b) -> {\n\t\t\treturn b.get(0) - a.get(0);\n\t\t});\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tArrayList<Integer> store = new ArrayList<Integer>();\n\t\t\tstore.add(arr[i]);\n\t\t\tif (count == val - 1) {\n\t\t\t\tfinalarray.add(new ArrayList<Integer>(store));\n\n\t\t\t\tcount = 0;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\tPriorityQueue<Integer> pr = new PriorityQueue<Integer>();\n\n\t\tfor (int i = 0; i < finalarray.size(); i++) {\n\t\t\tpr.add(finalarray.get(i).get(0));\n\t\t\tfinalarray.get(i).remove(0);\n\t\t}\n\n\t\tArrayList<Integer> finalstore = new ArrayList<Integer>();\n\t\twhile (!finalarray.isEmpty()) {\n\t\t\tfor (int i = 0; i < finalarray.size(); i++) {\n\t\t\t\tif (pr.peek() <= finalarray.get(i).get(0)) {\n\t\t\t\t\tfinalstore.add(pr.poll());\n\t\t\t\t\tpr.add(finalarray.get(i).get(0));\n\t\t\t\t\tfinalarray.get(i).remove(0);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(finalstore);\n\n\t}",
"public static ArrayList<ArrayList<Integer>> fourSum(ArrayList<Integer> a, int k) {\n Collections.sort(a);\n System.out.println(a);\n LinkedHashMap<Integer, List<List<Integer>>> m = new LinkedHashMap<Integer, List<List<Integer>>>();\n for (int i = 0; i <= a.size() - 3; i++) {\n for (int j = i + 1; j <= a.size() - 2; j++) {\n if (m.get(a.get(i) + a.get(j)) == null) {\n ArrayList<List<Integer>> v = new ArrayList<List<Integer>>();\n List<Integer> c = new ArrayList<Integer>();\n c.add(i);\n c.add(j);\n v.add(c);\n m.put(a.get(i) + a.get(j), v);\n } else {\n List<List<Integer>> v = m.get(a.get(i) + a.get(j));\n List<Integer> c = new ArrayList<Integer>();\n c.add(i);\n c.add(j);\n v.add(c);\n m.put(a.get(i) + a.get(j), v);\n }\n\n }\n }\n LinkedHashSet<ArrayList<Integer>> res = new LinkedHashSet<ArrayList<Integer>>();\n for (int i = 2; i <= a.size() - 1; i++) {\n for (int j = i + 1; j < a.size(); j++) {\n List<List<Integer>> v = m.get(k - (a.get(i) + a.get(j)));\n if (v != null && v.size() >= 1) {\n for (List<Integer> l : v) {\n\n if (l.get(0) < l.get(1) && l.get(1) < i && l.get(1) < j) {\n //System.out.println(l.get(0) + \" \" + l.get(1) + \" \" + i + \" \" + j);\n ArrayList<Integer> out = new ArrayList<Integer>();\n out.add(a.get(l.get(0)));\n out.add(a.get(l.get(1)));\n out.add(a.get(i));\n out.add(a.get(j));\n Collections.sort(out);\n //System.out.println(out);\n res.add(out);\n }\n }\n }\n }\n }\n return new ArrayList<ArrayList<Integer>>(res);\n }",
"private int houseRobberWithMaxAmountHousesFromItoJInConstantSpace(int[] a, int i, int j) {\n\t\tif (null == a || i > j)\n\t\t\treturn 0;\n\n\t\tif (j - i == 0)\n\t\t\treturn a[i];\n\n\t\tint incl = a[i];\n\t\tint excl = 0, temp;\n\n\t\tfor (int k = i + 1; k <= j; k++) {\n\t\t\ttemp = incl;\n\t\t\tincl = Math.max(excl + a[k], incl);\n\t\t\texcl = temp;\n\t\t}\n\t\treturn incl;\n\t}",
"public void insertToBucket()\n {\n int value = 0;\n value = valueCheck(value);\n \n //inserts value in the array to the buckets\n if(value == 0)\n {\n zero.add(a[k]);\n a[k] = 0;\n }\n if(value == 1)\n {\n one.add(a[k]);\n a[k] = 0;\n }\n if(value == 2)\n {\n two.add(a[k]);\n a[k] = 0;\n }\n if(value == 3)\n {\n three.add(a[k]);\n a[k] = 0;\n }\n if(value == 4)\n {\n four.add(a[k]);\n a[k] = 0;\n }\n if(value == 5)\n {\n five.add(a[k]);\n a[k] = 0;\n }\n if(value == 6)\n {\n six.add(a[k]);\n a[k] = 0;\n }\n if(value == 7)\n {\n seven.add(a[k]);\n a[k] = 0;\n }\n if(value == 8)\n {\n eight.add(a[k]);\n a[k] = 0;\n }\n if(value == 9)\n {\n nine.add(a[k]);\n a[k] = 0;\n }\n \n k++;\n }",
"private void arrayInsertLargeNumber(MyArrayList myArrayList, Results results, int value) {\r\n myArrayList.insertSorted(value);\r\n if(myArrayList.search(value)) {\r\n results.storeNewResult(\"ArrayInsertLargeNumber test case: FAILED\");\r\n }\r\n else {\r\n results.storeNewResult(\"ArrayInsertLargeNumber test case: PASSED\");\r\n }\r\n }",
"public void fill(ArrayList<LottoDay> list)\n\t{\n\t\tint[] numF = new int [48];//store occurrences for lotto numbers\n\t\tint [] megaF = new int [28]; //store occurrences for mega numbers\n\t\tint[] check = new int [5]; // stores each objects 5 numbers\n\t\tint counter =0; //counts occurrences\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i); //get object\n\t\t\tcheck = one.getWNum(); //gets 5 numbers of the object\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<check.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//if number equals index\n\t\t\t\t\tif(check[k]==j)\n\t\t\t\t\t{\n\t\t\t\t\t\tcounter++; //add one to count\n\t\t\t\t\t\tnumF[j]=counter+numF[j]; //add one to occurrence\n\t\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i);//get object\n\t\t\tmega= one.getMega();//get mega number\n\t\t\tfor(int j=0; j<megaF.length;j++)\n\t\t\t{\n\t\t\t\t// if mega number equals index\n\t\t\t\tif(mega==j)\n\t\t\t\t{\n\t\t\t\t\tcounter++;//add one to count\n\t\t\t\t\tmegaF[j]=counter+megaF[j]; //add one to occurrence\n\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\n\t\tfor(int i=0; i<numF.length; i++)\n\t\t{\n\t\t\tnumber.put(i,numF[i]);//put all lotto numbers with occurrences\n\n\t\t}\n\t\tfor(int i=0; i<megaF.length; i++)\n\t\t{\n\t\t\tmegaN.put(i, megaF[i]);//put all mega numbers with occurrences\n\t\t}\n\t}",
"static int findMissing(int arr[], int size)\n {\n \n //0 -10 1 3 -20\n int p1 = 0;\n int p2 = size-1;\n while (p1<p2) {\n if (arr[p1] > 0) {\n p1++;\n } else {\n int temp = arr[p2];\n arr[p2] = arr[p1];\n arr[p1] = temp;\n p2--;\n }\n }\n //1 3 0 -10 -20\n for (int i=0; i<=p1; i++) {\n int x = Math.abs(arr[i])-1;\n int y = arr[x];\n if (y>0 && y <= size) {\n arr[x] = y*-1;\n }\n }\n for (int i=0; i<size; i++) {\n if (arr[i] > 0) {\n return i+1;\n }\n }\n \n return p1+2;\n }",
"public void add(int i, int k) {\n for (int m = i + 1; m <= count; m++) {\n values[m] = values[m-1];\n }\n values[i] = k;\n count++;\n }",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n if (t < 0) return false;\n long sz = (long)t + 1;\n Map<Long, Long> map = new HashMap<>();\n for (int i = 0; i < nums.length; ++i) {\n long bucket = getBucket(nums[i], sz);\n if (map.containsKey(bucket)) return true;\n if (map.containsKey(bucket + 1) && Math.abs(nums[i] - map.get(bucket + 1)) < sz) return true;\n if (map.containsKey(bucket - 1) && Math.abs(nums[i] - map.get(bucket - 1)) < sz) return true;\n map.put(bucket, (long)nums[i]);\n if (i >= k) map.remove(getBucket(nums[i - k], sz));\n }\n return false;\n}",
"public boolean containsNearbyDuplicate2(int[] nums, int k) {\n\n int max = Integer.MIN_VALUE;\n for (int i = 0; i < nums.length; i++) {\n max=Math.max(max,nums[i]);\n }\n Integer[] map = new Integer[max+1];\n for (int i = 0; i < nums.length; i++) {\n Integer c = map[nums[i]];\n if(c!=null && i-c<=k){\n return true;\n }else {\n map[nums[i]]=i;\n }\n }\n return false;\n }",
"private int elementNC(int i) {\n return first + i * stride;\n }",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int k = in.nextInt();\n ArrayList<Integer> list = new ArrayList<>();\n for(int arr_i=0; arr_i < n; arr_i++){\n int integer = in.nextInt();\n list.add(new Integer(integer));\n }\n in.close();\n\n\n\n if(k == 1){\n System.out.println(k);\n return;\n }\n\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i) % k;\n list.set(i, x);\n }\n\n int[] kx = new int[k];\n for(int i = 0;i < k;i ++){\n kx[i] = 0;\n }\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i);\n kx[x] ++;\n }\n\n\n int num = 0;\n int A = 0;\n if(k % 2 == 0){\n A = k / 2 - 1;\n }else{\n A = k / 2;\n }\n if(kx[0] != 0){\n num += 2;\n }\n for(int i = 1; i <= A;i ++){\n if(kx[i] >= kx[k - i]){\n num += kx[i];\n }else {\n\n num += kx[k - i];\n }\n\n }\n System.out.println(num);\n }",
"private void m10266b(List<C2411a> list) {\n int i;\n int i2;\n List arrayList = new ArrayList();\n ArrayList arrayList2 = new ArrayList();\n arrayList.addAll(list);\n this.f8987o.add(Double.valueOf(0.0d));\n arrayList2.add(Double.valueOf(0.0d));\n for (i = 0; i < 5; i++) {\n C2411a c2411a = (C2411a) arrayList.remove(0);\n this.f8987o.add(Double.valueOf(c2411a.m12234j()));\n arrayList2.add(Double.valueOf(c2411a.m12233i() / 1000.0d));\n }\n int size = arrayList.size();\n i = 5;\n while (i > 0) {\n i2 = size - 1;\n c2411a = (C2411a) arrayList.remove(size - i);\n this.f8987o.add(Double.valueOf(c2411a.m12234j()));\n arrayList2.add(Double.valueOf(c2411a.m12233i() / 1000.0d));\n i--;\n size = i2;\n }\n int size2 = arrayList.size();\n int i3 = size2 / 387;\n int i4 = 0;\n int i5 = 6;\n while (i4 < 387) {\n i2 = i4 * i3;\n if (i2 >= size2) {\n double j = ((C2411a) arrayList.get(size2 - 1)).m12234j();\n if (j > this.f8976d.getMaxVelocity()) {\n j = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(j));\n arrayList2.add(i5, Double.valueOf(((C2411a) arrayList.get(size2 - 1)).m12233i() / 1000.0d));\n size = i5 + 1;\n } else {\n c2411a = (C2411a) arrayList.get(i2);\n i = (i4 + 1) * i3;\n if (i >= size2) {\n i = size2 - 1;\n }\n C2411a c2411a2 = (C2411a) arrayList.get(i);\n long h = (c2411a2.m12232h() / 1000) - (c2411a.m12232h() / 1000);\n double d;\n if (h <= 0) {\n double d2 = 0.0d;\n while (i2 < (i4 + 1) * i3) {\n d2 += ((C2411a) arrayList.get(i2)).m12234j();\n i2++;\n }\n d = d2 / ((double) i3);\n if (d > this.f8976d.getMaxVelocity()) {\n d = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(d));\n } else {\n d = ((c2411a2.m12233i() - c2411a.m12233i()) / ((double) h)) * 3.6d;\n if (d > this.f8976d.getMaxVelocity()) {\n d = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(d));\n }\n arrayList2.add(i5, Double.valueOf(c2411a.m12233i() / 1000.0d));\n size = i5 + 1;\n }\n i4++;\n i5 = size;\n }\n this.f8987o.add(Double.valueOf(0.0d));\n arrayList2.add(Double.valueOf(this.f8976d.getTotalDistance()));\n i2 = this.f8987o.size();\n i = 1;\n while (i < i2) {\n if (this.f8978f >= ((Double) arrayList2.get(i - 1)).doubleValue() && this.f8978f < ((Double) arrayList2.get(i)).doubleValue()) {\n this.f8987o.add(i, Double.valueOf(this.f8976d.getMaxVelocity()));\n arrayList2.add(i, Double.valueOf(this.f8978f));\n break;\n }\n i++;\n }\n this.f8993u = this.f8987o.size();\n }",
"public static void thousandArray(){\n \n bCount=0; iCount=0; qsCount=0; //so that counter variables do not carry over values from the last iteration of previous method\n System.out.println(\"QUESTION 3: 1000 ELEMENT ARRAY\"); System.out.println(\"-----------------------------------------------------\");\n \n for(int x =1; x<=10; x++){ //recursive loop that runs the method 10 times\n \n btemp3= bCount+ btemp3; itemp3= iCount+ itemp3; qstemp3= qsCount+ qstemp3; //adds comparisons to each other before resetting\n bCount=0; iCount=0; qsCount=0; //resets variables after every iteration of the for loop\n int arr[] = new int [1000];\n \n System.out.print(x+\") Starting Array: \");\n for(int i=0; i<arr.length; i++){\n Random rand = new Random();\n arr[i] = rand.nextInt(100);\n System.out.print(arr[i] + \" \");\n }\n \n System.out.println(\"\"); System.out.println(\"-----------------------------------------------------\");\n\n bubbleSort(arr);\n System.out.print(\"Bubble Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Bubble Comparisons: \" + bCount); System.out.println(\"\");\n\n \n insertionSort(arr);\n System.out.print(\"Insertion Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Insertion Comparisons: \" + iCount); System.out.println(\"\");\n\n \n quickSort(arr,0,arr.length-1);\n System.out.print(\"Quick Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Quick Comparisons: \" + qsCount); System.out.println(\"-----------------------------------------------------\");\n \n } //ends x10 iteration\n System.out.println(\"\");System.out.println(\"\");System.out.println(\"\");\n}",
"private Map<Integer,List<Integer>> sudokuFindBlank(char[][] board){\n\t\tMap<Integer,List<Integer>> Blank=new HashMap<Integer,List<Integer>>();\n\t\tfor(int i=1;i<10;i++){\n\t\t\tList<Integer> temp=new ArrayList<Integer>();\n\t\t\tBlank.put(i, temp);\n\t\t}\n\t\tfor(int i=0;i<9;i++)\n\t\t\tfor(int j=0;j<9;j++){\n\t\t\t\tif(board[i][j]=='.'){ // if it's blank\n\t\t\t\t\tint temp=0x01ff; // use binary to represent, 1 means it's possible for value at that position\n\t\t\t\t\tint count=0; // count for how many number's can use in blank space\n\t\t\t\t //00000001,11111111 \n\t\t\t\t // 9 87654321 \n\t\t\t\t\tfor(int k=0;k<9;k++){ // for rows and column\n\t\t\t\t\t\tif(board[i][k]!='.')\n\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[i][k]-'1')); // get rid of used number\n\t\t\t\t\t\tif(board[k][j]!='.')\n\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[k][j]-'1')); // get rid of used number\n\t\t\t\t\t}\n\t\t\t\t\tfor(int k=0;k<3;k++) // for 3*3 cube\n\t\t\t\t\t\tfor(int l=0;l<3;l++)\n\t\t\t\t\t\t\tif(board[(i/3)*3+k][(j/3)*3+l]!='.')\n\t\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[(i/3)*3+k][(j/3)*3+l]-'1')); // get rid of used number\t\t\t\t\t\n\t\t\t\t\twhile(temp>0){ // this is for get how many 1s in temp, binary\n\t\t\t\t\t\ttemp=temp&(temp-1);\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t\tList<Integer> t=Blank.get(count);\n\t\t\t\t\tt.add(i*9+j); // store the position\n\t\t\t\t\tBlank.put(count, t); // save blank with information of blank position and how many numbers can be choose in that blank\n\t\t\t\t}\n\t\t\t} // finish checking blank, all blank should be represent as 001100001111... like this\n\t\treturn Blank;\n\t}",
"private void testDifferentJRangesForConstantK()\r\n\t{\r\n\t\tint minJ = energiesForCurrentK.entrySet().iterator().next().getKey();\r\n\t\tint maxJ = 0;\r\n\r\n\t\tfor (Map.Entry<Integer, Double> entry : energiesForCurrentK.entrySet()) {\r\n\t\t\tmaxJ = entry.getKey();\r\n\t\t}\r\n\r\n\t\tint shiftsOfJPossible = (maxJ - minJ) + inputBranchArray.size() - 1;\r\n\r\n\t\tfor (int i = 0; i < shiftsOfJPossible; i++) {\r\n\t\t\tresetArraysAndHeader();\r\n\t\t\tsetHeaderDisplayState(false);\r\n\t\t\tlowestJValue = maxJ - i;\r\n\t\t\thighestJValue = lowestJValue + inputBranchArray.size() - 1;\r\n\t\t\tassignJValuesToInputBranch();\r\n\t\t\tpublishResults();\r\n\t\t}\r\n\t}",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n if (t < 0) return false;\n TreeSet<Long> set = new TreeSet<>();\n for (int i = 0; i < nums.length; ++i) {\n long num = (long)nums[i];\n Long floor = set.floor(num), ceiling = set.ceiling(num);\n if (floor != null && num - floor <= t || ceiling != null && ceiling - num <= t) return true;\n set.add(num);\n if (i >= k) set.remove((long)nums[i - k]);\n }\n return false;\n}",
"private static int _addPossibleValues(int rowNumber, int y, int x, short[][] spareMatrix,String[] rowIds, SudokuModel model) {\r\n\r\n\t\tfor(short i = 0; i <9; i++){\r\n\t\t\tif(!model.restrictionIsSatisfied(y, x, i+1))\r\n\t\t\trowNumber = _addRestrictions(rowNumber,y,x,i,spareMatrix,rowIds);\r\n\t\t}\r\n\t\t\r\n\t\treturn rowNumber;\r\n\t}",
"private static void test() {\n\t\tint i = 0;\n\t\tArrays.fill(arr, -1);\n\t\tarr[++i] = 0;\n\t\tprintArray(arr);\n\t\ti = 0;\n\t\tArrays.fill(arr, -1);\n\t\tarr[i++] = 0;\n\t\tprintArray(arr);\n\t\t\n\t}",
"k value.\nFor 2nd tallest group (and the rest), insert each one of them into (S) by k value. So on and so forth.\n\npublic class Solution {\n public int[][] reconstructQueue(int[][] people) {\n Arrays.sort(people,new Comparator<int[]>() {\n @Override\n public int compare(int[] o1, int[] o2){\n return o1[0] != o2[0]? -o1[0] + o2[0]: o1[1] - o2[1];\n }\n });\n\n List<int[]> res = new ArrayList<>();\n for (int[] cur : people) {\n res.add(cur[1], cur); \n }\n return res.toArray(new int[people.length][]);\n }",
"public void add(int value) {\n expiryTime++;\n arrivalTime++;\n\n Bucket lastBucket = null;\n\n if (!buckets.isEmpty()) {\n // Check if timestamp of the last bucket indicates expiry\n lastBucket = buckets.get(buckets.size() - 1);\n if (lastBucket.isExpired(expiryTime)) {\n buckets.remove(lastBucket);\n // Update the counter LAST - containing size of the last bucket\n last = buckets.isEmpty() ? 0 : buckets.get(buckets.size() - 1).getSize();\n // Update TOTAL - size of all buckets\n total -= lastBucket.getSize();\n }\n }\n\n // 2\n // new element is 0 then ignore it\n if (value == 0) return;\n\n // if element is 1, create new bucket with size 1 and the current timestamp, increment TOTAL\n buckets.add(0, new Bucket(arrivalTime - 1));\n total++;\n\n // 3\n // traverse the list of buckets in order of increasing sizes\n int onesLimit = (int) k + 2;\n\n if (buckets.stream().filter(p -> p.getSize() == 1).count() >= onesLimit) {\n int otherLimit = (int) (k / 2) + 2;\n\n int limit = onesLimit;\n\n int mergeExponent = 0;\n int mergerBucketSize = (int) Math.pow(2, mergeExponent);\n\n ArrayList<Bucket> bucketsToMerge = new ArrayList<Bucket>();\n\n while (true) {\n\n for (Bucket bucket : buckets) {\n if (bucket.getSize() < mergerBucketSize) continue;\n\n if (bucket.getSize() > mergerBucketSize) break;\n\n if (bucket.getSize() == mergerBucketSize) {\n bucketsToMerge.add(bucket);\n } else {\n break;\n }\n }\n\n if (bucketsToMerge.size() != limit) {\n break;\n }\n\n // MERGE\n mergeExponent++;\n mergerBucketSize = (int) Math.pow(2, mergeExponent);\n limit = otherLimit;\n\n // Take two oldest buckets\n // we iterate from recent to oldest so take last 2 buckets from bucketsToMerge\n Bucket lastBucketToMerge = bucketsToMerge.get(bucketsToMerge.size() - 1);\n Bucket oneBeforeLastBucketToMerge = bucketsToMerge.get(bucketsToMerge.size() - 2);\n\n // If last bucket is being merged, update LAST counter\n if (oneBeforeLastBucketToMerge.getSize() == lastBucket.getSize()) {\n last = oneBeforeLastBucketToMerge.getSize() * 2;\n }\n\n // Update size of the most recent bucket with double size\n oneBeforeLastBucketToMerge.setSize(oneBeforeLastBucketToMerge.getSize() * 2);\n // remove last bucket\n buckets.remove(lastBucketToMerge);\n\n // Clear temp buckets\n bucketsToMerge = new ArrayList<Bucket>();\n }\n\n }\n }",
"private static void task01111(int nUMS, SplayTree<Integer> j, GenerateInt generateInt) {\n\t\t\n\t\t long start = System.nanoTime();\n\t\t System.out.println( \"Fill in the table...Splay Tree\" );\n\t\t int count=1;\n\t\t\tfor( int i = 1; i <= nUMS; i++)\n\t\t\t{\n\t\t\t\t \t\t \n\t\t\t\tj.insert(GenerateInt.generateNumber());\n//\t\t\t\tSystem.out.println(GenerateInt.generateNumber());\n\t\t\t\tcount = i;\n\n\t\t\t}\n\t\t\tSystem.out.println(\"Total Size \" + count);\n\t\t\tlong end = System.nanoTime();;\n\t\t\tlong elapsedTime = end - start;\n\t\t\tSystem.out.println(elapsedTime + \" NanoSeconds\");\n\t\t\tSystem.out.println(\"Average Time \" + elapsedTime/nUMS);\n\n\n\t\t\n\t}",
"private void setUsedValuesbyRow() {\n \n //Loop through each row.\n IntStream.rangeClosed(1,9).forEach(i -> {\n //Loop through each position in the row.\n IntStream.rangeClosed(1,9).forEach(j -> {\n //If this value is not set find all the other values in the row and set \n //the possible values of this item to those that are not currently set.\n int row = i;\n Number currentNumber = numbers.stream()\n .filter(n -> n.getRow() == row)\n .filter(n -> n.getColumn() == j)\n .findAny().get();\n //If the value is 0 it is not set\n if (currentNumber.getValue() < 1) {\n //Used numbers in this row\n List<Integer> usedNumbers = numbers.stream()\n .filter(n -> n.getValue() > 0)\n .filter(n -> n.getRow() == row)\n .filter(n -> n.getColumn() != j)\n .map(Number::getValue)\n .collect(Collectors.toList());\n\n //If position currently doesn't have used values then set them to \n //the ones that were found.\n if (currentNumber.getUsedValues() == null){\n currentNumber.setUsedValues(usedNumbers);\n }\n else {\n //Set the position's used values to the union of what it currently has and the\n //identifed used values.\n currentNumber.setUsedValues(\n CollectionUtils.union(currentNumber.getUsedValues(), usedNumbers)\n .stream().collect(Collectors.toList()));\n }\n }\n });\n });\n }",
"public int[] coldN(ArrayList<LottoDay> list)\n\t{ \n\t\tint low=200;//set low to 200\n\t\tint[] numF = new int [48]; //create array of occurrences\n\t\tint[] check = new int [5]; //create an array for the first five numbers and the five lowest numbers\n\t\tint counter =0; //counts number of occurrences\n\t\t//cold numbers for 1-47\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i);//get object\n\t\t\tcheck = one.getWNum();//store the 5 lotto numbers\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<check.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//if lotto number equals the index\n\t\t\t\t\tif(check[k]==j)\n\t\t\t\t\t{\n\t\t\t\t\t\tcounter++; //add one to counter\n\t\t\t\t\t\tnumF[j]=counter+numF[j];//add one to occurrence\n\t\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//check for lowest number\n\t\tfor(int j=0; j<check.length; j++)\n\t\t{\n\t\t\tfor(int i=0; i<numF.length;i++)\n\t\t\t{\n\t\t\t\t//occurrence isn't zero and is lower than low\n\t\t\t\tif(numF[i]<low &&numF[i]!=0)\n\t\t\t\t{\n\t\t\t\t\tlow = numF[i]; //set low to new low of occurrence\n\t\t\t\t\tcheck[j]=i; //store new low occurrence\n\t\t\t\t\tindex=i; //store index of occurrence\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tlow=200;//reset low\n\t\t\tnumF[index]=0;//sets the lowest occurrence to zero\n\n\t\t}\n\n\n\n\t\treturn check;//return 5 lowest numbers\n\n\n\t}",
"public ArrayList<ArrayList<Integer>> fourSum(int[] num, int target) {\n int temp = 0;\n Arrays.sort(num);\n\n ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>();\n int [] s = new int [4];\n int total = 0;\n int current = -1;\n int i = 0;\n Arrays.fill(s, 0);\n HashMap<Long, Integer> m = new HashMap<Long, Integer>();\n \n \n if (num.length < 4) return a;\n \n while (i!=-1) {\n //increase the current pointer\n ++current;\n if (current > num.length-1) {\n --i;\n if (i >= 0) \n {\n current = s[i];\n total -= num[current];\n }\n }\n else if (total + num[current] > target || total + (4-i)*num[num.length-1] < target) {\n --i;\n if (i >= 0) \n {\n current = s[i];\n total -= num[current];\n }\n }\n else {\n //check if current number will work\n /*if (current == 0)\n {\n */\n if (i < 3) {s[i] = current; total += num[current]; ++i;}\n else if (num[current] + total == target) {\n //bingo one answer\n ArrayList<Integer> b = new ArrayList<Integer>();\n long c = num[s[0]]*num[s[1]]*num[s[2]]*num[current];\n long d = Math.abs((long)num[s[0]]*1000000000) \n + Math.abs((long)num[s[1]]*1000000)\n + Math.abs((long)num[s[2]]*1000)\n + Math.abs((long)num[current]);\n if (c < 0) d *= -1;\n if (!m.containsKey(d))\n {\n b.add(num[s[0]]);\n b.add(num[s[1]]);\n b.add(num[s[2]]);\n b.add(num[current]);\n a.add(b);\n m.put(d, 1);\n }\n }\n /*\n } \n else if (num[current] != num[current-1])\n {\n if (i < 2) {s[i] = current; total += num[current]; ++i;}\n else if (num[current] + total == 0) {\n //bingo one answer\n ArrayList<Integer> b = new ArrayList<Integer>();\n b.add(num[s[0]]);\n b.add(num[s[1]]);\n b.add(num[s[2]]);\n a.add(b);\n }\n }\n */\n }\n }\n return a;\n }",
"private static List<Integer> addOnePlus(List<Integer> input) {\n\n\t\tint size = input.size();\n\t\tinput.set(size-1, input.get(size-1)+1);//last element of input is updated/replaced by (original value + 1)\n\n\t\tfor(int i=size-1; i>0 && input.get(i)==10; i--) {\n\t\t\tinput.set(i, 0);\n\t\t\tinput.set(i-1, input.get(i-1)+1);\n\t\t}\n\n\t\tif(input.get(0) == 10) {\n\t\t\tinput.set(0, 0);\n\t\t\tinput.add(0, 1);//add 1 at index0 ,shift all elements after to right\n\t\t}\n\n\t\treturn input;//this modifies the original input\n\t}",
"static int getMissingByAvoidingOverflow(int a[], int n)\n\t {\n\t int total = 2;\n\t for (int i = 3; i <= (n + 1); i++)\n\t {\n\t total =total+ i -a[i - 2];\n\t //total =total- a[i - 2];\n\t }\n\t return total;\n\t }",
"public static void main(String[] args) {\n\n\t\tint number = 32841;\n\t\tint temp = 32841;\n\t\t/*\n\t\t * int number = 32814; int temp = 32814;\n\t\t */\n\t\t// 14823\n\t\t// 12843\n\t\tArrayList<Integer> listOfNumbers = new ArrayList<Integer>();\n\t\tArrayList<Integer> newList = new ArrayList<Integer>();\n\n\t\twhile (temp > 0) {\n\t\t\tint digit = temp % 10;\n\t\t\ttemp = temp / 10;\n\t\t\tlistOfNumbers.add(digit);\n\t\t}\n\n\t\tint i = 0;\n\t\tint j = i + 1;\n\t\t// Checking the asecending order\n\t\tfor (i = 0; i < listOfNumbers.size() - 1; i++) {\n\n\t\t\tif (listOfNumbers.get(j) < listOfNumbers.get(i)) {\n\t\t\t\tSystem.out.println(listOfNumbers.get(i + 1));\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(j);\n\t\t\tj++;\n\t\t}\n\n\t\t// j = 0;\n\n\t\t// replacing the 2 and 4\n\t\tfor (int m = 0; m < listOfNumbers.size() - 1; m++) {\n\n\t\t\tif ((Integer) listOfNumbers.get(m) > (Integer) listOfNumbers.get(i + 1)) {\n\t\t\t\tSystem.out.println(\" i = \" + i);\n\t\t\t\tSystem.out.println(\"value at m is \" + listOfNumbers.get(m));\n\t\t\t\tSystem.out.println(\"value at i is \" + listOfNumbers.get(i + 1));\n\t\t\t\tint swap = listOfNumbers.get(m);\n\t\t\t\tlistOfNumbers.set(m, listOfNumbers.get(i + 1));\n\t\t\t\tlistOfNumbers.set(i + 1, swap);\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\t// getting the sub list and sorting them\n\t\tList<Integer> subList = listOfNumbers.subList(0, i + 1);\n\t\tCollections.sort(subList);\n\t\tCollections.reverse(subList);\n\n\t\t// creating a new list wit the next higher number\n\t\tfor (int k = listOfNumbers.size(); k > i + 1; k--) {\n\t\t\tnewList.add(listOfNumbers.get(k - 1));\n\t\t}\n\n\t\tfor (int k = 0; k < subList.size(); k++) {\n\t\t\tnewList.add(subList.get(k));\n\t\t}\n\n\t\tfor (int k = 0; k < newList.size(); k++) {\n\t\t\tSystem.out.print(newList.get(k));\n\t\t}\n\t}",
"static long countTriplets(List<Long> arr, long r) {\n long result = 0L;\n long size = arr.size();\n\n ArrayList<long[]> duoList = new ArrayList<>();\n\n // triplet 이 될 수 있는 duo를 선발\n for (int i = 0; i < (size - 1); i++) {\n long firstItem = arr.get(i);\n\n for (int j = i + 1; j < size; j++) {\n long secondItem = arr.get(j);\n if (j >= (size - 1)) continue;\n if (secondItem / (float) firstItem == r) {\n long[] tripletAble = {i, j};\n // System.out.println(\"tripletAble : \" + Arrays.toString(tripletAble));\n if (duoList.contains(tripletAble)) {\n continue;\n } else {\n duoList.add(tripletAble);\n }\n }\n }\n }\n\n // duo인 int[] 의 두 번째 item (int[1]) 의 다음 index부터 탐색해서\n // 해당 수가 triplet이 될 수 있다면 result + 1\n // 판단 기준은 thirdItem / secondItem 이 r이 되는 경우\n int listSize = duoList.size();\n for (int k = 0; k < listSize; k++) {\n long[] targetArr = duoList.get(k);\n long secondIdx = targetArr[1];\n for (int l = (int) secondIdx + 1; l < size; l++) {\n\n long secondItem = arr.get((int) targetArr[1]);\n long thirdItem = arr.get(l);\n\n if (thirdItem / (float) secondItem == r) {\n result += 1L;\n }\n }\n }\n\n return result;\n }",
"public static void main(String[] args) {\n int N = 100, i, j, min;\n System.out.println(\"Value of N: \" + N);\n\n for (i = 1; i <= N; i++)\n {\n for (j = 1; j <= N; j++)\n {\n min = i < j ? i : j;\n System.out.print(N - min + 1);\n }\n System.out.println();\n\n\n\n\n }\n}",
"@Test\n public void addPastInitialCapacity() {\n for (int iteration = 0; iteration < 20; iteration++) {\n testList.add(42);\n }\n assertEquals(20, testList.count());\n }",
"public static void main(String[] args) {\n\t\t\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\t\tlist.add(i + (i / 10000)+((i % 10000)/1000)+((i % 1000)/100)+((i % 100)/10)+((i % 10)/1));\n\t\t\t\n\t\t}\n\t\t\n\t\tint arr[] = new int[10001];\n\t\tfor(int i = 0;i<arr.length;i++) {\n\t\t\tarr[i]=i;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i<list.size();i++) {\n\t\t\tfor(int j=0;j<arr.length;j++) {\n\t\t\t\tif(list.get(i)==arr[j]) {\n\t\t\t\t\tarr[j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i<list.size();i++) {\n\t\t\tif(arr[i]!=0) {\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"private static void task1111(int nUMS, SplayTree<Integer> j, GenerateInt generateInt) {\n\t\tlong start = System.nanoTime();\n\t System.out.println( \"Fill in the table...SPLAY TREE\" );\n\t int count=0;\n\t\tfor( int z = 1; z <= nUMS; z++)\n\t\t{\n\t\t\t \t\t \n\t\t\tj.insert(z);\n\t\t\tcount = z;\n//\t\t\tSystem.out.println(GenerateInt.generateNumber());\n\n\t\t}\n\t\tSystem.out.println(\"Total Size \" + count);\n\t\tlong end = System.nanoTime();;\n\t\tlong elapsedTime = end - start;\n\t\tSystem.out.println(elapsedTime + \" NanoSeconds\");\n\t\tSystem.out.println(\"Average Time \" + elapsedTime/nUMS);\n\n\t}",
"public static void reduceByOneUsingLoop(int j) {\n long now = System.currentTimeMillis();\n if (j >= 0) {\n\n int count = 0;\n while (count < j) {\n count += 1;\n System.out.println(\"Completed call \" + count + \" using loop\");\n }\n\n System.out.println(\"Loop is completed in millisec \" + (System.currentTimeMillis() - now));\n\n }\n }",
"public static void main(String[] args){\n for(int i = 1 ;i < 1000; i++){\n int x = i / 100;\n int y = (i % 100) / 10;\n int z = i % 10;\n int sum = x*x*x + y*y*y +z*z*z;\n if(i == sum || i < 10)\n System.out.println(i);\n }\n }",
"int removeObstacle(int numRows, int numColumns, List<List<Integer>> lot)\r\n {\r\n \tint m = 0;\r\n \tint n = 0;\r\n \tfor(List<Integer> rowList: lot) {\r\n \t\tfor(Integer num: rowList) {\r\n \t\t\tif(num == 9 ) {\r\n \t\t\t\tbreak;\r\n \t\t\t}\r\n \t\t\tn++;\r\n \t\t}\r\n \t\tm++;\r\n \t}\r\n \t// to store min cells required to be \r\n // covered to reach a particular cell \r\n int dp[][] = new int[numRows][numColumns]; \r\n \r\n // initially no cells can be reached \r\n for (int i = 0; i < numRows; i++) \r\n for (int j = 0; j < numColumns; j++) \r\n dp[i][j] = Integer.MAX_VALUE; \r\n \r\n // base case \r\n dp[0][0] = 1; \r\n \r\n for (int i = 0; i < lot.size(); i++) {\r\n \tList<Integer> columnList = lot.get(i);\r\n for (int j = 0; j < columnList.size(); j++) { \r\n \r\n // dp[i][j] != INT_MAX denotes that cell \r\n // (i, j) can be reached from cell (0, 0) \r\n // and the other half of the condition \r\n // finds the cell on the right that can \r\n // be reached from (i, j) \r\n if (dp[i][j] != Integer.MAX_VALUE && \r\n (j + columnList.get(j)) < numColumns && (dp[i][j] + 1) \r\n < dp[i][j + columnList.get(j)]\r\n \t\t && columnList.get(j) != 0) \r\n dp[i][j + columnList.get(j)] = dp[i][j] + 1; \r\n \r\n if (dp[i][j] != Integer.MAX_VALUE && \r\n (i + columnList.get(j)) < numRows && (dp[i][j] + 1) \r\n < dp[i + columnList.get(j)][j] && columnList.get(j) != 0) \r\n dp[i + columnList.get(j)][j] = dp[i][j] + 1; \r\n } \r\n } \r\n \r\n if (dp[m - 1][n - 1] != Integer.MAX_VALUE) \r\n return dp[m - 1][n - 1]; \r\n \r\n return -1; \r\n }",
"private static void findBigramCountsTuring() {\n\n\t\tbigramCountTI= new HashMap<Integer,Double>();\n\t\tdouble value;\n\t\tfor(int i:bucketCountT.keySet()){\n\t\t\tif(i==0)\n\t\t\t\tcontinue;\n\t\t\tvalue= ((i+1)*bucketCountT.getOrDefault(i+1, 0.0))/bucketCountT.get(i);\n\t\t\tbigramCountTI.put(i,value);\n\t\t}\n\t}",
"public static int mergeStones(int[] stones, int K) {\n int N = stones.length;\n if ((N-1)%(K-1)!=0) return -1;\n\n // dp[i][j] stores from i to j if can merge, what is the min cost, if (Len(j, i)-1)%(K-1) == 0 that means it can merge to 1 pile, otherwise, we only calculate\n // (from i(start point) to the farest point which can finally merge to 1 pile)'s merge cost\n int[][] dp = new int[N][N];\n\n int[] sum = new int[N+1];\n for (int i=0; i<N; i++) sum[i+1] = sum[i]+stones[i];\n\n for (int L=K; L<=N; L++) { // L is the length of small range\n // i is the subPiles is start point\n for (int i=0; i<=N-L; i++) {\n // j is the end point, L 不一定是K的倍数\n int j=i+L-1;\n dp[i][j]=Integer.MAX_VALUE;\n\n // each time we need keep from i to m is a \"can-merge-to-one-pile\" piles set, so m step is K-1; because each time besides i, we add(K-1) to the piles\n // [i, i+K-1] length is K\n // 把区间[i, j] split to [i, m] and [m+1,j], the left range must be merged to one pile, the right one maybe can or can not\n for (int m=i; m<j; m+=K-1) {\n dp[i][j]=Math.min(dp[i][j], dp[i][m] + dp[m+1][j]);\n }\n if ((j-i)%(K-1)==0) {\n dp[i][j]+=sum[j+1] - sum[i]; // if [i, j] can merge to 1 pile, we need finally add each elem from i to j\n System.out.println(dp[i][j]);\n }\n }\n }\n\n return dp[0][N-1];\n }",
"public static int ulam(int n) {\n\n List<Integer> list = new ArrayList<>();\n list.add(1);\n list.add(2);\n\n int i = 3;\n while (list.size() < n) {\n\n int count = 0;\n for (int j = 0; j < list.size() - 1; j++) {\n\n for (int k = j + 1; k < list.size(); k++) {\n if (list.get(j) + list.get(k) == i)\n count++;\n if (count > 1)\n break;\n }\n if (count > 1)\n break;\n }\n if (count == 1)\n list.add(i);\n i++;\n }\n return list.get(n - 1);\n }",
"static void findTwoSum(List<List<Integer>> list, int[] nums, int k) {\n \tint target = 0 - nums[k]; // 7 -> check a + b = 7 (target)\n int fi = 0;\n int la = k - 1;\n\n while (fi < la) {\n if (nums[fi] + nums[la] == target) {\n list.add(Arrays.asList(nums[fi], nums[la], nums[k]));\n while (fi < nums.length - 1 && nums[fi] == nums[fi + 1]) {\n \tfi++;\n }\n fi++;\n }\n else if (nums[fi] + nums[la] < target)\n fi++;\n else\n la--;\n }\n }",
"public void addValue(int i, double data) {\n\n\t\tfinal double weight = 1;\n\n\t\tdata = round(data);\n\t\tint insertIndex = findNearestValue(i, data);\n\n\t\tif ((m_NumValues[i] <= insertIndex) || (m_seenNumbers[i][insertIndex] != data)) {\n\t\t\tif (m_NumValues[i] < m_seenNumbers[i].length) {\n\t\t\t\tint left = m_NumValues[i] - insertIndex;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], insertIndex, m_seenNumbers[i], insertIndex + 1, left);\n\t\t\t\tSystem.arraycopy(m_Weights[i], insertIndex, m_Weights[i], insertIndex + 1, left);\n\n\t\t\t\tm_seenNumbers[i][insertIndex] = data;\n\t\t\t\tm_Weights[i][insertIndex] = weight;\n\t\t\t\tm_NumValues[i]++;\n\t\t\t} else {\n\t\t\t\tdouble[] newValues = new double[m_seenNumbers[i].length * 2];\n\t\t\t\tdouble[] newWeights = new double[m_seenNumbers[i].length * 2];\n\t\t\t\tint left = m_NumValues[i] - insertIndex;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], 0, newValues, 0, insertIndex);\n\t\t\t\tSystem.arraycopy(m_Weights[i], 0, newWeights, 0, insertIndex);\n\t\t\t\tnewValues[insertIndex] = data;\n\t\t\t\tnewWeights[insertIndex] = weight;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], insertIndex, newValues, insertIndex + 1, left);\n\t\t\t\tSystem.arraycopy(m_Weights[i], insertIndex, newWeights, insertIndex + 1, left);\n\t\t\t\tm_NumValues[i]++;\n\t\t\t\tm_seenNumbers[i] = newValues;\n\t\t\t\tm_Weights[i] = newWeights;\n\t\t\t}\n\t\t\t// if (weight != 1) {\n\t\t\t//\t m_AllWeightsOne = false;\n\t\t\t//}\n\t\t} else {\n\t\t\tm_Weights[i][insertIndex] += weight;\n\t\t\t//m_AllWeightsOne = false;\n\t\t}\n\t\tm_SumOfWeights[i] += weight;\n\t\tdouble range = m_seenNumbers[i][m_NumValues[i] - 1] - m_seenNumbers[i][0];\n\t\tif (range > 0) {\n\t\t\tm_StandardDev = Math.max(range / Math.sqrt(m_SumOfWeights[i]),\n\t\t\t// allow at most 3 sds within one interval\n\t\t\t\t\tm_Precision / (2 * 3));\n\t\t}\n\t}",
"@Test\r\n public void repeatedValuesTest() {\r\n int[] unsorted = new int[]{1,33,1,0,33,-23,1,-23,1,0,-23};\r\n int[] expResult = new int[]{-23,-23,-23,0,0,1,1,1,1,33,33};\r\n int[] result = arraySorter.sort(unsorted);\r\n assertArrayEquals(expResult, result);\r\n }",
"public void testF() {\n\t\tfor (int k = 0; k < usedSS; k++) {\n\t\t\tList<Integer> subStr = vals.subList(k*compSize, (k+1)*compSize);\n\t\t\tint sum = (int) subStr.stream().filter(i -> i != BipartiteMatching.FREE).count();\n\t\t\tfData.add(sum);\t\t\t\n\t\t}\n\t}",
"public boolean containsNearbyDuplicate(int[] nums, int k) {\n if (nums.length == 0) {\n return false;\n }\n HashMap<Integer, Integer> map = new HashMap<>();\n for (int i = 0; i < nums.length; i++) {\n Integer index = map.get(nums[i]);\n if (index != null && i - index <= k) {\n return true;\n } else {\n map.put(nums[i], i);\n }\n }\n\n return false;\n }",
"static int findMissingUsingSummation(int[] arr) {\n\t\tint expectedSum = (arr.length + 1) * (arr.length + 1 + 1) / 2;\n\t\tint actualSum = 0;\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tactualSum = actualSum + arr[i];\n\t\t}\n\n\t\treturn expectedSum - actualSum;\n\t}",
"private void removeLargeValues(ArrayList<Integer> myList)\n {\n // sort list to make removing values easy\n Collections.sort(myList);\n\n while (myList.size() > 1)\n {\n if (myList.get(myList.size() - 1) > 21)\n myList.remove(myList.size() - 1);\n else\n break;\n }\n }",
"public int[] fix34(int[] nums) {\r\n\tint i=0; // O(1)\r\n while(i<nums.length && nums[i]!=3) // O(n)\r\n i++; // n+1\r\n int j=i; // O(1)\r\n while(j+1<nums.length && nums[j+1]!=4) // O(n)\r\n j++; // n+1\r\n while(i<nums.length){ // O(n)\r\n if(nums[i]==3){ // O(1)\r\n int temp=nums[i+1]; // O(1)\r\n nums[i+1]=nums[j+1]; //O(1)\r\n nums[j+1]=temp; // O(1)\r\n while(j+1<nums.length && nums[j+1] != 4) //O(n)\r\n j++; // n+1\r\n }\r\n i++; // n+1\r\n }\r\n return nums; //O(1)\r\n}",
"void solve() {\n num = new ArrayList<>();\n num.add(BigInteger.valueOf(4));\n for (int len = 2; len <= 100; len++)\n generate(\"4\", 1, len, false);\n Collections.sort(num);\n for (int tc = ii(); tc > 0; tc--) {\n long x = il();\n BigInteger X = BigInteger.valueOf(x);\n for (int i = 0; i < num.size(); i++) {\n if (num.get(i).mod(X).equals(BigInteger.ZERO)) {\n String z = num.get(i).toString();\n int end = z.lastIndexOf('4');\n int len = z.length();\n int a = 2 * (end+1);\n int b = len - end;\n out.println(a + b);\n break;\n }\n }\n }\n }",
"public static long solve(long[] data, long k) {\n int n = data.length;\n\n Buffer<Interval> buffer = new Buffer<>(Interval::new, x -> {}, n * 2);\n\n Randomized.shuffle(data);\n Arrays.sort(data);\n\n List<Interval> lastLevel = new ArrayList<>(n);\n List<Interval> curLevel = new ArrayList<>(n);\n lastLevel.add(newInterval(buffer, 0, n - 1));\n int level = Log2.floorLog(data[n - 1]);\n long mask = 0;\n for (; level >= 0; level--) {\n curLevel.clear();\n for (Interval interval : lastLevel) {\n int l = interval.l;\n int r = interval.r;\n int m = r;\n while (m >= l && Bits.get(data[m], level) == 1) {\n m--;\n }\n interval.m = m;\n }\n long total = 0;\n for (Interval interval : lastLevel) {\n total += (long) (interval.m - interval.l + 1) * (interval.relative.m - interval.relative.l + 1);\n total += (long) (interval.r - interval.m) * (interval.relative.r - interval.relative.m);\n }\n if (total < k) {\n k -= total;\n mask = Bits.set(mask, level, true);\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m && interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.r > interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m >= interval.relative.l) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n } else {\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n a.relative = a;\n curLevel.add(a);\n }\n if (interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = a;\n curLevel.add(a);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.l <= interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m < interval.relative.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n }\n\n for (Interval interval : lastLevel) {\n buffer.release(interval);\n }\n\n List<Interval> tmp = curLevel;\n curLevel = lastLevel;\n lastLevel = tmp;\n }\n\n return mask;\n }",
"public void insertToArray()\n {\n //if the bucket size is not empty, empty out the bucket\n if(zero.size() != 0)\n {\n a[c] = zero.get(0);\n zero.remove(0);\n c++; s++;\n return;\n }\n if(one.size() != 0)\n {\n a[c] = one.get(0);\n one.remove(0);\n c++; s++;\n return;\n }\n if(two.size() != 0)\n {\n a[c] = two.get(0);\n two.remove(0);\n c++; s++;\n return;\n }\n if(three.size() != 0)\n {\n a[c] = three.get(0);\n three.remove(0);\n c++; s++;\n return;\n }\n if(four.size() != 0)\n {\n a[c] = four.get(0);\n four.remove(0);\n c++; s++;\n return;\n }\n if(five.size() != 0)\n {\n a[c] = five.get(0);\n five.remove(0);\n c++; s++;\n return;\n }\n if(six.size() != 0)\n {\n a[c] = six.get(0);\n six.remove(0);\n c++; s++;\n return;\n }\n if(seven.size() != 0)\n {\n a[c] = seven.get(0);\n seven.remove(0);\n c++; s++;\n return;\n }\n if(eight.size() != 0)\n {\n a[c] = eight.get(0);\n eight.remove(0);\n c++; s++;\n return;\n }\n if(nine.size() != 0)\n {\n a[c] = nine.get(0);\n nine.remove(0);\n c++; s++;\n return;\n }\n }",
"static void problemEight() {\n int i = 0;\n int prevNum = 1;\n System.out.println(i);\n while (i < 50) {\n int temp = i + prevNum;\n if (temp < 50) System.out.println(temp);\n prevNum = i;\n i = temp;\n }\n }",
"private void testDifferentKValues()\r\n\t{\r\n\t\tLinkedHashMap<Integer, LinkedHashMap<Integer, Double>> energies;\r\n\r\n\t\tif (isEType) {\r\n\t\t\tenergies = ENERGIES_E;\r\n\t\t} else {\r\n\t\t\tenergies = ENERGIES_A;\r\n\t\t}\r\n\r\n\t\tfor (Map.Entry<Integer, LinkedHashMap<Integer, Double>> entry : energies.entrySet()) {\r\n\t\t\t\r\n\t\t\titerationsGoneThrough++;\r\n\t\t\tint percent = (int) ((iterationsGoneThrough / numberOfKIterations) * 80 + 20);\r\n\t\t\tmultiThreadingObj.myPublish(\"msg Generating assignments: \" + percent + \"%\");\r\n\t\t\tmultiThreadingObj.myPublish(\"val \" + percent);\r\n\t\t\t\r\n\t\t\tcurrentK = entry.getKey();\r\n\t\t\tenergiesForCurrentK = entry.getValue();\r\n\t\t\t\r\n\t\t\ttestDifferentJRangesForConstantK();\r\n\t\t}\r\n\t}",
"private void arraySum(MyArrayList myArrayList, Results results) {\r\n int old_sum = myArrayList.sum();\r\n myArrayList.insertSorted(511);\r\n int new_sum = myArrayList.sum();\r\n if(old_sum < new_sum) {\r\n results.storeNewResult(\"ArraySum test case: PASSED\");\r\n }\r\n else { \r\n results.storeNewResult(\"ArraySum test case: FAILED\");\r\n }\r\n }",
"@Test\n public void testGetUniqueInt() {\n UniqueRandomGenerator instance = new UniqueRandomGenerator();\n \n List<Integer> extracted = new ArrayList<>();\n \n for (int i = 0; i < 1000; i++)\n {\n int extr = instance.getUniqueInt(0, 1000);\n \n if (extracted.contains(extr))\n fail();\n else\n extracted.add(extr);\n }\n }",
"static long countTriplets(List<Long> arr, long r) {\n\t\tMap<Long, Long> elementMapWithOccuranceCount = new HashMap<>();\n\t\t//map contains the triplet count for each element\n\t\tMap<Long, Long> elementMapWithTripletCount = new HashMap<>();\n\t\tlong count = 0;\n\t\tfor (int i = 0; i < arr.size(); i++) {\n\t\t\tlong a = arr.get(i);\n\t\t\tlong key = a / r;\n\t\t\t\n\t\t\tif (elementMapWithTripletCount.containsKey(key) && a % r == 0) {\n\t\t\t\t//Have previous count so increment the count\n\t\t\t\tcount += elementMapWithTripletCount.get(key);\n\t\t\t}\n\t\t\t\n\t\t\tif (elementMapWithOccuranceCount.containsKey(key) && a % r == 0) {\n\t\t\t\t//Have a matching member in triplet, check it's count and put that in triplet count, \n\t\t\t\t//that many triplet will be available in the array for this count, only if triplet count available, other wise 0 \n\t\t\t\tlong elementCount = elementMapWithOccuranceCount.get(key);\n\t\t\t\telementMapWithTripletCount.put(a, elementMapWithTripletCount.getOrDefault(a, 0L) + elementCount);\n\t\t\t}\n\t\t\t//By default put it every time we find a new element, this map also keeps count but only for elements\n\t\t\telementMapWithOccuranceCount.put(a, elementMapWithOccuranceCount.getOrDefault(a, 0L) + 1); // Every number can be the start of a triplet.\n\t\t}\n\t\treturn count;\n\t}",
"private int plusOne(int i) {\n return (i + 1) % capacity;\n }",
"private static void findKLargestElementBad(List<Integer> a, int k) {\n PriorityQueue<Integer> maxHeap =\n new PriorityQueue<Integer>(a.size(), new MaxHeapComperator());\n for (Integer n : a) {\n maxHeap.add(n); // O(n)\n }\n int i = k + 1;\n while (i > 0) { // O(klogn)\n System.out.print(maxHeap.remove() + \" \");\n i--;\n }\n }",
"public static void twoSumForFourSum(int[] nums, int target, int low, int high, ArrayList<List<Integer>> fourSumList,\n int z1, int z2) {\n\n if (low >= high)\n return;\n\n if (2 * nums[low] > target || 2 * nums[high] < target)\n return;\n\n int i = low, j = high, sum, x;\n while (i < j) {\n sum = nums[i] + nums[j];\n if (sum == target) {\n fourSumList.add(Arrays.asList(z1, z2, nums[i], nums[j]));\n\n x = nums[i];\n while (++i < j && x == nums[i]) // avoid duplicate\n ;\n x = nums[j];\n while (i < --j && x == nums[j]) // avoid duplicate\n ;\n }\n if (sum < target)\n i++;\n if (sum > target)\n j--;\n }\n return;\n}",
"private void increaseOthers(int inMbt){\n\t\tfor (int i = 0; i < myMBT.length; i++) {\r\n\t\t\tif (i!=inMbt) {\r\n\t\t\t\tif (myMBT[i].getJ2()!=null) {// do not need to increase empty slot's counter\r\n\t\t\t\t\tmyMBT[i].increaseC();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"private static boolean tripletWithSumExistsNoExtraSpace(int[] arr, int expectedSum){\n Arrays.sort(arr);\n int size = arr.length;\n for(int i=0; i<size-2; ++i){\n int complement = expectedSum - arr[i];\n int lidx = i+1, ridx = size-1;\n while (lidx < ridx){\n if(arr[lidx]+arr[ridx] == complement)\n return true;\n else if(arr[lidx]+arr[ridx] < complement)\n ++lidx;\n else\n --ridx;\n }\n }\n return false;\n }",
"private void updateElementListFromSegmet(int changeValue, List<Integer> elementList) {\n\n int changeIndex = 0;\n int change = 0;\n\n for (int i = 0; i < elementList.size(); i++) {\n if (changeValue == elementList.get(i)) {\n changeIndex = i;\n change++;\n }\n }\n\n if (change == 0) {\n for (int i = 0; i < elementList.size(); i++) {\n if (changeValue > elementList.get(i)) {\n continue;\n }\n int value = elementList.get(i) - 1;\n elementList.set(i, value);\n }\n return;\n }\n\n for (int i = elementList.size() - 1; i >= 0; i--) {\n if (elementList.get(i) == changeValue) {\n break;\n } else {\n int value = elementList.get(i) - 1;\n elementList.set(i, value);\n }\n\n }\n\n elementList.remove(changeIndex);\n\n }",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n\n if(nums==null||nums.length<2||k<0||t<0)\n return false;\n\n TreeSet<Long> sortedElems = new TreeSet<>();\n\n for(int i = 0; i< nums.length; i++){\n\n final long num = (long)nums[i];\n\n final long left = num - t;\n final long right = num + t+1;\n final SortedSet<Long> foundElems = sortedElems.subSet(left, right);\n if(!foundElems.isEmpty()){\n return true;\n }\n sortedElems.add(num);\n\n if(i>=k){\n sortedElems.remove((long)nums[i-k]);\n }\n\n }\n return false;\n\n\n }",
"private static void getPrime() {\n\t\tfor(int i=2;i<MAXN;i++){\n\t\t\tif(prime[i]==0){\n\t\t\t\tprime[++prime[0]]=i;\n\t\t\t}\n\t\t}\n\t}",
"public void sumValues(){\n\t\tint index = 0;\n\t\tDouble timeIncrement = 2.0;\n\t\tDouble timeValue = time.get(index);\n\t\tDouble packetValue;\n\t\twhile (index < time.size()){\n\t\t\tDouble packetTotal = 0.0;\n\t\t\twhile (timeValue < timeIncrement && index < packets.size()){\n\t\t\t\ttimeValue = time.get(index);\n\t\t\t\tpacketValue = packets.get(index);\n\t\t\t\tpacketTotal= packetTotal + packetValue;\n\t\t\t\tindex = index + 1;\n\t\t\t}\n\t\t\tArrayList<Double> xy = new ArrayList<Double>();\n\t\t\txy.add(timeIncrement);\n\t\t\txy.add(packetTotal);\n\t\t\ttotalIncrements.add(xy);\n\t\t\t// to get max and min need separate arrays\n\t\t\ttimeIncrements.add(timeIncrement);\n\t\t\tbyteIncrements.add(packetTotal);\n\t\t\ttimeIncrement = timeIncrement + 2.0;\t\n\t\t}\n\t\treturn;\n\n\t}",
"private void m15513b(long j) {\n if (mo9140c() != null) {\n this.f13396d.f11688z = System.currentTimeMillis();\n int intValue = ((Integer) this.f13396d.get(\"data_pk_anchor_score\")).intValue();\n int intValue2 = ((Integer) this.f13396d.get(\"data_pk_guest_score\")).intValue();\n if (intValue > intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.LEFT_WON);\n } else if (intValue < intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.RIGHT_WON);\n } else {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.EVEN);\n }\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.PENAL);\n if (j <= 0) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.FINISHED);\n }\n int i = (int) (j / 1000);\n int i2 = (int) (j % 1000);\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n this.f13399i = C9057b.m27050a(0, 1, TimeUnit.SECONDS).mo19305c((long) (i + 1)).mo19320e((long) i2, TimeUnit.MILLISECONDS).mo19317d((C7327h<? super T, ? extends R>) new C4703fw<Object,Object>(i)).mo19294a(C47549a.m148327a()).mo19280a((C7326g<? super T>) new C4704fx<Object>(this), (C7326g<? super Throwable>) new C4705fy<Object>(this));\n }\n }",
"static int[] missingNumbers(int[] arr, int[] brr) {\n Map<Integer, Integer> map=new HashMap(); \n int size = brr.length;\n for(int i=0;i<size;i++) {\n if(map.containsKey(brr[i])) {\n map.put(brr[i],map.get(brr[i])+1);\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n } else {\n map.put(brr[i],1);\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n }\n }\n int arrSize = arr.length;\n for(int i=0;i<arrSize;i++) {\n map.put(arr[i],map.get(arr[i])-1);\n }\n\n Set<Integer> set = new HashSet<Integer>(); \n\n for(int i=0;i<size;i++) {\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n if(map.get(brr[i])>0) {\n set.add(brr[i]);\n }\n }\n List<Integer> sortedList = new ArrayList<>(set);\n Collections.sort(sortedList);\n \n int[] sortedArr = new int[set.size()];\n for(int i=0;i<sortedList.size();i++) {\n sortedArr[i] = sortedList.get(i);\n }\n\n return sortedArr;\n }",
"private int minJumps(int[] arr) {\n int n = arr.length;\n if (n == 1) {\n return 0;\n }\n\n //map to hold the values in the array and the indexes where they are located in\n Map<Integer, List<Integer>> map = new HashMap<>();\n\n for (int i = 0; i < arr.length; i++) {\n /*\n method checks if arr[i] exists in the map, if so, we add the current index to the list of indexes where\n arr[i] is present, otherwise we make a new entry for arr[i]\n */\n map.computeIfAbsent(arr[i], v -> new ArrayList<>()).add(i);\n }\n\n //Queue to hold the indexes j we can jump to starting from 0\n Queue<Integer> queue = new LinkedList<>();\n queue.add(0); //add the first index into the queue\n int steps = 0;\n\n while (!queue.isEmpty()) {\n steps++;\n int size = queue.size();\n\n for (int i = 0; i < size; i++) {\n int j = queue.remove(); //the current index\n\n //jump to j + 1\n if (j + 1 < n && map.containsKey(arr[j + 1])) {\n if (j + 1 == n - 1) {\n return steps;\n }\n queue.add(j + 1);\n }\n\n //jump to j - 1\n if (j - 1 >= 0 && map.containsKey(arr[j - 1])) {\n queue.add(j - 1);\n }\n\n //jump to index k --> arr[j] == arr[k]\n if (map.containsKey(arr[j])) {\n //search through the list of indexes where arr[j] is present\n for (int k : map.get(arr[j])) {\n if (k != j) {\n //if one of the indexes is the last index, we've gotten to the end, otherwise we add the index to the queue\n if (k == n - 1) {\n return steps;\n }\n queue.add(k);\n }\n }\n }\n //remove the value of arr[j] from the map to avoid overlap\n map.remove(arr[j]);\n }\n }\n return steps;\n }",
"private void d() {\n Queue<c> queue;\n Queue<c> queue2 = queue = i;\n synchronized (queue2) {\n long l2 = System.currentTimeMillis();\n Iterator iterator = i.iterator();\n while (iterator.hasNext()) {\n if (l2 - ((c)iterator.next()).a < 60000L) continue;\n iterator.remove();\n }\n if (i.size() >= 15) {\n for (int i2 = 0; i2 < 5; ++i2) {\n i.remove();\n }\n }\n return;\n }\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n \n boolean[] isNotPrime = new boolean[(N - 1 - 1) / 2 + 1];\n List<Integer> list = new ArrayList<Integer>();\n HashSet<Integer> primes = new HashSet<Integer>();\n \n list.add(2);\n primes.add(2);\n long sum = 0;\n for (int i = 1; i < isNotPrime.length; i++) {\n if (isNotPrime[i]) {\n continue;\n }\n list.add(2 * i + 1);\n primes.add(2 * i + 1);\n long nextIndex = (((long) 2 * i + 1) * (2 * i + 1) - 1) / 2;\n if (nextIndex >= isNotPrime.length) {\n continue;\n }\n for (int j = ((2 * i + 1) * (2 * i + 1) - 1) / 2; j < isNotPrime.length; j += 2 * i + 1) {\n isNotPrime[j] = true;\n }\n }\n int index = 0;\n while (index < list.size()) {\n int curPrime = list.get(index);\n index++;\n if (curPrime < 10) {\n continue;\n }\n int base = 1;\n while (curPrime / base > 9) {\n base *= 10;\n }\n int leftTruncate = curPrime;\n int rightTruncate = curPrime;\n boolean isValid = true;\n while (base != 1) {\n leftTruncate = leftTruncate - leftTruncate / base * base;\n rightTruncate = rightTruncate / 10;\n base /= 10;\n if (primes.contains(leftTruncate) == false || primes.contains(rightTruncate) == false) {\n isValid = false;\n break;\n }\n }\n if (isValid) {\n sum += curPrime;\n }\n }\n System.out.println(sum);\n scanner.close();\n }",
"private static void findNumbers(int[] candidates, int sum,\n List<List<Integer>> res, List<Integer> r, int i) {\n if (sum < 0) {\n return;\n }\n\n // if we get exact answer\n if (sum == 0) {\n List<Integer> r2 = new ArrayList<>(r);\n if (!res.contains(r2)) {\n res.add(r2);\n }\n return;\n }\n\n // Recur for all remaining elements that have value smaller than sum.\n while (i < candidates.length - 1) {\n i++;\n\n // Till every element in the array starting from i which can contribute to the sum\n r.add(candidates[i]); // add them to list\n\n // recur for next numbers\n findNumbers(candidates, sum - candidates[i], res, r, i);\n\n // remove number from list (backtracking)\n r.remove(r.size() - 1);\n }\n }",
"static int findMissingPositive(int arr[], int size)\n {\n int i;\n for(i = 0; i < size; i++)\n {\n if(Math.abs(arr[i]) - 1 < size && arr[Math.abs(arr[i]) - 1] > 0)\n arr[Math.abs(arr[i]) - 1] = -arr[Math.abs(arr[i]) - 1];\n }\n // Return the first index value at which is positive \n for(i = 0; i < size; i++)\n if (arr[i] > 0)// 1 is added because indexes start from 0 \n return i+1;\n return size+1;\n }",
"public int addIfNotExist(T x) {\n boolean insert = false;\n if (needRebuild) {\n rebuildSqrt();\n }\n for (int j = 0; j < numberOfBlocks; ++j) {\n if (size != 0 && dataInBegin[j] != null && comparator.compare((T) dataInBegin[j], x) > 0) {\n if (j == 0) {\n for (int k = endOfBlock[0]; k > 0; k--) {\n data[k] = data[k - 1];\n }\n data[0] = x;\n dataInBegin[0] = x;\n endOfBlock[0]++;\n insert = true;\n size++;\n if (endOfBlock[0] == (len << 1)) {\n needRebuild = true;\n }\n return 0;\n }\n for (int k = (len * (j - 1) << 1); k < endOfBlock[j - 1]; k++)\n if (comparator.compare((T) data[k], x) > 0) {\n for (int l = endOfBlock[j - 1]; l > k; l--) {\n data[l] = data[l - 1];\n }\n data[k] = x;\n endOfBlock[j - 1]++;\n insert = true;\n size++;\n if (endOfBlock[j - 1] == (len * j << 1)) needRebuild = true;\n return k;\n } else if (comparator.compare((T) data[k], x) == 0) {\n return -(k + 1);\n }\n if (!insert) {\n data[endOfBlock[j - 1]] = x;\n insert = true;\n endOfBlock[j - 1]++;\n size++;\n if (endOfBlock[j - 1] == (len * j << 1)) {\n needRebuild = true;\n }\n return endOfBlock[j - 1] - 1;\n }\n }\n }\n if (!insert) {\n for (int j = (len * (numberOfBlocks - 1) << 1); j < endOfBlock[numberOfBlocks - 1]; ++j)\n if (data[j] != null && comparator.compare((T)data[j], x) > 0) {\n for (int l = endOfBlock[numberOfBlocks - 1]; l > j; l--) {\n data[l] = data[l - 1];\n }\n data[j] = x;\n if (j == ((len * (numberOfBlocks - 1)) << 1)) dataInBegin[numberOfBlocks - 1] = x;\n insert = true;\n endOfBlock[numberOfBlocks - 1]++;\n size++;\n if (endOfBlock[numberOfBlocks - 1] == (len * numberOfBlocks << 1)) needRebuild = true;\n return j;\n } else if (comparator.compare((T)data[j], x) == 0) {\n return -(j + 1);\n }\n if (!insert) {\n size++;\n if (endOfBlock[numberOfBlocks - 1] == (len * (numberOfBlocks - 1) << 1))\n dataInBegin[numberOfBlocks - 1] = x;\n data[endOfBlock[numberOfBlocks - 1]] = x;\n endOfBlock[numberOfBlocks - 1]++;\n if (endOfBlock[numberOfBlocks - 1] == (len * numberOfBlocks << 1)) needRebuild = true;\n return endOfBlock[numberOfBlocks - 1] - 1;\n }\n }\n return NO_ELEMENT;\n }",
"public static void cutRod() {\n\t\tint[] price = {1,5,8,9,13};\n\t\tint N = price.length;\n\t\tint[] val = new int[N+1];\n\t\tval[0] = 0;\n\t\tfor(int i=1; i<=N; i++) {\n\t\t\tint max = Integer.MIN_VALUE;\n\t\t\tfor(int j=0; j<i; j++) {\n\t\t\t\tmax = Math.max(max, price[j]+val[i-j-1]);\n\t\t\t}\n\t\t\tval[i] = max;\n\t\t}\n\t\tSystem.out.println(\"max val \"+val[N]);\n\t}",
"private void arrayInsertNegativeNumber(MyArrayList myArrayList, Results results, int value) {\r\n myArrayList.insertSorted(value);\r\n if(myArrayList.search(value)) { \r\n results.storeNewResult(\"ArrayInsertNegativeNumber test case: FAILED\");\r\n }\r\n else { \r\n results.storeNewResult(\"ArrayInsertNegativeNumber test case: PASSED\");\r\n }\r\n }",
"private void updateValue() {\n int minValue = 100; //Minimum value to be calculated, initialized to a large number\n value = 0; //Value reinitialized to 0\n for (Integer i : values) {\n if (i > value && i <= 21) {\n value = i; //Sets value to maximum value less than or equal to 21\n }\n if (i < minValue) {\n minValue = i; //Sets minimum value to lowest value in the list\n }\n }\n if (value == 0) {\n value = minValue; //Sets value to minValue if no values 21 or less\n }\n valueLabel.setText(\"Value: \" + value); //Sets text of value label\n if (value > 21) {\n bust(); //Busts if value greater than 21\n }\n }",
"static int migratoryBirds(List<Integer> arr) {\n int count=1;\n int max=arr.get(0);\n HashMap<Integer,Integer> map=new HashMap<>();\n for(int i=0;i<arr.size();i++) {\n \tif(map.containsKey(arr.get(i))) {\n \t\tmap.replace(arr.get(i), map.get(arr.get(i))+1);\n \t}else {\n \t\tmap.put(arr.get(i), count);\n \t}\n }\n \n int ans=0;\n for(Integer i:map.keySet()) {\n \t int n=map.get(i);\n \t if(n>max) {\n \t\t max=n;\n \t\t \tans=i;\n\n \t }\n }\n /*int comp[]=new int[256];\n for(int i=0;i<arr.size();i++){\n comp[arr.get(i)]++;\n }\n for(int i=0;i<comp.length;i++){\n if(comp[i]>max)\n max=comp[i];\n }*/\n return ans;\n }",
"public synchronized void mo38099a(long j) {\n this.f34202p += j;\n if (this.f34202p >= ((long) (this.f34204r.mo38175c() / 2))) {\n mo38092a(0, this.f34202p);\n this.f34202p = 0;\n }\n }",
"static int workbook(int n, int k, int[] arr) {\n int specialProblems = 0;\n int page = 1;\n for (int i = 0; i < n; i++) {\n for (int j = 1; j <= arr[i]; j++) {\n if (j == page)\n specialProblems++;\n if (j % k == 0)\n page++;\n }\n if (arr[i] % k != 0) page++;\n }\n return specialProblems;\n }",
"private void testAddAtIndex(){\n System.out.println(\"------ TESTING : add(int index, int element) ------\");\n try{\n // The insertion will add values to the front\n // the sequence should be iSize-1....,1,0\n for(int i = 0; i < iSize ; i++){\n if(!iTestList.add(0,i))\n throw new RuntimeException(\"FAILED -> add(index,element) not working correctly\");\n }\n // we should test the out of edge cases\n // if we try the following code and the return value is true or if the\n // program crashes then there is a problem\n if(iTestList.add(iSize+10, 999 )){\n throw new RuntimeException(\"FAILED -> index should not be > SIZE\");\n }\n if(iTestList.add(-2,999 )){\n throw new RuntimeException(\"FAILED -> index should not be < 0\");\n }\n }catch(Exception e){\n System.out.println(e.getMessage());\n }\n }",
"public List<List<Integer>> threeSum(int[] nums) {\n Arrays.sort(nums);\n\n Set<List<Integer>> triplets = new HashSet<List<Integer>>();\n\n for (int i = 0; i < nums.length; i++) {\n // we choose the number at index i to pinpoint\n int a = nums[i];\n int deficit = 0 - a;\n\n // initialize our two pointers such that they're at either end of the\n // array and that they're not i\n int b = i == 0 ? 1 : 0;\n int c = i == nums.length - 1 ? nums.length - 2 : nums.length - 1;\n\n while (b < c) {\n // check if b and c add up to the deficit\n if (nums[b] + nums[c] == deficit) {\n // add it to the list\n List<Integer> triplet = new ArrayList<Integer>();\n\n triplet.add(a);\n triplet.add(nums[b]);\n triplet.add(nums[c]);\n\n Collections.sort(triplet);\n if (!triplets.contains(triplet)) {\n triplets.add(triplet);\n }\n\n\n // move pointer up and down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n\n b += 1;\n if (b == i) {\n b += 1;\n }\n } else if (nums[b] + nums[c] > deficit) {\n // if it's too large, bring top pointer down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n } else {\n // if it's too small, bring bottom pointer up\n b += 1;\n if (b == i) {\n b += 1;\n }\n }\n }\n }\n\n List<List<Integer>> last = new ArrayList<List<Integer>>(triplets);\n return last;\n }",
"private ArrayList<Integer> fillDomain() {\n ArrayList<Integer> elements = new ArrayList<>();\n\n for (int i = 1; i <= 10; i++) {\n elements.add(i);\n }\n\n return elements;\n }",
"private int getIndex(int val){\n return val%bucket;\n }",
"public boolean insert(int val) {\n if (realSet.contains(val)) return false;\n if (size == allSet.length) {\n Integer[] tmpSet = new Integer[size * 2];\n int not = 0;\n for (int i = 0; i < size; i ++) {\n if (allSet[i] == null) {\n not ++;\n continue;\n }\n tmpSet[i - not] = allSet[i];\n }\n size -= not;\n allSet = tmpSet;\n }\n realSet.add(val);\n allSet[size] = val;\n size ++;\n return true;\n\n }",
"static int missingNumber(int arr[], int size)\n {\n Arrays.sort(arr);\n int searchFor = 0;\n int counter = 0;\n for (int i = 0; i < arr.length; i++) {\n \tif (arr[i] > 0) {\n\t\t\t\tif (arr[i] == searchFor) continue;\n else if (arr[i] == searchFor+1) searchFor++;\n else break;\n \t}\n }\n \n return searchFor+1;\n }",
"private static List<Integer> addOne(List<Integer> input) {\n\n\t\tList<Integer> copy = new ArrayList<>();\n\t\tcopy.addAll(input);\n\n\t\tint size = copy.size();\n\t\tcopy.set(size-1, input.get(size-1)+1);//last element of input is updated/replaced by (original value + 1)\n\n\t\tfor(int i=size-1; i>0 && copy.get(i)==10; i--) {\n\t\t\tcopy.set(i, 0);\n\t\t\tcopy.set(i-1, copy.get(i-1)+1);\n\t\t}\n\n\t\tif(copy.get(0) == 10) {\n\t\t\tcopy.set(0, 0);\n\t\t\tcopy.add(0, 1);//add 1 at index0 ,shift all elements after to right\n\t\t}\n\n\t\treturn copy;//this NOT modifies the original input\n\t}",
"private static int getMissingNumber(int[] numbers, int totalCount) {\n int expectedSum = totalCount * ((totalCount + 1) / 2);\n int actualSum = 0;\n for (int i : numbers) {\n actualSum += i;\n }\n return expectedSum - actualSum;\n }",
"@Test(timeout = 60000)\n public void testVariableAndConstantsUnboundedIteration() throws Exception {\n JobGraph jobGraph = createVariableAndConstantJobGraph(4, 1000, true, 0, false, 1, result);\n miniCluster.submitJob(jobGraph);\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n }",
"@Test\n public void iterate0() {\n runAndWait(() -> {\n int err = 0;\n RBTree<Integer> tree = new RBTree<>();\n List<Integer> list = new ArrayList<>(List.of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));\n Collections.shuffle(list);\n tree.addAll(list);\n Collections.sort(list);\n int i = 0;\n for (int val : tree) {\n if (i >= list.size()) {\n fail(\"The tree iterated over more elements than the initial list!\");\n }\n if (val != list.get(i)) {\n System.err.println(\"Expected the value \" + list.get(i) + \", but found \" + val);\n err++;\n }\n i++;\n }\n assertEquals(\"There were \" + err + \" errors!\", 0, err);\n }, 64, 1000);\n \n }",
"private void faster() {\n BigInteger[] denoms = new BigInteger[1000];\n BigInteger[] nums = new BigInteger[1000];\n\n nums[0] = BigInteger.valueOf(3);\n denoms[0] = BigInteger.valueOf(2);\n\n for (int i = 1; i < 1000; i++) {\n denoms[i] = nums[i - 1].add(denoms[i - 1]);\n nums[i] = denoms[i].add(denoms[i - 1]);\n }\n\n int count = 0;\n for (int i = 1; i < 1000; i++) {\n if (nums[i].toString().length() > denoms[i].toString().length()) {\n count++;\n }\n }\n this.answer = count;\n }",
"static void binomialCoeff(int C[][], int n, int k)\n {\n for (int i = 0; i <= n; i++) {\n for (int j = 0; j <= Math.min(i, k); j++)\n {\n\n // Base Cases\n if (j == 0 || j == i)\n C[i][j] = 1;\n\n // Calculate value using previously\n // stored values\n else\n C[i][j] = C[i - 1][j - 1] +\n C[i - 1][j];\n }\n }\n }"
] | [
"0.5535954",
"0.5417161",
"0.5399822",
"0.5311607",
"0.52667826",
"0.52642155",
"0.52584225",
"0.5256057",
"0.5237545",
"0.52301776",
"0.522671",
"0.5224691",
"0.5215621",
"0.52126175",
"0.5211763",
"0.5211182",
"0.5156273",
"0.5154464",
"0.5150072",
"0.5145069",
"0.5135357",
"0.5133287",
"0.5123039",
"0.5122131",
"0.5121128",
"0.5105427",
"0.5095445",
"0.508776",
"0.5045865",
"0.5039577",
"0.50384426",
"0.50366336",
"0.50306594",
"0.5021216",
"0.5012195",
"0.50119007",
"0.5003627",
"0.5002366",
"0.49989018",
"0.4998856",
"0.4991861",
"0.49915746",
"0.4989982",
"0.49860492",
"0.4981778",
"0.49778202",
"0.49703965",
"0.49682724",
"0.4964249",
"0.49582174",
"0.4957496",
"0.49567822",
"0.49565443",
"0.4951936",
"0.49487406",
"0.49414557",
"0.49411243",
"0.4939154",
"0.49371448",
"0.49333057",
"0.4924503",
"0.49131957",
"0.49115276",
"0.49108857",
"0.49003676",
"0.4897949",
"0.48953944",
"0.4892834",
"0.48914546",
"0.48841608",
"0.48837054",
"0.48808286",
"0.48753527",
"0.48679528",
"0.4865268",
"0.48620388",
"0.48616296",
"0.4859144",
"0.48549777",
"0.48539302",
"0.48524874",
"0.48410565",
"0.48384267",
"0.4829799",
"0.48290625",
"0.48272187",
"0.48258847",
"0.48185158",
"0.48179153",
"0.481628",
"0.48152208",
"0.48147288",
"0.48051354",
"0.4804915",
"0.479673",
"0.47959068",
"0.47954717",
"0.4786476",
"0.47856426",
"0.47854653",
"0.4785071"
] | 0.0 | -1 |
Each nonnill element should have a value that is i + 10j + 100k Add 1000 to each correct value encountered. | public test.wsdl.marrays.Foo[][][] testFooArray(test.wsdl.marrays.Foo[][][] in) throws java.rmi.RemoteException {
for (int i=0; i < in.length; i++) {
Foo[][] array2 = in[i];
if (array2 != null)
for (int j=0; j < array2.length; j++) {
Foo[] array3 = array2[j];
if (array3 != null)
for (int k=0; k <array3.length; k++) {
if (array3[k].getValue() == i + 10*j + 100*k)
array3[k].setValue(i + 10*j + 100*k + 1000);
}
}
}
return in;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void arrayIncreaaseSize(MyArrayList myArrayList, Results results) {\r\n int old_size = myArrayList.length();\r\n int value;\r\n Random rand = new Random();\r\n \r\n for(int i=0; i<50; i++) {\r\n value = rand.nextInt(10000);\r\n if(value < 0) {\r\n value = value * -1;\r\n }\r\n myArrayList.insertSorted(value);\r\n }\r\n if(myArrayList.length() == old_size + 25) {\r\n results.storeNewResult(\"ArrayIncrease test case: PASSED\");\r\n }\r\n else {\r\n results.storeNewResult(\"ArrayIncrease test case: FAILED\");\r\n }\r\n }",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tint a[] = {10,10,10,10,15};\n\t\tint len =a.length;\n\t\tint j = a[0];\n\t\t//for(int i =0;i<len;i++) {\n\t\t//\tfor(int j=0;j<=10;j++) {\n\t\t\t\tfor(int i = 0;i<len;i++) {\n\t\t\t\t\n\t\t\t\n\t\t\t\tif(j != a[i]) {\n\t\t\t\t\tfor(int k =j;k<a[i];k++) {\n\t\t\t\t\tSystem.out.println(\"missing number is :\" + k);\n\t\t\t\t\t//j=a[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (j < a[i+1])\n\t\t\t\t\tj++;\n\t\t\t\t//\tj=a[i];\n\t\t\t}\n\t\t\t\t\t\t\n\t\t}",
"protected static int m34121a(int i, long j, List<C22441c> list) {\n C22441c c22441c;\n AppMethodBeat.m2504i(114774);\n Object obj = 1;\n while (i < sJS.size()) {\n try {\n Object obj2;\n c22441c = (C22441c) sJS.get(i);\n if (obj == null || c22441c.endTime <= j) {\n list.add(c22441c);\n obj2 = obj;\n } else {\n C22441c c22441c2 = new C22441c();\n c22441c2.sJY = c22441c.sJY;\n c22441c2.startTime = j;\n c22441c2.endTime = c22441c.endTime;\n list.add(c22441c2);\n obj2 = null;\n }\n i++;\n obj = obj2;\n } catch (Exception e) {\n AppMethodBeat.m2505o(114774);\n return -1;\n }\n }\n if (list.size() == 0) {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = j;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n } else {\n c22441c = new C22441c();\n c22441c.sJY = sJQ;\n c22441c.startTime = sJP.startTime;\n c22441c.endTime = System.currentTimeMillis();\n list.add(c22441c);\n }\n int size = sJS.size();\n AppMethodBeat.m2505o(114774);\n return size;\n }",
"@Override\r\n public long problem2() {\r\n ArrayList<String> arrList = new ArrayList<>();\r\n long start = System.currentTimeMillis(); \r\n for(int i = 0; i<1234567; i++){\r\n arrList.add(Integer.toString(i));\r\n }\r\n long end = System.currentTimeMillis(); \r\n return end - start; \r\n }",
"private static void findMissingAndDuplicateNumberFrom1toN(int[] input) {\n\t\tint len = input.length;\n\t\tint i = 0;\n\n\t\twhile (i < len) {\n\t\t\t//if its already in correct place\n\t\t\tif (input[i] == i + 1) {\n\t\t\t\ti++;\n\t\t\t\tcontinue;\n\t\t\t} else if (input[i] == input[input[i] - 1]) { //if the elment to be swapped with are same\n\t\t\t\ti++;\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\tint temp = input[i];\n\t\t\t\tinput[i] = input[input[i] - 1];\n\t\t\t\tinput[temp - 1] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (input[i] != i + 1) {\n\t\t\t\tSystem.out.println(\"Missing number : \" + (i + 1));\n\t\t\t\tSystem.out.println(\"Duplicate number : \" + input[i]);\n\t\t\t}\n\t\t}\n\n\t}",
"private void updateValues() {\n \n //Find the spaces that can be solved.\n List<Number>updatableNumbers = numbers.stream()\n .filter(n -> n.getUsedValues() != null)\n .filter(n -> n.getUsedValues().size() == 8)\n .filter(n -> n.getValue() == 0)\n .collect(Collectors.toList());\n\n updatableNumbers.forEach(u -> {\n //Create a list of numbers 1-9\n List<Integer> intThrough9 = IntStream.rangeClosed(1, 9)\n .boxed()\n .collect(Collectors.toList());\n\n //Remove the used numbers from the list of 9 \n //to get expected value.\n intThrough9.removeAll(u.getUsedValues());\n u.setValue(intThrough9.get(0));\n }\n );\n }",
"private static long calc1()\n {\n final int min = 1000;\n final int max = 10000;\n\n // initialize\n List<List<Integer>> m = new ArrayList<>();\n for (int k = 0; k < end; k++) {\n List<Integer> list = new ArrayList<Integer>();\n int n = 1;\n while (k >= start) {\n int p = pkn(k, n);\n if (p >= max) {\n break;\n }\n if (p >= min) {\n list.add(p);\n }\n n++;\n }\n m.add(list);\n }\n\n boolean[] arr = new boolean[end];\n arr[start] = true;\n\n List<Integer> solutions = new ArrayList<>();\n List<Integer> list = m.get(start);\n for (Integer first : list) {\n LinkedList<Integer> values = new LinkedList<>();\n values.add(first);\n f(m, arr, values, 1, solutions);\n // we stop at the first solution found\n if (!solutions.isEmpty()) {\n break;\n }\n }\n\n // solutions.stream().forEach(System.out::println);\n int res = solutions.stream().reduce(0, Integer::sum);\n return res;\n }",
"private void expand() {\n int capacity = newCapacity();\n IntIntMap h = new IntIntMap(capacity);\n for (int i = 0; i < entries.length; i += 2) {\n if (entries[i] != EMPTY) {\n h.put(entries[i], entries[i + 1]);\n }\n }\n this.entries = h.entries;\n this.threshold = h.threshold;\n this.modulo = h.modulo;\n this.modulo2 = h.modulo2;\n }",
"private static int findNext(List<List<Integer>> m, int k, int val)\n {\n int res = -1;\n int base = val % 100;\n // we ignore one-digit base (meaning no base can start with zero)\n if (base < 10) {\n return res;\n }\n\n int min = base * 100;\n int max = (base + 1) * 100;\n List<Integer> list = m.get(k);\n Iterator<Integer> iter = list.iterator();\n while (iter.hasNext()) {\n int n = iter.next();\n if (n >= max) {\n break;\n }\n if (n >= min) {\n res = n;\n break;\n }\n }\n return res;\n }",
"public static void func(){\n\t\tHashMap<Integer,Integer> map = new HashMap<Integer,Integer>();\n\t\tint limit = 1000;\n\t\tboolean psb[] = generatePrime(limit);\n\t\t\n\t\tint ps[] = MathTool.generatePrime(100000);\n\t\tfor (int i = 1; ps[i]<1000; i++) {\n\t\t\t//System.out.println(ps[i]);\n\t\t}\n\t\tint max=0;\n\t\tfor (int i = 0; ps[i] < limit; i++) {\n\t\t\tint n = ps[i];\n\t\t\tint j=i;\n\t\t\twhile(n<limit){\n\t\t\t\tif(!psb[n]){\n\t\t\t\t\tint num =j-i+1;\n\t\t\t\t\tif(map.containsKey(n)){\n\t\t\t\t\t\tif(map.get(new Integer(n)) < num){\n\t\t\t\t\t\t\tmap.put(n, num);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmap.put(n, num);\n\t\t\t\t\t}\n\t\t\t\t\tif(num > max){\n\t\t\t\t\t\tmax=num;\n\t\t\t\t\t\tSystem.out.println(num+\" \"+n+\" \"+i+\" \"+j);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tj++;\n\t\t\t\tn+=ps[j];\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"static /* synthetic */ void m34120F(int i, long j) {\n AppMethodBeat.m2504i(114776);\n C22440b c22440b;\n if (i == 11) {\n c22440b = new C22440b();\n c22440b.startTime = System.currentTimeMillis();\n sJR.put(Long.valueOf(j), c22440b);\n AppMethodBeat.m2505o(114776);\n return;\n }\n if (i == 12) {\n if (!sJR.containsKey(Long.valueOf(j))) {\n new C22440b().startTime = System.currentTimeMillis();\n AppMethodBeat.m2505o(114776);\n return;\n }\n } else if (i == 13) {\n c22440b = (C22440b) sJR.get(Long.valueOf(j));\n if (c22440b != null) {\n c22440b.endTime = System.currentTimeMillis();\n sJT.add(c22440b);\n sJR.remove(Long.valueOf(j));\n }\n }\n AppMethodBeat.m2505o(114776);\n }",
"static void getdonein(int arr[], int val) {\n\t\tint div = arr.length / val;\n\t\tint count = 0;\n\t\tArrayList<ArrayList<Integer>> finalarray = new ArrayList<ArrayList<Integer>>();\n\t\tCollections.sort(finalarray, (a, b) -> {\n\t\t\treturn b.get(0) - a.get(0);\n\t\t});\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tArrayList<Integer> store = new ArrayList<Integer>();\n\t\t\tstore.add(arr[i]);\n\t\t\tif (count == val - 1) {\n\t\t\t\tfinalarray.add(new ArrayList<Integer>(store));\n\n\t\t\t\tcount = 0;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\tPriorityQueue<Integer> pr = new PriorityQueue<Integer>();\n\n\t\tfor (int i = 0; i < finalarray.size(); i++) {\n\t\t\tpr.add(finalarray.get(i).get(0));\n\t\t\tfinalarray.get(i).remove(0);\n\t\t}\n\n\t\tArrayList<Integer> finalstore = new ArrayList<Integer>();\n\t\twhile (!finalarray.isEmpty()) {\n\t\t\tfor (int i = 0; i < finalarray.size(); i++) {\n\t\t\t\tif (pr.peek() <= finalarray.get(i).get(0)) {\n\t\t\t\t\tfinalstore.add(pr.poll());\n\t\t\t\t\tpr.add(finalarray.get(i).get(0));\n\t\t\t\t\tfinalarray.get(i).remove(0);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(finalstore);\n\n\t}",
"public static ArrayList<ArrayList<Integer>> fourSum(ArrayList<Integer> a, int k) {\n Collections.sort(a);\n System.out.println(a);\n LinkedHashMap<Integer, List<List<Integer>>> m = new LinkedHashMap<Integer, List<List<Integer>>>();\n for (int i = 0; i <= a.size() - 3; i++) {\n for (int j = i + 1; j <= a.size() - 2; j++) {\n if (m.get(a.get(i) + a.get(j)) == null) {\n ArrayList<List<Integer>> v = new ArrayList<List<Integer>>();\n List<Integer> c = new ArrayList<Integer>();\n c.add(i);\n c.add(j);\n v.add(c);\n m.put(a.get(i) + a.get(j), v);\n } else {\n List<List<Integer>> v = m.get(a.get(i) + a.get(j));\n List<Integer> c = new ArrayList<Integer>();\n c.add(i);\n c.add(j);\n v.add(c);\n m.put(a.get(i) + a.get(j), v);\n }\n\n }\n }\n LinkedHashSet<ArrayList<Integer>> res = new LinkedHashSet<ArrayList<Integer>>();\n for (int i = 2; i <= a.size() - 1; i++) {\n for (int j = i + 1; j < a.size(); j++) {\n List<List<Integer>> v = m.get(k - (a.get(i) + a.get(j)));\n if (v != null && v.size() >= 1) {\n for (List<Integer> l : v) {\n\n if (l.get(0) < l.get(1) && l.get(1) < i && l.get(1) < j) {\n //System.out.println(l.get(0) + \" \" + l.get(1) + \" \" + i + \" \" + j);\n ArrayList<Integer> out = new ArrayList<Integer>();\n out.add(a.get(l.get(0)));\n out.add(a.get(l.get(1)));\n out.add(a.get(i));\n out.add(a.get(j));\n Collections.sort(out);\n //System.out.println(out);\n res.add(out);\n }\n }\n }\n }\n }\n return new ArrayList<ArrayList<Integer>>(res);\n }",
"private int houseRobberWithMaxAmountHousesFromItoJInConstantSpace(int[] a, int i, int j) {\n\t\tif (null == a || i > j)\n\t\t\treturn 0;\n\n\t\tif (j - i == 0)\n\t\t\treturn a[i];\n\n\t\tint incl = a[i];\n\t\tint excl = 0, temp;\n\n\t\tfor (int k = i + 1; k <= j; k++) {\n\t\t\ttemp = incl;\n\t\t\tincl = Math.max(excl + a[k], incl);\n\t\t\texcl = temp;\n\t\t}\n\t\treturn incl;\n\t}",
"public void insertToBucket()\n {\n int value = 0;\n value = valueCheck(value);\n \n //inserts value in the array to the buckets\n if(value == 0)\n {\n zero.add(a[k]);\n a[k] = 0;\n }\n if(value == 1)\n {\n one.add(a[k]);\n a[k] = 0;\n }\n if(value == 2)\n {\n two.add(a[k]);\n a[k] = 0;\n }\n if(value == 3)\n {\n three.add(a[k]);\n a[k] = 0;\n }\n if(value == 4)\n {\n four.add(a[k]);\n a[k] = 0;\n }\n if(value == 5)\n {\n five.add(a[k]);\n a[k] = 0;\n }\n if(value == 6)\n {\n six.add(a[k]);\n a[k] = 0;\n }\n if(value == 7)\n {\n seven.add(a[k]);\n a[k] = 0;\n }\n if(value == 8)\n {\n eight.add(a[k]);\n a[k] = 0;\n }\n if(value == 9)\n {\n nine.add(a[k]);\n a[k] = 0;\n }\n \n k++;\n }",
"private void arrayInsertLargeNumber(MyArrayList myArrayList, Results results, int value) {\r\n myArrayList.insertSorted(value);\r\n if(myArrayList.search(value)) {\r\n results.storeNewResult(\"ArrayInsertLargeNumber test case: FAILED\");\r\n }\r\n else {\r\n results.storeNewResult(\"ArrayInsertLargeNumber test case: PASSED\");\r\n }\r\n }",
"public void fill(ArrayList<LottoDay> list)\n\t{\n\t\tint[] numF = new int [48];//store occurrences for lotto numbers\n\t\tint [] megaF = new int [28]; //store occurrences for mega numbers\n\t\tint[] check = new int [5]; // stores each objects 5 numbers\n\t\tint counter =0; //counts occurrences\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i); //get object\n\t\t\tcheck = one.getWNum(); //gets 5 numbers of the object\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<check.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//if number equals index\n\t\t\t\t\tif(check[k]==j)\n\t\t\t\t\t{\n\t\t\t\t\t\tcounter++; //add one to count\n\t\t\t\t\t\tnumF[j]=counter+numF[j]; //add one to occurrence\n\t\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i);//get object\n\t\t\tmega= one.getMega();//get mega number\n\t\t\tfor(int j=0; j<megaF.length;j++)\n\t\t\t{\n\t\t\t\t// if mega number equals index\n\t\t\t\tif(mega==j)\n\t\t\t\t{\n\t\t\t\t\tcounter++;//add one to count\n\t\t\t\t\tmegaF[j]=counter+megaF[j]; //add one to occurrence\n\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\n\t\tfor(int i=0; i<numF.length; i++)\n\t\t{\n\t\t\tnumber.put(i,numF[i]);//put all lotto numbers with occurrences\n\n\t\t}\n\t\tfor(int i=0; i<megaF.length; i++)\n\t\t{\n\t\t\tmegaN.put(i, megaF[i]);//put all mega numbers with occurrences\n\t\t}\n\t}",
"static int findMissing(int arr[], int size)\n {\n \n //0 -10 1 3 -20\n int p1 = 0;\n int p2 = size-1;\n while (p1<p2) {\n if (arr[p1] > 0) {\n p1++;\n } else {\n int temp = arr[p2];\n arr[p2] = arr[p1];\n arr[p1] = temp;\n p2--;\n }\n }\n //1 3 0 -10 -20\n for (int i=0; i<=p1; i++) {\n int x = Math.abs(arr[i])-1;\n int y = arr[x];\n if (y>0 && y <= size) {\n arr[x] = y*-1;\n }\n }\n for (int i=0; i<size; i++) {\n if (arr[i] > 0) {\n return i+1;\n }\n }\n \n return p1+2;\n }",
"public void add(int i, int k) {\n for (int m = i + 1; m <= count; m++) {\n values[m] = values[m-1];\n }\n values[i] = k;\n count++;\n }",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n if (t < 0) return false;\n long sz = (long)t + 1;\n Map<Long, Long> map = new HashMap<>();\n for (int i = 0; i < nums.length; ++i) {\n long bucket = getBucket(nums[i], sz);\n if (map.containsKey(bucket)) return true;\n if (map.containsKey(bucket + 1) && Math.abs(nums[i] - map.get(bucket + 1)) < sz) return true;\n if (map.containsKey(bucket - 1) && Math.abs(nums[i] - map.get(bucket - 1)) < sz) return true;\n map.put(bucket, (long)nums[i]);\n if (i >= k) map.remove(getBucket(nums[i - k], sz));\n }\n return false;\n}",
"public boolean containsNearbyDuplicate2(int[] nums, int k) {\n\n int max = Integer.MIN_VALUE;\n for (int i = 0; i < nums.length; i++) {\n max=Math.max(max,nums[i]);\n }\n Integer[] map = new Integer[max+1];\n for (int i = 0; i < nums.length; i++) {\n Integer c = map[nums[i]];\n if(c!=null && i-c<=k){\n return true;\n }else {\n map[nums[i]]=i;\n }\n }\n return false;\n }",
"private int elementNC(int i) {\n return first + i * stride;\n }",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int k = in.nextInt();\n ArrayList<Integer> list = new ArrayList<>();\n for(int arr_i=0; arr_i < n; arr_i++){\n int integer = in.nextInt();\n list.add(new Integer(integer));\n }\n in.close();\n\n\n\n if(k == 1){\n System.out.println(k);\n return;\n }\n\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i) % k;\n list.set(i, x);\n }\n\n int[] kx = new int[k];\n for(int i = 0;i < k;i ++){\n kx[i] = 0;\n }\n for(int i = 0;i < list.size();i ++){\n int x = list.get(i);\n kx[x] ++;\n }\n\n\n int num = 0;\n int A = 0;\n if(k % 2 == 0){\n A = k / 2 - 1;\n }else{\n A = k / 2;\n }\n if(kx[0] != 0){\n num += 2;\n }\n for(int i = 1; i <= A;i ++){\n if(kx[i] >= kx[k - i]){\n num += kx[i];\n }else {\n\n num += kx[k - i];\n }\n\n }\n System.out.println(num);\n }",
"private void m10266b(List<C2411a> list) {\n int i;\n int i2;\n List arrayList = new ArrayList();\n ArrayList arrayList2 = new ArrayList();\n arrayList.addAll(list);\n this.f8987o.add(Double.valueOf(0.0d));\n arrayList2.add(Double.valueOf(0.0d));\n for (i = 0; i < 5; i++) {\n C2411a c2411a = (C2411a) arrayList.remove(0);\n this.f8987o.add(Double.valueOf(c2411a.m12234j()));\n arrayList2.add(Double.valueOf(c2411a.m12233i() / 1000.0d));\n }\n int size = arrayList.size();\n i = 5;\n while (i > 0) {\n i2 = size - 1;\n c2411a = (C2411a) arrayList.remove(size - i);\n this.f8987o.add(Double.valueOf(c2411a.m12234j()));\n arrayList2.add(Double.valueOf(c2411a.m12233i() / 1000.0d));\n i--;\n size = i2;\n }\n int size2 = arrayList.size();\n int i3 = size2 / 387;\n int i4 = 0;\n int i5 = 6;\n while (i4 < 387) {\n i2 = i4 * i3;\n if (i2 >= size2) {\n double j = ((C2411a) arrayList.get(size2 - 1)).m12234j();\n if (j > this.f8976d.getMaxVelocity()) {\n j = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(j));\n arrayList2.add(i5, Double.valueOf(((C2411a) arrayList.get(size2 - 1)).m12233i() / 1000.0d));\n size = i5 + 1;\n } else {\n c2411a = (C2411a) arrayList.get(i2);\n i = (i4 + 1) * i3;\n if (i >= size2) {\n i = size2 - 1;\n }\n C2411a c2411a2 = (C2411a) arrayList.get(i);\n long h = (c2411a2.m12232h() / 1000) - (c2411a.m12232h() / 1000);\n double d;\n if (h <= 0) {\n double d2 = 0.0d;\n while (i2 < (i4 + 1) * i3) {\n d2 += ((C2411a) arrayList.get(i2)).m12234j();\n i2++;\n }\n d = d2 / ((double) i3);\n if (d > this.f8976d.getMaxVelocity()) {\n d = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(d));\n } else {\n d = ((c2411a2.m12233i() - c2411a.m12233i()) / ((double) h)) * 3.6d;\n if (d > this.f8976d.getMaxVelocity()) {\n d = this.f8976d.getMaxVelocity();\n }\n this.f8987o.add(i5, Double.valueOf(d));\n }\n arrayList2.add(i5, Double.valueOf(c2411a.m12233i() / 1000.0d));\n size = i5 + 1;\n }\n i4++;\n i5 = size;\n }\n this.f8987o.add(Double.valueOf(0.0d));\n arrayList2.add(Double.valueOf(this.f8976d.getTotalDistance()));\n i2 = this.f8987o.size();\n i = 1;\n while (i < i2) {\n if (this.f8978f >= ((Double) arrayList2.get(i - 1)).doubleValue() && this.f8978f < ((Double) arrayList2.get(i)).doubleValue()) {\n this.f8987o.add(i, Double.valueOf(this.f8976d.getMaxVelocity()));\n arrayList2.add(i, Double.valueOf(this.f8978f));\n break;\n }\n i++;\n }\n this.f8993u = this.f8987o.size();\n }",
"public static void thousandArray(){\n \n bCount=0; iCount=0; qsCount=0; //so that counter variables do not carry over values from the last iteration of previous method\n System.out.println(\"QUESTION 3: 1000 ELEMENT ARRAY\"); System.out.println(\"-----------------------------------------------------\");\n \n for(int x =1; x<=10; x++){ //recursive loop that runs the method 10 times\n \n btemp3= bCount+ btemp3; itemp3= iCount+ itemp3; qstemp3= qsCount+ qstemp3; //adds comparisons to each other before resetting\n bCount=0; iCount=0; qsCount=0; //resets variables after every iteration of the for loop\n int arr[] = new int [1000];\n \n System.out.print(x+\") Starting Array: \");\n for(int i=0; i<arr.length; i++){\n Random rand = new Random();\n arr[i] = rand.nextInt(100);\n System.out.print(arr[i] + \" \");\n }\n \n System.out.println(\"\"); System.out.println(\"-----------------------------------------------------\");\n\n bubbleSort(arr);\n System.out.print(\"Bubble Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Bubble Comparisons: \" + bCount); System.out.println(\"\");\n\n \n insertionSort(arr);\n System.out.print(\"Insertion Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Insertion Comparisons: \" + iCount); System.out.println(\"\");\n\n \n quickSort(arr,0,arr.length-1);\n System.out.print(\"Quick Sorted Array: \");\n for(int i=0; i<arr.length; i++){\n System.out.print(arr[i] + \" \");\n }\n System.out.println(\"\");\n System.out.println(\" Quick Comparisons: \" + qsCount); System.out.println(\"-----------------------------------------------------\");\n \n } //ends x10 iteration\n System.out.println(\"\");System.out.println(\"\");System.out.println(\"\");\n}",
"private Map<Integer,List<Integer>> sudokuFindBlank(char[][] board){\n\t\tMap<Integer,List<Integer>> Blank=new HashMap<Integer,List<Integer>>();\n\t\tfor(int i=1;i<10;i++){\n\t\t\tList<Integer> temp=new ArrayList<Integer>();\n\t\t\tBlank.put(i, temp);\n\t\t}\n\t\tfor(int i=0;i<9;i++)\n\t\t\tfor(int j=0;j<9;j++){\n\t\t\t\tif(board[i][j]=='.'){ // if it's blank\n\t\t\t\t\tint temp=0x01ff; // use binary to represent, 1 means it's possible for value at that position\n\t\t\t\t\tint count=0; // count for how many number's can use in blank space\n\t\t\t\t //00000001,11111111 \n\t\t\t\t // 9 87654321 \n\t\t\t\t\tfor(int k=0;k<9;k++){ // for rows and column\n\t\t\t\t\t\tif(board[i][k]!='.')\n\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[i][k]-'1')); // get rid of used number\n\t\t\t\t\t\tif(board[k][j]!='.')\n\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[k][j]-'1')); // get rid of used number\n\t\t\t\t\t}\n\t\t\t\t\tfor(int k=0;k<3;k++) // for 3*3 cube\n\t\t\t\t\t\tfor(int l=0;l<3;l++)\n\t\t\t\t\t\t\tif(board[(i/3)*3+k][(j/3)*3+l]!='.')\n\t\t\t\t\t\t\t\ttemp=temp&~(0x01<<(board[(i/3)*3+k][(j/3)*3+l]-'1')); // get rid of used number\t\t\t\t\t\n\t\t\t\t\twhile(temp>0){ // this is for get how many 1s in temp, binary\n\t\t\t\t\t\ttemp=temp&(temp-1);\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t\tList<Integer> t=Blank.get(count);\n\t\t\t\t\tt.add(i*9+j); // store the position\n\t\t\t\t\tBlank.put(count, t); // save blank with information of blank position and how many numbers can be choose in that blank\n\t\t\t\t}\n\t\t\t} // finish checking blank, all blank should be represent as 001100001111... like this\n\t\treturn Blank;\n\t}",
"private void testDifferentJRangesForConstantK()\r\n\t{\r\n\t\tint minJ = energiesForCurrentK.entrySet().iterator().next().getKey();\r\n\t\tint maxJ = 0;\r\n\r\n\t\tfor (Map.Entry<Integer, Double> entry : energiesForCurrentK.entrySet()) {\r\n\t\t\tmaxJ = entry.getKey();\r\n\t\t}\r\n\r\n\t\tint shiftsOfJPossible = (maxJ - minJ) + inputBranchArray.size() - 1;\r\n\r\n\t\tfor (int i = 0; i < shiftsOfJPossible; i++) {\r\n\t\t\tresetArraysAndHeader();\r\n\t\t\tsetHeaderDisplayState(false);\r\n\t\t\tlowestJValue = maxJ - i;\r\n\t\t\thighestJValue = lowestJValue + inputBranchArray.size() - 1;\r\n\t\t\tassignJValuesToInputBranch();\r\n\t\t\tpublishResults();\r\n\t\t}\r\n\t}",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n if (t < 0) return false;\n TreeSet<Long> set = new TreeSet<>();\n for (int i = 0; i < nums.length; ++i) {\n long num = (long)nums[i];\n Long floor = set.floor(num), ceiling = set.ceiling(num);\n if (floor != null && num - floor <= t || ceiling != null && ceiling - num <= t) return true;\n set.add(num);\n if (i >= k) set.remove((long)nums[i - k]);\n }\n return false;\n}",
"private static int _addPossibleValues(int rowNumber, int y, int x, short[][] spareMatrix,String[] rowIds, SudokuModel model) {\r\n\r\n\t\tfor(short i = 0; i <9; i++){\r\n\t\t\tif(!model.restrictionIsSatisfied(y, x, i+1))\r\n\t\t\trowNumber = _addRestrictions(rowNumber,y,x,i,spareMatrix,rowIds);\r\n\t\t}\r\n\t\t\r\n\t\treturn rowNumber;\r\n\t}",
"private static void test() {\n\t\tint i = 0;\n\t\tArrays.fill(arr, -1);\n\t\tarr[++i] = 0;\n\t\tprintArray(arr);\n\t\ti = 0;\n\t\tArrays.fill(arr, -1);\n\t\tarr[i++] = 0;\n\t\tprintArray(arr);\n\t\t\n\t}",
"k value.\nFor 2nd tallest group (and the rest), insert each one of them into (S) by k value. So on and so forth.\n\npublic class Solution {\n public int[][] reconstructQueue(int[][] people) {\n Arrays.sort(people,new Comparator<int[]>() {\n @Override\n public int compare(int[] o1, int[] o2){\n return o1[0] != o2[0]? -o1[0] + o2[0]: o1[1] - o2[1];\n }\n });\n\n List<int[]> res = new ArrayList<>();\n for (int[] cur : people) {\n res.add(cur[1], cur); \n }\n return res.toArray(new int[people.length][]);\n }",
"public void add(int value) {\n expiryTime++;\n arrivalTime++;\n\n Bucket lastBucket = null;\n\n if (!buckets.isEmpty()) {\n // Check if timestamp of the last bucket indicates expiry\n lastBucket = buckets.get(buckets.size() - 1);\n if (lastBucket.isExpired(expiryTime)) {\n buckets.remove(lastBucket);\n // Update the counter LAST - containing size of the last bucket\n last = buckets.isEmpty() ? 0 : buckets.get(buckets.size() - 1).getSize();\n // Update TOTAL - size of all buckets\n total -= lastBucket.getSize();\n }\n }\n\n // 2\n // new element is 0 then ignore it\n if (value == 0) return;\n\n // if element is 1, create new bucket with size 1 and the current timestamp, increment TOTAL\n buckets.add(0, new Bucket(arrivalTime - 1));\n total++;\n\n // 3\n // traverse the list of buckets in order of increasing sizes\n int onesLimit = (int) k + 2;\n\n if (buckets.stream().filter(p -> p.getSize() == 1).count() >= onesLimit) {\n int otherLimit = (int) (k / 2) + 2;\n\n int limit = onesLimit;\n\n int mergeExponent = 0;\n int mergerBucketSize = (int) Math.pow(2, mergeExponent);\n\n ArrayList<Bucket> bucketsToMerge = new ArrayList<Bucket>();\n\n while (true) {\n\n for (Bucket bucket : buckets) {\n if (bucket.getSize() < mergerBucketSize) continue;\n\n if (bucket.getSize() > mergerBucketSize) break;\n\n if (bucket.getSize() == mergerBucketSize) {\n bucketsToMerge.add(bucket);\n } else {\n break;\n }\n }\n\n if (bucketsToMerge.size() != limit) {\n break;\n }\n\n // MERGE\n mergeExponent++;\n mergerBucketSize = (int) Math.pow(2, mergeExponent);\n limit = otherLimit;\n\n // Take two oldest buckets\n // we iterate from recent to oldest so take last 2 buckets from bucketsToMerge\n Bucket lastBucketToMerge = bucketsToMerge.get(bucketsToMerge.size() - 1);\n Bucket oneBeforeLastBucketToMerge = bucketsToMerge.get(bucketsToMerge.size() - 2);\n\n // If last bucket is being merged, update LAST counter\n if (oneBeforeLastBucketToMerge.getSize() == lastBucket.getSize()) {\n last = oneBeforeLastBucketToMerge.getSize() * 2;\n }\n\n // Update size of the most recent bucket with double size\n oneBeforeLastBucketToMerge.setSize(oneBeforeLastBucketToMerge.getSize() * 2);\n // remove last bucket\n buckets.remove(lastBucketToMerge);\n\n // Clear temp buckets\n bucketsToMerge = new ArrayList<Bucket>();\n }\n\n }\n }",
"private static void task01111(int nUMS, SplayTree<Integer> j, GenerateInt generateInt) {\n\t\t\n\t\t long start = System.nanoTime();\n\t\t System.out.println( \"Fill in the table...Splay Tree\" );\n\t\t int count=1;\n\t\t\tfor( int i = 1; i <= nUMS; i++)\n\t\t\t{\n\t\t\t\t \t\t \n\t\t\t\tj.insert(GenerateInt.generateNumber());\n//\t\t\t\tSystem.out.println(GenerateInt.generateNumber());\n\t\t\t\tcount = i;\n\n\t\t\t}\n\t\t\tSystem.out.println(\"Total Size \" + count);\n\t\t\tlong end = System.nanoTime();;\n\t\t\tlong elapsedTime = end - start;\n\t\t\tSystem.out.println(elapsedTime + \" NanoSeconds\");\n\t\t\tSystem.out.println(\"Average Time \" + elapsedTime/nUMS);\n\n\n\t\t\n\t}",
"private void setUsedValuesbyRow() {\n \n //Loop through each row.\n IntStream.rangeClosed(1,9).forEach(i -> {\n //Loop through each position in the row.\n IntStream.rangeClosed(1,9).forEach(j -> {\n //If this value is not set find all the other values in the row and set \n //the possible values of this item to those that are not currently set.\n int row = i;\n Number currentNumber = numbers.stream()\n .filter(n -> n.getRow() == row)\n .filter(n -> n.getColumn() == j)\n .findAny().get();\n //If the value is 0 it is not set\n if (currentNumber.getValue() < 1) {\n //Used numbers in this row\n List<Integer> usedNumbers = numbers.stream()\n .filter(n -> n.getValue() > 0)\n .filter(n -> n.getRow() == row)\n .filter(n -> n.getColumn() != j)\n .map(Number::getValue)\n .collect(Collectors.toList());\n\n //If position currently doesn't have used values then set them to \n //the ones that were found.\n if (currentNumber.getUsedValues() == null){\n currentNumber.setUsedValues(usedNumbers);\n }\n else {\n //Set the position's used values to the union of what it currently has and the\n //identifed used values.\n currentNumber.setUsedValues(\n CollectionUtils.union(currentNumber.getUsedValues(), usedNumbers)\n .stream().collect(Collectors.toList()));\n }\n }\n });\n });\n }",
"public int[] coldN(ArrayList<LottoDay> list)\n\t{ \n\t\tint low=200;//set low to 200\n\t\tint[] numF = new int [48]; //create array of occurrences\n\t\tint[] check = new int [5]; //create an array for the first five numbers and the five lowest numbers\n\t\tint counter =0; //counts number of occurrences\n\t\t//cold numbers for 1-47\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i);//get object\n\t\t\tcheck = one.getWNum();//store the 5 lotto numbers\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<check.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//if lotto number equals the index\n\t\t\t\t\tif(check[k]==j)\n\t\t\t\t\t{\n\t\t\t\t\t\tcounter++; //add one to counter\n\t\t\t\t\t\tnumF[j]=counter+numF[j];//add one to occurrence\n\t\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//check for lowest number\n\t\tfor(int j=0; j<check.length; j++)\n\t\t{\n\t\t\tfor(int i=0; i<numF.length;i++)\n\t\t\t{\n\t\t\t\t//occurrence isn't zero and is lower than low\n\t\t\t\tif(numF[i]<low &&numF[i]!=0)\n\t\t\t\t{\n\t\t\t\t\tlow = numF[i]; //set low to new low of occurrence\n\t\t\t\t\tcheck[j]=i; //store new low occurrence\n\t\t\t\t\tindex=i; //store index of occurrence\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tlow=200;//reset low\n\t\t\tnumF[index]=0;//sets the lowest occurrence to zero\n\n\t\t}\n\n\n\n\t\treturn check;//return 5 lowest numbers\n\n\n\t}",
"public ArrayList<ArrayList<Integer>> fourSum(int[] num, int target) {\n int temp = 0;\n Arrays.sort(num);\n\n ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>();\n int [] s = new int [4];\n int total = 0;\n int current = -1;\n int i = 0;\n Arrays.fill(s, 0);\n HashMap<Long, Integer> m = new HashMap<Long, Integer>();\n \n \n if (num.length < 4) return a;\n \n while (i!=-1) {\n //increase the current pointer\n ++current;\n if (current > num.length-1) {\n --i;\n if (i >= 0) \n {\n current = s[i];\n total -= num[current];\n }\n }\n else if (total + num[current] > target || total + (4-i)*num[num.length-1] < target) {\n --i;\n if (i >= 0) \n {\n current = s[i];\n total -= num[current];\n }\n }\n else {\n //check if current number will work\n /*if (current == 0)\n {\n */\n if (i < 3) {s[i] = current; total += num[current]; ++i;}\n else if (num[current] + total == target) {\n //bingo one answer\n ArrayList<Integer> b = new ArrayList<Integer>();\n long c = num[s[0]]*num[s[1]]*num[s[2]]*num[current];\n long d = Math.abs((long)num[s[0]]*1000000000) \n + Math.abs((long)num[s[1]]*1000000)\n + Math.abs((long)num[s[2]]*1000)\n + Math.abs((long)num[current]);\n if (c < 0) d *= -1;\n if (!m.containsKey(d))\n {\n b.add(num[s[0]]);\n b.add(num[s[1]]);\n b.add(num[s[2]]);\n b.add(num[current]);\n a.add(b);\n m.put(d, 1);\n }\n }\n /*\n } \n else if (num[current] != num[current-1])\n {\n if (i < 2) {s[i] = current; total += num[current]; ++i;}\n else if (num[current] + total == 0) {\n //bingo one answer\n ArrayList<Integer> b = new ArrayList<Integer>();\n b.add(num[s[0]]);\n b.add(num[s[1]]);\n b.add(num[s[2]]);\n a.add(b);\n }\n }\n */\n }\n }\n return a;\n }",
"private static List<Integer> addOnePlus(List<Integer> input) {\n\n\t\tint size = input.size();\n\t\tinput.set(size-1, input.get(size-1)+1);//last element of input is updated/replaced by (original value + 1)\n\n\t\tfor(int i=size-1; i>0 && input.get(i)==10; i--) {\n\t\t\tinput.set(i, 0);\n\t\t\tinput.set(i-1, input.get(i-1)+1);\n\t\t}\n\n\t\tif(input.get(0) == 10) {\n\t\t\tinput.set(0, 0);\n\t\t\tinput.add(0, 1);//add 1 at index0 ,shift all elements after to right\n\t\t}\n\n\t\treturn input;//this modifies the original input\n\t}",
"static int getMissingByAvoidingOverflow(int a[], int n)\n\t {\n\t int total = 2;\n\t for (int i = 3; i <= (n + 1); i++)\n\t {\n\t total =total+ i -a[i - 2];\n\t //total =total- a[i - 2];\n\t }\n\t return total;\n\t }",
"public static void main(String[] args) {\n\n\t\tint number = 32841;\n\t\tint temp = 32841;\n\t\t/*\n\t\t * int number = 32814; int temp = 32814;\n\t\t */\n\t\t// 14823\n\t\t// 12843\n\t\tArrayList<Integer> listOfNumbers = new ArrayList<Integer>();\n\t\tArrayList<Integer> newList = new ArrayList<Integer>();\n\n\t\twhile (temp > 0) {\n\t\t\tint digit = temp % 10;\n\t\t\ttemp = temp / 10;\n\t\t\tlistOfNumbers.add(digit);\n\t\t}\n\n\t\tint i = 0;\n\t\tint j = i + 1;\n\t\t// Checking the asecending order\n\t\tfor (i = 0; i < listOfNumbers.size() - 1; i++) {\n\n\t\t\tif (listOfNumbers.get(j) < listOfNumbers.get(i)) {\n\t\t\t\tSystem.out.println(listOfNumbers.get(i + 1));\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(j);\n\t\t\tj++;\n\t\t}\n\n\t\t// j = 0;\n\n\t\t// replacing the 2 and 4\n\t\tfor (int m = 0; m < listOfNumbers.size() - 1; m++) {\n\n\t\t\tif ((Integer) listOfNumbers.get(m) > (Integer) listOfNumbers.get(i + 1)) {\n\t\t\t\tSystem.out.println(\" i = \" + i);\n\t\t\t\tSystem.out.println(\"value at m is \" + listOfNumbers.get(m));\n\t\t\t\tSystem.out.println(\"value at i is \" + listOfNumbers.get(i + 1));\n\t\t\t\tint swap = listOfNumbers.get(m);\n\t\t\t\tlistOfNumbers.set(m, listOfNumbers.get(i + 1));\n\t\t\t\tlistOfNumbers.set(i + 1, swap);\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\t// getting the sub list and sorting them\n\t\tList<Integer> subList = listOfNumbers.subList(0, i + 1);\n\t\tCollections.sort(subList);\n\t\tCollections.reverse(subList);\n\n\t\t// creating a new list wit the next higher number\n\t\tfor (int k = listOfNumbers.size(); k > i + 1; k--) {\n\t\t\tnewList.add(listOfNumbers.get(k - 1));\n\t\t}\n\n\t\tfor (int k = 0; k < subList.size(); k++) {\n\t\t\tnewList.add(subList.get(k));\n\t\t}\n\n\t\tfor (int k = 0; k < newList.size(); k++) {\n\t\t\tSystem.out.print(newList.get(k));\n\t\t}\n\t}",
"static long countTriplets(List<Long> arr, long r) {\n long result = 0L;\n long size = arr.size();\n\n ArrayList<long[]> duoList = new ArrayList<>();\n\n // triplet 이 될 수 있는 duo를 선발\n for (int i = 0; i < (size - 1); i++) {\n long firstItem = arr.get(i);\n\n for (int j = i + 1; j < size; j++) {\n long secondItem = arr.get(j);\n if (j >= (size - 1)) continue;\n if (secondItem / (float) firstItem == r) {\n long[] tripletAble = {i, j};\n // System.out.println(\"tripletAble : \" + Arrays.toString(tripletAble));\n if (duoList.contains(tripletAble)) {\n continue;\n } else {\n duoList.add(tripletAble);\n }\n }\n }\n }\n\n // duo인 int[] 의 두 번째 item (int[1]) 의 다음 index부터 탐색해서\n // 해당 수가 triplet이 될 수 있다면 result + 1\n // 판단 기준은 thirdItem / secondItem 이 r이 되는 경우\n int listSize = duoList.size();\n for (int k = 0; k < listSize; k++) {\n long[] targetArr = duoList.get(k);\n long secondIdx = targetArr[1];\n for (int l = (int) secondIdx + 1; l < size; l++) {\n\n long secondItem = arr.get((int) targetArr[1]);\n long thirdItem = arr.get(l);\n\n if (thirdItem / (float) secondItem == r) {\n result += 1L;\n }\n }\n }\n\n return result;\n }",
"public static void main(String[] args) {\n int N = 100, i, j, min;\n System.out.println(\"Value of N: \" + N);\n\n for (i = 1; i <= N; i++)\n {\n for (j = 1; j <= N; j++)\n {\n min = i < j ? i : j;\n System.out.print(N - min + 1);\n }\n System.out.println();\n\n\n\n\n }\n}",
"@Test\n public void addPastInitialCapacity() {\n for (int iteration = 0; iteration < 20; iteration++) {\n testList.add(42);\n }\n assertEquals(20, testList.count());\n }",
"public static void main(String[] args) {\n\t\t\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\t\tlist.add(i + (i / 10000)+((i % 10000)/1000)+((i % 1000)/100)+((i % 100)/10)+((i % 10)/1));\n\t\t\t\n\t\t}\n\t\t\n\t\tint arr[] = new int[10001];\n\t\tfor(int i = 0;i<arr.length;i++) {\n\t\t\tarr[i]=i;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i<list.size();i++) {\n\t\t\tfor(int j=0;j<arr.length;j++) {\n\t\t\t\tif(list.get(i)==arr[j]) {\n\t\t\t\t\tarr[j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i<list.size();i++) {\n\t\t\tif(arr[i]!=0) {\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"private static void task1111(int nUMS, SplayTree<Integer> j, GenerateInt generateInt) {\n\t\tlong start = System.nanoTime();\n\t System.out.println( \"Fill in the table...SPLAY TREE\" );\n\t int count=0;\n\t\tfor( int z = 1; z <= nUMS; z++)\n\t\t{\n\t\t\t \t\t \n\t\t\tj.insert(z);\n\t\t\tcount = z;\n//\t\t\tSystem.out.println(GenerateInt.generateNumber());\n\n\t\t}\n\t\tSystem.out.println(\"Total Size \" + count);\n\t\tlong end = System.nanoTime();;\n\t\tlong elapsedTime = end - start;\n\t\tSystem.out.println(elapsedTime + \" NanoSeconds\");\n\t\tSystem.out.println(\"Average Time \" + elapsedTime/nUMS);\n\n\t}",
"public static void reduceByOneUsingLoop(int j) {\n long now = System.currentTimeMillis();\n if (j >= 0) {\n\n int count = 0;\n while (count < j) {\n count += 1;\n System.out.println(\"Completed call \" + count + \" using loop\");\n }\n\n System.out.println(\"Loop is completed in millisec \" + (System.currentTimeMillis() - now));\n\n }\n }",
"public static void main(String[] args){\n for(int i = 1 ;i < 1000; i++){\n int x = i / 100;\n int y = (i % 100) / 10;\n int z = i % 10;\n int sum = x*x*x + y*y*y +z*z*z;\n if(i == sum || i < 10)\n System.out.println(i);\n }\n }",
"int removeObstacle(int numRows, int numColumns, List<List<Integer>> lot)\r\n {\r\n \tint m = 0;\r\n \tint n = 0;\r\n \tfor(List<Integer> rowList: lot) {\r\n \t\tfor(Integer num: rowList) {\r\n \t\t\tif(num == 9 ) {\r\n \t\t\t\tbreak;\r\n \t\t\t}\r\n \t\t\tn++;\r\n \t\t}\r\n \t\tm++;\r\n \t}\r\n \t// to store min cells required to be \r\n // covered to reach a particular cell \r\n int dp[][] = new int[numRows][numColumns]; \r\n \r\n // initially no cells can be reached \r\n for (int i = 0; i < numRows; i++) \r\n for (int j = 0; j < numColumns; j++) \r\n dp[i][j] = Integer.MAX_VALUE; \r\n \r\n // base case \r\n dp[0][0] = 1; \r\n \r\n for (int i = 0; i < lot.size(); i++) {\r\n \tList<Integer> columnList = lot.get(i);\r\n for (int j = 0; j < columnList.size(); j++) { \r\n \r\n // dp[i][j] != INT_MAX denotes that cell \r\n // (i, j) can be reached from cell (0, 0) \r\n // and the other half of the condition \r\n // finds the cell on the right that can \r\n // be reached from (i, j) \r\n if (dp[i][j] != Integer.MAX_VALUE && \r\n (j + columnList.get(j)) < numColumns && (dp[i][j] + 1) \r\n < dp[i][j + columnList.get(j)]\r\n \t\t && columnList.get(j) != 0) \r\n dp[i][j + columnList.get(j)] = dp[i][j] + 1; \r\n \r\n if (dp[i][j] != Integer.MAX_VALUE && \r\n (i + columnList.get(j)) < numRows && (dp[i][j] + 1) \r\n < dp[i + columnList.get(j)][j] && columnList.get(j) != 0) \r\n dp[i + columnList.get(j)][j] = dp[i][j] + 1; \r\n } \r\n } \r\n \r\n if (dp[m - 1][n - 1] != Integer.MAX_VALUE) \r\n return dp[m - 1][n - 1]; \r\n \r\n return -1; \r\n }",
"private static void findBigramCountsTuring() {\n\n\t\tbigramCountTI= new HashMap<Integer,Double>();\n\t\tdouble value;\n\t\tfor(int i:bucketCountT.keySet()){\n\t\t\tif(i==0)\n\t\t\t\tcontinue;\n\t\t\tvalue= ((i+1)*bucketCountT.getOrDefault(i+1, 0.0))/bucketCountT.get(i);\n\t\t\tbigramCountTI.put(i,value);\n\t\t}\n\t}",
"public static int mergeStones(int[] stones, int K) {\n int N = stones.length;\n if ((N-1)%(K-1)!=0) return -1;\n\n // dp[i][j] stores from i to j if can merge, what is the min cost, if (Len(j, i)-1)%(K-1) == 0 that means it can merge to 1 pile, otherwise, we only calculate\n // (from i(start point) to the farest point which can finally merge to 1 pile)'s merge cost\n int[][] dp = new int[N][N];\n\n int[] sum = new int[N+1];\n for (int i=0; i<N; i++) sum[i+1] = sum[i]+stones[i];\n\n for (int L=K; L<=N; L++) { // L is the length of small range\n // i is the subPiles is start point\n for (int i=0; i<=N-L; i++) {\n // j is the end point, L 不一定是K的倍数\n int j=i+L-1;\n dp[i][j]=Integer.MAX_VALUE;\n\n // each time we need keep from i to m is a \"can-merge-to-one-pile\" piles set, so m step is K-1; because each time besides i, we add(K-1) to the piles\n // [i, i+K-1] length is K\n // 把区间[i, j] split to [i, m] and [m+1,j], the left range must be merged to one pile, the right one maybe can or can not\n for (int m=i; m<j; m+=K-1) {\n dp[i][j]=Math.min(dp[i][j], dp[i][m] + dp[m+1][j]);\n }\n if ((j-i)%(K-1)==0) {\n dp[i][j]+=sum[j+1] - sum[i]; // if [i, j] can merge to 1 pile, we need finally add each elem from i to j\n System.out.println(dp[i][j]);\n }\n }\n }\n\n return dp[0][N-1];\n }",
"public static int ulam(int n) {\n\n List<Integer> list = new ArrayList<>();\n list.add(1);\n list.add(2);\n\n int i = 3;\n while (list.size() < n) {\n\n int count = 0;\n for (int j = 0; j < list.size() - 1; j++) {\n\n for (int k = j + 1; k < list.size(); k++) {\n if (list.get(j) + list.get(k) == i)\n count++;\n if (count > 1)\n break;\n }\n if (count > 1)\n break;\n }\n if (count == 1)\n list.add(i);\n i++;\n }\n return list.get(n - 1);\n }",
"static void findTwoSum(List<List<Integer>> list, int[] nums, int k) {\n \tint target = 0 - nums[k]; // 7 -> check a + b = 7 (target)\n int fi = 0;\n int la = k - 1;\n\n while (fi < la) {\n if (nums[fi] + nums[la] == target) {\n list.add(Arrays.asList(nums[fi], nums[la], nums[k]));\n while (fi < nums.length - 1 && nums[fi] == nums[fi + 1]) {\n \tfi++;\n }\n fi++;\n }\n else if (nums[fi] + nums[la] < target)\n fi++;\n else\n la--;\n }\n }",
"public void addValue(int i, double data) {\n\n\t\tfinal double weight = 1;\n\n\t\tdata = round(data);\n\t\tint insertIndex = findNearestValue(i, data);\n\n\t\tif ((m_NumValues[i] <= insertIndex) || (m_seenNumbers[i][insertIndex] != data)) {\n\t\t\tif (m_NumValues[i] < m_seenNumbers[i].length) {\n\t\t\t\tint left = m_NumValues[i] - insertIndex;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], insertIndex, m_seenNumbers[i], insertIndex + 1, left);\n\t\t\t\tSystem.arraycopy(m_Weights[i], insertIndex, m_Weights[i], insertIndex + 1, left);\n\n\t\t\t\tm_seenNumbers[i][insertIndex] = data;\n\t\t\t\tm_Weights[i][insertIndex] = weight;\n\t\t\t\tm_NumValues[i]++;\n\t\t\t} else {\n\t\t\t\tdouble[] newValues = new double[m_seenNumbers[i].length * 2];\n\t\t\t\tdouble[] newWeights = new double[m_seenNumbers[i].length * 2];\n\t\t\t\tint left = m_NumValues[i] - insertIndex;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], 0, newValues, 0, insertIndex);\n\t\t\t\tSystem.arraycopy(m_Weights[i], 0, newWeights, 0, insertIndex);\n\t\t\t\tnewValues[insertIndex] = data;\n\t\t\t\tnewWeights[insertIndex] = weight;\n\t\t\t\tSystem.arraycopy(m_seenNumbers[i], insertIndex, newValues, insertIndex + 1, left);\n\t\t\t\tSystem.arraycopy(m_Weights[i], insertIndex, newWeights, insertIndex + 1, left);\n\t\t\t\tm_NumValues[i]++;\n\t\t\t\tm_seenNumbers[i] = newValues;\n\t\t\t\tm_Weights[i] = newWeights;\n\t\t\t}\n\t\t\t// if (weight != 1) {\n\t\t\t//\t m_AllWeightsOne = false;\n\t\t\t//}\n\t\t} else {\n\t\t\tm_Weights[i][insertIndex] += weight;\n\t\t\t//m_AllWeightsOne = false;\n\t\t}\n\t\tm_SumOfWeights[i] += weight;\n\t\tdouble range = m_seenNumbers[i][m_NumValues[i] - 1] - m_seenNumbers[i][0];\n\t\tif (range > 0) {\n\t\t\tm_StandardDev = Math.max(range / Math.sqrt(m_SumOfWeights[i]),\n\t\t\t// allow at most 3 sds within one interval\n\t\t\t\t\tm_Precision / (2 * 3));\n\t\t}\n\t}",
"@Test\r\n public void repeatedValuesTest() {\r\n int[] unsorted = new int[]{1,33,1,0,33,-23,1,-23,1,0,-23};\r\n int[] expResult = new int[]{-23,-23,-23,0,0,1,1,1,1,33,33};\r\n int[] result = arraySorter.sort(unsorted);\r\n assertArrayEquals(expResult, result);\r\n }",
"public void testF() {\n\t\tfor (int k = 0; k < usedSS; k++) {\n\t\t\tList<Integer> subStr = vals.subList(k*compSize, (k+1)*compSize);\n\t\t\tint sum = (int) subStr.stream().filter(i -> i != BipartiteMatching.FREE).count();\n\t\t\tfData.add(sum);\t\t\t\n\t\t}\n\t}",
"public boolean containsNearbyDuplicate(int[] nums, int k) {\n if (nums.length == 0) {\n return false;\n }\n HashMap<Integer, Integer> map = new HashMap<>();\n for (int i = 0; i < nums.length; i++) {\n Integer index = map.get(nums[i]);\n if (index != null && i - index <= k) {\n return true;\n } else {\n map.put(nums[i], i);\n }\n }\n\n return false;\n }",
"static int findMissingUsingSummation(int[] arr) {\n\t\tint expectedSum = (arr.length + 1) * (arr.length + 1 + 1) / 2;\n\t\tint actualSum = 0;\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tactualSum = actualSum + arr[i];\n\t\t}\n\n\t\treturn expectedSum - actualSum;\n\t}",
"private void removeLargeValues(ArrayList<Integer> myList)\n {\n // sort list to make removing values easy\n Collections.sort(myList);\n\n while (myList.size() > 1)\n {\n if (myList.get(myList.size() - 1) > 21)\n myList.remove(myList.size() - 1);\n else\n break;\n }\n }",
"public int[] fix34(int[] nums) {\r\n\tint i=0; // O(1)\r\n while(i<nums.length && nums[i]!=3) // O(n)\r\n i++; // n+1\r\n int j=i; // O(1)\r\n while(j+1<nums.length && nums[j+1]!=4) // O(n)\r\n j++; // n+1\r\n while(i<nums.length){ // O(n)\r\n if(nums[i]==3){ // O(1)\r\n int temp=nums[i+1]; // O(1)\r\n nums[i+1]=nums[j+1]; //O(1)\r\n nums[j+1]=temp; // O(1)\r\n while(j+1<nums.length && nums[j+1] != 4) //O(n)\r\n j++; // n+1\r\n }\r\n i++; // n+1\r\n }\r\n return nums; //O(1)\r\n}",
"void solve() {\n num = new ArrayList<>();\n num.add(BigInteger.valueOf(4));\n for (int len = 2; len <= 100; len++)\n generate(\"4\", 1, len, false);\n Collections.sort(num);\n for (int tc = ii(); tc > 0; tc--) {\n long x = il();\n BigInteger X = BigInteger.valueOf(x);\n for (int i = 0; i < num.size(); i++) {\n if (num.get(i).mod(X).equals(BigInteger.ZERO)) {\n String z = num.get(i).toString();\n int end = z.lastIndexOf('4');\n int len = z.length();\n int a = 2 * (end+1);\n int b = len - end;\n out.println(a + b);\n break;\n }\n }\n }\n }",
"public static long solve(long[] data, long k) {\n int n = data.length;\n\n Buffer<Interval> buffer = new Buffer<>(Interval::new, x -> {}, n * 2);\n\n Randomized.shuffle(data);\n Arrays.sort(data);\n\n List<Interval> lastLevel = new ArrayList<>(n);\n List<Interval> curLevel = new ArrayList<>(n);\n lastLevel.add(newInterval(buffer, 0, n - 1));\n int level = Log2.floorLog(data[n - 1]);\n long mask = 0;\n for (; level >= 0; level--) {\n curLevel.clear();\n for (Interval interval : lastLevel) {\n int l = interval.l;\n int r = interval.r;\n int m = r;\n while (m >= l && Bits.get(data[m], level) == 1) {\n m--;\n }\n interval.m = m;\n }\n long total = 0;\n for (Interval interval : lastLevel) {\n total += (long) (interval.m - interval.l + 1) * (interval.relative.m - interval.relative.l + 1);\n total += (long) (interval.r - interval.m) * (interval.relative.r - interval.relative.m);\n }\n if (total < k) {\n k -= total;\n mask = Bits.set(mask, level, true);\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m && interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.r > interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m >= interval.relative.l) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n } else {\n for (Interval interval : lastLevel) {\n if (interval.relative == interval) {\n if (interval.l <= interval.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n a.relative = a;\n curLevel.add(a);\n }\n if (interval.m < interval.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n a.relative = a;\n curLevel.add(a);\n }\n } else if (interval.r >= interval.relative.r) {\n if (interval.l <= interval.m && interval.relative.l <= interval.relative.m) {\n Interval a = newInterval(buffer, interval.l, interval.m);\n Interval b = newInterval(buffer, interval.relative.l, interval.relative.m);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n if (interval.m < interval.r && interval.relative.m < interval.relative.r) {\n Interval a = newInterval(buffer, interval.m + 1, interval.r);\n Interval b = newInterval(buffer, interval.relative.m + 1, interval.relative.r);\n a.relative = b;\n b.relative = a;\n curLevel.add(a);\n curLevel.add(b);\n }\n }\n }\n }\n\n for (Interval interval : lastLevel) {\n buffer.release(interval);\n }\n\n List<Interval> tmp = curLevel;\n curLevel = lastLevel;\n lastLevel = tmp;\n }\n\n return mask;\n }",
"public void insertToArray()\n {\n //if the bucket size is not empty, empty out the bucket\n if(zero.size() != 0)\n {\n a[c] = zero.get(0);\n zero.remove(0);\n c++; s++;\n return;\n }\n if(one.size() != 0)\n {\n a[c] = one.get(0);\n one.remove(0);\n c++; s++;\n return;\n }\n if(two.size() != 0)\n {\n a[c] = two.get(0);\n two.remove(0);\n c++; s++;\n return;\n }\n if(three.size() != 0)\n {\n a[c] = three.get(0);\n three.remove(0);\n c++; s++;\n return;\n }\n if(four.size() != 0)\n {\n a[c] = four.get(0);\n four.remove(0);\n c++; s++;\n return;\n }\n if(five.size() != 0)\n {\n a[c] = five.get(0);\n five.remove(0);\n c++; s++;\n return;\n }\n if(six.size() != 0)\n {\n a[c] = six.get(0);\n six.remove(0);\n c++; s++;\n return;\n }\n if(seven.size() != 0)\n {\n a[c] = seven.get(0);\n seven.remove(0);\n c++; s++;\n return;\n }\n if(eight.size() != 0)\n {\n a[c] = eight.get(0);\n eight.remove(0);\n c++; s++;\n return;\n }\n if(nine.size() != 0)\n {\n a[c] = nine.get(0);\n nine.remove(0);\n c++; s++;\n return;\n }\n }",
"static void problemEight() {\n int i = 0;\n int prevNum = 1;\n System.out.println(i);\n while (i < 50) {\n int temp = i + prevNum;\n if (temp < 50) System.out.println(temp);\n prevNum = i;\n i = temp;\n }\n }",
"private void testDifferentKValues()\r\n\t{\r\n\t\tLinkedHashMap<Integer, LinkedHashMap<Integer, Double>> energies;\r\n\r\n\t\tif (isEType) {\r\n\t\t\tenergies = ENERGIES_E;\r\n\t\t} else {\r\n\t\t\tenergies = ENERGIES_A;\r\n\t\t}\r\n\r\n\t\tfor (Map.Entry<Integer, LinkedHashMap<Integer, Double>> entry : energies.entrySet()) {\r\n\t\t\t\r\n\t\t\titerationsGoneThrough++;\r\n\t\t\tint percent = (int) ((iterationsGoneThrough / numberOfKIterations) * 80 + 20);\r\n\t\t\tmultiThreadingObj.myPublish(\"msg Generating assignments: \" + percent + \"%\");\r\n\t\t\tmultiThreadingObj.myPublish(\"val \" + percent);\r\n\t\t\t\r\n\t\t\tcurrentK = entry.getKey();\r\n\t\t\tenergiesForCurrentK = entry.getValue();\r\n\t\t\t\r\n\t\t\ttestDifferentJRangesForConstantK();\r\n\t\t}\r\n\t}",
"private void arraySum(MyArrayList myArrayList, Results results) {\r\n int old_sum = myArrayList.sum();\r\n myArrayList.insertSorted(511);\r\n int new_sum = myArrayList.sum();\r\n if(old_sum < new_sum) {\r\n results.storeNewResult(\"ArraySum test case: PASSED\");\r\n }\r\n else { \r\n results.storeNewResult(\"ArraySum test case: FAILED\");\r\n }\r\n }",
"@Test\n public void testGetUniqueInt() {\n UniqueRandomGenerator instance = new UniqueRandomGenerator();\n \n List<Integer> extracted = new ArrayList<>();\n \n for (int i = 0; i < 1000; i++)\n {\n int extr = instance.getUniqueInt(0, 1000);\n \n if (extracted.contains(extr))\n fail();\n else\n extracted.add(extr);\n }\n }",
"static long countTriplets(List<Long> arr, long r) {\n\t\tMap<Long, Long> elementMapWithOccuranceCount = new HashMap<>();\n\t\t//map contains the triplet count for each element\n\t\tMap<Long, Long> elementMapWithTripletCount = new HashMap<>();\n\t\tlong count = 0;\n\t\tfor (int i = 0; i < arr.size(); i++) {\n\t\t\tlong a = arr.get(i);\n\t\t\tlong key = a / r;\n\t\t\t\n\t\t\tif (elementMapWithTripletCount.containsKey(key) && a % r == 0) {\n\t\t\t\t//Have previous count so increment the count\n\t\t\t\tcount += elementMapWithTripletCount.get(key);\n\t\t\t}\n\t\t\t\n\t\t\tif (elementMapWithOccuranceCount.containsKey(key) && a % r == 0) {\n\t\t\t\t//Have a matching member in triplet, check it's count and put that in triplet count, \n\t\t\t\t//that many triplet will be available in the array for this count, only if triplet count available, other wise 0 \n\t\t\t\tlong elementCount = elementMapWithOccuranceCount.get(key);\n\t\t\t\telementMapWithTripletCount.put(a, elementMapWithTripletCount.getOrDefault(a, 0L) + elementCount);\n\t\t\t}\n\t\t\t//By default put it every time we find a new element, this map also keeps count but only for elements\n\t\t\telementMapWithOccuranceCount.put(a, elementMapWithOccuranceCount.getOrDefault(a, 0L) + 1); // Every number can be the start of a triplet.\n\t\t}\n\t\treturn count;\n\t}",
"private int plusOne(int i) {\n return (i + 1) % capacity;\n }",
"private static void findKLargestElementBad(List<Integer> a, int k) {\n PriorityQueue<Integer> maxHeap =\n new PriorityQueue<Integer>(a.size(), new MaxHeapComperator());\n for (Integer n : a) {\n maxHeap.add(n); // O(n)\n }\n int i = k + 1;\n while (i > 0) { // O(klogn)\n System.out.print(maxHeap.remove() + \" \");\n i--;\n }\n }",
"public static void twoSumForFourSum(int[] nums, int target, int low, int high, ArrayList<List<Integer>> fourSumList,\n int z1, int z2) {\n\n if (low >= high)\n return;\n\n if (2 * nums[low] > target || 2 * nums[high] < target)\n return;\n\n int i = low, j = high, sum, x;\n while (i < j) {\n sum = nums[i] + nums[j];\n if (sum == target) {\n fourSumList.add(Arrays.asList(z1, z2, nums[i], nums[j]));\n\n x = nums[i];\n while (++i < j && x == nums[i]) // avoid duplicate\n ;\n x = nums[j];\n while (i < --j && x == nums[j]) // avoid duplicate\n ;\n }\n if (sum < target)\n i++;\n if (sum > target)\n j--;\n }\n return;\n}",
"private void increaseOthers(int inMbt){\n\t\tfor (int i = 0; i < myMBT.length; i++) {\r\n\t\t\tif (i!=inMbt) {\r\n\t\t\t\tif (myMBT[i].getJ2()!=null) {// do not need to increase empty slot's counter\r\n\t\t\t\t\tmyMBT[i].increaseC();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"private static boolean tripletWithSumExistsNoExtraSpace(int[] arr, int expectedSum){\n Arrays.sort(arr);\n int size = arr.length;\n for(int i=0; i<size-2; ++i){\n int complement = expectedSum - arr[i];\n int lidx = i+1, ridx = size-1;\n while (lidx < ridx){\n if(arr[lidx]+arr[ridx] == complement)\n return true;\n else if(arr[lidx]+arr[ridx] < complement)\n ++lidx;\n else\n --ridx;\n }\n }\n return false;\n }",
"private void updateElementListFromSegmet(int changeValue, List<Integer> elementList) {\n\n int changeIndex = 0;\n int change = 0;\n\n for (int i = 0; i < elementList.size(); i++) {\n if (changeValue == elementList.get(i)) {\n changeIndex = i;\n change++;\n }\n }\n\n if (change == 0) {\n for (int i = 0; i < elementList.size(); i++) {\n if (changeValue > elementList.get(i)) {\n continue;\n }\n int value = elementList.get(i) - 1;\n elementList.set(i, value);\n }\n return;\n }\n\n for (int i = elementList.size() - 1; i >= 0; i--) {\n if (elementList.get(i) == changeValue) {\n break;\n } else {\n int value = elementList.get(i) - 1;\n elementList.set(i, value);\n }\n\n }\n\n elementList.remove(changeIndex);\n\n }",
"public boolean containsNearbyAlmostDuplicate(int[] nums, int k, int t) {\n\n if(nums==null||nums.length<2||k<0||t<0)\n return false;\n\n TreeSet<Long> sortedElems = new TreeSet<>();\n\n for(int i = 0; i< nums.length; i++){\n\n final long num = (long)nums[i];\n\n final long left = num - t;\n final long right = num + t+1;\n final SortedSet<Long> foundElems = sortedElems.subSet(left, right);\n if(!foundElems.isEmpty()){\n return true;\n }\n sortedElems.add(num);\n\n if(i>=k){\n sortedElems.remove((long)nums[i-k]);\n }\n\n }\n return false;\n\n\n }",
"private static void getPrime() {\n\t\tfor(int i=2;i<MAXN;i++){\n\t\t\tif(prime[i]==0){\n\t\t\t\tprime[++prime[0]]=i;\n\t\t\t}\n\t\t}\n\t}",
"public void sumValues(){\n\t\tint index = 0;\n\t\tDouble timeIncrement = 2.0;\n\t\tDouble timeValue = time.get(index);\n\t\tDouble packetValue;\n\t\twhile (index < time.size()){\n\t\t\tDouble packetTotal = 0.0;\n\t\t\twhile (timeValue < timeIncrement && index < packets.size()){\n\t\t\t\ttimeValue = time.get(index);\n\t\t\t\tpacketValue = packets.get(index);\n\t\t\t\tpacketTotal= packetTotal + packetValue;\n\t\t\t\tindex = index + 1;\n\t\t\t}\n\t\t\tArrayList<Double> xy = new ArrayList<Double>();\n\t\t\txy.add(timeIncrement);\n\t\t\txy.add(packetTotal);\n\t\t\ttotalIncrements.add(xy);\n\t\t\t// to get max and min need separate arrays\n\t\t\ttimeIncrements.add(timeIncrement);\n\t\t\tbyteIncrements.add(packetTotal);\n\t\t\ttimeIncrement = timeIncrement + 2.0;\t\n\t\t}\n\t\treturn;\n\n\t}",
"private void m15513b(long j) {\n if (mo9140c() != null) {\n this.f13396d.f11688z = System.currentTimeMillis();\n int intValue = ((Integer) this.f13396d.get(\"data_pk_anchor_score\")).intValue();\n int intValue2 = ((Integer) this.f13396d.get(\"data_pk_guest_score\")).intValue();\n if (intValue > intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.LEFT_WON);\n } else if (intValue < intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.RIGHT_WON);\n } else {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.EVEN);\n }\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.PENAL);\n if (j <= 0) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.FINISHED);\n }\n int i = (int) (j / 1000);\n int i2 = (int) (j % 1000);\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n this.f13399i = C9057b.m27050a(0, 1, TimeUnit.SECONDS).mo19305c((long) (i + 1)).mo19320e((long) i2, TimeUnit.MILLISECONDS).mo19317d((C7327h<? super T, ? extends R>) new C4703fw<Object,Object>(i)).mo19294a(C47549a.m148327a()).mo19280a((C7326g<? super T>) new C4704fx<Object>(this), (C7326g<? super Throwable>) new C4705fy<Object>(this));\n }\n }",
"static int[] missingNumbers(int[] arr, int[] brr) {\n Map<Integer, Integer> map=new HashMap(); \n int size = brr.length;\n for(int i=0;i<size;i++) {\n if(map.containsKey(brr[i])) {\n map.put(brr[i],map.get(brr[i])+1);\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n } else {\n map.put(brr[i],1);\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n }\n }\n int arrSize = arr.length;\n for(int i=0;i<arrSize;i++) {\n map.put(arr[i],map.get(arr[i])-1);\n }\n\n Set<Integer> set = new HashSet<Integer>(); \n\n for(int i=0;i<size;i++) {\n //System.out.println(brr[i] + \" \" + map.get(brr[i]));\n if(map.get(brr[i])>0) {\n set.add(brr[i]);\n }\n }\n List<Integer> sortedList = new ArrayList<>(set);\n Collections.sort(sortedList);\n \n int[] sortedArr = new int[set.size()];\n for(int i=0;i<sortedList.size();i++) {\n sortedArr[i] = sortedList.get(i);\n }\n\n return sortedArr;\n }",
"private int minJumps(int[] arr) {\n int n = arr.length;\n if (n == 1) {\n return 0;\n }\n\n //map to hold the values in the array and the indexes where they are located in\n Map<Integer, List<Integer>> map = new HashMap<>();\n\n for (int i = 0; i < arr.length; i++) {\n /*\n method checks if arr[i] exists in the map, if so, we add the current index to the list of indexes where\n arr[i] is present, otherwise we make a new entry for arr[i]\n */\n map.computeIfAbsent(arr[i], v -> new ArrayList<>()).add(i);\n }\n\n //Queue to hold the indexes j we can jump to starting from 0\n Queue<Integer> queue = new LinkedList<>();\n queue.add(0); //add the first index into the queue\n int steps = 0;\n\n while (!queue.isEmpty()) {\n steps++;\n int size = queue.size();\n\n for (int i = 0; i < size; i++) {\n int j = queue.remove(); //the current index\n\n //jump to j + 1\n if (j + 1 < n && map.containsKey(arr[j + 1])) {\n if (j + 1 == n - 1) {\n return steps;\n }\n queue.add(j + 1);\n }\n\n //jump to j - 1\n if (j - 1 >= 0 && map.containsKey(arr[j - 1])) {\n queue.add(j - 1);\n }\n\n //jump to index k --> arr[j] == arr[k]\n if (map.containsKey(arr[j])) {\n //search through the list of indexes where arr[j] is present\n for (int k : map.get(arr[j])) {\n if (k != j) {\n //if one of the indexes is the last index, we've gotten to the end, otherwise we add the index to the queue\n if (k == n - 1) {\n return steps;\n }\n queue.add(k);\n }\n }\n }\n //remove the value of arr[j] from the map to avoid overlap\n map.remove(arr[j]);\n }\n }\n return steps;\n }",
"private void d() {\n Queue<c> queue;\n Queue<c> queue2 = queue = i;\n synchronized (queue2) {\n long l2 = System.currentTimeMillis();\n Iterator iterator = i.iterator();\n while (iterator.hasNext()) {\n if (l2 - ((c)iterator.next()).a < 60000L) continue;\n iterator.remove();\n }\n if (i.size() >= 15) {\n for (int i2 = 0; i2 < 5; ++i2) {\n i.remove();\n }\n }\n return;\n }\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n \n boolean[] isNotPrime = new boolean[(N - 1 - 1) / 2 + 1];\n List<Integer> list = new ArrayList<Integer>();\n HashSet<Integer> primes = new HashSet<Integer>();\n \n list.add(2);\n primes.add(2);\n long sum = 0;\n for (int i = 1; i < isNotPrime.length; i++) {\n if (isNotPrime[i]) {\n continue;\n }\n list.add(2 * i + 1);\n primes.add(2 * i + 1);\n long nextIndex = (((long) 2 * i + 1) * (2 * i + 1) - 1) / 2;\n if (nextIndex >= isNotPrime.length) {\n continue;\n }\n for (int j = ((2 * i + 1) * (2 * i + 1) - 1) / 2; j < isNotPrime.length; j += 2 * i + 1) {\n isNotPrime[j] = true;\n }\n }\n int index = 0;\n while (index < list.size()) {\n int curPrime = list.get(index);\n index++;\n if (curPrime < 10) {\n continue;\n }\n int base = 1;\n while (curPrime / base > 9) {\n base *= 10;\n }\n int leftTruncate = curPrime;\n int rightTruncate = curPrime;\n boolean isValid = true;\n while (base != 1) {\n leftTruncate = leftTruncate - leftTruncate / base * base;\n rightTruncate = rightTruncate / 10;\n base /= 10;\n if (primes.contains(leftTruncate) == false || primes.contains(rightTruncate) == false) {\n isValid = false;\n break;\n }\n }\n if (isValid) {\n sum += curPrime;\n }\n }\n System.out.println(sum);\n scanner.close();\n }",
"private static void findNumbers(int[] candidates, int sum,\n List<List<Integer>> res, List<Integer> r, int i) {\n if (sum < 0) {\n return;\n }\n\n // if we get exact answer\n if (sum == 0) {\n List<Integer> r2 = new ArrayList<>(r);\n if (!res.contains(r2)) {\n res.add(r2);\n }\n return;\n }\n\n // Recur for all remaining elements that have value smaller than sum.\n while (i < candidates.length - 1) {\n i++;\n\n // Till every element in the array starting from i which can contribute to the sum\n r.add(candidates[i]); // add them to list\n\n // recur for next numbers\n findNumbers(candidates, sum - candidates[i], res, r, i);\n\n // remove number from list (backtracking)\n r.remove(r.size() - 1);\n }\n }",
"static int findMissingPositive(int arr[], int size)\n {\n int i;\n for(i = 0; i < size; i++)\n {\n if(Math.abs(arr[i]) - 1 < size && arr[Math.abs(arr[i]) - 1] > 0)\n arr[Math.abs(arr[i]) - 1] = -arr[Math.abs(arr[i]) - 1];\n }\n // Return the first index value at which is positive \n for(i = 0; i < size; i++)\n if (arr[i] > 0)// 1 is added because indexes start from 0 \n return i+1;\n return size+1;\n }",
"public int addIfNotExist(T x) {\n boolean insert = false;\n if (needRebuild) {\n rebuildSqrt();\n }\n for (int j = 0; j < numberOfBlocks; ++j) {\n if (size != 0 && dataInBegin[j] != null && comparator.compare((T) dataInBegin[j], x) > 0) {\n if (j == 0) {\n for (int k = endOfBlock[0]; k > 0; k--) {\n data[k] = data[k - 1];\n }\n data[0] = x;\n dataInBegin[0] = x;\n endOfBlock[0]++;\n insert = true;\n size++;\n if (endOfBlock[0] == (len << 1)) {\n needRebuild = true;\n }\n return 0;\n }\n for (int k = (len * (j - 1) << 1); k < endOfBlock[j - 1]; k++)\n if (comparator.compare((T) data[k], x) > 0) {\n for (int l = endOfBlock[j - 1]; l > k; l--) {\n data[l] = data[l - 1];\n }\n data[k] = x;\n endOfBlock[j - 1]++;\n insert = true;\n size++;\n if (endOfBlock[j - 1] == (len * j << 1)) needRebuild = true;\n return k;\n } else if (comparator.compare((T) data[k], x) == 0) {\n return -(k + 1);\n }\n if (!insert) {\n data[endOfBlock[j - 1]] = x;\n insert = true;\n endOfBlock[j - 1]++;\n size++;\n if (endOfBlock[j - 1] == (len * j << 1)) {\n needRebuild = true;\n }\n return endOfBlock[j - 1] - 1;\n }\n }\n }\n if (!insert) {\n for (int j = (len * (numberOfBlocks - 1) << 1); j < endOfBlock[numberOfBlocks - 1]; ++j)\n if (data[j] != null && comparator.compare((T)data[j], x) > 0) {\n for (int l = endOfBlock[numberOfBlocks - 1]; l > j; l--) {\n data[l] = data[l - 1];\n }\n data[j] = x;\n if (j == ((len * (numberOfBlocks - 1)) << 1)) dataInBegin[numberOfBlocks - 1] = x;\n insert = true;\n endOfBlock[numberOfBlocks - 1]++;\n size++;\n if (endOfBlock[numberOfBlocks - 1] == (len * numberOfBlocks << 1)) needRebuild = true;\n return j;\n } else if (comparator.compare((T)data[j], x) == 0) {\n return -(j + 1);\n }\n if (!insert) {\n size++;\n if (endOfBlock[numberOfBlocks - 1] == (len * (numberOfBlocks - 1) << 1))\n dataInBegin[numberOfBlocks - 1] = x;\n data[endOfBlock[numberOfBlocks - 1]] = x;\n endOfBlock[numberOfBlocks - 1]++;\n if (endOfBlock[numberOfBlocks - 1] == (len * numberOfBlocks << 1)) needRebuild = true;\n return endOfBlock[numberOfBlocks - 1] - 1;\n }\n }\n return NO_ELEMENT;\n }",
"public static void cutRod() {\n\t\tint[] price = {1,5,8,9,13};\n\t\tint N = price.length;\n\t\tint[] val = new int[N+1];\n\t\tval[0] = 0;\n\t\tfor(int i=1; i<=N; i++) {\n\t\t\tint max = Integer.MIN_VALUE;\n\t\t\tfor(int j=0; j<i; j++) {\n\t\t\t\tmax = Math.max(max, price[j]+val[i-j-1]);\n\t\t\t}\n\t\t\tval[i] = max;\n\t\t}\n\t\tSystem.out.println(\"max val \"+val[N]);\n\t}",
"private void arrayInsertNegativeNumber(MyArrayList myArrayList, Results results, int value) {\r\n myArrayList.insertSorted(value);\r\n if(myArrayList.search(value)) { \r\n results.storeNewResult(\"ArrayInsertNegativeNumber test case: FAILED\");\r\n }\r\n else { \r\n results.storeNewResult(\"ArrayInsertNegativeNumber test case: PASSED\");\r\n }\r\n }",
"private void updateValue() {\n int minValue = 100; //Minimum value to be calculated, initialized to a large number\n value = 0; //Value reinitialized to 0\n for (Integer i : values) {\n if (i > value && i <= 21) {\n value = i; //Sets value to maximum value less than or equal to 21\n }\n if (i < minValue) {\n minValue = i; //Sets minimum value to lowest value in the list\n }\n }\n if (value == 0) {\n value = minValue; //Sets value to minValue if no values 21 or less\n }\n valueLabel.setText(\"Value: \" + value); //Sets text of value label\n if (value > 21) {\n bust(); //Busts if value greater than 21\n }\n }",
"static int migratoryBirds(List<Integer> arr) {\n int count=1;\n int max=arr.get(0);\n HashMap<Integer,Integer> map=new HashMap<>();\n for(int i=0;i<arr.size();i++) {\n \tif(map.containsKey(arr.get(i))) {\n \t\tmap.replace(arr.get(i), map.get(arr.get(i))+1);\n \t}else {\n \t\tmap.put(arr.get(i), count);\n \t}\n }\n \n int ans=0;\n for(Integer i:map.keySet()) {\n \t int n=map.get(i);\n \t if(n>max) {\n \t\t max=n;\n \t\t \tans=i;\n\n \t }\n }\n /*int comp[]=new int[256];\n for(int i=0;i<arr.size();i++){\n comp[arr.get(i)]++;\n }\n for(int i=0;i<comp.length;i++){\n if(comp[i]>max)\n max=comp[i];\n }*/\n return ans;\n }",
"public synchronized void mo38099a(long j) {\n this.f34202p += j;\n if (this.f34202p >= ((long) (this.f34204r.mo38175c() / 2))) {\n mo38092a(0, this.f34202p);\n this.f34202p = 0;\n }\n }",
"static int workbook(int n, int k, int[] arr) {\n int specialProblems = 0;\n int page = 1;\n for (int i = 0; i < n; i++) {\n for (int j = 1; j <= arr[i]; j++) {\n if (j == page)\n specialProblems++;\n if (j % k == 0)\n page++;\n }\n if (arr[i] % k != 0) page++;\n }\n return specialProblems;\n }",
"private void testAddAtIndex(){\n System.out.println(\"------ TESTING : add(int index, int element) ------\");\n try{\n // The insertion will add values to the front\n // the sequence should be iSize-1....,1,0\n for(int i = 0; i < iSize ; i++){\n if(!iTestList.add(0,i))\n throw new RuntimeException(\"FAILED -> add(index,element) not working correctly\");\n }\n // we should test the out of edge cases\n // if we try the following code and the return value is true or if the\n // program crashes then there is a problem\n if(iTestList.add(iSize+10, 999 )){\n throw new RuntimeException(\"FAILED -> index should not be > SIZE\");\n }\n if(iTestList.add(-2,999 )){\n throw new RuntimeException(\"FAILED -> index should not be < 0\");\n }\n }catch(Exception e){\n System.out.println(e.getMessage());\n }\n }",
"public List<List<Integer>> threeSum(int[] nums) {\n Arrays.sort(nums);\n\n Set<List<Integer>> triplets = new HashSet<List<Integer>>();\n\n for (int i = 0; i < nums.length; i++) {\n // we choose the number at index i to pinpoint\n int a = nums[i];\n int deficit = 0 - a;\n\n // initialize our two pointers such that they're at either end of the\n // array and that they're not i\n int b = i == 0 ? 1 : 0;\n int c = i == nums.length - 1 ? nums.length - 2 : nums.length - 1;\n\n while (b < c) {\n // check if b and c add up to the deficit\n if (nums[b] + nums[c] == deficit) {\n // add it to the list\n List<Integer> triplet = new ArrayList<Integer>();\n\n triplet.add(a);\n triplet.add(nums[b]);\n triplet.add(nums[c]);\n\n Collections.sort(triplet);\n if (!triplets.contains(triplet)) {\n triplets.add(triplet);\n }\n\n\n // move pointer up and down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n\n b += 1;\n if (b == i) {\n b += 1;\n }\n } else if (nums[b] + nums[c] > deficit) {\n // if it's too large, bring top pointer down\n c -= 1;\n if (c == i) {\n c -= 1;\n }\n } else {\n // if it's too small, bring bottom pointer up\n b += 1;\n if (b == i) {\n b += 1;\n }\n }\n }\n }\n\n List<List<Integer>> last = new ArrayList<List<Integer>>(triplets);\n return last;\n }",
"private ArrayList<Integer> fillDomain() {\n ArrayList<Integer> elements = new ArrayList<>();\n\n for (int i = 1; i <= 10; i++) {\n elements.add(i);\n }\n\n return elements;\n }",
"private int getIndex(int val){\n return val%bucket;\n }",
"public boolean insert(int val) {\n if (realSet.contains(val)) return false;\n if (size == allSet.length) {\n Integer[] tmpSet = new Integer[size * 2];\n int not = 0;\n for (int i = 0; i < size; i ++) {\n if (allSet[i] == null) {\n not ++;\n continue;\n }\n tmpSet[i - not] = allSet[i];\n }\n size -= not;\n allSet = tmpSet;\n }\n realSet.add(val);\n allSet[size] = val;\n size ++;\n return true;\n\n }",
"static int missingNumber(int arr[], int size)\n {\n Arrays.sort(arr);\n int searchFor = 0;\n int counter = 0;\n for (int i = 0; i < arr.length; i++) {\n \tif (arr[i] > 0) {\n\t\t\t\tif (arr[i] == searchFor) continue;\n else if (arr[i] == searchFor+1) searchFor++;\n else break;\n \t}\n }\n \n return searchFor+1;\n }",
"private static List<Integer> addOne(List<Integer> input) {\n\n\t\tList<Integer> copy = new ArrayList<>();\n\t\tcopy.addAll(input);\n\n\t\tint size = copy.size();\n\t\tcopy.set(size-1, input.get(size-1)+1);//last element of input is updated/replaced by (original value + 1)\n\n\t\tfor(int i=size-1; i>0 && copy.get(i)==10; i--) {\n\t\t\tcopy.set(i, 0);\n\t\t\tcopy.set(i-1, copy.get(i-1)+1);\n\t\t}\n\n\t\tif(copy.get(0) == 10) {\n\t\t\tcopy.set(0, 0);\n\t\t\tcopy.add(0, 1);//add 1 at index0 ,shift all elements after to right\n\t\t}\n\n\t\treturn copy;//this NOT modifies the original input\n\t}",
"private static int getMissingNumber(int[] numbers, int totalCount) {\n int expectedSum = totalCount * ((totalCount + 1) / 2);\n int actualSum = 0;\n for (int i : numbers) {\n actualSum += i;\n }\n return expectedSum - actualSum;\n }",
"@Test(timeout = 60000)\n public void testVariableAndConstantsUnboundedIteration() throws Exception {\n JobGraph jobGraph = createVariableAndConstantJobGraph(4, 1000, true, 0, false, 1, result);\n miniCluster.submitJob(jobGraph);\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n }",
"@Test\n public void iterate0() {\n runAndWait(() -> {\n int err = 0;\n RBTree<Integer> tree = new RBTree<>();\n List<Integer> list = new ArrayList<>(List.of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));\n Collections.shuffle(list);\n tree.addAll(list);\n Collections.sort(list);\n int i = 0;\n for (int val : tree) {\n if (i >= list.size()) {\n fail(\"The tree iterated over more elements than the initial list!\");\n }\n if (val != list.get(i)) {\n System.err.println(\"Expected the value \" + list.get(i) + \", but found \" + val);\n err++;\n }\n i++;\n }\n assertEquals(\"There were \" + err + \" errors!\", 0, err);\n }, 64, 1000);\n \n }",
"private void faster() {\n BigInteger[] denoms = new BigInteger[1000];\n BigInteger[] nums = new BigInteger[1000];\n\n nums[0] = BigInteger.valueOf(3);\n denoms[0] = BigInteger.valueOf(2);\n\n for (int i = 1; i < 1000; i++) {\n denoms[i] = nums[i - 1].add(denoms[i - 1]);\n nums[i] = denoms[i].add(denoms[i - 1]);\n }\n\n int count = 0;\n for (int i = 1; i < 1000; i++) {\n if (nums[i].toString().length() > denoms[i].toString().length()) {\n count++;\n }\n }\n this.answer = count;\n }",
"static void binomialCoeff(int C[][], int n, int k)\n {\n for (int i = 0; i <= n; i++) {\n for (int j = 0; j <= Math.min(i, k); j++)\n {\n\n // Base Cases\n if (j == 0 || j == i)\n C[i][j] = 1;\n\n // Calculate value using previously\n // stored values\n else\n C[i][j] = C[i - 1][j - 1] +\n C[i - 1][j];\n }\n }\n }"
] | [
"0.5535954",
"0.5417161",
"0.5399822",
"0.5311607",
"0.52667826",
"0.52642155",
"0.52584225",
"0.5256057",
"0.5237545",
"0.52301776",
"0.522671",
"0.5224691",
"0.5215621",
"0.52126175",
"0.5211763",
"0.5211182",
"0.5156273",
"0.5154464",
"0.5150072",
"0.5145069",
"0.5135357",
"0.5133287",
"0.5123039",
"0.5122131",
"0.5121128",
"0.5105427",
"0.5095445",
"0.508776",
"0.5045865",
"0.5039577",
"0.50384426",
"0.50366336",
"0.50306594",
"0.5021216",
"0.5012195",
"0.50119007",
"0.5003627",
"0.5002366",
"0.49989018",
"0.4998856",
"0.4991861",
"0.49915746",
"0.4989982",
"0.49860492",
"0.4981778",
"0.49778202",
"0.49703965",
"0.49682724",
"0.4964249",
"0.49582174",
"0.4957496",
"0.49567822",
"0.49565443",
"0.4951936",
"0.49487406",
"0.49414557",
"0.49411243",
"0.4939154",
"0.49371448",
"0.49333057",
"0.4924503",
"0.49131957",
"0.49115276",
"0.49108857",
"0.49003676",
"0.4897949",
"0.48953944",
"0.4892834",
"0.48914546",
"0.48841608",
"0.48837054",
"0.48808286",
"0.48753527",
"0.48679528",
"0.4865268",
"0.48620388",
"0.48616296",
"0.4859144",
"0.48549777",
"0.48539302",
"0.48524874",
"0.48410565",
"0.48384267",
"0.4829799",
"0.48290625",
"0.48272187",
"0.48258847",
"0.48185158",
"0.48179153",
"0.481628",
"0.48152208",
"0.48147288",
"0.48051354",
"0.4804915",
"0.479673",
"0.47959068",
"0.47954717",
"0.4786476",
"0.47856426",
"0.47854653",
"0.4785071"
] | 0.0 | -1 |
Interface containing parameters for movements | public interface MovementParameters {
/**
* Value to make the robot steer right on its center
*/
static final int STEER_RIGHT = -200;
/**
* Value to make the robot steer left on its center
*/
static final int STEER_LEFT = 200;
/**
* Angular speed of the robot for rotations in degrees / sec
*/
static final double ANGULAR_SPEED = 5;
/**
* Speed for a single motor
*/
static final double MOTOR_SPEED = 20;
/**
* Linear speed of the robot in cm / s
*/
static final double LINEAR_SPEED = 40;
/**
* Linear acceleration of the robot in cm / s^2
*/
static final double LINEAR_ACCELERATION = 2;
/**
* Tolerance set to the heading in degrees
*/
static final float HEADING_TOLERANCE = 1f;
/**
* Minimum distance the robot can reach when is approaching an object
*/
static final int MIN_DISTANCE = 40;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tvoid move(int x, int y) {\n\n\t}",
"public interface Moveable {\n\n // move method with paramaters for the player to move to.\n void move(int dx, int dy);\n\n // moveTo method adjusts the parameter for the player in the ArrayLists.\n void moveTo(int dx, int dy);\n\n // stepCounter ArrayList that returns the last position of the player of TileX.\n ArrayList<Integer> getStepCounterTileX();\n\n // method that sets the StepCounter with the last position of player.\n void setStepCounterTileXY();\n\n // stepCounter ArrayList that returns the last position of the player of TileY.\n ArrayList<Integer> getStepCounterTileY();\n}",
"public abstract void move(int deltaX, int deltaY);",
"@Override\n public void onMove(float x, float y) {\n }",
"public abstract void move(Position position);",
"@Override\n\tpublic void move(int xPos, int yPos) {\n\t}",
"public void move(){\n\t\t\n\t}",
"public abstract Point move(Point position);",
"public void move(Point p);",
"public void move();",
"public void move();",
"public interface Moves {\n\n /**\n * Applies the move onto a shape when it is on the correct tick.\n *\n * @return the shape with the move applied onto it\n */\n ShapeState apply(int tick);\n\n\n /**\n * Gets the initial tick of which the move is applicable on.\n *\n * @return the initial tick.\n */\n ShapeState getInitialState();\n\n /**\n * Gets the final tick of which the move is applicable on.\n *\n * @return the final tick.\n */\n ShapeState getFinalState();\n\n /**\n * Checks whether the move is finished at a certain time.\n *\n * @param tick the time to be checked.\n * @return whether the move is finished at that time.\n *\n */\n boolean isMoveFinished(int tick);\n\n\n\n}",
"@Override\n\tpublic void move() {\n\n\t}",
"public void getMove(){\n\t\t\n\t}",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"abstract void move();",
"@Override\n\tpublic void move() {\n\t\t\n\t}",
"public void move() {\n\n }",
"public abstract void move(Point point);",
"@Override\n public void move () {\n }",
"@Override\r\n\tpublic void move() {\n\r\n\t}",
"@Override\n\t\t\t\tpublic void onActionMove(float x, float y) {\n\n\t\t\t\t}",
"@Override\n\t\t\t\tpublic void onActionMove(float x, float y) {\n\n\t\t\t\t}",
"@Override\n\t\t\t\tpublic void onActionMove(float x, float y) {\n\n\t\t\t\t}",
"@Override\n\tpublic void move() {\n\t}",
"public abstract void Move();",
"void onMove();",
"public void move() {\n\r\n\t}",
"public interface Moveable {\n\n void move();\n\n}",
"void onIdentityMove(int fromPosition, int toPosition);",
"public interface Command {\r\n \r\n /** set the coordinates of the mouse down event;\r\n * where the image is moved FROM.\r\n * @param fromX x coordinate of mouse \r\n * @param fromY y coordinate of mouse\r\n */\r\n public void setFromCoordinates(int fromX, int fromY);\r\n\r\n /** set the coordinates of the mouse up event;\r\n * where the image is moved TO.\r\n * @param toX x coordinate of mouse \r\n * @param toY y coordinate of mouse\r\n */\r\n public void setToCoordinates(int toX, int toY);\r\n \r\n /** execute encapsulates the method call on the board game. \r\n * NOTE: it is this method's responsibility return false\r\n * in case the given from and to coordinates cannot\r\n * be translated into a meaningful board game invokation\r\n * and in this case return false. Example: moving a\r\n * piece outside the board may translate into calling\r\n * a game's move method with a null parameter which\r\n * will next generate a null pointer exception in the\r\n * game logic.\r\n * @return false if the action, typically a move, is illegal\r\n * in the board game. \r\n * */\r\n public boolean execute();\r\n}",
"public abstract void move(int direction, double speed);",
"public void Move()\n {\n \n }",
"public abstract void makeMove(int mouseDownX, int mouseDownY, int MouseUpX, int mouseUpY, int left, int top, int width, int height);",
"P applyMovement(M move);",
"public abstract void move(int elapsedTime);",
"@Override\n \t\t\t\tpublic void doMove() {\n \n \t\t\t\t}",
"public interface MoveBehavior {\r\n\r\n\tpublic String move();\r\n\r\n}",
"void move();",
"public void move(int delta);",
"public void move() {\r\n posX += movementX;\r\n posY += movementY;\r\n anchorX += movementX;\r\n anchorY += movementY;\r\n }",
"protected void onMove() {\r\n }",
"void move(IntVector delta);",
"@Override\r\n\tprotected void onMove() {\n\t\t\r\n\t}",
"public abstract void move( char direction );",
"public abstract void calculateMovement();",
"public interface MovementView {\n\n /**\n * Tells the view to add al line for the turtle with the given index starting and ending at the given coordinates\n *\n * @param index - integer turtle index whose movement has drawn the line\n * @param start - coordinate start value in slogo coordinate system\n * @param end - coordinate end value in slogo coordinate system\n */\n void addLine(int index, Coordinate start, Coordinate end);\n\n /**\n * Tells the view to move the turtle with the given index from the start coordinate to the end coordinate\n *\n * @param turtleIndex - integer index of turtle to move\n * @param start - coordinate from which the turtle starts in slogo coordinate system\n * @param end - coordinate from which the turtle ends\n */\n void moveTurtle(int turtleIndex, Coordinate start, Coordinate end);\n\n /**\n * Tells the view to rotate a turtle with the given index\n *\n * @param turtleIndex - integer index of turtle to be rotated\n * @param degrees - double number of degrees to rotate the turtle clockwise\n */\n void rotateTurtle(int turtleIndex, double degrees);\n\n}",
"public abstract void move(int p_index) ;",
"default void onMoveMade(ScotlandYardView view, Move move) {}",
"public void setStateOfMovement(int movementState){stateOfMovement = movementState; }",
"@Override\n\tpublic void move(Direction d) {\n\t\t\n\t}",
"public abstract void moveTo(double x, double y);",
"public abstract boolean changeMove();",
"public abstract int makeMove();",
"public abstract void handleMovement();",
"abstract void move_elevator();",
"public interface IStrategy {\n\n\t\t\n\t\t\t\n\t/** \n\t * calculate the next position of the pacman. Gets the curent position and returns the new position.\n\t */\n\tpublic abstract Point move(Point position);\n\t\t\t\n\t\t\n\n}",
"interface Movable {\n public void move();\n}",
"public void getMovements()\n {\n if(\n Greenfoot.isKeyDown(\"Up\")||Greenfoot.isKeyDown(\"W\")||\n Greenfoot.isKeyDown(\"Down\")||Greenfoot.isKeyDown(\"S\")||\n Greenfoot.isKeyDown(\"Right\")||Greenfoot.isKeyDown(\"D\")||\n Greenfoot.isKeyDown(\"Left\") ||Greenfoot.isKeyDown(\"A\")||\n getWorld().getObjects(Traps.class).isEmpty() == false //car trap engendre un mouvement sans les touches directionnelles\n )\n {\n isMoved = true;\n }\n else{isMoved = false;}\n }",
"protected int getMove() \t\t\t\t{\treturn move;\t\t}",
"@Override\n public void onMove(boolean absolute) {\n \n }",
"@Override // see item.java\n\tpublic void move(Direction dir, Distance d) {\n\n\t}",
"public void move(){\n x+=xDirection;\n y+=yDirection;\n }",
"@Override\n public void movement() {\n if (isAlive()) {\n //Prüfung ob A oder die linke Pfeiltaste gedrückt ist\n if (Keyboard.isKeyDown(KeyEvent.VK_LEFT) || Keyboard.isKeyDown(KeyEvent.VK_A)) {\n //Änder die X Position um den speed wert nach link (verkleinert sie)\n setPosX(getPosX() - getSpeed());\n //Prüft ob der Spieler den linken Rand des Fensters erreicht hat\n if (getPosX() <= 0) {\n //Setzt die X Position des Spielers an den Rand des Fensters zurück\n setPosX(0);\n }\n }\n //Prüfung ob D oder die rechte Pfeiltaste gedrückt ist\n if (Keyboard.isKeyDown(KeyEvent.VK_RIGHT) || Keyboard.isKeyDown(KeyEvent.VK_D)) {\n //Änder die X Position um den speed wert nach rechts (vergrößert sie)\n setPosX(getPosX() + getSpeed());\n //Prüft ob der Spieler den rechten Rand des Fensters erreicht hat\n if (getPosX() >= Renderer.getWindowSizeX() - getWight() - 7) {\n //Setzt die X Position des Spielers an den Rand des Fensters zurück\n setPosX(Renderer.getWindowSizeX() - getWight() - 7);\n }\n }\n //Aktualsiert die Hitbox\n setBounds();\n }\n }",
"Object GetMove (Object game_state);",
"public abstract boolean canMove();",
"public abstract Position executeMovement(Position pos, Surface surface);",
"public boolean move();",
"private void move(int dx, int dy) {\n }",
"protected abstract void moveTo(final float x, final float y);",
"public void move(Vector start,Vector dist);",
"public void move(TrackerState state) {\n\t\t\n\t\tcurrentPosition[0] = state.devicePos[0];\n\t\tcurrentPosition[1] = state.devicePos[1];\n\t\tcurrentPosition[2] = state.devicePos[2];\n\t\t\n\t\tboolean processMove = false;\n\t\t\n\t\tboolean isWheel = (state.actionType == TrackerState.TYPE_WHEEL);\n\t\tboolean isZoom = (isWheel || state.ctrlModifier);\n\t\t\n\t\tif (isZoom) {\n\t\t\t\n\t\t\tdirection[0] = 0;\n\t\t\tdirection[1] = 0;\n\t\t\t\n\t\t\tif (isWheel) {\n\t\t\t\tdirection[2] = state.wheelClicks * 0.1f;\n\t\t\t\t\n\t\t\t} else if (state.ctrlModifier) {\n\t\t\t\tdirection[2] = (currentPosition[1] - startPosition[1]);\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tdirection[2] = 0;\n\t\t\t}\n\t\t\t\n\t\t\tif (direction[2] != 0) {\n\t\t\t\t\n\t\t\t\tdirection[2] *= 16;\n\t\t\t\t\n\t\t\t\tdata.viewpointTransform.getTransform(startViewMatrix);\n\t\t\t\tstartViewMatrix.get(positionVector);\n\t\t\t\t\n\t\t\t\tinVector.x = startViewMatrix.m02;\n\t\t\t\tinVector.y = startViewMatrix.m12;\n\t\t\t\tinVector.z = startViewMatrix.m22;\n\t\t\t\tinVector.normalize();\n\t\t\t\tinVector.scale(direction[2]);\n\t\t\t\t\n\t\t\t\tpositionVector.add(inVector);\n\t\t\t\t\n\t\t\t\t// stay above the floor\n\t\t\t\tif (positionVector.y > 0) {\n\t\t\t\t\tdestViewMatrix.set(startViewMatrix);\n\t\t\t\t\tdestViewMatrix.setTranslation(positionVector);\n\t\t\t\t\t\n\t\t\t\t\tprocessMove = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t\n\t\t\tdirection[0] = -(startPosition[0] - currentPosition[0]);\n\t\t\tdirection[1] = -(currentPosition[1] - startPosition[1]);\n\t\t\tdirection[2] = 0;\n\t\t\t\n\t\t\tfloat Y_Rotation = direction[0];\n\t\t\tfloat X_Rotation = direction[1];\n\t\t\t\n\t\t\tif( ( Y_Rotation != 0 ) || ( X_Rotation != 0 ) ) {\n\t\t\t\t\n\t\t\t\tdouble theta_Y = -Y_Rotation * Math.PI;\n\t\t\t\tdouble theta_X = -X_Rotation * Math.PI;\n\t\t\t\t\n\t\t\t\tdata.viewpointTransform.getTransform(startViewMatrix);\n\t\t\t\tstartViewMatrix.get(positionVector);\n\t\t\t\t\n\t\t\t\tpositionVector.x -= centerOfRotation.x;\n\t\t\t\tpositionVector.y -= centerOfRotation.y;\n\t\t\t\tpositionVector.z -= centerOfRotation.z;\n\t\t\t\t\n\t\t\t\tif (theta_Y != 0) {\n\n\t\t\t\t\trot.set(0, 1, 0, (float)theta_Y);\n\t\t\t\t\tmtx.set(rot);\n\t\t\t\t\tmtx.transform(positionVector);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (theta_X != 0) {\n\t\t\t\t\t\n\t\t\t\t\tvec.set(positionVector);\n\t\t\t\t\tvec.normalize();\n\t\t\t\t\tfloat angle = vec.angle(Y_AXIS);\n\t\t\t\t\t\n\t\t\t\t\tif (angle == 0) {\n\t\t\t\t\t\tif (theta_X > 0) {\n\t\t\t\t\t\t\trightVector.x = startViewMatrix.m00;\n\t\t\t\t\t\t\trightVector.y = startViewMatrix.m10;\n\t\t\t\t\t\t\trightVector.z = startViewMatrix.m20;\n\t\t\t\t\t\t\trightVector.normalize();\n\t\t\t\t\t\t\trot.set(rightVector.x, 0, rightVector.z, (float)theta_X);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\trot.set(0, 0, 1, 0);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ((theta_X + angle) < 0) {\n\t\t\t\t\t\t\ttheta_X = -(angle - 0.0001f);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvec.y = 0;\n\t\t\t\t\t\tvec.normalize();\n\t\t\t\t\t\trot.set(vec.z, 0, -vec.x, (float)theta_X);\n\t\t\t\t\t}\n\t\t\t\t\tmtx.set(rot);\n\t\t\t\t\tmtx.transform(positionVector);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tpositionPoint.x = positionVector.x + centerOfRotation.x;\n\t\t\t\tpositionPoint.y = positionVector.y + centerOfRotation.y;\n\t\t\t\tpositionPoint.z = positionVector.z + centerOfRotation.z;\n\t\t\t\t\n\t\t\t\t// don't go below the floor\n\t\t\t\tif (positionPoint.y > 0) {\n\t\t\t\t\t\n\t\t\t\t\tmatrixUtils.lookAt(positionPoint, centerOfRotation, Y_AXIS, destViewMatrix);\n\t\t\t\t\tmatrixUtils.inverse(destViewMatrix, destViewMatrix);\n\t\t\t\t\t\n\t\t\t\t\tprocessMove = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (processMove) {\n\t\t\t\n\t\t\tboolean collisionDetected = \n\t\t\t\tcollisionManager.checkCollision(startViewMatrix, destViewMatrix);\n\t\t\t\n\t\t\tif (!collisionDetected) {\n\t\t\t\tAV3DUtils.toArray(destViewMatrix, array);\n\t\t\t\tChangePropertyTransientCommand cptc = new ChangePropertyTransientCommand(\n\t\t\t\t\tve, \n\t\t\t\t\tEntity.DEFAULT_ENTITY_PROPERTIES, \n\t\t\t\t\tViewpointEntity.VIEW_MATRIX_PROP,\n\t\t\t\t\tarray,\n\t\t\t\t\tnull);\n\t\t\t\tcmdCntl.execute(cptc);\n\t\t\t\tif (statusManager != null) {\n\t\t\t\t\tstatusManager.fireViewMatrixChanged(destViewMatrix);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tstartPosition[0] = currentPosition[0];\n\t\tstartPosition[1] = currentPosition[1];\n\t\tstartPosition[2] = currentPosition[2];\n\t}",
"public abstract void moveMouse(int iPosX, int iPosY);",
"void move(int dx, int dy);",
"void move(float tpf);",
"public interface IMove {\n\n\t/**\n\t * Do a move - the opposite of IMove.undoMove()\n\t */\n\tboolean doMove();\n\t\n\t/**\n\t * Undo a move - the opposite of IMove.doMove()\n\t */\n\tboolean undoMove();\n}",
"abstract public int[] makeMove();",
"public Coordinate getMoveTo();",
"private void moved(MouseEvent e)\r\n {\n }",
"public void move(int distance);",
"void move(Tile t);",
"void moveTo(int dx, int dy);",
"public void calRightMove() {\n }",
"void doneMoving();",
"public interface IPosn {\r\n /**\r\n * Get the X value of the position.\r\n */\r\n Float getX();\r\n\r\n /**\r\n * Get the Y value of the position.\r\n */\r\n Float getY();\r\n}",
"void move(int steps);",
"public boolean GetMove();",
"abstract public void moveForward();",
"public abstract void makeMove(Move move, PlayerColor playerColor);",
"public int getStateOfMovement(){ return stateOfMovement; }",
"@Override\n public void onCameraMoveStarted(int i) {\n\n }",
"public abstract void makeMove(GameStatus gameStatus);",
"public interface Position {}",
"public interface Player {\n Point move();\n}"
] | [
"0.6926093",
"0.6911955",
"0.68534535",
"0.684335",
"0.67694163",
"0.67673105",
"0.66794026",
"0.6674906",
"0.66519046",
"0.6600963",
"0.6600963",
"0.6572175",
"0.6567911",
"0.6553788",
"0.6550644",
"0.6550644",
"0.6550644",
"0.6550644",
"0.6550644",
"0.6550644",
"0.6550644",
"0.65444",
"0.65418184",
"0.65293527",
"0.6519537",
"0.6513152",
"0.651118",
"0.65019935",
"0.65019935",
"0.65019935",
"0.6486159",
"0.6463637",
"0.6456793",
"0.64300066",
"0.6423509",
"0.64203686",
"0.63854957",
"0.63592005",
"0.63233757",
"0.6314821",
"0.6302979",
"0.6294281",
"0.62705594",
"0.6270401",
"0.6251966",
"0.6237551",
"0.62262183",
"0.62192833",
"0.6218623",
"0.62171227",
"0.6211242",
"0.6186126",
"0.61858773",
"0.6177788",
"0.6173195",
"0.61703575",
"0.6168256",
"0.61663187",
"0.61662924",
"0.616025",
"0.61480397",
"0.6141123",
"0.61032915",
"0.6100826",
"0.607229",
"0.60576755",
"0.6052151",
"0.6041174",
"0.60258937",
"0.6024984",
"0.60193723",
"0.5995232",
"0.5985853",
"0.59838504",
"0.5983033",
"0.59811336",
"0.59776515",
"0.59708077",
"0.5967262",
"0.59513605",
"0.59498763",
"0.59487283",
"0.5944348",
"0.5938808",
"0.59333926",
"0.59216285",
"0.59120864",
"0.5911975",
"0.59041184",
"0.58975255",
"0.58951724",
"0.58936775",
"0.5892979",
"0.58882153",
"0.5886388",
"0.5884034",
"0.5882841",
"0.58729386",
"0.58728236",
"0.5868986"
] | 0.69644 | 0 |
Sort tasks by the color | private void sortByColor(String color) {
printedTasks = new ArrayList<>(this.tasks);
if (color != null) {
ArrayList<Task> tmp = new ArrayList<>(printedTasks);
for (Task task : tmp) {
System.out.println("color : " + Color.parseColor(color) + "|" + task.getColor());
if (task.getColor() != Color.parseColor(color)) {
printedTasks.remove(task);
}
}
}
this.mAdapter = new AdapterList(printedTasks, this);
this.recyclerView.setAdapter(mAdapter);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void sortTasks() {\n tasks.sort(null);\n }",
"public void sort() {\n Collections.sort(tasks);\n }",
"public static void sortColors(int[] A) {\n int redPos=0,bluePos = A.length-1;\n int i=0;\n while(i<bluePos+1){\n \tswitch (A[i]) {\n\t\t\tcase 0:\n\t\t\t\tswap(A,i,redPos);\n\t\t\t\tredPos++;\n\t\t\t\ti++;\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tswap(A, i, bluePos);\n\t\t\t\tbluePos--;\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\ti++;\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n }\n }",
"public void sortColors(int[] nums) {\n int n = nums.length;\n int red = 0, blue = n-1;\n for(int i = 0; i <= blue; ) {\n if(nums[i] == 0) {\n int tmp = nums[red];\n nums[red++] = nums[i];\n nums[i] = tmp;\n i++;\n }\n else if(nums[i] == 2) {\n int tmp = nums[blue];\n nums[blue--] = nums[i];\n nums[i] = tmp;\n }\n else i++;\n }\n }",
"public void sortBasedPendingJobs();",
"private void sortByAmount(){\n int stopPos = 0;\n while(colours.size()-stopPos > 0){\n int inARow = 1;\n for(int i = colours.size() - 1; i > stopPos; i--){\n if(colours.get(i-1).getAmount() < colours.get(i).getAmount()){\n rgb temp = new rgb(colours.get(i-1));\n colours.set(i-1, colours.get(i));\n colours.set(i, temp);\n }else{\n inARow++;\n }\n }\n stopPos++;\n if(inARow == colours.size()){\n break;\n }\n }\n }",
"public List<Task> sortArraybyComplete(List<Task> tasks){\n if(tasks.size() == 1){\n return tasks;\n }\n for(int i = 0; i < tasks.size()-1; i++){\n if ((tasks.get(i).getComplete()) && !(tasks.get(i+1).getComplete())) {\n Task task = tasks.get(i);\n tasks.set(i, tasks.get(i+1));\n tasks.set(i+1, task);\n }\n }\n return tasks;\n }",
"public static HashMap<String, ArrayList<Task>> sortByGroups(Task[] tasks) {\n\t\tHashMap<String, ArrayList<Task>> taskMap = new HashMap<>();\n\t\t\n\t\tfor (int i = 0; i < tasks.length; i++) {\n\t\t\t// Grab the map, in case there are other tasks that were already put in the group\n\t\t\tArrayList<Task> tasksInThisGroup = taskMap.get(tasks[i].getGroup().toLowerCase());\n\t\t\t\n\t\t\t//System.out.println(tasks[i]);\n\t\t\t\n\t\t\t// If there weren't any, we create the list\n\t\t\tif (tasksInThisGroup == null)\n\t\t\t\ttasksInThisGroup = new ArrayList<>();\n\t\t\t\n\t\t\t// Add the task to the list and put it back in the map\n\t\t\ttasksInThisGroup.add(tasks[i]);\n\t\t\ttaskMap.put(tasks[i].getGroup().toLowerCase(), tasksInThisGroup);\n\t\t\t\n\t\t\t//System.out.println(tasksInThisGroup);\n\t\t}\n\t\t\n\t\treturn taskMap;\n\n\t}",
"public void rankColorByDegree() {\r\n\t\tthis.rankColorByDegree( new Color[] { new Color( 0xff55d0 ), new Color( 0xB30000 ) } );\r\n\t}",
"@Override\n public int compare(Color color1, Color color2)\n {\n return ( color1.getRGB() > color2.getRGB() ) ? 1 : ( ( color1.getRGB() < color2.getRGB() ) ? -1 : 0 );\n }",
"@Override\n\tpublic int compare(T task1, T task2) {\n\t\treturn task2.getPriority() - task1.getPriority();\n\t}",
"public static void main(String[] args) {\n\t\tThreeColor sort = new ThreeColor();\r\n\t\tint[] A = {0,1,1,0,2,2};\r\n\t\tint[] B = sort.sortThreeColor(A, 6);\r\n\t\tfor(int b : B){\r\n\t\t\tSystem.out.println(b);\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n SortColorsProblem s = new SortColorsProblem();\n int[] colorsArray1 = {2,0,1,0,1,0,2};\n int[] colorsArray2 = {1,0,2,1,0,2};\n int[] colorsArray3 = {0,1,2,0,1,2};\n\n printArr(s.sortColors(colorsArray1));\n printArr(s.sortColors(colorsArray2));\n printArr(s.sortColors(colorsArray3));\n }",
"public int compare(Task t1,Task t2){\n\t\t\t\treturn t1.getNumber()-t2.getNumber();\r\n\t\t\t}",
"public static void sortColors(int[] A) {\n int start = 0, end = A.length -1;\n while (start < end) {\n \t// System.out.println(\"start: \" + start + \" end: \" + end);\n \t\n while (start < end && A[start] == 0) start++;\n // 1 switch with 0\n if (A[start] == 1) {\n \tint temp_end = end;\n \twhile (start < temp_end && A[temp_end] != 0) temp_end--;\n \tif (start >= temp_end) start++;\n \telse {\n \t\tswap(A, start, temp_end);\n \t\tstart++;\n \t}\n }\n // 2 switch with 0 or 1\n else {\n \tint temp_end = end;\n \twhile (start < temp_end && A[temp_end] == 2) temp_end--;\n \tif (start >= temp_end) break; // This means all the numbers after start are two\n \telse {\n \t\tswap(A, start, temp_end);\n \t\tend--; // Skip the blue color at the end of the array we already knew.\n \t\tif (A[start] == 0) start++; // If 2 switch with 0, then we advance start\n \t\t// If 2 switch with 1, then we do nothing\n \t}\n }\n }\n }",
"public void sortColors(int[] nums) {\n int i = 0, j = 0, k = nums.length - 1;\n\n while (j <= k) {\n if (nums[j] == 0) {\n swap(nums, i, j);\n i++; // incrementing i and j since 0 is pushed to left side\n j++;\n } else if (nums[j] == 1) {\n j++; // already 1 is in its place, so leave it as it is and move ahead\n } else {\n swap(nums, j, k);\n k--; // not incrementing j since we may get a 1 from right side while swapping\n }\n }\n }",
"@Override\n public int compare(Task task1, Task task2) {\n return task1.getDate().compareTo(task2.getDate());\n }",
"@Test\n public void testShipment_Sorted_By_Color() {\n List<Widget> widgets = shipment.getWidgetsSortedByColor();\n assertNotNull(widgets);\n assertTrue(widgets.size() == 10);\n Widget widget1 = (Widget) widgets.get(0);\n Widget widget2 = (Widget) widgets.get(1);\n assertTrue(widget1.getColor().compareTo(widget2.getColor()) <= 0);\n }",
"public void sortColors(int[] nums) {\n\n int min = 0;\n int max = nums.length -1;\n\n\n for(int i = 0 ; i <= max ; i++) { // i 是当前待移动下标\n if(nums[i] == 0 && i!=min){\n swap(i, min , nums);\n min++;\n i--;\n }\n if(nums[i] == 2 && i!=max){\n swap(i, max, nums);\n max--;\n i--;\n }\n }\n return;\n }",
"public Task(String name, String color){\n this.name = name;\n this.color = color;\n }",
"public void sortCompetitors(){\n\t\t}",
"public void sortColors(int[] nums) {\n if (nums == null || nums.length == 0) {\n throw new IllegalArgumentException(\"invalid input\");\n }\n\n if (nums.length < 1) {\n return;\n }\n\n int pLeft = 0, pMid = 0, pRight = nums.length - 1;\n while (pMid <= pRight) {\n if (nums[pMid] == 0) {\n swap(nums, pMid++, pLeft++);\n } else if (nums[pMid] == 1) {\n pMid++;\n } else {\n swap(nums, pMid, pRight--);\n }\n }\n }",
"public void sortToDo(){\n\t\tCollections.sort(allToDoLists);\n\t}",
"public void sort(){\n listOperation.sort(Comparator.comparingInt(Operation::getiStartTime));\n }",
"public List<Region> createRegionsForTasks(List<Task> tasks, String color) {\n\t\tList<Region> tasks_as_region = new ArrayList<>();\n\n\t\tfor (Task t : tasks) {\n\t\t\t// create region with color and title\n\t\t\tRegion region = Task.createRegionWithText(color, t.data.title);\n\t\t\t// create click handler on every region\n\t\t\tregion.onMouseClickedProperty().set(event -> model.mouseClickAction(t.id)); //taskSelected.set(t.id));\n\t\t\t// add region to list of regions\n\t\t\ttasks_as_region.add(region);\n\t\t}\n\t\treturn tasks_as_region;\n\t}",
"public void sort() {\n /*int jokers = this.getJokers();\n\t\tif (jokers > 0 && this.size() > 2) {\n\t\t\tArrayList<Tile> list = new ArrayList<>();\n for (int i=0; i<this.size(); i++) {\n\t\t\t\tif (this.get(i).getColour() == 'J') {\n\t\t\t\t\tTile joker = this.remove(this.get(i));\n\t\t\t\t\tlist.add(joker);\n\t\t\t\t\ti--;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (Tile j : list) {\n\t\t\t\tthis.addInSort(j);\n\t\t\t}\n }*/\n \n\n //may need something in here to accomodate a joker changing its form\n\n if (tiles.size() > 1) { //will only sort a meld with any tiles in it\n //Override default comparator to compare by tile value (ints)\n Collections.sort(tiles, new Comparator<Tile>() {\n @Override \n public int compare(Tile t1, Tile t2) { \n if (t1.getColour() > t2.getColour()) {\n return 1;\n } else if (t1.getColour() < t2.getColour()) {\n return -1;\n }\n if (t1.getValue() > t2.getValue()) {\n return 1;\n } else if (t1.getValue() < t2.getValue()) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n }\n\n }",
"void updateSortingComparators(Comparator<ReadOnlyEntry> eventComparator,\n Comparator<ReadOnlyEntry> deadlineComparator,\n Comparator<ReadOnlyEntry> floatingTaskComparator);",
"@Override\n public int compareTo(Task otherTask) {\n int compareResult = this.executionTime.compareTo(otherTask.executionTime);\n\n if (compareResult == 0) {\n compareResult = Integer.compare(uniqueId, otherTask.getUniqueId());\n }\n return compareResult;\n }",
"public void setSortOnCPUTime() {\n this.sortedJobList = new TreeSet<Job>(new Comparator<Job>() {\n @Override\n public int compare(Job a, Job b) {\n\n int aCPUUsed = 0;\n int bCPUUsed = 0;\n\n try {\n aCPUUsed = a.getCPUUsed();\n bCPUUsed = b.getCPUUsed();\n } catch (AS400SecurityException e) {\n e.printStackTrace();\n } catch (ErrorCompletingRequestException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ObjectDoesNotExistException e) {\n e.printStackTrace();\n }\n\n if (aCPUUsed == bCPUUsed) return 0;\n else return bCPUUsed - aCPUUsed;\n }\n });\n }",
"private ArrayList<Task> sortByDate(ArrayList<Task> toSort) {\n ArrayList<Task> sorted = new ArrayList<>();\n\n toSort = removeNoTimeTask(toSort);\n\n int size = toSort.size();\n for (int i = 0; i < size; i++) {\n Date earliest = new Date(Long.MAX_VALUE);\n int earliestIndex = -1;\n for (int j = 0; j < toSort.size(); j++) {\n if (toSort.get(j).getClass().equals(Deadline.class)) {\n Deadline temp = (Deadline) toSort.get(j);\n if (temp.getTime().before(earliest)) {\n earliest = temp.getTime();\n earliestIndex = j;\n }\n } else if (toSort.get(j).getClass().equals(Event.class)) {\n Event temp = (Event) toSort.get(j);\n if (temp.getTime().before(earliest)) {\n earliest = temp.getTime();\n earliestIndex = j;\n }\n } else if (toSort.get(j).getClass().equals(Period.class)) {\n Period temp = (Period) toSort.get(j);\n if (temp.getStart().before(earliest)) {\n earliest = temp.getStart();\n earliestIndex = j;\n }\n }\n }\n\n sorted.add(toSort.get(earliestIndex));\n toSort.remove(earliestIndex);\n }\n return sorted;\n }",
"@Override\n public int compareTo(Task task) {\n int r = 0;\n\n if(this.hasStartAndEnd() && task.hasStartAndEnd()) {\n r = this.start.compareTo(task.start);\n if(r == 0) r = this.end.compareTo(task.end);\n } else if(this.hasStartAndEnd()) {\n return -1;\n } else if(task.hasStartAndEnd()) {\n return 1;\n }\n\n if(r == 0) r = this.name.compareTo(task.name);\n if(r == 0) r = this.duration.compareTo(task.duration);\n if(r == 0) r = this.description.compareTo(task.description);\n\n return r;\n }",
"public void rankColorByDegree( Color[] colors ) {\r\n\t\tlogger.info( \"Ranking Color of Node by Degree\" );\r\n\r\n\t\tRanking degreeRanking = rankingController.getModel().getRanking( Ranking.NODE_ELEMENT, Ranking.DEGREE_RANKING );\r\n\t\tAbstractColorTransformer colorTransformer = (AbstractColorTransformer) rankingController.getModel().getTransformer( Ranking.NODE_ELEMENT,\r\n\t\t\t\tTransformer.RENDERABLE_COLOR );\r\n\t\tcolorTransformer.setColors( colors );\r\n\t\trankingController.transform( degreeRanking, colorTransformer );\r\n\t}",
"public void sort(){\n ArrayList<Card> sortedCards = new ArrayList<Card>();\n ArrayList<Card> reds = new ArrayList<Card>();\n ArrayList<Card> yellows = new ArrayList<Card>();\n ArrayList<Card> greens = new ArrayList<Card>();\n ArrayList<Card> blues = new ArrayList<Card>();\n ArrayList<Card> specials = new ArrayList<Card>();\n for(int i = 0; i < cards.size(); i++){\n if(cards.get(i).getColor() == RED){\n reds.add(cards.get(i));\n }else if(cards.get(i).getColor() == YELLOW){\n yellows.add(cards.get(i));\n }else if(cards.get(i).getColor() == GREEN){\n greens.add(cards.get(i));\n }else if(cards.get(i).getColor() == BLUE){\n blues.add(cards.get(i));\n }else if(cards.get(i).getColor() == ALL){\n specials.add(cards.get(i));\n }\n }\n cards = new ArrayList<Card>();\n for(Card c: reds){\n sortedCards.add(c);\n }\n for(Card c: yellows){\n sortedCards.add(c);\n }\n for(Card c: greens){\n sortedCards.add(c);\n }\n for(Card c: blues){\n sortedCards.add(c);\n }\n for(Card c: specials){\n sortedCards.add(c);\n }\n for(Card c: sortedCards){\n cards.add(c);\n }\n }",
"public static void main(String[] args) {\n\t\tint[] a = { 0, 1, 2, 0, 1, 2 };\n\t\tint[] b = new ThreeColor().sortThreeColor(a, 6);\n\t\tfor (int i : b) {\n\t\t\tSystem.out.print(i + \",\");\n\t\t}\n\t}",
"protected void sortResources()\n {\n PriorityComparator priorityComparator = new PriorityComparator();\n List<Resource> resources = getResources();\n Collections.sort(resources, priorityComparator);\n }",
"public void sortPassing(){\n\t\tpassing.sort(PlayingCard.PlayingCardComparator_ACEHIGH);\n\t}",
"public void sort() {\r\n // sort the process variables\r\n Arrays.sort(pvValues, categoryComparator);\r\n fireTableDataChanged();\r\n }",
"public static void main(String[] args) {\n\t\tint[] nums = {1, 0, 1};\r\n\t\tsortColors(nums);\r\n\t\tfor ( int i : nums) {\r\n\t\t\tSystem.out.print(i + \" \");\r\n\t\t}\r\n\t}",
"public static void main(String[] args) {\n\n\t\tTreeSet<String> color = new TreeSet<>();\n\n\t\tcolor.add(\"Azul\");\n\t\tcolor.add(\"Rojo\");\n\t\tcolor.add(\"yellow\");\n\t\tcolor.add(\"Burdeos\");\n\t\tcolor.add(\"Verde\");\n\t\tcolor.add(\"Violeta\");\n\t\tcolor.add(\"Amarillo\");\n\t\tcolor.add(\"Marrón\");\n\t\tSystem.out.println(color);\n\t\t\n\t\tIterator it = color.descendingIterator();\n\t\t\n\t\twhile(it.hasNext()) {\n\t\t\tSystem.out.print(it.next()+\", \");\n\t\t}\n\t\t\n\t}",
"@Override\n\tpublic int compareTo(Task t) {\n\t\tint ret;\n\n\t\tif (this.getValue() < t.getValue())\n\t\t\tret = -1;\n\t\telse if (t.getValue() == this.getValue())\n\t\t\tret = 0;\n\t\telse\n\t\t\tret = 1;\n\n\t\treturn ret;\n\t}",
"public void step3(){\n\n Collections.sort(names,(String a, String b) -> a.compareTo(b));\n }",
"void sortUI();",
"public void sortKnowledgeBase()\n {\n int i;\n Random random;\n String aPredicate;\n StringTokenizer tokenizer;\n //------------\n random = new Random();\n i = 0;\n while (i < knowledgeBase.size())\n {\n aPredicate = knowledgeBase.get(i).commitments.get(0).predicate;\n tokenizer = new StringTokenizer(aPredicate,\"(), \");\n if(tokenizer.nextToken().equals(\"secuencia\"))\n knowledgeBase.get(i).priority = random.nextInt(100);\n //end if\n else\n knowledgeBase.get(i).priority = random.nextInt(10000);\n //end else\n i = i + 1;\n }//end while\n Collections.sort(knowledgeBase);\n }",
"public static void main(String[] args) {\n\t\tint[] nums = {1,0,2};\n\t\tsortColors(nums);\n\t\tfor(int j : nums){\n\t\t\tSystem.out.print(j + \" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"public static void main(String[] args) {\n\t\tSet<String> colorSet = new HashSet<>();\n\t\tString[] colorArray = { \"red\", \"blue\", \"green\", \"orange\", \"gray\", \"red\" };\n\t\tfor (String color : colorArray) {\n\t\t\tSystem.out.println(colorSet.add(color));\n//\t\t\tcolorSet.add(color);\n\n\t\t}\n\t\tSystem.out.println(colorSet);\n\t\tSortedSet<String> tree = new TreeSet<>(colorSet);\n\t\tSystem.out.println(tree);\n\t\t//[blue, gray, green, orange, red]\n\t\tSystem.out.println(tree.headSet(\"green\"));\n\t\tSystem.out.println(tree.tailSet(\"green\"));\n\t\ttree.add(\"pink\");\n\t\tSystem.out.println(tree);\n\t\tSystem.out.println(tree.first());\n\t\tSystem.out.println(tree.last());\n\n\t}",
"public static void main(String[] args) {\n\t\tShirt r = new Shirt(\"Red\", 10);\r\n\t\tShirt b = new Shirt(\"Blue\", 465);\r\n\t\tShirt g = new Shirt(\"Green\", 3213456);\r\n\t\t// Creates some custom comparator object.\r\n\t\tSizeComp s = new SizeComp();\r\n\t\tColorComp c = new ColorComp();\r\n\t\t// Creates some tree sets using custom comparator. \r\n\t\tTreeSet<Shirt> mySizeSet = new TreeSet<>(s);\r\n\t\tmySizeSet.add(r);\r\n\t\tmySizeSet.add(g);\r\n\t\tmySizeSet.add(b);\r\n\t\tout.println(\"Sort by Size\");\r\n\t\tout.println(mySizeSet);\r\n\t\t\r\n\t\tTreeSet<Shirt> myCompSet = new TreeSet<>(c);\r\n\t\tmyCompSet.add(r);\r\n\t\tmyCompSet.add(g);\r\n\t\tmyCompSet.add(b);\r\n\t\tout.println(\"Sort by Color\");\r\n\t\tout.println(myCompSet);\r\n\t}",
"@Override\n public void execute(TaskList tasks, Ui ui, Storage storage) {\n ui.setMessage(\"Bye. Hope to see you again soon!\\n\");\n System.out.println(\"Bye. Hope to see you again soon!\");\n tasks.sort();\n // saves tasks to filePath\n try {\n storage.saveToCsv(tasks);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public int compareTo(Task otherTask) {\n if (areDifferentStates(otherTask)) {\n return isDone ? 1 : -1;\n }\n if (this.areDifferentDates(otherTask)) {\n return date.compareTo(otherTask.date);\n }\n return description.compareTo(otherTask.description);\n }",
"public void sort() {\n }",
"public static void print(Calendar date) {\n\t\t\n\t\tTask[] tasks = List.read(true)[0];\n\t\tif (tasks != null) {\n\t\t\tif (tasks.length == 0) {\n\t\t\t\t\n\t\t\t\tif (Config.isColorEnabled())\n\t\t\t\t\tSystem.out.println(Color.ANSI_BLUE + \"Nothing to do... :)\" + Color.reset());\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"Nothing to do... :)\");\n\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\tif (!Config.areGroupsEnabled()) {\n\t\t\t\t\tint i = 0;\n\t\t\t\t\tint indentSpaces = (\"\" + tasks.length).length();\n\t\t\t\t\t\n\t\t\t\t\tif (Config.isColorEnabled())\n\t\t\t\t\t\tSystem.out.println(Color.titleColor() + \"******* TODO LIST *******\" + Color.reset());\n\t\t\t\t\telse\n\t\t\t\t\t\tSystem.out.println(\"******* TODO LIST *******\");\n\t\n\t\t\t\t\tfor (Task t: tasks) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tt.printTask(i++, date.get(Calendar.DAY_OF_YEAR), indentSpaces);\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\t// Groups\n\t\t\t\t\t\n\t\t\t\t\tHashMap<String, ArrayList<Task>> taskMap = sortByGroups(tasks);\n\t\t\t\t\t\n\t\t\t\t\tif (!Config.isColorEnabled()) {\n\t\t\t\t\t\t//System.out.println(taskMap.size());\n\t\t\t\t\t\t// Now iterate through every group and display tasks\n\t\t\t\t\t\tint j = 0;\n\t\t\t\t\t\tfor (Map.Entry<String, ArrayList<Task>> entry: taskMap.entrySet()) {\n\t\t\t\t\t\t\t// Print out the group name\n\t\t\t\t\t\t\tSystem.out.println(j++ + \". ** \" + entry.getKey().toUpperCase() + \" **\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint i = 0;\n\t\t\t\t\t\t\tint indentSpaces = (\"\" + entry.getValue().size()).length();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//System.out.println(entry.getValue().size());\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfor (Task t: entry.getValue()) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t\tt.printTask(i++, date.get(Calendar.DAY_OF_YEAR), indentSpaces);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Color\n\t\t\t\t\t\t\n\t\t\t\t\t\t//System.out.println(taskMap.size());\n\t\t\t\t\t\t// Now iterate through every group and display tasks\n\t\t\t\t\t\tint j = 0;\n\t\t\t\t\t\tfor (Map.Entry<String, ArrayList<Task>> entry: taskMap.entrySet()) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Fetch our colors for each entry\n\t\t\t\t\t\t\tint[] dueDates = new int[entry.getValue().size()];\n\t\t\t\t\t\t\tfor (int i = 0; i < dueDates.length; i++) {\n\t\t\t\t\t\t\t\tdueDates[i] = entry.getValue().get(i).getYearDayDue();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tint[] colors = Color.relativeRankDueDates(dueDates, date);\n\t\t\t\t\t\t\t//System.out.println(Arrays.toString(colors));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Print out the group name\n\t\t\t\t\t\t\tSystem.out.println(Color.titleColor() + j++ + \". ** \" + entry.getKey().toUpperCase() + \" **\" + Color.reset());\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tint i = 0;\n\t\t\t\t\t\t\tint indentSpaces = (\"\" + entry.getValue().size()).length();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t//System.out.println(entry.getValue().size());\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfor (Task t: entry.getValue()) {\n\t\t\t\t\t\t\t\tSystem.out.print(Color.colorFromInt(Color.ANSI_URGENCY_GROUPED[(j-1)%5][colors[i]]) + \" \");\n\t\t\t\t\t\t\t\tt.printTask(i++, date.get(Calendar.DAY_OF_YEAR), indentSpaces);\n\t\t\t\t\t\t\t\tSystem.out.print(Color.reset());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"void arrangeTask(Task task) {\n if (task.isReverseScheduled())\n\t\t\tnumberOfReverseScheduledTasks++;\n \ttask.setMarkerStatus(markerStatus);\n TaskReference previousTaskReference;\n \tTask previousTask;\n // go thru in reverse order inserting after first predecessor or parent encountered\n ListIterator i = list.listIterator();\n TaskReference taskReference = new TaskReference(task);\n while (i.hasNext()) {\n \tpreviousTaskReference = (TaskReference)i.next();\n \tpreviousTask = previousTaskReference.getTask();\n if (task.getWbsParentTask() == previousTask) {\n \ti.add(taskReference);\n return;\n }\n }\n i.previous(); // add before end sentinel\n i.add(taskReference);\n }",
"public static void dutch_flag_sort(char[] balls)\n {\n int n = balls.length;\n\n int swapRedHere = 0;\n int swapBluHere = n-1;\n\n int cur = 0;\n while (cur <= swapBluHere)\n {\n // If current ball is red, swap with swapRedHere. We will get a green so move current.\n if (balls[cur] == 'R')\n {\n swap(balls, cur, swapRedHere++);\n cur++;\n }\n // If current ball is blue, move it to swapBluHere. But don't move current because it now has unknown ball..\n else if (balls[cur] == 'B')\n {\n swap(balls, cur, swapBluHere--);\n }\n // Otherwise we have a green. Leave it there because it will get pulled out when swapRedHere reaches it.\n else // 'G'\n {\n cur++;\n }\n }\n }",
"public void nodeColorTreeMapLayout() {\n // Get a valid render context\n RTGraphComponent.RenderContext myrc = (RTGraphComponent.RenderContext) (getRTComponent().getRTRenderContext()); if (myrc == null) return;\n\n // Check for a valid color setting\n NodeColor node_color = getNodeColor();\n if (node_color == NodeColor.VARY || node_color == NodeColor.LABEL) {\n myrc.nodeColorTreeMapLayout(node_color);\n } else System.err.println(\"RTGraphPanel.nodeColorTreeMapLayout() - Only works with VARY or LABEL\");\n }",
"private void sortViewEntries() {\n runOnUiThread(new Runnable() {\n public void run() {\n try {\n Collections.sort(viewEntries, new DateComparator());\n } catch (final Exception ex) {\n // Log.i(\"sortViewEntries\", \"Exception in thread\");\n }\n }\n });\n }",
"public ArrayList<Task> listConcluded() {\n ArrayList<Task> tasks = new ArrayList<>();\n for (Task t : this.tasks) {\n if (t.getStatus() == 100) {\n tasks.add(t);\n }\n }\n return tasks;\n }",
"private void sort()\n {\n pd = new ProgressDialog(this);\n pd.setMessage(\"Sorting movies...\");\n pd.setCancelable(false);\n pd.show();\n\n movieList.clear();\n if(show.equals(\"notWatched\"))\n watched(false);\n else if(show.equals(\"watched\"))\n watched(true);\n else movieList.addAll(baseMovieList);\n\n if(orderBy.equals(\"alphabet\"))\n sortAlphabet();\n else if(orderBy.equals(\"date\"))\n sortDate();\n else sortRating();\n\n if(orderType)\n Collections.reverse(movieList);\n\n recyclerView.setAdapter(movieAdapter);\n pd.dismiss();\n }",
"public String doSort();",
"private void sortCourses() {\n ctrl.sortCourses().forEach(System.out::println);\n }",
"public void step2(){\n\n Collections.sort(names,(String a,String b) -> {\n return a.compareTo(b);\n });\n }",
"@Override\n\t\tpublic int compare(Task o1, Task o2) {\n\t\t\tif(o1.numberLeft > o2.numberLeft)return -1;\n\t\t\telse if(o1.numberLeft < o2.numberLeft)return 1;\n\t\t\telse return 0;\n\t\t}",
"public void sort() {\r\n for (int i = 0; i < namesOfApp.length && i < runTimeOfApp.length; i++) {\r\n for (int j = 0; j < i; j++) {\r\n if (runTimeOfApp[j] < runTimeOfApp[i]) {\r\n String tempName = namesOfApp[i];\r\n long tempRunTime = runTimeOfApp[i];\r\n namesOfApp[i] = namesOfApp[j];\r\n runTimeOfApp[i] = runTimeOfApp[j];\r\n namesOfApp[j] = tempName;\r\n runTimeOfApp[j] = tempRunTime;\r\n }\r\n }\r\n }\r\n\r\n }",
"static void SPT_rule(List<T_JOB> job) {\n Collections.sort(job);\n }",
"@Override\r\n public int compareTo(Task t)\r\n { \r\n //information of task passed in\r\n String dateTime=t.dueDate;\r\n String[] dateNoSpace1=dateTime.split(\" \");\r\n String[] dateOnly1=dateNoSpace1[0].split(\"/\");\r\n String[] timeOnly1=dateNoSpace1[1].split(\":\");\r\n \r\n //information of task being compared\r\n String[] dateNoSpace=this.dueDate.split(\" \");\r\n String[] dateOnly=dateNoSpace[0].split(\"/\");\r\n String[] timeOnly=dateNoSpace[1].split(\":\");\r\n \r\n //compares tasks by...\r\n \r\n //years\r\n if(dateOnly1[2].equalsIgnoreCase(dateOnly[2])) \r\n { \r\n //months\r\n if(dateOnly1[0].equalsIgnoreCase(dateOnly[0]))\r\n {\r\n //days\r\n if(dateOnly1[1].equalsIgnoreCase(dateOnly[1]))\r\n {\r\n //hours\r\n if(timeOnly1[0].equalsIgnoreCase(timeOnly[0]))\r\n {\r\n //minutes\r\n if(timeOnly1[1].equalsIgnoreCase(timeOnly[1]))\r\n {\r\n //names\r\n if(this.taskName.compareTo(t.taskName)>0)\r\n { \r\n return -1;\r\n } \r\n else return 1;\r\n }\r\n //if minutes are not equal, find the soonest one\r\n else if(Integer.parseInt(timeOnly1[1])<Integer.parseInt(timeOnly[1]))\r\n {\r\n return -1; \r\n } \r\n else return 1;\r\n }\r\n //if hours are not equal, find the soonest one\r\n else if(Integer.parseInt(timeOnly1[0])<Integer.parseInt(timeOnly[0]))\r\n {\r\n return -1; \r\n } \r\n else return 1;\r\n }\r\n //if days are not equal, find the soonest one\r\n else if(Integer.parseInt(dateOnly1[1])<Integer.parseInt(dateOnly[1]))\r\n {\r\n return -1; \r\n }\r\n else return 1;\r\n }\r\n //if months are not equal, find the soonest one\r\n else if(Integer.parseInt(dateOnly1[0])<Integer.parseInt(dateOnly[0]))\r\n {\r\n return -1; \r\n } \r\n else return 1;\r\n }\r\n //if years are not equal, find the soonest one \r\n else if(Integer.parseInt(dateOnly1[2])<Integer.parseInt(dateOnly[2]))\r\n {\r\n return -1;\r\n }\r\n else return 1;\r\n }",
"@Override\n public void addTasksToRun() {\n //gets the tasks that are ready for execution from the list with new tasks\n List<Task> collect = tasks.stream().filter((task) -> (task.getDate() == TIME))\n .collect(Collectors.toList());\n //sort the tasks inserted. The sort is based in \"priority\" value for all the tasks.\n collect.sort(new Comparator<Task>() {\n @Override\n public int compare(Task o1, Task o2) {\n return o1.getPriority() - o2.getPriority();\n }\n });\n //Change the status of tasks for READY\n collect.stream().forEach((task) -> {\n task.setStatus(Task.STATUS_READY);\n });\n //Adds the tasks to the queue of execution\n tasksScheduler.addAll(collect);\n\n //Removes it from list of new tasks\n tasks.removeAll(collect);\n }",
"@Override\n\tpublic int compare(TaskInstance o1, TaskInstance o2) {\n\t\treturn 0;\n\t}",
"public CreationDatesComparator(Map<String, TaskBean> _tasks){\r\n\t\t\tthis.tasks = _tasks; // store the copy to use it in compare()\r\n\t\t}",
"public static Collection<Task> collectTasksFromJsonArray(JSONArray tasksArray) {\n Collection<Task> tasks = new ArrayList<Task>();\n for (Object object : tasksArray) {\n if (object instanceof JSONObject) {\n JSONObject taskJsonObject = (JSONObject) object;\n String name = taskJsonObject.getString(\"name\");\n String description = taskJsonObject.getString(\"description\");\n long durationMinutes = taskJsonObject.getLong(\"duration\");\n Duration duration = Duration.ofMinutes(durationMinutes);\n int priorityInt = taskJsonObject.getInt(\"taskPriority\");\n TaskPriority priority = new TaskPriority(priorityInt);\n Task newTask = new Task(name, description, duration, priority);\n tasks.add(newTask);\n }\n }\n return tasks;\n }",
"public static void printTasks(){\n int totalTime = 0;\n int totalWait = 0;\n for(Task t : taskList){\n\n if(t.isAborted){\n System.out.println(\"TASK \" + t.taskNumber + \" aborted\" );\n }else{\n System.out.println(\"TASK \" + t.taskNumber + \" \" + t.terminateTime + \" \" + t.waitingCount + \" %\" + 100 * ((float)t.waitingCount / t.terminateTime));\n totalTime += t.terminateTime;\n totalWait += t.waitingCount;\n }\n }\n System.out.println(\"TOTAL\" + \" \" + totalTime + \" \" + totalWait + \" %\" + 100 *((float)totalWait / totalTime));\n\n }",
"public void sortSubstrateSwitchByResource() {\n\t\tCollections.sort(this.listNode, new Comparator<SubstrateSwitch>() {\n\t\t\t@Override\n\t\t\tpublic int compare(SubstrateSwitch o1, SubstrateSwitch o2) {\n\n\t\t\t\tif (o1.getCpu() < o2.getCpu()) {\n\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\tif (o1.getCpu() > o2.getCpu()) {\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t}",
"public void sortBlocks(){\n\t\tCurrentSets = getCurrentSets();\n\t\tif(CurrentSets == 1){\n\t\t\treturn;\n\t\t}else{\n\t\t\tfor(i = 0; i < CurrentSets - 1; i++){\n\t\t\t\tfor(j = i + 1; j < CurrentSets; j++){\n\t\t\t\t\tif((Integer.parseInt(blocks[i].getHexTag(), 16)) > (Integer.parseInt(blocks[j].getHexTag(), 16))){\n\t\t\t\t\t\ttemp = blocks[j];\n\t\t\t\t\t\tblocks[j] = blocks[i];\n\t\t\t\t\t\tblocks[i] = temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"protected void sort() {\n\n\t\tCollections.sort(this.myRRList);\n\t}",
"public static List<String> sortedActivities(){\n List<String> activities = distinctActivities();\n List<String> sortedActivities = activities.stream().sorted()\n .collect(toList());\n return sortedActivities;\n }",
"private void sort() {\n setFiles(getFileStreamFromView());\n }",
"LiveData<List<Task>> getSortedTasks(LocalDate startDate,\r\n LocalDate endDate);",
"public static void sortActivities() {\n Activity.activitiesList.sort(new Comparator<Activity>() {\n @Override\n public int compare(Activity activity, Activity t1) {\n if (activity.getStartTime().isAfter(t1.getStartTime())) {\n return 1;\n }\n else if (activity.getStartTime().isBefore(t1.getStartTime())){\n return -1;\n }\n else {\n return 0;\n }\n }\n });\n }",
"public int moviment(Tauler t, int color) {\n int col = (int) (8.0D * Math.random());\n while (!t.movpossible(col)) {\n col = (int) (8.0D * Math.random());\n }\n return col;\n }",
"public void sortEventsByTime() {\n for (OrgEvent event : events) {\n event.setCompareByTime(true);\n }\n Collections.sort(events);\n }",
"private void sort() {\n Collections.sort(mEntries, new Comparator<BarEntry>() {\n @Override\n public int compare(BarEntry o1, BarEntry o2) {\n return o1.getX() > o2.getX() ? 1 : o1.getX() < o2.getX() ? -1 : 0;\n }\n });\n }",
"private void sortFileToScreen() throws FileNotFoundException {\n Scanner file = new Scanner(new File(FILE_NAME));\n while (file.hasNext()) {\n addToOrderedList(file.nextInt());\n }\n file.close();\n printList();\n }",
"public void sort() {\r\n int k = start;\r\n for (int i = 0; i < size - 1; i++) {\r\n int p = (k + 1) % cir.length;\r\n for (int j = i + 1; j < size; j++) {\r\n if ((int) cir[p] < (int) cir[k % cir.length]) {\r\n Object temp = cir[k];\r\n cir[k] = cir[p];\r\n cir[p] = temp;\r\n }\r\n p = (p + 1) % cir.length;\r\n }\r\n k = (k + 1) % cir.length;\r\n }\r\n }",
"private void displayTask() {\n this.task = new Task();\n Color color = this.task.getColor();\n this.taskPanel.displayColor(color);\n }",
"private void sort() {\n final Comparator<Slave> c = Comparator.comparing(Slave::getNodeName);\n this.slaves.sort(c);\n }",
"LinkedHashMap<Integer, Couple<Long, Long>> testAlgorithm(@NotNull ColorInterface ci, @Nullable String name) {\n\t\tLinkedHashMap<Integer, Couple<Long, Long>> result = new LinkedHashMap<>();\n\t\t\n\t\tfor (int i = 0, maxi = queens.size(); i < maxi; i++) {\n\t\t\tlong start = System.currentTimeMillis();\n\t\t\tqueens.get(i).color(ci);\n\t\t\tlong stop = System.currentTimeMillis();\n\t\t\tlong elapsed = stop - start;\n\t\t\tlong chroma = queens.get(i).getChromaticNumber();\n\t\t\tresult.put(getQueenNumber(i), new Couple<>(chroma, elapsed));\n\t\t\t\n\t\t\t// Print\n\t\t\tif (name != null) {\n\t\t\t\tlong seconds = 0;\n\t\t\t\tif (elapsed >= 1000)\n\t\t\t\t\tseconds = Math.round(((double)elapsed) / 1000d);\n\t\t\t\tSystem.out.println(\"ColoringProject.\" + name + \"> ChromaticNumber(\" + (2 * i + 5) + \"): \" + chroma + \" (time: \" + elapsed + \"ms\" + (seconds > 0 ? \" ≈ \" + seconds + \"s\" : \"\") + \")\");\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn result;\n\t}",
"void topologicalSort() {\n\n\t\tfor (SimpleVertex vertice : allvertices) {\n\n\t\t\tif (vertice.isVisited == false) {\n\t\t\t\tlistset.add(vertice.Vertexname);\n\t\t\t\ttopologicalSortUtil(vertice);\n\n\t\t\t}\n\t\t}\n\n\t}",
"public void sort()\n {\n\tstrack.sort((Node n1, Node n2) ->\n\t{\n\t if (n1.getCost() < n2.getCost()) return -1;\n\t if (n1.getCost() > n2.getCost()) return 1;\n\t return 0;\n\t});\n }",
"private void arrangeSingleTask(final Task task) {\n\t\ttask.arrangeTask(list,markerStatus,0);\n \tif (task.isReverseScheduled())\n\t\t\tnumberOfReverseScheduledTasks++;\n\t}",
"@Deployment(resources = \"org/camunda/bpm/engine/test/api/externaltask/externalTaskPriorityExpression.bpmn20.xml\")\n @Test\n public void testOrderByPriority() {\n List<ProcessInstance> instances = new ArrayList<ProcessInstance>();\n\n for (int i = 0; i < 5; i++) {\n instances.add(runtimeService.startProcessInstanceByKey(\"twoExternalTaskWithPriorityProcess\",\n Variables.createVariables().putValue(\"priority\", i)));\n }\n\n // then querying and ordering by priority works\n verifySortingAndCount(externalTaskService.createExternalTaskQuery().orderByPriority().asc(), 10, externalTaskByPriority());\n verifySortingAndCount(externalTaskService.createExternalTaskQuery().orderByPriority().desc(), 10, inverted(externalTaskByPriority()));\n }",
"public void sortMatches();",
"public synchronized static void addColorToRecentlyUsed(Color color) {\n if (recentlySelected.contains(color)) {\n // Bump up to the top of the most recent\n recentlySelected.remove(color);\n recentlySelected.addFirst(color);\n return;\n }\n\n if (recentlySelected.size() == 100) {\n // Too many in history, bump out the least recently used or added\n recentlySelected.removeLast();\n }\n recentlySelected.addFirst(color);\n }",
"public static void main(String[] args) {\n HashSet<String> hashSet = new HashSet<>();\n hashSet.add(\"Orange\");\n hashSet.add(\"Red\");\n hashSet.add(\"Pink\");\n hashSet.add(\"Red\");\n hashSet.add(\"White\");\n System.out.println(hashSet);\n TreeSet<String> treeSet = new TreeSet<>(hashSet);\n for (String color : treeSet) {\n System.out.println(color);\n }\n\n }",
"@Override\r\n\tpublic void addSort() {\n\t\t\r\n\t}",
"private List<Task> tasks2Present(){\n List<Task> tasks = this.taskRepository.findAll();\n// de taken verwijderen waar user eerder op reageerde\n tasks2React(tasks);\n// taken op alfabetische volgorde zetten\n sortTasks(tasks);\n// opgeschoonde lijst aan handler geven\n return tasks;\n }",
"private List<Task> tasks2React(List<Task> tasks){\n Set<Task> reacted = new HashSet<>();\n// statement hieronder verder uitwerken\n// set<Tasks> reacted = this.reactedrepo.findbyUser(<currentUserName()>\n Set<Task> alleVacatures= new HashSet<>(tasks);\n alleVacatures.removeAll(reacted); // levert tasks op waaruit alle eerder gereageerde taken zijn verwijderd\n List<Task> tasks2Do =new ArrayList<>(alleVacatures);\n return tasks2Do;\n }",
"public void printTasks() {\n int i = 0;\n for (Task task : tasks) {\n StringBuilder message = new StringBuilder()\n .append(\"Task \").append(i++).append(\": \").append(task);\n\n for (Task blocker : task.firstToFinish) {\n message.append(\"\\n depends on completed task: \").append(blocker);\n }\n\n for (Task blocker : task.firstToSuccessfullyFinish) {\n message.append(\"\\n depends on successful task: \").append(blocker);\n }\n\n stdout.println(message.toString());\n }\n }",
"private List<TaskObject> getAllTasks(){\n RealmQuery<TaskObject> query = realm.where(TaskObject.class);\n RealmResults<TaskObject> result = query.findAll();\n result.sort(\"completed\", RealmResults.SORT_ORDER_DESCENDING);\n\n tasks = new ArrayList<TaskObject>();\n\n for(TaskObject task : result)\n tasks.add(task);\n\n return tasks;\n }",
"private Sort() { }",
"private void sortByWeight()\n\t{\n\t\tfor(int i=1; i<circles.size(); i++)\n\t\t{\n\t\t\tPVCircle temp = circles.get(i);\n\t\t\tint thisWeight = circles.get(i).getWeight();\n\t\t\tint j;\n\t\t\tfor(j=i-1; j>=0; j--)\n\t\t\t{\n\t\t\t\tint compWeight = circles.get(j).getWeight();\n\t\t\t\tif(thisWeight < compWeight)\n\t\t\t\t\tbreak;\n\t\t\t\telse\n\t\t\t\t\tcircles.set(j+1, circles.get(j));\n\t\t\t}\n\t\t\tcircles.set(j+1, temp);\n\t\t}\n\t\t\n\t}",
"void sort();",
"void sort();",
"private ArrayList<Object> sortState(ArrayList<EcgInfo> array_ecgInfo, ArrayList<ActivityPoint> array_activityInfo,EcgInfo sleepDayInfo){\n\t\tArrayList<Object> sortedState=new ArrayList<Object>();\n\n\t\t//emily++++ insert sleepDayInfo into array_ecgInfo\n\t\tArrayList<EcgInfo> sortedEcgSleep=new ArrayList<EcgInfo>();\n\t\tif(sleepDayInfo.hasData){\n\t\t\twhile (array_ecgInfo.size()!=0 && sleepDayInfo.hasData){\n\t\t\t\tif(sleepDayInfo.measureTime > array_ecgInfo.get(0).measureTime){\n\t\t\t\t\tsortedEcgSleep.add(sleepDayInfo);\n\t\t\t\t\tsleepDayInfo.hasData=false;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tsortedEcgSleep.add(array_ecgInfo.get(0));\n\t\t\t\t\tarray_ecgInfo.remove(0);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(array_ecgInfo.size()!=0){\n\t\t\tsortedEcgSleep.addAll(array_ecgInfo);\n\t\t}\n\t\tif(sleepDayInfo.hasData){\n\t\t\tsortedEcgSleep.add(sleepDayInfo);\n\t\t}\n\t\t//emily----\n\n\t\twhile(sortedEcgSleep.size()!=0&&array_activityInfo.size()!=0){\n\t\t\tif(sortedEcgSleep.get(0).measureTime<array_activityInfo.get(0).time){\n\t\t\t\tsortedState.add(sortedEcgSleep.get(0));\n\t\t\t\tsortedEcgSleep.remove(0);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsortedState.add(array_activityInfo.get(0));\n\t\t\t\tarray_activityInfo.remove(0);\n\t\t\t}\n\t\t}\n\t\tif(sortedEcgSleep.size()!=0){\n\t\t\tsortedState.addAll(sortedEcgSleep);\n\t\t}\n\t\telse{\n\t\t\tsortedState.addAll(array_activityInfo);\n\t\t}\n\t\treturn sortedState;\n\t}"
] | [
"0.6661525",
"0.6641708",
"0.61709833",
"0.60809314",
"0.5864743",
"0.5830203",
"0.57672685",
"0.5740086",
"0.570163",
"0.57015204",
"0.5673831",
"0.5653845",
"0.5642427",
"0.56216985",
"0.5586238",
"0.55761874",
"0.55385643",
"0.5481109",
"0.5476764",
"0.54734087",
"0.5437507",
"0.54027253",
"0.5380177",
"0.533861",
"0.52845603",
"0.5262117",
"0.5222795",
"0.52047265",
"0.51807696",
"0.5159841",
"0.51584923",
"0.5154283",
"0.51446277",
"0.51074535",
"0.5103508",
"0.50520635",
"0.5043343",
"0.5031226",
"0.5019916",
"0.49841478",
"0.49838287",
"0.49664477",
"0.49575877",
"0.49417412",
"0.49352175",
"0.49265417",
"0.49230278",
"0.4912197",
"0.49021718",
"0.48790124",
"0.486906",
"0.48579043",
"0.48467472",
"0.48450685",
"0.48138863",
"0.48124328",
"0.4794641",
"0.47878182",
"0.47849888",
"0.47842443",
"0.47838524",
"0.4783576",
"0.47821474",
"0.4778238",
"0.47761658",
"0.47673392",
"0.47646022",
"0.4761343",
"0.4757531",
"0.47476202",
"0.47456008",
"0.4745152",
"0.47397974",
"0.47391015",
"0.47353873",
"0.47331604",
"0.4731214",
"0.47137183",
"0.47109473",
"0.47080135",
"0.47022492",
"0.46955332",
"0.46932435",
"0.46900523",
"0.4688669",
"0.46875298",
"0.46744528",
"0.4665895",
"0.46651587",
"0.4662241",
"0.46591756",
"0.4656466",
"0.4652624",
"0.46491268",
"0.46461332",
"0.46446675",
"0.46444166",
"0.4644165",
"0.4644165",
"0.46419606"
] | 0.83381397 | 0 |
Open new note activity | private void openNewActivity() {
Intent intent = new Intent(this, NewNoteActivity.class);
startActivityForResult(intent, SECOND_ACTIVITY_REQUEST);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void openNote(Note note, int position);",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(MainActivity.this, CreateNoteActivity.class);\n startActivity(intent);\n }",
"public void addNewNote(MenuItem item){\n \t\tIntent intent = new Intent(this, ActivityNote.class);\n \t\tstartActivity(intent);\n \t}",
"@Override\n public void onClick(View view) {\n\n startActivity(new Intent(MainActivity.this,InsertNotesActivity.class));\n }",
"private void createNewNote(Date date, Note.NoteType type) {\n Intent intent = new Intent(context, NoteActivity.class);\n Calendar calendar = Calendar.getInstance();\n calendar.setTime(date);\n\n intent.putExtra(\"date\", calendar);\n intent.putExtra(\"fullDay\", true);\n intent.putExtra(\"type\", type.ordinal());\n\n context.startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/notes.html\");\n \t\t\n \t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n \n }",
"@Override\n\t\t\t\tpublic void onClick(View view) {\n\t\t\t\t\tIntent i = new Intent(view.getContext(), OpenNote.class);\n\t\t\t\t\ti.putExtra(\"ID\", lyrics.get(getBindingAdapterPosition()).getID());\n\t\t\t\t\tview.getContext().startActivity(i);\n\t\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/notes.html\");\n \t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n }",
"public void startImportant(View view) {\n\n startActivity(new Intent(this, ImportantNotes.class));\n\n }",
"private void openActivity() {\n }",
"private void startListActivity() {\n\t\tCursor c = mDbHelper.fetchAllNotes(TableName);\n\t\tString[] from = new String[]{NotesDbAdapter.KEY_TITLE};\n\t\tint[] to = new int[] {android.R.id.text1 };\n\t\tnotes = new SimpleCursorAdapter(this,android.R.layout.simple_list_item_1,c,from, to);\n\t\t\n\t\t////\n\t\tlv = (ListView) findViewById(R.id.titleList2);\n\t\tlv.setAdapter(adapter);\n\t\t\n\t\tlv.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t\t\t\t\tCursor c = mDbHelper.fetchNote(TableName,arg3);\n\t\t\t\t\t\t\t\tstartActivity(c.getString(1),c.getString(2),arg3);\n\t\t\t}\n\t\t});\n\t\tlv.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\tDialogButton a = new DialogButton(ctx,TableName,arg3);\n\t\t\t\ta.createEdit();\n\t\t\t\ta.show();\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\n\t\t\t\n\t\t});\n\t}",
"private void openNotification(int position) {\n Notification notificationToOpen = mNoteWithNotificationList.get(position).getNotification();\n\n try {\n db.getNotificationFromNotificationID(notificationToOpen.getId());\n Intent intent = new Intent(activity.getApplicationContext(), NotificationEditorActivity.class);\n intent.putExtra(\"NOTIFICATION_ID\", notificationToOpen.getId());\n activity.startActivityForResult(intent, 0);\n } catch (Exception e) {\n Toast.makeText(activity, activity.getResources().getString(R.string.notification_open_error), Toast.LENGTH_LONG);\n }\n\n refresh();\n }",
"@Override\n public void onClick(View view) {\n Intent detailIntent = Post.starter(mContext, mCurrentPost.getComment());\n\n //Start the detail activity\n mContext.startActivity(detailIntent);\n }",
"protected void editNote()\n\t{\n\t\tActivity rootActivity = process_.getRootActivity();\n\t\tActivityPanel rootActivityPanel = processPanel_.getChecklistPanel().getActivityPanel(rootActivity);\n\t\tActivityNoteDialog activityNoteDialog = new ActivityNoteDialog(rootActivityPanel);\n\t\tint dialogResult = activityNoteDialog.open();\n\t\tif (dialogResult == SWT.OK) {\n\t\t\t// Store the previous notes to determine below what note icon to use\n\t\t\tString previousNotes = rootActivity.getNotes();\n\t\t\t// If the new note is not empty, add it to the activity notes\n\t\t\tif (activityNoteDialog.getNewNote().trim().length() > 0)\n\t\t\t{\n\t\t\t\t// Get the current time\n\t\t\t\tString timeStamp = new SimpleDateFormat(\"d MMM yyyy HH:mm\").format(Calendar.getInstance().getTime());\n\t\t\t\t// Add the new notes (with time stamp) to the activity's notes.\n\t\t\t\t//TODO: The notes are currently a single String. Consider using some more sophisticated\n\t\t\t\t// data structure. E.g., the notes for an activity can be a List of Note objects. \n\t\t\t\trootActivity.setNotes(rootActivity.getNotes() + timeStamp + \n\t\t\t\t\t\t\" (\" + ActivityPanel.AGENT_NAME + \"):\\t\" + activityNoteDialog.getNewNote().trim() + \"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\t// Determine whether the note icon should change.\n\t\t\tif (previousNotes.trim().isEmpty())\n\t\t\t{\n\t\t\t\t// There were no previous notes, but now there are -- switch to image of note with text \n\t\t\t\tif (!rootActivity.getNotes().trim().isEmpty())\n\t\t\t\t\tactivityNoteButton_.setCurrentImage(noteWithTextImage_);\n\t\t\t}\n\t\t\telse // There were previous notes, but now there aren't -- switch to blank note image\n\t\t\t\tif (rootActivity.getNotes().trim().isEmpty())\n\t\t\t\t\tactivityNoteButton_.setCurrentImage(noteWithoutTextImage_);\n\t\t\t// END of determine whether the note icon should change\n\t\t\t\n\t\t\t// Set the tooltip text of the activityNoteButton_ to the current notes associated with the activity. \n\t\t\tactivityNoteButton_.setToolTipText(rootActivity.getNotes());\n\t\t\t\n\t\t\tprocessHeaderComposite_.redraw();\t// Need to redraw the activityNoteButton_ since its image changed.\n\t\t\t// We redraw the entire activity panel, because redrawing just the activityNoteButton_ \n\t\t\t// causes it to have different background color from the activity panel's background color\n\t\t\tSystem.out.println(\"Activity Note is \\\"\" + rootActivity.getNotes() + \"\\\".\");\n\t\t}\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\tIntent i = new Intent(note_loc.this, Task.class);\n\t\t\tstartActivity(i);\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/cchat.html\");\n \t\t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n }",
"private void StartNotifyActivity()\r\n\t{\n \tIntent intent = new Intent();\r\n\t\tintent.setClass(this, NotifyDateActivity.class);\r\n\t\t// Set time\r\n\t\tBundle Parameters = new Bundle();\r\n\t\tParameters.putString(OneNote.KEY_NOTIFYTIME, HelperFunctions.Calendar2String(AddOneNote.NotifyTime));\r\n\t\tParameters.putInt(OneNote.KEY_NOTIFYDURA, AddOneNote.NotifyDura);\r\n\t\tParameters.putString(OneNote.KEY_RINGMUSIC, AddOneNote.RingMusic);\r\n\t\tParameters.putInt(OneNote.KEY_NOTIFYMETHOD, AddOneNote.NotifyMethod);\r\n // Pass it to next activity \r\n\t\tintent.putExtras(Parameters);\r\n\t\t// Go to next activity(set note's notify time activity)\r\n\t\tstartActivityForResult(intent, ProjectConst.ACTIVITY_SET_NOTIFYTIME);\t\t\r\n\t}",
"public static Intent newIntent (Context context, UUID noteID){\n\n Intent intent = new Intent(context, NoteActivity.class);\n\n intent.putExtra(EXTRA_NOTE_ID, noteID);\n\n return intent;\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(NoteListActivity.this,\r\n\t\t\t\t\t\tEditNoteActivity.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}",
"WithCreate withNotes(String notes);",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tnewNote();//新建一条记录\n\t\t\t}",
"@Override\n public void onClick(View view) {\n Intent getBackIntent = new Intent(AddNoteActivity.this,\n MainActivity.class);\n startActivity(getBackIntent);\n }",
"protected void newPost() {\n\t\tIntent intent = new Intent(this, EditTopicActivity.class);\n\t\tintent.putExtra(EditPostActivity.IS_NEW, true);\n\n\t\tstartActivity(intent);\n\t}",
"void onItemClick(Note note);",
"public void openFlag() {\n \tIntent intent = new Intent(this, DisplayFlagActivity.class);\n \tstartActivity(intent);\n }",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n LayoutInflaterCompat.setFactory2(getLayoutInflater(), new IconicsLayoutInflater2(getDelegate()));\n\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_note);\n Bundle bundle = getIntent().getExtras();\n if (bundle != null) {\n if (bundle.containsKey(\"isNew\") && bundle.getInt(\"isNew\") == 1) {\n isNewNote = true;\n } else {\n //Grab the id for this note that is also sent with the bundle;\n id = bundle.getLong(\"id\");\n isNewNote = false;\n }\n }\n mNoteActivityManager = new NoteActivityManager(this);\n }",
"private void launchActivity(String title, String url){\n // package intent\n // start activity\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext, \"default\");\n\n String content = \"The instruction for \" + title + \" can be found here!\";\n\n //set icons\n builder.setSmallIcon(android.R.drawable.btn_star);\n builder.setStyle(new NotificationCompat.BigTextStyle(builder).bigText(content));\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n\n // create a pending intent for the notification with the intent I created\n PendingIntent pendingIntent = PendingIntent.getActivity(mContext,0, intent, 0);\n builder.setContentIntent(pendingIntent);\n\n //set the title and content of the notification\n builder.setContentTitle(\"Cooking Instruction\");\n builder.setContentText(content);\n\n // get the system service to display this notification\n NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(NOTIFICATION_SERVICE);\n\n //notify\n notificationManager.notify(1, builder.build());\n\n\n }",
"private void open23() {\n Intent intent = new Intent(this, id3v23editor.class);\n intent.putExtra(\"queuePos\", 0);\n intent.putExtra(\"queueStrings\", new String[]{\"[IDENT]\"});\n startActivity(intent);\n\n finish();\n }",
"public boolean openCreateGoal(){\n Intent intent = new Intent(this, GoalNewActivity.class);\n startActivity(intent);\n return true;\n }",
"private void open24() {\n Intent intent = new Intent(this, id3v24editor.class);\n intent.putExtra(\"queuePos\", 0);\n intent.putExtra(\"queueStrings\", new String[]{\"[IDENT]\"});\n startActivity(intent);\n\n finish();\n }",
"@Override public void onClick(View arg0) {\n Intent intent = new Intent(OweActivity.this, SetReminder.class);\n startActivity(intent);\n }",
"@Override public void onClick(View arg0) {\n Intent intent = new Intent(OweActivity.this, SetReminder.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n Uri newsUri = Uri.parse(currentNews.getUrl());\n\n // Create a new intent to view the news URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, newsUri);\n\n // Send the intent to launch a new activity\n mContext.startActivity(websiteIntent);\n }",
"private void saveNote() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"E,MMM d, hh:mm a\");\n String lastSavedDate = sdf.format(new Date());\n String id;\n boolean isNew = true;\n if (oldNote != null && oldNote.getId() != null && !oldNote.getId().isEmpty()) {\n id = oldNote.getId();\n isNew = false;\n } else\n id = UUID.randomUUID().toString();\n Note note = new Note(id, etTitle.getText().toString().trim(), lastSavedDate, etNote.getText().toString().trim());\n note.setNew(isNew);\n Intent returnIntent = new Intent();\n returnIntent.putExtra(\"NEW_NOTE\", note);\n setResult(Activity.RESULT_OK, returnIntent);\n finish();\n }",
"public void openNewActivity(){\n Intent intent = new Intent(this, InventoryDisplay.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(context ,commentshow.class);\n context.startActivity(intent);\n\n\n }",
"public void noteOptionTextButtonClicked(View button) {\n Intent i = new Intent(this, NoteTypeTextActivity.class);\n startActivity(i);\n }",
"protected void createNewDocumentNote(NoteData newNote) {\n /**\n * get data from the server about tags\n */\n String url = globalVariable.getConfigurationData().getServerURL()\n + globalVariable.getConfigurationData().getApplicationInfixURL()\n + globalVariable.getConfigurationData().getRestDocumentAddNotesURL();\n Log.i(LOG_TAG, \"REST - create new doc notes - call: \" + url);\n\n String postBody = RESTUtils.getJSON(newNote);\n\n AppCompatActivity activity = (AppCompatActivity)getActivity();\n RESTUtils.executePOSTNoteCreationRequest(url, postBody, null, \"\", globalVariable, DocumentTaggingActivity.PROPERTY_BAG_KEY, activity);\n\n // mDataArray = TagItemDataHelper.getAlphabetData();\n }",
"@Override\n public void onClick(View view) {\n Intent i = new Intent(getBaseContext(), DebateWriteCommentActivity.class);\n startActivity(i);\n }",
"private void openUpdate() {\n\t\tString url = MySoup.getUpdateLink(SITE);\n\t\tIntent i = new Intent(Intent.ACTION_VIEW);\n\t\ti.setData(Uri.parse(url));\n\t\tstartActivity(i);\n\t\tfinish();\n\t}",
"public void testCreateSampleNoteForOffActn() {\n UrlInputDto urlInput = new UrlInputDto(TradeMarkDocumentTypes.TYPE_NOTE.getAlfrescoTypeName());\n urlInput.setSerialNumber(ParameterValues.VALUE_SERIAL_77777777_NUMBER.toString());\n urlInput.setFileName(\"NoteForOffActnAssoc.pdf\");\n String NOTE_CREATE_WEBSCRIPT_URL = CaseCreateUrl.returnGenericCreateUrl(urlInput);\n Map<String, String> noteParam = new HashMap<String, String>();\n noteParam.put(ParameterKeys.URL.toString(), NOTE_CREATE_WEBSCRIPT_URL);\n noteParam.put(ParameterKeys.METADATA.toString(), NoteBaseTest.VALUE_NOTE_METADATA);\n noteParam.put(ParameterKeys.CONTENT_ATTACHEMENT.toString(), NoteBaseTest.CONTENT_NOTE_TTACHMENT);\n ClientResponse response = createDocument(noteParam);\n // String str = response.getEntity(String.class);\n // System.out.println(str);\n assertEquals(201, response.getStatus());\n }",
"private void launch() {\n Intent intent = new Intent(getActivity(), ForumAddActivity.class);\n startActivity(intent);\n }",
"private void showCreateWalkActivity() {\n Intent intent = new Intent(this, ActivityNewWalk.class);\n this.startActivityForResult(intent, CREATE_WALK_REQUEST);\n }",
"void startNewActivity(Intent intent);",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n TextView tv = (TextView) view.findViewById(R.id.note_id);\n String clickedID = tv.getText().toString();\n Intent intent = new Intent(this, EditNoteActivity.class);\n intent.putExtra(NOTE_ID, clickedID);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n //intent.setType(\"*/*\");\n intent.setType(\"text/plain\");\n startActivityForResult(intent, READ_REQUEST_CODE);\n }",
"@Override\n public void onClick(View view) {\n Intent intent = MainActivity.newIntent(getActivity(), mMonitor.getId());\n startActivity(intent);\n\n }",
"private void openDocument(DocumentInfo doc, Model model) {\n Intent intent = new QuickViewIntentBuilder(\n getPackageManager(), getResources(), doc, model).build();\n\n if (intent != null) {\n // TODO: un-work around issue b/24963914. Should be fixed soon.\n try {\n startActivity(intent);\n return;\n } catch (SecurityException e) {\n // Carry on to regular view mode.\n Log.e(TAG, \"Caught security error: \" + e.getLocalizedMessage());\n }\n }\n\n // Fall back to traditional VIEW action...\n intent = new Intent(Intent.ACTION_VIEW);\n intent.setDataAndType(doc.derivedUri, doc.mimeType);\n\n // Downloads has traditionally added the WRITE permission\n // in the TrampolineActivity. Since this behavior is long\n // established, we set the same permission for non-managed files\n // This ensures consistent behavior between the Downloads root\n // and other roots.\n int flags = Intent.FLAG_GRANT_READ_URI_PERMISSION;\n if (doc.isWriteSupported()) {\n flags |= Intent.FLAG_GRANT_WRITE_URI_PERMISSION;\n }\n intent.setFlags(flags);\n\n if (DEBUG && intent.getClipData() != null) {\n Log.d(TAG, \"Starting intent w/ clip data: \" + intent.getClipData());\n }\n\n try {\n startActivity(intent);\n } catch (ActivityNotFoundException e) {\n Snackbars.makeSnackbar(\n this, R.string.toast_no_application, Snackbar.LENGTH_SHORT).show();\n }\n }",
"@Override\n public void onClick(View view) {\n //Reads the text that was passed by the user in the EditText and saves it to the notesArrayList.\n String noteText = String.valueOf(noteEditText.getText());\n allNotes.addNote(noteText);\n //Sets the content of the EditText to empty.\n noteEditText.setText(\"\");\n //Gets user back to MainActivity using Intent.\n Intent getBackIntent = new Intent(AddNoteActivity.this,\n MainActivity.class);\n startActivity(getBackIntent);\n }",
"@Override\n public void onClick(View view) {\n\n NoteData newNote = new NoteData();\n String header = tagNewHeader.getText().toString();\n String note = tagNewNotes.getText().toString();\n newNote.setNote(header\n + DocumentPOJOUtils.DOC_NOTE_HEADER_DELIMITER\n + note\n );\n newNote.setOwner(globalVariable.getCurrentUser().getName());\n\n TabbedDocumentDialog listener = MappingUtilities.getTabbedDialog(getFragmentManager().getFragments());\n listener.onFinishEditDialog(newNote);\n CreateDocNotesDialog.super.dismiss();\n\n }",
"public void playNote ( Location loc , Instrument instrument , Note note ) {\n\t\texecute ( handle -> handle.playNote ( loc , instrument , note ) );\n\t}",
"public void open();",
"public void open();",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(context, MyNoteOneCourseDetailsActivity.class);\n\t\t\t\tintent.putExtra(\"noteList\", (Serializable)list);\n\t\t\t\tintent.putExtra(\"position\", position);\n\t\t\t\tcontext.startActivity(intent);\n\t\t\t}",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tintent = new Intent(SnaDetailsActivity.this,CommentActivity.class);\r\n\t\t\t\tintent.putExtra(\"stoid\", stoid);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}",
"public final void openPodcast(Activity act)\n {\n final String urlBrowser = act.getString(R.string.podcast_url);\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(urlBrowser));\n act.startActivity(intent);\n\n }",
"private void displayNotification(final String id, final String name, final String detail, String title, final String url) {\n\n NotificationManager manager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);\n Notification notification = new Notification(R.drawable.noti, name + \" ตอนใหม่\", System.currentTimeMillis());\n notification.defaults |= Notification.DEFAULT_SOUND;\n notification.flags |= Notification.FLAG_AUTO_CANCEL;\n\n // The PendingIntent will launch activity if the user selects this notification\n Intent browserIntent = null;\n/*\t\tbrowserIntent = new Intent(Intent.ACTION_VIEW);\n\t\tUri data = Uri.parse(url+\"#story_body\");\n\t\tbrowserIntent.setData(data);*/\n if (Setting.getArrowSelectSetting(context).equals(\"0\")) {\n browserIntent = new Intent(Intent.ACTION_VIEW);\n Uri data = Uri.parse(url + \"#story_body\");\n browserIntent.setData(data);\n } else if (Setting.getArrowSelectSetting(context).equals(\"1\")) {\n browserIntent = new Intent(this, DekdeeBrowserActivity.class);\n browserIntent.putExtra(\"id\", id);\n browserIntent.putExtra(\"url\", url);\n browserIntent.putExtra(\"title\", name);\n } else {\n browserIntent = new Intent(this, TextReadActivity.class);\n browserIntent.putExtra(\"url\", url);\n }\n System.out.println(\"moti \" + url);\n\n //PendingIntent contentIntent = PendingIntent.getActivity(context, REQUEST_CODE,browserIntent, 0);\n PendingIntent contentIntent = PendingIntent.getActivity(getApplicationContext(), REQUEST_CODE, browserIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n notification.contentIntent = contentIntent;\n //notification.contentView = contentView;\n if (title.contains(\":\")) {\n title = \":\" + title;\n }\n if (title.indexOf(\":\") + 2 < title.length()) {\n notification.setLatestEventInfo(context, name, title.substring(title.indexOf(\":\") + 2) + \" (\" + detail + \")\", contentIntent);\n } else if (title.indexOf(\":\") + 1 < title.length()) {\n notification.setLatestEventInfo(context, name, title.substring(title.indexOf(\":\") + 1) + \" (\" + detail + \")\", contentIntent);\n } else if ((!title.contains(\":\")) && (title.indexOf(\":\") < title.length())) {\n notification.setLatestEventInfo(context, name, title.substring(title.indexOf(\":\")) + \" (\" + detail + \")\", contentIntent);\n } else {\n notification.setLatestEventInfo(context, name, title + \" (\" + detail + \")\", contentIntent);\n }\n manager.notify(REQUEST_CODE, notification);\n }",
"public void startToDoList(View view) {\n\n startActivity(new Intent(this, toDoNewList.class));\n }",
"private void newTask()\n {\n \t//TODO add alarm\n \tTask task = new Task(taskName.getText().toString(), taskDetails.getText().toString());\n \tdb.createTask(task);\n \t//TODO Tie notification to an alarm\n \t//Create notification\n \tIntent notifyIntent = new Intent(this, TaskNotification.class);\n \tnotifyIntent.putExtra(\"title\", task.name); //add title name\n \tnotifyIntent.putExtra(\"id\", (int) task.id); //add id\n \tstartActivity(notifyIntent); //create the intent\n \t\n \trefreshData();\n }",
"public void startViewTripActivity() {\r\n\t\t\r\n\t\t// TODO - fill in here\r\n Intent intent = new Intent(this,TripHistoryActivity.class);\r\n startActivity(intent);\r\n\t}",
"public void loadItemNotes(View view, Order_Item item) {\n Intent i = new Intent(getActivity(), item_notes.class);\n b.putSerializable(\"item\", item);\n i.putExtras(b);\n startActivity(i);\n }",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n \tif (item.getItemId() == R.id.gotoNotes) {\r\n \t\tIntent i = new Intent(this, NotepadList.class);\r\n \t\ti.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);\r\n\t\t\tstartActivity(i);\r\n\t\t\treturn true;\r\n \t}\r\n \tif (onMenuIndexSelected(item.getItemId())) return true;\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"public void funcionAppian(View v){\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(\"https://ustglobalspaindemo.appiancloud.com/suite/tempo/news\"));\n if(intent.resolveActivity(getPackageManager())!= null){\n startActivity(intent);\n }\n }",
"private void saveNote()\n\t{\n\t\tString text = ((EditText) findViewById(R.id.note_edittext)).getText().toString();\n\t\tNoteDbWorker worker = new NoteDbWorker(this);\n\t\tworker.updateNote(user.userName, text);\n\t\tworker.close();\n\t\tToast.makeText(this, getString(R.string.note_saved), Toast.LENGTH_LONG).show();\n\t}",
"public void setNote(String note) {\r\n this.note = note; \r\n }",
"@Override\n public void onClick(View view) {\n Intent i = new Intent(MainActivity.this,createPoll.class);\n startActivity(i);\n\n }",
"public void ShowNewTaskForm(View view)\n // //onClick ButtonNewTask\n {\n Log.d(\"CEGG\", \"click ButtonNewTask\");\n\n // //Explicit intent to start\n Intent intent = new Intent(\n getApplicationContext(), NewTaskFormActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view)\n {\n /**\n * get the id of the button clicked\n * use the map to figure out what note to play\n * play the note\n * **/\n int id = view.getId();\n int note = noteMap.get(id);\n playNote(note);\n }",
"private void onSaveNote() {\n String text= inputNote.getText().toString();\n if(!text.isEmpty()){\n long date=new Date().getTime(); // get current time\n // Note note= new Note(text,date); because temp now has Note object\n\n // if note exits update else create new\n temp.setNoteText(text);\n temp.setNoteDate(date);\n\n if(temp.getId()==-1)\n dao.insertNote(temp); // insert and save note to database\n else{\n dao.updateNote(temp);\n }\n finish(); // return to the MainActivity\n }\n\n }",
"@Override\n public void performAction(View view) {\n startActivity(new Intent(MainActivity.this, MyInfoActivity.class));\n// QPManager.startRecordActivity(MainActivity.this);\n }",
"public void setNote(String note) {\r\n this.note = note;\r\n }",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tshowNote((Note)v.getTag());//查看这条记录\n\t\t\t\t}",
"public static void startNotesActivity(Activity sourceActivity, List<String> noteIds) {\n StringBuilder where_clause = new StringBuilder(\" WHERE \" + NoteOwnedResponseData.NOTE_ID + \" in (\");\n\n int i = 0;\n for (String noteId : noteIds) {\n if (i > 0) {\n where_clause.append(\",\");\n }\n where_clause.append(\"'\").append(noteId).append(\"'\");\n i++;\n }\n where_clause.append(\")\");\n Util.startNotesActivity(sourceActivity, where_clause.toString());\n }",
"@Override\n public void RelationshipAdded(boolean ok) {\n final Intent i = new Intent(this,ELFStaff.class);\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(i);\n }",
"@Override\n public void onClick(View arg0)\n {\n\n ExtendedNewController extendedNewController = new ExtendedNewController();\n startNewControllerActivity(extendedNewController, 0, 0);\n }",
"public void open(){\n }",
"public void playNote ( Location loc , byte instrument , byte note ) {\n\t\texecute ( handle -> handle.playNote ( loc , instrument , note ) );\n\t}",
"@Override\n\t\t\t\t\t\tpublic void onClick(View arg0) {\n Intent share=new Intent(android.content.Intent.ACTION_SEND);\n\n share.setType(\"text/plain\");\n share.putExtra(android.content.Intent.EXTRA_SUBJECT,news.getTitle());\n share.putExtra(android.content.Intent.EXTRA_TEXT,\"Follow the link : \"+MainActivity.base_url+news.getAbsolute_url()+\" to read more\");\n startActivity(Intent.createChooser(share,\"Share via\"));\n\t\t\t\t\t\t}",
"public ICurrentPage openNewWindow(String url);",
"public void setNote(String note) {\n this.note = note;\n }",
"public void setNote(String note) {\n this.note = note;\n }",
"public void setNote(String note) {\n this.note = note;\n }",
"public void setNote(String note) {\n this.note = note;\n }",
"public void setNote(String note) {\n this.note = note;\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_INSERT).setData(CalendarContract.Events.CONTENT_URI);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n mDatabase.deleteNote(singleNote.getId());\n //refresh the activity page.\n ((Activity)context).finish();\n context.startActivity(((Activity) context).getIntent());\n }",
"public void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\t\tint position, long id) {\n\t\t\t\t\tCourseObject.CourseId = null;\n\t\t\t\t\t// Starting single contact activity\n\t\t\t\t\tIntent in = new Intent(getApplicationContext(),\n\t\t\t\t\t\t\tNotesContents.class);\n\t\t\t\t\t//in.putExtra(\"title\", noteLists.get(position).getNoteTitle());*/\n\t\t\t\t\t//in.putExtra(\"code\", noteLists.get(position).getCourseCode());\n\t\t\t\t\tin.putExtra(\"id\", noteLists.get(position).getNoteId());\n\t\t\t\t\tstartActivity(in);\n\t\t\t\t}",
"public void openEvent(int index) {\n // Packing the event data in the intent\n Intent intent = new Intent(this, DetailsActivity.class);\n\n // This index is just temporary used.\n intent.putExtra(\"INDEX\", Integer.toString(index));\n intent.putExtra(\"TITLE\", events.get(index).title);\n intent.putExtra(\"STARTDATE\", events.get(index).startDate);\n intent.putExtra(\"ENDDATE\", events.get(index).endDate);\n intent.putExtra(\"BODY\", events.get(index).body);\n startActivity(intent);\n\n }",
"public static void openPlayStoreEntry()\n\t{\n\t\tApp.getInstance().startActivity(new Intent(Intent.ACTION_VIEW)\n\t\t\t\t.setData(Uri.parse(\"market://details?id=\" + General.PKG_MESSENGERAPI+\"&referrer=utm_source%3D\"+App.getInstance().getPackageName()+\"%26utm_medium%3DAPIMethod%26utm_campaign%3DAPICampaign\"))\n\t\t\t\t.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));\n\t}",
"private void onWhatTokenButtonClick() {\r\n\r\n //Open related web post\r\n Intent i = new Intent(Intent.ACTION_VIEW);\r\n i.setData(Uri.parse(getString(R.string.url_github_about_tokens)));\r\n startActivity(i);\r\n }",
"public abstract void open();",
"public abstract void open();",
"@Override\n public void onClick(View v) {\n if (AppUtils.isEmptyString(edtNoteTitle.getText().toString())) {\n Toast.makeText(MainActivity.this, \"Enter note!\", Toast.LENGTH_SHORT).show();\n return;\n } else {\n alertDialog.dismiss();\n }\n\n final String noteTitle = edtNoteTitle.getText().toString();\n final String noteDes = edtNoteDes.getText().toString();\n // check if user updating note\n if (shouldUpdate && todo != null) {\n // update note by it's id\n updateNote(todo.getTodoId(), noteTitle, noteDes, position);\n } else {\n // create new note\n createNote(noteTitle, noteDes, mUserId);\n }\n }",
"public void open() {\r\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == R.id.trip_menu_add_note) {\n\n Intent intent = NoteFormActivity.newIntent(getActivity(), mTrip);\n startActivity(intent);\n\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"public void setNote(String note) {\r\n\r\n this.note = note;\r\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_DIAL, Uri.fromParts(\"tel\", tv_desc.getText().toString(), null));\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n if (TextUtils.isEmpty(editText.getText().toString())){\n Toast.makeText(getContext(), \"Enter note!\", Toast.LENGTH_SHORT).show();\n return;\n } else {\n alertDialog.dismiss();\n }\n\n // check if user updating note\n\n if (shouldUpdate && note != null){\n // update note by it's id\n note.setNote(editText.getText().toString());\n updateNote(note, position);\n } else {\n // create new note\n //createNote(editText.getText().toString());\n }\n }",
"public void open() {\n\t}",
"@Override\n public void onClick(View view) {\n Intent Getintent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://feedback.avriant.com\"));\n startActivity(Getintent);\n }"
] | [
"0.7683327",
"0.69559497",
"0.6812595",
"0.67839223",
"0.6761331",
"0.66264385",
"0.6616507",
"0.660232",
"0.6563046",
"0.6400558",
"0.6381722",
"0.6311762",
"0.626539",
"0.6262",
"0.6240015",
"0.6230297",
"0.6042305",
"0.6010939",
"0.59970504",
"0.5976351",
"0.59759927",
"0.59339625",
"0.5908819",
"0.5827245",
"0.578778",
"0.5777568",
"0.574758",
"0.574564",
"0.56927824",
"0.56729066",
"0.5657476",
"0.5657476",
"0.5651907",
"0.56372684",
"0.56339467",
"0.563359",
"0.56281745",
"0.56095934",
"0.5603633",
"0.56025696",
"0.5577236",
"0.555109",
"0.5548141",
"0.5544811",
"0.55371636",
"0.55303574",
"0.55215764",
"0.5519456",
"0.5509541",
"0.5507381",
"0.5487454",
"0.5486454",
"0.5486454",
"0.5484123",
"0.547448",
"0.5469816",
"0.546869",
"0.5455567",
"0.54500544",
"0.5447099",
"0.54371214",
"0.54370004",
"0.54316807",
"0.5417945",
"0.5412281",
"0.5401382",
"0.5401279",
"0.5398434",
"0.5391904",
"0.5389915",
"0.5388439",
"0.53870267",
"0.5374981",
"0.53727376",
"0.5368069",
"0.5365536",
"0.5359353",
"0.5358688",
"0.5351927",
"0.5349376",
"0.5349376",
"0.5349376",
"0.5349376",
"0.5349376",
"0.5349084",
"0.53447825",
"0.53396267",
"0.53385156",
"0.53360045",
"0.5334074",
"0.5333421",
"0.5333421",
"0.5326435",
"0.53252417",
"0.5314629",
"0.53125215",
"0.53093344",
"0.53038746",
"0.5303351",
"0.5302535"
] | 0.7148393 | 1 |
Edit a task and open New Note Activity | private void editElement(int position) {
Intent intent = new Intent(this, NewNoteActivity.class);
Task t = this.printedTasks.get(position);
intent.putExtra("id", t.getUid());
intent.putExtra("intitule", t.getIntitule());
intent.putExtra("description", t.getDescription());
intent.putExtra("duree", t.getDuree());
intent.putExtra("date", t.getDate());
intent.putExtra("color", t.getColor());
intent.putExtra("url", t.getUrl());
intent.putExtra("position", position);
// Send boolean -> edit mode
intent.putExtra("edit", true);
startActivityForResult(intent, SECOND_ACTIVITY_REQUEST);
reloadWidget();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void showTodoViewToEdit(Task task);",
"public void editTask(String newTask) {\n task = newTask;\n }",
"void editTask(ReadOnlyTask taskToEdit, Name taskName, Date startDate, Date endDate, Priority priority,\n\t\t\tRecurrenceRate recurrenceRate);",
"@Override\n public void onEditClick(Tasks tasks) {\n if(tasks!=null){\n taskEditRequest(tasks);\n }\n }",
"void onEditTaskComplete(String name, String notes, int position);",
"void onStartEditTask(String taskId) {\n mNavigationProvider.startActivityForResultWithExtra(AddEditTaskActivity.class,\n TaskDetailActivity.REQUEST_EDIT_TASK, AddEditTaskFragment.ARGUMENT_EDIT_TASK_ID,\n taskId);\n }",
"protected void editNote()\n\t{\n\t\tActivity rootActivity = process_.getRootActivity();\n\t\tActivityPanel rootActivityPanel = processPanel_.getChecklistPanel().getActivityPanel(rootActivity);\n\t\tActivityNoteDialog activityNoteDialog = new ActivityNoteDialog(rootActivityPanel);\n\t\tint dialogResult = activityNoteDialog.open();\n\t\tif (dialogResult == SWT.OK) {\n\t\t\t// Store the previous notes to determine below what note icon to use\n\t\t\tString previousNotes = rootActivity.getNotes();\n\t\t\t// If the new note is not empty, add it to the activity notes\n\t\t\tif (activityNoteDialog.getNewNote().trim().length() > 0)\n\t\t\t{\n\t\t\t\t// Get the current time\n\t\t\t\tString timeStamp = new SimpleDateFormat(\"d MMM yyyy HH:mm\").format(Calendar.getInstance().getTime());\n\t\t\t\t// Add the new notes (with time stamp) to the activity's notes.\n\t\t\t\t//TODO: The notes are currently a single String. Consider using some more sophisticated\n\t\t\t\t// data structure. E.g., the notes for an activity can be a List of Note objects. \n\t\t\t\trootActivity.setNotes(rootActivity.getNotes() + timeStamp + \n\t\t\t\t\t\t\" (\" + ActivityPanel.AGENT_NAME + \"):\\t\" + activityNoteDialog.getNewNote().trim() + \"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\t// Determine whether the note icon should change.\n\t\t\tif (previousNotes.trim().isEmpty())\n\t\t\t{\n\t\t\t\t// There were no previous notes, but now there are -- switch to image of note with text \n\t\t\t\tif (!rootActivity.getNotes().trim().isEmpty())\n\t\t\t\t\tactivityNoteButton_.setCurrentImage(noteWithTextImage_);\n\t\t\t}\n\t\t\telse // There were previous notes, but now there aren't -- switch to blank note image\n\t\t\t\tif (rootActivity.getNotes().trim().isEmpty())\n\t\t\t\t\tactivityNoteButton_.setCurrentImage(noteWithoutTextImage_);\n\t\t\t// END of determine whether the note icon should change\n\t\t\t\n\t\t\t// Set the tooltip text of the activityNoteButton_ to the current notes associated with the activity. \n\t\t\tactivityNoteButton_.setToolTipText(rootActivity.getNotes());\n\t\t\t\n\t\t\tprocessHeaderComposite_.redraw();\t// Need to redraw the activityNoteButton_ since its image changed.\n\t\t\t// We redraw the entire activity panel, because redrawing just the activityNoteButton_ \n\t\t\t// causes it to have different background color from the activity panel's background color\n\t\t\tSystem.out.println(\"Activity Note is \\\"\" + rootActivity.getNotes() + \"\\\".\");\n\t\t}\n\t}",
"private void newTask()\n {\n \t//TODO add alarm\n \tTask task = new Task(taskName.getText().toString(), taskDetails.getText().toString());\n \tdb.createTask(task);\n \t//TODO Tie notification to an alarm\n \t//Create notification\n \tIntent notifyIntent = new Intent(this, TaskNotification.class);\n \tnotifyIntent.putExtra(\"title\", task.name); //add title name\n \tnotifyIntent.putExtra(\"id\", (int) task.id); //add id\n \tstartActivity(notifyIntent); //create the intent\n \t\n \trefreshData();\n }",
"private void saveTask(){\n \tZadatakApp app = (ZadatakApp)getApplicationContext();\n \t\n \tTask task = new Task();\n \ttask.set(Task.Attributes.Name, nameText);\n \ttask.set(Task.Attributes.Duedate, datePicker);\n \ttask.set(Task.Attributes.Hours, lengthText);\n \ttask.set(Task.Attributes.Progress, progressBar);\n \ttask.set(Task.Attributes.Priority, priorityBox);\n \t\n \t// Save it to the database either as a new task or over an old task\n \tif (editmode) { app.dbman.editTask(id, task); }\n \telse { app.dbman.insertTask(task); }\n \t\n \t// A task has been added or changed, rescedule\n \tapp.schedule();\n \t\n \tapp.toaster(\"NEW / EDITED TASK\");\n \t\n \t// Quit the activity\n \tfinish();\n }",
"private void updateTask(ICompositeCheatSheetTask task) {\n \t\tif (task==null || task != selectedTask) return;\n \t\tif ( task instanceof EditableTask) {\n \t\t\tEditableTask editable = (EditableTask)task;\n \t\t\tif (editable.getState() == ICompositeCheatSheetTask.IN_PROGRESS) {\n \t\t\t\tshowEditor(editable);\n \t\t\t\treturn;\n \t\t\t} else if (editable.isUnderReview()) {\n \t\t\t\tif (editable.getState() == ICompositeCheatSheetTask.COMPLETED) {\n \t\t\t\t\tshowEditor(editable);\n \t\t\t\t} else {\n \t\t\t\t\tendReview(editable);\n \t\t\t\t}\n \t\t\t\treturn;\n \t\t\t}\n \t\t} \n \t\tshowDescription(task);\n \t}",
"public String editTask(TasksModel obj)\n\t{\n\t\tString memo=\"\"; \n\t\tif(obj.getMemo()!=null)\n\t\t{\n\t\t\tmemo=obj.getMemo().replaceAll(\"'\",\"`\");\n\t\t}\n\t\tobj.setMemo(memo);\n\t\t\n\t\tString commnets=\"\"; \n\t\tif(obj.getComments()!=null)\n\t\t{\n\t\t\tcommnets=obj.getComments().replaceAll(\"'\",\"`\");\n\t\t}\n\t\tobj.setComments(commnets);\n\t\t\t\n\t\tString stepsToReproduce=\"\"; \n\t\tif(obj.getTaskStep()!=null)\n\t\t{\n\t\t\tstepsToReproduce=obj.getTaskStep().replaceAll(\"'\",\"`\");\n\t\t}\n\t\tobj.setTaskStep(stepsToReproduce);\n\t\tquery=new StringBuffer();\n\t\tquery.append(\"Update tasks set customerType='\"+obj.getClientType()+\"',taskNo='\"+obj.getTaskNumber()+\"',tasktype=\"+obj.getTaskTypeId()+\",expectedDateTofinsh='\"+sdf.format(obj.getExpectedDatetofinish())+\"',reminderDate='\"+sdf.format(obj.getReminderDate())+\"',toBeReminderIn=\"+obj.getRemindIn()+\",taskName='\"+obj.getTaskName()+\"',steps='\"+obj.getTaskStep()+\"',linkid=\"+obj.getPrviousTaskLinkId()+\",customerrefKey=\"+obj.getCustomerRefKey()+\",\");\t\n\t\tquery.append(\"projectrefKey=\"+obj.getProjectKey()+\",servicerefKey=\"+obj.getSreviceId()+\",assignedUser=\"+obj.getEmployeeid()+\",ccemployeeKey=\"+obj.getCcEmployeeKey()+\",priorityrefKey=\"+obj.getPriorityRefKey()+\",estTime=\"+obj.getEstimatatedNumber()+\",memo='\"+obj.getMemo()+\"',actualTime=\"+obj.getActualNumber()+\",status=\"+obj.getStatusKey()+\",usercomments='\"+obj.getComments()+\"',hourOrDays='\"+obj.getHoursOrDays()+\"' where taskID=\"+obj.getTaskid()+\"\");\n\t\tquery.append(\" \");\n\t\treturn query.toString();\n\t}",
"public void updateTask(int tid,String title,String detail,int money,String type,int total_num,int current_num,Timestamp start_time,Timestamp end_time,String state);",
"public void updateTask() {\r\n int selected = list.getSelectedIndex();\r\n if (selected >= 0) {\r\n Task task = myTodo.getTaskByIndex(selected + 1);\r\n todoTaskGui(\"Update\", task);\r\n }\r\n }",
"public void newTask() {\r\n\r\n todoTaskGui(\"Create\", null);\r\n }",
"public void updateTask(Task task){//needs to depend on row num\n SQLiteDatabase db = this.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(KEY_ID,task.getId());\n values.put(KEY_LABEL,task.getLabel());\n values.put(KEY_TIME, task.getTime());\n db.update(TABLE_NAME, values, KEY_ID+\" = ?\",\n new String[] { String.valueOf(task.getId()) });\n }",
"private void showEditor(EditableTask task) {\n \t\tif (task == selectedTask) {\n \t\t\tTaskEditor editor = getTaskEditor(task);\n \t\t\tif (editor!= null) {\n \t\t\t\tif (!task.isEditorInitialized()) {\n \t\t\t\t\ttask.setInput(model.getTaskMemento(task.getId()));\n \t\t\t\t}\n \t\t\t\tsetCurrentEditor(editor.getControl().getParent());\n \t\t\t}\n \t\t}\n \t}",
"public void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tEditText taskText = (EditText) findViewById(R.id.edit_task);\t//create the text field\n\t\t\t\tTask newTask = new Task(taskText.getText().toString());\t\t\t//save the text of the task\n\t\t\t\tarrayTaskList myArray = arrayTaskList.getInstance();\n\t\t\t\tmyArray.addNewTask(newTask);\t\t\t\t\t\t\t\t\t//add the new task to the list\t\t\t\t\n\t\t\t\tfinish();\n\t\t\t}",
"private void doModifyTask() {\n System.out.println(\"Select the task you would like to modify by entering the appropriate index number.\");\n int index = input.nextInt();\n try {\n todoList.validateIndex(index);\n System.out.println(\"Enter the modified time and description to be added.\");\n String time = input.nextLine();\n String description = input.nextLine();\n System.out.println(\"Enter the modified date to be added.\");\n String date = input.nextLine();\n todoList.modifyTask(index, time, description, date);\n System.out.println(\"The selected task has been modified.\");\n } catch (IllegalInputException e) {\n System.err.println(\"Invalid index number entered\");\n }\n }",
"public void addTask(View view) {\n // Model of the list data\n ListModel model = ListModel.getInstance();\n\n // String for the date in \"mm/dd/yyyy\" format\n String date;\n\n // Get the name of the task\n EditText text = (EditText) findViewById(R.id.taskInput);\n String taskName = text.getText().toString();\n\n // Add list to model\n model.addTask(listName, taskName);\n\n\n // Return to the single list activity\n Log.i(TAG, \"Creating intent to return to the single list activity\");\n Intent intent = new Intent(this, SingleListActivity.class);\n intent.putExtra(Extra.LIST, listName);\n Log.i(TAG, \"Intent created with extra message (list name).\");\n Log.i(TAG, \"Starting single list activity\");\n startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\tIntent i = new Intent(note_loc.this, Task.class);\n\t\t\tstartActivity(i);\n\t\t\t}",
"@EventListener(condition = \"!#event.domainObject.new\")\n\tpublic void onApplicationEventLookForUpdate(DomainObjectStoreEvent<Task> event) {\n\t\tEditeTask editeTask = new EditeTask();\n\t\tediteTask.setId(UUID.randomUUID().toString());\n\t\tTask task = event.getDomainObject();\n\n\t\tfinal Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n\t\tfinal CustomUserDetails principal = ((CustomUserDetails) authentication.getPrincipal());\n\t\tUser cs = principal.getUser();\n\t\tif (cs.getIsAdmin()) {\n\t\t\treturn;\n\t\t}\n\n\t\tSet<String> set = task.getDirtyAttributes();\n\t\t@SuppressWarnings(\"rawtypes\")\n\t\tIterator iterator1 = set.iterator();\n\t\tList<String> list = new ArrayList<>();\n\t\twhile (iterator1.hasNext()) {\n\t\t\tlist.add((String) iterator1.next());\n\t\t}\n\n\t\tif (list.size() == 1 && list.contains(\"status\")) {\n\t\t\treturn;\n\t\t}\n\n\t\t@SuppressWarnings(\"rawtypes\")\n\t\tIterator iterator = set.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tString temp = (String) iterator.next();\n\t\t\tswitch (temp) {\n\t\t\tcase \"description\":\n\t\t\t\tediteTask.setDescription((String) task.getCurrentValue(temp).get(0));\n\t\t\t\tbreak;\n\t\t\tcase \"deadline\":\n\t\t\t\tediteTask.setDeadline((LocalDateTime) task.getCurrentValue(temp).get(0));\n\t\t\t\tbreak;\n\t\t\tcase \"type\":\n\t\t\t\tediteTask.setType((TaskType) task.getCurrentValue(temp).get(0));\n\t\t\t\tbreak;\n\t\t\tcase \"project\":\n\t\t\t\tediteTask.setProject((Project) task.getCurrentValue(temp).get(0));\n\t\t\t\tbreak;\n\t\t\tcase \"taskPerformer\":\n\t\t\t\tediteTask.setTaskPerformer((User) task.getCurrentValue(temp).get(0));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tediteTask.setTaskId(task.getId());\n\t\tediteTaskRepository.save(editeTask);\n\t\tif (!cs.getIsAdmin()) {\n\t\t\ttask.setIsCheck(false);\n\t\t\ttask.setStatus(Status.CLOSED);\n\t\t} else {\n\t\t\ttask.setIsCheck(true);\n\t\t}\n\t}",
"public String taskViewForm() throws ActivityNotFoundException, Exception{\n\t\tActivityInstanceUUID aiid=new ActivityInstanceUUID(uuid);\r\n\t\tActivityInstance ai=BPMModule.getInstance().getActivityInstance(aiid);\r\n\t\ttaskInstance=new SimpleActivity();\r\n\t\ttaskInstance.setRootProcessNameOrUrl(ai.getProcessDefinitionUUID().getValue());\r\n\t\tString url=BPMUtil.getUserXPTaskUrl(ai.getProcessDefinitionUUID().getValue(), ai.getActivityDefinitionUUID().getValue(),ai.getUUID().getValue(), null,null,true,true);\r\n\t\ttaskInstance.setTaskNameOrUrl(url);\r\n\t\treturn SUCCESS;\r\n\t}",
"public void showTask(View v) {\n String taskIdStr = txtId.getText().toString();\n if (taskIdStr.isEmpty() || taskIdStr == null) {\n Toast.makeText(this, \"Please Insert task ID\", Toast.LENGTH_LONG).show();\n } else {\n try {\n int taskId = Integer.parseInt(taskIdStr);\n TaskModel taskmodel = taskManager.getTaskById(taskId);\n txtTaskName.setText(taskmodel.getTaskName());\n txtTaskDescription.setText(taskmodel.getTaskDescription());\n } catch (Exception e) {\n Toast.makeText(this, e.getMessage(), Toast.LENGTH_LONG).show();\n }\n }\n }",
"@Override\r\n\tpublic void update(ExecuteTask executeTask) {\n\t\tString sql = \"UPDATE executetask SET et_comments = ? WHERE et_id = ?\";\r\n\t\tupdate(sql,executeTask.getComments(),executeTask.getId());\r\n\t}",
"boolean updateActiveTask(Task task);",
"public void saveTask() {\r\n if (validateTask(textFieldName, textFieldDescription, textFieldDueDate, comboPriority)) {\r\n if (myTask == null) {\r\n myTask = new Task(textFieldName.getText(), textFieldDescription.getText(),\r\n LocalDate.parse(textFieldDueDate.getText()),\r\n Priority.valueOf(Objects.requireNonNull(comboPriority.getSelectedItem()).toString()));\r\n } else {\r\n myTask.setName(textFieldName.getText());\r\n myTask.setDescription(textFieldDescription.getText());\r\n myTask.setDueDate(LocalDate.parse(textFieldDueDate.getText()));\r\n myTask.setPriority(Priority.valueOf(Objects.requireNonNull(\r\n comboPriority.getSelectedItem()).toString()));\r\n }\r\n myTodo.getTodo().put(myTask.getHashKey(), myTask);\r\n todoListGui();\r\n }\r\n }",
"public void sendNotification(String task, int id) {\n NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext());\n builder.setContentTitle(\"Amigo ToDo Manager\");\n builder.setContentText(task);\n\n //Create a pending intent to attach with the notif\n Intent i = new Intent(getApplicationContext(), ToDoEditActivity.class);\n Uri todoUri = Uri.parse(ToDoContentProvider.CONTENT_URI + \"/\" + id);\n i.putExtra(ToDoContentProvider.CONTENT_ITEM_TYPE, todoUri);\n PendingIntent pIntent = PendingIntent.getActivity(getApplicationContext(), 101, i, PendingIntent.FLAG_UPDATE_CURRENT);\n builder.setContentIntent(pIntent);\n builder.setSmallIcon(R.mipmap.ic_launcher);\n builder.setAutoCancel(true);\n Notification notif = builder.build();\n\n notificationManager.notify(101, notif);\n\n }",
"TaskResponse updateTask(TaskRequest taskRequest, Long taskId);",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n String task = String.valueOf(taskEditText.getText());\n SQLiteDatabase db = OpenDB.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(AccessData.ToDoEntry.todo_title, task);\n db.insertWithOnConflict(AccessData.ToDoEntry.table,\n null,\n values,\n SQLiteDatabase.CONFLICT_REPLACE);\n db.close();\n updateUI(); /* Updating the todo list with new changes made to the database, and displaying it on screen. */\n }",
"private void updateAction(String taskId) {\n setupPrioritySpinner();\n try {\n QueryBuilder<Task, String> queryBuilder = taskDao.queryBuilder();\n taskForUpdate = taskDao.queryForFirst(queryBuilder.where().eq(Task.TASK_ID, taskId).prepare());\n mTitle.setText(taskForUpdate.getTitle());\n mDescription.setText(taskForUpdate.getDescription());\n mDate.setDate(taskForUpdate.getDate().getTime());\n mPriority.setSelection(taskForUpdate.getPriority());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void onClick(View v) {\n SQLiteDatabaseHelper db = new SQLiteDatabaseHelper(getContext());\n Task saveTask = new Task();\n saveTask.setName(view.<EditText>findViewById(R.id.taskDetailEditTextName).getText().toString());\n saveTask.setDescription(view.<EditText>findViewById(R.id.taskDetailEditTextDescription).getText().toString());\n saveTask.setId(task.getId());\n saveTask.setList_id(task.getList_id());\n db.editTask(saveTask);\n //((MainActivity) getActivity()).refreshTaskLists(1);\n //((MainActivity) getActivity()).taskListAdapter.createFragment(((MainActivity) getActivity()).listTabLayout.getSelectedTabPosition());\n\n\n getActivity().onBackPressed();\n }",
"public int updateTask(Task task) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_TASKNAME, task.getTaskName());\n values.put(KEY_STATUS, task.getStatus());\n values.put(KEY_DATE,task.getDateAt());\n\n // updating row\n return db.update(TABLE_TASKS, values, KEY_ID + \" = ?\",\n new String[] { String.valueOf(task.getId()) });\n }",
"public void createTask() {\n \tSystem.out.println(\"Inside createTask()\");\n \tTask task = Helper.inputTask(\"Please enter task details\");\n \t\n \ttoDoList.add(task);\n \tSystem.out.println(toDoList);\n }",
"public void addTask(Task task){\n SQLiteDatabase db = this.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(KEY_ID, task.getId());\n values.put(KEY_LABEL, task.getLabel());\n values.put(KEY_TIME, task.getTime());\n db.insert(TABLE_NAME, null, values);\n db.close();\n }",
"@Override\n public boolean onContextItemSelected(MenuItem item) {\n final AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo();\n final String itemId = String.valueOf(taskListView.getAdapter().getItemId(info.position));\n String itemTitle = ((Task) taskListView.getAdapter().getItem(info.position)).getTitle();\n String itemNote = ((Task) taskListView.getAdapter().getItem(info.position)).getNote();\n String itemDate = ((Task) taskListView.getAdapter().getItem(info.position)).getDate();\n String itemNotice = ((Task) taskListView.getAdapter().getItem(info.position)).getNotice();\n\n switch (item.getItemId()) {\n case 0:\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd.MM.yyyy. HH:mm\");\n SimpleDateFormat noticeFormat = new SimpleDateFormat(\"'Obavijesti me 'dd.MM.yyyy.' u 'HH:mm\");\n SimpleDateFormat outputFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm\");\n String editTaskDate = \"\";\n String editTaskNotice = \"\";\n\n try {\n editTaskDate = dateFormat.format(outputFormat.parse(itemDate.substring(0, itemDate.length() - 3)));\n editTaskNotice = noticeFormat.format(outputFormat.parse(itemNotice.substring(0, itemNotice.length() - 3)));\n } catch (ParseException e) {\n Log.w(\"date-parser\", e.getMessage());\n }\n\n SharedPreferences.Editor editor = prefs.edit();\n\n editor.putString(\"edit-task-id\", itemId);\n editor.putString(\"edit-task-title\", itemTitle);\n editor.putString(\"edit-task-note\", itemNote);\n editor.putString(\"edit-task-date\", editTaskDate);\n editor.putString(\"edit-task-notice\", editTaskNotice);\n editor.commit();\n\n int fragmentId = ((ViewGroup)(getView().getParent())).getId();\n\n getFragmentManager().beginTransaction().replace(fragmentId, new TaskEdit()).addToBackStack(null).commit();\n break;\n case 1:\n final AlertDialog.Builder alert = new AlertDialog.Builder(getActivity());\n\n alert.setTitle(\"Brisanje: \" + itemTitle);\n alert.setMessage(\"Jeste li sigurni da želite obrisati obvezu?\");\n\n alert.setNegativeButton(\"Ne\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n });\n\n alert.setPositiveButton(\"Da\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n itemForDelete = info.position;\n dataBuilder.deleteTask(itemId);\n\n dialog.dismiss();\n }\n });\n\n alert.show();\n break;\n }\n\n return super.onContextItemSelected(item);\n }",
"private void todoTaskGui(String actionTitle, Task task) {\r\n panelSelectFile.setVisible(false);\r\n panelList.setVisible(false);\r\n jframe.setTitle(actionTitle);\r\n\r\n makePanelTask();\r\n populateFromTask(actionTitle, task);\r\n assignComponents();\r\n\r\n jframe.setTitle(\"Task View\");\r\n panelTask.setBackground(Color.WHITE);\r\n panelTask.setVisible(true);\r\n }",
"private void modifyProjectTask(ActionEvent actionEvent) {\n Calendar dueDate = dueDateModel.getValue();\n String title = titleEntry.getText();\n String description = descriptionEntry.getText();\n Project parent = (Project) parentEntry.getSelectedItem();\n modifyProjectTask(title, description, parent, dueDate);\n }",
"@PostMapping(value=\"/{id}/edit\")\n public String editTask(@PathVariable(\"id\") Long id, @ModelAttribute @Valid Task task, Errors errors,\n Model model, @RequestParam Long projectId, @RequestParam Long userId) {\n task.setProject(projectService.findById(projectId));\n task.setUser(userService.findById(userId));\n\n if (errors.hasErrors()) {\n model.addAttribute(\"projects\", projectService.findAll());\n model.addAttribute(\"users\", userService.findAll());\n return EDIT_TASK_PAGE;\n }\n\n taskService.saveOne(task);\n\n return REDIRECT_TASK_PAGE;\n }",
"private void saveNewTask(int taskId, int catId) {\n Task task = new Task();\n task.setCategoryId(catId);\n task.setTaskId(taskId);\n task.setTaskContent(mTaskContent.getText().toString());\n task.setDueDate(dueDate);\n if (setReminder)\n task.setReminder(1);\n else\n task.setReminder(0);\n task.setStatus(0);\n task.setTaskTitle(mTaskTile.getText().toString());\n task.save();\n if (setReminder)\n setAlarm(task);\n }",
"public void showTaskDetail(ProntoTask prontoTask) {\n try {\n taskNameEditText.setText(prontoTask.getTitle());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try {\n taskDescriptionEditText.setText(prontoTask.getDescription());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try {\n int priority = prontoTask.getPriority();\n if (priority > 0){\n switch (priority){\n case Constants.PRIORITY_LOW:\n lowPriorityButton.setChecked(true);\n break;\n case Constants.PRIORITY_MEDIUM:\n mediumPriorityButton.setChecked(true);\n break;\n case Constants.PRIORITY_HIGH:\n highPriorityButton.setChecked(true);\n break;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try {\n String formattedDueDate = TimeUtils.getReadableDateWithoutTime(prontoTask.getReminder().getDateAndTime());\n dateTextView.setText(formattedDueDate);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try {\n String formattedDueTime = DateHelper.getTimeShort(activity, prontoTask.getReminder().getDateAndTime());\n timeTextView.setText(formattedDueTime);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n try {\n onFolderSelected(currentTask.getFolder());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n //Show Tags assigned to this prontoTask\n if (currentTask.getTags() != null && currentTask.getTags().size() > 0){\n String tagText = \"\";\n for (ProntoTag prontoTag : currentTask.getTags()){\n tagText = tagText + \"#\" + prontoTag.getTagName() + \", \";\n }\n tagsTextView.setText(tagText);\n tagsTextView.setTextColor(ContextCompat.getColor(activity, R.color.primary_dark));\n tagsTextView.setTypeface(tagsTextView.getTypeface(), Typeface.BOLD);\n }\n }",
"public void onPressEdit() {\r\n Intent intent = new Intent(this, CreateEventActivity.class);\r\n intent.putExtra(CreateEventActivity.EXTRA_EDIT_EVENT_UID, event.uid);\r\n startActivity(intent);\r\n }",
"public void ShowTaskListForm(View view)\n // //onClick ButtonNewTask\n {\n Log.d(\"CEGG\", \"click ShowTaskListForm\");\n\n // //Explicit intent to start\n Intent intent = new Intent(\n getApplicationContext(), TaskListActivity.class);\n startActivity(intent);\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(NoteListActivity.this,\r\n\t\t\t\t\t\tEditNoteActivity.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}",
"public void createNewTask(View view) {\n try{\n newTaskLayout.checkTaskLayoutIsValid();\n ImageView taskImage = (ImageView) findViewById(R.id.imageViewBoard);\n String layoutImagePath = takeScreenshot(taskImage);\n newTaskLayout.setImagePath(layoutImagePath);\n\n // save new task\n HashMap<String, Integer> instructions = convertSpinnersToHashMap();\n Task newTask = new Task(newTaskLayout, instructions);\n Task.saveTask(getApplicationContext(), newTask);\n\n // alert user task created and return to task menu.\n Toast.makeText(this, \"new task created\", Toast.LENGTH_LONG).show();\n startActivity(new Intent(getApplicationContext(), TaskOptionsActivity.class));\n } catch (TaskLayoutException | InstructionsRequiredException e) {\n // layout was not valid on insufficient instructions set.\n makeMessageDialogue(e.getMessage());\n }\n }",
"private void saveNote() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"E,MMM d, hh:mm a\");\n String lastSavedDate = sdf.format(new Date());\n String id;\n boolean isNew = true;\n if (oldNote != null && oldNote.getId() != null && !oldNote.getId().isEmpty()) {\n id = oldNote.getId();\n isNew = false;\n } else\n id = UUID.randomUUID().toString();\n Note note = new Note(id, etTitle.getText().toString().trim(), lastSavedDate, etNote.getText().toString().trim());\n note.setNew(isNew);\n Intent returnIntent = new Intent();\n returnIntent.putExtra(\"NEW_NOTE\", note);\n setResult(Activity.RESULT_OK, returnIntent);\n finish();\n }",
"public void setTask(Task task) {\n this.task = task;\n }",
"boolean setTask(UUID uuid, IAnimeTask task);",
"String addTask(Task task);",
"public void edit_task_description(String description)\n {\n task_description = description;\n }",
"void onNewTaskComplete(String name, String notes, int position);",
"@Override\n public void onClick(View v) {\n titleTask = txtTitle.getText().toString();\n descriptionTask = txtDescription.getText().toString();\n locationTask = txtLocation.getText().toString();\n\n\n //Also set the code to add the object to the server,\n //It should call getInfo() which will store all of the inputs into strings or ints\n\n\n //This checks to make sure the input is valid, if not will not allow the user to save to database\n if (dayPass == 0 || monthPass == 0 || yearPass == 0 || titleTask == null || descriptionTask == null || startMinute == 0 || startHour == 0)\n Toast.makeText(AddTask.this, \"Incorrect input, please try again\", Toast.LENGTH_SHORT).show();\n else {\n if(MainActivity.groupview)\n MainActivity.dh.writeTask(MainActivity.user.getUserID(), MainActivity.group.getGroupID(), new Task(dayPass, monthPass, yearPass, startHour, startMinute, categoryTask, titleTask, descriptionTask, locationTask, false, MainActivity.user));\n else\n MainActivity.dh.writeTask(MainActivity.user.getUserID(), \"\", new Task(dayPass, monthPass, yearPass, startHour, startMinute, categoryTask, titleTask, descriptionTask, locationTask, false, MainActivity.user));\n //MainActivity.dh.readBlock(MainActivity.user.getUserID(), \"\", \"04202019\");\n Toast.makeText(AddTask.this, \"Task saved to your calendar\", Toast.LENGTH_LONG).show();\n Intent intentHome = new Intent(AddTask.this,\n MainActivity.class);\n startActivity(intentHome);\n }\n\n }",
"public void onClick(View v) {\n Task task = new Task();\n task.setTask_id(key); // Use the generated key from the database as id.\n task.setMessage(editText.getText().toString());\n String rating = spinner.getSelectedItem().toString();\n task.setPriority(rating);\n\n // we need to convert our model into a Hashmap since Firebase cannot save custom classes.\n // String/ArrayList/Integer and Hashmap are the only supported types.\n Map<String, Object> childUpdates = new HashMap<>();\n childUpdates.put( key, task.toFirebaseObject());\n\n database.child(\"users\").child(currentUserID).child(\"taskList\").updateChildren(childUpdates, new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if (databaseError == null) {\n // Return to previous activity\n finish();\n }\n }\n });\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n String task = String.valueOf(taskEditText.getText());\n\n //a read/write database object will be returned\n SQLiteDatabase db = dbHelper.getWritableDatabase();\n\n //used to store a set of values\n ContentValues values = new ContentValues();\n\n //add the task to the set\n values.put(TaskContract.TaskEntry.COL_TASK_TITLE, task);\n\n //general method for inserting a row into the database\n db.insertWithOnConflict(TaskContract.TaskEntry.TABLE,\n null,\n values,\n SQLiteDatabase.CONFLICT_REPLACE);\n db.close(); //close the database object\n updateUI(); //update the look of the ListView\n }",
"public void addTask(Task task) {\n\t\tSystem.out.println(\"Inside createTask()\");\n\t\t\n\t\ttoDoList.add(task);\n\t\tdisplay();\n\t}",
"public void setTask(Task inTask){\n punchTask = inTask;\n }",
"public void addNewTask() {\n Intent i = new Intent(this, StartNewActivity.class);\n startActivityForResult(i, REQUEST_CODE);\n }",
"public void ShowNewTaskForm(View view)\n // //onClick ButtonNewTask\n {\n Log.d(\"CEGG\", \"click ButtonNewTask\");\n\n // //Explicit intent to start\n Intent intent = new Intent(\n getApplicationContext(), NewTaskFormActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n if (TextUtils.isEmpty(editText.getText().toString())){\n Toast.makeText(getContext(), \"Enter note!\", Toast.LENGTH_SHORT).show();\n return;\n } else {\n alertDialog.dismiss();\n }\n\n // check if user updating note\n\n if (shouldUpdate && note != null){\n // update note by it's id\n note.setNote(editText.getText().toString());\n updateNote(note, position);\n } else {\n // create new note\n //createNote(editText.getText().toString());\n }\n }",
"@Test\n void editTask() {\n }",
"@Override\n public void onClick(View v) {\n if (AppUtils.isEmptyString(edtNoteTitle.getText().toString())) {\n Toast.makeText(MainActivity.this, \"Enter note!\", Toast.LENGTH_SHORT).show();\n return;\n } else {\n alertDialog.dismiss();\n }\n\n final String noteTitle = edtNoteTitle.getText().toString();\n final String noteDes = edtNoteDes.getText().toString();\n // check if user updating note\n if (shouldUpdate && todo != null) {\n // update note by it's id\n updateNote(todo.getTodoId(), noteTitle, noteDes, position);\n } else {\n // create new note\n createNote(noteTitle, noteDes, mUserId);\n }\n }",
"public void createTask()\n {\n boolean copy = false;\n if(check.checkTask(taskName.getText()))\n {\n // Go through list and make sure task isnt already there\n // If there is one already in list, then tell user there it is on list\n if(!(Item.getToDoList().isEmpty()))\n {\n for(Item task : Item.getToDoList())\n {\n if(task.getTask().equals(taskName.getText()))\n {\n status.setText(\"Task is already on the list. \");\n copy = true;\n }\n }\n\n if(!copy)\n {\n // If not copy, add the task to the list by calling method\n addTaskAndDisplay(taskName.getText(), completionDate.getText(), taskCompletedCheckBox.isSelected());\n }\n }\n\n // If list is empty, then no need to check if task is copy\n else\n {\n addTaskAndDisplay(taskName.getText(), completionDate.getText(), taskCompletedCheckBox.isSelected());\n }\n\n }\n\n // If task is invalid, alert user\n else\n {\n status.setText(\"Task invalid. Try again. \");\n }\n\n }",
"public void addTask(View v) {\n int taskId = Integer.parseInt(txtId.getText().toString());\n String tskName = txtTaskName.getText().toString();\n String taskDesc = txtTaskDescription.getText().toString();\n ContentValues values = new ContentValues();\n values.put(\"taskId\", taskId);\n values.put(\"taskName\", tskName);\n values.put(\"taskDescription\", taskDesc);\n try {\n taskManager.addTask(values);\n Toast.makeText(this, \"Data Inserted\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n Toast.makeText(this, e.getMessage(), Toast.LENGTH_LONG).show();\n }\n }",
"public void saveClicked(View actionView)\n {\n \t//If ID is empty it is a new Task\n \tif( taskId.getText().length() > 0 )\n \t{\n \t\tupdateTask();\n \t}\n \t//If ID exists it is updating an existing task\n \telse\n \t{\n \t\tnewTask();\n \t}\n }",
"public void addNewNote(MenuItem item){\n \t\tIntent intent = new Intent(this, ActivityNote.class);\n \t\tstartActivity(intent);\n \t}",
"private void switchBetweenAddEdit() {\n String uid = getIntent().getStringExtra(NOTE_UID);\n if (uid != null) {\n\n Objects.requireNonNull(getSupportActionBar()).setTitle(R.string.edit_note);\n\n Note note = Arrays.stream(firebase.getNotes().getValue()).filter(note1 -> uid.equals(note1.getUid())).findFirst().get();\n\n Calendar cal = Calendar.getInstance();\n cal.setTime(note.getDate());\n\n date.init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null);\n title.setText(note.getTitle());\n body.setText(note.getBody());\n\n addBtn.setVisibility(View.GONE);\n editBtnsLyot.setVisibility(View.VISIBLE);\n\n saveBtn.setOnClickListener(view -> {\n prepareNote(note1 -> {\n note1.setUid(uid);\n setNoteOnFirebaseManager(note1, true);\n });\n });\n\n deleteBtn.setOnClickListener(view -> {\n deleteNoteOnFirebaseManager(note);\n });\n }\n\n addBtn.setOnClickListener(view -> {\n prepareNote(note -> {\n setNoteOnFirebaseManager(note, false);\n });\n });\n }",
"void onTaskEdited() {\n mNavigationProvider.finishActivity();\n }",
"public void AddTaskToDB(View view){\n\t\tif (TASK_CREATED == true){\n\t\t\tString name = taskName.getText().toString();\n\t\t\tString desc = taskDescription.getText().toString();\n//\t\t\tlong millisecondsToReminder = 0;\n\t\t\tlong millisecondsToCreated = 0;\n//\t\t\tyear = taskDatePicker.getYear();\n//\t\t\tmonth = taskDatePicker.getMonth() + 1;\n//\t\t\tday = taskDatePicker.getDayOfMonth();\n//\t\t\thour = taskTimePicker.getCurrentHour();\n//\t\t\tminute = taskTimePicker.getCurrentMinute();\n\t\t\ttry {\n\t\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\t\tDate dateCreated = cal.getTime();\n\t\t\t\tmillisecondsToCreated = dateCreated.getTime();\n//\t\t\t\tString dateToParse = day + \"-\" + month + \"-\" + year + \" \" + hour + \":\" + minute;\n//\t\t\t\tSimpleDateFormat dateFormatter = new SimpleDateFormat(\"d-M-yyyy hh:mm\");\n//\t\t\t\tDate date = dateFormatter.parse(dateToParse);\n//\t\t\t\tmillisecondsToReminder = date.getTime();\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} // You will need try/catch around this\n\n\t\t\tBujoDbHandler taskHandler = new BujoDbHandler(view.getContext());\n\t\t\tcurrentTask = new Task(name, desc, millisecondsToCreated);\n\t\t\ttaskHandler.addTask(currentTask);\n\t\t}\n\t}",
"public void startImportant(View view) {\n\n startActivity(new Intent(this, ImportantNotes.class));\n\n }",
"private Integer saveTask(Integer taskid,String taskname,String tasktype,String taskcontent,\r\n\t\t\tString taskcomment){\n\t\treturn 1;\r\n\t}",
"public void onTaskButtonClick(View view);",
"public void marksEdit(View view) {\n Intent intent = new Intent(getApplicationContext(), InsertingAtten.class);\n intent.putExtra(\"STATUS\", \"edit\");\n intent.putExtra(\"SEMESTER\", semester);\n intent.putExtra(\"SECTION\", section);\n intent.putExtra(\"COURSEID\", courseId);\n intent.putExtra(\"DEPARTMENT\", department);\n intent.putExtra(\"SERIES\", series);\n startActivity(intent);\n }",
"public void addCommandMutable(ListItem task) {\n this.listItems.add(task);\n }",
"ITaskView getTaskView();",
"public void addTask(View v) {\n EditText field = (EditText) findViewById(R.id.list_edittext);\n String task = field.getText().toString().trim();\n\n // Do not add empty tasks\n if(!task.equals(\"\")) {\n database.addTask(task);\n field.setText(\"\");\n Toast.makeText(this, String.format(getResources().getString(R.string.list_add_toast),\n task), Toast.LENGTH_LONG).show();\n }\n }",
"@Override\r\n\tpublic void save(ExecuteTask executeTask) {\n\t\tString sql = \"INSERT INTO executetask(et_member_id,et_task_id,et_comments) VALUES(?,?,?)\";\r\n\t\tupdate(sql,executeTask.getMemberId(),executeTask.getTaskId(),executeTask.getComments());\r\n\t}",
"void saveTask( org.openxdata.server.admin.model.TaskDef task, AsyncCallback<Void> callback );",
"public static void updateTask( String Tasks[], int lastTask) {\n System.out.println(\"Enter the number (index) of the task to be updated:\");\n java.util.Scanner scanner = new java.util.Scanner(System.in);\n String numberAsString = scanner.nextLine();\n int taskIndex = Integer.parseInt(numberAsString); // Convert string to a integer\n if ( taskIndex > lastTask ) // Check to see if the index is valid\n System.out.println(\"There is not a task at that index\");\n else { // Get the new task description\n System.out.println(\"Enter a new description for the task:\");\n String newTask = scanner.nextLine();\n Tasks[taskIndex] = newTask;\n }\n }",
"private void doAddTask() {\n System.out.println(\n \"Kindly enter the time, description and date of the task you would like to add on separate lines.\");\n String time = input.nextLine();\n String description = input.nextLine();\n String date = input.nextLine();\n todoList.addTask(new Task(time,description,date));\n System.out.println(time + \" \" + description + \" \" + date + \" \" + \"has been added.\");\n }",
"@Override\n\t\tprotected String doInBackground(Task... arg0) {\n\t\t\tString taskID = TfTaskRepository.addTask(arg0[0], \n\t\t\t getApplicationContext());\n\t\t\t\n\t\t\ttaskID = taskID + \"\\n\";\n\t\t\t\n\t\t\t//saving the ID local\n\t\t\tlt.saveTaskId(taskID, getApplicationContext());\n\t\t\t\n\t\t\treturn null;\n\t\t}",
"private void populateFromTask(String actionTitle, Task task) {\r\n if (task == null || actionTitle.equals(\"Create\")) {\r\n myTask = null;\r\n return;\r\n }\r\n myTask = task;\r\n }",
"private void updateNote(int noteId, final String noteTitle, final String noteDescription, final int position) {\n mDispose.add(\n AppConfig.getApiClient().updateNote(noteId, noteTitle, noteDescription)\n .subscribeOn(Schedulers.io())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribeWith(new DisposableCompletableObserver() {\n @Override\n public void onComplete() {\n Toast.makeText(MainActivity.this, \"Updated\", Toast.LENGTH_SHORT).show();\n\n ToDo toDo = toDoList.get(position);\n toDo.setName(noteTitle);\n toDo.setDescription(noteDescription);\n\n mAdapterNote.notifyItemChanged(position);\n }\n\n @Override\n public void onError(Throwable e) {\n showError(e);\n }\n })\n );\n }",
"public ToDoTask(String description, int id) {\n super(description, id);\n }",
"@POST\n @Consumes(MediaType.APPLICATION_JSON)\n public void newEmployee(String task) {\n Employee employee = new Employee(\"Bruno\");\n employeeService.updateTask(employee);\n }",
"void refreshTaskInformation();",
"private void showUpdateDialog(final Task task, final int position){\n final Dialog dialog = new Dialog(context);\n dialog.setContentView(R.layout.dialog_update_task);\n dialog.setTitle(\"Update Task\");\n\n final TextView edt_task = (TextView) dialog.findViewById(R.id.edt_task);\n final Spinner spinner_status = (Spinner) dialog.findViewById(R.id.spinner_status);\n\n Button btn_update_task = (Button) dialog.findViewById(R.id.btn_update_task);\n Button btn_cancel = (Button) dialog.findViewById(R.id.btn_cancel);\n\n\n dialog.show();\n\n btn_cancel.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n dialog.dismiss();\n }\n });\n\n btn_update_task.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String new_task = edt_task.getText().toString();\n int id = spinner_status.getSelectedItemPosition();\n if(new_task.trim().equalsIgnoreCase(task.getTask().trim())){\n Toast.makeText(context, \"task and status are same.\", Toast.LENGTH_SHORT).show();\n }else if(id == 0){\n Toast.makeText(context, \"Select a valid status.\", Toast.LENGTH_SHORT).show();\n }else {\n dialog.dismiss();\n updateTask(task.getId(), new_task, \"\"+id, position);\n }\n }\n });\n }",
"@Test\n @Order(3)\n public void editTaskTest(){\n TaskDTO taskDTO1 = new TaskDTO();\n taskDTO1.setName(\"First task\");\n taskDTO1.setDescription(\"Description of First Task\");\n taskDTO1.setTime(LocalTime.of(1,1));\n taskDTO1.setDate(LocalDate.of(2020, 3, 10));\n taskService.addTask(taskDTO1);\n\n //Setup of second task\n TaskDTO taskDTO2 = new TaskDTO();\n taskDTO2.setName(\"Second task\");\n taskDTO2.setDescription(\"Description of Second Task\");\n taskDTO2.setTime(LocalTime.of(2,2));\n taskDTO2.setDate(LocalDate.of(2020, 3, 11));\n\n //method to be tested\n taskService.replaceTask(4L,taskDTO2);\n Task task = taskService.getTasks().get(4L);\n\n //checks\n assertEquals(task.getName(), \"Second task\");\n assertEquals(task.getDescription(), \"Description of Second Task\");\n assertEquals(task.getDate(), LocalDate.of(2020, 3, 11));\n assertEquals(task.toString(),\"Task{id=4, name='Second task', description='Description of Second Task', date=2020-03-11, time=02:02, subTasks=[]}\");\n }",
"@Override\r\n\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\t Intent intent = new Intent(TaskPackageActivity.this, ViewerActivity.class); //跳转至列表页\r\n\t\t\t \t // 传入参数—— db数据库地址,任务ID,用户ID(任务执行人)\r\n\t\t\t\t\t\t Bundle bundle = new Bundle();\r\n\t\t\t\t\t\t String taskpath = taskinfolist.get(position).filepath;\r\n\t\t\t\t\t\t String tasppackagename = taskinfolist.get(position).filename;\r\n\t\t\t\t\t\t //修改 提示 taskID,现在视为 坐标系wkid\r\n\t\t\t\t\t\t bundle.putInt(\"taskID\", taskinfolist.get(position).id);\r\n\t\t\t\t\t\t //bundle.putInt(\"userID\", taskinfolist.get(position).executor_id);//执行人ID\r\n\t\t\t\t\t\t bundle.putString(\"taskpath\", taskpath);//数据库地址\r\n\t\t\t\t\t\t bundle.putString(\"tasppackagename\", tasppackagename);//数据库名称\r\n\t\t\t\t\t\t intent.putExtras(bundle);\r\n\t\t\t\t\t\t TaskPackageActivity.this.startActivity(intent);\r\n\t\t\t\t\t}",
"public void createTask(Task task) {\n ContentValues values = new ContentValues();\n values.put(SQLiteHelper.COLUMN_NAME, task.getName());\n database.insert(SQLiteHelper.TABLE_TASKS, null, values);\n }",
"boolean updateTask(Task updatedTask);",
"public Todo(String task) {\n super(task);\n }",
"void openNote(Note note, int position);",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.action_add_task:\n final EditText taskEditText = new EditText(this);\n /* Adding an alert dialog box to get task from the user when the 'Add' button of menu item is clicked */\n AlertDialog dialog = new AlertDialog.Builder(this)\n .setTitle(\"Make a To-Do\")\n .setMessage(\"What would you like to add?\")\n .setView(taskEditText)\n .setPositiveButton(\"Add\", new DialogInterface.OnClickListener() {\n /* Getting input from user when 'Add' button is clicked. And, storing it inside database */\n @Override\n public void onClick(DialogInterface dialog, int which) {\n String task = String.valueOf(taskEditText.getText());\n SQLiteDatabase db = OpenDB.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(AccessData.ToDoEntry.todo_title, task);\n db.insertWithOnConflict(AccessData.ToDoEntry.table,\n null,\n values,\n SQLiteDatabase.CONFLICT_REPLACE);\n db.close();\n updateUI(); /* Updating the todo list with new changes made to the database, and displaying it on screen. */\n }\n })\n .setNegativeButton(\"Cancel\", null)\n .create();\n dialog.show();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"public void add(View view) {\n Intent addIntent = new Intent(this, AddTask.class);\n addIntent.putExtra(\"com.example.joshua.livetogether.aptID\", mAptID);\n startActivity(addIntent);\n }",
"TaskDetail(int setTask, Integer setDescription, boolean isBasicControl, boolean canRepeat) {\n task = setTask;\n description = setDescription;\n basicControl = isBasicControl;\n canBeRepeated = canRepeat;\n }",
"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (resultCode == RESULT_OK && requestCode == REQUEST_CODE) {\n\n int position = data.getExtras().getInt(\"editPos\");\n\n Task task = items.get(position);\n task.taskName = data.getExtras().getString(\"updatedText\");\n\n if (DEBUG) {\n Toast.makeText(this, task.taskName, Toast.LENGTH_SHORT).show();\n }\n\n db.updateTask(task);\n\n items.remove(position);\n items.add(position, task);\n\n taskAdapter.notifyDataSetChanged();\n }\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(MainActivity.this, CreateNoteActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onClick(View view) {\n\n startActivity(new Intent(MainActivity.this,InsertNotesActivity.class));\n }",
"public void editEntry(int entryIndex, String toDoItem) {\n\t\ttoDoList.get(entryIndex).setToDoItem(toDoItem);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch(item.getItemId()) {\n\n case R.id.menumain_addTask:\n //calling taskEditRequest() method and passing null parameter\n taskEditRequest(null);\n break;\n case R.id.menumain_duration:\n break;\n case R.id.menumain_about:\n break;\n case R.id.menumain_settings:\n break;\n case R.id.menumain_generate:\n break;\n default:\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"public void setTaskID(java.lang.Object taskID) {\n this.taskID = taskID;\n }"
] | [
"0.7761471",
"0.73421365",
"0.7065456",
"0.67948544",
"0.6669262",
"0.6598041",
"0.6567532",
"0.6499476",
"0.64868444",
"0.64619493",
"0.63162136",
"0.6312764",
"0.63101757",
"0.6270785",
"0.62401175",
"0.6228549",
"0.6225071",
"0.6171614",
"0.61698574",
"0.615636",
"0.6113945",
"0.6069873",
"0.60530037",
"0.6026701",
"0.60060513",
"0.5995374",
"0.5990594",
"0.59815264",
"0.5978556",
"0.59691536",
"0.5953428",
"0.59491795",
"0.594251",
"0.5933",
"0.59254307",
"0.5897917",
"0.58641386",
"0.5856103",
"0.58535147",
"0.58390266",
"0.58364093",
"0.58291173",
"0.582281",
"0.5810456",
"0.57960963",
"0.57960576",
"0.578959",
"0.5784381",
"0.578289",
"0.5774907",
"0.5769207",
"0.5766899",
"0.573928",
"0.57323784",
"0.57251394",
"0.57119447",
"0.57062894",
"0.5703352",
"0.57017916",
"0.56993777",
"0.56775355",
"0.56516385",
"0.5651137",
"0.5646196",
"0.5641024",
"0.5638816",
"0.5634082",
"0.56317014",
"0.5627634",
"0.5587219",
"0.558607",
"0.5586044",
"0.5583069",
"0.5578996",
"0.5571809",
"0.5568272",
"0.5559526",
"0.5558265",
"0.555624",
"0.55545264",
"0.55527884",
"0.5547359",
"0.55386174",
"0.55369806",
"0.5534662",
"0.55344373",
"0.5531369",
"0.55309916",
"0.5528672",
"0.5516362",
"0.5514133",
"0.5513114",
"0.55117536",
"0.55067456",
"0.5506401",
"0.55047625",
"0.5503264",
"0.5502792",
"0.54936576",
"0.5492919"
] | 0.6271294 | 13 |
Open a dialog when long press on app | private void openDialog(final int position) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("Que voulez-vous faire ?");
if (this.printedTasks.get(position).getUrl() != null && this.printedTasks.get(position).getUrl().matches("https?://(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)")) {
String[] actions = {"Modifier", "Supprimer", "Ouvrir l'URL"};
builder.setItems(actions, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
System.out.println(which);
switch (which) {
case 0:
dialog.dismiss();
editElement(position);
break;
case 1:
dialog.dismiss();
removeElement(position);
break;
case 2:
dialog.dismiss();
openWebview(position);
break;
}
}
});
} else {
String[] actions = {"Modifier", "Supprimer"};
builder.setItems(actions, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
System.out.println(which);
switch (which) {
case 0:
dialog.dismiss();
editElement(position);
break;
case 1:
dialog.dismiss();
removeElement(position);
break;
}
}
});
}
AlertDialog dialog = builder.create();
dialog.show();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public boolean onLongClick(int x, int y, int pointer, int button) {\r\n return true;\r\n }",
"@Override\n public boolean onLongClick(View view) {\n view.setOnTouchListener(new AppTouchListener());\n return false;\n }",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tonQuickLauncherLongClick(v);\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\n public boolean onLongClick(View view) {\n mDialog.showTextViewId(getId());\n //show width in dialog\n mDialog.showTextViewWidth(getWidth());\n //show height in dialog\n mDialog.showTextViewHeight(getHeight());\n //show bind view id in dialog\n mDialog.showBindViewId(mBindViewId);\n //set position of color spinner\n mDialog.showSpinnerColor(mColorPos);\n //show dialog\n mDialog.show();\n return false;\n }",
"public void onLongPress(MotionEvent ev) {\n mDismissOverlay.show();\n }",
"@Override\n public boolean onLongClick(View view) {\n return true;\n }",
"@Override\n public boolean onLongClick(View view) {\n return true;\n }",
"@Override\n protected void handleLongClick() {\n }",
"@Override\n public void onLongClick(View view, int position) {\n showActionsDialog(position);\n }",
"@Override\n\t\tpublic boolean OnLongClick(View view, int time) {\n\t\t\treturn false;\n\t\t}",
"@Override\n\t\tpublic boolean OnLongClick(View view, int time) {\n\t\t\treturn false;\n\t\t}",
"public boolean onLongClick(View v) {\n Intent intent = EditFoodActivity.newIntent(getActivity(), mFood.getFoodId(), mFood.getType());\n startActivityForResult(intent, REQUEST_EDIT_FOOD);\n return true;\n }",
"@Override\n\tpublic void onLongPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n public void onLongClick(String date, String time) {\n }",
"@Override\n\tpublic void onLongPress(MotionEvent arg0) {\n\n\t}",
"@Override\n public void onLongClick(String date, String time) {\n\n }",
"@Override\r\n\tpublic void onLongPress(MotionEvent arg0) {\n\t\t\r\n\t}",
"public boolean onLongClick(View view) {\n\t\t\t\tif (mActionMode != null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\t// Start the CAB using the ActionMode.Callback defined above\n\t\t\t\tmActionMode = ActionBarTutorialActivity.this\n\t\t\t\t\t\t.startActionMode(mActionModeCallback);\n\t\t\t\t//view.setSelected(true);\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\n public void onLongPress(MotionEvent e) {\n\n }",
"@Override\n public void onLongPress(MotionEvent e) {\n }",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n public void onLongClick() {\n showAgendaView();\n }",
"@Override\n public void onLongPress(MotionEvent e) {}",
"@Override\r\n public void onLongPress(MotionEvent e)\r\n {\n }",
"@Override\n\t\tpublic void onLongPress(MotionEvent e) {\n\t\t\t\n\t\t}",
"@Override\n public boolean onLongClick(View v) {\n Intent i = new Intent(context, PublicationActivity.class);\n i.putExtra(MainDrawerActivity.ACTION_OPEN_PUBLICATION,MainDrawerActivity.OPEN_EDIT_PUBLICATION);\n i.putExtra(Publication.PUBLICATION_KEY,publication);\n context.startActivity(i);\n return true;\n }",
"@Override\n public void onLongPress(MotionEvent e) {\n }",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\n\t}",
"@Override\r\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void onLongPress(MotionEvent e) {\n\t\t\r\n\t}",
"@Override\n public void onLongPress(MotionEvent e) {\n\n }",
"@Override\n\t\t\t\tpublic void onLongPress(MotionEvent e) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\r\n\tpublic void onLongPress(MotionEvent e) {\n\t\tSystem.out.println(\"longpress\");\r\n\t\t\r\n\t}",
"@Override\n public void onLongPress(MotionEvent e) {\n\n }",
"@Override\n\t\t\tpublic void onLongPress(MotionEvent arg0)\n\t\t\t{\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic boolean longPress(float x, float y) {\n\t\treturn false;\n\t}",
"@Override\r\n\t\tpublic boolean onLongClick(View arg0) {\n\t\t\tpassword = \"\";\r\n\t\t\tfinal View layout = LayoutInflater.from(UITable.this).inflate(\r\n\t\t\t\t\tR.layout.addition, null);\r\n\t\t\ttv = (TextView) layout.findViewById(R.id.addition_TextView1);\r\n\t\t\tAlertDialog.Builder builder = new AlertDialog.Builder(UITable.this);\r\n\t\t\tbuilder.setTitle(res.getText(R.string.tape_password)).setView(\r\n\t\t\t\t\tlayout);\r\n\t\t\tdialog2 = builder.show();\r\n\t\t\treturn true;\r\n\t\t}",
"@Override\n\t\tpublic boolean onLongClick(View arg0) {\n \t\tshowSave(BOTTOM);\n\t\t\treturn true;\n\t\t}",
"@Override\r\n\t\tpublic boolean onItemLongClick(AdapterView<?> parent, View v,int position, long id) {\n\t\t\tif(!speechFlags[position]&&!subtitleFlags[position])\r\n\t\t\t\treturn false;\r\n\t\t\tmanageItemIndex=position;\r\n\t\t\tmQuickAction.show(v);\r\n\t\t\tGaLogger.sendEvent(\"ui_action\", \"show_dialog\", \"quick_action_menu\", null);\r\n\t\t\t//itemManageDialog=getItemManageDialog(position);\r\n\t\t\t//itemManageDialog.show();\r\n//\t\t\tif(!wakeLock.isHeld()){wakeLock.acquire();}\r\n\t\t\treturn true;\r\n\t\t}",
"@Override\n public boolean onLongClick(View v) {\n Toast.makeText(context.getApplicationContext(), album.getTitle().toString(), Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(context, MainActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(intent);\n return true;\n }",
"@Override\r\n\t public boolean longClick() {\n\t return LongClick();\r\n\t }",
"@Override\n public boolean onLongClick(View view) {\n return false;\n }",
"@Override\n public void onLongClick(int position) {\n log(\"Long Pressed\" + position);\n enableActionMode(position);\n }",
"@Override\n\t\tpublic boolean onLongClick(View arg0) {\n \t\tshowSave(TOP); \n\t\t\treturn true;\n\t\t}",
"public void onLongClick(View v, Photo photo);",
"@Override\r\n\tpublic boolean onLongClick(View v) {\n\t\tif (mAction != null) {\r\n\t\t\treturn mAction.onContentLongClick(v);\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"@Override\n public void onLongPress(MotionEvent e) {\n Log.d(TAG, \"onLongPress\");\n }",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tToast.makeText(context, \"Create new Activity for \"+v.getTag().toString(), Toast.LENGTH_LONG).show();\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\n public boolean onLongClick(View v) {\n buttonPressed = 0;\n switch (v.getId()) {\n case R.id.button01:\n buttonPressed = 1;\n break;\n\n case R.id.button02:\n buttonPressed = 2;\n break;\n\n }\n showTask(launcherTitle, taskDescription[buttonPressed - 1],\n launcherIcon, this);\n return true;\n }",
"@Override\n public boolean onLongClick(View v)\n {\n return false;\n }",
"@Override\n \t\t\tpublic boolean onLongClick(View v) {\n \t\t\t\t((InputMethodManager) getContext().getSystemService(\n \t\t\t\t\t\tContext.INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(\n \t\t\t\t\t\tgetWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);\n \t\t\t\tIntent intent = new Intent(Intent.ACTION_SEND);\n \t\t\t\tintent.setType(\"audio/*\");\n \t\t\t\tintent.putExtra(Intent.EXTRA_TITLE, \"Share my note...\");\n \t\t\t\tintent.putExtra(Intent.EXTRA_TEXT, mNoteItemModel.getContent());\n \t\t\t\tUri uri = mNoteItemModel.getAudioUri();\n \t\t\t\tintent.putExtra(Intent.EXTRA_STREAM, uri);\n \t\t\t\tgetContext().startActivity(\n \t\t\t\t\t\tIntent.createChooser(intent, \"Share audio\"));\n \t\t\t\treturn false;\n \t\t\t}",
"@Override\n\tpublic boolean onLongClick(View v) {\n\t\treturn false;\n\t}",
"@Override\n public void onLongClick(View view, int position) {\n }",
"@Override\r\n public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {\n mActionMode = MainActivity.this.startActionMode(MainActivity.this);\r\n toggleViewSelection(view, id, position);\r\n return true;\r\n }",
"public boolean LongClick() {\r\n\t return EventDispatcher.dispatchEvent(this, \"LongClick\");\r\n\t }",
"public abstract void executeLongPressListView(PokemonApp app, Activity context, int pos);",
"@Override\n public void onLongPress(MotionEvent event) {\n PickNavigateController.this.onLongPressHandler(event);\n }",
"public void onClick(DialogInterface dialog, int id) {\n Constants.APP_UPDATE_FLAG = true;\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"market://details?id=in.org.klp.ilpkonnect\"));\n startActivity(intent);\n }",
"@Override\n public boolean onDown(MotionEvent e) {\n Intent intent = getIntent();\n finish();\n startActivity(intent);\n// Toast.makeText(MainActivity.this, \"down event\", Toast.LENGTH_SHORT).show();\n// AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);\n// builder.setTitle(\"event down\");\n// builder.setMessage(\"this is neat\");\n// AlertDialog dialog = builder.create();\n// dialog.show();\n return true;\n }",
"public void longPress(int x, int y) {\n TouchAction touch = new TouchAction((MobileDriver) getDriver());\n PointOption pointOption = new PointOption();\n pointOption.withCoordinates(x, y);\n touch.longPress(pointOption).release().perform();\n info(\"Long press successful on coordinates: \" + \"( \" + x + \",\" + y + \" )\");\n\n }",
"@Override\n\tpublic void onLongPress(MotionEvent e) {\n\t\tstr.add(\"longpress\");\n\t\ttext1.setText(str.toString());\n\t\tLog.d(\"long\",\"longpress\");\n\t}",
"@Override\n\t\t\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\tint arg2, long arg3) {\n\t\t String message = \"Long Click Performed\";\n\t\t Toast.makeText(AddExpense.this, message,\n\t\t Toast.LENGTH_LONG).show();\n\n\t\t\t\t\treturn true;\n\t\t\t\t}",
"@Override\n public boolean onItemLongPress(int arg0, OverlayItem arg1) {\n return false;\n }",
"@Override\n public boolean onItemLongClick(AdapterView<?> arg0, View view,\n int pos, long id) {\n\n showPopupMenu(view, pos, id);\n\n return true;\n }",
"@Override\r\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tmStep = READ_BAGLOACK;\r\n\t\t\t\thaveTaskRunning = false;\r\n\t\t\t\tinitUi();\r\n\t\t\t\treturn true;//事件拦截\r\n\t\t\t}",
"public boolean onLongClick(View v){\n lionPic.startAnimation(lionAnim);\n // Play the roar\n sm.playRoar();\n return true;\n }",
"@Override\n\tpublic boolean onLongClick(View view) {\n\t\t/* Set up the drag */\n\t\tClipData clipData = ClipData.newPlainText(\"\", \"\");\n\t\tDragShadowBuilder shadowBuilder = new View.DragShadowBuilder(view);\n\t\t\n\t\t/* Start dragging the item touched */\n\t\tview.startDrag(clipData, shadowBuilder, view, 0);\n\t\treturn true;\n\t}",
"@Override\n public boolean onLongClick(View v) {\n final List<PvPEvent> events;\n switch (v.getId()) {\n case R.id.event_current:\n events = mNeededEvents.get(0);\n break;\n case R.id.event_0h:\n events = mNeededEvents.get(1);\n break;\n case R.id.event_1h:\n events = mNeededEvents.get(2);\n break;\n case R.id.event_2h:\n events = mNeededEvents.get(3);\n break;\n default:\n events = new ArrayList<>();\n break;\n }\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n builder.setTitle(getString(R.string.add_event_to_fav_title));\n AlertDialogFaveAdapter alertDialogAdapter = new AlertDialogFaveAdapter(mActivity, events);\n builder.setAdapter(alertDialogAdapter, null);\n builder.show();\n return true;\n }",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t \t\t\t getWindow().setSoftInputMode(\n\t \t \t WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);\n\t \t\t\tshowDialog();\n\t\t\t\t}",
"@Override\n\t\t\tpublic boolean onTouch(View v, MotionEvent event) {\n\t\t\t\tpopupWindow.dismiss();\n\t\t\t\tpopupWindow = null;\n\t\t\t\tbackgroundAlpha(1f);\n\t\t\t\tIntent intent = new Intent(context, Wdjl_activity.class);\n\t\t\t\tstartActivityForResult(intent, 1);\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean onLongClick(View arg0) {\n\t\t\t\tif(Camera.getNumberOfCameras()>1){\r\n\t\t\t\t\tcameraId = cameraId==0? 1 : 0;\r\n\t\t\t\t\tinitialCamera();\r\n\t\t\t\t\tmyCamera.startPreview();//開始呈現畫面\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t}",
"@Override\n\tpublic boolean onKeyLongPress(int keyCode, KeyEvent event) {\n\t\tif (keyCode == KeyEvent.KEYCODE_BACK) {\t\t\t\n\t\t\tdialogExists = true;\n\t\t\t Intent intent = new Intent(this, start.class);\t\n\t \t intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // beendet alle Activities außer die Startactivity\n\t \t startActivity(intent);\n\t\t\t finish();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"@OnLongClick(R.id.awayTeamBannerLayout)\n @Override\n public boolean AwayTeamButtonLongClicked(View view) {\n mArgs.putInt(TEAM, 2);\n teamSelectionDialogFragment.setArguments(mArgs);\n teamSelectionDialogFragment.setTargetFragment(this, REQUEST_CODE_AWAY_TEAM);\n teamSelectionDialogFragment.show(getFragmentManager(), TAG);\n if (isHapticFeedbackEnabled)\n hapticFeedback(view);\n return true;\n }",
"public void onShowPressHandler(MotionEvent oDownEvent) {\n }",
"public void onClick(DialogInterface dialog,int id) {\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n Intent intent = new Intent(context, TappingActivity.class);\n startActivity(intent);\n }\n }, 50);\n }",
"@Override\n public boolean onLongClick(View v) {\n if (mHugClickListener != null) {\n mHugClickListener.onHugLongClicked(mHug);\n }\n return false;\n }",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tString number = listdata.get(position).getCallnumber();\n\t\t\t\tIntent detailsActInt = new Intent(MainActivity.this, ContactDetailsActivity.class);\n\t\t\t\tdetailsActInt.putExtra(\"key_contact_name\", contactname);\n\t\t\t\tdetailsActInt.putExtra(\"key_contact_number\", callnumber);\n\t\t\t\tdetailsActInt.putExtra(\"key_contact_call_id\", contact_call_id);\n\t\t\t\tstartActivity(detailsActInt);\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tconfirmAdmin(\"admin12345\");\n\t\t\t\treturn true;\n\t\t\t}",
"public boolean onLongClick(View v) {\n\t\t\treturn itemSelectedUnselectedActionMode(v);\n\t\t}",
"@Override\n public boolean onTouch(View v, MotionEvent event) {\n popupWindow.dismiss();\n return true;\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\n\t\t\t\tshowdialog();\n\n\t\t\t}",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\n\t\t\t\t\tdialog.show();\n\t\t\t\t}",
"@Override\n public void onDayLongPress(Date date) {\n FragmentManager manager = getFragmentManager();\n Fragment frag = manager.findFragmentByTag(\"fragment_edit_id\");\n if (frag != null) {\n manager.beginTransaction().remove(frag).commit();\n }\n\n FragDailyLog newLog = new FragDailyLog();\n //Pass date into dialog\n Bundle dateBundle = new Bundle();\n dateBundle.putLong(\"date\", date.getTime());\n newLog.setArguments(dateBundle);\n newLog.show(manager, \"fragment_edit_id\");\n }",
"private void b() {\n new AlertDialog.Builder(WhiteListActivity.this).setTitle(R.string.long_click_dialog_title).setMessage(R.string.long_click_dialog_summary).setPositiveButton(R.string.button_text_let_me_select, new c(this)).show();\n }",
"@Override\n public boolean onItemLongClick(AdapterView<?> arg0, View view,\n int pos, long id) {\n\n showPagePopupMenu(view, pos, id);\n\n return true;\n }",
"private void listOnItemLongclick() {\n\t\tmlvWifi.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tfinal String ssid = mListWifi.get(arg2).get(\"ssid\").toString();\n\t\t\t\t//final boolean password = mListWifi.get(arg2).get(\"password\");\n\t\t\t\tfinal boolean password = Boolean.valueOf(mListWifi.get(arg2).get(\"password\").toString());\n\t\t\t\tLog.i(\"pss\",\"me click item\");\n\t\t\t\tcreateDialog(ssid,password);\n\t\t\t}\n\t\t});\n\t}",
"public void onLongPress(NMapView arg0, MotionEvent arg1) {\n\n }",
"@Override\n public void onLongItemClick(View view, int position) {\n }",
"@Override\n public void onLongClick(double x, double y, Poi poi) {\n\n String name;\n if (poi != null) {\n name = poi.getTitles().get(0).getText();\n } else {\n name = \"선택위치\";\n }\n\n Vector3 position = new Vector3(x, y, 0);\n\n Location location = new Location(position, currentFloor, name);\n String floorName = floorInfoList\n .stream()\n .filter(floorInfo -> floorInfo.getLevel() == currentFloor)\n .map(floorInfo -> floorInfo.getName().get(0).getText())\n .findFirst()\n .orElse(\"\");\n\n LocationInfo locationInfo = new LocationInfo(location, floorName);\n layoutPoiInfo.bind(locationInfo);\n if (layoutNavigationInfo.isShown()) {\n layoutNavigationInfo.hide();\n }\n }",
"@Override\n public boolean onLongClick(View v) {\n League league = mLeagues.get(getPosition());\n showDialogConfirmDelete(league);\n return false;\n }",
"@Override\n public boolean onLongClick(View view) {\n PopupMenu popup = new PopupMenu(view.getContext(), ((ToDoHolder) holder).mToDo);\n //inflating menu from xml resource\n popup.inflate(R.menu.popupmenu);\n //adding click listener\n popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {\n @Override\n public boolean onMenuItemClick(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.menu_delete:\n mToDoProviderFromDB.deleteToDoFromDB(mToDos.get(position).getToDoID());\n break;\n }\n return false;\n }\n });\n popup.show();\n return true;\n }"
] | [
"0.7123444",
"0.6930342",
"0.69024295",
"0.683368",
"0.6827459",
"0.68105274",
"0.68105274",
"0.6777987",
"0.6702095",
"0.6624862",
"0.6624862",
"0.6623463",
"0.66148144",
"0.66148144",
"0.66148144",
"0.65760505",
"0.6568543",
"0.6566278",
"0.6549986",
"0.6547676",
"0.6533063",
"0.6530639",
"0.65296906",
"0.65296906",
"0.65296906",
"0.65296906",
"0.65296906",
"0.65296084",
"0.6520699",
"0.65176594",
"0.65050995",
"0.6495055",
"0.6476086",
"0.6474997",
"0.6474997",
"0.6474997",
"0.6474997",
"0.6474997",
"0.6470383",
"0.6470383",
"0.6468283",
"0.64520603",
"0.64396584",
"0.6433024",
"0.6432985",
"0.6408701",
"0.6399079",
"0.63948214",
"0.6387286",
"0.6355556",
"0.63083476",
"0.6280454",
"0.6273611",
"0.62698",
"0.6239499",
"0.62275195",
"0.62178606",
"0.6215909",
"0.6178754",
"0.61732227",
"0.6151522",
"0.61275417",
"0.6058868",
"0.6042353",
"0.60319144",
"0.60078025",
"0.5996119",
"0.5975834",
"0.59757644",
"0.59536666",
"0.594853",
"0.5943694",
"0.5925889",
"0.5922823",
"0.591536",
"0.5914185",
"0.5912959",
"0.59109426",
"0.5902787",
"0.5895924",
"0.58913904",
"0.58836615",
"0.58493316",
"0.5844525",
"0.58431715",
"0.58354",
"0.5832871",
"0.58257705",
"0.58225316",
"0.57778925",
"0.5763027",
"0.5762966",
"0.57466024",
"0.5743238",
"0.5741716",
"0.5734103",
"0.5725186",
"0.5696846",
"0.5692753",
"0.56923455",
"0.5678128"
] | 0.0 | -1 |
Set up swipe to delete | private void setUpRecyclerView() {
ItemTouchHelper itemTouchHelper = new ItemTouchHelper(new SwipeToDeleteCallback(this));
itemTouchHelper.attachToRecyclerView(recyclerView);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void bindSwipeToDelete() {\n ItemTouchHelper itemTouchHelper = new\n ItemTouchHelper(new SwipeToDeleteCallback(getContext(),basketListAdapter));\n itemTouchHelper.attachToRecyclerView(binding.recyclerViewVirtualBasket);\n }",
"void onItemDelete(int position);",
"void onDeleteClicked();",
"@Override\n public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) {\n\n viewModel.delete(adapter.getNoteAtPosition(viewHolder.getAdapterPosition()));\n Toast.makeText(MainActivity.this, \"Drink deleted!\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {\n int position = viewHolder.getAdapterPosition();\n PinItem item = pinItems.remove(position);\n // delete the item from the DB\n dbHelper.deleteItem(item);\n mRecyclerView.getAdapter().notifyItemRemoved(position);\n\n }",
"void deleteButton_actionPerformed(ActionEvent e) {\n doDelete();\n }",
"private void actionDelete() {\r\n showDeleteDialog();\r\n }",
"public void delete() {\n\t\tcmd = new DeleteCommand(editor);\n\t\tinvoker = new MiniEditorInvoker(cmd);\n\t\tinvoker.action();\n\t}",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder,\n int direction) {\n int position = viewHolder.getAdapterPosition();\n Anime myAnime = mAdapter.getAnimeAtPosition(position);\n Toast.makeText(MainActivity.this, \"Deleting \" +\n myAnime.getTitle(), Toast.LENGTH_LONG).show();\n\n // Delete the word\n mAnimeViewModel.deleteAnime(myAnime);\n }",
"private void createSwipeMenu() {\n //Create menu\n creator = new SwipeMenuCreator() {\n @Override\n public void create(SwipeMenu menu) {\n //Create open item\n SwipeMenuItem checkItem = new SwipeMenuItem(getActivity().getApplicationContext());\n //Configure open item\n checkItem.setBackground(R.color.background);\n // set item width\n checkItem.setWidth((int)(90*getContext().getResources().getDisplayMetrics().density+0.5f));\n // set item title\n checkItem.setTitle(R.string.pick);\n // set item title fontsize\n checkItem.setTitleSize(12);\n //set item icon\n checkItem.setIcon(R.mipmap.check_icon);\n // set item title font color\n checkItem.setTitleColor(getResources().getColor(R.color.colorAccent));\n // add to menu\n menu.addMenuItem(checkItem);\n\n // create \"delete\" item\n SwipeMenuItem deleteItem = new SwipeMenuItem(getActivity().getApplicationContext());\n // set item background\n deleteItem.setBackground(R.color.colorPrimary);\n // set item width\n deleteItem.setWidth((int)(90*getContext().getResources().getDisplayMetrics().density+0.5f));\n // set item title\n deleteItem.setTitle(R.string.delete_item);\n //set title text size\n deleteItem.setTitleSize(12);\n // set item title font color\n deleteItem.setTitleColor(getResources().getColor(R.color.colorAccent));\n // add to menu\n // set a icon\n deleteItem.setIcon(R.mipmap.delete);\n // add to menu\n menu.addMenuItem(deleteItem);\n }\n };\n }",
"private boolean actionDelete()\n {\n Debug.enter();\n onDeleteListener.onDelete();\n dismiss();\n Debug.leave();\n return true;\n }",
"public void onPressDelete() {\r\n new ActionConfirmationFragment(this, this)\r\n .setTitle(getString(R.string.event_confirmation_delete_event))\r\n .setMessage(getString(R.string.action_confirmation_cannot_be_undone))\r\n .setRequestID(REQUEST_CONFIRMATION_DELETE_EVENT)\r\n .show(getSupportFragmentManager(), null);\r\n }",
"private void enableSwipe() {\n ItemTouchHelper.SimpleCallback simpleItemTouchCallback = new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT) {\n\n @Override\n public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) {\n return false;\n }\n\n @Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {\n int position = viewHolder.getAdapterPosition();\n\n if (direction == ItemTouchHelper.LEFT) {\n final CartProduct deletedModel = cartProducts.get(position);\n final int deletedPosition = position;\n adapter.removeItem(position);\n // showing snack bar with Undo option\n Snackbar snackbar = Snackbar.make(getWindow().getDecorView().getRootView(), \" removed from Recyclerview!\", Snackbar.LENGTH_LONG);\n snackbar.setAction(\"UNDO\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n // undo is selected, restore the deleted item\n adapter.restoreItem(deletedModel, deletedPosition);\n }\n });\n snackbar.setActionTextColor(Color.YELLOW);\n snackbar.show();\n }\n\n// else {\n// final CartProduct deletedModel = cartProducts.get(position);\n// final int deletedPosition = position;\n// adapter.removeItem(position);\n// // showing snack bar with Undo option\n// Snackbar snackbar = Snackbar.make(getWindow().getDecorView().getRootView(), \" removed from Cart!\", Snackbar.LENGTH_LONG);\n// snackbar.setAction(\"UNDO\", new View.OnClickListener() {\n// @Override\n// public void onClick(View view) {\n//\n// // undo is selected, restore the deleted item\n// adapter.restoreItem(deletedModel, deletedPosition);\n// }\n// });\n// snackbar.setActionTextColor(Color.YELLOW);\n// snackbar.show();\n// }\n }\n\n @Override\n public void onChildDraw(Canvas c, RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) {\n\n Bitmap icon;\n if (actionState == ItemTouchHelper.ACTION_STATE_SWIPE) {\n\n View itemView = viewHolder.itemView;\n float height = (float) itemView.getBottom() - (float) itemView.getTop();\n float width = height / 3;\n\n if (dX > 0) {\n// try {\n// p.setColor(Color.parseColor(\"#388E3C\"));\n// RectF background = new RectF((float) itemView.getLeft(), (float) itemView.getTop(), dX, (float) itemView.getBottom());\n// c.drawRect(background, p);\n//\n// icon = BitmapFactory.decodeResource(getResources(), R.drawable.ic_delete_forever);\n// RectF icon_dest = new RectF((float) itemView.getLeft() + width, (float) itemView.getTop() + width, (float) itemView.getLeft() + 2 * width, (float) itemView.getBottom() - width);\n// c.drawBitmap(icon, null, icon_dest, p);\n// } catch (Exception e) {\n// Log.e(\"xxxxxxxxxxxxxxxxxxxx\", e.toString());\n// }\n } else {\n p.setColor(Color.parseColor(\"#D32F2F\"));\n\n RectF background = new RectF((float) itemView.getRight() + dX, (float) itemView.getTop(), (float) itemView.getRight(), (float) itemView.getBottom());\n c.drawRect(background, p);\n icon = BitmapFactory.decodeResource(getResources(), R.drawable.ic_delete_forever);\n RectF icon_dest = new RectF((float) itemView.getRight() - 2 * width, (float) itemView.getTop() + width, (float) itemView.getRight() - width, (float) itemView.getBottom() - width);\n c.drawBitmap(icon, null, icon_dest, p);\n }\n }\n super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive);\n }\n };\n ItemTouchHelper itemTouchHelper = new ItemTouchHelper(simpleItemTouchCallback);\n itemTouchHelper.attachToRecyclerView(recyclerView);\n }",
"@Override\n\tpublic void deleteClick(int id) {\n\t\t\n\t}",
"void setDeleteButtonEnabled(boolean isEnabled);",
"private void delete() {\n\n\t}",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {\n int position = (viewHolder.getAdapterPosition());\n mMainViewModel.delete(mShoppingListItems.get(position));\n }",
"public void clickedPresentationDelete() {\n\t\tif(mainWindow.getSelectedRowPresentation().length <= 0) ApplicationOutput.printLog(\"YOU DID NOT SELECT ANY PRESENTATION\");\n\t\telse if(mainWindow.getSelectedRowPresentation().length > 1) ApplicationOutput.printLog(\"Please select only one presentation to edit\");\n\t\telse {\n\t\t\tint tmpSelectedRow = mainWindow.getSelectedRowPresentation()[0];\n\t\t\tPresentations tmpPresentation = presentationList.remove(tmpSelectedRow);\t\t\t\n\t\t\tappDriver.hibernateProxy.deletePresentation(tmpPresentation);\t\n\t\t\trefreshPresentationTable();\t\t\t\n\t\t}\n\t}",
"void onDelete();",
"@Override\n public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) {\n contactViewModel.delete(adapter.getContactAt(viewHolder.getAdapterPosition()));\n Toast.makeText(getContext(), \"Contact deleted successfully!\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n\tprotected boolean inputStart(View view, DragEvent event)\n\t{// Give trash can\n\t\tcontroller.trash().setTrash();\n\t\tcontroller.trash().notifyDataSetChanged();\n\t\tview.setBackgroundColor(CLEAR);\n\t\treturn true;\n\t}",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {\n int position = viewHolder.getAdapterPosition();\n adapter.arrayList.remove(position);\n adapter.notifyDataSetChanged();\n\n }",
"private static void OnDelete(Object sender, ExecutedRoutedEventArgs args)\r\n { \r\n TextEditor This = TextEditor._GetTextEditor(sender); \r\n\r\n if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) \r\n {\r\n return;\r\n }\r\n\r\n TextEditorTyping._FlushPendingInputItems(This);\r\n\r\n // Note, that Delete and Backspace keys behave differently. \r\n ((TextSelection)This.Selection).ClearSpringloadFormatting();\r\n\r\n // Forget previously suggested horizontal position\r\n TextEditorSelection._ClearSuggestedX(This);\r\n\r\n using (This.Selection.DeclareChangeBlock()) \r\n {\r\n ITextPointer position = This.Selection.End; \r\n if (This.Selection.IsEmpty) \r\n {\r\n ITextPointer deletePosition = position.GetNextInsertionPosition(LogicalDirection.Forward); \r\n\r\n if (deletePosition == null)\r\n {\r\n // Nothing to delete. \r\n return;\r\n } \r\n\r\n if (TextPointerBase.IsAtRowEnd(deletePosition))\r\n { \r\n // Backspace and delete are a no-op at row end positions.\r\n return;\r\n }\r\n\r\n if (position is TextPointer && !IsAtListItemStart(deletePosition) &&\r\n HandleDeleteWhenStructuralBoundaryIsCrossed(This, (TextPointer)position, (TextPointer)deletePosition)) \r\n { \r\n // We are crossing structural boundary and\r\n // selection was updated in HandleDeleteWhenStructuralBoundaryIsCrossed. \r\n return;\r\n }\r\n\r\n // Selection is empty, extend selection forward to delete the following char. \r\n This.Selection.ExtendToNextInsertionPosition(LogicalDirection.Forward);\r\n } \r\n\r\n // Delete selected text.\r\n This.Selection.Text = String.Empty; \r\n }\r\n }",
"@Override\n public void create(SwipeMenu menu) {\n SwipeMenuItem deleteItem = new SwipeMenuItem(\n getApplicationContext());\n // set item background\n deleteItem.setBackground(new ColorDrawable(Color.rgb(0xF9,\n 0x3F, 0x25)));\n // set item width\n deleteItem.setWidth(dp2px(90));\n // set a icon\n deleteItem.setIcon(R.mipmap.ic_remove_white_24dp);\n// deleteItem.setTitle(\"delete\");\n // add to menu\n menu.addMenuItem(deleteItem);\n }",
"@Override\n public void deleteClick(int pos) {\n deletePos = pos;\n DeleteApptDialog dialog = new DeleteApptDialog();\n dialog.show(getSupportFragmentManager(), \"example dialog\");\n }",
"@FXML\n public void Delete_List(ActionEvent actionEvent) {\n }",
"@FXML\n\tpublic void deleteUser(ActionEvent e) {\n\t\tint i = userListView.getSelectionModel().getSelectedIndex();\n//\t\tUser deletMe = userListView.getSelectionModel().getSelectedItem();\n//\t\tuserList.remove(deletMe); this would work too just put the admin warning\n\t\tdeleteUser(i);\n\t}",
"void onItemDeleted();",
"private void deletePet() {\r\n // Only perform the delete if this is an existing pet.\r\n// if (mCurrentPetUri != null) {\r\n// // Call the ContentResolver to delete the pet at the given content URI.\r\n// // Pass in null for the selection and selection args because the mCurrentPetUri\r\n// // content URI already identifies the pet that we want.\r\n// int rowsDeleted = getContentResolver().delete(mCurrentPetUri, null, null);\r\n// // Show a toast message depending on whether or not the delete was successful.\r\n// if (rowsDeleted == 0) {\r\n// // If no rows were deleted, then there was an error with the delete.\r\n// Toast.makeText(this, getString(R.string.editor_delete_pet_failed),\r\n// Toast.LENGTH_SHORT).show();\r\n// } else {\r\n// // Otherwise, the delete was successful and we can display a toast.\r\n// Toast.makeText(this, getString(R.string.editor_delete_pet_successful),\r\n// Toast.LENGTH_SHORT).show();\r\n// }\r\n// }\r\n\r\n }",
"@FXML\n public void handleDeleteButton(ActionEvent event) {\n if (cList.getItems().size() == 0) {\n alert(\"Error\", \"Invalid selection.\", \"The list is already empty.\");\n return;\n }\n\n String s = (String) cList.getSelectionModel().getSelectedItem();\n\n if (cList.getSelectionModel().getSelectedIndex() == -1) {\n alert(\"Error\", \"Invalid selection.\", \"Please select an item to delete.\");\n return;\n }\n\n String parts[] = s.split(\"=\");\n Tag delete = null;\n for (Tag t : tags) {\n if (t.getType().equals(parts[0]) && t.getValue().equals(parts[1])) {\n obsList.remove(s);\n }\n }\n tags.remove(delete);\n cList.setItems(obsList);\n\n\n }",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {\n\n id = (int) viewHolder.itemView.getTag();\n\n\n final CustomCursorAdapter adapter = (CustomCursorAdapter) mRecyclerView.getAdapter();\n // int position = viewHolder.getAdapterPosition();\n\n if (!pending.contains(id)) {\n pending.add(id);\n adapter.pendingRemoval(id);\n // findViewById(R.id.include_regular).setVisibility(View.GONE);\n\n } else {\n // pending.remove(id);\n\n }\n\n getSupportLoaderManager().restartLoader(TASK_LOADER_ID, null, MainActivity.this);\n\n }",
"@Override\r\n\tpublic void adminSelectDelete() {\n\t\t\r\n\t}",
"@Override\n public void onClick(View v) {\n delete();\n }",
"public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) {\n/* 61 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void onDelete() {\n }",
"public void swipeItem(int adapterIndex)\n\t{\n\t\tfinal TiTableView tableView = getTableView();\n\n\t\tif (tableView != null) {\n\t\t\tfinal TableViewRowProxy row = tableView.getAdapterItem(adapterIndex);\n\t\t\tfinal TableViewSectionProxy section = (TableViewSectionProxy) row.getParent();\n\n\t\t\trow.fireSyncEvent(TiC.EVENT_DELETE, null);\n\n\t\t\tsection.remove(row);\n\t\t}\n\t}",
"public void delete(View view){\n\n }",
"@Override\n\tpublic void delete(Integer deptno) {\n\t\t\n\t}",
"private void delete() {\n AltDatabase.getInstance().getAlts().remove(getCurrentAsEditable());\n if (selectedAccountIndex > 0)\n selectedAccountIndex--;\n updateQueried();\n updateButtons();\n }",
"@Override\n\tpublic void posDelete() {\n\t\t\n\t}",
"@Override\n\tpublic void posDelete() {\n\t\t\n\t}",
"@Override\n\tpublic void posDelete() {\n\t\t\n\t}",
"@FXML\n public void Delete_Item(ActionEvent actionEvent) {\n }",
"public void onClick(DialogInterface dialog, int id) {\n cbh.getSwipeToDeleteListener().deletePendingRow(position);\n }",
"@Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {\n //Get the index corresponding to the selected position\n int position = (viewHolder.getAdapterPosition());\n if (swipeDir == ItemTouchHelper.LEFT) {\n getAnswer(true, position);\n removeItem(position);\n } else if (swipeDir == ItemTouchHelper.RIGHT) {//swipe right\n getAnswer(false, position);\n removeItem(position);\n }\n }",
"@FXML\r\n\tpublic void deleteItem() {\r\n\t\tcontroller.deleteWishlistItem(listView.getSelectionModel().getSelectedItem().getId());\r\n\t\tlistView.setItems(controller.getWishlistWatchesForCurrentUser());\r\n\t\tlistView.getSelectionModel().select(-1);\r\n\t}",
"@Override\n public void onDeleteButtonClick(int position) {\n UserDevicesDB selected_aube = userDevicesDBList.get(position);\n\n // TO DO --> action to delete this device by device address\n Toast.makeText(getContext(), R.string.coming_soon, Toast.LENGTH_SHORT ).show();\n }",
"@Override\r\n public boolean onTouch(View v, MotionEvent event) {\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\r\n mDownX = event.getX();\r\n rightDeleteBtn.setVisibility(View.GONE);\r\n rightEventBtn.setClickable(true);\r\n\r\n } else if (event.getAction() == MotionEvent.ACTION_MOVE) {\r\n mMoveX = event.getX();\r\n\r\n if (mDownX - mMoveX >= 20) {\r\n closeDeleteBtn();\r\n LogManager.e(\"hefeng\", \"向左滑动,显示.......\" + rightDeleteBtn.hashCode());\r\n rightEventBtn.setClickable(false);\r\n rightDeleteBtn.setVisibility(View.VISIBLE);\r\n mLastDeleteBtn = rightDeleteBtn;\r\n\r\n return true;\r\n\r\n } else if (mMoveX - mDownX >= 20) {\r\n LogManager.e(\"hefeng\", \"向右滑动,不显示.......\");\r\n rightDeleteBtn.setVisibility(View.GONE);\r\n return true;\r\n }\r\n\r\n }\r\n return false;\r\n }",
"private void handleDeletePressed() {\n if (mCtx == Context.CREATE) {\n finish();\n return;\n }\n\n DialogFactory.deletion(this, getString(R.string.dialog_note), () -> {\n QueryService.awaitInstance(service -> deleteNote(service, mNote.id()));\n }).show();\n }",
"@Override\n\tpublic void deleteClick(Object id) {\n\t\t\n\t}",
"@Override\r\n\tpublic void deleteObjectListener(ActionEvent e) {\n\t\t\r\n\t}",
"@Override\n\tpublic void deleteSelected() {\n\n\t}",
"public ConfirmDialogPage pressDeleteButton() {\n controls.getDeleteButton().click();\n return new ConfirmDialogPage();\n }",
"private void toDelete() {\n if(toCount()==0)\n {\n JOptionPane.showMessageDialog(rootPane,\"No paint detail has been currently added\");\n }\n else\n {\n String[] choices={\"Delete First Row\",\"Delete Last Row\",\"Delete With Index\"};\n int option=JOptionPane.showOptionDialog(rootPane, \"How would you like to delete data?\", \"Delete Data\", WIDTH, HEIGHT,null , choices, NORMAL);\n if(option==0)\n {\n jtModel.removeRow(toCount()-toCount());\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted first row\");\n }\n else if(option==1)\n {\n jtModel.removeRow(toCount()-1);\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted last row\");\n }\n else if(option==2)\n {\n toDeletIndex();\n }\n else\n {\n \n }\n }\n }",
"@FXML protected void handleInsertDeleteAction(ActionEvent e) throws SQLException{\n\t\tString[] type = new String[2];\n\t\ttry {\n\t\t\ttype = db.returnColumnType();\n\t\t} catch (SQLException e3) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te3.printStackTrace();\n\t\t}\n\n\t\tButton whichAction = (Button)e.getSource();\n\t\tinsertDelete = new GridPane();\n\t\ttabInsertDelete = new Tab();\n\t\ttabInsertDelete.setText(whichAction.getText());\n\t\ttabInsertDelete.setContent(insertDelete);\n\t\ttabPane.getTabs().add(tabInsertDelete);\n\t\ttabPane.getSelectionModel().select(tabInsertDelete);\n\n\t\ttry {\n\t\t\tString[] colName = db.returnColumnNames();\n\n\t\t\t//generating insert items\n\t\t\tinsertDelete.setAlignment(Pos.CENTER);\n\t\t\tinsertDelete.setHgap(7);\n\t\t\tinsertDelete.setVgap(7);\n\t\t\tinsertDelete.setPadding(new Insets(10, 10, 10, 10));\n\n\t\t\tText scenetitle = new Text(\"Fill in the following information:\");\n\t\t\tscenetitle.setId(\"choice-text\");\n\t\t\tinsertDelete.add(scenetitle, 0, 0, 1, 1);\n\n\t\t\tTextField[] tfInsert = new TextField[colName.length];\n\t\t\tLabel[] labelInsert = new Label[colName.length];\n\t\t\tfor(int i = 0; i< colName.length; i++){\n\t\t\t\tlabelInsert[i] = new Label(colName[i]);\n\t\t\t\tinsertDelete.add(labelInsert[i],0,i+1);\n\t\t\t\ttfInsert[i] = new TextField();\n\t\t\t\tinsertDelete.add(tfInsert[i], 1, i+1);\n\t\t\t}\n\n\t\t\tButton submit = new Button(\"Submit\");\n\t\t\tinsertDelete.add(submit,1, colName.length+1);\n\t\t\tsubmit.setOnAction(new EventHandler<ActionEvent>(){\n\n\t\t\t\t@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\t//gather TextField into String arr\n\t\t\t\t\tString[] arr= new String[colName.length];\n\t\t\t\t\tfor(int i =0 ; i<colName.length; i++){\n\t\t\t\t\t\tarr[i] =tfInsert[i].getText();\n\t\t\t\t\t}\n\n\t\t\t\t\tboolean insertOrDelete = false; \n\t\t\t\t\tboolean full = checkInput(arr);\n\t\t\t\t\tboolean right = isRightType(arr);\n\t\t\t\t\t\n\t\t\t\t\tif(full && right){\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif(whichAction.getText().equals(\"Insert\")){\n\t\t\t\t\t\t\t\tinsertOrDelete= db.insertData(arr);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tinsertOrDelete = db.deleteData(arr);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t\t\tAlertBox noInsertDelete = new AlertBox();\n\t\t\t\t\t\t\tnoInsertDelete.display(whichAction.getText() + \" Fail\", \"Unable to \" +whichAction.getText() +\". Please try again.\");\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tif(!full){\n\t\t\t\t\t\t\tAlertBox noInsertDelete = new AlertBox();\n\t\t\t\t\t\t\tnoInsertDelete.display(\"Not enough data\", \"Unable to \" +whichAction.getText() +\". All inputs are required.\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tAlertBox notRight= new AlertBox();\n\t\t\t\t\t\t\tnotRight.display(\"Incorrect Data\", \"Unable to \" +whichAction.getText() +\".One of your inputs is not a valid type\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(insertOrDelete){\n\t\t\t\t\t\tAlertBox done = new AlertBox();\n\t\t\t\t\t\tdone.display(whichAction.getText() + \" Successful.\",\n\t\t\t\t\t\t\t\twhichAction.getText()+\" completed.\");\n\t\t\t\t\t}else;\n\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t} catch (SQLException e1) {\n\t\t\tAlertBox getColumnNames = new AlertBox();\n\t\t\tgetColumnNames.display(\"Error\",\"PikachuTable not created. Create Table first.\");\n\t\t} catch(Exception e2){\n\t\t\tAlertBox noMore = new AlertBox();\n\t\t\tnoMore.display(\"PikachuTable no longer exists.\",\"PikachuTable was deleted. Create Table again\");\n\t\t}\n\n\t}",
"public void delete() {\n\n\t}",
"@Override\n public void onClick(View v) {\n listItems.remove(position);\n //close the swipe layout\n holder.swipeLayout.close();\n //update adapter\n activity.updateAdapter();\n }",
"@FXML\n\tprivate void handleDeleteTaxi() {\n\t\tint selectedIndex = TaxiTable.getSelectionModel().getSelectedIndex();\n\t\tif (selectedIndex >= 0) {\n\t\t\tTaxiTable.getItems().remove(selectedIndex);\n\t\t} else {\n\t\t\t// Nothing selected.\n\t\t}\n\t}",
"public void onDelete(View v){\r\n // Calls delete ingredients and deletes the recipe\r\n int runId = getIntent().getExtras().getInt(\"run id\");\r\n deleteRunCoordinates(runId);\r\n getContentResolver().delete(ContentContract.RUNS_URI, ContentContract._ID + \"=\"+runId, null);\r\n setResult(Activity.RESULT_OK, new Intent());\r\n finish();\r\n }",
"@Override\n public void onSwipeRight() {\n getFragmentManager().beginTransaction().remove(LongAddFragment.this).commit();\n super.onSwipeRight();\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdelete();\n\t\t\t}",
"private Delete() {}",
"private Delete() {}",
"public void delete(){\r\n\r\n }",
"@Override\n\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\tdeleteBook(position);\n\t\t\t\t\tcandelete =-1;\n\t\t\t\t}",
"@FXML\r\n\tprivate void deleteEmployee(ActionEvent event) {\r\n\t\teraseFieldsContent();\r\n\t\tEmployee e = listaStaff.getSelectionModel().getSelectedItem();\r\n\t\tservice.deleteEmployee(e);\r\n\t\tlistaStaff.getItems().remove(e);\r\n\t\tbtDelete.setDisable(true);\r\n\t\tbtEditar.setDisable(true);\r\n\t\tupdateList();\r\n\t}",
"@FXML\n private void handleDeleteFilm() {\n int selectedIndex = filmTable.getSelectionModel().getSelectedIndex();\n if (selectedIndex >= 0) {\n \tfilmTable.getItems().remove(selectedIndex);\n \tsave();\n } else {\n // Nothing selected.\n Dialogs.create()\n .title(\"No Selection\")\n .masthead(\"No Person Selected\")\n .message(\"Please select a person in the table.\")\n .showWarning();\n }\n }",
"public void onClick(View v) {\n delete();\n }",
"@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\n\t\t// Extract the list mode from the bundle or 0 if none choosen yet.\n\t\tint modeInt = getIntent().getIntExtra(\"MODE\", 0);\n\t\tSwipeDismissList.UndoMode mode = SwipeDismissList.UndoMode.values()[modeInt];\n\n\t\t// Sets the subtitle in the ActionBar to the current mode.\n\t\tgetSupportActionBar().setSubtitle(String.format(\"Mode: %s\", mode.toString()));\n\n\t\t// Get the regular ListView of this activity.\n\t\tListView listView = getListView();\n\n\t\t// Create a new SwipeDismissList from the activities listview.\n\t\tmSwipeList = new SwipeDismissList(\n\t\t\t// 1st parameter is the ListView you want to use\n\t\t\tlistView,\n\t\t\t// 2nd parameter is an OnDismissCallback, that handles the deletion\n\t\t\t// and undo of list items. It only needs to implement onDismiss.\n\t\t\t// This method can return an Undoable (then this deletion can be undone)\n\t\t\t// or null (if the user shouldn't get the possibility to undo the\n\t\t\t// deletion).\n\t\t\tnew SwipeDismissList.OnDismissCallback() {\n\t\t\t/**\n\t\t\t * Will be called, whenever the user swiped out an list item.\n\t\t\t *\n\t\t\t * @param listView The {@link ListView} that the item was deleted\n\t\t\t * from.\n\t\t\t * @param position The position of the item, that was deleted.\n\t\t\t * @return An {@link Undoable} or {@code null} if this deletion\n\t\t\t * shouldn't be undoable.\n\t\t\t */\n\t\t\tpublic SwipeDismissList.Undoable onDismiss(AbsListView listView, final int position) {\n\n\t\t\t\t// Get item that should be deleted from the adapter.\n\t\t\t\tfinal String item = mAdapter.getItem(position);\n\t\t\t\t// Delete that item from the adapter.\n\t\t\t\tmAdapter.remove(item);\n\n\t\t\t\t// Return an Undoable, for that deletion. If you write return null\n\t\t\t\t// instead, this deletion won't be undoable.\n\t\t\t\treturn new SwipeDismissList.Undoable() {\n\t\t\t\t\t/**\n\t\t\t\t\t * Optional method. If you implement this method, the\n\t\t\t\t\t * returned String will be presented in the undo view to the\n\t\t\t\t\t * user.\n\t\t\t\t\t */\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic String getTitle() {\n\t\t\t\t\t\treturn item + \" deleted\";\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Will be called when the user hits undo. You want to\n\t\t\t\t\t * reinsert the item to the adapter again. The library will\n\t\t\t\t\t * always call undo in the reverse order the item has been\n\t\t\t\t\t * deleted. So you can insert the item at the position it\n\t\t\t\t\t * was deleted from, unless you have modified the list\n\t\t\t\t\t * (added or removed items) somewhere else in your activity.\n\t\t\t\t\t * If you do so, you might want to call\n\t\t\t\t\t * {@link SwipeDismissList#discardUndo()}, so the user\n\t\t\t\t\t * cannot undo the action anymore. If you still want the\n\t\t\t\t\t * user to be able to undo the deletion (after you modified\n\t\t\t\t\t * the list somewhere else) you will need to calculate the\n\t\t\t\t\t * new position of this item yourself.\n\t\t\t\t\t */\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void undo() {\n\t\t\t\t\t\t// Reinsert the item at its previous position.\n\t\t\t\t\t\tmAdapter.insert(item, position);\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Will be called, when the user doesn't have the\n\t\t\t\t\t * possibility to undo the action anymore. This can either\n\t\t\t\t\t * happen, because the undo timed out or\n\t\t\t\t\t * {@link SwipeDismissList#discardUndo()} was called. If you\n\t\t\t\t\t * have stored your objects somewhere persistent (e.g. a\n\t\t\t\t\t * database) you might want to use this method to delete the\n\t\t\t\t\t * object from this persistent storage.\n\t\t\t\t\t */\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void discard() {\n\t\t\t\t\t\t// Just write a log message (use logcat to see the effect)\n\t\t\t\t\t\tLog.w(\"DISCARD\", \"item \" + item + \" now finally discarded\");\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t}\n\t\t},\n\t\t\t// 3rd parameter needs to be the mode the list is generated.\n\t\t\tmode);\n\n\t\t// If we have a MULTI_UNDO list (several items can be undone one by one),\n\t\t// set the UndoMultipleString to null. If you set this to null the undo popup\n\t\t// will show the title of the item that will be undone next. If you don't\n\t\t// set this to null (leave it default, or set some other string), the string\n\t\t// will be shown (and first placeholder %d replaced with number of pending undos).\n\t\tif (mode == SwipeDismissList.UndoMode.MULTI_UNDO) {\n\t\t\tmSwipeList.setUndoMultipleString(null);\n\t\t}\n\n\t\t// Just reset the adapter.\n\t\tresetAdapter();\n\n\t}",
"@Override\n public void onClickDelete() {\n new DeleteDialog(this.getActivity(), this).show();\n }",
"void onDeleteItem(E itemElementView);",
"@Override\n public void clickDelete() {\n if (view.length() > 0) {\n view.setText(view.getText().subSequence(0, view.length() - 1));\n view.setSelection(view.getText().length());\n }\n }",
"@FXML\r\n\r\n private void deleteFriend(){\r\n // Delete from GUI\r\n final int selectIndex = udb_FriendsListView.getSelectionModel().getSelectedIndex();\r\n if(selectIndex != -1){\r\n String itemToRemove = udb_FriendsListView.getSelectionModel().getSelectedItem();\r\n final int newSelectedIndex = (selectIndex == udb_FriendsListView.getItems().size() - 1) ? selectIndex - 1 : selectIndex;\r\n udb_FriendsListView.getItems().remove(selectIndex);\r\n udb_FriendsListView.getSelectionModel().select(newSelectedIndex);\r\n\r\n //Delete from DB\r\n try{\r\n FriendsDao.deleteFriend(userName, itemToRemove);\r\n }catch (Exception e){\r\n\r\n }\r\n }\r\n\r\n }",
"@Override\r\n\tprotected ActionListener deleteBtnAction() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic void onDelete() {\n\t\tsuper.onDelete();\r\n\t}",
"@Override\n public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {\n menu.add(0, getAdapterPosition(),0,\"DELETE\");\n // Log.d(TAG, \"onCreateContextMenu: \" + );\n }",
"private void deletion(String pids) {\n\t\tDeletions(pids);\n\t\t\n\t}",
"@Override\n\tpublic void deletePost(Post post) {\n\n\t}",
"@FXML\r\n private void Delete (ActionEvent event){\r\n \r\n g.clearRect(5, 5, 350, 250);\r\n \r\n }",
"private boolean motionEventActionMoveDetected(View v, MotionEvent event) {\n float x = event.getX() + v.getTranslationX();\n float deltaX = x - mDownX;\n float deltaXAbs = Math.abs(deltaX);\n\n if (!mSwiping) {\n if (deltaXAbs > mSwipeSlop) //tells if user is actually swiping or just touching in sloppy manner\n {\n mSwiping = true;\n listView.requestDisallowInterceptTouchEvent(true);\n }\n }\n if (mSwiping && !swiped) //Need to make sure the user is both swiping and has not already completed a swipe action (hence mSwiping and swiped)\n {\n v.setTranslationX((x - mDownX)); //moves the view as long as the user is swiping and has not already swiped\n\n if (deltaX > v.getWidth() / 3) //swipe to right\n {\n /* mDownX = x;\n swiped = true;\n mSwiping = false;\n mItemPressed = false;\n\n\n v.animate().setDuration(ANIMATION_DURATION).translationX(v.getWidth() / 3); //could pause here, same way as delete\n TextView tv = (TextView) v.findViewById(R.id.text_shoppingListname);\n //tv.setText(\"Swiped!\");*/\n onItemSwipeRight(v, x);\n return true;\n } else if (deltaX < -1 * (v.getWidth() / 3)) //swipe to left\n {\n onItemSwipeLeft(v, x);\n return true;\n }\n }\n return false;\n }",
"public void updateDeleteButtonClicked(){\n loadNewScene(apptStackPane, \"Update_Delete_Appointment.fxml\");\n }",
"private void deletePet() {\n if (mCurrentPetUri != null) {\n // Call the ContentResolver to delete the pet at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentPetUri\n // content URI already identifies the pet that we want.\n int rowsDeleted = getContentResolver().delete(mCurrentPetUri, null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_pet_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_pet_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity\n finish();\n }",
"private void undoDelete() {\n if (!mReversDeleteItemPositionsList.isEmpty()) {\n\n mAllItems.add(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1),\n mReverseDeleteItemsList.get(mReverseDeleteItemsList.size() - 1));\n //subtract from pallet total\n mPickHandlerInterface.subtractFromTOtal(Integer.parseInt(mReverseDeleteItemsList.get(mReversDeleteItemPositionsList.size() - 1).getCaseQuantity()));\n notifyItemInserted(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1));\n mReverseDeleteItemsList.remove(mReverseDeleteItemsList.size() - 1);\n mReversDeleteItemPositionsList.remove(mReversDeleteItemPositionsList.size() - 1);\n showUndoSnackbar();\n SendInformationToActivity();\n\n }\n\n }",
"public void deleteTDList(ActionEvent actionEvent) {\n // find the tdlist being referenced by the button,\n // removeList() from it's parenting group\n }",
"@Override\n\tpublic void delete() {\n\n\t}",
"public void onSwipeRight() {\n }",
"MenuItem getMenuItemDelete();",
"@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent i=new Intent(getApplicationContext(),Pdelete.class);\r\n\t\t\t\tstartActivity(i);\r\n\t\t\t\t\r\n\t\t\t}",
"@FXML\r\n public void deleteTreatmentButton(){\r\n int sIndex = treatmentTabletv.getSelectionModel().getSelectedIndex();\r\n String sID = treatmentData.get(sIndex).getIdProperty();\r\n\r\n String deleteTreatment = \"delete from treatment where treatmentID = ?\";\r\n try{\r\n ps = mysql.prepareStatement(deleteTreatment);\r\n ps.setString(1,sID);\r\n ps.executeUpdate();\r\n ps.close();\r\n ps = null;\r\n\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n //maybe more in this exception\r\n }\r\n\r\n treatmentData.remove(sIndex);\r\n }",
"public void pressOnDeleteBtn() {\n Network.sendMsg(\n new FileDeleteRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }",
"void onSwipeStart(int position);",
"public void delete() {\n\n }",
"@Override\r\n\tpublic void PressBtnDel(int position) {\n\t\tnoteGlobal.deletePlan(position, dateTextView.getText().toString());\r\n\t\tMainActivity.mainService.updateAlarm();\r\n\t\taddPlan_View();\r\n\t}",
"@FXML\n private void handleDeleteRecordButton(ActionEvent e) {\n deleteRecord();\n }",
"@Override\n public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) {\n switch (menuItem.getItemId()) {\n case R.id.delete:\n mArchivedFruits.clear();\n mArchivedListAdapter.notifyDataSetChanged();\n actionMode.finish();\n return true;\n default:\n return false;\n }\n }",
"public void onDeleteList() {\n ListsManager listManager = ListsManager.getInstance(context);\n listManager.deleteTable(deletePosition,context);\n Toast.makeText(context, \"deleted TodoList\", Toast.LENGTH_SHORT).show();\n data.remove(deletePosition);\n notifyItemRemoved(deletePosition);\n }",
"private void initListItems() {\n RecyclerView recyclerView = findViewById(R.id.recyclerView);\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\n recyclerView.setHasFixedSize(true);\n\n List<Food> foods = database.getAll();\n\n List<ListItem> items = new ArrayList<>();\n foods.sort(Comparator.comparing(Food::getExpiration));\n\n for(int i = 0; i < foods.size(); i++) {\n items.add(i, new ListItem(foods.get(i)));\n //items.add(idx, new ListItem(\"Section 1\", true));\n }\n\n ListAdapter adapter = new ListAdapter(this, items);\n recyclerView.setAdapter(adapter);\n\n adapter.setOnItemClickListener(new ListAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(View view, ListItem obj, int position) {\n// database.removeFood(items.get(position).getFood());\n// items.remove(position);\n// adapter.notifyDataSetChanged();\n// Toast.makeText(getApplicationContext(),\"Item Removed!\", Toast.LENGTH_SHORT).show();\n }\n });\n\n // Swipe handler for the rows in the listview\n ItemTouchHelper touchHelper = new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT) {\n @Override\n public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {\n int position = viewHolder.getAdapterPosition();\n\n if (swipeDir == ItemTouchHelper.LEFT) {\n Toast.makeText(getApplicationContext(),\"Item Removed!\", Toast.LENGTH_SHORT).show();\n database.removeFood(items.get(position).getFood());\n adapter.notifyDataSetChanged();\n items.remove(position);\n recreate();\n\n }\n else if (swipeDir == ItemTouchHelper.RIGHT) {\n Toast.makeText(getApplicationContext(),\"Frozen toggled!\", Toast.LENGTH_SHORT).show();\n database.freezeFood(items.get(position).getFood());\n adapter.notifyDataSetChanged();\n recreate();\n }\n }\n\n @Override\n public void onChildDraw (Canvas c, RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) {\n new RecyclerViewSwipeDecorator.Builder(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive)\n .addSwipeRightActionIcon(R.drawable.snowflake)\n .addSwipeRightBackgroundColor(ContextCompat.getColor(MainActivity.this, R.color.freeze_blue))\n .addSwipeLeftActionIcon(R.drawable.ic_baseline_delete_24)\n .addSwipeLeftBackgroundColor(ContextCompat.getColor(MainActivity.this, R.color.design_default_color_error))\n .setActionIconTint(ContextCompat.getColor(MainActivity.this, R.color.white))\n .create()\n .decorate();\n\n super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive);\n }\n\n @Override\n public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) { return false; }\n });\n touchHelper.attachToRecyclerView(recyclerView);\n\n // Check item list size to display empty view\n if (items.isEmpty()) {\n emptyList.setVisibility(View.VISIBLE);\n recyclerView.setVisibility(View.GONE);\n }\n else {\n recyclerView.setVisibility(View.VISIBLE);\n emptyList.setVisibility(View.GONE);\n }\n }",
"@Override\r\n\tprotected void onBoDelete() throws Exception {\n\t\tsuper.onBoDelete();\r\n\t\t// 修改按钮属性\r\n\t\tif(myaddbuttun){\r\n\t\t\tgetButtonManager().getButton(IBillButton.Add).setEnabled(true);\r\n\t\t\tmyaddbuttun=true;\r\n\t\t\t// 转到卡片面,实现按钮的属性转换\r\n\t\t\tgetBillUI().setCardUIState();\r\n\t\t\tsuper.onBoReturn();\r\n\t\t}else{\r\n\t\t\tgetButtonManager().getButton(IBillButton.Add).setEnabled(false);\r\n\t\t\tmyaddbuttun=false;\r\n\t\t\t// 转到卡片面,实现按钮的属性转换\r\n\t\t\tgetBillUI().setCardUIState();\r\n\t\t\tsuper.onBoReturn();\r\n\t\t}\r\n\t}",
"void toggleDeleteVisible (ActionEvent actionEvent) {\n if (this.isSelected())\n app.deleteElements.add(element);\n else\n app.deleteElements.remove(element);\n }",
"public void performDelete() {\n \t\tif (text.getSelectionCount() > 0)\n \t\t\ttext.insert(StringStatics.BLANK);\n \t\telse {\n \t\t\t// remove the next character\n \t\t\tint pos = text.getCaretPosition();\n \t\t\tif (pos < text.getCharCount()) {\n \t\t\t\ttext.setSelection(pos, pos + 1);\n \t\t\t\ttext.insert(StringStatics.BLANK);\n \t\t\t}\n \t\t}\n \t\tcheckSelection();\n \t\tcheckDeleteable();\n \t\tcheckSelectable();\n \t}"
] | [
"0.64365715",
"0.6308204",
"0.62908226",
"0.6280911",
"0.6226",
"0.6216938",
"0.61947286",
"0.617339",
"0.60482824",
"0.60332626",
"0.5970398",
"0.59667313",
"0.5937734",
"0.5917748",
"0.58466434",
"0.58456814",
"0.58329725",
"0.5829733",
"0.58257747",
"0.5820766",
"0.58164454",
"0.5809518",
"0.58057433",
"0.5754213",
"0.57453626",
"0.57360053",
"0.57172316",
"0.5717175",
"0.571562",
"0.5713033",
"0.57093954",
"0.568451",
"0.5681069",
"0.5680843",
"0.56798947",
"0.56795615",
"0.5670865",
"0.5649044",
"0.5645853",
"0.5638086",
"0.5638086",
"0.5638086",
"0.563566",
"0.5632713",
"0.5618188",
"0.56086665",
"0.5603085",
"0.5593817",
"0.5592543",
"0.55850667",
"0.5572234",
"0.5564503",
"0.55627",
"0.5561891",
"0.55496526",
"0.553996",
"0.55388916",
"0.55368733",
"0.55367476",
"0.5525299",
"0.55237466",
"0.5512822",
"0.5512822",
"0.5512524",
"0.55028915",
"0.549171",
"0.54896927",
"0.5488614",
"0.54852504",
"0.5478497",
"0.54775727",
"0.5476418",
"0.5474707",
"0.54684615",
"0.5466728",
"0.54595643",
"0.54579675",
"0.54565567",
"0.545432",
"0.545324",
"0.5452524",
"0.5450532",
"0.5442135",
"0.5437605",
"0.54351425",
"0.54337156",
"0.5426334",
"0.54236394",
"0.54230714",
"0.542171",
"0.5416145",
"0.5414924",
"0.5405417",
"0.53951174",
"0.5386207",
"0.5383875",
"0.53752166",
"0.5370245",
"0.536944",
"0.53683436"
] | 0.55160797 | 61 |
reimplement me if you want | protected JSONObject getJsOptions(final Locale locale) throws JSONException {
return new JSONObject();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n protected void getExras() {\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"protected boolean func_70814_o() { return true; }",
"private void strin() {\n\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"public abstract void mo70713b();",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"public abstract void mo56925d();",
"protected abstract Set method_1559();",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n protected void prot() {\n }",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"public void smell() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n\tpublic void erstellen() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"abstract void uminus();",
"public abstract void mo27386d();",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"public abstract void mo27385c();",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"public abstract void mo6549b();",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"abstract int pregnancy();",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"private void kk12() {\n\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public void skystonePos4() {\n }",
"public void Tyre() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func01() {\n\t\t\r\n\t}",
"public void Exterior() {\n\t\t\r\n\t}",
"@Override\n\tpublic void accept(Visitor visitor) {\n\t\t\n\t}",
"public abstract String mo9239aw();",
"public final void mo51373a() {\n }",
"public abstract void mo35054b();",
"@Override\n\tpublic void trabajar() {\n\n\t}",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public void method_4270() {}",
"public abstract String mo41079d();",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"public abstract String mo118046b();",
"public void mo4359a() {\n }",
"public void trenneVerbindung();",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"public void mo38117a() {\n }",
"public abstract void mo30696a();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public abstract Object mo26777y();",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tpublic void apply() {\n\t\t\n\t}",
"private void m50366E() {\n }",
"public abstract Object mo1771a();",
"@Override\n public void preprocess() {\n }",
"private static void iterator() {\n\t\t\r\n\t}",
"@Override\n\tpublic void yürü() {\n\n\t}",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public abstract String mo13682d();"
] | [
"0.61891884",
"0.61540353",
"0.6152206",
"0.6105738",
"0.60897595",
"0.6084911",
"0.6021766",
"0.60213816",
"0.5975743",
"0.5961241",
"0.5961241",
"0.59004766",
"0.5880649",
"0.58660567",
"0.5853548",
"0.5853548",
"0.584348",
"0.5836491",
"0.5828992",
"0.5824186",
"0.5821988",
"0.58198357",
"0.57599974",
"0.5752819",
"0.5701301",
"0.5700671",
"0.567962",
"0.5677057",
"0.5676568",
"0.5667887",
"0.5657789",
"0.56313044",
"0.5615226",
"0.5609087",
"0.558483",
"0.5582945",
"0.55684227",
"0.55594844",
"0.5554605",
"0.55445254",
"0.5544508",
"0.55274457",
"0.5527187",
"0.552043",
"0.5500867",
"0.5495375",
"0.548699",
"0.54853964",
"0.5462325",
"0.54601634",
"0.5452289",
"0.54391986",
"0.54377866",
"0.54269606",
"0.54269606",
"0.5418179",
"0.5416212",
"0.5410937",
"0.5408236",
"0.5408236",
"0.54023653",
"0.53806245",
"0.5379848",
"0.53774357",
"0.5376172",
"0.5367972",
"0.5361377",
"0.535664",
"0.5333654",
"0.5330084",
"0.53280187",
"0.53208107",
"0.53185403",
"0.5315579",
"0.5315466",
"0.5310263",
"0.5305304",
"0.53020585",
"0.53016603",
"0.5299105",
"0.5298031",
"0.5297903",
"0.5297468",
"0.52922136",
"0.52883375",
"0.52868986",
"0.5280739",
"0.52798265",
"0.527592",
"0.5274909",
"0.5272456",
"0.5267675",
"0.525936",
"0.5259061",
"0.5250193",
"0.5222671",
"0.5218624",
"0.521826",
"0.52147",
"0.5212535",
"0.51994264"
] | 0.0 | -1 |
implement me if you want | protected void initializeComponent() throws JSONException {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"private void strin() {\n\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"protected boolean func_70814_o() { return true; }",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"public abstract void mo56925d();",
"public abstract void mo70713b();",
"private stendhal() {\n\t}",
"public void smell() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"public void trenneVerbindung();",
"public void Tyre() {\n\t\t\r\n\t}",
"private void kk12() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"public void mo4359a() {\n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"abstract void uminus();",
"@Override\n\tpublic void trabajar() {\n\n\t}",
"public abstract void mo27385c();",
"public abstract String mo9239aw();",
"public void mo38117a() {\n }",
"public abstract void mo27386d();",
"public abstract void mo6549b();",
"abstract int pregnancy();",
"private zza.zza()\n\t\t{\n\t\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"public void skystonePos4() {\n }",
"void atterir();",
"Operations operations();",
"public abstract String mo41079d();",
"public abstract String mo118046b();",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n\tpublic void erstellen() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"@Override\n\tpublic void coba() {\n\t\t\n\t}",
"@Override\r\n\tpublic void func01() {\n\t\t\r\n\t}",
"protected abstract Set method_1559();",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public abstract void mo35054b();",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"public void leerAlimentos();",
"@Override\n\tpublic void accept(Visitor visitor) {\n\t\t\n\t}",
"public void Exterior() {\n\t\t\r\n\t}",
"double defendre();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public abstract Object mo1771a();",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"public void miseAJour();",
"@Override\n\tpublic void yürü() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }"
] | [
"0.60679215",
"0.60463643",
"0.5996191",
"0.59907955",
"0.59650207",
"0.59494174",
"0.5948835",
"0.59184366",
"0.58881474",
"0.58881474",
"0.5868542",
"0.5780842",
"0.5764888",
"0.5760821",
"0.5750147",
"0.5729884",
"0.5719217",
"0.5710261",
"0.5683074",
"0.5661139",
"0.5639012",
"0.56376034",
"0.56376034",
"0.5615846",
"0.5610316",
"0.55992913",
"0.55941683",
"0.5588623",
"0.5586636",
"0.5583715",
"0.5562515",
"0.5555279",
"0.55533826",
"0.55390954",
"0.55259913",
"0.55254847",
"0.55252737",
"0.5511455",
"0.54926157",
"0.5482731",
"0.54793435",
"0.5460969",
"0.54548836",
"0.54505575",
"0.54447",
"0.54422235",
"0.54392403",
"0.543015",
"0.5408709",
"0.5399296",
"0.53971726",
"0.53786397",
"0.5353201",
"0.5348939",
"0.53369313",
"0.53369313",
"0.5331102",
"0.5327554",
"0.53268796",
"0.5324824",
"0.5321503",
"0.52995783",
"0.5283746",
"0.5280155",
"0.52723503",
"0.5271024",
"0.5271024",
"0.5263025",
"0.5259233",
"0.5252638",
"0.52515745",
"0.524252",
"0.52419496",
"0.52383864",
"0.52307594",
"0.5227193",
"0.52123415",
"0.5210973",
"0.5205106",
"0.5200665",
"0.5195235",
"0.51934636",
"0.51933295",
"0.51881987",
"0.51808256",
"0.5175788",
"0.5174172",
"0.5171362",
"0.5170859",
"0.5170145",
"0.5170102",
"0.51670116",
"0.5161184",
"0.5159955",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056"
] | 0.0 | -1 |
implement me if you want | protected void prepareComponentView(final Map<String, Object> map, final Locale locale) throws JSONException {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"private void strin() {\n\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"protected boolean func_70814_o() { return true; }",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"public abstract void mo56925d();",
"public abstract void mo70713b();",
"private stendhal() {\n\t}",
"public void smell() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"public void trenneVerbindung();",
"public void Tyre() {\n\t\t\r\n\t}",
"private void kk12() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"public void mo4359a() {\n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"abstract void uminus();",
"@Override\n\tpublic void trabajar() {\n\n\t}",
"public abstract void mo27385c();",
"public abstract String mo9239aw();",
"public void mo38117a() {\n }",
"public abstract void mo27386d();",
"public abstract void mo6549b();",
"abstract int pregnancy();",
"private zza.zza()\n\t\t{\n\t\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"public void skystonePos4() {\n }",
"void atterir();",
"Operations operations();",
"public abstract String mo41079d();",
"public abstract String mo118046b();",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n\tpublic void erstellen() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"@Override\n\tpublic void coba() {\n\t\t\n\t}",
"@Override\r\n\tpublic void func01() {\n\t\t\r\n\t}",
"protected abstract Set method_1559();",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public abstract void mo35054b();",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"public void leerAlimentos();",
"@Override\n\tpublic void accept(Visitor visitor) {\n\t\t\n\t}",
"public void Exterior() {\n\t\t\r\n\t}",
"double defendre();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public abstract Object mo1771a();",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"public void miseAJour();",
"@Override\n\tpublic void yürü() {\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }"
] | [
"0.60679215",
"0.60463643",
"0.5996191",
"0.59907955",
"0.59650207",
"0.59494174",
"0.5948835",
"0.59184366",
"0.58881474",
"0.58881474",
"0.5868542",
"0.5780842",
"0.5764888",
"0.5760821",
"0.5750147",
"0.5729884",
"0.5719217",
"0.5710261",
"0.5683074",
"0.5661139",
"0.5639012",
"0.56376034",
"0.56376034",
"0.5615846",
"0.5610316",
"0.55992913",
"0.55941683",
"0.5588623",
"0.5586636",
"0.5583715",
"0.5562515",
"0.5555279",
"0.55533826",
"0.55390954",
"0.55259913",
"0.55254847",
"0.55252737",
"0.5511455",
"0.54926157",
"0.5482731",
"0.54793435",
"0.5460969",
"0.54548836",
"0.54505575",
"0.54447",
"0.54422235",
"0.54392403",
"0.543015",
"0.5408709",
"0.5399296",
"0.53971726",
"0.53786397",
"0.5353201",
"0.5348939",
"0.53369313",
"0.53369313",
"0.5331102",
"0.5327554",
"0.53268796",
"0.5324824",
"0.5321503",
"0.52995783",
"0.5283746",
"0.5280155",
"0.52723503",
"0.5271024",
"0.5271024",
"0.5263025",
"0.5259233",
"0.5252638",
"0.52515745",
"0.524252",
"0.52419496",
"0.52383864",
"0.52307594",
"0.5227193",
"0.52123415",
"0.5210973",
"0.5205106",
"0.5200665",
"0.5195235",
"0.51934636",
"0.51933295",
"0.51881987",
"0.51808256",
"0.5175788",
"0.5174172",
"0.5171362",
"0.5170859",
"0.5170145",
"0.5170102",
"0.51670116",
"0.5161184",
"0.5159955",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056",
"0.51599056"
] | 0.0 | -1 |
Save current theme to use when user press dismiss inside dialog | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
sharedPreferences = getActivity().getSharedPreferences("VALUES", Context.MODE_PRIVATE);
currentTheme = sharedPreferences.getInt("THEME", 0);
//inflate theme_dialog.xml
view = inflater.inflate(R.layout.theme_dialog, container);
// remove title (already defined in theme_dialog.xml)
getDialog().requestWindowFeature(Window.FEATURE_NO_TITLE);
// Declare buttons and onClick methods
dialogButtons();
setUltimoThemeBooton(currentTheme);
return view;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onDismiss(DialogInterface dialog) {\n if (color.equals(getString(R.string.pref_theme_default)))\n resetAppIcon();\n else if (color.equals(getString(R.string.pref_theme_blue)))\n enableBlue();\n else if (color.equals(getString(R.string.pref_theme_green)))\n enableGreen();\n else if (color.equals(getString(R.string.pref_theme_purple)))\n enablePurple();\n\n // Restart the app\n Toast.makeText(SettingsActivity.this, \"Restarting app.....\", Toast.LENGTH_SHORT).show();\n Intent i = getBaseContext().getPackageManager()\n .getLaunchIntentForPackage(getPackageName());\n i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);\n startActivity(i);\n }",
"private void createThemeDialog() {\n\n\t\tAlertDialog.Builder alb = new AlertDialog.Builder(this);\n\t\talb.setTitle(getString(R.string.choose_theme));\n\t\talb.setCancelable(true);\n\n\t\tString[] items;\n\t\tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {\n\t\t\titems = new String[]{getString(R.string.light), getString(R.string.dark),\n\t\t\t\t\tgetString(R.string.time), getString(R.string.system)};\n\t\t} else {\n\t\t\titems = new String[]{getString(R.string.light), getString(R.string.dark),\n\t\t\t\t\tgetString(R.string.time)};\n\t\t}\n\n\t\tAtomicInteger newTheme = new AtomicInteger(currentTheme);\n\n\t\talb.setSingleChoiceItems(items, currentTheme, (dialog, which) -> newTheme.set(which));\n\n\t\talb.setPositiveButton(getString(R.string.set_theme), (dialog, which) -> {\n\t\t\tcurrentTheme = newTheme.get();\n\t\t\tchangeTheme();\n\t\t});\n\n\t\talb.show();\n\t}",
"private void applyCurrentTheme() {\n TempestatibusApplicationSettings tempestatibusApplicationSettings = getTempestatibusApplicationSettings();\n tempestatibusApplicationSettings.createSharedPreferenceContext(this);\n String theme = tempestatibusApplicationSettings.getAppThemePreference();\n mRefreshImageView.setBackgroundResource(TempestatibusApplicationSettings.getRefreshId());\n mDegreeImageView.setBackgroundResource(TempestatibusApplicationSettings.getLargeDegreeId(theme));\n mDewValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mApparentTemperatureValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mSettingsImageView.setBackgroundResource(TempestatibusApplicationSettings.getSettingsIconId());\n mHourglassIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getHourglassId());\n mSaveIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSaveIconId());\n mSearchIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSearchIconId());\n }",
"public void loadSavedTheme() {\n if(savedThemeDark)\n {\n if(isDark()){\n //El tema ya es oscuro, no hace nada\n }\n else{\n loadDark();\n }\n }\n else\n {\n if(isDark())\n {\n loadLight();\n }\n }\n\n }",
"public void cancelThemeApply(boolean z) {\n if (this.screenType != 2) {\n Theme.applyPreviousTheme();\n NotificationCenter.getGlobalInstance().removeObserver(this, NotificationCenter.didSetNewWallpapper);\n if (this.screenType == 1) {\n if (this.editingTheme) {\n Theme.ThemeAccent themeAccent = this.accent;\n themeAccent.accentColor = this.backupAccentColor;\n themeAccent.accentColor2 = this.backupAccentColor2;\n themeAccent.myMessagesAccentColor = this.backupMyMessagesAccentColor;\n themeAccent.myMessagesGradientAccentColor1 = this.backupMyMessagesGradientAccentColor1;\n themeAccent.myMessagesGradientAccentColor2 = this.backupMyMessagesGradientAccentColor2;\n themeAccent.myMessagesGradientAccentColor3 = this.backupMyMessagesGradientAccentColor3;\n themeAccent.myMessagesAnimated = this.backupMyMessagesAnimated;\n themeAccent.backgroundOverrideColor = this.backupBackgroundOverrideColor;\n themeAccent.backgroundGradientOverrideColor1 = this.backupBackgroundGradientOverrideColor1;\n themeAccent.backgroundGradientOverrideColor2 = this.backupBackgroundGradientOverrideColor2;\n themeAccent.backgroundGradientOverrideColor3 = this.backupBackgroundGradientOverrideColor3;\n themeAccent.backgroundRotation = this.backupBackgroundRotation;\n themeAccent.patternSlug = this.backupSlug;\n themeAccent.patternIntensity = this.backupIntensity;\n }\n Theme.saveThemeAccents(this.applyingTheme, false, true, false, false);\n } else {\n if (this.accent != null) {\n Theme.saveThemeAccents(this.applyingTheme, false, this.deleteOnCancel, false, false);\n }\n this.parentLayout.rebuildAllFragmentViews(false, false);\n if (this.deleteOnCancel) {\n Theme.ThemeInfo themeInfo = this.applyingTheme;\n if (themeInfo.pathToFile != null && !Theme.isThemeInstalled(themeInfo)) {\n new File(this.applyingTheme.pathToFile).delete();\n }\n }\n }\n if (!z) {\n finishFragment();\n }\n } else if (!z) {\n finishFragment();\n }\n }",
"public Dialog onCreateDialogSingleChoice() {\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n \t//Source of the data in the DIalog\n \t\n\n \t// Set the dialog title\n \tbuilder.setTitle(R.string.dtitle)\n \t// Specify the list array, the items to be selected by default (null for none),\n \t// and the listener through which to receive callbacks when items are selected\n \t.setSingleChoiceItems(items, choice, new DialogInterface.OnClickListener() {\n\n \t@Override\n \tpublic void onClick(DialogInterface dialog, int which) {\n \t// TODO Auto-generated method stub\n myPref.setSummary(items[which]);\n switch(which)\n {\n case 0:\n editor.putInt(\"Theme\",R.style.AppThemeRed);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 1:\n editor.putInt(\"Theme\",R.style.AppThemeBlue);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 2:\n editor.putInt(\"Theme\",R.style.AppThemePurple);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 3:\n editor.putInt(\"Theme\",R.style.AppThemeGreen);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 4:\n editor.putInt(\"Theme\",R.style.AppThemeOrange);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 5:\n editor.putInt(\"Theme\",R.style.AppThemeGrey);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n }\n\n \t}\n \t})\n\n \t// Set the action buttons\n \t.setPositiveButton(R.string.dok, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int id) {\n // User clicked OK, so save the result somewhere\n // or return them to the component that opened the dialog\n //Preferences.restart();\n //theme = sharedPreferences.getInt(\"Theme\", R.style.AppThemeRed);\n startActivity(new Intent(context, Preferences.class));\n }\n })\n \t.setNegativeButton(R.string.dcancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int id) {\n\n }\n });\n\n \treturn builder.create();\n \t}",
"@Override\r\n public void onClick(DialogInterface dialogInterface, int i) {\n \t\r\n \t\t\t\tSharedPreferences.Editor editor = prefs.edit();\r\n editor.putBoolean(CustomizeDialog.this.key, true);\r\n editor.commit();\r\n //dialogInterface.dismiss();\r\n \t\t\t}",
"private void setButtons(){\n cancelButton = findViewById(R.id.memory_theme_cancel);\n saveButton = findViewById(R.id.memory_theme_save);\n\n cancelButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n setSound.startButtonNoise(MemoryThemeActivity.this);\n finish();\n }\n });\n\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);\n final SharedPreferences.Editor editor = sp.edit();\n\n saveButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n setSound.startButtonNoise(MemoryThemeActivity.this);\n editor.putInt(PreferenceKeys.MEMORY_THEME, saveTheme);\n editor.putInt(PreferenceKeys.MEMORY_THEME_COLOR, color);\n editor.putInt(PreferenceKeys.MEMORY_THEME_BOARDER, boarder);\n editor.putInt(PreferenceKeys.MEMORY_THEME_STYE, style);\n editor.apply();\n Intent intent = new Intent(MemoryThemeActivity.this, MemoryActivity.class);\n startActivity(intent);\n }\n });\n }",
"private void setTheme() {\n\t\tLog.i(LOG_TAG, \"setTheme\");\n\n\t\tSharedPreferences preferences = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\t\tthis.themeString = preferences.getString(\"theme_scheme\",\n\t\t\t\tMainMenuActivityThemeChanger.DARK_THEME);\n\n\t\tif (themeString\n\t\t\t\t.equalsIgnoreCase(MainMenuActivityThemeChanger.PINK_THEME)) {\n\n\t\t\tthis.setTheme(R.style.pinkTheme);\n\t\t\tsetContentView(R.layout.activity_time_trial);\n\n\t\t} else if (themeString\n\t\t\t\t.equalsIgnoreCase(MainMenuActivityThemeChanger.LIGHT_THEME)) {\n\n\t\t\tthis.setTheme(R.style.lightTheme);\n\t\t\tsetContentView(R.layout.activity_time_trial);\n\n\t\t} else {\n\n\t\t\tthis.setTheme(R.style.darkTheme);\n\t\t\tsetContentView(R.layout.activity_time_trial);\n\n\t\t}\n\t}",
"private void toggleTheme() {\n\n // Following options to change the Theme must precede setContentView().\n\n SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);\n String lister = sharedPref.getString(\"list_preference\", \"1\");\n\n currentTheme = Integer.parseInt(lister);\n if (currentTheme == 2) {\n isLight = false;\n } else {\n isLight = true;\n }\n\n if (isLight) {\n setTheme(R.style.LightCustom);\n } else {\n setTheme(R.style.DarkCustom);\n }\n }",
"@Override\n \tpublic void onClick(DialogInterface dialog, int which) {\n myPref.setSummary(items[which]);\n switch(which)\n {\n case 0:\n editor.putInt(\"Theme\",R.style.AppThemeRed);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 1:\n editor.putInt(\"Theme\",R.style.AppThemeBlue);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 2:\n editor.putInt(\"Theme\",R.style.AppThemePurple);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 3:\n editor.putInt(\"Theme\",R.style.AppThemeGreen);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 4:\n editor.putInt(\"Theme\",R.style.AppThemeOrange);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n case 5:\n editor.putInt(\"Theme\",R.style.AppThemeGrey);\n editor.putInt(\"Choice\",which);\n editor.commit();\n break;\n }\n\n \t}",
"static void setPrefTheme(int theme){\n PREF_THEME = theme;\n }",
"@Override\n public void onBackPressed() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this, R.style.MyTheme);\n builder.setMessage(R.string.do_u_want_exit_app)\n .setCancelable(false)\n .setPositiveButton(R.string.yes,\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n onExit();\n\n }\n })\n .setNegativeButton(R.string.no,\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }\n });\n builder.show();\n }",
"public void onClick(DialogInterface dialog, int id) {\n\t\t \t switch (positionSelected){\n default:\n case 55:\n themeId = R.style.ThemeGreen; break;\n\t\t \t case 0:\n\t\t \t\t themeId = R.style.ThemeLight; break;\n\t\t \t case 1:\n\t\t \t\t themeId = R.style.ThemeDark; break;\n\n\t\t \t }\n\t\t \t //getApplication().setTheme(themeId);\n\t\t \t \n\t\t \t act.Update();\n\t\t \t //Activity act = getActivity(); \n\t\t }",
"@StyleRes\n public static int getDialogTheme(final Context context) {\n return isLightThemeSelected(context) ? R.style.LightDialogTheme : R.style.DarkDialogTheme;\n }",
"String getTheme();",
"@Override\n public void onDismiss() {\n WindowManager.LayoutParams p = getWindow().getAttributes();\n p.alpha=(float) 1;\n getWindow().setAttributes(p);\n }",
"public String getTheme() {\n return theme;\n }",
"private void changeTheme() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n boolean useDarkTheme = preferences.getBoolean(\"theme_pref\", false);\n\n if (useDarkTheme) {\n setTheme(R.style.DarkTheme);\n } else {\n setTheme(R.style.AppTheme);\n }\n }",
"@Override\n public void onClick(View v) {\n ButtonRectangle btn = (ButtonRectangle) v;\n SharedPreferences sp = getUserPref();\n String currentColor = sp.getString(BaseActivity.SF_THEME_COLOR, \"Teal\");\n if (currentColor.equals(btn.getText()))\n return;\n SharedPreferences.Editor editor = sp.edit();\n editor.putString(BaseActivity.SF_THEME_COLOR, btn.getText());\n editor.apply();\n getActivity().finish();\n startActivity(getActivity().getIntent());\n// android.os.Process.killProcess(android.os.Process.myPid());\n }",
"public void loadTheme() {\n runOnUiThread(new Runnable() {\n public void run() {\n try {\n //inspired by:https://stackoverflow.com/questions/15025369/changing-the-theme-of-an-android-app-using-preferences\n SharedPreferences data = getSharedPreferences(\"Themes\", 0);\n dataReturned = data.getString(\"LightDark\", \"ThemeDark\");\n if (dataReturned.equals(\"ThemeDark\"))\n setTheme(R.style.ThemeDark);\n else\n setTheme(R.style.ThemeLight);\n } catch (final Exception ex) {\n // Log.i(\"sortViewEntries\", \"Exception in thread\");\n }\n }\n });\n }",
"public String getThemeId() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n String themeId = preferences.getString(\"theme\", \"\");\n return themeId;\n }",
"public String getTheme() {\n return theme;\n }",
"public String getTheme() {\n return theme;\n }",
"public String getTheme() {\n return theme;\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n if(which == 0){\n dialog.dismiss();\n // this is for red and reds color hex #FFFF0000\n Settings settings = new Settings();\n settings.setColorHex(\"FFFFA500\");\n settings.setColorFont(_settings.getColorFont());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n if(which == 1){\n dialog.dismiss();\n // this is for green and greens color hex #FF00FF00\n Settings settings = new Settings();\n settings.setColorHex(\"FF2E8B57\");\n settings.setColorFont(_settings.getColorFont());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n if (which ==2){\n dialog.dismiss();\n // this is for blue and blues color hex #FF0000FF\n Settings settings = new Settings();\n settings.setColorHex(\"FF00CED1\");\n settings.setColorFont(_settings.getColorFont());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n Intent intent = new Intent(getContext(),MainActivity.class);\n startActivity(intent);\n }",
"private boolean getAppTheme() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n return preferences.getBoolean(\"dark_mode\", false);\n }",
"@Override\n public void onClick(View v) {\n Settings.Section section;\n section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_PRIMARY);\n\n EditText red, green, blue;\n red = (EditText) view.findViewById(R.id.rgb_red);\n green = (EditText) view.findViewById(R.id.rgb_green);\n blue = (EditText) view.findViewById(R.id.rgb_blue);\n\n String r, g, b;\n r = red.getText().toString();\n g = green.getText().toString();\n b = blue.getText().toString();\n\n section.setProperty(Res.THEME_KEY_RED, Integer.parseInt(r));\n section.setProperty(Res.THEME_KEY_GREEN, Integer.parseInt(g));\n section.setProperty(Res.THEME_KEY_BLUE, Integer.parseInt(b));\n MainActivity.instance.themeSettings.save();\n\n // go back to theme settings\n content.removeAllViews();\n content.addView(settings);\n }",
"@Override\n public void onClick(View v) {\n Settings.Section section;\n section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_SECONDARY);\n\n EditText red, green, blue;\n red = (EditText) view.findViewById(R.id.rgb_red);\n green = (EditText) view.findViewById(R.id.rgb_green);\n blue = (EditText) view.findViewById(R.id.rgb_blue);\n\n String r, g, b;\n r = red.getText().toString();\n g = green.getText().toString();\n b = blue.getText().toString();\n\n section.setProperty(Res.THEME_KEY_RED, Integer.parseInt(r));\n section.setProperty(Res.THEME_KEY_GREEN, Integer.parseInt(g));\n section.setProperty(Res.THEME_KEY_BLUE, Integer.parseInt(b));\n MainActivity.instance.themeSettings.save();\n\n // go back to theme settings\n content.removeAllViews();\n content.addView(settings);\n }",
"public static SuiTheme getTheme() {\r\n return theme;\r\n }",
"public void onClick(DialogInterface dialog, int which) {\n SharedPreferences sp = getDefaultSharedPreferences(getApplicationContext());\n\n // save the preferences that must be kept\n boolean firstUse = sp.getBoolean(getString(R.string.KEY_FIRST_USE), false);\n int askForRate = sp.getInt(getString(R.string.KEY_ASK_FOR_RATE), getResources().getInteger(R.integer.askForRate_max_value));\n\n SharedPreferences.Editor editor = sp.edit();\n editor.clear();\n editor.putBoolean(getString(R.string.KEY_FIRST_USE), firstUse);\n editor.putInt(getString(R.string.KEY_ASK_FOR_RATE), askForRate);\n editor.apply();\n PreferenceManager.setDefaultValues(getApplicationContext(), R.xml.preferences, true);\n\n // Delete the old fragment and replace with a new one. This will update the summaries\n // (I couldn't find a smarter way to do that...)\n getFragmentManager().beginTransaction()\n .replace(android.R.id.content, new SettingsFragment(), fragment_tag)\n .commit();\n dialog.dismiss();\n }",
"private void loadSettings() {\n // set theme\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n String themeId = preferences.getString(\"theme\", \"\");\n if (themeId.equals(\"light\")) {\n setTheme(R.style.ThemeLightReadMode);\n Log.d(TAG, \"switch to light theme \" + themeId);\n }\n else /*if (themeId.equals(\"dark\"))*/ {\n setTheme(R.style.ThemeDarkReadMode);\n Log.d(TAG, \"switch to dark theme \" + themeId);\n }\n }",
"@Override\n public void onClick(View v) {\n Settings.Section section;\n section = MainActivity.instance.themeSettings.getSection(Res.THEME_SECTION_ACCENT);\n\n EditText red, green, blue;\n red = (EditText) view.findViewById(R.id.rgb_red);\n green = (EditText) view.findViewById(R.id.rgb_green);\n blue = (EditText) view.findViewById(R.id.rgb_blue);\n\n String r, g, b;\n r = red.getText().toString();\n g = green.getText().toString();\n b = blue.getText().toString();\n\n section.setProperty(Res.THEME_KEY_RED, Integer.parseInt(r));\n section.setProperty(Res.THEME_KEY_GREEN, Integer.parseInt(g));\n section.setProperty(Res.THEME_KEY_BLUE, Integer.parseInt(b));\n MainActivity.instance.themeSettings.save();\n\n // go back to theme settings\n content.removeAllViews();\n content.addView(settings);\n }",
"public int getTheme() {\n return this.theme;\n }",
"@FXML\n\tprivate void setDarkStyle() {\n\t\tapplication.getScene().getStylesheets().remove(urlDefaultTheme);\n\n\t\t// Add the new theme\n\t\tapplication.getScene().getStylesheets().add(urlDarkTheme);\n\t}",
"public void onThemeChanged()\n\t{\n\t}",
"public String getTheme() {\r\n\t\treturn _theme;\r\n\t}",
"private static void setActivityTheme(Context context) {\n //access the dark mode theme\n SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);\n String themePref = sharedPrefs.getString(\"theme_preference\", \"Light\");\n //set the calling object's theme to match with what's listed in shared preferences\n switch (themePref) {\n case \"Light\":\n context.setTheme(R.style.AppTheme);\n AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);\n break;\n case \"Dark\":\n context.setTheme(R.style.AppThemeDark);\n //turn off AppThemeDayNight\n AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);\n break;\n //\"Auto\" is commented out due to time restraints. I hope to revisit this later. -Littlesnowman88\n /*case \"Auto\":\n context.setTheme(R.style.AppThemeDayNight);\n AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO);\n break;*/\n //a Runtime Exception is thrown to ensure that new themes are fully implemented into this case statement. Developers must not be sloppy with their theme changes.\n default:\n throw new RuntimeException(\"ERROR: mismatch between selected app theme and implemented app themes.\");\n }\n }",
"public String getTheme() {\r\n\t\treturn theme;\r\n\t}",
"@Override\n public Dialog onCreateDialog(Bundle savedInstanceState) {\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n LayoutInflater layoutInflater = getActivity().getLayoutInflater();\n final View view = layoutInflater.inflate(R.layout.save_set_dialog, null);\n builder.setView(view);\n builder.setTitle(\"Save Set\");\n builder.setPositiveButton(\"Save\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // overwritten below\n }\n });\n\n builder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n SaveSetDialog.this.getDialog().cancel();\n }\n });\n\n final AlertDialog saveSetDialog = builder.show();\n\n int buttonTextColor = ContextCompat.getColor(getActivity(), R.color.colorAccent);\n\n Button positiveButton = saveSetDialog.getButton(AlertDialog.BUTTON_POSITIVE);\n positiveButton.setTextColor(buttonTextColor);\n\n Button negativeButton = saveSetDialog.getButton(AlertDialog.BUTTON_NEGATIVE);\n negativeButton.setTextColor(buttonTextColor);\n saveSetDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);\n\n DisplayMetrics displayMetrics = new DisplayMetrics();\n getActivity().getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);\n int width = displayMetrics.widthPixels;\n int widthDialog = (int) Math.floor(width*0.85);\n\n saveSetDialog.getWindow().setLayout(widthDialog, WindowManager.LayoutParams.WRAP_CONTENT);\n\n saveSetDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n boolean closeDialog = false;\n\n EditText setName = (EditText) view.findViewById(R.id.setNameEditText);\n\n final int defaultColor = setName.getCurrentHintTextColor();\n setName.setHintTextColor(defaultColor);\n\n String setNameString = setName.getText().toString().trim();\n\n int redColor = Color.rgb(229, 57, 53);\n\n if (setNameString.length() == 0) {\n setName.setHintTextColor(redColor);\n Toast toast = Toast.makeText(getActivity(), \"Insert set name.\", Toast.LENGTH_SHORT);\n toast.show();\n\n }\n else if (duplicateSetName(setNameString)) {\n Toast toast = Toast.makeText(getActivity(), \"Set name in use.\", Toast.LENGTH_SHORT);\n toast.show();\n }\n else {\n Set setCopy = (Set) deepClone(SetManager.getInstance().getCurrentSet());\n if (setCopy != null){\n setCopy.setName(setNameString);\n SetManager.getInstance().getSets().add(setCopy);\n }\n\n else {\n Toast toast = Toast.makeText(getActivity(), \"Error saving set.\", Toast.LENGTH_SHORT);\n toast.show();\n }\n\n\n closeDialog = true;\n }\n\n if(closeDialog) {\n saveSetDialog.dismiss();\n }\n }\n });\n\n return saveSetDialog;\n }",
"public void checkTheme()\n {\n ImageView miniLogo = (ImageView) findViewById(R.id.mini_logo);\n LinearLayout colorBar = (LinearLayout) findViewById(R.id.color_bar);\n\n if(!ApplicationData.theme.equals(\"default\"))\n {\n switch(ApplicationData.theme)\n {\n case \"Banana\":\n colorBar.setBackgroundResource(R.color.color_banana);\n miniLogo.setImageResource(R.drawable.banner_logo_banana);\n //bigImg.setImageResource(R.drawable.banner_logo_banana);\n ApplicationData.theme = \"Banana\";\n //setTheme(R.style.AppThemeBanana);\n break;\n case \"Peach\":\n colorBar.setBackgroundResource(R.color.color_peach);\n miniLogo.setImageResource(R.drawable.banner_logo_peach);\n //bigImg.setImageResource(R.drawable.banner_logo_peach);\n ApplicationData.theme = \"Peach\";\n break;\n case \"Strawberry\":\n colorBar.setBackgroundResource(R.color.color_strawberry);\n miniLogo.setImageResource(R.drawable.banner_logo_strawberry);\n //bigImg.setImageResource(R.drawable.banner_logo_strawberry);\n ApplicationData.theme = \"Strawberry\";\n break;\n case \"Mellon\":\n colorBar.setBackgroundResource(R.color.color_mellon);\n miniLogo.setImageResource(R.drawable.banner_logo_mellon);\n //bigImg.setImageResource(R.drawable.banner_logo_mellon);\n ApplicationData.theme = \"Mellon\";\n break;\n default:\n colorBar.setBackgroundResource(R.color.color_default);\n miniLogo.setImageResource(R.drawable.banner_logo);\n //bigImg.setImageResource(R.drawable.banner_logo);\n ApplicationData.theme = \"Default\";\n break;\n }\n }\n }",
"public void setTheme(String theme) {\r\n\t\tsuper.setTheme(theme);\r\n\t\tProps props = getPage().getPageProperties();\r\n\t\t_saveButtonCaption = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_SAVE_BUTTON_CAPTION);\r\n\t\t_saveButtonAccessKey = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_SAVE_BUTTON_ACCESS_KEY);\r\n\t\t_addButtonCaption = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_ADD_BUTTON_CAPTION);\r\n\t\t_addButtonAccessKey = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_ADD_BUTTON_ACCESS_KEY);\r\n\t\t_deleteButtonCaption = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_DELETE_BUTTON_CAPTION);\r\n\t\t_deleteButtonAccessKey = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_DELETE_BUTTON_ACCESS_KEY);\r\n\t\t_cancelButtonCaption = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_CANCEL_BUTTON_CAPTION);\r\n\t\t_cancelButtonAccessKey = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_CANCEL_BUTTON_ACCESS_KEY);\r\n\r\n\t\t//agregado\r\n\t\t//Juan Manuel Cortez, 14/10/2007\r\n\t\t_okToCancelQuestion = props.getThemeProperty(theme, Props.FORM_DISPLAY_BOX_CANCEL_CONFIRMATION_MESSAGE);\r\n\t\t_okToAddQuestion = props.getThemeProperty(theme, Props.FORM_DISPLAY_BOX_ADD_CONFIRMATION_MESSAGE);\r\n\t\t_okToEditQuestion = props.getThemeProperty(theme, Props.FORM_DISPLAY_BOX_EDIT_CONFIRMATION_MESSAGE);\r\n\t\t_okToDeleteQuestion = props.getThemeProperty(theme, Props.FORM_DISPLAY_BOX_DELETE_CONFIRMATION_MESSAGE);\r\n\t\t_dirtyDataError = props.getThemeProperty(theme, Props.FORM_DISPLAY_BOX_DIRTY_DATA_ERROR_MESSAGE);\r\n\r\n\t\tString st = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_BUTTON_LOCATION);\r\n\t\tif (st != null) {\r\n\t\t\tif (st.equalsIgnoreCase(\"BELOW_TABLE\"))\r\n\t\t\t\tsetButtonDisplayLocation(BUTTON_DISPLAY_BELOW_TABLE);\r\n\t\t\telse if (st.equalsIgnoreCase(\"IN_HEADER\"))\r\n\t\t\t\tsetButtonDisplayLocation(BUTTON_DISPLAY_IN_HEADER);\r\n\t\t}\r\n\t\tst = props.getThemeProperty(theme, Props.DETAIL_FORM_DISPLAY_BOX_BOTTOM_BUTTON_ALIGN);\r\n\t\tif (st !=null)\r\n\t\t\tsetBottomButtonAlign(st);\r\n\t\tsetUpButtons();\r\n\t}",
"@Override\n public void dismiss() {\n if(chk.isChecked()){\n //make file languageFixed.txt\n File setting = null;\n setting = makeDirectory(external_path+\"/OurMenu/setting/\");\n makeFile(setting, external_path+\"/OurMenu/setting/tutorialNo.txt\");\n }\n\n super.dismiss();\n }",
"protected void updatePreferences() {\n boolean theme = PreferenceManager.getDefaultSharedPreferences(this).getBoolean(getString(R.string.prefTheme), false);\n\n if (theme) {\n\n // Set to light mode.\n AppCompatDelegate.setDefaultNightMode(\n AppCompatDelegate.MODE_NIGHT_NO);\n } else {\n\n // Set to dark mode.\n AppCompatDelegate.setDefaultNightMode(\n AppCompatDelegate.MODE_NIGHT_YES);\n }\n }",
"@Override\n public void onCancel(DialogInterface dialogInterface) {\n try {\n InputManager.mTeamNum = AppUtils.StringToInt(et_overrideTeamNum.getText().toString());\n } catch (Exception e) {\n }\n\n //Sets team color to whatever is selected in override\n if (rb_red.isChecked()) {\n InputManager.mAllianceColor = \"red\";\n } else if (rb_blue.isChecked()) {\n InputManager.mAllianceColor = \"blue\";\n }\n\n //Saves data inputted in override\n InputManager.storeUserData();\n MainActivity.updateUserData();\n }",
"@Override\n protected void onResume() {\n super.onResume();\n SharedPreferences sharedPreferences = getSharedPreferences(\"com.example.ivonneortega.the_news_project.Settings\", Context.MODE_PRIVATE);\n theme_changed = sharedPreferences.getBoolean(SettingsActivity.THEME_HAS_CHANGED,false);\n\n if(mStartActivity){\n mStartActivity = false;\n\n } else if (theme_changed){\n SharedPreferences sharedPreferences1 = getSharedPreferences(\"com.example.ivonneortega.the_news_project.Settings\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences1.edit();\n editor.putBoolean(SettingsActivity.THEME_HAS_CHANGED,false);\n editor.apply();\n finish();\n startActivity(getIntent());\n }\n }",
"public final ColorTheme getTheme() {\n return window.getApplication().getTheme();\n }",
"public void setTheme(String theme) {\n this.theme = theme;\n }",
"void applyTheme(T theme);",
"@Override\n\tpublic void onBackPressed() {\n\t\t//super.onBackPressed();\n \t\n \tSharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);\n\t\tif(settings.getInt(OPEN_FROM_WIDGET, 0)==0)\n\t\t{\n\t \tAlertDialog.Builder builder = new AlertDialog.Builder(RakutenHomeController.this);\n\t \tbuilder.setMessage(R.string.dialogBody)\n\t .setCancelable(false)\n\t .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\t \tItemInfoCacheFile.deleteCacheFile(CreatePath.filePath(RakutenHomeController.this,\n\t\t\t\t\t\t\tHOME_SUGGESTIONS_CACHE_FILE));\n\t \tRakutenHomeController.this.finish();\n\t }\n\t })\n\t .setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\t dialog.cancel();\n\t }\n\t });\n\t \tAlertDialog alert = builder.create();\n\t \talert.show();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfinish();\n\t\t}\n }",
"public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n Toast.makeText(getApplicationContext(),\"You Don't want to restore\",\n Toast.LENGTH_SHORT).show();\n }",
"@Override\n\tprotected void onDestroy() {\n\t\t\n\t\tif(!isSave){\n\t\t\tMyDialog.saveTemp(this, Common.PATH);\n\t\t\tsuper.onDestroy();\n\t\t}else{\n\t\t\tsuper.onDestroy();\n\t\t}\n\t\t\n\t}",
"@Override\n protected int getCustomTheme()\n {\n return R.style.MwmTheme_DialogFragment_Fullscreen;\n }",
"public static void setTheme(SuiTheme t) {\r\n theme = t;\r\n }",
"static void changeToTheme(Activity activity, int theme, User usr) {\n switch (theme) {\n default:\n case THEME_DEFAULT:\n activity.setTheme(R.style.LightDefaultTheme);\n break;\n case THEME_GP:\n activity.setTheme(R.style.LightGPTheme);\n break;\n case THEME_OT:\n activity.setTheme(R.style.LightOTTheme);\n break;\n case THEME_BP:\n activity.setTheme(R.style.LightBPTheme);\n break;\n }\n usr.getUserData().setPrefs(null);\n Intent intent = new Intent(activity, activity.getClass());\n intent.putExtra(\"UserObject\", usr);\n activity.finish();\n activity.startActivity(intent);\n }",
"@Override\n public void onCancel(DialogInterface dialog) {\n textDate.setTextColor(getColor(R.color.colorBlack));\n }",
"@Override\n\t\t\t\tpublic void onDismiss(DialogInterface dialog) {\n\t\t\t\t\tfinish();\n\t\t\t\t\t\n\t\t\t\t}",
"public void onThemeButton(View v) {\n View parentRow = (View) v.getParent();\n ListView listView = (ListView) parentRow.getParent();\n final int position = listView.getPositionForView(parentRow);\n\n DeviceClient deviceClient = mDeviceClientList.get(position);\n PopupMenu popupMenu = new PopupMenu(MainActivity.this, v);\n\n popupMenu.getMenuInflater().inflate(R.menu.theme_menu, popupMenu.getMenu());\n popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {\n @Override\n public boolean onMenuItemClick(MenuItem item) {\n byte theme = 0;\n switch (item.getItemId()) {\n case R.id.menu_theme_default:\n theme = THEME_DEFAULT;\n break;\n case R.id.menu_theme_health:\n theme = THEME_HEALTH;\n break;\n case R.id.menu_theme_access:\n theme = THEME_ACCESS;\n break;\n case R.id.menu_theme_value:\n theme = THEME_VALUE;\n break;\n case R.id.menu_theme_member:\n theme = THEME_MEMBER;\n break;\n default:\n return true;\n }\n deviceClient.setThemeSelection(theme, themePropertyCallback);\n return true;\n }\n });\n popupMenu.show();\n }",
"static void getTheme(Activity activity){\n\n if(PREF_THEME != DARK_THEME){\n activity.setTheme(R.style.AppTheme);\n }\n else{\n activity.setTheme(R.style.Theme_AppCompat);\n }\n }",
"public void changeTheme(ActionEvent actionEvent) throws IOException {\n if (user.isStyleDark()){\n user.setStyleSheet(LIGHT_STYLE_SHEET);\n }\n else {\n user.setStyleSheet(DARK_STYLE_SHEET);\n }\n AppManager.changeScene(getClass().getResource(\"/views/SettingsScreen.fxml\"),actionEvent, user);\n\n }",
"public void onCancel(DialogInterface dialog) {\n\t\t\t\t\t\tupdateGprsSettings();\n\t\t\t\t\t}",
"@Override\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\tEditor editor = sharedPreferences.edit();\n\t\t\t\t\t\t\t\teditor.putInt(\n\t\t\t\t\t\t\t\t\t\tMobileGuard.SHOW_LOCATION_WHICHSTYLE,\n\t\t\t\t\t\t\t\t\t\twhich);\n\t\t\t\t\t\t\t\teditor.commit();\n\t\t\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\t\t}",
"private void saveCurrentPreferences() {\n\t\toldUnitType = preferences.getInt(\"displayUnit\", UnitType.FOOTINCH.getId());\n\t\toldPrecision = preferences.getInt(\"precision\", 16);\n\t\toldRounding = preferences.getBoolean(\"roundUp\", true);\n\t\toldDisplayOptions = preferences.getString(\"displayOptions\", context.getString(R.string.displayAutomatic));\n\t}",
"@Override\n public Dialog onCreateDialog(Bundle savedInstanceState) {\n\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n\n /* I'm using SharedPreferences as a simple way to store key value sets\n */\n SharedPreferences sharedPref = getActivity().getSharedPreferences(\"mesprefs\", Context.MODE_PRIVATE);\n final SharedPreferences.Editor editor = sharedPref.edit();\n\n\n // Set the dialog title\n builder.setTitle(\"My Preferences\")\n // Specify the list array, the items to be selected by default (null for none),\n // and the listener through which to receive callbacks when items are selected\n .setMultiChoiceItems(R.array.prefs_array, null,\n new DialogInterface.OnMultiChoiceClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which,\n boolean isChecked) {\n if (isChecked) {\n // If the user checked the item, add it to the selected items\n mSelectedItems.add(which);\n } else if (mSelectedItems.contains(which)) {\n // Else, if the item is already in the array, remove it\n mSelectedItems.remove(Integer.valueOf(which));\n }\n }\n })\n // Set the action buttons\n .setPositiveButton(\"Save\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int id) {\n // User clicked OK, so save the mSelectedItems results somewhere\n // or return them to the component that opened the dialo\n Iterator ite = mSelectedItems.listIterator();\n while(ite.hasNext()) {\n\n int pref_int = ((Integer )(ite.next())).intValue();\n switch (pref_int){\n case 0 :\n editor.putString(getString(R.string.pref_1), getString(R.string.pref_1));\n Log.i(\"info\", \"Preference 1\");\n break;\n case 1 :\n editor.putString(getString(R.string.pref_2), getString(R.string.pref_2));\n Log.i(\"info\", \"Preference 2\");\n break;\n case 2 :\n editor.putString(getString(R.string.pref_3), getString(R.string.pref_3));\n Log.i(\"info\", \"Preference 3\");\n break;\n\n }\n }\n editor.commit();\n }\n })\n .setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int id) {\n\n }\n });\n\n\n\n\n return builder.create();\n\n }",
"public void onThemeChanged()\n\t{\n\t\tthemeChanged = true;\n\t}",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n\n if (which == 0){\n dialog.dismiss();\n // this is for small size and smalls font size 16\n Settings settings = new Settings();\n settings.setColorFont(16);\n settings.setColorHex(_settings.getColorHex());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n if (which == 1){\n dialog.dismiss();\n // this is for medium size and mediums font size 20\n Settings settings = new Settings();\n settings.setColorFont(20);\n settings.setColorHex(_settings.getColorHex());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n if (which == 2){\n dialog.dismiss();\n // this is for large size and larges font size 22\n Settings settings = new Settings();\n settings.setColorFont(22);\n settings.setColorHex(_settings.getColorHex());\n db.setSettings(settings);\n\n Toast.makeText(getContext(), \"İşlem başarıyla tamamlandı!\", Toast.LENGTH_SHORT).show();\n }\n\n Intent intent = new Intent(getContext(),MainActivity.class);\n startActivity(intent);\n\n }",
"@Override\n public void onClick(View view) {\n getActivity().getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);\n\n collectValuesForSettings();\n updateSettings();\n dismiss();\n }",
"public void setDialogAndButtonsTheme(Context context, AlertDialog dialog, Button positiveButton, Button negativeButton) {\n //Insert code to edit and customize the dialog and buttons here\n }",
"public /* synthetic */ void lambda$createView$14(View view) {\n Theme.ThemeAccent themeAccent;\n Theme.ThemeInfo previousTheme = Theme.getPreviousTheme();\n if (previousTheme != null) {\n int i = previousTheme.prevAccentId;\n if (i >= 0) {\n themeAccent = previousTheme.themeAccentsMap.get(i);\n } else {\n themeAccent = previousTheme.getAccent(false);\n }\n if (this.accent != null) {\n saveAccentWallpaper();\n Theme.saveThemeAccents(this.applyingTheme, true, false, false, false);\n Theme.clearPreviousTheme();\n Theme.applyTheme(this.applyingTheme, this.nightTheme);\n this.parentLayout.rebuildAllFragmentViews(false, false);\n } else {\n this.parentLayout.rebuildAllFragmentViews(false, false);\n File file = new File(this.applyingTheme.pathToFile);\n Theme.ThemeInfo themeInfo = this.applyingTheme;\n Theme.applyThemeFile(file, themeInfo.name, themeInfo.info, false);\n MessagesController.getInstance(this.applyingTheme.account).saveTheme(this.applyingTheme, (Theme.ThemeAccent) null, false, false);\n SharedPreferences.Editor edit = ApplicationLoader.applicationContext.getSharedPreferences(\"themeconfig\", 0).edit();\n edit.putString(\"lastDayTheme\", this.applyingTheme.getKey());\n edit.commit();\n }\n finishFragment();\n if (this.screenType == 0) {\n NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.didApplyNewTheme, previousTheme, themeAccent, Boolean.valueOf(this.deleteOnCancel));\n }\n }\n }",
"private void save() {\n prefs.saveCardBackground(selectedBackground);\n prefs.saveCardBackgroundColor(selectedBackgroundColor);\n\n updateSummary();\n }",
"@Override\n public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {\n setPreferencesFromResource(R.xml.preferences, rootKey);\n\n Preference themePreference = findPreference(\"dark_theme\");\n if(themePreference != null) {\n themePreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object newValue) {\n mainActivity.toggleTheme((boolean) newValue);\n return true;\n }\n });\n }\n }",
"@Override\n public void onDismiss(DialogInterface dialog) {\n\n }",
"@Override\n public void stateChanged(ChangeEvent e) {\n try {\n if (e.getSource() == settingsDialogView.getThemeToggleButton()) {\n if (settingsDialogView.getThemeToggleButton().isSelected()) {\n settingsDialogView.getThemeToggleButton().setText(\"On\");\n settingsDialogView.getThemeToggleButton().setIcon(settingsDialogView.nightModeONIcon);\n try {\n UIManager.setLookAndFeel(\"com.sun.java.swing.plaf.motif.MotifLookAndFeel\");\n SwingUtilities.updateComponentTreeUI(ActualApp.getAppWindow());\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException\n | UnsupportedLookAndFeelException excs) {\n throw new ThemeChangeException(0);\n }\n } else {\n settingsDialogView.getThemeToggleButton().setText(\"Off\");\n settingsDialogView.getThemeToggleButton().setIcon(settingsDialogView.nightModeOFFIcon);\n try {\n UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());\n SwingUtilities.updateComponentTreeUI(ActualApp.getAppWindow());\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException\n | UnsupportedLookAndFeelException excs) {\n throw new ThemeChangeException(0);\n }\n }\n }\n } catch (ThemeChangeException tce) {\n JPanel exceptionPanel = tce.getExceptionPanel();\n JOptionPane.showMessageDialog(new JFrame(), exceptionPanel, \"Error: \" + tce.getClass(),\n JOptionPane.ERROR_MESSAGE);\n }\n }",
"public void Skills(View v) {\n TextView txtclose;\n Button btn;\n myDialog.setContentView(R.layout.skills);\n txtclose = (TextView) myDialog.findViewById(R.id.txtclose);//exit the dialog\n txtclose.setText(\"X\");//edit the text in close textbox\n txtclose.setOnClickListener(new View.OnClickListener() {//listener\n @Override\n public void onClick(View v) {\n myDialog.dismiss();//call the popup message\n }\n });\n myDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));//editable in xml\n myDialog.show();//to show\n\n }",
"public void restore() {\n this.prefs.edit().putBoolean(PREFKEY_IS_KIOSK, tempIsKiosk).apply();\n this.prefs.edit().putBoolean(PREFKEY_IS_TABLET, tempIsTablet).apply();\n this.prefs.edit().putBoolean(PREFKEY_HTTP_SSL, tempSSL).apply();\n this.prefs.edit().putBoolean(PREFKEY_RES_FETCHED, tempFetched).apply();\n this.prefs.edit().putString(PREFKEY_HTTP_PORT, tempHttpPort).apply();\n this.prefs.edit().putString(PREFKEY_HTTP_HOST, tempHttpHost).apply();\n this.prefs.edit().putString(PREFKEY_PASSWORD, temppassword).apply();\n this.prefs.edit().putString(PREFKEY_USERNAME, tempUsername).apply();\n this.prefs.edit().putString(PREFKEY_BOOTSTRAP, tempBootstrap).apply();\n this.prefs.edit().putString(PREFKEY_ROOM_SELECTED, roomSelected).apply();\n this.prefs.edit().putString(PREFKEY_TO_IGNORE, toIgnore).apply();\n this.prefs.edit().putBoolean(PREFKEY_IS_IMAGE_DOWNLOADED, isImageDownloaded).apply();\n this.prefs.edit().putBoolean(PREFKEY_IS_IMAGE_LAN, isImageLan).apply();\n }",
"@Override\n public void onBackPressed() {\n if (drawer.isDrawerOpen(GravityCompat.START)) {\n drawer.closeDrawer(GravityCompat.START);\n } else {\n //Ask the user if they want to quit\n AlertDialog dialog = new AlertDialog.Builder(this, R.style.CustomDialogTheme)\n .setTitle(getString(R.string.exit))\n .setMessage(getString(R.string.exit_prompt))\n .setPositiveButton(getString(android.R.string.yes), new DialogInterface.OnClickListener() {\n\n @Override\n public void onClick(DialogInterface dialog, int which) {\n finishAffinity();\n }\n\n })\n .setNegativeButton(getString(android.R.string.no), null)\n .setCancelable(false)\n .show();\n TextView textView = (TextView) dialog.findViewById(android.R.id.message);\n Typeface tf = ResourcesCompat.getFont(getApplicationContext(), R.font.catamaran);\n textView.setTypeface(tf);\n }\n }",
"protected void restorePrefs ()\n {\n final String p = getConfigKey();\n\n // restore/bind window bounds\n _eprefs.bindWindowBounds(p, this);\n\n // restore/bind the location of the divider\n _eprefs.bindDividerLocation(p + \"div\", _split);\n\n // restore/bind the selected group\n String cat = _prefs.get(p + \"group\", null);\n for (int tab = _tabs.getComponentCount() - 1; tab >= 0; tab--) {\n final JComboBox gbox = ((ManagerPanel)_tabs.getComponentAt(tab)).gbox;\n if (cat != null) {\n for (int ii = 0, nn = gbox.getItemCount(); ii < nn; ii++) {\n if (cat.equals(String.valueOf(gbox.getItemAt(ii)))) {\n gbox.setSelectedIndex(ii);\n break;\n }\n }\n }\n gbox.addActionListener(new ActionListener() {\n public void actionPerformed (ActionEvent event) {\n _prefs.put(p + \"group\", String.valueOf(gbox.getSelectedItem()));\n }\n });\n }\n\n // restore color\n setBackground(((ConfigEditorPrefs)_eprefs).getBackgroundColor());\n }",
"public void saveCityDialog(final SharedPreferences sharedPref){\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(R.string.save_dialog_title).setItems(new String[]{sharedPref.getString(SharedPrefKeys.SLOT1_KEY,\n getResources().getString(R.string.empty)), sharedPref.getString(SharedPrefKeys.SLOT2_KEY,\n getResources().getString(R.string.empty)), sharedPref.getString(SharedPrefKeys.SLOT3_KEY,\n getResources().getString(R.string.empty))}, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int index) {\n openSaveDialog(index, sharedPref);\n }\n });\n\n builder.create();\n builder.show();\n }",
"@Override\n public void onClick(View v)\n {\n red.setBackgroundColor(Color.TRANSPARENT);\n orange.setBackgroundColor(Color.TRANSPARENT);\n blue.setBackgroundColor(Color.TRANSPARENT);\n green.setBackgroundColor(Color.TRANSPARENT);\n\n ImageButton btnColour = (ImageButton) v;\n String colourSelected = context.getResources().getResourceEntryName(v.getId());\n\n switch (colourSelected)\n {\n case \"red\" : user.setColourCode(1);\n App.theme = R.style.RedTheme;\n break;\n case \"orange\" : user.setColourCode(2);\n App.theme = R.style.OrangeTheme;\n break;\n case \"blue\" : user.setColourCode(3);\n App.theme = R.style.LightTest;\n break;\n case \"green\" : user.setColourCode(4);\n App.theme = R.style.GreenTheme;\n break;\n case \"editRed\" : user.setColourCode(1);\n App.theme = R.style.RedTheme;\n break;\n case \"editOrange\" : user.setColourCode(2);\n App.theme = R.style.OrangeTheme;\n break;\n case \"editBlue\" : user.setColourCode(3);\n App.theme = R.style.LightTest;\n break;\n case \"editGreen\" : user.setColourCode(4);\n App.theme = R.style.GreenTheme;\n break;\n default: user.setColourCode(0);\n break;\n }\n ((Activity)(context)).finish();\n context.startActivity(new Intent(context, SettingsActivity.class));\n btnColour.setBackgroundColor(Color.RED);\n }",
"public static void changeTheme(Activity activity) {\n String themeChoice = PreferenceManager.getDefaultSharedPreferences(activity).getString(ActivityPreferences.KEY_THEME, ActivityPreferences.KEY_THEME);\n if ((themeChoice != null) && (themeChoice.equals(\"1\")))\n activity.setTheme(R.style.CollectThemeLight);\n else\n activity.setTheme(R.style.CollectThemeDark);\n\n\n Resources res = activity.getResources();\n // Change locale settings in the app.\n DisplayMetrics dm = res.getDisplayMetrics();\n android.content.res.Configuration conf = res.getConfiguration();\n String languageChoice = PreferenceManager.getDefaultSharedPreferences(activity).getString(ActivityPreferences.KEY_LANGUAGE, ActivityPreferences.KEY_LANGUAGE);\n if (languageChoice != null) {\n if (languageChoice.equals(\"1\"))\n conf.locale = new Locale(\"fr\");\n else if (languageChoice.equals(\"0\"))\n conf.locale = new Locale(\"en\");\n\n res.updateConfiguration(conf, dm);\n }\n }",
"@Override\n public void onDismiss(DialogInterface dialog)\n {\n }",
"@Override\n public void onClick(View view) {\n preferencesUtil.setPreferenceBooleanValue(\"dismiss\" ,true);\n //[E] fix bug 7691 by licong for safeLock\n customDialog.dismiss();\n }",
"private void setColorTheme(ViewHolder holder) {\n // Get the color theme string from SharedPreferences and check for the value associated with the key\n String colorTheme = sharedPrefs.getString(\n mContext.getString(R.string.settings_color_key),\n mContext.getString(R.string.settings_color_default));\n\n // Change the background color of titleTextView by using the user's stored preferences\n if (colorTheme.equals(mContext.getString(R.string.settings_color_white_value))) {\n holder.titleTextView.setBackgroundResource(R.color.white);\n holder.titleTextView.setTextColor(Color.BLACK);\n }else if (colorTheme.equals(mContext.getString(R.string.settings_color_sky_blue_value))) {\n holder.titleTextView.setBackgroundResource(R.color.nav_bar_start);\n holder.titleTextView.setTextColor(Color.WHITE);\n } else if (colorTheme.equals(mContext.getString(R.string.settings_color_dark_blue_value))) {\n holder.titleTextView.setBackgroundResource(R.color.color_app_bar_text);\n holder.titleTextView.setTextColor(Color.WHITE);\n } else if (colorTheme.equals(mContext.getString(R.string.settings_color_violet_value))) {\n holder.titleTextView.setBackgroundResource(R.color.violet);\n holder.titleTextView.setTextColor(Color.WHITE);\n } else if (colorTheme.equals(mContext.getString(R.string.settings_color_light_green_value))) {\n holder.titleTextView.setBackgroundResource(R.color.light_green);\n holder.titleTextView.setTextColor(Color.WHITE);\n } else if (colorTheme.equals(mContext.getString(R.string.settings_color_green_value))) {\n holder.titleTextView.setBackgroundResource(R.color.color_section);\n holder.titleTextView.setTextColor(Color.WHITE);\n }\n }",
"private void savedDialog() {\n\t\tTextView tv = new TextView(this);\n\t\ttv.setText(\"Changes to the current recipe have been saved.\");\n\t\tAlertDialog.Builder alert = new AlertDialog.Builder(this);\n\t\talert.setTitle(\"Success\");\n\t\talert.setView(tv);\n\t\talert.setNegativeButton(\"OK\", new DialogInterface.OnClickListener() {\n\t\t\tpublic void onClick(DialogInterface dialog, int whichButton) {\n\t\t\t\tfinish();\n\t\t\t}\n\t\t});\n\t\talert.show();\n\t}",
"@Override\n public void onDismiss(DialogInterface dialog) {\n\n }",
"@Override\n public void onDismiss(DialogInterface dialog) {\n\n }",
"@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialogInterface, int i)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSharedPreferences.Editor editor = prefs.edit();\n\t\t\t\t\t\t\teditor.putBoolean(eulaKey, true);\n\t\t\t\t\t\t\teditor.commit();\n\t\t\t\t\t\t\tdialogInterface.dismiss();\n\t\t\t\t\t\t}",
"@Override\n public void onDismiss(DialogInterface dialog) {\n setupUi();\n }",
"@Override\n public void onCreate(Bundle savedInstanceState) {\n\t\t\n super.onCreate(savedInstanceState);\n setContentView(R.layout.dlg_preferences);\n m_myPrefs = Preferences.getInstance(this);\n \n // setup handler for Ok button\n Button btnOk = (Button) findViewById(R.id.ButtonOK);\n btnOk.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t savePreferences();\n\t setResult(RESULT_OK);\n\t finish();\n }\n });\n // setup handler for the Cancel button\n Button btnCancel = (Button) findViewById(R.id.ButtonCancel);\n btnCancel.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t setResult(RESULT_CANCELED);\n \t finish();\n }\n });\n\n // setup handler for sound picker buttons\n Button btnPickRing = (Button) findViewById(R.id.ButtonPickRing);\n btnPickRing.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n\t Intent intentBrowseFiles = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);\n\t PreferencesAct.this.startActivityForResult(intentBrowseFiles, PICK_FILE_RING);\n }\n });\n\n Button btnPickSMS = (Button) findViewById(R.id.ButtonPickSMS);\n btnPickSMS.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n\t Intent intentBrowseFiles = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);\n\t PreferencesAct.this.startActivityForResult(intentBrowseFiles, PICK_FILE_SMS);\n }\n });\n\n Button btnPickIM = (Button) findViewById(R.id.ButtonPickIM);\n btnPickIM.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n\t Intent intentBrowseFiles = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);\n\t PreferencesAct.this.startActivityForResult(intentBrowseFiles, PICK_FILE_IM);\n }\n });\n \n Button btnPickMail = (Button) findViewById(R.id.ButtonPickMail);\n btnPickMail.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n\t Intent intentBrowseFiles = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);\n\t PreferencesAct.this.startActivityForResult(intentBrowseFiles, PICK_FILE_MAIL);\n }\n });\n\n \n // setup handler for test buttons\n Button btnTestRing = (Button) findViewById(R.id.ButtonTestRing);\n btnTestRing.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerRing);\n \t CheckBox myCheckVibrate\t= (CheckBox) findViewById(R.id.CheckBoxVibrateRing);\n \t CheckBox myCheckSound\t= (CheckBox) findViewById(R.id.CheckBoxSoundRing);\n \t if (myCheckSound.isChecked())\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), m_strUriRing);\n \t }\n \t else\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), \"\");\n \t }\n }\n });\n Button btnTestCharge = (Button) findViewById(R.id.ButtonTestCharge);\n btnTestCharge.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerCharge);\n \t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION);\n }\n });\n Button btnTestSMS = (Button) findViewById(R.id.ButtonTestSMS);\n btnTestSMS.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerSMS);\n \t CheckBox myCheckVibrate\t= (CheckBox) findViewById(R.id.CheckBoxVibrateSMS);\n \t CheckBox myCheckSound\t= (CheckBox) findViewById(R.id.CheckBoxSoundSMS);\n \t if (myCheckSound.isChecked())\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), m_strUriSMS);\n \t }\n \t else\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), \"\");\n \t }\n }\n });\n \n Button btnTestMail = (Button) findViewById(R.id.ButtonTestMail);\n btnTestMail.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerMail);\n \t CheckBox myCheckVibrate\t= (CheckBox) findViewById(R.id.CheckBoxVibrateMail);\n \t CheckBox myCheckSound\t= (CheckBox) findViewById(R.id.CheckBoxSoundMail);\n \t if (myCheckSound.isChecked())\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), m_strUriMail);\n \t }\n \t else\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), \"\");\n \t }\n }\n });\n \n Button btnTestIM = (Button) findViewById(R.id.ButtonTestIM);\n btnTestIM.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerIM);\n \t CheckBox myCheckVibrate\t= (CheckBox) findViewById(R.id.CheckBoxVibrateIM);\n \t CheckBox myCheckSound\t= (CheckBox) findViewById(R.id.CheckBoxSoundIM);\n \t if (myCheckSound.isChecked())\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), m_strUriIM);\n \t }\n \t else\n \t {\n \t\t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION, myCheckVibrate.isChecked(), \"\");\n \t }\n }\n });\n \n Button btnTestSleep = (Button) findViewById(R.id.ButtonTestSleep);\n btnTestSleep.setOnClickListener(new View.OnClickListener() {\n public void onClick(View arg0) {\n \t Spinner mySpinner \t= (Spinner) findViewById(R.id.SpinnerSleep);\n \t EffectsFassade.getInstance().playEffect(PreferencesAct.this, mySpinner.getSelectedItemPosition(), PLAY_DURATION);\n }\n });\n\n Spinner mySpinRing = (Spinner) findViewById(R.id.SpinnerRing);\n ArrayAdapter myAdapterRing = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterRing.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinRing.setAdapter(myAdapterRing);\n\n Spinner mySpinCharge = (Spinner) findViewById(R.id.SpinnerCharge);\n ArrayAdapter myAdapterCharge = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterCharge.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinCharge.setAdapter(myAdapterCharge);\n\n Spinner mySpinSMS = (Spinner) findViewById(R.id.SpinnerSMS);\n ArrayAdapter myAdapterSMS = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterSMS.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinSMS.setAdapter(myAdapterSMS);\n\n Spinner mySpinMail = (Spinner) findViewById(R.id.SpinnerMail);\n ArrayAdapter myAdapterMail = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterMail.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinMail.setAdapter(myAdapterMail);\n\n Spinner mySpinIM = (Spinner) findViewById(R.id.SpinnerIM);\n ArrayAdapter myAdapterIM = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterIM.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinIM.setAdapter(myAdapterIM);\n\n Spinner mySpinSleep = (Spinner) findViewById(R.id.SpinnerSleep);\n ArrayAdapter myAdapterSleep = ArrayAdapter.createFromResource(\n this, m_myPrefs.getEffectEnumId(), android.R.layout.simple_spinner_item);\n myAdapterSleep.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinSleep.setAdapter(myAdapterSleep);\n \n Spinner mySpinVibrateOffFrom = (Spinner) findViewById(R.id.SpinnerVibrationOffFrom);\n ArrayAdapter myAdapterVibrateOffFrom = ArrayAdapter.createFromResource(\n this, R.array.times, android.R.layout.simple_spinner_item);\n myAdapterVibrateOffFrom.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinVibrateOffFrom.setAdapter(myAdapterVibrateOffFrom);\n\n Spinner mySpinVibrateOffTo = (Spinner) findViewById(R.id.SpinnerVibrationOffTo);\n ArrayAdapter myAdapterVibrateOffTo = ArrayAdapter.createFromResource(\n this, R.array.times, android.R.layout.simple_spinner_item);\n myAdapterVibrateOffTo.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinVibrateOffTo.setAdapter(myAdapterVibrateOffTo);\n\n Spinner mySpinSoundOffFrom = (Spinner) findViewById(R.id.SpinnerSoundOffFrom);\n ArrayAdapter myAdapterSoundOffFrom = ArrayAdapter.createFromResource(\n this, R.array.times, android.R.layout.simple_spinner_item);\n myAdapterSoundOffFrom.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinSoundOffFrom.setAdapter(myAdapterSoundOffFrom);\n\n Spinner mySpinSoundOffTo = (Spinner) findViewById(R.id.SpinnerSoundOffTo);\n ArrayAdapter myAdapterSoundOffTo = ArrayAdapter.createFromResource(\n this, R.array.times, android.R.layout.simple_spinner_item);\n myAdapterSoundOffTo.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n mySpinSoundOffTo.setAdapter(myAdapterSoundOffTo);\n \n readPreferences();\n }",
"public Theme getTheme(){\n\t\treturn theme;\n\t}",
"@Override\n public void onDismiss(DialogInterface dialog) {\n }",
"@Override\n public void onCancel(DialogInterface dialog) {\n textTime.setTextColor(getColor(R.color.colorBlack));\n\n }",
"@Override\n public void onPositive(MaterialDialog dialog) {\n getWindow().clearFlags(\n WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n finish();\n }",
"@NonNull\n @Override\n protected View getThemeView() {\n return mThemeView;\n }",
"@Override\n protected void onDialogClosed(boolean positiveResult) {\n super.onDialogClosed(positiveResult);\n\n if (positiveResult) {\n save();\n }\n }",
"@Override\n public void onDismiss(DialogInterface arg0) {\n\n }",
"public Theme getTheme() {\n return this.theme;\n }",
"public static void setTheme(String theme) {\n\t\tselectedTheme = theme;\n\t}",
"@Override\n public void setTheme(int resid) {\n super.setTheme(android.R.style.Theme_Translucent_NoTitleBar);\n /*String packageName = getIntent().getStringExtra(Intent.EXTRA_PACKAGE_NAME);\n if(packageName.contains(\"kaer\") || packageName.contains(\"com.android\")){\n Log.e(\"ReviewPermissionsActivity\", \"setTheme Theme_Translucent_NoTitleBar\");\n super.setTheme(android.R.style.Theme_Translucent_NoTitleBar);\n }else{\n Log.e(\"ReviewPermissionsActivity\", \"setTheme ActivityNormal\");\n super.setTheme(R.style.ActivityNormal);\n }*/\n }",
"@Override \r\n \tprotected IDialogSettings getDialogSettings() {\n \t\tIDialogSettings temp = super.getDialogSettings();\t\r\n \t\treturn temp;\r\n \t}"
] | [
"0.7049666",
"0.6826813",
"0.65641373",
"0.64882755",
"0.6449694",
"0.62882686",
"0.60726345",
"0.6045986",
"0.5987015",
"0.5979559",
"0.59782004",
"0.59535086",
"0.59494233",
"0.5936126",
"0.5911828",
"0.5875364",
"0.5850841",
"0.5846853",
"0.58426225",
"0.5821372",
"0.5782388",
"0.5776784",
"0.570048",
"0.570048",
"0.570048",
"0.56868",
"0.5649574",
"0.5646199",
"0.5608384",
"0.55902267",
"0.5574615",
"0.55490804",
"0.554842",
"0.5530669",
"0.55286145",
"0.5493583",
"0.54931504",
"0.5469238",
"0.5464924",
"0.5463717",
"0.5445015",
"0.5441625",
"0.5438298",
"0.5426493",
"0.54243135",
"0.5407876",
"0.5397787",
"0.53894037",
"0.5387246",
"0.53735304",
"0.5366935",
"0.53657037",
"0.53625274",
"0.5346799",
"0.53375185",
"0.53355736",
"0.5329642",
"0.5326012",
"0.53219086",
"0.53126675",
"0.530748",
"0.53050256",
"0.5278813",
"0.526577",
"0.52612835",
"0.52566165",
"0.52525014",
"0.52520376",
"0.5248793",
"0.5241183",
"0.5233822",
"0.52335024",
"0.522553",
"0.5222676",
"0.5201877",
"0.51998514",
"0.5195947",
"0.5194475",
"0.5190808",
"0.51884997",
"0.5184852",
"0.5169202",
"0.51673305",
"0.51614136",
"0.5153947",
"0.5153947",
"0.5141083",
"0.51408005",
"0.51273793",
"0.5123458",
"0.51166874",
"0.51093537",
"0.509864",
"0.50917494",
"0.5084235",
"0.5073777",
"0.5065918",
"0.5065268",
"0.5061098",
"0.5054478"
] | 0.57478005 | 22 |
Initialize your data structure here. | public MyQueue232() {
stackIn = new Stack<Integer>();
stackOut = new Stack<Integer>();
isIn = true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initData() {\n }",
"private void initData() {\n\t}",
"private void initData() {\n\n }",
"public void initData() {\n }",
"public void initData() {\n }",
"@Override\n\tpublic void initData() {\n\n\n\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\n\tpublic void initData() {\n\t\t\n\t}",
"@Override\n protected void initData() {\n }",
"@Override\n protected void initData() {\n }",
"@Override\n\tpublic void initData() {\n\n\t}",
"@Override\n\tpublic void initData() {\n\n\t}",
"@Override\n\tpublic void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"private void InitData() {\n\t}",
"@Override\r\n\tpublic void initData() {\n\t}",
"private void initData(){\n\n }",
"public AllOOneDataStructure() {\n map = new HashMap<>();\n vals = new HashMap<>();\n maxKey = minKey = \"\";\n max = min = 0;\n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tprotected void initData(){\n\t\tsuper.initData();\n\t}",
"public InitialData(){}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"protected @Override\r\n abstract void initData();",
"private void initialize() {\n first = null;\n last = null;\n size = 0;\n dictionary = new Hashtable();\n }",
"public DesignADataStructure() {\n arr = new ArrayList<>();\n map = new HashMap<>();\n }",
"public void initData() {\n\t\tnotes = new ArrayList<>();\n\t\t//place to read notes e.g from file\n\t}",
"public void initialize() {\n // empty for now\n }",
"void initData(){\n }",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void initData(){\r\n \r\n }",
"public void initialize()\n {\n }",
"private void initData() {\n\t\tpages = new ArrayList<WallpaperPage>();\n\n\t}",
"public void init() {\n \n }",
"private void initializeData() {\n posts = new ArrayList<>();\n posts.add(new Posts(\"Emma Wilson\", \"23 years old\", R.drawable.logo));\n posts.add(new Posts(\"Lavery Maiss\", \"25 years old\", R.drawable.star));\n posts.add(new Posts(\"Lillie Watts\", \"35 years old\", R.drawable.profile));\n }",
"public static void init() {\n buildings = new HashMap<Long, JSONObject>();\n arr = new ArrayList();\n buildingOfRoom = new HashMap<Long, Long>();\n }",
"public void init() {\n\t\t}",
"public void InitData() {\n }",
"abstract void initializeNeededData();",
"@Override\r\n\tprotected void init() {\n\t\tupdateValues();\r\n\t}",
"@Override\n\t\tpublic void init() {\n\t\t}",
"private RandomData() {\n initFields();\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"private TigerData() {\n initFields();\n }",
"public Data() {\n this.customers = new HashMap<>();\n this.orders = new HashMap<>();\n this.siteVisits = new HashMap<>();\n this.imageUploads = new HashMap<>();\n }",
"public void init()\n {\n this.tripDict = new HashMap<String, Set<Trip>>();\n this.routeDict = new HashMap<String, Double>();\n this.tripList = new LinkedList<Trip>();\n this.computeAllPaths();\n this.generateDictionaries();\n }",
"public void init() {\n for (int i = 1; i <= 20; i++) {\n List<Data> dataList = new ArrayList<Data>();\n if (i % 2 == 0 || (1 + i % 10) == _siteIndex) {\n dataList.add(new Data(i, 10 * i));\n _dataMap.put(i, dataList);\n }\n }\n }",
"private void initData() {\n requestServerToGetInformation();\n }",
"private void Initialized_Data() {\n\t\t\r\n\t}",
"void initData() {\r\n\t\tthis.daVinci = new Artist(\"da Vinci\");\r\n\t\tthis.mona = new Painting(daVinci, \"Mona Lisa\");\r\n\t\t//this.lastSupper = new Painting(this.daVinci, \"Last Supper\");\r\n\t}",
"private void initValues() {\n \n }",
"private void init() {\n }",
"public void initialize() {\n grow(0);\n }",
"public void init() {\r\n\r\n\t}",
"private void initialize()\n {\n aggregatedFields = new Fields(fieldToAggregator.keySet());\n }",
"@objid (\"4bb3363c-38e1-48f1-9894-6dceea1f8d66\")\n public void init() {\n }",
"public void initialize() {\n\n fechaDeLaVisita.set(LocalDate.now());\n\n if (medico.get() != null) {\n medico.get().clear();\n } else {\n medico.set(new Medico());\n }\n\n turnoVisita.set(\"\");\n visitaAcompanadaSN.set(false);\n lugarVisita.set(\"\");\n if (causa.get() != null) {\n causa.get().clear();\n } else {\n causa.set(new Causa());\n }\n\n if (promocion.get() != null) {\n promocion.get().clear();\n } else {\n promocion.set(new Promocion());\n }\n\n observacion.set(\"\");\n persistida.set(false);\n persistidoGraf.set(MaterialDesignIcon.SYNC_PROBLEM.graphic());\n\n fechaCreacion.set(LocalDateTime.now());\n\n }",
"protected void initialize() {\n \t\n }",
"public void initialise() \n\t{\n\t\tthis.docids = scoresMap.keys();\n\t\tthis.scores = scoresMap.getValues();\n\t\tthis.occurrences = occurrencesMap.getValues();\t\t\n\t\tresultSize = this.docids.length;\n\t\texactResultSize = this.docids.length;\n\n\t\tscoresMap.clear();\n\t\toccurrencesMap.clear();\n\t\tthis.arraysInitialised = true;\n\t}",
"private void init() {\n }",
"private void init() {\n }",
"private void init() {\n }",
"private void init() {\n }",
"@Override public void init()\n\t\t{\n\t\t}",
"private void initData() {\n\t\tcomboBoxInit();\n\t\tinitList();\n\t}",
"public DataStructure() {\r\n firstX = null;\r\n lastX = null;\r\n firstY = null;\r\n lastY = null;\r\n size = 0;\r\n }",
"private void initialize() {\n }",
"private void initData() {\n\t\tnamesInfo = new NameSurferDataBase(fileName);\n\n\t}",
"private void init() {\n\n\t}",
"public void init() {\n\n\t}",
"public void init() {\n\n\t}",
"public void init() {\n\n\t}",
"public void initialize() {\n // TODO\n }",
"public void initialize() {\r\n }",
"@SuppressWarnings(\"static-access\")\n\tprivate void initData() {\n\t\tstartDate = startDate.now();\n\t\tendDate = endDate.now();\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"private void init()\n\t{\n\t\tif (_invData == null)\n\t\t\t_invData = new InvestigateStore.MappedStores();\n\t}",
"@Override\n\t\tprotected void initialise() {\n\n\t\t}",
"public void init() {\n\t\t\n\t}",
"public void init() {\n\t\n\t}",
"public void init() { \r\n\t\t// TODO Auto-generated method\r\n\t }",
"private void initialize() {\n\t\t\n\t}",
"private void initialize() {\n this.pm10Sensors = new ArrayList<>();\n this.tempSensors = new ArrayList<>();\n this.humidSensors = new ArrayList<>();\n }",
"@Override\r\n\tpublic void init() {}",
"public void init() {\n\t\t// Read the data text file and load up the local database\n\t\tinitData();\n\n\t\t// Create the labels and the textbox\n\t\taddNameLabel();\n\t\taddNameBox();\n\t\taddGraphButton();\n\t\taddClearButton();\n\n\t\t// Set up the graph object\n\t\tgraph = new NameSurferGraph();\n\t\tadd(graph);\n\n\t}",
"private void initialData() {\n\n }",
"@Override\r\n\tpublic final void init() {\r\n\r\n\t}",
"public mainData() {\n }",
"private void initStructures() throws RIFCSException {\n initTexts();\n initDates();\n }",
"public void init() {\n initComponents();\n initData();\n }",
"public void init() {\n\t}"
] | [
"0.79946685",
"0.7973242",
"0.7808862",
"0.77763873",
"0.77763873",
"0.7643394",
"0.76371324",
"0.76371324",
"0.76371324",
"0.76371324",
"0.76371324",
"0.76371324",
"0.75553316",
"0.7543321",
"0.7543321",
"0.75426376",
"0.75426376",
"0.75426376",
"0.7532583",
"0.75228804",
"0.75228804",
"0.7515626",
"0.7494068",
"0.7454065",
"0.7388256",
"0.7380365",
"0.7328254",
"0.7311082",
"0.7256176",
"0.7242837",
"0.7242837",
"0.720293",
"0.7202036",
"0.7164401",
"0.7144378",
"0.71355236",
"0.7132754",
"0.7131076",
"0.7101955",
"0.7098935",
"0.70951265",
"0.70578545",
"0.7055706",
"0.70423454",
"0.7021184",
"0.70061564",
"0.6987191",
"0.6979681",
"0.6960125",
"0.6946316",
"0.69393814",
"0.6938019",
"0.6937645",
"0.6935085",
"0.6933533",
"0.692056",
"0.69171643",
"0.6911375",
"0.6903781",
"0.68829435",
"0.6881986",
"0.6879309",
"0.68750894",
"0.6868541",
"0.6867774",
"0.6852462",
"0.6851922",
"0.68477225",
"0.68477225",
"0.68477225",
"0.68477225",
"0.6846597",
"0.6818907",
"0.6808544",
"0.6805373",
"0.6791477",
"0.6787723",
"0.6781544",
"0.6781544",
"0.6781544",
"0.67674476",
"0.676184",
"0.67618203",
"0.67537767",
"0.67537767",
"0.67537767",
"0.6750694",
"0.67330045",
"0.67218685",
"0.6721014",
"0.67197996",
"0.67170006",
"0.67124057",
"0.6708111",
"0.66997004",
"0.66991216",
"0.6692312",
"0.6687212",
"0.66789055",
"0.6668848",
"0.66666573"
] | 0.0 | -1 |
Push element x to the back of queue. | public void push(int x) {
if (isIn) {
stackIn.push(x);
} else {
while (!stackOut.empty()) {
stackIn.push(stackOut.pop());
}
stackIn.push(x);
isIn = true;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void push(int x) {\n queue.addLast(x);\n }",
"public void push(int x) {\n queue.addLast(x);\n }",
"public void push(int x) {\n if (!reverseQueue.isEmpty()) {\n normalQueue.offer(reverseQueue.poll());\n }\n normalQueue.offer(x);\n }",
"public void push(int x) {\n queue.add(x);\n for (int i = 0; i < queue.size()-1; i++) {\n queue.add(queue.poll());\n }\n }",
"public void push(int x) {\n int n = queue.size();\n queue.offer(x);\n for (int i = 0; i < n; i++) {\n queue.offer(queue.poll());\n }\n }",
"public void push(int x) {\n\t int size=q.size();\n\t q.offer(x);\n\t for(int i=0;i<size;i++){\n\t q.offer(q.poll());\n\t }\n\t \n\t }",
"public void push(int x) {\n queue.offer(x);\n }",
"public void push(int x) {\n q.add(x);\n for (int i = 0; i < q.size() - 1; ++i) {\n q.add(q.poll());\n }\n }",
"public void push(int x) {\n while (!forReverse.isEmpty()) {\n queue.add(forReverse.poll());\n }\n queue.add(x);\n }",
"public void push(int x) {\n Queue<Integer> tmp = new LinkedList<>();\n while (!queue.isEmpty()) {\n tmp.add(queue.remove());\n }\n queue.add(x);\n \n while (!tmp.isEmpty()) {\n queue.add(tmp.remove());\n }\n }",
"public void push(int x) {\n q.offer(x);\n }",
"public void push(int x) {\n // 第一步先 push\n queue.offer(x);\n // 第二步把前面的变量重新倒腾一遍\n // 这一部分代码很关键,在树的层序遍历中也用到了\n int size = queue.size() - 1;\n for (int i = 0; i < size; i++) {\n queue.offer(queue.poll());\n }\n }",
"public void push(int x) {\n Integer elem = x;\n queue.offer(elem);\n topElem = elem;\n }",
"public void push(int x) {\n q1.push(x);\n if (q2.size() > 0){\n q2.remove();\n }\n }",
"public void push(int x) {\r\n this.queueMain.offer(x);\r\n }",
"public void push(int x) {\n one.add(x);\n for(int i=0;i<one.size()-1;i++)\n {\n one.add(one.poll());\n }\n \n }",
"public void push(int x) {\n queue.add(x);\n }",
"public void push(int x) {\n queue.add(x);\n }",
"public void push(int x) {\n queue.push(x);\n }",
"public void push(int x) {\n q1.add(x);\n int n = q1.size();\n for (int i = 1; i < n; i++) {\n q1.add(q1.poll());\n }\n }",
"public void push(int x) {\n // for pop(), so prepare\n // 要想 pop 省事 push到 queue tail 的 x 要 想办法放到队列第一位\n // how 只要不空 移到另外一个 放好 x 再移回来\n while (!One.isEmpty()) {\n Two.add(One.poll());\n }\n One.add(x);\n while (!Two.isEmpty()) {\n One.add(Two.poll());\n }\n }",
"public void push(int x) {\n queue2.offer(x);\n while (!queue1.isEmpty()) {\n queue2.offer(queue1.poll());\n }\n Queue<Integer> temp = queue1;\n queue1 = queue2;\n queue2 = temp;\n\n\n }",
"public void push(int x) {\n \n q2.offer(x);\n \n while(!q1.isEmpty()) {\n q2.offer(q1.poll());\n }\n \n Queue tmp = q1;\n q1 = q2;\n q2 = tmp;\n \n }",
"public void push(int x) {\n if (queue1.isEmpty() && queue2.isEmpty()){\n queue1.offer(x);\n }else {\n if (!queue1.isEmpty()){\n queue1.offer(x);\n }\n if (!queue2.isEmpty()){\n queue2.offer(x);\n }\n }\n }",
"public void push(int x) {\r\n queue1.add(x);\r\n top = x;\r\n }",
"public void push(int x) {\r\n queue1.add(x);\r\n top = x;\r\n }",
"public void push(int x) {\n temp.push(x);\n }",
"public void push(int x) {\r\n stack.offer(x);\r\n }",
"public void push(int x) {\r\n stack.offer(x);\r\n }",
"private void enqueue(E x) {\n final Object[] items = this.items;\n items[putIndex] = x;\n if (++putIndex == items.length) putIndex = 0;\n count++;\n notEmpty.signal();\n }",
"public void push(int x) {\n if(q1.isEmpty()) {\n q1.add(x);\n while(q2.size() > 0) {\n q1.add(q2.poll());\n }\n } else {\n q2.add(x);\n while(q1.size() > 0){\n q2.add(q1.poll());\n }\n }\n }",
"public void push(int x) {\n rearStack.push(x);\n }",
"public void push(int x) {\n if(!queueA.isEmpty()){\n queueA.add(x);\n }else if(!queueB.isEmpty()){\n queueB.add(x);\n }else{\n queueA.add(x);\n }\n }",
"public void push(int x) {\n if(q1.isEmpty()) {\n q1.add(x);\n while(q2.size() > 0) {\n q1.add(q2.poll());\n }\n }\n else {\n q2.add(x);\n while(q1.size() > 0) {\n q2.add(q1.poll());\n }\n }\n }",
"public void push(int x) {\n // Write your code here\n if (queue1.isEmpty() && queue2.isEmpty()) {\n queue1.offer(x);\n } else if (!queue1.isEmpty()) {\n queue1.offer(x);\n } else {\n queue2.offer(x);\n }\n }",
"public void push(int x) {\n\t\tif (size() == capacity()) {\n\t\t\tdoubleSize();\n\t\t}\n\t\tarr[end] = x;\n\t\t++end;\n\t}",
"public void push(int x) { //全部放到第一个\n temp1.push(x);\n }",
"public void push(int x) {\n helper.add(x);\n helper.addAll(objects);\n\n tmp = objects;\n tmp.clear();\n objects = helper;\n helper = tmp;\n }",
"public void push(T x) {\n\t\tl.push(x);\n\t}",
"static void enQueue(Queue q, int x) {\r\n push(q.stack1, x);\r\n }",
"public void push(int x) {\n push.push(x);\n }",
"public void push(int x) {\n inSt.push(x);\n\n }",
"public void push(int x) {\n\n if (list.isEmpty()) {\n head = x;\n }\n\n list2.add(x);\n while (!(list.isEmpty())) {\n list2.add(list.poll());\n }\n\n while (!(list2.isEmpty())) {\n list.add(list2.poll());\n }\n\n\n }",
"public void push(int x) {\n \tint size = s2.size();\n \tfor(int i = 0; i < size; i++) {\n \t\ts.push(s2.pop());\n \t}\n \ts.push(x);\n }",
"public void push(int x) {\n\t\tlist.add(x);\n\t}",
"public void push(int x) {\n \tlist.add(x);\n }",
"public void push(T x);",
"public void push(int x) {\n data.add(x);\n }",
"@Override\n\tpublic void push(Object x) {\n\t\tlist.addFirst(x);\n\t}",
"public void push(int x) {\n left.push(x);\n }",
"public void push(int x) {\n Node node = new Node(x);\n top.next = node;\n node.pre = top;\n top = node;\n size++;\n }",
"@Override\n\tpublic void push(Object x) {\n\t\tthis.vector.add(x);\n\t}",
"public void push(int x) {\n\t if(first == null){\n\t first = x;\n\t }\n\t s.push(x);\n\t}",
"public void push(int x) {\n\t\tinput.push(x);\n\t}",
"public static void pushQueue(MyQueue q, int x) {\n push(q.stack1, x);\n }",
"public void push(int x) {\n if (storeStack.isEmpty()) {\n storeStack.push(x);\n return;\n }\n\n int[] ints = new int[storeStack.size()];\n int i =0;\n while (!storeStack.isEmpty()) {\n ints[i++] = storeStack.pop();\n }\n storeStack.push(x);\n for (int i1 = ints.length - 1; i1 >= 0; i1--) {\n storeStack.push(ints[i1]);\n\n }\n }",
"public void push(E x) {\n\t\t\n\t\taddBefore(mHead.next, x);\n\n\t\tmSize++;\n\t\tmodCount++;\n\t}",
"public void push(int x) {\n /**\n * 将otherStack中所有元素还原到stack中后在栈顶加入新元素\n */\n while (!otherStack.isEmpty()) {\n stack.push(otherStack.pop());\n }\n stack.push(x);\n }",
"@Override\n public void insertBack(Item x) {\n if (size == items.length) {\n //dynamic array\n //resize array\n resize(size * RFACTOR);\n }\n items[size] = x;\n size += 1;\n }",
"public void insert(int x)\n\t{\n//\t\treturns if queue is full\n\t\tif(isFull())\n\t\t{\n\t\t\tSystem.out.println(\"Queue Overflow\\n\");\n\t\t\treturn;\n\t\t}\n\t\tif(front==-1)\n\t\t\tfront=0;\n//\t\tif rear = last index of array\n\t\tif(rear==queueArray.length-1)\n\t\t\trear=0;\n\t\telse\n//\t\t\tincrements rear\n\t\t\trear=rear+1;\n//\t\tinserts new element in rear of array\n\t\tqueueArray[rear]=x;\n\t}",
"void push(int x) {\n\t\tif (stack.size() == 0) {\n\t\t\tstack.push(x);\n\t\t\tminEle = x;\n\t\t} else if (x >= minEle) {\n\t\t\tstack.push(x);\n\t\t} else if (x < minEle) {\n\t\t\t// Push something smaller than original value\n\t\t\t// At any time when we pop , we will see if the value\n\t\t\t// of the peek is less then min or not\n\t\t\tstack.push(2 * x - minEle);\n\t\t\tminEle = x;\n\t\t}\n\t}",
"public void enqueue(AnyType x) {\n\t\tNode<AnyType> newNode = new Node<AnyType>(x, null);\n\t\tback.next = newNode;\n\t\tback = newNode;\n\t\t// Running time is θ(1) because it's a constant operation.\n\t}",
"public void push(int x) {\n load();\n stack.push(x);\n unload();\n }",
"void push(int x) \n\t{ \n\t\tif(isEmpty() == true) \n\t\t{ \n\t\t\tsuper.push(x); \n\t\t\tmin.push(x); \n\t\t} \n\t\telse\n\t\t{ \n\t\t\tsuper.push(x); \n\t\t\tint y = min.pop(); \n\t\t\tmin.push(y); \n\t\t\tif(x < y) \n\t\t\t\tmin.push(x); \n\t\t\telse\n\t\t\t\tmin.push(y); \n\t\t} \n\t}",
"public void enqueue(T x) {\n //Enqueue the item. Don't forget to increase fillCount and update last.\n if (isFull()) {\n throw new RuntimeException(\"Ring Buffer Overflow\");\n }\n rb[last] = x;\n fillCount += 1;\n last = (last + 1) % capacity;\n }",
"void push(T x);",
"public void push(ExParValue x) {\r\n\t\t// System.out.println(\"ExPar.push() currently on top \" +\r\n\t\t// value.toString() + \" pushing \" + x.toString());\r\n\t\tExParValue v = x.isUndefined() ? (ExParValue) value.clone()\r\n\t\t\t\t: (ExParValue) x.clone();\r\n\t\tv.next = value;\r\n\t\tvalue = v;\r\n\t\t// System.out.println(\"ExPar.push() New value: \" + value);\r\n\t}",
"void enqueue(int x)\n\t{\n\t\tif(isFull())\n\t\t{\n\t\t\tSystem.out.println(\"Queue is full!\");\n\t\t\treturn;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif(isEmpty())\n\t\t\t\tfront++;\n\t\t\tqueue[++rear] = x;\n\t\t}\n\t}",
"public void push(int x) {\n storeStack.push(x);\n }",
"public void push(int x) {\n if(afterRotate){\n rotate();\n afterRotate = false;\n }\n stack.push(x);\n }",
"void push(Integer x) {\n if (s.isEmpty()) {\n minEle = x;\n s.push(x);\n System.out.println(\"Number Inserted: \" + x);\n return;\n }\n // if new number is less than original minEle\n if (x < minEle) {\n s.push(2 * x - minEle);\n minEle = x;\n } else {\n s.push(x);\n }\n System.out.println(\"Number Inserted: \" + x);\n }",
"@Override\n public void enqueue(T x) {\n if(fillCount==Buffer_num){\n throw new RuntimeException(\"Ring buffer overflow\");\n }\n rb[last] = x;\n last = adjust_L_ring_position(last);\n fillCount = fillCount+1;\n return;\n }",
"public void push(int x) {\r\n inStack.push(x);\r\n }",
"public void push(double x) \n {\n if (top == s.length) \n {\n \tthrow new IllegalArgumentException(\"full stack!\");\n }\n \n \n else\n {\n s[++top] = x;\n \n } \n }",
"public void push(int x) {\n this.stack1.add(x);\n }",
"public void push(int x) {\n s1.push(x);\n }",
"public void push(int x) {\r\n Stack<Integer> newStack = new Stack<>();\r\n newStack.push(x);\r\n\r\n Stack<Integer> tmp = new Stack<>();\r\n while (!this.stack.isEmpty()) {\r\n tmp.push(this.stack.pop());\r\n }\r\n\r\n while (!tmp.isEmpty()) {\r\n newStack.push(tmp.pop());\r\n }\r\n\r\n\r\n this.stack = newStack;\r\n }",
"void push(Integer x) {\n\n\t\tif (isEmpty()) {\n\t\t\ttop = new Node(x);\n\t\t\tmid = top;\n\t\t\ttotalNodes++;\n\t\t} else {\n\t\t\tNode n = new Node(x);\n\t\t\tn.next = top;\n\t\t\ttop.prev = n;\n\t\t\ttop = n;\n\t\t\ttotalNodes++;\n\t\t\tif (totalNodes % 2 != 0) {\n\t\t\t\tmid = mid.prev;\n\t\t\t}\n\t\t}\n\t}",
"public void push(int x) {\n s1.push(x);\n }",
"public void push(int x) {\n s1.push(x);\n }",
"public void push(int x) {\n s1.push(x);\n }",
"public void push(int x) {\n stack.add(x);\n }",
"public void push(int x) {\n\t\tNode t = new Node();\n\t\tt.data = x;\n\t\tt.next = top;\n\t\ttop = t;\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"void push(int element);",
"public void push(T x)\n\t{\n\t\t// If the head is null, set the head equal\n\t\t// to the new node.\n\t\tif(head == null)\n\t\t\thead = new Node<T>(x);\n\t\telse\n\t\t{\n\t\t\t// Loop through the list and add the new node\n\t\t\t// on to the back of the list.\n\t\t\tNode<T> curr = head;\n\t\t\twhile(curr.getNext() != null)\n\t\t\t\tcurr = curr.getNext();\n\n\t\t\tNode<T> last = new Node<T>(x);\n\t\t\tcurr.setNext(last);\n\t\t}\t\n\t}",
"public void uncheckedPushBack(IClause c) {\n back++;\n if (back >= tab.length)\n back = 0;\n tab[back] = c;\n\n assert back + 1 != front\n && (front != 0 || back != tab.length - 1) : \"Deque is full !\";\n }",
"public void push(int x) {\n pushStack.add(x);\n }",
"public void push(E item) {\n if (!isFull()) {\n this.stack[top] = item;\n top++;\n } else {\n Class<?> classType = this.queue.getClass().getComponentType();\n E[] newArray = (E[]) Array.newInstance(classType, this.stack.length*2);\n System.arraycopy(stack, 0, newArray, 0, this.stack.length);\n this.stack = newArray;\n\n this.stack[top] = item;\n top++;\n }\n }",
"public void push(E value) {\n list.addLast(value);\n index++;\n }",
"public void enqueue(Object value)\n {\n queue.insertLast(value);\n }",
"public void push(int x) {\n if (head == null) {\n head = new Node1(x, x);\n } else {\n head = new Node1(x, Math.min(x, head.min), head);\n }\n }",
"public void push(int x) {\n Stack<Integer> tmp = new Stack<>();\n while(!s.isEmpty()) {\n tmp.push(s.pop());\n }\n tmp.push(x);\n while(!tmp.isEmpty()) {\n s.push(tmp.pop());\n }\n }",
"public void push(int x) {\n\t\tstack.push(x);\n\t}",
"public void pop() {\n move();\n reverseQueue.poll();\n }",
"@Override\n public Object enqueue(Object x) {\n if (!isFull() && x != null){ // Pré-condição\n if (++tail >= MAX){\n tail = 0; // MAX-1 é a ultima posição do vetor\n }\n \n if (head == -1){\n head = tail;\n }\n \n memo[tail] = x;\n total++;\n return x;\n }\n else{ // Não pode inserir elemento nulo (x == null)\n return null; // Ou se a FILA estiver cheia\n }\n }",
"public void push (T element)\r\n {\r\n if (size() == stack.length) \r\n expandCapacity();\r\n\r\n stack[top] = element;\r\n top++;\r\n }",
"public void push(int x) {\n if(x <= min){\n stack.push(min);\n min=x;\n }\n stack.push(x);\n }",
"public void push(int x) {\n if (storeStack.isEmpty()) {\n storeStack.push(x);\n return;\n }\n\n Stack<Integer> assistStack = new Stack<>();\n while (!storeStack.isEmpty()) {\n assistStack.push(storeStack.pop());\n }\n assistStack.push(x);\n while (!assistStack.isEmpty()) {\n storeStack.push(assistStack.pop());\n }\n }",
"public void push(int x) {\n stk1.push(x);\n }"
] | [
"0.82624036",
"0.8259673",
"0.81935894",
"0.81571823",
"0.80487853",
"0.8009802",
"0.7990561",
"0.79842633",
"0.79804295",
"0.7975267",
"0.7919498",
"0.78962463",
"0.7856843",
"0.78444326",
"0.7841012",
"0.77275115",
"0.7722426",
"0.7722426",
"0.76359296",
"0.76308316",
"0.7613451",
"0.7593293",
"0.7580426",
"0.7526367",
"0.7500378",
"0.7500378",
"0.7471206",
"0.74355227",
"0.7423393",
"0.7411367",
"0.73738754",
"0.73693335",
"0.7356771",
"0.73520994",
"0.72848165",
"0.72730684",
"0.72014064",
"0.71783143",
"0.71159905",
"0.7084847",
"0.70662844",
"0.69853604",
"0.6980971",
"0.69796485",
"0.69779855",
"0.6962277",
"0.69543",
"0.6942443",
"0.6935219",
"0.69181216",
"0.6898908",
"0.68950903",
"0.6879799",
"0.6856291",
"0.6820406",
"0.68158275",
"0.6796318",
"0.6776699",
"0.6775979",
"0.6746227",
"0.674423",
"0.6739258",
"0.6725424",
"0.6715741",
"0.6676491",
"0.6666506",
"0.66493016",
"0.66318727",
"0.6620178",
"0.65975296",
"0.65939325",
"0.6592974",
"0.6589431",
"0.65864205",
"0.6579515",
"0.65776247",
"0.657313",
"0.6567979",
"0.65409696",
"0.65409696",
"0.65409696",
"0.6540937",
"0.65357685",
"0.6530563",
"0.6527506",
"0.6507796",
"0.64867747",
"0.64852667",
"0.64778817",
"0.6466511",
"0.6462241",
"0.6458599",
"0.6457872",
"0.6450086",
"0.64464265",
"0.64434254",
"0.6430324",
"0.642537",
"0.64232147",
"0.6417516"
] | 0.65448636 | 78 |
Removes the element from in front of queue and returns that element. | public int pop() {
if (!isIn) {
return stackOut.pop();
} else {
while (!stackIn.empty()) {
stackOut.push(stackIn.pop());
}
isIn = false;
return stackOut.pop();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public synchronized Object removeFirstElement() {\n return _queue.remove(0);\n }",
"public E remove(){\r\n if(isEmpty())\r\n return null;\r\n \r\n //since the array is ordered, the highest priority will always be at the end of the queue\r\n //--currentSize will find the last index (highest priority) and remove it\r\n return queue[--currentSize];\r\n }",
"public E peek(){\r\n if(isEmpty())\r\n return null;\r\n\r\n return queue[currentSize-1]; //return the object without removing it\r\n }",
"public Object dequeue()\n {\n return queue.removeFirst();\n }",
"public E dequeue() {\n\t\treturn list.removeFirst();\n\t}",
"@Override\n\tpublic E deQueue() {\n\t\treturn list.removeFirst();\n\t}",
"public Item removeFirst() {\n if (isEmpty()) {\n throw new NoSuchElementException(\"queue is empty\");\n }\n Item a;\n a = first.item;\n first = first.next;\n if (first == null) {\n last = null;\n }\n else first.prev = null;\n size--;\n return a;\n }",
"public T poll() {\n if (size == 0) {\n return null;\n }\n\n // set returned value to queue[0]\n T value = (T) array[0];\n\n // decrease size - we are removing element\n size--;\n\n // move queue 1 place left\n System.arraycopy(array, 1, array, 0, size);\n\n // clear last element\n array[size] = null;\n\n return value;\n }",
"public E dequeue() {\n if (isEmpty()) return null; //nothing to remove.\n E item = first.item;\n first = first.next; //will become null if the queue had only one item.\n n--;\n if (isEmpty()) last = null; // special case as the queue is now empty. \n return item;\n }",
"public Country removeFront() {\n\t\tCountry temp = null;\n\t\ttry {\n\t\t\tif (isEmpty()) {\n\t\t\t\tSystem.out.println(\"The queue is empty.\");\n\t\t\t} else if (front != end) {\n\t\t\t\tfront.previous = null;\n\t\t\t\ttemp = front.data;\n\t\t\t\tfront = front.next;\n\t\t\t} else {\n\t\t\t\tfront = end = null;\n\t\t\t\ttemp = front.data;\n\t\t\t}\n\t\t} catch (NullPointerException e) {\n\t\t\t;\n\t\t}\n\t\treturn temp;\n\t}",
"@Override\r\n\tpublic E dequeueFront() {\n\t\tif(isEmpty()) return null;\r\n\t\tE value = data[frontDeque];\r\n\t\tfrontDeque = (frontDeque + 1)% CAPACITY;\r\n\t\tsizeDeque--;\r\n\t\treturn value;\r\n\t}",
"Node dequeue() {\n Node n = queue.removeFirst();\n queueSet.remove(n);\n return n;\n }",
"public O popFront()\r\n {\r\n if (!isEmpty())\r\n {\r\n VectorItem<O> l = first;\r\n first = first.getNext();\r\n \r\n count--;\r\n if (isEmpty()) last = null;\r\n else first.setPrevious(null);\r\n \r\n return l.getObject();\r\n } else\r\n return null;\r\n }",
"public T removeFirst(){\n\tT ret = _front.getCargo();\n\t_front = _front.getPrev();\n\t_front.setNext(null);\n\t_size--;\n\treturn ret;\n }",
"private E remove() {\n if (startPos >= queue.length || queue[startPos] == null) throw new NoSuchElementException();\n size--;\n return (E) queue[startPos++];\n }",
"public E dequeue() {\n return pop();\n }",
"T getFront() throws EmptyQueueException;",
"public T removeFromFront() {\n DoublyLinkedListNode<T> temp = head;\n if (size == 0) {\n throw new NoSuchElementException(\"The list is empty, so there\"\n + \" is nothing to get.\");\n } else {\n if (head == tail) {\n head = tail;\n tail = null;\n return temp.getData();\n } else {\n head = head.getNext();\n head.setPrevious(null);\n size -= 1;\n return temp.getData();\n }\n }\n\n\n }",
"public E removeFront() {\n\t\tif (count == 0) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tE temp = head.value;\n\t\t\thead = head.next;\n\t\t\tcount--;\n\t\t\treturn temp;\n\t\t}\n\t}",
"public long remove(){\n\t\t\r\n\t\t\tlong temp = queueArray[front]; //retrieves and stores the front element\r\n\t\t\tfront++;\r\n\t\t\tif(front == maxSize){ //To set front = 0 and use it again\r\n\t\t\t\tfront = 0;\r\n\t\t\t}\r\n\t\t\tnItems--;\r\n\t\t\treturn temp;\r\n\t\t}",
"public E dequeue() {\n if (size == 0){\n return null;\n }\n\n\n E result = (E) queue[0];\n queue[0] = null;\n --size;\n\n if (size != 0){\n shift();\n }\n return result;\n }",
"public synchronized Object dequeue() throws EmptyListException {\r\n return removeFromFront();\r\n }",
"public static Object dequeue() {\t \n if(queue.isEmpty()) {\n System.out.println(\"The queue is already empty. No element can be removed from the queue.\"); \n return -1;\n }\n return queue.removeFirst();\n }",
"public T removeFirst() {\r\n \r\n if (size == 0) {\r\n return null;\r\n }\r\n \r\n T deleted = front.element;\r\n front = front.next;\r\n size--;\r\n \r\n return deleted;\r\n }",
"public T removeFront() {\n\t\tT found = start.value;\n\t\tstart = start.next;\n\t\treturn found;\n\t}",
"public static Object peek() {\t \n if(queue.isEmpty()) { \n System.out.println(\"The queue is empty so we can't see the front item of the queue.\"); \n return -1;\n }\t \n else {\n System.out.println(\"The following element is the top element of the queue:\" + queue.getFirst()); \t \n }\n return queue.getFirst();\n }",
"public T front() throws EmptyQueueException;",
"public E removeFront() {\r\n if (elem[front] == null) {\r\n throw new NoSuchElementException();\r\n } else {\r\n E temp = elem[front];\r\n elem[front] = null;\r\n front++;\r\n return temp;\r\n }\r\n }",
"public int dequeueFront();",
"public T removeFirst() {\n if (size == 0) {\n return null;\n }\n if (size == 1) {\n size--;\n return array[front];\n }\n this.checkReSizeDown();\n size--;\n front++;\n this.updatePointer();\n return array[Math.floorMod(front - 1, array.length)];\n }",
"public Object dequeue(){\r\n return super.remove(size()-1);\r\n }",
"public Object todequeue() {\n\t\tif(rear == 0)\n\t\t\treturn null;\n\t\telse {\n\t\t\tObject to_return = arr[front];\n\t\t\tfront++;\n\t\t\tsize--;\n\t\t\treturn to_return;\n\t\t}\n\t}",
"public E poll() {\n\t\twhile (true) {\n\t\t\tlong f = front.get();\n\t\t\tint i = (int)(f % elements.length());\n\t\t\tE x = elements.get(i);\n\t\t\t//Did front change while we were reading x?\n\t\t\tif (f != front.get())\n\t\t\t\tcontinue;\n\t\t\t//Is the queue empty?\n\t\t\tif (f == rear.get())\n\t\t\t\treturn null; //Don't retry; fail the poll.\n\n\t\t\tif (x != null) {//Is the front nonempty?\n\t\t\t\tif (elements.compareAndSet(i, x, null)) {//Try to remove an element.\n\t\t\t\t\t//Try to increment front. If we fail, other threads will\n\t\t\t\t\t//also try to increment before any further removals, so we\n\t\t\t\t\t//don't need to loop.\n\t\t\t\t\tfront.compareAndSet(f, f+1);\n\t\t\t\t\treturn x;\n\t\t\t\t}\n\t\t\t} else //front empty. Try to help other threads.\n\t\t\t\tfront.compareAndSet(f, f+1);\n\n\t\t\t//If we get here, we failed at some point. Try again.\n\t\t}\n\t}",
"public T dequeue(){\n T front = getFront(); // might throw exception, assumes firstNode != null\n firstNode = firstNode.getNext();\n\n if (firstNode == null){\n lastNode = null;\n } // end if\n return front;\n }",
"public E removeFirst() {\n return pop();\n }",
"public E dequeue(){\n if (isEmpty()) return null;\n E answer = arrayQueue[front];\n arrayQueue[front] = null;\n front = (front +1) % arrayQueue.length;\n size--;\n return answer;\n }",
"public T dequeue()\n\t{\n\t\tNode<T> eliminado = head;\n\t\thead = head.getNext();\n\t\tif(head == null)\n\t\t{\n\t\t\ttail = null;\n\t\t}\n\t\tsize--;\n\t\treturn eliminado.getElement();\n\t}",
"public T dequeue() {\n if (size == 0) {\n throw new NoSuchElementException(\"The queue is empty\"\n + \". Please add data before attempting to remove.\");\n } else if (front == backingArray.length - 1) {\n int temp = front;\n T data = backingArray[temp];\n backingArray[front] = null;\n front = 0;\n size--;\n return data;\n } else {\n int temp = front;\n T data = backingArray[temp];\n backingArray[front] = null;\n front = temp + 1;\n size--;\n return data;\n }\n }",
"private GameAction pull() {\n if (this.queue.size() > 0) {\n return this.queue.remove(0);\n } else {\n return null;\n }\n }",
"@Override\n public E removeFirst() {\n if (isEmpty()) {\n throw new NoSuchElementException(\"No elements in dequeue\");\n }\n E value = dequeue[head];\n dequeue[head] = null;\n head = ++head % dequeue.length;\n size--;\n if (size < dequeue.length / 2) {\n reduce();\n }\n return value;\n }",
"private E dequeue() {\n final Object[] items = this.items;\n @SuppressWarnings(\"unchecked\")\n E x = (E) items[takeIndex];\n items[takeIndex] = null;\n if (++takeIndex == items.length) takeIndex = 0;\n count--;\n notFull.signal();\n return x;\n }",
"public Item removeFirst(){\r\n\t\tif (isEmpty()) throw new NoSuchElementException(\"Queue underflow\");\r\n\t\tItem tmp = list[first];\r\n\t\tlist[first++] = null;\r\n\t\tn--;\r\n\t\tprior=first-1;\r\n\t\tif(first==list.length){first=0;}\r\n\t\tif (n > 0 && n == list.length/4) resize(list.length/2); \r\n\t\treturn tmp;}",
"public Object getFront() throws Exception {\n if (!isEmpty()) {\n return queue[front];\n } else {\n // 对为空返回null\n return null;\n }\n }",
"T peek(){\n if(isEmpty()){\n return null;\n }\n return (T)queueArray[0];\n }",
"public int pop() {\n int size=queue.size();\n for (int i = 0; i <size-1 ; i++) {\n int temp=queue.poll();\n queue.add(temp);\n }\n return queue.poll();\n }",
"public int dequeue() {\n\t\tif (isEmpty()) throw new IllegalStateException(\"\\nQueue is empty!\\n\");\n\t\tint removedItem = bq[head];\n\t\tif (head == bq.length - 1) head = 0; // wraparound\n\t\telse head++;\n\t\tsize--;\n\t\treturn removedItem;\t\n\t}",
"public T removeFromBack() {\n if (size == 0) {\n throw new NoSuchElementException(\"The list is empty, \"\n + \"so there is nothing to get.\");\n }\n if (head == tail) {\n head.setNext(null);\n head.setPrevious(null);\n tail.setNext(null);\n tail.setPrevious(null);\n size -= 1;\n return tail.getData();\n } else {\n T temp = tail.getData();\n tail = tail.getPrevious();\n tail.setNext(null);\n size -= 1;\n return temp;\n\n }\n }",
"public String pop() {\n if (queue.size() == 0) {\n return null;\n }\n\n String result = top();\n queue.remove(0);\n return result;\n }",
"@Override\n public E poll() {\n E tmp = (E)queue[0];\n System.arraycopy(queue, 1, queue, 0, size - 1);\n size--;\n return tmp;\n }",
"public T pop()\n\t{\n\t\treturn list.removeFirst();\n\t}",
"public Item removeFirst(){\n\t\tif(isEmpty()){\n\t\t\tthrow new NoSuchElementException(\"Queue underflow\");\n\t\t}else{\n\t\t\t//save item to return\n\t\t\tItem returnItem = first.item;\n\t\t\t//delete first node\n\t\t\tfirst = first.next;\n\t\t\tn--;\n\t\t\tif(isEmpty()){\n\t\t\t\tlast = null; // to avoid loitering\n\t\t\t}else{\n\t\t\t\tfirst.prev = null;\n\t\t\t}\n\t\t\treturn returnItem;\n\t\t}\n\t}",
"public Object peek()\n {\n if(this.isEmpty()){throw new QueueUnderflowException();}\n return front.getData();\n }",
"public T pop() {\r\n\t\tT ele = top.ele;\r\n\t\ttop = top.next;\r\n\t\tsize--;\r\n\t\t\r\n\t\treturn ele;\r\n\t}",
"public int getFront() {\n if(isEmpty()){\n return -1;\n }\n return queue[head];\n }",
"public E dequeue() {\r\n\t\tif (isEmpty()) {\r\n\t\t\tthrow new IndexOutOfBoundsException();\r\n\t\t}\r\n\t\t\r\n\t\tif (size() != 1) {\r\n\t\t\t//Node p = first; \r\n\t\t\tE item = first.item;\r\n\t\t\tremove(0);\r\n\t\t\t//first = p.next;\r\n\t\t\t//first.prev = null;\r\n\t\t\treturn item;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tE e = last.item;\r\n\t\t\tremove(last.item);\r\n\n\t\t\treturn e;\r\n\t\t}\n\t}",
"public T peek()\n\t{\n\t\tT ret = list.removeFirst();\n\t\tlist.addFirst(ret);\n\t\treturn ret;\n\t}",
"public IClause uncheckedPopFront() {\n assert back!=front : \"Deque is empty\";\n\n front++;\n if (front >= tab.length)\n front = 0;\n return tab[front];\n }",
"@Override\n\tpublic E dequeue() {\n\t\tif(isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\tE data = queue[pos];\n\t\tqueue[pos] = null;\n\t\tpos = (pos+1) % queue.length;\n\t\tsize--;\n\t\treturn data;\n\t}",
"public int pop() {\n int size = queue.size();\n while (size > 2) {\n queue.offer(queue.poll());\n size--;\n }\n topElem = queue.peek();\n queue.offer(queue.poll());\n return queue.poll();\n }",
"public T dequeue() {\n if (first != null) {\n size--;\n T data = first.data;\n first = first.next;\n\n if (first == null) {\n last = null; // avoid memory leak by removing reference\n }\n\n return data;\n }\n return null;\n }",
"@Override\r\n\tpublic T dequeue() {\r\n\t\tT element;\r\n\t\tif (isEmpty())\r\n\t\t\tthrow new AssertionError(\"Queue is empty.\");\r\n\t\telement = arr[front].getData();\r\n\t\tif (front == rear) {\r\n\t\t\tfront = rear = -1;\r\n\t\t} else {\r\n\t\t\tfront++;\r\n\t\t}\r\n\t\treturn element;\r\n\t}",
"public void pop() {\n queue.remove();\n }",
"public T pop() {\r\n T o = get(size() - 1);\r\n remove(size() - 1);\r\n return o;\r\n\t}",
"@Override\n public T dequeue() {\n if (!isEmpty()) {\n return heap.remove();\n } else {\n throw new NoSuchElementException(\"Priority Queue is null\");\n }\n }",
"public void pop() {\n queue.remove(0);\n }",
"public E pop() {\n E value = head.prev.data;\n head.prev.delete();\n if (size > 0) size--;\n return value;\n }",
"public Object dequeue() {\n\t\t\n\t\t// Check: Queue is empty\n\t\tif (isEmpty()) {\n\t\t\tthrow new NoSuchElementException(\"Queue is empty. Cannot dequeue.\");\n\t\t}\n\t\t\n\t\t// Check: one element (tail = head)\n\t\t// If so, set tail to null\n\t\tif (tail == head) tail = null;\n\t\t\n\t\t// Save head's data to return\n\t\tObject first = head.data;\n\t\t\n\t\t// Remove head from queue and re-assign head to head.next\n\t\thead = head.next;\n\t\t\n\t\treturn first;\n\t}",
"@Override\n\tpublic E dequeue() {\n\t\tif (! isEmpty()) {\n\t\t\tNode temp = first;\n\t\t\tE e = temp.element;\n\t\t\tfirst = temp.next;\n\t\t\t\n\t\t\tif (temp == last)\n\t\t\t\tlast = null;\n\t\t\treturn e;\n\t\t}\n\t\treturn null;\n\t}",
"public int pop() {\n int size = queue.size();\n for (int i = 0; i < size - 1; i++) {\n Integer poll = queue.poll();\n queue.offer(poll);\n }\n return queue.poll();\n }",
"public Item peek(){\n if(isEmpty()) throw new NoSuchElementException(\"Queue underflow\");\n return first.item;\n }",
"private Element popElement() {\r\n return ((Element)this.elements.remove(this.elements.size() - 1));\r\n }",
"T poll(){\n if(isEmpty()){\n return null;\n }\n T temp = (T) queueArray[0];\n for(int i=0; i<tail-1;i++){\n queueArray[i] = queueArray[i+1];\n }\n tail--;\n return temp;\n }",
"public E pop(){\r\n\t\tObject temp = peek();\r\n\t\t/**top points to the penultimate element*/\r\n\t\ttop--;\r\n\t\treturn (E)temp;\r\n\t}",
"public int top() {\n int size=queue.size();\n for (int i = 0; i < size-1; i++) {\n int temp=queue.poll();\n queue.add(temp);\n }\n int top=queue.poll();\n queue.add(top);\n return top;\n }",
"public E pop(){\n\t\tif(top == null){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tE retval = top.element;\n\t\ttop = top.next;\n\t\t\n\t\treturn retval;\n\t}",
"public E pop() {\n if (isEmpty()) {\n return null;\n } else {\n E e = head.item;\n head = head.next;\n size--;\n return e;\n }\n\n }",
"public O popBack()\r\n {\r\n if (!isEmpty())\r\n {\r\n VectorItem<O> l = last;\r\n last = last.getPrevious();\r\n\r\n count--;\r\n if (isEmpty()) first = null;\r\n else last.setNext(null);\r\n return l.getObject();\r\n } else\r\n return null;\r\n \r\n }",
"public process dequeue() {\n\t\treturn queue.removeFirst();\n\t}",
"public int pop() {\r\n if (queue1.size() == 0) {\r\n return -1;\r\n }\r\n int removed = top;\r\n while (queue1.peek() != removed) {\r\n top = queue1.remove();\r\n queue1.add(top);\r\n }\r\n return queue1.remove();\r\n }",
"public T dequeue() {\n if (isEmpty()) {\n throw new RuntimeException(\"Ring buffer underflow\");\n }\n T itemToReturn = rb[first];\n rb[first] = null;\n fillCount -= 1;\n if (isEmpty()) {\n first = 0;\n last = 0;\n return itemToReturn;\n }\n first = (first + 1) % capacity;\n return itemToReturn;\n\n // Dequeue the first item. Don't forget to decrease fillCount and update\n }",
"@Override\n\tpublic E dequeue() {\n\t\tE temp=null;\n\t\tif(front==data.length-1){\n\t\t\ttemp=data[front];\n\t\t\tsize--;\n\t\t\tfront=(front+1)%data.length;\n\t\t}else{\n\t\t\tsize--;\n\t\t\ttemp=data[front++];\n\t\t}\n\t\treturn temp;\n\t}",
"public T peek() {\n if (size == 0) {\n throw new NoSuchElementException(\"The queue is empty\"\n + \". Please add data before attempting to peek.\");\n } else {\n return backingArray[front];\n }\n\n }",
"public Object pop() {\n\t\tObject lastElement = peek();\n\t\t\n\t\tint indexOfLastElement = collection.size() - 1;\n\t\tcollection.remove(indexOfLastElement);\n\t\t\n\t\treturn lastElement;\n\t}",
"public E element() {\n if (size == 0){\n return null;\n }\n return (E)queue[0];\n }",
"public E first(){\n if (isEmpty()) return null;\n return arrayQueue[front];\n }",
"public void dequeue()\n\t{\n\t\tq.removeFirst();\n\t}",
"public T popFront() {\n\t\tif(tamanio==0)\n\t\t\treturn null;\n\t\tNodo<T> aux= inicio.getSiguiente();\n\t\tT dato = inicio.getDato();\n\t\tinicio=null;\n\t\tinicio=aux;\n\t\ttamanio--;\n\t\treturn dato;\n\t}",
"public Object popFront(){\n\t\tObject data = head.data;\n\t\thead = head.nextNode; \n\t\t--size; \n\t\t\n\t\treturn data; \n\t}",
"public T getFront(){\n if (isEmpty()){\n throw new EmptyQueueException();\n }\n else {\n return firstNode.getData();\n }\n }",
"public Bottle inputQueueTakeBottle() {\n\t\tsynchronized (inputQueue) {\n\t\t\tif (this.inputQueueSize() != 0) {\n\t\t\t\treturn inputQueue.remove();\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t}",
"public L removeFromFront(){\n\t\tif(isEmpty())//throw exception if List is empty\n\t\tthrow new IllegalStateException(\"List \" + name + \" is empty\");\n\n\t\tL removedItem = (L) firstNode.data; //retrieve data being removed\n\n\t\t//update references firstNode and lastNode\n\t\tif(firstNode == lastNode)\n\t\tfirstNode = lastNode = null;\n\t\telse\n\t\tfirstNode = firstNode.getNext();\n\n\t\treturn removedItem; //return removed node data\n\t}",
"public Object dequeue() {\n return queue.dequeue();\n }",
"public String dequeue()\n\t{\n\t\tif (!isEmpty())\n\t\t{\n\t\t\tcounter--;\n\t\t\tString temp = list[front];\n\t\t\tfront = next(front);\n\t\t\treturn temp;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}",
"@Override\n public E peek() {\n return (E)queue[0];\n }",
"public T removeFromFront() throws EmptyListException \n\t{\n\t\tif (isEmpty()) // throw exception if List is empty\n\t\t\tthrow new EmptyListException(name);\n\n\t\tT removedItem = firstNode.data; // retrieve data being removed\n\n\t\t// update references firstNode and lastNode\n\t\tif (firstNode == lastNode)\n\t\t\tfirstNode = lastNode = null;\n\t\telse\n\t\t\tfirstNode = firstNode.nextNode;\n\t\tsize--;\n\t\treturn removedItem; // return removed node data\n\t}",
"public E pop() \r\n {\r\n E o = list.get(getSize() - 1);\r\n list.remove(getSize() - 1);\r\n return o;\r\n }",
"public T removeFromFront() throws EmptyListException {\n if(isEmpty())\n throw new EmptyListException(name);\n\n // retrieve data being removed\n T removedItem = firstNode.data;\n\n // update references to firstNode and lastNode\n if(firstNode == lastNode)\n firstNode = lastNode = null;\n else\n firstNode = firstNode.nextNode;\n\n return removedItem;\n }",
"public Item removeLast() {\n if (isEmpty()) {\n throw new NoSuchElementException(\"queue is empty\");\n }\n Item a;\n a = last.item;\n if (size() == 1) {\n first = null;\n last = null;\n }\n else {\n last = last.prev;\n last.next = null;\n\n }\n size--;\n return a;\n\n\n }",
"T dequeue() {\n return contents.removeFromTail();\n }",
"public T removeFirst()\r\n {\r\n T removedData; // holds data from removed node\r\n\r\n if (numElements == 0)\r\n throw new NoSuchElementException(\r\n \"Remove attempted on empty list\\n\");\r\n removedData = front.data;\r\n front = front.next;\r\n if (numElements == 1)\r\n rear = null;\r\n \r\n numElements--;\r\n return removedData;\r\n }",
"T pop();"
] | [
"0.7710383",
"0.767744",
"0.7632147",
"0.7572486",
"0.7529685",
"0.75053036",
"0.7495563",
"0.7455531",
"0.74506617",
"0.74362785",
"0.74324703",
"0.74064606",
"0.73923665",
"0.7384324",
"0.73561954",
"0.73264414",
"0.7326095",
"0.7309975",
"0.7303639",
"0.730135",
"0.7294155",
"0.72801495",
"0.7277761",
"0.7276409",
"0.7269046",
"0.72541654",
"0.7239941",
"0.7229922",
"0.7226464",
"0.7217362",
"0.72127223",
"0.71996117",
"0.7189336",
"0.7185299",
"0.7172576",
"0.7163717",
"0.71360683",
"0.71341586",
"0.71307623",
"0.71264774",
"0.71151054",
"0.7101087",
"0.70939714",
"0.70812976",
"0.7078998",
"0.7072731",
"0.7064914",
"0.7062274",
"0.7056434",
"0.7049789",
"0.7043825",
"0.7033107",
"0.70312893",
"0.7026783",
"0.70136446",
"0.7009552",
"0.7000939",
"0.69917154",
"0.69879144",
"0.69820666",
"0.69812226",
"0.69806325",
"0.6979653",
"0.69706416",
"0.69649816",
"0.69531703",
"0.6945529",
"0.6945217",
"0.69445974",
"0.6935868",
"0.6934751",
"0.6932586",
"0.6914438",
"0.6906984",
"0.690267",
"0.69006085",
"0.689157",
"0.68901736",
"0.68838763",
"0.68827915",
"0.68814725",
"0.6880986",
"0.68789774",
"0.68749624",
"0.68744314",
"0.6873475",
"0.68719923",
"0.68709844",
"0.68684214",
"0.6868305",
"0.6864357",
"0.68621033",
"0.6859188",
"0.6856021",
"0.6854612",
"0.6841961",
"0.6837977",
"0.683673",
"0.68360806",
"0.6833891",
"0.6828385"
] | 0.0 | -1 |
Get the front element. | public int peek() {
if (!isIn) {
return stackOut.peek();
} else {
while (!stackIn.empty()) {
stackOut.push(stackIn.pop());
}
isIn = false;
return stackOut.peek();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getFront() throws Exception {\n\t\tif(data[front]!=null)\n\t\t\n\t\t return data[front];\n\t\treturn null;\n\t}",
"public int getFront() {\n return !isEmpty() ? elements[last - 1] : -1;\n }",
"@Override\n\tpublic E getFront() {\n\t\treturn data[front];\n\t}",
"public T getFront();",
"public E front();",
"public AnyType getFront() {\n\t\tif (empty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn header.next.data;\n\t\t// Running time is θ(1) because it's a constant operation.\n\t}",
"public Object front() {\n ListNode p = this.l.start;\n while(p.next!=null)\n {\n p = p.next;\n }\n\t\treturn (Object) p.item;\n\t}",
"public T front();",
"public T getFront(){\n if (isEmpty()){\n throw new EmptyQueueException();\n }\n else {\n return firstNode.getData();\n }\n }",
"E getFront();",
"public E peekFront() {\r\n if (front == rear) {\r\n throw new NoSuchElementException();\r\n } else {\r\n return elem[front];\r\n }\r\n }",
"public Object getFront() throws Exception {\n if (!isEmpty()) {\n return queue[front];\n } else {\n // 对为空返回null\n return null;\n }\n }",
"public int getFront() {\n if (isEmpty()) {\n return -1;\n }\n return arr[front];\n }",
"public E getFront() {\n return head.nextNode.data;\n }",
"public Card front()\n {\n if (firstLink == null)\n return null;\n\n return firstLink.getCard();\n }",
"public int getFront() {\n if (cnt == 0)\n return -1;\n return head.val;\n }",
"@Override\n public T peekFront() {\n if (isEmpty()) {\n return null;\n }\n return head.peekFront();\n }",
"public int getFront() {\n if (head == tail && size == 0)\n return -1;\n else {\n int head_num = elementData[head];//索引当前头指针的指向的位置\n return head_num;\n }\n // return true;\n }",
"public E peekFront();",
"public Node getFront(){\n return this.front;\n }",
"public int getFront() {\n if(isEmpty()){\n return -1;\n }\n return queue[head];\n }",
"public String front()\n {\n\treturn head.value;\n }",
"public E peek(){\n\t\treturn top.element;\n\t}",
"public int front() {\n return data[first];\n }",
"Object front()\n\t{\n\t\tif (length == 0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call front() on empty List\");\n\t\t}\n\t\treturn front.data;\n\t}",
"T front() throws RuntimeException;",
"public int Front() {\n if(isEmpty()) return -1;\n return l.get(head);\n }",
"public int Front() {\n if (isEmpty()) {\n return -1;\n }\n return queue[head];\n }",
"public int Front() {\n if (this.count == 0)\n return -1;\n return this.queue[this.headIndex];\n }",
"public int Front() {\n if (isEmpty())\n return -1;\n return buf[b];\n }",
"int front()\n {\n if (isEmpty())\n return Integer.MIN_VALUE;\n return this.array[this.front];\n }",
"public T first() {\n \t\n \tT firstData = (T) this.front.data;\n \t\n \treturn firstData;\n \t\n }",
"public DVDPackage front() {\n\t\treturn queue.peek();\n\t}",
"public T peek() {\r\n\t\tT ele = top.ele;\r\n\t\treturn ele;\r\n\t}",
"public E first(){\n if (isEmpty()) return null;\n return arrayQueue[front];\n }",
"public int Front() {\n if(queue[head] == null){\n return -1;\n }else{\n return queue[head];\n }\n }",
"public int Front() {\n if (count == 0) {\n return -1;\n }\n return array[head];\n }",
"public static Object peek() {\t \n if(queue.isEmpty()) { \n System.out.println(\"The queue is empty so we can't see the front item of the queue.\"); \n return -1;\n }\t \n else {\n System.out.println(\"The following element is the top element of the queue:\" + queue.getFirst()); \t \n }\n return queue.getFirst();\n }",
"T getFront() throws EmptyQueueException;",
"public E first() {\n if (this.isEmpty()) return null;\r\n return this.head.getElement();\r\n }",
"public int peekFront();",
"public O popFront()\r\n {\r\n if (!isEmpty())\r\n {\r\n VectorItem<O> l = first;\r\n first = first.getNext();\r\n \r\n count--;\r\n if (isEmpty()) last = null;\r\n else first.setPrevious(null);\r\n \r\n return l.getObject();\r\n } else\r\n return null;\r\n }",
"public T peek() {\n\t\tif (isEmpty()) {\n\t\t\tthrow new EmptyStackException();\n\t\t}\n\t\t//returns the top element.\n\t\treturn elements.get(elements.size()-1);\n\t}",
"public int peekFront() {\n int x = 0;\n if(head == null) {\n return Integer.MIN_VALUE;\n }\n\n return head.val;\n }",
"public T front() throws EmptyQueueException;",
"public E first() { // returns (but does not remove) the first element\n // TODO\n if (isEmpty()) return null;\n return tail.getNext().getElement();\n }",
"int getFront()\n {\n // check whether Deque is empty or not \n if (isEmpty())\n {\n return -1 ;\n }\n return arr[front];\n }",
"public T first() throws EmptyCollectionException{\n if (front == null){\n throw new EmptyCollectionException(\"list\");\n }\n return front.getElement();\n }",
"public int getFront() {\n if(size == 0) return -1;\n \n return head.next.val;\n \n}",
"public E first() {\n\r\n if (head == null) {\r\n return null;\r\n } else {\r\n return head.getItem();\r\n }\r\n\r\n }",
"public T popFront() {\n\t\tif(tamanio==0)\n\t\t\treturn null;\n\t\tNodo<T> aux= inicio.getSiguiente();\n\t\tT dato = inicio.getDato();\n\t\tinicio=null;\n\t\tinicio=aux;\n\t\ttamanio--;\n\t\treturn dato;\n\t}",
"public IClause front() {\n if (back==front)\n throw new BufferUnderflowException();\n\n int i = front - 1;\n if (i < 0)\n i = tab.length - 1;\n return tab[i];\n }",
"public E peek() {\n E item;\n try {\n item = element();\n } catch (NoSuchElementException e) {\n return null;\n }\n return item;\n }",
"public Object peek()\r\n {\n assert !this.isEmpty();\r\n return this.top.getItem();\r\n }",
"public E getFirst() {\n return peek();\n }",
"public int Front() {\n if (isEmpty()) {\n return -1;\n }\n return nums[head];\n }",
"public Point getFrontPoint() {\n\t\treturn this.gun;\n\t}",
"public E top() {\n return !isEmpty() ? head.item : null;\n }",
"public E first() {\n if(isEmpty()){\n return null;\n }else{\n return header.getNext().getElement();\n }\n }",
"public E first() {\n if (isEmpty()) return null;\n return first.item;\n }",
"public E getFirst() {\r\n\t\t// element checks to see if the list is empty\r\n\t\treturn element();\r\n\t}",
"private Element peekElement() {\r\n return ((Element)this.elements.get(this.elements.size() - 1));\r\n }",
"public T peek()\n {\n if (isEmpty())\n return null;\n \n return first.getData();\n }",
"public T peek() {\n\t\tif (this.l.getHead() != null)\n\t\t\treturn this.l.getHead().getData();\n\t\telse {\n\t\t\tSystem.out.println(\"No element in stack\");\n\t\t\treturn null;\n\t\t}\n\t}",
"public T getFirst() {\n\treturn _front.getCargo();\n }",
"public E getFirst(){\n return head.getNext().getElement();\n }",
"public E peek() {\n\t\tif (isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn apq.get(1);\n\t}",
"public E peek() \r\n {\r\n return list.get(getSize() - 1);\r\n }",
"public Element first() {\n if(isEmpty()) return null;\n else return header.getNextNode().getContent();\n }",
"public IClause uncheckedFront() {\n assert back!=front : \"Deque is empty\";\n\n int i = front - 1;\n if (i < 0)\n i = tab.length - 1;\n return tab[i];\n }",
"public Object peek() {\n\t\tcheckIfStackIsEmpty();\n\t\tint indexOfLastElement = collection.size() - 1;\n\t\tObject lastElement = collection.get(indexOfLastElement);\n\t\t\n\t\treturn lastElement;\n\t}",
"public Object peek() {\n if (top >= 0) {\n return stack[top];\n }\n else {\n return null;\n }\n }",
"public node getFirst() {\n\t\treturn head;\n\t\t//OR\n\t\t//getAt(0);\n\t}",
"public boolean getFront()\n {\n return m_bFrontLock;\n }",
"public E getPrevious() {\n\t\tif (!super.isEmpty()) {\n\t\t\tif (index <= 0)\n\t\t\t\tindex = this.size();\n\t\t\treturn this.get(--index);\n\t\t}\n\t\treturn null;\n\t}",
"public int top() {\n return topElem;\n }",
"public Object firstElement() {\n return _queue.firstElement();\n }",
"public Object firstElement();",
"public T getHead() {\n return get(0);\n }",
"@Override\r\n\tpublic E peek() {\r\n\t\tif (isEmpty())\r\n\t\t\treturn null;\r\n\t\treturn stack[t];\r\n\t}",
"@Override\n\tpublic E first() {\n\t\treturn queue[pos];\n\t}",
"public E peek()\n {\n return arrayList.get(0);\n }",
"@Override\n\tpublic Object peek() {\n\t\treturn list.getFirst();\n\t}",
"public void offerFront(E elem);",
"public T peek() {\n if (size == 0) {\n throw new NoSuchElementException(\"The queue is empty\"\n + \". Please add data before attempting to peek.\");\n } else {\n return backingArray[front];\n }\n\n }",
"@Override\r\n\tpublic E dequeueFront() {\n\t\tif(isEmpty()) return null;\r\n\t\tE value = data[frontDeque];\r\n\t\tfrontDeque = (frontDeque + 1)% CAPACITY;\r\n\t\tsizeDeque--;\r\n\t\treturn value;\r\n\t}",
"public E top() {\n return head.prev.data;\n }",
"public T peek() {\n return top.getData();\n }",
"public String getFrontName() {\n return frontName;\n }",
"public ListElement<T> getPrev()\n\t{\n\t\treturn prev;\n\t}",
"public T peek() {\n\t\treturn top.value;\n\t}",
"public E removeFront() {\n\t\tif (count == 0) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tE temp = head.value;\n\t\t\thead = head.next;\n\t\t\tcount--;\n\t\t\treturn temp;\n\t\t}\n\t}",
"public Node3 peek() {\n Node3 response = null;\n if (!isEmpty()) {\n response = new Node3(front.getData());\n }\n return response;\n }",
"public E peek(){\r\n if(isEmpty())\r\n return null;\r\n\r\n return queue[currentSize-1]; //return the object without removing it\r\n }",
"public E removeFront() {\r\n if (elem[front] == null) {\r\n throw new NoSuchElementException();\r\n } else {\r\n E temp = elem[front];\r\n elem[front] = null;\r\n front++;\r\n return temp;\r\n }\r\n }",
"T peek(){\n if(isEmpty()){\n return null;\n }\n return (T)queueArray[0];\n }",
"public T removeFront() {\n\t\tT found = start.value;\n\t\tstart = start.next;\n\t\treturn found;\n\t}",
"public E top()\n {\n E topVal = stack.peekFirst();\n return topVal;\n }",
"public Atom getHead ()\r\n\t{\r\n\t\treturn _head.get(0);\r\n\t}",
"public E peek(){\n return front!=rear?(E) data[(int)((front) & (max_size - 1))]:null;\n }",
"public E getFirst() {\n\t\t// Bitte fertig ausprogrammieren:\n\t\treturn null;\n\t}"
] | [
"0.7788042",
"0.77603334",
"0.77359986",
"0.770913",
"0.7659393",
"0.7649537",
"0.76232344",
"0.7567912",
"0.7567317",
"0.75489664",
"0.754895",
"0.75468546",
"0.75373614",
"0.75340813",
"0.7465325",
"0.7453483",
"0.73273367",
"0.7313527",
"0.7309557",
"0.73002553",
"0.71958786",
"0.7195471",
"0.7152307",
"0.71376693",
"0.71189517",
"0.71103793",
"0.70857185",
"0.7083212",
"0.7073387",
"0.70733243",
"0.706138",
"0.704281",
"0.7010204",
"0.70006675",
"0.6997967",
"0.6978131",
"0.6971697",
"0.69613653",
"0.69537216",
"0.69423085",
"0.6919552",
"0.69148743",
"0.6886805",
"0.68216026",
"0.68103766",
"0.6791073",
"0.6790531",
"0.6770173",
"0.6764274",
"0.67533267",
"0.6749555",
"0.67212236",
"0.67108744",
"0.66983837",
"0.6685971",
"0.6677128",
"0.6673218",
"0.66643864",
"0.6618328",
"0.66147023",
"0.6574963",
"0.6538162",
"0.65303147",
"0.6529432",
"0.6521991",
"0.6516687",
"0.65043306",
"0.6480369",
"0.64744234",
"0.6470041",
"0.64599615",
"0.64427894",
"0.64417356",
"0.64398706",
"0.6429368",
"0.64275354",
"0.64212424",
"0.6416124",
"0.640834",
"0.6405592",
"0.64045656",
"0.63959473",
"0.63918066",
"0.63908887",
"0.63692683",
"0.63489985",
"0.63481283",
"0.6340062",
"0.6324872",
"0.63229823",
"0.63005155",
"0.62991756",
"0.6299099",
"0.62941825",
"0.6289729",
"0.6268654",
"0.6258268",
"0.6256142",
"0.6255932",
"0.62548995",
"0.6245208"
] | 0.0 | -1 |
Returns whether the queue is empty. | public boolean empty() {
if (stackIn.empty() && stackOut.empty()) {
return true;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean is_empty() {\n\t\tif (queue.size() <= 0) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isEmpty() {\n return this.queue.size() == 0;\n }",
"public boolean isEmpty() {\n\t\treturn queue.isEmpty();\n\t}",
"public boolean isEmpty() {\n\t\treturn queue.isEmpty();\n\t}",
"public boolean isEmpty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n\t\treturn queue.isEmpty();\n\t}",
"public boolean isEmpty() {\n return queue.isEmpty();\n }",
"boolean isEmpty() {\n return queue.isEmpty();\n }",
"public boolean isEmpty()\n {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean isEmpty() \n {\n\treturn queue.size() == 0;\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\n return queue.isEmpty();\n }",
"public boolean empty() {\r\n return this.queueMain.isEmpty();\r\n }",
"public boolean isEmpty(){\n\t\tif(queue.isEmpty()){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isEmpty() {\n return holdingQueue.isEmpty();\n }",
"public boolean isMessageQueueEmpty() {\r\n\t\treturn this.messages.size() == 0;\r\n\t}",
"public static boolean isEmpty() {\n System.out.println();\t \n if(queue.isEmpty()) {\t \n System.out.println(\"The queue is currently empty and has no elements.\");\t \t \t \n }\n else {\n System.out.println(\"The queue is currently not empty.\");\t \t\t \n }\n return queue.isEmpty();\n }",
"@Override\n public boolean isEmpty() {\n return queue.isEmpty();\n }",
"public boolean isEmpty() {\r\n boolean z = false;\r\n if (!isUnconfinedQueueEmpty()) {\r\n return false;\r\n }\r\n DelayedTaskQueue delayedTaskQueue = (DelayedTaskQueue) this._delayed;\r\n if (delayedTaskQueue != null && !delayedTaskQueue.isEmpty()) {\r\n return false;\r\n }\r\n Object obj = this._queue;\r\n if (obj != null) {\r\n if (obj instanceof LockFreeTaskQueueCore) {\r\n z = ((LockFreeTaskQueueCore) obj).isEmpty();\r\n }\r\n return z;\r\n }\r\n z = true;\r\n return z;\r\n }",
"public boolean empty() {\n return queue.isEmpty() && forReverse.isEmpty();\n }",
"public boolean queueEmpty() {\r\n\t\tif (vehiclesInQueue.size() == 0) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public boolean isEmpty()\r\n\t{\n\t\tif(backIndex<0)\r\n\t\t{\r\n\t\t\tbackIndex=-1;\r\n\t\t\tSystem.out.println(\"Queue is Empty\");\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public boolean empty() {\n return normalQueue.isEmpty() && reverseQueue.isEmpty();\n }",
"public boolean isEmpty()\r\n {\r\n if(measurementQueue==null) return true;\r\n \r\n return measurementQueue.isEmpty();\r\n }",
"public static boolean isEmpty() {\n\t\treturn resultQueue.isEmpty();\n\t}",
"public boolean isEmpty() {\n return (head == tail) && (queue[head] == null);\n }",
"public boolean empty() {\r\n return queue1.size() == 0;\r\n }",
"public boolean empty() {\r\n return queue1.size() == 0;\r\n }",
"public boolean isQueueEmpty(Queue objQueue){\r\n\t\treturn objQueue.getRare()==-1;\r\n\t}",
"public boolean isFull() {\n int nexttail = (tail + 1 == queue.length) ? 0 : tail + 1;\n return (nexttail == head) && (queue[tail] != null);\n }",
"public boolean empty() {\n return queue1.isEmpty();\n }",
"public boolean empty() {\n return queueA.isEmpty() && queueB.isEmpty();\n }",
"public boolean isEmpty() {\n return qSize == 0;\n }",
"public boolean isFull(){\n return size == arrayQueue.length;\n }",
"public boolean empty() {\n return q.isEmpty();\n }",
"public boolean empty() {\n /**\n * 当两个栈中都没有元素时,说明队列中也没有元素\n */\n return stack.isEmpty() && otherStack.isEmpty();\n }",
"public boolean isEmpty() { return (dequeSize == 0); }",
"public boolean isEmpty(){\n\t\treturn ( startQueue.isEmpty() && finishQueue.isEmpty() && completedRuns.isEmpty() );\n\t}",
"public boolean isEmpty() {\n return (fifoEmpty.getBoolean());\n }",
"public boolean empty() {\n return q.isEmpty();\n }",
"@Override\r\n\tpublic boolean isFull() {\r\n\r\n\t\treturn data.size() >= maxQueue;\r\n\t}",
"public boolean queueFull() {\r\n\t\tif (vehiclesInQueue.size() > maxQueueSize) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public boolean isEmpty() {\n\t\treturn heap.size() == 0;\n\t}",
"public boolean isEmpty() {\n\t\treturn heap.size() == 0;\n\t}",
"public boolean empty() {\n\t\treturn (size() <= 0);\n\t}",
"public boolean isEmpty() {\n\t\treturn heap.isEmpty();\n\t}",
"public boolean isQueueFull(Queue objQueue){\r\n\t\treturn objQueue.getRare()==objQueue.getArrOueue().length;\r\n\t}",
"public synchronized boolean isEmpty() {\n\t\treturn size == 0;\n\t}",
"public synchronized boolean isEmpty() {\r\n return size == 0;\r\n }",
"boolean isEmpty() {\n\t\t\n\t\t// array is empty if no elements can be polled from it\n\t\t// \"canPoll\" flag shows if any elements can be polled from queue\n\t\t// NOT \"canPoll\" means - empty\n\t\t\n\t\treturn !canPoll;\n\t}",
"public boolean isEmpty() {\n\t\tboolean empty = true;\n\n\t\tfor(LinkedList<Passenger> queue : queues) { // loop through each queue to see if its empty.\n\t\t\tif(!queue.isEmpty()){\n\t\t\t\tempty = false;\n\t\t\t}\n \t}\n\t\treturn empty;\n }",
"public final boolean isEmpty() {\r\n\t\treturn this.size == 0;\r\n\t}",
"public boolean empty() {\n return size == 0;\n }",
"public boolean isEmpty()\n {\n return heapSize == 0;\n }",
"public boolean empty() {\n return size <= 0;\n }",
"public boolean isHeapEmpty() {\n\t\treturn this.head == null;\n\t}",
"public boolean empty() {\n return push.isEmpty();\n }",
"public boolean empty() {\n\t if(q.size()==0) return true;\n\t return false;\n\t }",
"public boolean isFull()\n\t{\n\t return (front==0 && rear==queueArray.length-1 || (front==rear+1));\n\t}",
"public boolean isEmpty() {\n\t\treturn this.size == 0;\n\t}",
"public boolean isEmpty() {\n\t\treturn (size == 0);\n\t}",
"public boolean isEmpty() {\n return (this.size == 0);\n }",
"public boolean empty()\r\n\t{\r\n\t\treturn currentSize == 0;\r\n\t}",
"public boolean empty() {\r\n return size == 0;\r\n }",
"public boolean empty() {\n return popStack.isEmpty();\n }",
"public boolean isEmpty() {\r\n return (size == 0);\r\n }",
"public boolean isEmpty() {\n return (size == 0);\n }",
"public boolean isEmpty()\n {\n return this.size == 0;\n }",
"public boolean isEmpty() {\n\t\treturn currentSize == 0;\n\t}",
"public boolean empty() {\n if (queue1.isEmpty() && queue2.isEmpty()){\n return true;\n }\n return false;\n }",
"public boolean isEmpty() {\n return this.size == 0;\n }",
"public boolean isEmpty() {\n return this.size == 0;\n }",
"public boolean isEmpty() {\n return stack.isListEmpty();\n }",
"public boolean empty() {\n return popStack.empty() && pushStack.empty();\n }",
"public boolean empty() {\n return stack.isEmpty();\n }",
"public boolean empty() {\n return stack.isEmpty();\n }",
"public boolean empty() {\r\n return stack.isEmpty();\r\n }",
"public boolean isEmpty() {\n\t\treturn(this.size == 0);\n\t}",
"public final boolean isEmpty() {\n return mSize == 0;\n }",
"public boolean isEmpty() {\n\t return size == 0;\n\t }",
"public boolean isEmpty()\n {\n return stack.isEmpty();\n }",
"public boolean empty() {\r\n return this.stack.isEmpty();\r\n }",
"public boolean empty() { \t \n\t\t return size <= 0;\t \n }",
"public boolean empty() {\n return rearStack.isEmpty() && frontStack.isEmpty();\n }",
"public boolean isEmpty() {\n\t\treturn size == 0;\r\n\t}",
"public boolean isEmpty() {\n return (size == 0);\n\n }",
"public boolean isEmpty()\n {\n return stack.size() == 0;\n }",
"public boolean isEmpty() {\n\t\treturn size == 0;\n\t}",
"public boolean isEmpty() {\n\t\treturn size == 0;\n\t}",
"public boolean isEmpty() {\n\t\treturn size == 0;\n\t}",
"public boolean isEmpty()\r\n {\r\n return (size() == 0);\r\n }"
] | [
"0.9061608",
"0.8914194",
"0.8852499",
"0.8852499",
"0.8815682",
"0.8810445",
"0.87997335",
"0.8791669",
"0.8790852",
"0.87563825",
"0.87563825",
"0.87563825",
"0.87563825",
"0.87563825",
"0.87563825",
"0.87563825",
"0.8689962",
"0.8680233",
"0.8680233",
"0.8680233",
"0.8680233",
"0.8680233",
"0.86596245",
"0.8641122",
"0.8511726",
"0.84806776",
"0.84542674",
"0.8385524",
"0.8378889",
"0.8364479",
"0.8346542",
"0.82825845",
"0.82784426",
"0.8268065",
"0.8253015",
"0.8234483",
"0.8184286",
"0.8184286",
"0.81770444",
"0.80846435",
"0.8049837",
"0.8026093",
"0.8011978",
"0.7999786",
"0.79702705",
"0.7955586",
"0.79223824",
"0.79216766",
"0.79200023",
"0.7915594",
"0.7887438",
"0.7869872",
"0.7836723",
"0.7836723",
"0.78320444",
"0.7816653",
"0.7804123",
"0.77974325",
"0.77969646",
"0.7787129",
"0.7770162",
"0.77511984",
"0.7737748",
"0.7727725",
"0.7725545",
"0.7722002",
"0.77216065",
"0.77190435",
"0.77125424",
"0.77112",
"0.7698032",
"0.7694233",
"0.769125",
"0.76807404",
"0.7679825",
"0.76794577",
"0.7677999",
"0.76767534",
"0.7675818",
"0.7675354",
"0.7667826",
"0.7667826",
"0.7664082",
"0.7651609",
"0.7648444",
"0.7648444",
"0.7643296",
"0.7633447",
"0.7617566",
"0.7616757",
"0.76125884",
"0.7610844",
"0.76102734",
"0.76068443",
"0.7596903",
"0.75918573",
"0.75913",
"0.75906634",
"0.75906634",
"0.75906634",
"0.7590607"
] | 0.0 | -1 |
the best, bottomup by copying | public static boldTree boldSubTreeCopy(boldTree root) {
if (root == null)
return null;
boldTree tmp = copy(root);
for(boldTree c : root.getChildren()){
if(boldSubTreeCopy(c) != null){
tmp.addChild(c);
}
}
if(tmp.isBold ||tmp.getChildren().size() != 0)
return tmp;
else
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Object getBest();",
"public double getBestHeight() { return getBestHeight(-1); }",
"public T peekBest();",
"void merge_hi(int pa, int na, int pb, int nb) {\n getmem(nb);\n int dest = pb + nb - 1;\n int basea = pa;\n System.arraycopy(this.data, pb, this.a, 0, nb);\n \n pb = nb - 1;\n pa += na - 1;\n \n this.data[dest--] = this.data[pa--];\n --na;\n if (na == 0)\n return;\n if (nb == 1) {\n // CopyA;\n dest -= na;\n pa -= na;\n System.arraycopy(this.data, pa+1, this.data, dest+1, na);\n this.data[dest] = this.a[pb];\n nb = 0;\n return;\n }\n \n try {\n for (;;) {\n int acount = 0; /* # of time A won in a row */\n int bcount = 0; /* # of time B won in a row */\n \n /* Do the straightforward thing until (if ever) one run\n * appears to win consistently.\n */\n for (;;) {\n boolean k = iflt(this.a[pb], this.data[pa]);\n if (k) {\n this.data[dest--] = this.data[pa--];\n ++acount;\n bcount = 0;\n --na;\n if (na == 0)\n return;\n if (acount >= MIN_GALLOP)\n break;\n } else {\n this.data[dest--] = this.a[pb--];\n ++bcount;\n acount = 0;\n --nb;\n if (nb == 1) {\n // CopyA\n dest -= na;\n pa -= na;\n System.arraycopy(this.data, pa+1, this.data, dest+1, na);\n this.data[dest] = this.a[pb];\n nb = 0;\n return;\n }\n if (bcount >= MIN_GALLOP)\n break;\n }\n }\n \n /* One run is winning so consistently that galloping may\n * be a huge win. So try that, and continue galloping until\n * (if ever) neither run appears to be winning consistently\n * anymore.\n */\n do {\n int k = gallop_right(this.a[pb], this.data, basea, na, na-1);\n acount = k = na - k;\n if (k != 0) {\n dest -= k;\n pa -= k;\n System.arraycopy(this.data, pa+1, this.data, dest+1, k);\n na -= k;\n if (na == 0)\n return;\n }\n \n this.data[dest--] = this.a[pb--];\n --nb;\n if (nb == 1) {\n // CopyA\n dest -= na;\n pa -= na;\n System.arraycopy(this.data, pa+1, this.data, dest+1, na);\n this.data[dest] = this.a[pb];\n nb = 0;\n return;\n }\n \n k = gallop_left(this.data[pa], this.a, 0, nb, nb-1);\n bcount = k = nb - k;\n if (k != 0) {\n dest -= k;\n pb -= k;\n System.arraycopy(this.a, pb+1, this.data, dest+1, k);\n nb -= k;\n if (nb == 1) {\n // CopyA\n dest -= na;\n pa -= na;\n System.arraycopy(this.data, pa+1, this.data, dest+1, na);\n this.data[dest] = this.a[pb];\n nb = 0;\n return;\n }\n /* nb==0 is impossible now if the comparison\n * function is consistent, but we can't assume\n * that it is.\n */\n if (nb == 0)\n return;\n }\n this.data[dest--] = this.data[pa--];\n --na;\n if (na == 0)\n return;\n } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);\n }\n } finally {\n if (nb != 0)\n System.arraycopy(this.a, 0, this.data, dest-(nb-1), nb);\n \n //dump_data(\"result\", origpa, cnt);\n }\n }",
"private SkiNode findBestTail(SkiNode head) {\n\t\tSkiNode tail, minTail;\n\t\tminTail = updateNextNodeToBestTail(head, head.i - 1, head.j, 0);\n\t\ttail = updateNextNodeToBestTail(head, head.i, head.j - 1, 1);\n\t\tif (tail != null && (minTail == null || tail.v < minTail.v)) {\n\t\t\tminTail = tail;\n\t\t}\n\t\ttail = updateNextNodeToBestTail(head, head.i + 1, head.j, 2);\n\t\tif (tail != null && (minTail == null || tail.v < minTail.v)) {\n\t\t\tminTail = tail;\n\t\t}\n\t\ttail = updateNextNodeToBestTail(head, head.i, head.j + 1, 3);\n\t\tif (tail != null && (minTail == null || tail.v < minTail.v)) {\n\t\t\tminTail = tail;\n\t\t}\n\t\treturn minTail;\n\t}",
"@Override\r\n public ElementSet nextBestSet() {\r\n \r\n ElementSet bestSet = null; //initialze variables\r\n int countBest = 0;\r\n double bestScore = Double.MAX_VALUE; //arbitrarly large number CHECK ME\r\n int count = 0;\r\n double score = 0;\r\n \r\n for (ElementSet s : _copyModel.getElements()) { //go through all sets in the model\r\n count = 0; //reset count and score for each set\r\n score = 0;\r\n for (Integer i : s.getSet()) {\r\n if(_uncoveredElements.contains(i)) { //get number of covered elements\r\n count++;\r\n } \r\n }\r\n if (count != 0) { //if it contains an element\r\n score = s.getCost() / (double)count; //compute the ratio of cost per element covered\r\n if (score < bestScore) { //if score is better than best score \r\n countBest = count;\r\n bestScore = score;\r\n bestSet = s;\r\n }\r\n }\r\n }\r\n \r\n if (bestSet == null) //if no set was chosen return null\r\n return null;\r\n \r\n _copyModel.getElements().remove(bestSet); //remcoe the chosen set from the model\r\n GreedySolver.printChosenSet(bestSet); //print the chosen set\r\n \r\n return bestSet;\r\n }",
"void merge_lo(int pa, int na, int pb, int nb) {\n getmem(na);\n System.arraycopy(this.data, pa, this.a, 0, na);\n int dest = pa;\n pa = 0;\n \n this.data[dest++] = this.data[pb++];\n --nb;\n if (nb == 0)\n return;\n if (na == 1) {\n // CopyB;\n System.arraycopy(this.data, pb, this.data, dest, nb);\n this.data[dest + nb] = this.a[pa];\n return;\n }\n \n try {\n for (;;) {\n int acount = 0; /* # of time A won in a row */\n int bcount = 0; /* # of time B won in a row */\n \n /* Do the straightforward thing until (if ever) one run\n * appears to win consistently.\n */\n for (;;) {\n boolean k = iflt(this.data[pb], this.a[pa]);\n if (k) {\n this.data[dest++] = this.data[pb++];\n ++bcount;\n acount = 0;\n --nb;\n if (nb == 0)\n return;\n if (bcount >= MIN_GALLOP)\n break;\n } else {\n this.data[dest++] = this.a[pa++];\n ++acount;\n bcount = 0;\n --na;\n if (na == 1) {\n // CopyB;\n System.arraycopy(this.data, pb, this.data, dest, nb);\n this.data[dest + nb] = this.a[pa];\n na = 0;\n return;\n }\n if (acount >= MIN_GALLOP)\n break;\n }\n }\n \n /* One run is winning so consistently that galloping may\n * be a huge win. So try that, and continue galloping until\n * (if ever) neither run appears to be winning consistently\n * anymore.\n */\n do {\n int k = gallop_right(this.data[pb], this.a, pa, na, 0);\n acount = k;\n if (k != 0) {\n System.arraycopy(this.a, pa, this.data, dest, k);\n dest += k;\n pa += k;\n na -= k;\n if (na == 1) {\n // CopyB\n System.arraycopy(this.data, pb, this.data, dest, nb);\n this.data[dest + nb] = this.a[pa];\n na = 0;\n return;\n }\n /* na==0 is impossible now if the comparison\n * function is consistent, but we can't assume\n * that it is.\n */\n if (na == 0)\n return;\n }\n \n this.data[dest++] = this.data[pb++];\n --nb;\n if (nb == 0)\n return;\n \n k = gallop_left(this.a[pa], this.data, pb, nb, 0);\n bcount = k;\n if (k != 0) {\n System.arraycopy(this.data, pb, this.data, dest, k);\n dest += k;\n pb += k;\n nb -= k;\n if (nb == 0)\n return;\n }\n this.data[dest++] = this.a[pa++];\n --na;\n if (na == 1) {\n // CopyB;\n System.arraycopy(this.data, pb, this.data, dest, nb);\n this.data[dest + nb] = this.a[pa];\n na = 0;\n return;\n }\n } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);\n }\n } finally {\n if (na != 0)\n System.arraycopy(this.a, pa, this.data, dest, na);\n \n //dump_data(\"result\", origpa, cnt);\n }\n }",
"private void findSmallestCost() {\n int best = 0;\n fx = funFitness[0];\n for (int i = 1; i < population; i++) {\n if (funFitness[i] < fx) {\n fx = funFitness[i];\n best = i;\n }\n }\n //System.arraycopy(currentPopulation[best], 0, bestSolution, 0, dimension);\n copy(bestSolution, currentPopulation[best]);\n }",
"private int GetBestCard(Card[] card) {\n\t int iPos = 0;\n\t int iWeightTemp = 0;\n\t int iWeight[] = new int[8];\n\t for (int i = 0; i < 8; i++){\n\t\t iWeight[i] = -1;\n\t }\n\t // For each selectable card, work out a weight, the highest weight is the one selected.\n\t // The weight is worked out by the distance another of the players cards is from playable ones, with no playable cards in between\n\t Card myCard, nextCard;\n\t for (int i = 0; i < 8; i++){\n\t\t if (card[i] != null){\n\t\t\t // if card value > 7\n\t\t\t if (card[i].GetValue() > 7){\n\t\t\t\t // do you have cards that are higher than this card\n\t\t\t\t myCard = card[i];\n\t\t\t\t iWeightTemp = 0;\n\t\t\t \tfor (int j = 0; j < mCardCount; j++){\n\t\t\t \t\tnextCard = mCard[j];\n\t\t\t \t\tif (nextCard != null && nextCard.GetSuit() == myCard.GetSuit() && nextCard.GetValue() > myCard.GetValue()){\n\t\t\t \t\t\tif (nextCard.GetValue() - myCard.GetValue() > iWeightTemp)\n\t\t\t \t\t\t\tiWeightTemp = nextCard.GetValue() - myCard.GetValue();\n\t\t\t \t\t\tmyCard = nextCard;\n\t\t\t \t\t}\n\t\t\t \t}\n\t\t\t \tiWeight[i] = iWeightTemp;\n\t\t\t \t\t\n\t\t\t }\n\t\t\t if (card[i].GetValue() < 7){\n\t\t\t\t // do you have cards that are lower than this card\n\t\t\t\t myCard = card[i];\n\t\t\t\t iWeightTemp = 0;\n\t\t\t \tfor (int j = mCardCount-1; j >=0; j--){\n\t\t\t \t\tnextCard = mCard[j];\n\t\t\t \t\tif (nextCard != null && nextCard.GetSuit() == myCard.GetSuit() && nextCard.GetValue() < myCard.GetValue()){\n\t\t\t \t\t\tif (myCard.GetValue() - nextCard.GetValue() > iWeightTemp)\n\t\t\t \t\t\t\tiWeightTemp = myCard.GetValue() - nextCard.GetValue();\n\t\t\t \t\t\tmyCard = nextCard;\n\t\t\t \t\t}\n\t\t\t \t}\n\t\t\t \tiWeight[i] = iWeightTemp;\n\t\t\t \t\t\n\t\t\t }\t\n\t\t\t if (card[i].GetValue() == 7){\n\t\t\t\t // do you have cards that are in this suit\n\t\t\t\t myCard = card[i];\n\t\t\t\t int iWeightTemp1;\n\t\t\t\t iWeightTemp = 0;\n\t\t\t\t iWeightTemp1 = 0;\n\t\t\t\t // do you have cards that are higher than this card\n\t\t\t \tfor (int j = 0; j < mCardCount; j++){\n\t\t\t \t\tnextCard = mCard[j];\n\t\t\t \t\tif (nextCard != null && nextCard.GetSuit() == myCard.GetSuit() && nextCard.GetValue() > myCard.GetValue()){\n\t\t\t \t\t\tif (nextCard.GetValue() - myCard.GetValue() > iWeightTemp)\n\t\t\t \t\t\t\tiWeightTemp = nextCard.GetValue() - myCard.GetValue();\n\t\t\t \t\t\tmyCard = nextCard;\n\t\t\t \t\t}\n\t\t\t \t}\n\t\t\t \tmyCard = card[i];\n\t\t\t \t// do you have cards that are lower than this card\n\t\t\t \tfor (int j = mCardCount-1; j >=0; j--){\n\t\t\t \t\tnextCard = mCard[j];\n\t\t\t \t\tif (nextCard != null && nextCard.GetSuit() == myCard.GetSuit() && nextCard.GetValue() < myCard.GetValue()){\n\t\t\t \t\t\tif (myCard.GetValue() - nextCard.GetValue() > iWeightTemp1)\n\t\t\t \t\t\t\tiWeightTemp1 = myCard.GetValue() - nextCard.GetValue();\n\t\t\t \t\t\tmyCard = nextCard;\n\t\t\t \t\t}\n\t\t\t \t} \t\n\t\t\t \tiWeight[i] = iWeightTemp + iWeightTemp1;\n\t\t\t \t\t\n\t\t\t }\t\t\t \n\t\t }\n\t\t \t \n\t }\n\t boolean bLoopAceKing = true;\n\t int iMaxTemp = 0;\n\t int iMaxCount = 0;\t\n\t int[] iMaxs;\n\t iMaxs = new int[8];\n\t while (bLoopAceKing){\n\t\t for (int i = 0; i < 8; i++){\n\t\t\t if (iWeight[i] >= iMaxTemp){\n\t\t\t\t if (iWeight[i] == iMaxTemp){\n\t\t\t\t\t iMaxs[iMaxCount] = i;\n\t\t\t\t\t iMaxCount++;\n\t\t\t\t }\n\t\t\t\t else {\n\t\t\t\t\t iMaxTemp = iWeight[i];\n\t\t\t\t\t iMaxs = new int[8];\n\t\t\t\t\t iMaxCount = 0;\n\t\t\t\t\t iMaxs[iMaxCount] = i;\n\t\t\t\t\t iMaxCount++;\n\t\t\t\t }\t\t\t \n\t\t\t }\t \n\t\t }\n\t\t boolean bAceKing = false;\n\t\t // If the top weight is zero, meaning your options don't help you, then play the one that is closest to ace/king\n\t\t if (iMaxTemp == 0 && iMaxCount > 1){\n\t\t\t for (int k = 0; k < iMaxCount; k++){\n\t\t\t\t\t iWeight[iMaxs[k]] = Math.abs(card[iMaxs[k]].GetValue()-7);\n\t\t\t\t\t bAceKing = true;\t\t\t\t \n\t\t\t } \t\t \n\t\t }\n\t\t if (bAceKing){\n\t\t\t bLoopAceKing = true;\n\t\t\t iMaxs = new int[8];\n\t\t\t iMaxTemp = 0;\n\t\t\t iMaxCount = 0;\t\t\t \n\t\t }\n\t\t else \n\t\t\t bLoopAceKing = false;\n\t }\n\t if (iMaxCount == 1)\n\t\t iPos = iMaxs[iMaxCount-1];\n\t else {\n\t\t Random generator = new Random();\n\t\t int randomIndex = generator.nextInt( iMaxCount );\n\t\t iPos = iMaxs[randomIndex];\n\t }\n\t\t \n\t return iPos;\n\t \n }",
"Object getWorst();",
"private void findBest()\r\n\t{\r\n\t\tint i;\r\n\t\tint size_mature_pool;\r\n\t\tint idx_current;//index of a currently checked genotype\r\n\t\tint num_errors;//number of errors of the current chromosome\r\n\t\tdouble min_error;//smallest error among the oldest genotypes\r\n\t\tVector<Integer> idx_oldest;\r\n\t\t\r\n\t\tsize_mature_pool = _pool_of_bests.size();\r\n\t\t\r\n\t\tidx_oldest = new Vector<Integer>(0, 1);\r\n\t\t\r\n\t\t//find all oldest genotypes\r\n\t\tfor(i=0; i<size_mature_pool; i++)\r\n\t\t{\r\n\t\t\tnum_errors = _pool_of_bests.get(i)._error.all_single_squares.size();\r\n\t\t\tif(num_errors>=_min_life_span)\r\n\t\t\t{\r\n\t\t\t\tidx_oldest.add(i);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//find the best oldest gentypes with a span above a threshold\r\n\t\t_best_idx = -1;\r\n\t\tif(idx_oldest.size() > 0)\r\n\t\t{\r\n\t\t\t_best_idx = idx_oldest.get(0);\r\n\t\t\tmin_error = _pool_of_bests.get(_best_idx)._error.getAverageError();\r\n\t\t\tfor(i=1; i<idx_oldest.size(); i++)\r\n\t\t\t{\r\n\t\t\t\tidx_current = idx_oldest.get(i);\r\n\t\t\t\tif(min_error > _pool_of_bests.get(idx_current)._error.getAverageError())\r\n\t\t\t\t{\r\n\t\t\t\t\t_best_idx = idx_current;\r\n\t\t\t\t\tmin_error = _pool_of_bests.get(_best_idx)._error.getAverageError();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public int getOldest(){\n\t\tCurrentSets = getCurrentSets();\n\t\tOldest = 0;\n\t\tSmallestValue = blocks[0].getAge();\n\t\tif(CurrentSets == 1){\n\t\t\treturn 0;\n\t\t}\n\t\telse if(CurrentSets == 2){\n\t\t\tif(blocks[0].getAge() > blocks[1].getAge())\n\t\t\t\treturn 1;\n\t\t\telse\n\t\t\t\treturn 0;\n\t\t}\n\t\tfor(i = 0; i < CurrentSets - 1; i++){\n\t\t\tif(blocks[i].getAge() < SmallestValue){\n\t\t\t\tOldest = i;\n\t\t\t\tSmallestValue = blocks[i].getAge();\n\t\t\t}\n\t\t}\n\t\treturn Oldest;\n\t}",
"private Move getBestMove() {\r\n\t\tSystem.out.println(\"getting best move\");\r\n\t\tChessConsole.printCurrentGameState(this.chessGame);\r\n\t\tSystem.out.println(\"thinking...\");\r\n\t\t\r\n\t\tList<Move> validMoves = generateMoves(false);\r\n\t\tint bestResult = Integer.MIN_VALUE;\r\n\t\tMove bestMove = null;\r\n\t\t\r\n\t\tfor (Move move : validMoves) {\r\n\t\t\texecuteMove(move);\r\n\t\t\t//System.out.println(\"evaluate move: \"+move+\" =========================================\");\r\n\t\t\tint evaluationResult = -1 * negaMax(this.maxDepth,\"\");\r\n\t\t\t//System.out.println(\"result: \"+evaluationResult);\r\n\t\t\tundoMove(move);\r\n\t\t\tif( evaluationResult > bestResult){\r\n\t\t\t\tbestResult = evaluationResult;\r\n\t\t\t\tbestMove = move;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"done thinking! best move is: \"+bestMove);\r\n\t\treturn bestMove;\r\n\t}",
"void MemorizeBestSource() \n\t{\n\t int i,j;\n\t \n\t\tfor(i=0;i<FoodNumber;i++)\n\t\t{\n\t\tif (f[i]<GlobalMin)\n\t\t\t{\n\t GlobalMin=f[i];\n\t for(j=0;j<D;j++)\n\t GlobalParams[j]=Foods[i][j];\n\t }\n\t\t}\n\t }",
"private static long calculateBestPickWithoutRepetition(int weight, Item[] items, long[][] DP) {\n\n for(int w = 1; w <= weight; w++) {\n for(int i = 1; i <= items.length; i++) {\n DP[w][i] = DP[w][i-1];\n Item item = items[i-1];\n\n if (item.getWeight() <= w) {\n DP[w][i] = Math.max(DP[w][i], DP[w - item.getWeight() ][i-1] + item.getValue());\n }\n }\n }\n\n return DP[DP.length -1][DP[0].length - 1];\n }",
"private void runBest() {\n }",
"Move getBestMove() {\n //System.out.println(\"AI chooses: \" + m.toString());\n return moves.get((int) (Math.random() * moves.size()));\n }",
"public double getBestWidth() { return getBestWidth(-1); }",
"private Bitmap cutBottom(Bitmap origialBitmap) {\n Bitmap cutBitmap = Bitmap.createBitmap(origialBitmap.getWidth(),\n origialBitmap.getHeight(), Bitmap.Config.ARGB_8888);\n\n Canvas canvas = new Canvas(cutBitmap);\n Rect srcRect = new Rect(0, 6*(origialBitmap.getHeight() / 7), origialBitmap.getWidth() ,\n origialBitmap.getHeight());\n Rect desRect = new Rect(0, 0, origialBitmap.getWidth(), origialBitmap.getHeight() / 7);\n canvas.drawBitmap(origialBitmap, srcRect, desRect, null);\n return cutBitmap;\n }",
"private void updateBest() {\n if (bestTourOrder == null) {\n bestTourOrder = ants.get(0).trail;\n bestTourLength = ants.get(0)\n .trailLength(graph);\n }\n for (Ant a : ants) {\n if (a.trailLength(graph) > bestTourLength) {\n bestTourLength = a.trailLength(graph);\n bestTourOrder = a.trail.clone();\n }\n }\n\n\n }",
"private double[] chooseBestMove(List<double[]> possibleMoves) {\n double bestScore = 0;\n int indexBest = 0;\n for (int i = 0; i < possibleMoves.size(); i++) {\n if (possibleMoves.get(i)[4] > bestScore) {\n bestScore = possibleMoves.get(i)[4];\n indexBest = i;\n }\n }\n return possibleMoves.get(indexBest);\n }",
"static int dfsTopToBottom(int[] weight, int[] value, int W, int cur) {\r\n\t\t\tif(W < 0 || cur >= weight.length)\r\n\t\t\t\treturn 0;\r\n\t\t\tif(weight[cur] > W)\r\n\t\t\t\treturn dfsTopToBottom(weight, value, W, cur+1);\r\n\t\t\tint curVal = value[cur];\r\n\t\t\tint curWeight = weight[cur];\r\n\t\t\tint include = curVal + dfsTopToBottom(weight,value, W-curWeight, cur+1);\r\n//\t\t\tSystem.out.println(\"Include : \"+include);\r\n\t\t\tint noInclude = dfsTopToBottom(weight,value, W, cur+1);\r\n\t\t\tint res = Math.max(include, noInclude);\r\n\t\t\treturn res;\r\n\t\t}",
"public void findBPS() {\n\t\tfinal String consensus = \"UACUAAC\";\n\t\tString candidate = \"\"; \n\t\tint currentDistance;\n\t\t\n\t\tint bestDistance = Integer.MAX_VALUE;\n\t\tString bestCandidate = \"\"; \n\t\tfor( int i = 6; i < this.intron.length() - consensus.length() - 2; i++ ) {\n\t\t\tcandidate = this.intron.substring( i, (i+consensus.length()) );\n\t\t\tcurrentDistance = StringUtils.getLevenshteinDistance(consensus, candidate); \n\t\t\tif( currentDistance <= bestDistance ) {\n\t\t\t\tbestCandidate = candidate; \n\t\t\t\tbestDistance = currentDistance; \n\t\t\t}\n\t\t}\n\t\t\n\t\t//System.out.println( bestCandidate + \"\\t\" + bestDistance ); \n\t\tthis.bps = bestCandidate; \n\t}",
"public int best(){\n List<Integer> points = count();\n Integer max = 0;\n for (Integer p: points){\n if (p <= 21 && max < p){\n max = p;\n }\n }\n return max;\n }",
"protected void MemorizeBestSource() {\n int i, j;\n\n bestUnchanged = true;\n for (i = 0; i < FoodNumber; i++) {\n if (f[i] < GlobalMin) {\n GlobalMin = f[i];\n for (j = 0; j < D; j++) {\n GlobalParams[j] = Foods[i][j];\n GlobalSalesman[j] = Salesmans[i][j];\n }\n bestUnchanged = false;\n }\n }\n }",
"private int[] calcBestOrderForB() {\n int cursor = mStrokeA.length() / 2;\n Point[] aPts = buildSnapshot(mStrokeA, cursor);\n Point[] bPts = buildSnapshot(mStrokeB, cursor);\n\n // Determine the best permutation of B to match points of A within these two\n // snapshots\n ArrayList<int[]> perms = buildPermutations(mStrokeA.size());\n int[] bestOrder = null;\n float minCost = 0;\n for (int[] order : perms) {\n float cost = orderCost(order, aPts, bPts);\n if (bestOrder == null || minCost > cost) {\n minCost = cost;\n bestOrder = order;\n }\n }\n return bestOrder;\n }",
"GamePiece furthestPiece(GamePiece from, ArrayList<GamePiece> connect) {\n HashMap<GamePiece, Integer> dists = this.distanceMap(from);\n GamePiece currMax = from;\n int max = 0;\n for (GamePiece p : connect) {\n if (p.connectedToPower(from)) {\n if (dists.get(p) > max) {\n max = dists.get(p);\n currMax = p;\n }\n }\n }\n return currMax;\n }",
"short getCopies();",
"@Override\n public long estimateSize(){\n return ((long)upTo)-from+last;\n }",
"@Override\n\tpublic int getTopSpeed() {\n\t\treturn 100;\n\t}",
"public boolean applyFolding( int top ) throws VerificationException\n {\n if( length == 0 ){\n return false;\n }\n StepList steps = selectBestSteps( top );\n \n // For now, just pick the best move.\n Step mv = steps.getBestStep();\n if( mv != null && mv.getGain()>0 ){\n // It is worthwile to do this compression.\n if( traceCompressionCosts ){\n System.out.println( \"Best step: string [\" + buildString( mv.occurences[0], mv.len ) + \"]: \" + mv );\n }\n applyCompression( mv );\n if( doVerification ){\n test();\n }\n return true;\n }\n return false;\n }",
"@Override\r\n public double calculateBestQuality() {\r\n int numClasses = parentClassDist.size();\r\n \r\n //Sort the mean distance orderline\r\n Collections.sort(meanDistOrderLine);\r\n \r\n //Find approximate minimum orderline objects\r\n OrderLineObj min = new OrderLineObj(-1.0, 0.0);\r\n for(Double d : parentClassDist.keySet()){\r\n int unassignedObjs = parentClassDist.get(d) - orderLineClassDist.get(d);\r\n double distMin = (sums[d.intValue()] + (unassignedObjs * minDistance)) / parentClassDist.get(d);\r\n if(min.getDistance() == -1.0 || distMin < min.getDistance()){\r\n min.setDistance(distMin);\r\n min.setClassVal(d);\r\n }\r\n }\r\n \r\n //Find approximate maximum orderline objects\r\n OrderLineObj max = new OrderLineObj(-1.0, 0.0);\r\n for(Double d : parentClassDist.keySet()){\r\n int unassignedObjs = parentClassDist.get(d) - orderLineClassDist.get(d);\r\n double distMax = (sums[d.intValue()] + (unassignedObjs * maxDistance)) / parentClassDist.get(d); \r\n if(d != min.getClassVal() && (max.getDistance() == -1.0 || distMax > max.getDistance())){\r\n max.setDistance(distMax);\r\n max.setClassVal(d);\r\n }\r\n }\r\n \r\n //Adjust running sums\r\n double increment = (max.getDistance() - min.getDistance()) / (numClasses-1);\r\n int multiplyer = 1;\r\n for (OrderLineObj currentObj : meanDistOrderLine) {\r\n double thisDist;\r\n int unassignedObjs = parentClassDist.get(currentObj.getClassVal()) - orderLineClassDist.get(currentObj.getClassVal());\r\n \r\n if(currentObj.getClassVal() == min.getClassVal()){\r\n thisDist = minDistance;\r\n }else if(currentObj.getClassVal() == max.getClassVal()){\r\n thisDist = maxDistance;\r\n }else{\r\n thisDist = minDistance + (increment * multiplyer);\r\n multiplyer++; \r\n }\r\n sums[(int)currentObj.getClassVal()] += thisDist * unassignedObjs;\r\n sumOfSquares[(int)currentObj.getClassVal()] += thisDist * thisDist * unassignedObjs;\r\n sumsSquared[(int)currentObj.getClassVal()] = sums[(int)currentObj.getClassVal()] * sums[(int)currentObj.getClassVal()];\r\n }\r\n \r\n double ssTotal;\r\n double part1 = 0;\r\n double part2 = 0;\r\n\r\n for (int i = 0; i < numClasses; i++) {\r\n part1 += sumOfSquares[i];\r\n part2 += sums[i];\r\n }\r\n\r\n part2 *= part2;\r\n part2 /= numInstances;\r\n ssTotal = part1 - part2;\r\n\r\n double ssAmoung;\r\n part1 = 0;\r\n part2 = 0;\r\n for (int i = 0; i < numClasses; i++) {\r\n part1 += (double) sumsSquared[i] / parentClassDist.get((double) i);//.data[i].size();\r\n part2 += sums[i];\r\n }\r\n ssAmoung = part1 - (part2 * part2) / numInstances;\r\n double ssWithin = ssTotal - ssAmoung;\r\n\r\n int dfAmoung = numClasses - 1;\r\n int dfWithin = numInstances - numClasses;\r\n\r\n double msAmoung = ssAmoung / dfAmoung;\r\n double msWithin = ssWithin / dfWithin;\r\n\r\n double f = msAmoung / msWithin;\r\n \r\n //Reset running sums\r\n multiplyer = 1;\r\n for (OrderLineObj currentObj : meanDistOrderLine) {\r\n double thisDist;\r\n int unassignedObjs = parentClassDist.get(currentObj.getClassVal()) - orderLineClassDist.get(currentObj.getClassVal());\r\n \r\n if(currentObj.getClassVal() == min.getClassVal()){\r\n thisDist = minDistance;\r\n }else if(currentObj.getClassVal() == max.getClassVal()){\r\n thisDist = maxDistance;\r\n }else{\r\n thisDist = minDistance + (increment * multiplyer);\r\n multiplyer++; \r\n }\r\n sums[(int)currentObj.getClassVal()] -= thisDist * unassignedObjs;\r\n sumOfSquares[(int)currentObj.getClassVal()] -= thisDist * thisDist * unassignedObjs;\r\n sumsSquared[(int)currentObj.getClassVal()] = sums[(int)currentObj.getClassVal()] * sums[(int)currentObj.getClassVal()];\r\n }\r\n \r\n return Double.isNaN(f) ? 0.0 : f;\r\n }",
"private Outfit getBestWithJacket(double desired_clo) {\n Cursor jacketCursor = mOuterLoaderListener.getCursor();\n Outfit best_outfit = new Outfit();\n Outfit temp_top_bottom;\n Outfit temp_dress;\n double diff = Double.MAX_VALUE;\n double jacket_clo = 0;\n int result_jacket_position = 0;\n if (jacketCursor.moveToFirst()) {\n while (!jacketCursor.isAfterLast()) {\n jacket_clo = jacketCursor.getDouble(jacketCursor.getColumnIndex(ClothesEntry.COLUMN_ARTICLE_CLO_VALUE));\n temp_top_bottom = getBestTopBottom(desired_clo - jacket_clo);\n temp_dress = getBestDress(desired_clo - jacket_clo);\n\n if (Math.abs(temp_top_bottom.getCloValue() + jacket_clo - desired_clo) < diff) {\n diff = Math.abs(temp_top_bottom.getCloValue() + jacket_clo - desired_clo);\n result_jacket_position = jacketCursor.getPosition();\n best_outfit = temp_top_bottom;\n }\n if (Math.abs(temp_dress.getCloValue() + jacket_clo - desired_clo) < diff) {\n diff = Math.abs(temp_dress.getCloValue() + jacket_clo - desired_clo);\n result_jacket_position = jacketCursor.getPosition();\n best_outfit = temp_dress;\n }\n\n jacketCursor.moveToNext();\n }\n\n if (!best_outfit.isEmpty() && jacketCursor.moveToPosition(result_jacket_position)) {\n byte[] imageByteArray = jacketCursor.getBlob(jacketCursor.getColumnIndex(ClothesEntry.COLUMN_ARTICLE_IMAGE));\n double clo = jacketCursor.getDouble(jacketCursor.getColumnIndex(ClothesEntry.COLUMN_ARTICLE_CLO_VALUE));\n\n if (imageByteArray != null && imageByteArray.length > 0)\n {\n ByteArrayInputStream imageStream = new ByteArrayInputStream(imageByteArray);\n best_outfit.addItem(new ClothingItem(Outfit.OUTER1, BitmapFactory.decodeStream(imageStream), clo));\n } else {\n best_outfit.addItem(new ClothingItem(Outfit.OUTER1, null, clo));\n }\n }\n }\n return best_outfit;\n }",
"private final int copyBufferedBytes(ByteBuffer dst) {\n final int bytesToCopy = dst.remaining();\n \n if (ungotc != -1 && dst.hasRemaining()) {\n dst.put((byte) ungotc);\n ungotc = -1;\n }\n \n if (buffer.hasRemaining() && dst.hasRemaining()) {\n \n if (dst.remaining() >= buffer.remaining()) {\n //\n // Copy out any buffered bytes\n //\n dst.put(buffer);\n \n } else {\n //\n // Need to clamp source (buffer) size to avoid overrun\n //\n ByteBuffer tmp = buffer.duplicate();\n tmp.limit(tmp.position() + dst.remaining());\n dst.put(tmp);\n buffer.position(tmp.position());\n }\n }\n \n return bytesToCopy - dst.remaining();\n }",
"public double getBestHeight(double aValue) { return Math.max(getMinHeight(aValue), getPrefHeight(aValue)); }",
"public void findHighestPowerUnitAnySize() {\r\n\t\ttimer.startAlgorithm(\"ChronalCharger.findHighestPowerUnitAnySize()\");\r\n\t\tfor (int i=1; i<=300; i++) {\r\n//\t\t\tcurrentGrid = new ShrinkingPowerGrid(i, 300);\r\n\t\t\tfindHighestPowerUnit(i);\r\n//\t\t\tpreviousGrids.add(currentGrid);\r\n\t\t}\r\n\t\ttimer.stopAlgorithm();\r\n\t}",
"private Groepen bepaalOptimaleGroep(ArrayList<Groepen> mogelijkegroepen) {\r\n\t\tGroepen beste = null;\r\n\t\tint beste_spreiding = Integer.MAX_VALUE;\r\n\t\tint beste_groepverschil = 0;\r\n\t\tdouble beste_stddev = Double.MAX_VALUE;\r\n\t\tfor (Groepen groepen : mogelijkegroepen) {\r\n\t\t\t//if (groepen.getKleinsteGroep() >= 4) {\r\n\t\t\t\tif (groepen.getSpreidingTotaal() < beste_spreiding) {\r\n\t\t\t\t\tbeste = groepen;\r\n\t\t\t\t\tbeste_spreiding = groepen.getSpreidingTotaal();\r\n\t\t\t\t\tbeste_groepverschil = groepen.getSomGroepVerschil();\r\n\t\t\t\t\tbeste_stddev = groepen.getSomStdDev();\r\n\t\t\t\t} else if (groepen.getSpreidingTotaal() == beste_spreiding) {\r\n\t\t\t\t\tif (groepen.getSomGroepVerschil() > beste_groepverschil) {\r\n\t\t\t\t\t\tbeste = groepen;\r\n\t\t\t\t\t\tbeste_spreiding = groepen.getSpreidingTotaal();\r\n\t\t\t\t\t\tbeste_groepverschil = groepen.getSomGroepVerschil();\r\n\t\t\t\t\t\tbeste_stddev = groepen.getSomStdDev();\r\n\t\t\t\t\t} else if (groepen.getSomStdDev() < beste_stddev) {\r\n\t\t\t\t\t\tbeste = groepen;\r\n\t\t\t\t\t\tbeste_spreiding = groepen.getSpreidingTotaal();\r\n\t\t\t\t\t\tbeste_groepverschil = groepen.getSomGroepVerschil();\r\n\t\t\t\t\t\tbeste_stddev = groepen.getSomStdDev();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t//}\r\n\t\t}\r\n\t\treturn beste;\r\n\t}",
"public int getbestline() {\n\t\tint i=0;\n\t\tint biggest=0;\n\t\tint keep_track=0;\n\t\twhile(i < amount.length) {\n\t\t\tif(Faucets.amount[i] > biggest) {\n\t\t\t\tbiggest = Faucets.amount[i];\n\t\t\t\tkeep_track = i;\n\t\t\t}\n\t\t\ti+=1;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"Keep_Track = \\\"\" + keep_track + \"\\\"\");\n\t\treturn keep_track;\n\t\t\n\t}",
"public void keepBestOne() {\n ArrayList<Score> scores = getScoreFromFile();\n scores.sort(Score::compareTo);\n\n // Rewrite only the first 10 lines to the file.\n try(BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(scoreFile))) {\n for(int i = 0; i < 10 && i < scores.size(); i++)\n bufferedWriter.write(scores.get(i).VALUE + \" \" + scores.get(i).TIME + \"\\n\");\n } catch (IOException e) {\n System.err.println(\"Cannot open the score file : \" + e.getMessage());\n }\n }",
"static int hireAssistant(int tab[]) {\n int best = 0;\n for(int i = 0; i<tab.length; i++) {\n if(tab[i] > best)\n best = tab[i];\n }\n return best;\n }",
"private Move produceHeuristicMove(Board board){\n\n\t\tint numRows = board.getNumberOfRows();\n\t\tint[][] bins = new int[numRows][BINARY_LENGTH];\n\t\tint[] binarySum = new int[BINARY_LENGTH];\n\t\tint bitIndex,higherThenOne=0,totalOnes=0,lastRow=0,lastLeft=0,lastSize=0,lastOneRow=0,lastOneLeft=0;\n\t\t\n\t\tfor(bitIndex = 0;bitIndex<BINARY_LENGTH;bitIndex++){\n\t\t\tbinarySum[bitIndex] = 0;\n\t\t}\n\t\t\n\t\tfor(int k=0;k<numRows;k++){\n\t\t\t\n\t\t\tint curRowLength = board.getRowLength(k+1);\n\t\t\tint i = 0;\n\t\t\tint numOnes = 0;\n\t\t\t\n\t\t\tfor(bitIndex = 0;bitIndex<BINARY_LENGTH;bitIndex++){\n\t\t\t\tbins[k][bitIndex] = 0;\n\t\t\t}\n\t\t\t\n\t\t\tdo {\n\t\t\t\tif(i<curRowLength && board.isStickUnmarked(k+1,i+1) ){\n\t\t\t\t\tnumOnes++;\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tif(numOnes>0){\n\t\t\t\t\t\t\n\t\t\t\t\t\tString curNum = Integer.toBinaryString(numOnes);\n\t\t\t\t\t\twhile(curNum.length()<BINARY_LENGTH){\n\t\t\t\t\t\t\tcurNum = \"0\" + curNum;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor(bitIndex = 0;bitIndex<BINARY_LENGTH;bitIndex++){\n\t\t\t\t\t\t\tbins[k][bitIndex] += curNum.charAt(bitIndex)-'0'; //Convert from char to int\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(numOnes>1){\n\t\t\t\t\t\t\thigherThenOne++;\n\t\t\t\t\t\t\tlastRow = k +1;\n\t\t\t\t\t\t\tlastLeft = i - numOnes + 1;\n\t\t\t\t\t\t\tlastSize = numOnes;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttotalOnes++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlastOneRow = k+1;\n\t\t\t\t\t\tlastOneLeft = i;\n\t\t\t\t\t\t\n\t\t\t\t\t\tnumOnes = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}while(i<=curRowLength);\n\t\t\t\n\t\t\tfor(bitIndex = 0;bitIndex<BINARY_LENGTH;bitIndex++){\n\t\t\t\tbinarySum[bitIndex] = (binarySum[bitIndex]+bins[k][bitIndex])%2;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t//We only have single sticks\n\t\tif(higherThenOne==0){\n\t\t\treturn new Move(lastOneRow,lastOneLeft,lastOneLeft);\n\t\t}\n\t\t\n\t\t//We are at a finishing state\t\t\t\t\n\t\tif(higherThenOne<=1){\n\t\t\t\n\t\t\tif(totalOnes == 0){\n\t\t\t\treturn new Move(lastRow,lastLeft,lastLeft+(lastSize-1) - 1);\n\t\t\t} else {\n\t\t\t\treturn new Move(lastRow,lastLeft,lastLeft+(lastSize-1)-(1-totalOnes%2));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(bitIndex = 0;bitIndex<BINARY_LENGTH-1;bitIndex++){\n\t\t\t\n\t\t\tif(binarySum[bitIndex]>0){\n\t\t\t\t\n\t\t\t\tint finalSum = 0,eraseRow = 0,eraseSize = 0,numRemove = 0;\n\t\t\t\tfor(int k=0;k<numRows;k++){\n\t\t\t\t\t\n\t\t\t\t\tif(bins[k][bitIndex]>0){\n\t\t\t\t\t\teraseRow = k+1;\n\t\t\t\t\t\teraseSize = (int)Math.pow(2,BINARY_LENGTH-bitIndex-1);\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor(int b2 = bitIndex+1;b2<BINARY_LENGTH;b2++){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(binarySum[b2]>0){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(bins[k][b2]==0){\n\t\t\t\t\t\t\t\t\tfinalSum = finalSum + (int)Math.pow(2,BINARY_LENGTH-b2-1);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfinalSum = finalSum - (int)Math.pow(2,BINARY_LENGTH-b2-1);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tnumRemove = eraseSize - finalSum;\n\t\t\t\t\n\t\t\t\t//Now we find that part and remove from it the required piece\n\t\t\t\tint numOnes=0,i=0;\n\t\t\t\twhile(numOnes<eraseSize){\n\n\t\t\t\t\tif(board.isStickUnmarked(eraseRow,i+1)){\n\t\t\t\t\t\tnumOnes++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnumOnes=0;\n\t\t\t\t\t}\n\t\t\t\t\ti++;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\treturn new Move(eraseRow,i-numOnes+1,i-numOnes+numRemove);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//If we reached here, and the board is not symmetric, then we only need to erase a single stick\n\t\tif(binarySum[BINARY_LENGTH-1]>0){\n\t\t\treturn new Move(lastOneRow,lastOneLeft,lastOneLeft);\n\t\t}\n\t\t\n\t\t//If we reached here, it means that the board is already symmetric, and then we simply mark one stick from the last sequence we saw:\n\t\treturn new Move(lastRow,lastLeft,lastLeft);\t\t\n\t}",
"private LineString pickBestGrowthPossibility2(List<LineString> lookAheads) {\t\t\n\t\tif (lookAheads == null || lookAheads.size() == 0) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t//sort by:\n\t\t//1. is moving away?\n\t\t//2. number of coordinates in line\n\t\t//3. slope\n\t\tComparator<LineString> lookAheadComparator = new Comparator<LineString>() {\n\t\t\tpublic int compare(LineString s1, LineString s2) {\n\t\t\t\t\n\t\t\t\tboolean m1 = LineGrowthHelpers.isMovingAway(s1, s1.getCoordinateN(s1.getNumPoints()-1));\n\t\t\t\tboolean m2 = LineGrowthHelpers.isMovingAway(s2, s2.getCoordinateN(s2.getNumPoints()-1));\n\t\t\t\tif (m1 != m2) {\n\t\t\t\t\treturn m1 ? -1 : 1;\n\t\t\t\t}\n\t\t\t\telse { //both moving away, or neither moving away. look to second criteria\n\t\t\t\t\t\n\t\t\t\t\tif (s1.getNumPoints() == s2.getNumPoints()) {\n\n\t\t\t\t\t\tdouble slope1 = SpatialUtils.getSlope(s1);\n\t\t\t\t\t\tdouble slope2 = SpatialUtils.getSlope(s2);\n\t\t\t\t\t\treturn slope1 > slope2 ? -1 \n\t\t\t\t\t\t\t\t : slope1 < slope2 ? 1 \n\t\t\t\t\t\t\t : 0; \n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\treturn s1.getNumPoints() > s2.getNumPoints() ? -1 \n\t\t\t\t\t\t\t\t : s1.getNumPoints() < s2.getNumPoints() ? 1 \n\t\t\t\t\t\t\t : 0; \n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tlookAheads.sort(lookAheadComparator);\n\t\treturn lookAheads.get(0);\n\t}",
"public static void main(String[] args) {\n long startTime = System.nanoTime();\n Board b = new Board();\n b.board = InitialPositions.kiwiPeteBoard; // perft test\n\n int p2 = 0;\n int p3 = 0;\n int p4 = 0;\n int p5 = 0;\n\n List<Move> p1Moves = b.validMoves();\n int p1 = p1Moves.size();\n for (Move m : p1Moves){\n b.makeMove(m);\n List<Move> p2Moves = b.validMoves();\n p2 += p2Moves.size();\n for (Move n : p2Moves){\n b.makeMove(n);\n List<Move> p3Moves = b.validMoves();\n for (Move m3 : p3Moves){\n b.makeMove(m3);\n List<Move> moves4 = b.validMoves();\n p4 += moves4.size();\n for (Move m4 : moves4){\n b.makeMove(m4);\n p5 += b.validMoves().size();\n b.undoMove(m4);\n }\n b.undoMove(m3);\n }\n p3 += p3Moves.size();\n b.undoMove(n);\n }\n b.undoMove(m);\n }\n System.out.println();\n System.out.println(p1);\n System.out.println(p2);\n System.out.println(p3);\n System.out.println(p4);\n System.out.println(p5); // 193690690\n System.out.println(\"Time taken: \"+(System.nanoTime()-startTime)); // with int castles : 35003485400\n }",
"private LineString pickBestGrowthPossibility3(final LineString stem, List<LineString> lookAheads) {\t\t\n\t\tif (lookAheads == null || lookAheads.size() == 0) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t//sort by:\n\t\t//1. is moving away?\n\t\t//2. number of coordinates in line\n\t\t//3. average elevation rise (above the lowest coord) divided by length of line\n\t\t// e..g if Z values of growth possibility are 618m, 625m, 634m, the average will be the average\n\t\t//Z above the lowest coord will be 7.6m. that value will be divided by the line length\n\t\tfinal AvgElevationSectionFitness avgElevationFitness = new AvgElevationSectionFitness(getTinEdges());\n\t\tComparator<LineString> lookAheadComparator = new Comparator<LineString>() {\n\t\t\tpublic int compare(LineString s1, LineString s2) {\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t//is end of extension moving away\n\t\t\t\tboolean m1 = LineGrowthHelpers.isMovingAway(stem, s1.getCoordinateN(s1.getNumPoints()-1));\n\t\t\t\tboolean m2 = LineGrowthHelpers.isMovingAway(stem, s2.getCoordinateN(s2.getNumPoints()-1));\n\t\t\t\tif (m1 != m2) {\n\t\t\t\t\treturn m1 ? -1 : 1;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//is start of extension moving away\n\t\t\t\t\tboolean a1 = LineGrowthHelpers.isMovingAway(stem, s1.getCoordinateN(1));\n\t\t\t\t\tboolean a2 = LineGrowthHelpers.isMovingAway(stem, s2.getCoordinateN(1));\n\t\t\t\t\tif (a1 != a2) {\n\t\t\t\t\t\treturn a1 ? -1 : 1;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\n\t\t\t\t\t\tif (s1.getNumPoints() == s2.getNumPoints()) {\n\t\t\t\t\t\t\ttry {\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tdouble fit1 = (avgElevationFitness.fitness(s1) - s1.getCoordinateN(0).getZ()) / s1.getLength();\n\t\t\t\t\t\t\t\tdouble fit2 = (avgElevationFitness.fitness(s2) - s2.getCoordinateN(0).getZ()) / s2.getLength();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif (fit1<0) {\n\t\t\t\t\t\t\t\t\tfit1 = 1/fit1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (fit2<0) {\n\t\t\t\t\t\t\t\t\tfit2 = 1/fit2;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\treturn fit1 > fit2 ? -1 \n\t\t\t\t\t\t\t\t\t\t : fit1 < fit2 ? 1 \n\t\t\t\t\t\t\t\t\t : 0;\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\tcatch(IOException e) {\n\t\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\treturn s1.getNumPoints() > s2.getNumPoints() ? -1 \n\t\t\t\t\t\t\t\t\t : s1.getNumPoints() < s2.getNumPoints() ? 1 \n\t\t\t\t\t\t\t\t : 0; \n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tlookAheads.sort(lookAheadComparator);\n\t\t\n\t\treturn lookAheads.get(0);\n\t}",
"public static PentagoMove excecuteMiniMax(PentagoBoardState bs, int depth) {\n\t\tlong timerStart = System.currentTimeMillis();\n\t\tPentagoMove bestMove = null;\n\t\tint highestVal = Integer.MIN_VALUE;\n\t\tint lowestVal = Integer.MAX_VALUE;\n\t\tint currentVal = 0;\n\t\tint possibleMoves = bs.getAllLegalMoves().size();\n\t\tfor (PentagoMove move : bs.getAllLegalMoves()) {\n\t\t\tPentagoBoardState stateClone = (PentagoBoardState) bs.clone();\n\t\t\tstateClone.processMove(move);\n\t\t\tif(bs.getTurnPlayer() == 0) {\n\t\t\t\tMax(stateClone, depth-1);\n\t\t\t}\n\t\t\telse if(bs.getTurnPlayer() == 1) {\n\t\t\t\tMin(stateClone, depth-1);\n\t\t\t}\n\t\t\tif (bs.getTurnPlayer() == 0 && currentVal >= highestVal) {\n\t\t\t\thighestVal = currentVal;\n\t\t\t\tbestMove = move;\n\t\t\t}\n\t\t\telse if (bs.getTurnPlayer() == 1 && currentVal <= lowestVal) {\n\t\t\t\tlowestVal = currentVal;\n\t\t\t\tbestMove = move;\n\t\t\t}\n\t\t\tif (System.currentTimeMillis() - timerStart >= 1900) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tlong totalTime = System.currentTimeMillis() - timerStart;\n\t\tSystem.out.println(totalTime);\n\t\treturn bestMove;\n\t}",
"private static int getHeuristic(MazeState current, HashSet<MazeState> goals) {\n\t\tint lowestCost = Integer.MAX_VALUE;\n\t\tint currentCost = 0;\n\t\tfor (MazeState goal : goals) {\n\t\t\tcurrentCost = Math.abs(current.col - goal.col) + Math.abs(current.row - goal.row);\n\t\t\tif (currentCost <= lowestCost) {\n\t\t\t\tlowestCost = currentCost;\n\t\t\t}\n\t\t}\n\t\treturn currentCost;\n\t}",
"@Nonnull\n S maximize();",
"private int optimize() {\n\t\t// items: Items sorted by value-to-weight ratio for linear relaxation\n\t\t// t: the decision vector being tested at each node\n\t\t// ws, vs, is, bs: stacks of weight, value, item id, whether bring item\n\t\t// p: stack pointer; i, b, weight, value: loop caches; best: max search\n\t\t// ss: stack size: Always <=2 children on stack for <=n-1 parents\n\t\tItem[] items = new Item[n];\n\t\tint ss = 2 * n;\n\t\tint[] itemsSorted = new int[n], t = new int[n], ws = new int[ss],\n\t\t\tvs = new int[ss], is = new int[ss], bs = new int[ss];\n\t\tint i, b, weight, value, best = 0, p = 0;\n\n\t\tfor (int j = 0; j < n; j++)\n\t\t\titems[j] = new Item(j);\n\t\tArrays.sort(items);\n\t\tfor (int j = 0; j < n; j++)\n\t\t\titemsSorted[j] = items[j].i();\n\t\titems = null; // For garbage collection.\n\n\t\t// Push item 0 onto the stack with and without bringing it.\n\t\tws[p] = 0; vs[p] = 0; is[p] = 0; bs[p] = 1; p++;\n\t\tws[p] = 0; vs[p] = 0; is[p] = 0; bs[p] = 0; p++;\n\n\t\twhile (p > 0) {\n\t\t\tp--; // Pop the latest item off the stack\n\t\t\ti = is[p]; b = bs[p];\n\t\t\tweight = ws[p] + w[i] * b;\n\t\t\tif (weight > k)\n\t\t\t\tcontinue;\n\t\t\tvalue = vs[p] + v[i] * b;\n\t\t\tif (bound(i, weight, value, itemsSorted) < best)\n\t\t\t\tcontinue;\n\t\t\tbest = Math.max(value, best);\n\t\t\tt[i] = b;\n\t\t\tif (i < n - 1) { // Push children onto stack w/ & w/o bringing item\n\t\t\t\tws[p] = weight; vs[p] = value; is[p] = i + 1; bs[p] = 1; p++;\n\t\t\t\tws[p] = weight; vs[p] = value; is[p] = i + 1; bs[p] = 0; p++;\n\t\t\t}\n\t\t\telse if (value >= best)\n\t\t\t\tSystem.arraycopy(t, 0, x, 0, n);\n\t\t}\n\t\treturn best;\n\t}",
"public Hotel bestHotel() {\r\n \tArrayList<Hotel> hotels = hotelDAO.getHotelList();\r\n \tHotel bestHotel=hotels.get(0);\r\n \tfor (int i=0; i<hotels.size();i++) {\r\n \t\tif(averageBewertungHotel(bestHotel)<averageBewertungHotel(hotels.get(i))) {\r\n \t\t\tbestHotel=hotels.get(i);\r\n \t\t}\r\n \t}\r\n \treturn bestHotel;\r\n }",
"private Size getBestSupportedSize(List<Size> sizes, int width, int height) {\n\t\tSize bestSize = sizes.get(0);\n\t\tint largestArea = bestSize.width * bestSize.height;\n\t\tfor (Size size : sizes) {\n\t\t\tint area = size.height * size.width;\n\t\t\tif (area > largestArea) {\n\t\t\t\tbestSize = size;\n\t\t\t\tlargestArea = area;\n\t\t\t}\n\t\t}\n\t\treturn bestSize;\n\t}",
"public Move pickBestMove(Board board) {\n\t\treturn null;\n\t}",
"public T removeBest();",
"private Stack<String> pickLongerStack(Stack<String> first, Stack<String> second)\n {\n\treturn first.size() > second.size() ? first : second;\n }",
"private double findMin(){\r\n Set<Map.Entry<Double, Double>> list = heap.entrySet();\r\n double minKey = heap.firstKey();\r\n double minVal = MAX_WEIGHT;\r\n if (list != null){\r\n for (Map.Entry<Double, Double> entry: list){\r\n if (minVal > entry.getValue()){\r\n minVal = entry.getValue();\r\n minKey = entry.getKey();\r\n }\r\n }\r\n }\r\n return minKey;\r\n }",
"public static void balanceHeaps()\n {\n // add your code here\n if(Math.abs(s.size()-g.size()) > 1){\n if(s.size() > g.size()){\n g.add(s.poll());\n }\n else {\n s.add(g.poll());\n }\n }\n }",
"private void swapWorst(Habitat habitat)\r\n\t{\r\n\t\t//Use Swap3\r\n\t\tCollections.sort(habitat.getSivs(), Pool.ComparatorCost);\r\n\t\t//Collections.reverseOrder();\r\n\t\t\r\n\t\tfor(int i=0;i<1;i++)\r\n\t\t{\r\n\t\t\tswap3(habitat, habitat.getSivs().get(i));\r\n\t\t}\r\n\t}",
"public void takeOneFromLargest() {\n if (stackA.getNumChips()>stackB.getNumChips()){\n if (stackA.getNumChips() == stackC.getNumChips()){\n stackA.removeChips(1);\n }else if(stackA.getNumChips() > stackC.getNumChips()){\n stackA.removeChips(1);\n }else{\n stackC.removeChips(1);\n } \n } else if (stackB.getNumChips() > stackC.getNumChips()){\n if (stackB.getNumChips() == stackA.getNumChips()){\n stackB.removeChips(1);\n } else {\n stackB.removeChips(1);\n }\n }else if (stackC.getNumChips() > stackB.getNumChips()){\n stackC.removeChips(1);\n }else{\n stackC.removeChips(1);\n }\n }",
"public CodeBook getOptimalCodificacion(){\n ArrayList<ArbolCod> listaA=new ArrayList<ArbolCod>();\n \n // Se inicializan los árboles con las probabilidades.\n for (int i=0;i<probabilidades.size();i++)\n listaA.add(new ArbolCod(alfabeto.getI(i),probabilidades.get(i)));\n \n return codHuffman(listaA);\n }",
"private final int copyBufferedBytes(byte[] dst, int off, int len) {\n int bytesCopied = 0;\n \n if (ungotc != -1 && len > 0) {\n dst[off++] = (byte) ungotc;\n ungotc = -1;\n ++bytesCopied;\n }\n \n final int n = Math.min(len - bytesCopied, buffer.remaining());\n buffer.get(dst, off, n);\n bytesCopied += n;\n \n return bytesCopied;\n }",
"@Override\n\tpublic int topSpeed() {\n\t\treturn 0;\n\t}",
"private int hopsToTop(Block nextBlock, State goal, int blkLoc) {\n\t\tint idx = 0;\n\t\tfor(int i=0; i<stacksNum; i++){\n\t\t\tidx =1;\t//reset for every stack\n\t\t\tStack<Block> s =this.getStack(i);\n\t\t\tIterator<Block> iter = s.iterator();\n\t\t\twhile (iter.hasNext()) {\n\t\t\t\tif(iter.next().getCh() != nextBlock.getCh()){\n\t\t\t\t\tidx++;\n\t\t\t\t}else{\n\t\t\t\t\treturn s.size()-idx+1;\t\t//as counted from bottom to top, hops will be subtracted\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} \n\t\treturn idx;\n\t}",
"Bid getNewBidWithUtil(double ourUtility, BidSpace bs) {\n\t\tBidPoint bestbid = null;\n\t\tdouble bestbidutil = 0;\n\t\tfor (BidPoint p : bs.bidPoints) {\n\t\t\tif (Math.abs(\n\t\t\t\t\tourUtility - p.getUtilityA()) < ALLOWED_UTILITY_DEVIATION\n\t\t\t\t\t&& p.getUtilityB() > bestbidutil\n\t\t\t\t\t&& !myPreviousBids.contains(p.getBid())) {\n\t\t\t\tbestbid = p;\n\t\t\t\tbestbidutil = p.getUtilityB();\n\t\t\t}\n\t\t}\n\t\tif (bestbid == null)\n\t\t\treturn null;\n\t\treturn bestbid.getBid();\n\t}",
"protected Projector getBestHorizontalProjector() {\n return _bhp;\n }",
"public static GameState getBestMove(Vector<GameState> states){\n int index = 0;\n double max = 0;\n double v = 0;\n\n // find state with max value and save its index\n for(int i = 0; i < states.size(); i++){\n v = minMaxPruning(states.get(i), depth, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY);\n if(max < v){\n max = v;\n index = i;\n }\n }\n return states.get(index);\n }",
"private int getBestMove(int[] board, int depth, boolean turn) {\n int boardCopy[];\n if (depth <= 0) {\n return 0;\n }\n if (depth > STEP_BACK_DEPTH) {\n try {\n Thread.sleep(3);\n } catch (InterruptedException e) {\n e.printStackTrace();\n if (shouldStop()) {\n Log.d(Constants.MY_TAG,\"out CalculatingBot\");\n unlock();\n return 0;\n }\n }\n }\n if (turn) {\n int minimum = MAXIMUM_POSSIPLE_SCORE_DIFFERENCE;\n for (int i = 0; i < 5; i++) {\n if (board[i] < 2) {\n continue;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer2Move(boardCopy)) {\n if (hasPlayer1Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, ! turn);\n }\n int z = y - x;\n if (z < minimum) {\n minimum = z;\n }\n }\n int i = 10;\n if (board[2] < 2) {\n return minimum;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer2Move(boardCopy)) {\n if (hasPlayer1Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y - x;\n if (z < minimum) {\n minimum = z;\n }\n return minimum;\n } else {\n int maximum = MINIMUM_POSSIPLE_SCORE_DIFFERENCE;\n for (int i = 5; i < 10; i++) {\n if (board[i] < 2) {\n continue;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer1Move(boardCopy)) {\n if (hasPlayer2Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y + x;\n if (z > maximum) {\n maximum = z;\n }\n }\n int i = 11;\n if (board[7] < 2) {\n return maximum;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer1Move(boardCopy)) {\n if (hasPlayer2Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y + x;\n if (z > maximum) {\n maximum = z;\n }\n return maximum;\n }\n }",
"private Integer findSize(Integer findThis){\n return java.lang.Math.abs(board[find(findThis)]);\n }",
"private static Population getBestPossibleParettoOfAGS(){\n int numberOfRounds = 10;\n Population allFrontsMembers = new Population();\n\n NSGAII nsgaii = new NSGAII();\n SPEA2 spea2 = new SPEA2();\n AEMMT aemmt = new AEMMT();\n AEMMD aemmd = new AEMMD();\n MOEAD moead = new MOEAD();\n\n ProblemKnapsackFromFile problem = new ProblemKnapsackFromFile(macPathGetProblemFrom);\n progressBar = new ProgressBar((double) numberOfRounds);\n\n for (int i = 0; i < numberOfRounds; i++) {\n\n Parameters.NUMBER_OF_GENERATIONS = problem.items.size() < 100? 100 : 200;\n\n System.out.println(\"NSGAII\");\n nsgaii.runAlgorithm(problem);\n allFrontsMembers.population.addAll(nsgaii.paretto.membersAtThisFront);\n\n System.out.println(\"SPEA2\");\n spea2.runAlgorithm(problem);\n allFrontsMembers.population.addAll(spea2.paretto.membersAtThisFront);\n\n //moead.runAlgorithm(problem);\n //allFrontsMembers.population.addAll( moead.pareto.membersAtThisFront);\n\n Parameters.NUMBER_OF_GENERATIONS = 15000;\n System.out.println(\"AEMMT\");\n aemmt.runAlgorithm(problem);\n allFrontsMembers.population.addAll(aemmt.paretto.membersAtThisFront);\n\n System.out.println(\"AEMMD\");\n aemmd.runAlgorithm(problem);\n allFrontsMembers.population.addAll(aemmd.paretto.membersAtThisFront);\n\n progressBar.addJobDone();\n\n allFrontsMembers.fastNonDominatedSort();\n Problem.removeSimilar(allFrontsMembers.fronts.allFronts.get(0),problem);\n allFrontsMembers.population = allFrontsMembers.fronts.allFronts.get(0).membersAtThisFront;\n }\n\n problem.printResolutionMessage();\n //Printer.printBinaryMembers(allFrontsMembers);\n System.out.println(\"ALL FRONTS SIZE: \"+allFrontsMembers.population.size());\n\n return allFrontsMembers;\n }",
"public static void compareCombos() {\n\t\tint currentTotal = 0;\n\t\tint pastTotal = 0;\n\n\t\tcost++;\n\t\tfor (int i = 0; i < numPeople; i++) {\n\t\t\tcurrentTotal += board[i][currentCombo[i]];\n\t\t\tpastTotal += board[i][bestCombo[i]];\n\t\t}\n\t\t\n\t\tif (currentTotal >= pastTotal) {\n\t\t\tbestTotal = 0;\n\t\t\tfor (int i = 0; i < numPeople; i++) {\n\t\t\t\tbestCombo[i] = currentCombo[i];\n\t\t\t\tbestTotal += board[i][currentCombo[i]];\n\t\t\t}\n\t\t}\n\n\t}",
"public Chromosome bestChromosome()\r\n {\r\n\treturn bestChromo.clone();\r\n }",
"protected void optimize() {\n int[][] cutMemo = new int[dimX + 1][dimY + 1];\n Tuple[][] tupleMemo = new Tuple[dimX + 1][dimY + 1];\n Memo memo = new Memo(cutMemo,tupleMemo);\n\n //array is filled with -1 because -1 is used as a flag in the memo\n fillMemo(0, dimX, 0, dimY, cutMemo);\n\n //Calculates optimal value of cloth\n ArrayList<FittedPattern> answer = computeOptimal(dimX, dimY, pattern, memo, new ArrayList<>(), 0);\n coordinates = answer;\n finalValue = memo.getFittedPatternMemo()[dimX][dimY].getOptimalValue();\n\n }",
"private void findBestPath(){\n\t\t// The method will try to find the best path for every starting point and will use the minimum\n\t\tfor(int start = 0; start < this.getDimension(); start++){\n\t\t\tfindBestPath(start);\t\n\t\t}\t\n\t}",
"public Position findWeed() {\n int xVec =0;\n int yVec=0;\n int sum = 0;\n Position move = new Position(0, 0);\n for (int i = 0; i < this.WORLD.getMapSize().getX(); i++) {\n for (int j = 0; j < this.WORLD.getMapSize().getY(); j++) {\n\n //hogweed\n Organism organism = this.WORLD.getOrganism(i, j);\n if(organism!=null){\n Class c = organism.getClass();\n if (c.getSimpleName().equals(\"Parnsip\")) {\n int tmpX = Math.abs(this.position.getX() - i);\n int tmpY = Math.abs(this.position.getY() - j);\n if (!(xVec == 0 && yVec == 0)) {\n int tmpSum = tmpX + tmpY;\n if (sum > tmpSum) {\n xVec=tmpX;\n yVec=tmpY;\n sum = tmpSum;\n this.setMove(move, j, i);\n }\n }\n else {\n xVec=tmpX;\n yVec=tmpY;\n sum = tmpX + tmpY;\n this.setMove(move, j, i);\n }\n }\n }\n\n }\n }\n return move;\n }",
"private void getBest()\n\t{\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\tSystem.out.println(bestTour + \" \" + bestScore);\n\t}",
"private synchronized Object[] getBestMove()\n/* */ {\n/* 580 */ while (this.workToDo)\n/* 581 */ synchronized (this) {\n/* 582 */ try { wait();\n/* */ } catch (InterruptedException e) {\n/* 584 */ e.printStackTrace(SingleThreadedTabuSearch.err); } } return this.bestMove;\n/* */ }",
"public void setBestHeight() { setHeight(getBestHeight()); }",
"public int top() { return 0; }",
"@Test\n\tpublic void HeapExtractMaximumtestSamePriorities() {\n\t\t Job jarray[]=new Job[5];\n\t\t jarray[0]=new Job(\"job1\",20,1);\n\t\t jarray[1]=new Job(\"job2\",20,2);\n\t\t jarray[2]=new Job(\"job3\",20,3);\n\t\t jarray[3]=new Job(\"job4\",20,4);\n\t\t jarray[4]=new Job(\"job5\",20,5);\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}",
"private LineString pickBestGrowthPossibility1(List<LineString> lookAheads) {\n\t\tif (lookAheads == null || lookAheads.size() == 0) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t//sort by:\n\t\t//1. is moving away?\n\t\t//2. number of coordinates in line\n\t\t//3. average elevation of line\n\t\tfinal AvgElevationSectionFitness sectionFitness = new AvgElevationSectionFitness(getTinEdges());\n\t\tComparator<LineString> lookAheadComparator = new Comparator<LineString>() {\n\t\t\tpublic int compare(LineString s1, LineString s2) {\n\t\t\t\t\n\t\t\t\tboolean m1 = LineGrowthHelpers.isMovingAway(s1, s1.getCoordinateN(s1.getNumPoints()-1));\n\t\t\t\tboolean m2 = LineGrowthHelpers.isMovingAway(s2, s2.getCoordinateN(s2.getNumPoints()-1));\n\t\t\t\tif (m1 != m2) {\n\t\t\t\t\treturn m1 ? -1 : 1;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (s1.getNumPoints() == s2.getNumPoints()) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tdouble fit1 = sectionFitness.fitness(s1);\n\t\t\t\t\t\t\tdouble fit2 = sectionFitness.fitness(s2);\n\t\t\t\t\t\t\treturn fit1 > fit2 ? -1 \n\t\t\t\t\t\t\t\t\t : fit1 < fit2 ? 1 \n\t\t\t\t\t\t\t\t : 0;\n\t\t\t\t\t\t} \n\t\t\t\t\t\tcatch(IOException e) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\treturn s1.getNumPoints() > s2.getNumPoints() ? -1 \n\t\t\t\t\t\t\t\t : s1.getNumPoints() < s2.getNumPoints() ? 1 \n\t\t\t\t\t\t\t : 0; \n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tlookAheads.sort(lookAheadComparator);\n\t\treturn lookAheads.get(0);\n\t}",
"public Moment getOverallHappiestMoment(){\n\t\tMoment happiestMoment = null;\n\t\tfloat happiest = 0;\n\t\tfor(Moment moment: moments){\n\t\t\tfloat totalHappiness = 0;\n\t\t\tfor(float smileValue: moment.getSmileValues()){\n\t\t\t\ttotalHappiness += smileValue;\n\t\t\t}\n\t\t\tfinal float averageHappiness = totalHappiness/moment.getSmileValues().size();\n\t\t\tif(averageHappiness > happiest){\n\t\t\t\thappiest = averageHappiness;\n\t\t\t\thappiestMoment = moment;\n\t\t\t}\n\t\t}\n\t\treturn happiestMoment;\n\t}",
"@Test\n\tpublic void HeapExtractMaximumtestDifferentPriorities() {\n\t\t Job jarray[]=new Job[5];\n\t\t jarray[0]=new Job(\"job1\",50,1);\n\t\t jarray[1]=new Job(\"job2\",20,2);\n\t\t jarray[2]=new Job(\"job3\",80,3);\n\t\t jarray[3]=new Job(\"job4\",20,4);\n\t\t jarray[4]=new Job(\"job5\",1,5);\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}",
"public int selectBitrateNearestThroughput(double throughput) {\n int pre = selectFloorBitrate(throughput);\n int next = nextBitrate(pre);\n //works in the case of throughput < all bitrates\n if (next - throughput < throughput - pre)\n return next;\n else\n return pre;\n }",
"@SuppressWarnings(\"static-method\")\n\tprivate int getYmin(BufferedImage img) {\n\t\tint width = img.getWidth();\n\t\tint height = img.getHeight();\n\t\tint trimmedHeight = height;\n\t\tfor (int i = 0; i < width; i++) {\n\t\t\tfor (int j = 0; j < height; j++) {\n\t\t\t\tif (img.getRGB(i, j) != Color.WHITE.getRGB() && j < trimmedHeight) {\n\t\t\t\t\ttrimmedHeight = j;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn trimmedHeight;\n\t}",
"private void CreatingBeautyContentTopK() {\n\t\t\tConstraintsPlacement objConstraints= new ConstraintsPlacement(this);\r\n\t\t\t//Creating array with states\r\n\t\t\tArrayList<BlockNode> states = new ArrayList<BlockNode>();\r\n\t\t\t//Building the graph in a deph way\r\n\t \tGraphBuilder objGrapB= new GraphBuilder(1);\r\n\t \tint numElements=objElem.getNumberObjects();\r\n\t \tint numEnemies=objElem.getNumberObjectsEnemies();\r\n\t \tint globalControlSearch=0;\r\n\t \t//Beststates=objGrapB.basicDepthSearch(mediumStraight,height,numElements,numElements,states,objConstraints, objElem.getFinalList(),objElem);\r\n\t \tbestBranches=objGrapB.relativePositionDepthSearchTopK(mediumStraight,height,numElements-numEnemies,numElements-numEnemies,states,objConstraints, objElem.getFinalList(),objElem,-mediumStraight+1,mediumStraight-1,floorTileHeight,0,0,maxScreens,numEnemies,random,globalControlSearch);\r\n\t \t//Beststates=objGrapB.relativeTransPositionDepthSearch(mediumStraight,height,numElements,numElements,states,objConstraints, objElem.getFinalList(),objElem,-mediumStraight+1,mediumStraight-1,floorTileHeight,0,0,currentState,hTable);\r\n\t \r\n\t \tBranch objBranch=new Branch();\r\n\t \t//bestBranches=objBranch.sortBranches(bestBranches);\r\n\t \t\r\n\t \t//System.out.print( \"CounterStates\"+objGrapB.getCounterIDs() );\r\n\t \r\n\t //imprimiendo los estados visitados\r\n\t /*\r\n\t Iterator<BlockNode> nombreIterator = states.iterator();\r\n\t while(nombreIterator.hasNext()){\r\n\t \tBlockNode elemento = nombreIterator.next();\r\n\t \tSystem.out.print(elemento.getID()+\" / \");\r\n\t }*/\r\n\t \r\n\t //here we are painting as the best branches foundeded\r\n\t \r\n\t Iterator<Branch> nombreIterator = bestBranches.iterator();\r\n\t while(nombreIterator.hasNext()){\r\n\t \tBranch elemento = nombreIterator.next();\r\n\t \t//System.out.print(elemento.getHeuristicValue()+ \" / \");\r\n\t }\r\n\t \r\n\t \r\n\t //Here we will put the elements on the tile\r\n\t \t//Just here to implement the n screens!\r\n\t for(int i=0;i<maxScreens;i++)\r\n\t {//block from Lelis and Reis (>class GeradorDeFasses)\r\n/*\t \ttry {\r\n\t \t\tLevel levelScreen=PaintElements(((Branch)bestBranches.get(i)).getStates(),this.clone());\t\t\t\t\t\r\n\t\t\t\t\tScreen objScreen=new Screen();\r\n\t\t\t\t\tobjScreen.SaveScreen(levelScreen,odds,objElem);\r\n\t \t\tInformacoesTelas info = new InformacoesTelas();\r\n\t\t\t CopiaArquivos copiador = new CopiaArquivos();\r\n\t\t\t \r\n\t\t\t info = info.carregaInfoTela(\"infoTela\");\r\n\t\t\t\t\tinfo.setOutrasVariaveis(0, 0); // Salva outras informacoes da Tela\r\n\t\t\t\t\tinfo.salvaInfoTela(\"infoTela\", info);\t\t\t\t\t\r\n\t\t\t\t\tcopiador.copy(\"\" + i, \"Screens/\");\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (CloneNotSupportedException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}*/\r\n\t }\r\n\t \r\n\t\t\t\r\n\t\t}",
"public Result fun() {\n\t\tComparator<Van> c=new Comparator<Van>(){\n\t\t\tpublic int compare(Van r,Van s)\n\t\t\t{\n\t\t\t\tint l1=r.getL();\n\t\t\t\tint b1=r.getB();\n\t\t\t\tint h1=r.getH();\n\t\t\t\tint l2=s.getL();\n\t\t\t\tint b2=s.getB();\n\t\t\t\tint h2=s.getH();\n\t\t\t\tif(l1!=l2)\n\t\t\t\t\treturn (l1>l2)?-1:1;\n\t\t\t\telse if(b1!=b2)\n\t\t\t\t\treturn (b1>b2)?-1:1;\n\t\t\t\telse return (h1>h2)?-1:1;\n\t\t\t}\n\t\t};\n\t\tPriorityQueue<Van> cubes=new PriorityQueue<Van>(20,c);\n\t\tVan v1=new Van(1,1,1,30,15,15);\n\t\tVan v2=new Van(1,1,1,15,9,6);\n\t\tVan v3=new Van(1,1,1,21,15,12);\n\t\tVan v10=new Van(1,1,1,30,15,15);\n\t\tVan v5=new Van(1,1,1,15,9,6);\n\t\tVan v6=new Van(1,1,1,20,15,2);\n\t\tVan v7=new Van(1,1,1,30,15,5);\n\t\tVan v8=new Van(1,1,1,15,9,6);\n\t\tVan v9=new Van(1,1,1,21,15,12);\n\t\tVan vft;\n\t\tvft=v5;\n\t\t//System.out.println(vft.getL()+\"/\"+vft.getB()+\"/\"+vft.getH());\n\t\tcubes.offer(v1);\n\t\tcubes.offer(v2);\n\t\tcubes.offer(v3);\n\t\tcubes.offer(v10);\n\t\tcubes.offer(v5);\n\t\tcubes.offer(v6);\n\t\tcubes.offer(v7);\n\t\tcubes.offer(v8);\n\t\tcubes.offer(v9);\n\t\twhile (cubes.size()>0)\n\t\t{\n\t\t\tvft=cubes.poll();\n\t\t\tSystem.out.println(vft.getL()+\"/\"+vft.getB()+\"/\"+vft.getH());\n\t\t\t\n\t\t}\n\t\t\n\t\treturn ok();\n\t}",
"public static List<EntrySwap> getWasteMetric (String filename) \r\n\t{\n\t\twasteMetric = 0;\r\n\t\tint rankValue1 = 0;\r\n\t\tint rankValue2 = 0;\r\n\t\tint rankDifference = 0;\r\n\t\tint maxDifference = 0;\r\n\t\tEntrySwap entrySwap1 = null;\r\n\t\tList<EntrySwap> swapEntries = new ArrayList<EntrySwap>();\t\t\r\n\t\tList<Entry>\tbatchEntries = Main.createEntries(filename);\r\n\r\n\t\t// list of entries will be null or empty if not valid\r\n\t\tif (batchEntries != null && batchEntries.size() > 0)\r\n\t\t{\t\t\t\r\n\t\t\tfor (int i = 0; i < batchEntries.size() - 1; i++)\r\n\t\t\t{\r\n\t\t\t\tif (batchEntries.get(i).getSuit().equals(batchEntries.get(i + 1).getSuit()))\r\n\t\t\t\t{\r\n\t\t\t\t\t// same suit, add difference of the ranks to wasteMetric\r\n\t\t\t\t\trankValue1 = Main.getRankValue(batchEntries.get(i).getRank());\r\n\t\t\t\t\trankValue2 = Main.getRankValue(batchEntries.get(i + 1).getRank());\r\n\t\t\t\t\trankDifference = java.lang.Math.abs(rankValue1 - rankValue2);\r\n\t\t\t\t\twasteMetric += rankDifference;\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\telse if (batchEntries.get(i).getColor().equals(batchEntries.get(i + 1).getColor()))\r\n\t\t\t\t{\r\n\t\t\t\t\t// same color, add 2x difference of the ranks to wasteMetric\r\n\t\t\t\t\trankValue1 = Main.getRankValue(batchEntries.get(i).getRank());\r\n\t\t\t\t\trankValue2 = Main.getRankValue(batchEntries.get(i + 1).getRank());\r\n\t\t\t\t\trankDifference = java.lang.Math.abs((rankValue1 - rankValue2) * 2);\t\t\t\t\t\t\t\r\n\t\t\t\t\twasteMetric += rankDifference;\r\n\t\t\t\t}\r\n\t\t\t\telse if (!batchEntries.get(i).getColor().equals(batchEntries.get(i + 1).getColor()))\r\n\t\t\t\t{\r\n\t\t\t\t\t// if entries have different color, add 3x difference of the ranks to wasteMetric\r\n\t\t\t\t\trankValue1 = Main.getRankValue(batchEntries.get(i).getRank());\r\n\t\t\t\t\trankValue2 = Main.getRankValue(batchEntries.get(i + 1).getRank());\r\n\t\t\t\t\trankDifference = java.lang.Math.abs((rankValue1 - rankValue2) * 3);\t\t\t\t\t\t\t\r\n\t\t\t\t\twasteMetric += rankDifference;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// check for maximum waste reduction\r\n\t\t\t\tif (rankDifference > maxDifference)\r\n\t\t\t\t{\t\t\t\t\t\t\r\n\t\t\t\t\t// this pair of entries produces greater reduction, add to top of list\r\n\t\t\t\t\tentrySwap1 = new EntrySwap(batchEntries.get(i), batchEntries.get(i + 1), rankDifference, 0);\r\n\t\t\t\t\tmaxDifference = rankDifference;\r\n\t\t\t\t\tswapEntries.add(0, entrySwap1);\r\n\t\t\t\t}\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\t// update the total wasteMetric in the swap entries\r\n\t\t\tswapEntries.get(0).setWasteMetricValue(wasteMetric);\r\n\t\t\tswapEntries.get(1).setWasteMetricValue(wasteMetric);\t\t\t\r\n } \r\n\t\treturn swapEntries;\r\n\t}",
"protected boolean update_best_value(Knapsack knapsack) {\n iteration+=1;\n if (knapsack.get_value()>best_value)\n {\n best_value=knapsack.get_value();\n return true;\n }\n if (iteration%100000==0)\n System.out.println(\"iteration:\"+iteration+\" time:\"+System.currentTimeMillis()+\n \" best_value:\"+best_value);\n return false;\n }",
"private static int minimum() {\n\t\tint popSize = 0;\n\t\tChromosome thisChromo = null;\n\t\tChromosome thatChromo = null;\n\t\tint winner = 0;\n\t\tboolean foundNewWinner = false;\n\t\tboolean done = false;\n\n\t\twhile (!done) {\n\t\t\tfoundNewWinner = false;\n\t\t\tpopSize = population.size();\n\t\t\tfor (int i = 0; i < popSize; i++) {\n\t\t\t\tif (i != winner) { // Avoid self-comparison.\n\t\t\t\t\tthisChromo = population.get(i);\n\t\t\t\t\tthatChromo = population.get(winner);\n\t\t\t\t\tif (thisChromo.conflicts() < thatChromo.conflicts()) {\n\t\t\t\t\t\twinner = i;\n\t\t\t\t\t\tfoundNewWinner = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (foundNewWinner == false) {\n\t\t\t\tdone = true;\n\t\t\t}\n\t\t}\n\t\treturn winner;\n\t}",
"private boolean makeMoveByMin(Mancala mancalaGame, int choice) {\n \r\n int length = mancalaGame.boardForA.length * 2 + 1;\r\n int[] tempArray = new int[length];\r\n \r\n int j = 0;\r\n for(int i = 0; i < mancalaGame.boardForA.length; i++) {\r\n tempArray[j++] = mancalaGame.boardForA[i];\r\n }\r\n tempArray[j++] = mancalaGame.countForA;\r\n for(int i = mancalaGame.boardForB.length - 1; i >= 0; i--) {\r\n tempArray[j++] = mancalaGame.boardForB[i];\r\n }\r\n \r\n // start from the index choice-1, and distribute\r\n \r\n j = choice;\r\n int lastIndex = -1;\r\n int count = tempArray[choice - 1];\r\n tempArray[choice - 1] = 0;\r\n \r\n while(count-- != 0) {\r\n lastIndex = j;\r\n tempArray[j]++;\r\n j++;\r\n if(j == length) {\r\n j = 0;\r\n }\r\n }\r\n \r\n // copy back everything into the game\r\n \r\n j = 0;\r\n for(int i = 0; i < mancalaGame.boardForA.length; i++) {\r\n mancalaGame.boardForA[i] = tempArray[j++];\r\n }\r\n mancalaGame.countForA = tempArray[j++];\r\n for(int i = mancalaGame.boardForB.length - 1; i >= 0; i--) {\r\n mancalaGame.boardForB[i] = tempArray[j++];\r\n }\r\n \r\n // determine capture\r\n \r\n if(lastIndex < mancalaGame.boardForA.length && lastIndex >= 0 && tempArray[lastIndex] == 1 && mancalaGame.boardForA[lastIndex] != 0) {\r\n mancalaGame.countForA += mancalaGame.boardForB[lastIndex];\r\n mancalaGame.countForA++;\r\n mancalaGame.boardForB[lastIndex] = 0;\r\n mancalaGame.boardForA[lastIndex] = 0;\r\n }\r\n \r\n // determine free turn\r\n \r\n if(lastIndex == Mancala.boardLength) {\r\n mancalaGame.turn = (mancalaGame.turn + 1) % 2;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n \r\n }",
"public TemplateState getBestTemplate( ArrayList<TemplateState> states )\r\n {\r\n TemplateState bestState = null;\r\n double quality = Double.MIN_VALUE;\r\n for( TemplateState state : states ) {\r\n if( state.getQuality() > quality ) {\r\n quality = state.getQuality();\r\n bestState = state;\r\n }\r\n }\r\n return bestState;\r\n }",
"private int searchSmallestSize(Secret secretA, Secret secretB) {\n\n\t\tint smallestSize = 0;\n\n\t\tArrayList<Time> timesA = secretA.getTimes();\n\t\tArrayList<Time> timesB = secretB.getTimes();\n\n\t\tfloat bisector = 100; \n\t\tint isSmallestSizeBisected = 0;\n\n\t\tdo {\n\n\t\t\t// in the validation phase the measurement is split\n\t\t\t// into smallest subsets, so the smallest subset \n\t\t\t// must be smaller or equal than the size of the \n\t\t\t// smallest time lists\n\t\t\tif(timesA.size() <= timesB.size()) {\n\t\t\t\tsmallestSize = timesA.size();\n\t\t\t} else {\n\t\t\t\tsmallestSize = timesB.size();\n\t\t\t}\n\n\t\t\t++isSmallestSizeBisected;\n\n\t\t\tbisector -= (bisector / 2);\n\n\t\t\ttimesA = secretA.getBisectedTimes((int)(secretA.getTimes().size() - (secretA.getTimes().size() * bisector / 100.0)));\n\t\t\ttimesB = secretB.getBisectedTimes((int)(secretB.getTimes().size() - (secretB.getTimes().size() * bisector / 100.0)));\n\n\t\t\tCollections.sort(timesA);\n\t\t\tCollections.sort(timesB);\n\t\t\t\n\t\t\tif(timesA.size() <= 10 || timesB.size() <= 10) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t} while(BoxTest.boxTest(timesA, timesB)); // tests if a box is significant different\n\n\n\t\t// because both secrets contains the smallest size\n\t\tif(isSmallestSizeBisected != 1) {\n\t\t\tlogger.info(secretA.getName() + \" < \" + secretB.getName() + \": amount of minimal measures per secret: \" + smallestSize); \n\t\t}\n\n\t\treturn smallestSize;\n\t}",
"public Building mostFitInPopulation(){\n\t\tCollections.sort(population);\n\t\treturn population.get(population.size() - 1);\n\t}",
"private Move guessBestMove(Piece player, Board board, double cutoff) {\n Board newBoard = new Board(board);\n Move bestSoFar;\n Iterator<Move> moveIterator = board.iterator();\n bestSoFar = moveIterator.next();\n newBoard.retract();\n while (moveIterator.hasNext()) {\n Move nextMove = moveIterator.next();\n int val = eval(newBoard);\n newBoard.makeMove(nextMove);\n if (eval(newBoard) > val) {\n bestSoFar = nextMove;\n val = eval(newBoard);\n if (val >= cutoff) {\n break;\n }\n }\n newBoard.retract();\n }\n return bestSoFar;\n }",
"private int[] getBestMoveAndScoreDifference(int[] board, int depth, boolean turn) {\n int boardCopy[];\n if (depth <= 0) {\n return new int[] {0,-1};\n }\n if (turn) {\n int minimum = MAXIMUM_POSSIPLE_SCORE_DIFFERENCE;\n int move = -1;\n for (int i = 0; i < 5; i++) {\n if (board[i] < 2) {\n continue;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer2Move(boardCopy)) {\n if (hasPlayer1Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, ! turn);\n }\n int z = y - x;\n if (z < minimum) {\n minimum = z;\n move = i;\n }\n }\n int i = 10;\n if (board[2] < 2) {\n return new int[] {minimum,move};\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer2Move(boardCopy)) {\n if (hasPlayer1Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y - x;\n if (z < minimum) {\n minimum = z;\n move = i;\n }\n return new int[] {minimum,move};\n } else {\n int maximum = MINIMUM_POSSIPLE_SCORE_DIFFERENCE;\n int move = -1;\n for (int i = 5; i < 10; i++) {\n if (board[i] < 2) {\n continue;\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer1Move(boardCopy)) {\n if (hasPlayer2Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y + x;\n if (z > maximum) {\n maximum = z;\n move = i;\n }\n }\n int i = 11;\n if (board[7] < 2) {\n return new int[] {maximum,move};\n }\n boardCopy = board.clone();\n int x = playMove(boardCopy, i);\n int y = 0;\n if (!hasPlayer1Move(boardCopy)) {\n if (hasPlayer2Move(boardCopy)) {\n y = getBestMove(boardCopy, depth - 1, turn);\n } else {\n for (int j = 0; j < 5; j++) {\n y = y - boardCopy[j];\n }\n for (int j = 5; j < 10; j++) {\n y = y + boardCopy[j];\n }\n }\n } else {\n y = getBestMove(boardCopy, depth - 1, !turn);\n }\n int z = y + x;\n if (z > maximum) {\n maximum = z;\n move = i;\n }\n return new int[] {maximum,move};\n }\n }",
"void TruncPopulationAvgSize(double scale){\n\t\t\tint i,j;\n\t\t\tnode[] _nm;\n\t\t \tdouble sumSize,sizeThreshold; \t\n\t\t \t\n//\t\t \tdouble fitnessBefore;\n//\t\t \tdouble fitnessAfter;\n\t\t \t\n//\t\t\tdouble TheBestPrune, TheBestNotPrune;\n//\t\t \tdouble sumNotPrune, sumBeforePrune, sumAfterPrune;\n\t\t \t\n//\t\t \tlong starttime = System.currentTimeMillis();\n\t\t \t\n\t\t \tg_numberTrunc=0;\t\t \n\t\t \tg_TimePartTrunc=0.0;\n\t\t \tg_numTruncFalse=0;\n\t\t \t\n\t\t \t \t\t \n\t\t \tsumSize = oldpop[0].size;\n\t\t\t\n\t\t\tfor(i = 1; i < poplen; i++) {\t\t\t\t\n\t\t\t\tsumSize += oldpop[i].size;//\t\t\t\t\n\t\t\t}\n\t\t\t\n//\t\t\tSystem.out.println(\"Tong:\"+sumSize);\n\t\t\tsumSize=sumSize /poplen;\n//\t\t\tSystem.out.println(\"Avg:\"+sumSize);\n\t\t\tsizeThreshold=sumSize+scale*sumSize;\n//\t\t\tSystem.out.println(\"Nguong:\"+sizeThreshold);\n\t\t \t\n//\t\t \tSystem.out.println(numIndiviadual);\n//\t\t\tTheBestPrune=HUGE_VAL;\n//\t\t \tTheBestNotPrune=HUGE_VAL;\n//\t\t \tsumNotPrune=0.0;\n//\t\t \tsumBeforePrune=0.0;\n//\t\t \tsumAfterPrune=0.0;\n\t\t \t\n\t\t\tfor(i = 0; i < poplen; i++){\n\t\t\t\t\n\t\t\t\tif(oldpop[i].size>sizeThreshold){\n//\t\t\t\t\tSystem.out.println(\"Vi tri:\"+i);\n\t\t\t\t\tindividual[] m_individual=new individual[1];\n\t\t\t\t\tint[] _mt=new int[1];\n\t\t\t\t\t_nm=new node[1];\n\t\t\t\t\t\n\t\t\t\t\t//=====\n//\t\t\t\t\tif(oldpop[i].evaluated==FALSE){\n//\t\t\t\t\t\tfitnessBefore=ComputeRF(oldpop[i]);\n//\t\t\t\t\t}\n//\t\t\t\t\telse\n//\t\t\t\t\t{\n//\t\t\t\t\t\tfitnessBefore=oldpop[i].oldfitness;\n//\t\t\t\t\t}\n\t\t\t\t\t//====\n\t\t\t\t\t\n\t//\t\t\t\tSystem.out.println(\"Trước+\"+oldpop[i].size);\n\t\t\t\t\tif(this.TruncateTreeGrow(oldpop[i], m_individual,_mt,_nm)==TRUE){\t\n\t\t\t\t\t\t\n\t\t\t\t\t\toldpop[i]=new individual();\n\t\t\t\t\t\toldpop[i].CopyIndividual(m_individual[0], TRUE);\t\t\t\n\t\t\t\t\t\toldpop[i].evaluated=FALSE;\n\t\t//\t\t\t\tSystem.out.println(\"Sau+\"+oldpop[i].size);\n//\t\t\t\t\t\tfitnessAfter=ComputeRF(oldpop[i]);\n//\t\t\t\t\t\toldpop[i].oldfitness=fitnessAfter;\n//\t\t\t\t\t\toldpop[i].fitness=fitnessAfter;\n//\t\t\t\t\t\toldpop[i].evaluated=TRUE;\n\t\t\t\t\t\t\n\t\t\t\t\t\tg_numTrunc++;\n\t\t\t\t\t\t//=====================\n//\t\t\t\t\t\tsumBeforePrune=sumBeforePrune+fitnessBefore;\n//\t\t\t\t\t\tsumAfterPrune=sumAfterPrune+fitnessAfter;\t\t\t\t\t\n//\t\t\t\t\t\tif(TheBestPrune>fitnessAfter){\n//\t\t\t\t\t\t\tTheBestPrune=fitnessAfter;\n//\t\t\t\t\t\t}\n\t\t\t\t\t\t//================================\n\t\t\t\t\t\t\n//\t\t\t\t\t\tDecreaseAllFitness=DecreaseAllFitness+(fitnessBefore-fitnessAfter);\n//\t\t\t\t\t\tif(fitnessAfter<=fitnessBefore){\n//\t\t\t\t\t\t\tg_numOfBetter++;\t\t\t\t\t\t\n//\t\t\t\t\t\t\tDecreaseFitness=DecreaseFitness+(fitnessBefore-fitnessAfter);\n//\t\t\t\t\t\t}\t\t\t\t\t\n\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tsumNotPrune=sumNotPrune+fitnessBefore;\n//\t\t\t\t\t\tif(TheBestNotPrune>fitnessBefore){\n//\t\t\t\t\t\t\tTheBestNotPrune=fitnessBefore;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\t\n//\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n//\t\t\t\telse\n//\t\t\t\t{\n//\t\t\t\t\tif(oldpop[i].evaluated==FALSE){\n//\t\t\t\t\t\tfitnessBefore=ComputeRF(oldpop[i]);\n//\t\t\t\t\t}\n//\t\t\t\t\telse\n//\t\t\t\t\t{\n//\t\t\t\t\t\tfitnessBefore=oldpop[i].oldfitness;\n//\t\t\t\t\t}\n//\t\t\t\t\t\n//\t\t\t\t\tsumNotPrune=sumNotPrune+fitnessBefore;\n//\t\t\t\t\tif(TheBestNotPrune>fitnessBefore){\n//\t\t\t\t\t\tTheBestNotPrune=fitnessBefore;\n//\t\t\t\t\t}\t\t\n//\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//new\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tnumberTrunc[gen]=g_numberTrunc;\t\t\t\n\t\t\tTimePartTrunc[gen]=g_TimePartTrunc;\n\t\t\t\n\t\t\t\n\t\t\t\n//\t\t\t// Gan cac gia tri \n//\t\t\tavgFitnessNotPrune[gen]=sumNotPrune/(1.0*(poplen-g_numTrunc));\n//\t\t\t\t\t\t\n//\t\t\tavgFitnessBeforePrune[gen]=sumBeforePrune/(1.0*g_numTrunc);\t\t\t\n//\t\t\tavgFitnessAfterPrune[gen]=sumAfterPrune/(1.0*g_numTrunc);\n//\t\t\t\t\t\t\n//\t\t\tTheBestFitnessNotPrune[gen]=TheBestNotPrune;\n//\t\t\tTheBestFitnessPrune[gen]=TheBestPrune;\n//\t\t\t\t\n//\t\t\tif(TheBestNotPrune<TheBestPrune){\n//\t\t\t\tTheBestInNotPrune[gen]=1;\n//\t\t\t}\n//\t\t\telse{\n//\t\t\t\tTheBestInNotPrune[gen]=0;\n//\t\t\t}\n//\t\t\t\t\t\t\t\t\t\n//\t\t\tavgFitnessAllPopBefore[gen]=(sumNotPrune+sumBeforePrune)/(1.0*poplen);\t\t\t\n//\t\t\tavgFitnessAllPopAfter[gen]=(sumNotPrune+sumAfterPrune)/(1.0*poplen);\n//\t\t\t\t\t\t\n//\t\t\t\t\t\t\n//\t\t\t\t\t\tif(sumBeforePrune<sumAfterPrune)\n//\t\t\t\t\t\t{\n//\t\t\t\t\t\t\tTheBestAvgInAllPopBefore[gen]=1;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\telse\n//\t\t\t\t\t\t{\n//\t\t\t\t\t\t\tTheBestAvgInAllPopBefore[gen]=0;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\t\n//\t\t\t\t\t\t\n//\t\t\t\t\t\tif(avgFitnessNotPrune[gen]<avgFitnessAfterPrune[gen])\n//\t\t\t\t\t\t{\n//\t\t\t\t\t\t\tTheBestAvgInNotPrune[gen]=1;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\telse\n//\t\t\t\t\t\t{\n//\t\t\t\t\t\t\tTheBestAvgInNotPrune[gen]=0;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t//===========================\n\t\t}",
"boolean transfer(Recycler.Stack<?> dst)\r\n/* 302: */ {\r\n/* 303:328 */ Link head = this.head;\r\n/* 304:329 */ if (head == null) {\r\n/* 305:330 */ return false;\r\n/* 306: */ }\r\n/* 307:333 */ if (head.readIndex == Recycler.LINK_CAPACITY)\r\n/* 308: */ {\r\n/* 309:334 */ if (head.next == null) {\r\n/* 310:335 */ return false;\r\n/* 311: */ }\r\n/* 312:337 */ this.head = (head = head.next);\r\n/* 313: */ }\r\n/* 314:340 */ int srcStart = head.readIndex;\r\n/* 315:341 */ int srcEnd = head.get();\r\n/* 316:342 */ int srcSize = srcEnd - srcStart;\r\n/* 317:343 */ if (srcSize == 0) {\r\n/* 318:344 */ return false;\r\n/* 319: */ }\r\n/* 320:347 */ int dstSize = dst.size;\r\n/* 321:348 */ int expectedCapacity = dstSize + srcSize;\r\n/* 322:350 */ if (expectedCapacity > dst.elements.length)\r\n/* 323: */ {\r\n/* 324:351 */ int actualCapacity = dst.increaseCapacity(expectedCapacity);\r\n/* 325:352 */ srcEnd = Math.min(srcStart + actualCapacity - dstSize, srcEnd);\r\n/* 326: */ }\r\n/* 327:355 */ if (srcStart != srcEnd)\r\n/* 328: */ {\r\n/* 329:356 */ Recycler.DefaultHandle[] srcElems = head.elements;\r\n/* 330:357 */ Recycler.DefaultHandle[] dstElems = dst.elements;\r\n/* 331:358 */ int newDstSize = dstSize;\r\n/* 332:359 */ for (int i = srcStart; i < srcEnd; i++)\r\n/* 333: */ {\r\n/* 334:360 */ Recycler.DefaultHandle element = srcElems[i];\r\n/* 335:361 */ if (Recycler.DefaultHandle.access$1500(element) == 0) {\r\n/* 336:362 */ Recycler.DefaultHandle.access$1502(element, Recycler.DefaultHandle.access$1100(element));\r\n/* 337:363 */ } else if (Recycler.DefaultHandle.access$1500(element) != Recycler.DefaultHandle.access$1100(element)) {\r\n/* 338:364 */ throw new IllegalStateException(\"recycled already\");\r\n/* 339: */ }\r\n/* 340:366 */ srcElems[i] = null;\r\n/* 341:368 */ if (!dst.dropHandle(element))\r\n/* 342: */ {\r\n/* 343:372 */ Recycler.DefaultHandle.access$502(element, dst);\r\n/* 344:373 */ dstElems[(newDstSize++)] = element;\r\n/* 345: */ }\r\n/* 346: */ }\r\n/* 347:376 */ if ((srcEnd == Recycler.LINK_CAPACITY) && (head.next != null))\r\n/* 348: */ {\r\n/* 349:378 */ reclaimSpace(Recycler.LINK_CAPACITY);\r\n/* 350: */ \r\n/* 351:380 */ this.head = head.next;\r\n/* 352: */ }\r\n/* 353:383 */ head.readIndex = srcEnd;\r\n/* 354:384 */ if (dst.size == newDstSize) {\r\n/* 355:385 */ return false;\r\n/* 356: */ }\r\n/* 357:387 */ dst.size = newDstSize;\r\n/* 358:388 */ return true;\r\n/* 359: */ }\r\n/* 360:391 */ return false;\r\n/* 361: */ }",
"private void FindMinZ()\r\n\t{\r\n\t\tminimum_Z=Integer.MAX_VALUE;\r\n\t\tfor(Entry<Integer,Node> entry : FutureUpdateList.entrySet())\r\n\t\t{\r\n\t\t\tNode temp=entry.getValue();\r\n\t\t\tif(temp.z<minimum_Z)\r\n\t\t\t{\r\n\t\t\t\tminimum_Z=temp.z;\r\n\t\t\t\tminimum_X=temp.x;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"@Override\r\n\tpublic int cost() {\n\t\treturn b1.cost() + 1;\r\n\t}",
"private StepList selectBestSteps( int top )\n {\n int maxlen = 0;\n int mincom = MINCOMMONALITY;\n int candidates[] = new int[length];\n int p = 0;\n \n StepList res = new StepList( top );\n for( int i=1; i<length; i++ ){\n if( commonality[i]>=mincom ){\n \t\t// TODO: we should also consider pairs that\n \t\t// have too much overlap, but make it up in subsequent\n \t\t// entries. This does mean that we must create a new\n \t\t// candidate array for each new possibility, since we\n \t\t// may have to throw it away.\n int pos0 = indices[i-1];\n \t\tint pos1 = indices[i];\n \t\tint len = Math.min( Math.abs( pos1-pos0 ), commonality[i] );\n \n \t\tif( len>maxlen ){\n \t\t // This is a better candidate.\n \t\t candidates[0] = pos0;\n \t\t candidates[1] = pos1;\n \t\t p = 2;\n \n \t\t // Now search for non-overlapping substrings that \n \t\t // are equal for `len' characters. All possibilities\n \t\t // are the subsequent entries in the suffix array, up to\n // the first one with less than 'len' characters\n // commonality.\n \t\t // We must test each one for overlap with all\n \t\t // previously selected strings.\n // TODO: this fairly arbitrary way of gathering candidates\n // is not optimal, since a different subset of strings may\n // be larger.\n \t\t int j = i+1;\n \t\t while( j<length && commonality[j]>=len ){\n \t\t\tint posj = indices[j];\n \n \t\t\tif( !areOverlapping( candidates, p, posj, len ) ){\n \t\t\t candidates[p++] = posj;\n \t\t\t}\n \t\t\tj++;\n \t\t }\n \t\t maxlen = len;\n \t\t mincom = len;\n res.add( new Step( candidates, p, maxlen ) );\n \t\t}\n }\n }\n return res;\n }",
"protected double ABT() {\r\n\t\tDouble output = Double.MAX_VALUE;\r\n\t\tIterator<Double> bws = this.flowBandwidth.values().iterator();\r\n\t\twhile (bws.hasNext()) {\r\n\t\t\tdouble temp = bws.next();\r\n\t\t\tif (temp < output) {\r\n\t\t\t\toutput = temp;\r\n\t\t\t\t// System.out.println(\"[GeneralSimulator.ABT]: \" + output);\r\n\t\t\t}\r\n\t\t}\r\n\t\t// System.out.println(\"[GeneralSimulator.ABT]: succfulCount \"\r\n\t\t// + this.successfulCount);\r\n\t\treturn output * this.successfulCount;\r\n\t}",
"public void sort()\n\t{\n\t\tfor(int i=0;i<bowlers.size()-1;i++)\n\t\t{\n\t\t\tfor(int j=i+1;j<bowlers.size();j++)\n\t\t\t{\n\t\t\t\tif(bowlers.get(i).getBall()<bowlers.get(j).getBall())\n\t\t\t\t{\n\t\t\t\t\tBowler bowler=bowlers.get(i);\n\t\t\t\t\tbowlers.set(i,bowlers.get(j));\n\t\t\t\t\tbowlers.set(j,bowler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<bowlers.size();i++)\n\t\t{\n\t\tSystem.out.println(bowlers.get(i).getBall());\n\t\t}\n\t}",
"int getMaximalReplaceDistance(int usedColors);"
] | [
"0.61720467",
"0.5864603",
"0.571838",
"0.56562394",
"0.55970734",
"0.559204",
"0.55456644",
"0.55360985",
"0.552384",
"0.55066764",
"0.5470324",
"0.5450564",
"0.54172254",
"0.5403932",
"0.53813493",
"0.5342174",
"0.53114545",
"0.52748126",
"0.5262961",
"0.52628696",
"0.5237949",
"0.5237917",
"0.5231734",
"0.5224796",
"0.52116853",
"0.5204459",
"0.51952046",
"0.517866",
"0.5164692",
"0.51644725",
"0.5161975",
"0.5157965",
"0.5155565",
"0.5150952",
"0.51405805",
"0.5129073",
"0.5117961",
"0.5113163",
"0.51037586",
"0.5083812",
"0.50831544",
"0.5083022",
"0.50744957",
"0.5074126",
"0.5072633",
"0.50710845",
"0.5060495",
"0.50516754",
"0.5046997",
"0.5045902",
"0.5037347",
"0.5019867",
"0.50140065",
"0.50094235",
"0.50087357",
"0.50050527",
"0.50023824",
"0.49998054",
"0.49986064",
"0.49961588",
"0.4994339",
"0.49930024",
"0.49923226",
"0.49848756",
"0.4983739",
"0.49632046",
"0.4960137",
"0.4958789",
"0.49510056",
"0.49449474",
"0.49410364",
"0.49386743",
"0.4937009",
"0.49346903",
"0.49330872",
"0.49316403",
"0.49306303",
"0.492716",
"0.4926637",
"0.49233574",
"0.4919259",
"0.49150118",
"0.49143776",
"0.49045604",
"0.49042904",
"0.49040595",
"0.48930866",
"0.4891271",
"0.48902828",
"0.48850983",
"0.4876682",
"0.48738196",
"0.48668548",
"0.48660624",
"0.48642603",
"0.48635578",
"0.48613405",
"0.48579794",
"0.48570848",
"0.4856403",
"0.4849891"
] | 0.0 | -1 |
track nonbold node and remove, topdown approach | public static boldTree extractBoldSubTree(boldTree root) {
if (root == null) {
return null;
}
Queue<boldTree> currentLevel = new LinkedList<boldTree>();
Queue<boldTree> nextLevel = new LinkedList<boldTree>();
HashMap<boldTree, List<boldTree>> nonBoldNodeList = new HashMap<boldTree, List<boldTree>>();
currentLevel.add(root);
while (!currentLevel.isEmpty()) {
boldTree r = currentLevel.poll();
for (boldTree c : r.getChildren()) {
if (!hasBoldChild(c)) {
if (!nonBoldNodeList.containsKey(r))
nonBoldNodeList.put(r, new ArrayList<boldTree>());
nonBoldNodeList.get(r).add(c);
} else {
nextLevel.add(c);
}
}
if (currentLevel.isEmpty()) {
currentLevel.addAll(nextLevel);
nextLevel.clear();
for (boldTree k : nonBoldNodeList.keySet()) {
for (boldTree c : nonBoldNodeList.get(k)) {
k.removeChild(c);
}
}
nonBoldNodeList.clear();
}
}
return root;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unsetBold()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BOLD$4, 0);\n }\n }",
"private void unhilitNode()\n {\n\tif (hilited==null) return;\n\tGraphics g = getGraphics();\n\tsetRenderColor(g,Color.black);\n\trenderCircle(g,hilited.x,hilited.y,hilited.diameter+4);\n\thilited = null;\n }",
"protected void textLeafRemoved(MutationEvent evt) throws MelodyException {\r\n\t\tsuper.textLeafRemoved(evt);\r\n\t\t// the changed node\r\n\t\tText t = (Text) evt.getTarget();\r\n\t\t// its parent element\r\n\t\tElement e = (Element) t.getParentNode();\r\n\t\tDUNID edunid = DUNIDDocHelper.getDUNID(e);\r\n\t\t// Modify the DUNIDDoc\r\n\t\tElement eori = getOwnerDUNIDDoc(e).getElement(edunid);\r\n\t\t// It is assume that the Element is a leaf, so getFirstChild is OK\r\n\t\teori.removeChild(eori.getFirstChild());\r\n\t\t// Modify the targets descriptor\r\n\t\tif (!areTargetsFiltersDefined()) {\r\n\t\t\t/*\r\n\t\t\t * If there is no targets filters defined, there's no need to modify\r\n\t\t\t * the targets descriptor.\r\n\t\t\t */\r\n\t\t\treturn;\r\n\t\t}\r\n\t\teori = getTargetsDescriptor().getElement(edunid);\r\n\t\tif (eori != null) { // changed node is in the targets descriptor\r\n\t\t\t// It is assume that the Element is a leaf, so getFirstChild is OK\r\n\t\t\teori.removeChild(eori.getFirstChild());\r\n\t\t}\r\n\t}",
"final void setRemove(){\n getDocument().removeSpan(this);\n for (T child: this){\n if (child instanceof SpanBranch) ((SpanBranch)child).setRemove();\n }\n }",
"public void onRemoveNode(Node node) {\n\t}",
"public abstract void removedFromWidgetTree();",
"public void cutNode ()\n {\n copyNode();\n deleteNode();\n }",
"public void removeNodeAfter() { cursor = cursor.getNext().getNext(); }",
"public void unsetBoldItalic()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BOLDITALIC$8, 0);\n }\n }",
"public abstract void removeChild(Node node);",
"@Override\n\tpublic TreeNode remove() {\n\t\treturn null;\n\t}",
"public void clearRemovalTag() {\n\t levelOfRemoval = 0;\n\t}",
"public void untagAsRemoved() {\n\t levelOfRemoval --;\n\t}",
"public void removeHighlight(Object tag) {}",
"public void remove() {\n removeNode(this);\n }",
"private void removeHiElement(Element p_element)\n {\n Element parent = p_element.getParent();\n int index = parent.indexOf(p_element);\n\n // We copy the current content, clear out the parent, and then\n // re-add the old content, inserting the <hi>'s content\n // instead of the <hi>.\n\n ArrayList newContent = new ArrayList();\n List content = parent.content();\n\n for (int i = content.size() - 1; i >= 0; --i)\n {\n Node node = (Node)content.get(i);\n\n newContent.add(node.detach());\n }\n\n Collections.reverse(newContent);\n parent.clearContent();\n\n for (int i = 0, max = newContent.size(); i < max; ++i)\n {\n Node node = (Node)newContent.get(i);\n\n if (i == index)\n {\n parent.appendContent(p_element);\n }\n else\n {\n parent.add(node);\n }\n }\n }",
"public void tagAsRemoved() {\n\t levelOfRemoval ++;\n\t}",
"public void remove () { this.setAsDown(); n.remove(); }",
"@Test\n\tpublic void test2() {\n\t\tassertEquals(-1,b.removeNode(500));\n\t\t\n\t\t//Borro una hoja\n\t\tassertEquals(0,b.removeNode(3));\n\t\tassertEquals(\"1:FB=0\\t2:FB=0\\t7:FB=0\\t10:FB=1\\t13:FB=1\\t15:FB=0\\t20:FB=-1\\t23:FB=0\\t30:FB=0\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=-1\\t90:FB=0\\t100:FB=0\\t110:FB=0\\t230:FB=0\\t\",b.inOrder());\n\n\t\t//Borra un elemento con un hijo\n\t\tassertEquals(0,b.removeNode(110));\n\t\tassertEquals(\"1:FB=0\\t2:FB=0\\t7:FB=0\\t10:FB=1\\t13:FB=1\\t15:FB=0\\t20:FB=-1\\t23:FB=0\\t30:FB=0\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=-1\\t90:FB=0\\t100:FB=1\\t230:FB=0\\t\",b.inOrder());\n\t\t//Borra un elemento con dos hijos\n\t\tassertEquals(0,b.removeNode(90));\n\t\tassertEquals(\"1:FB=0\\t2:FB=0\\t7:FB=0\\t10:FB=1\\t13:FB=1\\t15:FB=0\\t20:FB=-1\\t23:FB=0\\t30:FB=0\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=1\\t100:FB=1\\t230:FB=0\\t\",b.inOrder());\t\n\t\t\n\t\t//Borra la raiz (30)\n\t\tassertEquals(0,b.removeNode(30));\n\t\tassertEquals(\"1:FB=0\\t2:FB=0\\t7:FB=0\\t10:FB=0\\t13:FB=0\\t15:FB=0\\t20:FB=0\\t23:FB=1\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=1\\t100:FB=1\\t230:FB=0\\t\",b.inOrder());\n\t\t\n\t\t//Borro 1\\t7\\t13\n\t\tassertEquals(0,b.removeNode(1));\n\t\tassertEquals(0,b.removeNode(7));\n\t\tassertEquals(0,b.removeNode(13));\n\t\tassertEquals(\"2:FB=0\\t10:FB=1\\t15:FB=1\\t20:FB=0\\t23:FB=1\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=1\\t100:FB=1\\t230:FB=0\\t\",b.inOrder());\n\t\t\n\t\t//Borro 20. RSD 2,0\n\t\tassertEquals(0,b.removeNode(20));\n\t\t\n\t\t\n\t\t\n\t\tassertEquals(\"2:FB=0\\t10:FB=0\\t15:FB=0\\t23:FB=1\\t40:FB=0\\t43:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=-1\\t65:FB=0\\t70:FB=1\\t100:FB=1\\t230:FB=0\\t\",b.inOrder());\n\t\t\n\t\t//Borro el 230. RDI -2, 1\n\t\tassertEquals(0,b.removeNode(230));\n\t\tassertEquals(\"2:FB=0\\t10:FB=0\\t15:FB=0\\t23:FB=-1\\t40:FB=0\\t43:FB=0\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=0\\t100:FB=0\\t\",b.inOrder());\n\t\t\n\t\t//Borro 23\n\t\tassertEquals(0,b.removeNode(23));\n\t\tassertEquals(\"2:FB=0\\t10:FB=-1\\t15:FB=-1\\t40:FB=0\\t43:FB=0\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=0\\t100:FB=0\\t\",b.inOrder());\n\t\t\n\t\t//Borro 43 (raiz) y RSI sobre el nodo 15\n\t\tassertEquals(0,b.removeNode(43));\n\t\tassertEquals(\"2:FB=0\\t10:FB=0\\t15:FB=0\\t40:FB=1\\t49:FB=1\\t50:FB=0\\t60:FB=0\\t65:FB=0\\t70:FB=0\\t100:FB=0\\t\",b.inOrder());\n\t\t\n\t}",
"public void removeChild(WSLNode node) {children.removeElement(node);}",
"public String eraseNode() {\n\n String assist = lastIn.info;\n lastIn = lastIn.next;\n size--;\n return assist;\n }",
"private void removeSubElement(Element p_element)\n {\n Element parent = p_element.getParent();\n int index = parent.indexOf(p_element);\n\n // We copy the current content, clear out the parent, and then\n // re-add the old content, inserting the <sub>'s textual\n // content instead of the <sub> (this clears any embedded TMX\n // tags in the subflow).\n\n ArrayList newContent = new ArrayList();\n List content = parent.content();\n\n for (int i = content.size() - 1; i >= 0; --i)\n {\n Node node = (Node)content.get(i);\n\n newContent.add(node.detach());\n }\n\n Collections.reverse(newContent);\n parent.clearContent();\n\n for (int i = 0, max = newContent.size(); i < max; ++i)\n {\n Node node = (Node)newContent.get(i);\n\n if (i == index)\n {\n parent.addText(p_element.getText());\n }\n else\n {\n parent.add(node);\n }\n }\n }",
"public BinaryNode removeNode(BinaryNode node){\n if(isLeaf(node)){//base case\n BinaryNode parent = (BinaryNode) node.getParent();\n if(parent == null){\n root = null;\n }\n else{\n parent.removeChild(node);\n }\n size--;\n return parent;\n }\n BinaryNode lower = descendant(node);\n promote(lower, node);\n return removeNode(lower);\n }",
"public void removeAll() \n { \n header.rightChild = nullNode; \n }",
"private void removeWord(Node root,String word,int index){\n if(index == word.length()){ //not word.length()-1 because starts from empty root\n //visiting the last Node to Remove\n //but need to remove later when com back to its paren root.removeChild(ch);\n //cause need to check weather node has children or not\n System.out.println(root.value);\n root.isEndOfWord = false; //CARE can only physically 'E' but CAR Node R has E children so R.isEndOfWord =false\n return;\n }\n\n //1st get the 'ch' at the index of th word\n var ch = word.charAt(index);\n\n //get the child Node of ch in root/children\n var child = root.getChild(ch);\n\n //if word doesn't exist/ no any Characters\n if(child == null) return;\n\n //post order traversal visiting child 1st\n removeWord(child,word,index+1); //recursively remove/ go to the next indexes of the word\n\n //then visit root to remove last index\n System.out.println(root.value);\n // if the child doesn't have any children\n // or no any characters related to end of the removing word\n //ex: cant remove word 'CAT' cause 'CATEGORY' exist.\n //if doesnt have any children and it's not the end of another word, physically remove it\n if(!child.hasChildren() && !child.isEndOfWord)\n root.removeChild(ch); //CARE can only physically 'E' but CAR Node R has E children\n\n }",
"void arbitraryRemove(Nodefh node){\n\t\n\t\tif(node.Parent.Child == node){\n\t\t\tif(node.Right != null && node.Right != node){\n\t\t\t\tnode.Parent.Child = node.Right;\n\t\t\t\tif(node.Left!=null && node.Left != node){\n\t\t\t\t\tnode.Left.Right = node.Right;\n\t\t\t\t\tnode.Right.Left = node.Left;\n\t\t\t\t\tnode.Parent = null;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tnode.Right.Left = node.Right;\n\t\t\t\t\tnode.Parent = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\tnode.Parent.Child = null;\n\t\t\t\tnode.Parent = null;\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(node.Left != null && node.Left != node){\n\t\t\t\tnode.Left.Right = node.Right;\n\t\t\t\tnode.Right.Left = node.Left;\n\t\t\t}\n\t\t\tnode.Parent = null;\n\n\t\t}\n\t\tif(node.Child!=null){\n\t\t\tNodefh temp = node.Child;\n\t\t\tif(node.Child.Right!=null){\n\t\t\t\ttemp = node.Child.Right;\n\t\t\t}\n\t\t\tfhInsert(node.Child);\n\t\t\twhile(temp!=node.Child.Right){\n\t\t\t\tfhInsert(temp);\n\t\t\t\ttemp = temp.Right;\n\t\t\t}\n\n\t\t}\n\n\t}",
"public boolean removeNode(Node n);",
"void removeIsBoundaryNodeOf(Boundary oldIsBoundaryNodeOf);",
"@Override\n\tpublic void remove(DuNode s) {\n\t\t\n\t}",
"@Override\n public void unhighlight() {\n\n // @tag ADJACENT : Removed highlight adjacent\n // boolean highlightedAdjacently = (highlighted == HIGHLIGHT_ADJACENT);\n if (highlighted == HIGHLIGHT_NONE) {\n return;\n }\n // @tag ADJACENT : Removed highlight adjacent\n /*\n * if (!highlightedAdjacently) { // IF we are highlighted as an adjacent\n * node, we don't need to deal // with our connections. if\n * (ZestStyles.checkStyle(getNodeStyle(),\n * ZestStyles.NODES_HIGHLIGHT_ADJACENT)) { // unhighlight the adjacent\n * edges for (Iterator iter = sourceConnections.iterator();\n * iter.hasNext();) { GraphConnection conn = (GraphConnection)\n * iter.next(); conn.unhighlight(); if (conn.getDestination() != this) {\n * conn.getDestination().unhighlight(); } } for (Iterator iter =\n * targetConnections.iterator(); iter.hasNext();) { GraphConnection conn\n * = (GraphConnection) iter.next(); conn.unhighlight(); if\n * (conn.getSource() != this) { conn.getSource().unhighlight(); } } } }\n */\n if (parent.getItemType() == GraphItem.CONTAINER) {\n ((GraphContainer) parent).unhighlightNode(this);\n } else {\n ((Graph) parent).unhighlightNode(this);\n }\n highlighted = HIGHLIGHT_NONE;\n updateFigureForModel(nodeFigure);\n\n }",
"private Node popNode() {\n\t\treturn open.remove(0);\n\t}",
"private void removeNode(DLinkedNode node) {\n\t\t\tDLinkedNode pre = node.pre;\n\t\t\tDLinkedNode post = node.post;\n\n\t\t\tpre.post = post;\n\t\t\tpost.pre = pre;\n\t\t}",
"public static Node delete (BST bst, String name){\n\t\tNode bstRoot = bst.getRoot();\n\t\tNode deletedNode = findByName(bstRoot, name); // The node to be removed from the bst.\n\t\tNode substituteNode = floorOrCeiling(deletedNode); // The substitute node for the removed one.\n\t\t\n\t\t\n\t\tSystem.out.println(\"\\nThe node to be deleted:\");\n\t\tSystem.out.println(deletedNode);\n\n\t\tSystem.out.println(\"\\nThe substitute for the deleted node:\");\n\t\tSystem.out.println(substituteNode);\n\t\t\n\t\t/* If the node to be removed is an external node, which has no children nodes,\n\t\t then there is no need for the substitute node. Thus, we can simply set the nodes\n\t\t that point to the external nodes to null to remove the node.\n\t\t*/\n\t\tif ((deletedNode.getRight()==null)&&(deletedNode.getLeft()==null)){\n\t\t\tif(deletedNode.getName().compareTo(deletedNode.getParent().getName())<0)\n\t\t\t\tdeletedNode.getParent().setLeft(null);\t\t\t\n\t\t\telse\n\t\t\t\tdeletedNode.getParent().setRight(null);\n\t\t\t\n\t\t\tdeletedNode.setLeft(null);\n\t\t\tdeletedNode.setRight(null);\n\t\t\tdeletedNode.setParent(null);\n\t\t\t\n\t\t\treturn bstRoot;\n\t\t}\n\t\t\n\t\t/* If the node to be removed is not a root node, we'll apply the general approach.\n\t\t*/\n\t\tif (deletedNode.getParent()!=null){\n\n\t\t\t/* If the name of the parent node of the substitute node precedes the one of the substitute,\n\t\t\t * then, set the right child of the parent node to a null unless the substitute node is a child\n\t\t\t * of the deleted node.\n\t\t\t */\n\t\t\tif(substituteNode.getParent().getName().compareTo(substituteNode.getName())<0)\t\t\t\n\t\t\t\tif(substituteNode == deletedNode.getRight())\n\t\t\t\t\tsubstituteNode.getParent().setRight(substituteNode.getRight());\n\t\t\t\telse\t\n\t\t\t\tsubstituteNode.getParent().setRight(null);\n\t\t\t\n\t\t\t/* If the name of the parent node of the substitute node succeeds the one of the substitute,\n\t\t\t * then, set the left child of the parent node to a null unless the substitute node is a child\n\t\t\t * of the deleted node.\n\t\t\t */\n\t\t\telse\n\t\t\t\tif(substituteNode == deletedNode.getLeft())\n\t\t\t\t\tsubstituteNode.getParent().setLeft(substituteNode.getLeft());\n\t\t\t\telse\n\t\t\t\t\tsubstituteNode.getParent().setLeft(null);\n\t\t\t\n\t\t\t\n\t\t\t/* If the name of the parent node of the deleted node succeed the one of the substitute,\n\t\t\t * then, set substitute node as the left child of the parent node of the deleted node.\n\t\t\t * Otherwise, set the substitute to the right child.\n\t\t\t */\n\t\t\tif(deletedNode.getParent().getName().compareTo(substituteNode.getName())>0)\n\t\t\t\tdeletedNode.getParent().setLeft(substituteNode);\n\t\t\t\t\n\t\t\telse\n\t\t\t\tdeletedNode.getParent().setRight(substituteNode);\t\t\t\n\t\t\t\n\n\t\t\t/* Duplicates the binding that the deleted node previously had.\n\t\t\t */\n\t\t\tsubstituteNode.setLeft(deletedNode.getLeft());\n\t\t\tsubstituteNode.setRight(deletedNode.getRight());\n\t\t\tsubstituteNode.setParent(deletedNode.getParent());\n\t\t\t\n\t\t\t\n\t\t\t/* If the deleted node has any child, then set the substitute node as their parent node.\n\t\t\t */\n\t\t\tif (deletedNode.getRight()!=null)\n\t\t\t\tdeletedNode.getRight().setParent(substituteNode);\n\t\t\t\n\t\t\tif (deletedNode.getLeft()!=null)\n\t\t\tdeletedNode.getLeft().setParent(substituteNode);\n\t\t\t\n\t\t\tdeletedNode.setLeft(null);\n\t\t\tdeletedNode.setRight(null);\n\t\t\tdeletedNode.setParent(null);\n\t\t}\t\n\t\t/* If the node to be removed is a root node, we'll approach a bit differently.\n\t\t*/\t\t\t\n\t\telse{\n\t\t\t/* Sets the child node of the parent of the substitute one to null.\n\t\t\t*/\t\t\t\n\t\t\tif(substituteNode.getParent().getName().compareTo(substituteNode.getName())<0)\n\t\t\t\tsubstituteNode.getParent().setRight(null);\n\t\t\telse\n\t\t\t\tsubstituteNode.getParent().setLeft(null);\n\t\t\t\n\t\t\t/* Duplicates the binding that the deleted node previously had without setting the parent node.\n\t\t\t */\n\t\t\tsubstituteNode.setLeft(deletedNode.getLeft());\n\t\t\tsubstituteNode.setRight(deletedNode.getRight());\n\t\t\t\n\t\t\t\n\t\t\t/* If the deleted node has any child, then set the substitute node as their parent node.\n\t\t\t*/\t\t\t\n\t\t\tif (deletedNode.getRight()!=null)\n\t\t\t\tdeletedNode.getRight().setParent(substituteNode);\n\t\t\t\n\t\t\tif (deletedNode.getLeft()!=null)\n\t\t\tdeletedNode.getLeft().setParent(substituteNode);\t\n\t\t\t\n\t\t\t\n\t\t\tdeletedNode.setLeft(null);\n\t\t\tdeletedNode.setRight(null);\n\t\t\tdeletedNode.setParent(null);\n\t\t\t\n\t\t\tSystem.out.println(\"\\nThe node \" + deletedNode + \" is removed from the tree successfully\\n\");\n\t\t\t\n\t\t\treturn substituteNode;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\\nThe node \" + deletedNode + \" is removed from the tree successfully\\n\");\n\n\n\t\treturn bstRoot;\n\t\t\n\t}",
"private void removeNode(DLinkedNode node){\n DLinkedNode pre = node.pre;\n DLinkedNode post = node.post;\n\n pre.post = post;\n post.pre = pre;\n }",
"private void removeBookmark(Bookmark bookmark) throws Exception {\n CompositeNode bkParent = bookmark.getBookmarkStart().getParentNode();\n if (bkParent.getFirstChild().equals(bookmark.getBookmarkStart())) {\n //moveOtherBookmarksFromParagraph(bkParent, bookmark);\n bkParent.remove();\n } else {\n bookmark.setText(\"\");\n bookmark.remove();\n }\n }",
"private void removeContentAfterIndexLink()\r\n \t{\r\n \t\tdeleteNodes(XPath.AFTER_INDEX_LINK.query);\r\n \t}",
"@Test\n public void remove_BST_1_CaseLeafRight()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(6);\n No leaf = new No(9);\n \n bst.insert(null, root);\n //bst.printTree();\n \n bst.insert(root, new No(2));\n //bst.printTree();\n \n bst.insert(root, leaf);\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(leaf, bst.remove(leaf));\n assertEquals(new Integer(2), bst.size());\n //bst.printTree();\n }",
"@Override\n public boolean handleDeleteBeforeNode(ContentElement element, EditorEvent event) {\n return true;\n }",
"public void removeNode()\n\t{\n\t\tif (parent != null)\n\t\t\tparent.removeChild(this);\n\t}",
"void removeNode(ANode<T> a) {\n if (!a.equals(header)) {\n header.removeNodeFirst(a);\n }\n }",
"public void unsetText()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(TEXT$18, 0);\n }\n }",
"@Test\n public void remove_BST_0_CaseRootLeafRight()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(2);\n No no = new No(3);\n \n bst.insert(root, root);\n //bst.printTree();\n \n bst.insert(root, no);\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(new Integer(2), bst.size());\n assertEquals(no, bst.remove(no));\n assertEquals(new Integer(1), bst.size());\n //bst.printTree();\n }",
"void removeNode(NodeKey key);",
"private E removeNode(Node n) {\n \tassert (n != sentinel);\n \tn.succ.pred = n.pred;\n \tn.pred.succ = n.succ;\n \tsize--;\n \treturn n.data;\n }",
"@Override\n public void undo() {\n node.toggleBoundaryMarker();\n }",
"private void deleteNode(Node n) {\n n.next.pre = n.pre;\n n.pre.next = n.next;\n }",
"@Override\n\tpublic Node removeNode() {\n\t\tif(isEmpty())\n\t\t\treturn null;\n\t\t// BreadthFirstSearch using a queue, first in first out principle\n\t\treturn frontier.removeFirst();\n\t}",
"public void remove() {\r\n // rather than going through replace(), just reinitialize the StyledText,\r\n // letting the old data structures fall on the floor\r\n fCharBuffer = new CharBuffer();\r\n fStyleBuffer = new StyleBuffer(this, AttributeMap.EMPTY_ATTRIBUTE_MAP);\r\n fParagraphBuffer = new ParagraphBuffer(fCharBuffer);\r\n fTimeStamp += 1;\r\n fDamagedRange[0] = fDamagedRange[1] = 0;\r\n }",
"public void removeAtFront(){\r\n\t head = head.getLink();\r\n\t cursor = head; \r\n\t precursor = null; \r\n\t \r\n\t manyNodes--;\r\n }",
"@Test\n public void remove_BST_0_CaseRootLeafLeft()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(2);\n No no = new No(1);\n \n bst.insert(root, root);\n //bst.printTree();\n \n bst.insert(root, no);\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(new Integer(2), bst.size());\n assertEquals(no, bst.remove(no));\n assertEquals(new Integer(1), bst.size());\n //bst.printTree();\n }",
"public void removeNodeAfterThis() {\r\n\t\tif ( link != null ) {\r\n\t\t\tlink = link.link;\r\n\t\t} // end precondition\r\n\t}",
"private void deNude() throws IOException {\r\n if (this.isNude) {\r\n writer.write('>');\r\n if (peekElement().hasChildren) writer.write('\\n');\r\n this.isNude = false;\r\n }\r\n }",
"public void nodeUnselected(ITreeNode node, ITree tree,boolean needNotifier);",
"protected void notifyChildRemoval(FONode node) {\n //nop\n }",
"@Override public List<Node> visitText(@NotNull XQueryParser.TextContext ctx) {\n\t\tfor(int i = 0; i < r.size(); ){\n\t\t\tif(r.get(i).getNodeType() != Node.TEXT_NODE ){\n\t\t\t\tr.remove(i);\n\t\t\t} else i++;\n\t\t}\n\t\treturn visitChildren(ctx);\n\t}",
"private boolean removeNode(NeuralNode node) {\r\n\t\treturn innerNodes.remove(node);\r\n\t}",
"@Test\n public void remove_BST_1_CaseLeafLeft()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(6);\n No leaf = new No(2);\n \n bst.insert(null, root);\n //bst.printTree();\n \n bst.insert(root, new No(9));\n //bst.printTree();\n \n bst.insert(root, leaf);\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(leaf, bst.remove(leaf));\n assertEquals(new Integer(2), bst.size());\n //bst.printTree();\n }",
"public void remove(){\n if(!isAfterNext)//flag false so next has not been called\n {\n throw new IllegalStateException();\n \n }\n if(position == first){\n removeFirst();//calls LL method because we re an inner class\n \n }\n else{\n previous.next = position.next;// move ref of previou to node after me \n }\n position = previous; \n isAfterNext= false;\n //first call to remove the current position reverts to the predecessor \n //of remove element thus predecessor is no longer known \n }",
"void removeHadithText(Object oldHadithText);",
"public Node removeFromChain();",
"protected void elementRemoved(MutationEvent evt) throws MelodyException {\r\n\t\tsuper.elementRemoved(evt);\r\n\t\t// the removed node\r\n\t\tElement t = (Element) evt.getTarget();\r\n\t\tDUNID tdunid = DUNIDDocHelper.getDUNID(t);\r\n\t\t// its parent node\r\n\t\tElement p = (Element) t.getParentNode();\r\n\t\tDUNID pdunid = DUNIDDocHelper.getDUNID(p);\r\n\t\t// Modify the DUNIDDoc\r\n\t\tDocument d = getOwnerDUNIDDoc(p).getDocument();\r\n\t\tElement tori = DUNIDDocHelper.getElement(d, tdunid);\r\n\t\tDUNIDDocHelper.getElement(d, pdunid).removeChild(tori);\r\n\t\t// Modify the targets descriptor\r\n\t\tif (!areTargetsFiltersDefined()) {\r\n\t\t\t/*\r\n\t\t\t * If there is no targets filters defined, there's no need to modify\r\n\t\t\t * the targets descriptor.\r\n\t\t\t */\r\n\t\t\treturn;\r\n\t\t}\r\n\t\td = getTargetsDescriptor().getDocument();\r\n\t\ttori = DUNIDDocHelper.getElement(d, tdunid);\r\n\t\tif (tori != null) { // removed node is in the targets descriptor\r\n\t\t\tDUNIDDocHelper.getElement(d, pdunid).removeChild(tori);\r\n\t\t}\r\n\t}",
"@Override\n public void removeHighlight()\n {\n }",
"public HuffmanTreeNode<T> removeNext() {\r\n HuffmanTreeNode<T> deleted = super.removeElement();\r\n length--;\r\n return deleted;\r\n }",
"private void removeFromModel(DefaultMutableTreeNode node, DefaultTreeModel model) {\n \t\tmodel.removeNodeFromParent(node);\n \t\tnodeTable.remove(node.getUserObject()); \n \t}",
"@Test\n public void remove_BST_0_CaseRootOneChildren()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(20);\n bst.insert(null, root);\n bst.insert(root, new No(10));\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(root, bst.remove(root));\n assertEquals(new Integer(1), bst.size());\n //bst.printTree();\n }",
"private RBNode<T> removeMin(RBNode<T> node){\n //find the min node\n RBNode<T> parent = node;\n while(node!=null && node.getLeft()!=null){\n parent = node;\n node = node.getLeft();\n }\n //remove min node\n if(parent==node){\n return node;\n }\n\n parent.setLeft(node.getRight());\n setParent(node.getRight(),parent);\n\n //don't remove right pointer,it is used for fixed color balance\n //node.setRight(null);\n return node;\n }",
"private Node caseNoChildren(Node deleteThis) {\r\n\r\n Node parent = deleteThis.getParent();\r\n\r\n if (parent == null) {\r\n this.root = null; // Kyseessä on juuri\r\n return deleteThis;\r\n }\r\n if (deleteThis == parent.getLeft()) {\r\n parent.setLeft(null);\r\n } else {\r\n parent.setRight(null);\r\n }\r\n return deleteThis;\r\n }",
"public void deselectFocusedNode(){\r\n \tfocusOut();\r\n }",
"@Override\r\n public void remove() {\n Node current = exp.head;\r\n if( current.next == null ){\r\n exp.head = null;\r\n }\r\n\r\n while( current.next.next != null ){\r\n current = current.next;\r\n }\r\n current.next = null; // current.next son elemani gosterir.\r\n\r\n }",
"@DISPID(2)\n\t// = 0x2. The runtime will prefer the VTID if present\n\t@VTID(8)\n\tvoid removeChild(@MarshalAs(NativeType.VARIANT) java.lang.Object node);",
"private void adjustColorsRemoval(BSTNode node, boolean b) {\n\t\tif (node != null) {\n\t\t\tBSTNode son;\n\t\t\tif (b)\n\t\t\t\tson = node.getRight();\n\t\t\telse\n\t\t\t\tson = node.getLeft();\n\t\t\tif (son.getColor() == Color.RED) {\n\t\t\t\tson.setColor(Color.BLACK);\n\t\t\t\tnode.setColor(Color.RED);\n\t\t\t\tif (b)\n\t\t\t\t\tleftRotation(node, son);\n\t\t\t\telse\n\t\t\t\t\trightRotation(node, son);\n\t\t\t\tadjustColorsRemoval(node, b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif((son.getLeft() == null || son.getLeft().getColor() == Color.BLACK) && (son.getRight() == null || son.getRight().getColor() == Color.BLACK)) {\n\t\t\t\t\t\tson.setColor(Color.RED);\n\t\t\t\t\t\tif (node.getColor() == Color.RED)\n\t\t\t\t\t\t\tnode.setColor(Color.BLACK);\n\t\t\t\t\t\telse if (node != root)\n\t\t\t\t\t\t\tadjustColorsRemoval(node.getParent(), node.getKey() < node.getParent().getKey());\n\t\t\t\t}\n\t\t\t\telse if (b) {\n\t\t\t\t\tif (son.getRight() == null || son.getRight().getColor() == Color.BLACK) {\n\t\t\t\t\t\tson.setColor(Color.RED);\n\t\t\t\t\t\tson.getLeft().setColor(Color.BLACK);\n\t\t\t\t\t\trightRotation(son, son.getLeft());\n\t\t\t\t\t\tadjustColorsRemoval(node, true);\n\t\t\t\t\t}\n\t\t\t\t\telse if (son.getRight().getColor() == Color.RED) {\n\t\t\t\t\t\tson.setColor(node.getColor());\n\t\t\t\t\t\tnode.setColor(Color.BLACK);\n\t\t\t\t\t\tson.getRight().setColor(Color.BLACK);\n\t\t\t\t\t\tleftRotation(node, son);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (son.getLeft() == null || son.getLeft().getColor() == Color.BLACK) {\n\t\t\t\t\t\tson.setColor(Color.RED);\n\t\t\t\t\t\tson.getRight().setColor(Color.BLACK);\n\t\t\t\t\t\tleftRotation(son, son.getRight());\n\t\t\t\t\t\tadjustColorsRemoval(node, false);\n\t\t\t\t\t}\n\t\t\t\t\telse if (son.getLeft().getColor() == Color.RED) {\n\t\t\t\t\t\tson.setColor(node.getColor());\n\t\t\t\t\t\tnode.setColor(Color.BLACK);\n\t\t\t\t\t\tson.getLeft().setColor(Color.BLACK);\n\t\t\t\t\t\trightRotation(node, son);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"abstract void removeNodeReferences(Node<T> node);",
"private Node removeChildNodes(Node node) throws TransformerException {\r\n\r\n NodeList children = node.getChildNodes();\r\n int index = 0;\r\n int length = children.getLength();\r\n\r\n for (index = 0; index < length; index++) {\r\n Node n = children.item(index);\r\n String nString = nodeToString(n);\r\n\r\n // for(Node n : node.getChildNodes()){\r\n if (n != null) {\r\n if (n.hasChildNodes()) {// edit to remove children of children\r\n removeChildNodes(n);\r\n node.removeChild(n);\r\n } else\r\n node.removeChild(n);\r\n }\r\n }\r\n String nodeString = nodeToString(node);\r\n return node;\r\n }",
"public void removed()\n {\n if (prev == null) {\n IBSPColChecker.setNodeForShape(shape, next);\n }\n else {\n prev.next = next;\n }\n\n if (next != null) {\n next.prev = prev;\n }\n }",
"private void Clean(){\n \t NodeIterable nodeit = graphModel.getGraph().getNodes();\n \t\n \t for (Node node : nodeit) {\n\t\t\t\n \t\t \n \t\t \n\t\t}\n \t\n }",
"private void removeRedundantGreyTable()\r\n \t{\r\n \t\tdeleteNodes(XPath.GREY_TABLE.query);\r\n \t}",
"protected void xremove(Node<T> u) {\n\t\tif (u == r) {\n\t\t\tremove();\n\t\t} else {\n\t\t\tif (u == u.parent.left) {\n\t\t\t\tu.parent.left = nil;\n\t\t\t} else {\n\t\t\t\tu.parent.right = nil;\n\t\t\t}\n\t\t\tu.parent = nil;\n\t\t\tr = merge(r, u.left);\n\t\t\tr = merge(r, u.right);\n\t\t\tr.parent = nil;\n\t\t\tn--;\n\t\t}\n\t}",
"@Override\n public void remove(int offs, int len) throws BadLocationException {\n super.remove(offs, len);\n String text = super.getText(0, super.getLength());\n if(text != null && !text.equals(\"\")){\n this.edge.setWeight(Integer.parseInt(text));\n } else {\n this.edge.setWeight(0);\n }\n }",
"public void removeHead() {\n\t\t\tif (length != 0)\n\t\t\t{ \n\t\t ElementDPtr save = head.getNext();\n\t\t head = head.getNext();\n\t\t\thead.setPrev(null);\n\t\t\thead.setNext(save.getNext());\n\t\t\tlength -= 1;\n\t\t\tSystem.out.println(tail.getPrev().getValue() + \" removeB \" + length);\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}",
"public void removeCurrent( )\r\n {\r\n if(isCurrent() != true){\r\n \t throw new IllegalStateException (\"no current element\");// Implemented by student.\r\n }\r\n else{ \r\n if(precursor != null){\r\n \t precursor.removeNodeAfter();\r\n if(cursor.getLink() == null){\r\n \t\r\n \t cursor = null;\r\n \t tail = precursor;\r\n }\r\n else{\r\n \tprecursor = cursor; \r\n cursor = cursor.getLink();\r\n }\r\n \t \r\n }\r\n else{\r\n \thead = head.getLink();\r\n cursor = head;\r\n }\r\n manyNodes--; \r\n }\r\n \t\r\n }",
"public @Override E remove(int i) {\n \treturn removeNode(getNode(i));\n }",
"public void removeNode (int id)\r\n {\r\n uNodes.remove(id); //hard remove; See undo/redo/History.java\r\n }",
"private void removeNode(Node<E> node) {\n node.prev.next = node.next;\n node.next.prev = node.prev;\n }",
"void removeNode(ANode<T> a) {\n return;\n }",
"void removeHasNodeID(Integer oldHasNodeID);",
"public void prune() {\n this.getTree().prune();\n }",
"protected void removeFixup(Node<T> u) {\n\t\twhile (u.colour > black) {\n\t\t\tif (u == r) {\n\t\t\t\tu.colour = black;\n\t\t\t} else if (u.parent.left.colour == red) {\n\t\t\t\tu = removeFixupCase1(u);\n\t\t\t} else if (u == u.parent.left) {\n\t\t\t\tu = removeFixupCase2(u);\n\t\t\t} else {\n\t\t\t\tu = removeFixupCase3(u);\n\t\t\t}\n\t\t}\n\t\tif (u != r) { // restore left-leaning property if needed\n\t\t\tNode<T> w = u.parent;\n\t\t\tif (w.right.colour == red && w.left.colour == black) {\n\t\t\t\tflipLeft(w);\n\t\t\t}\n\t\t}\n\t}",
"public void DoRemoveFromNest(Holdable p);",
"public void delete(E data){\n \t// Preform a regular delete\n \t// Check to make sure the tree remains an RBT tree\n\tNode<E> z = search(data);\n\tNode<E> x = sentinel;\n\tNode<E> y = z;\n\tCharacter y_original_color = y.getColor();\n\tif (z.getLeftChild() == sentinel) {\n\t\tx = z.getRightChild();\n\t\ttransplant(z, z.getRightChild());\n\t} else if (z.getRightChild() == sentinel) {\n\t\tx = z.getLeftChild();\n\t\ttransplant(z, z.getLeftChild());\n\t} else {\n\t\ty = getMin(z.getRightChild());\n\t\ty_original_color = y.getColor();\n\t\tx = y.getRightChild();\n\t\tif (y.getParent() == z) {\n\t\t\tx.setParent(y);\n\t\t} else {\n\t\t\ttransplant(y, y.getRightChild());\n\t\t\ty.setRightChild(z.getRightChild());\n\t\t\ty.getRightChild().setParent(y);\n\t\t}\n\t\t\n\t\ttransplant(z, y);\n\t\ty.setLeftChild(z.getLeftChild());\n\t\ty.getLeftChild().setParent(y);\n\t\ty.setColor(z.getColor());\n\t}\n\t\n\tif (y_original_color == 'B') {\n\t\tfixDelete(x);\n\t}\n\t\t\n \n }",
"private void delete(Node next) {\n\t\t\n\t}",
"private T remove(Node<T> rm_node) {\n //if(node.previous == null) return removeFirst(); //If its a first node to remove.\n //if(node.next == null) return removeLast(); //If it's last node to remove.\n\n rm_node.next.previous = rm_node.previous; //pointing deleting nodes next element to deleting nodes prev. 3 <--- 4 ---> 5\n rm_node.previous.next = rm_node.next; //pointing deleting nodes prev element to deleting nodes next. deleting 4\n\n T data = rm_node.data; //to return deleted node data.\n\n rm_node.data = null;\n rm_node = rm_node.previous = rm_node.next = null; //Clearing node\n --size;\n\n return data;\n }",
"@Test\n public void remove_BST_0_CaseRoot()\n {\n BinarySearchTree bst = new BinarySearchTree();\n No root = new No(6);\n bst.insert(null, root);\n bst.insert(root, new No(2));\n bst.insert(root, new No(9));\n //bst.printTree();\n //System.err.println(); // Print[ERR] Devido a prioridade do buffer de impressao (out, err)\n \n assertEquals(root, bst.remove(root));\n assertEquals(new Integer(2), bst.size());\n //bst.printTree();\n }",
"public void remove(Node node) {\n\t\tNode cloneNode = node;\n\t\tint index = indexOf(cloneNode.block);\n\t\tif (index != (-1)){\n\t\t\tgetNode(index - 1).next = cloneNode.next;\n\t\t\tgetNode(index + 1).previous = cloneNode.previous;\n\t\t\tsize--;\n\t\t\t\n\t\t}\n\t}",
"private void backToParent(){\n\t\tList<Node> tmp = new ArrayList<Node>();\n\t\t\n\t\tfor(int i = 0; i < r.size(); i++){\n\t\t\tif(r.get(i).getNodeType() == Node.ATTRIBUTE_NODE){\n\t\t\t\tNode localNode = ((Attr)r.get(i)).getOwnerElement();\n\t\t\t\tif(localNode != null)\n\t\t\t\t\ttmp.add(localNode);\n\t\t\t} else {\n\t\t\t\tNode localNode = r.get(i).getParentNode();\n\t\t\t\tif(localNode != null && localNode.getNodeType() != Node.DOCUMENT_NODE && !listContainsElement(tmp, localNode)){\n\t\t\t\t\ttmp.add(localNode);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tr = tmp;\n\t}",
"public void remove() {\n\n\t\t\tsuprimirNodo(anterior);\n\n\t\t}",
"private void removeNode(Node node){\n\n if (node.pre == null) {\n this.head = node.next;\n } else {\n node.pre.next = node.next;\n }\n\n if (node.next == null) {\n this.end = node.pre;\n } else {\n node.next.pre = node.pre;\n } \n }",
"private void handleRemoval(final Block block, WorldChunk chunk) {\n\t\tint x = block.getX();\n\t\tint y = block.getY();\n\t\tint z = block.getZ();\n\t\tCrop crop = chunk.getCrop(x, y, z);\n\t\tSapling sapling = chunk.getSapling(x, y, z);\n\t\tTreeComponent treeComponent = chunk.getTreeComponent(x, y, z);\n\t\tif (crop != null) {\n\t\t\tcrop.setRemoved();\n\t\t}\n\t\tif (sapling != null) {\n\t\t\tsapling.setRemoved();\n\t\t}\n\t\tif (treeComponent != null) {\n\t\t\tTree tree = CropControl.getDAO().getTree(treeComponent);\n\t\t\t\n\t\t\ttreeComponent.setRemoved();\n\t\t\t\n\t\t\tif (CropControl.getDAO().getTreeComponents(treeComponent.getTreeID()).isEmpty()) {\n\t\t\t\ttree.setRemoved();\n\t\t\t}\n\t\t}\n\t}",
"private void makeInvalidNode(final Document doc) {\n Element element;\n\n // create INVALID-textnode in DOM tree\n element = doc.createElement(\"mi\");\n element.setAttribute(\"mathcolor\", \"#F00\");\n element.appendChild(doc.createTextNode(\"#\"));\n\n if (this.getNode().getParentNode() == null) {\n doc.replaceChild(element, this.getNode());\n } else {\n this.getNode().getParentNode()\n .replaceChild(element, this.getNode());\n }\n\n // remove bi-subtree\n this.setNode(element);\n this.child = null;\n this.invalid = true;\n }",
"@Override\n protected boolean removeChanceNode() {\n\n Node candidateToReduce;\n Node candidateToRemove;\n Node nodeToRemove;\n String operation;\n int i;\n NodeList children;\n Node valueNodeToReduce;\n\n NodeList chancesID;\n boolean removed = false;\n Node nodeUtil = null;\n\n\n\n\n // Obtain the value node \n\n //sv = ((IDWithSVNodes) diag).getTerminalValueNode();\n\n //diag.save(\"debug-mediastinet.elv\");\n\n //List of chance nodes in the diagram\n chancesID = diag.getNodesOfKind(Node.CHANCE);\n\n for (i = 0; (i < chancesID.size()) && removed == false; i++) {\n\n candidateToRemove = chancesID.elementAt(i);\n\n //Check if the candidaToRemove can be removed\n if (isRemovableChance(candidateToRemove)) {\n\n nodeToRemove = candidateToRemove;\n children = nodeToRemove.getChildrenNodes();\n //Reduce value nodes if it's necessary\n\n if (children.size() > 1) {\n //We have to reduce\n candidateToReduce = getCandidateValueNodeToReduceForChanceNode(nodeToRemove);\n\n //valueNodeToReduce =\tobtainValueNodeToReduce(reachableParents);\n valueNodeToReduce = obtainValueNodeToReduce(nodeToRemove, candidateToReduce);\n ReductionAndEvalID.reduceNode(\n (IDWithSVNodes) diag,\n valueNodeToReduce);\n nodeUtil = valueNodeToReduce;\n operation = \"Reduce: \" + nodeUtil.getName() + \" to eliminate: \" + nodeToRemove.getName();\n System.out.println(operation);\n statistics.addOperation(operation);\n\n indexOperation++;\n try {\n diag.save(\"debug-operation-\" + indexOperation + \".elv\");\n } catch (IOException ex) {\n Logger.getLogger(ArcReversalSV.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else {\n //The chance has only one child (utility)\n nodeUtil = children.elementAt(0);\n\n }\n\n\n String auxName = candidateToRemove.getName();\n operation = \"Chance node removal: \" + auxName;\n System.out.println(operation);\n statistics.addOperation(operation);\n\n //Add the name of the node to 'orderOfElimination'\n ((PropagationStatisticsID) statistics).addNameToOrderOfElimination(auxName);\n\n // The relation of the utility node is modified. In this \n // case the parents of the node to remove will be parents \n // of the utility node \n\n modifyUtilityRelation(nodeUtil, nodeToRemove, true);\n\n // Calculate the new expected utility \n getExpectedUtility(nodeUtil, nodeToRemove);\n\n // The node is deleted \n\n diag.removeNodeOnly(nodeToRemove);\n\n//\t\t\t\tStore the size of the diagram\n\n statistics.addSize(diag.calculateSizeOfPotentials());\n\n statistics.addTime(crono.getTime());\n\n indexOperation++;\n try {\n diag.save(\"debug-operation-\" + indexOperation + \".elv\");\n } catch (IOException ex) {\n Logger.getLogger(ArcReversalSV.class.getName()).log(Level.SEVERE, null, ex);\n }\n // Set removed \n removed = true;\n\n }\n }//for\n return removed;\n }",
"boolean removeNode(N node);"
] | [
"0.6600848",
"0.6476621",
"0.6189994",
"0.61117285",
"0.6069311",
"0.6045243",
"0.5986487",
"0.59758687",
"0.59701234",
"0.596938",
"0.59609413",
"0.59568995",
"0.590679",
"0.58946574",
"0.5881212",
"0.5880835",
"0.58318913",
"0.581703",
"0.57939804",
"0.57915914",
"0.57558686",
"0.5745417",
"0.5704509",
"0.56762946",
"0.56644654",
"0.56547284",
"0.5646325",
"0.5628458",
"0.5613863",
"0.5612222",
"0.5581091",
"0.55697733",
"0.55639046",
"0.55636114",
"0.55621547",
"0.5556243",
"0.5549838",
"0.55272853",
"0.5527207",
"0.55214685",
"0.5517509",
"0.5508378",
"0.550396",
"0.5495644",
"0.54885125",
"0.5484617",
"0.5470784",
"0.54703414",
"0.54638547",
"0.5460445",
"0.5460148",
"0.54583824",
"0.54508877",
"0.54431975",
"0.5436425",
"0.5432255",
"0.5428922",
"0.54281175",
"0.5423509",
"0.54225516",
"0.54213554",
"0.54193854",
"0.54173934",
"0.5402883",
"0.54026514",
"0.5401865",
"0.5396718",
"0.5394142",
"0.53922945",
"0.5389042",
"0.53747034",
"0.53704464",
"0.53691584",
"0.53642815",
"0.53572595",
"0.5350166",
"0.534314",
"0.53375936",
"0.5335219",
"0.5332373",
"0.5330151",
"0.53221637",
"0.53186464",
"0.53171545",
"0.53120816",
"0.531148",
"0.5304088",
"0.53037506",
"0.5301344",
"0.52999634",
"0.52989024",
"0.5294408",
"0.52929676",
"0.52902246",
"0.5281926",
"0.5277929",
"0.52775586",
"0.5275047",
"0.52678895",
"0.52631164"
] | 0.5415868 | 63 |
Log.d(TAG, "MyOnKeyListener=== keyCode:" + keyCode + " === event:" + event + " === v.getId():" + v.getId()); | @Override
public boolean onKey(View v, int keyCode, KeyEvent event) {
switch (event.getAction()) {
case KeyEvent.ACTION_UP: // 键盘松开
break;
case KeyEvent.ACTION_DOWN: // 键盘按下
if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) {
int id = v.getId();
if (id == R.id.vd_bg_10 || id == R.id.vd_bg_11 || id == R.id.vd_bg_12 || id == R.id.vd_bg_13) {
if (mCallback != null){
mCallback.replaceFragment(2, 3);
}
return true;
}
}else if (keyCode == KeyEvent.KEYCODE_DPAD_UP) {
int id = v.getId();
if (id == R.id.vd_bg_0 || id == R.id.vd_bg_1 ) {
if (mCallback != null) {
mCallback.replaceFragment(2, 1);
}
return true;
}
}
break;
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void keyPressed( KeyEvent e ) { }",
"@Override\n\tpublic void onKey(KeyEvent e) {\n\n\t}",
"public void keyPressed(KeyEvent e) { }",
"@Override\r\n public void keyPressed(KeyEvent e) {\n\r\n }",
"@Override\n public void onKeyPressed(KeyEvent event) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n\n }",
"@Override\r\n public void addListener(KeyListener listener) {\n }",
"@Override\r\n\tpublic boolean onKeyDown(int keyCode, KeyEvent event) {\n\t\tLog.d(TAG, \"onKeyDown===\"+event.getKeyCode()+\"\");\r\n\t\treturn super.onKeyDown(keyCode, event);\r\n\t}",
"public void captureKeyListener() {\n // retrive the edittext component\n mEdit = (EditText) findViewById(R.id.task_input);\n \n // add a keylistener to keep track user input\n mEdit.setOnKeyListener(new OnKeyListener(){\n public boolean onKey(View v, int keyCode, KeyEvent event) { \n if ((event.getAction() == KeyEvent.ACTION_DOWN) && (keyCode == KeyEvent.KEYCODE_ENTER)) \n {\n task = mEdit.getText().toString();\n status = 0;\n onClick_AddRecord(v, task, status);\n mEdit.setText(\"\");\n return true;\n }\n return false;\n }\n });\n }",
"@Override\n\tpublic boolean onKeyDown(int keyCode, KeyEvent event) {\n\t\tLog.d(\"UI\", String.format(\"onKeyDown[%d]\",keyCode ));\n\t\treturn super.onKeyDown(keyCode, event);\n\t}",
"@Override\n public void keyPressed(KeyEvent e) {\n\n\n }",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\r\n\t}",
"public void keyPressed(KeyEvent e) {}",
"@Override\n\tpublic void onKeyUp(int keyCode, KeyEvent event) {\n\t\t\n\t}",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public boolean onKeyDown(int keyCode, KeyEvent event) {\n return super.onKeyDown(keyCode, event);\n }",
"@Override\n\tpublic boolean onKeyDown(int keyCode, KeyEvent event) {\n\t\tLogUtil.log(\"onKeyDown:\" + keyCode);\n\t\treturn super.onKeyDown(keyCode, event);\n\t}",
"@Override\n public void keyPressed(KeyEvent e) {}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void keyPressed(KeyEvent e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}",
"@Override\r\n public void keyPressed(KeyEvent e) {\n \r\n }",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\t}",
"public void keyPressed(KeyEvent e) {\n\r\n\t}",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\r\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\n\t}",
"void addKeyListener(KeyListener kl);",
"@Override\r\n public void keyPressed(KeyEvent ke) {\n }",
"@Override\n public void keyboardAction( KeyEvent ke )\n {\n \n }",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\n\t}",
"@Override\n public void keyPressed(KeyEvent e) {\n \n \n }",
"public void keyPressed(KeyEvent e) {\n \n }",
"public void keyPressed(KeyEvent e) {\n \n }",
"public void keyPressed(KeyEvent e) {\n \n }",
"@Override\n public void keyPressed(KeyEvent e) {\n }",
"@Override\n public void keyReleased(KeyEvent e) {\n\n }",
"public void keyPressed(KeyEvent e) {\n System.out.println(\"keyPressed\");\n }",
"public void keyPressed(KeyEvent e) \r\n { \r\n keyUser = e.getKeyCode();\r\n }",
"public void key(){\n }",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\t\t\n\t}",
"public void onKeyPress(Widget sender, char keyCode, int modifiers) {\n }",
"public void setKeyListener(QReceiver keypadif){\n this.keypadif=keypadif;\n }",
"@Override\n public boolean onKey(View v, int keyCode, android.view.KeyEvent event) {\n if (event.getAction() == android.view.KeyEvent.ACTION_MULTIPLE) return false;\n\n synchronized (this) {\n KeyEvent keyEvent = keyEventPool.newObject();\n keyEvent.keyCode = keyCode;\n keyEvent.keyChar = (char)event.getUnicodeChar();\n\n if (event.getAction() == android.view.KeyEvent.ACTION_DOWN) {\n keyEvent.type = KeyEvent.KEY_DOWN;\n if (keyCode > 0 && keyCode < 127) {\n pressedKeys[keyCode] = true;\n }\n }\n\n if (event.getAction() == android.view.KeyEvent.ACTION_UP) {\n keyEvent.type = KeyEvent.KEY_UP;\n if (keyCode > 0 && keyCode < 127) {\n pressedKeys[keyCode] = false;\n }\n }\n\n keyEventsBuffer.add(keyEvent);\n }\n return false;\n }",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void keyPressed(KeyEvent e) {\n\t\t\r\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\n\t}",
"@Override\n\tpublic void keyPressed(KeyEvent arg0) {\n\n\t}",
"void keyPressed(int keyCode);",
"@Override\n\tpublic void keyPressed(KeyEvent arg0)\n\t{\n\t\t\n\t}",
"public void handleKeyEvent(int id, int keyCode, char keyChar, int modifier) { }",
"@Override\r\n\tpublic boolean onKeyDown(int keyCode, KeyEvent event) {\n\t\treturn super.onKeyDown(keyCode, event);\r\n\t}",
"@Override\r\n public void keyPressed(KeyEvent e) {\r\n\r\n }",
"@Override\r\n\tpublic void keyPressed(KeyEvent arg0) {\r\n\t}",
"@Override\r\n public void keyTyped(KeyEvent e) {\n\r\n }",
"@Override\r\n public void keyTyped(KeyEvent e) {\n\r\n }",
"@Override\r\n public void keyReleased\r\n (KeyEvent ke\r\n \r\n \r\n \r\n \r\n\r\n) {\n }",
"@Override\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override public boolean onKeyDown(int keyCode, KeyEvent event) {\n \tint c = (event.getUnicodeChar());\n \tLog.i(\"main\", \"onKeyDown \" + keyCode + \" = \" + (char)c);\n \tif(keyCode == KeyEvent.KEYCODE_MENU){\n \t\tshowMenu();\n \t\treturn true;\n \t}\n \t\n \tif(c > 48 && c < 57 || c > 96 && c < 105){\n \t\t_keyboardBuffer += (\"\" + (char)c);\n \t}\n \tif(_keyboardBuffer.length() >= 2){\n \t\tLog.i(\"main\", \"handleClickFromPositionString \" + _keyboardBuffer); \n \t\t_chessView.handleClickFromPositionString(_keyboardBuffer);\n \t\t_keyboardBuffer = \"\";\n \t}\n \t/*\n switch (keyCode) {\n case KeyEvent.KEYCODE_DPAD_CENTER:\n \t_chessView.dpadSelect();\n return true;\n case KeyEvent.KEYCODE_DPAD_DOWN:\n \t_chessView.dpadDown();\n return true;\n case KeyEvent.KEYCODE_DPAD_LEFT:\n \t_chessView.dpadLeft();\n return true;\n case KeyEvent.KEYCODE_DPAD_RIGHT:\n \t_chessView.dpadRight();\n return true;\n case KeyEvent.KEYCODE_DPAD_UP:\n \t_chessView.dpadUp();\n return true;\n }\n */\n return super.onKeyDown(keyCode, event);\n }",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}"
] | [
"0.7015292",
"0.6935596",
"0.6814736",
"0.67924803",
"0.6789451",
"0.6763805",
"0.6763805",
"0.67367274",
"0.6732693",
"0.67009616",
"0.66967785",
"0.6657096",
"0.66498905",
"0.66498905",
"0.6648481",
"0.66398",
"0.6618539",
"0.6618539",
"0.6618539",
"0.66128933",
"0.6612005",
"0.6600151",
"0.65832937",
"0.65832937",
"0.65832937",
"0.65832937",
"0.65832937",
"0.65832937",
"0.65832937",
"0.6574417",
"0.6571091",
"0.65612745",
"0.65485626",
"0.6547295",
"0.6547295",
"0.6547295",
"0.6547295",
"0.6547295",
"0.6547295",
"0.6547295",
"0.6547295",
"0.65445",
"0.65267193",
"0.65224135",
"0.65224135",
"0.6517164",
"0.6517164",
"0.6517164",
"0.6517164",
"0.65162456",
"0.64916694",
"0.64915603",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.64890623",
"0.6474984",
"0.645336",
"0.645336",
"0.645336",
"0.644889",
"0.6443311",
"0.64429504",
"0.64158654",
"0.6411506",
"0.64060897",
"0.64060897",
"0.64060897",
"0.64060897",
"0.64045656",
"0.6398314",
"0.6394915",
"0.639199",
"0.639199",
"0.639199",
"0.639199",
"0.638891",
"0.638891",
"0.638891",
"0.638891",
"0.6366471",
"0.63606846",
"0.63552564",
"0.635495",
"0.6353995",
"0.6339035",
"0.63288563",
"0.63288563",
"0.63250554",
"0.63212717",
"0.63212717",
"0.63212717",
"0.63170266",
"0.6300992",
"0.6300992",
"0.6300992"
] | 0.0 | -1 |
Get the id property: Customization policy azure id. | public String id() {
return this.id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }",
"public String getID(){\n return this.getKey().getTenantId(this.getTenantName());\n }",
"String getIdentityId();",
"@JsonProperty(\"id\")\n@ApiModelProperty(example = \"123e4567-e89b-12d3-a456-556642440000\", value = \"Unique identifier for virtual instance.\")\n public String getId() {\n return id;\n }",
"@ZAttr(id=1)\n public String getId() {\n return getAttr(Provisioning.A_zimbraId, null);\n }",
"@JsonProperty(\"id\")\n@ApiModelProperty(example = \"rockset\", value = \"Unique identifier for the organization.\")\n public String getId() {\n return id;\n }",
"@ApiModelProperty(value = \"The Intrinio ID for Security\")\n public String getId() {\n return id;\n }",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"java.lang.String getId();",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Define the identifier for the task.\")\n @JsonProperty(JSON_PROPERTY_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getId() {\n return id;\n }",
"public String managedIdentityResourceId() {\n return this.managedIdentityResourceId;\n }",
"public final int getId() {\n\t\treturn JsUtils.getNativePropertyInt(this, \"id\");\n\t}",
"public String getOid() {\n return getProperty(Property.OID);\n }",
"public Integer getId() {\n return id.get();\n }",
"java.lang.String getAoisId();",
"@ZenCodeType.Method\n default byte getId() {\n \n return getInternal().getId();\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"java.lang.String getCustomerId();",
"java.lang.String getCustomerId();",
"public Long getId() {\n return this.id.get();\n }",
"@Nonnull\n String getId();",
"public final String getId() {\n return id;\n }",
"@JsonProperty(\"id\")\n @JsonInclude(JsonInclude.Include.NON_DEFAULT)\n public String getId() {\n return this.id;\n }",
"public UUID getID() {\r\n if(!getPayload().has(\"id\")) return null;\r\n return UUID.fromString(getPayload().getString(\"id\"));\r\n }",
"public Integer getId() {\n return (Integer) get(\"id\");\n }",
"public Long getId()\n\t{\n\t\treturn (Long) this.getKeyValue(\"id\");\n\n\t}",
"public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}",
"@NonNull\n String getId();",
"@javax.annotation.Nullable\n public String getId() {\n return id;\n }",
"public final String getId() {\r\n\t\treturn id;\r\n\t}",
"@NonNull\n public final synchronized String getId() {\n if (id == null) {\n id = UUID.randomUUID().toString();\n }\n return id;\n }",
"public final String getIdAttribute() {\n return getAttributeValue(\"id\");\n }",
"public int getId() {\n if (!this.registered)\n return -1;\n return id;\n }",
"public Long getResourceId(){\n return id;\n }",
"public String getId() {\n int result;\n result = (key != null ? key.hashCode() : 0);\n result = 31 * result + (overridable ? 1 : 0);\n result = 31 * result + (value != null ? value.hashCode() : 0);\n result = 31 * result + (set ? 1 : 0);\n if (result < 0)\n result = result * -1;\n return String.valueOf(result);\n }",
"public static String id()\n {\n return _id;\n }",
"public String getId ()\n {\n return id;\n }",
"@ApiModelProperty(value = \"A unique identifier for the object.\")\n public Long getId() {\n return id;\n }",
"@ApiModelProperty(value = \"Unique identifier of token\")\n public Long getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public UUID getId() {\n return id;\n }",
"public UUID getId() {\n return id;\n }",
"public UUID getId() {\n return id;\n }",
"public UUID getId() {\n return id;\n }",
"@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public java.lang.String getId() {\n return id;\n }",
"public Object getId() {\n return id;\n }",
"public Object getId() {\n return id;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"public long getId() {\n return id_;\n }",
"@ApiModelProperty(value = \"Unique identifier of the master account organization\")\n public Long getId() {\n return id;\n }",
"public final Integer getId() {\n\t\treturn this.id;\n\t}",
"public Integer getId () {\n return id;\n }",
"java.lang.String getClientRecordId();",
"public String azureResourceName() {\n return this.azureResourceName;\n }",
"public UUID getId() {\n return id;\n }",
"public UUID getId() {\n return id;\n }",
"@ApiModelProperty(required = true, value = \"Unique identifier of the product\")\n @JsonProperty(\"id\")\n @NotNull\n public String getId() {\n return id;\n }",
"String getMspId();",
"public String getId()\r\n {\r\n return getAttribute(\"id\");\r\n }",
"public String getId () {\n return id;\n }",
"public java.lang.String getId() {\n return _id;\n }",
"public String getPropertyId() {\n return propertyId;\n }",
"String getId();",
"String getId();"
] | [
"0.66673666",
"0.66673666",
"0.66673666",
"0.66673666",
"0.66673666",
"0.66673666",
"0.66673666",
"0.65352625",
"0.6474097",
"0.63411677",
"0.6172288",
"0.6160121",
"0.6136689",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.60241216",
"0.6014579",
"0.6014571",
"0.59962285",
"0.5967691",
"0.5959752",
"0.5957604",
"0.5939469",
"0.59367484",
"0.59094584",
"0.59094584",
"0.5888768",
"0.5877894",
"0.5877612",
"0.5871571",
"0.5860663",
"0.5858804",
"0.58467084",
"0.5845564",
"0.58309066",
"0.58218396",
"0.58003867",
"0.57938516",
"0.5790932",
"0.578",
"0.5770171",
"0.57582974",
"0.5754258",
"0.57508117",
"0.5746597",
"0.57405883",
"0.5740369",
"0.5740369",
"0.5740369",
"0.5739356",
"0.5739356",
"0.5739356",
"0.5739356",
"0.5739248",
"0.5738702",
"0.5738702",
"0.5738702",
"0.57356334",
"0.57356334",
"0.5718743",
"0.5716803",
"0.5716803",
"0.57111657",
"0.57111657",
"0.57111657",
"0.57111657",
"0.57111657",
"0.57111657",
"0.57111657",
"0.57111657",
"0.5708098",
"0.5708021",
"0.57062435",
"0.57057106",
"0.570498",
"0.5704821",
"0.5704821",
"0.5704783",
"0.5704226",
"0.57035506",
"0.5703337",
"0.56978583",
"0.569645",
"0.56962377",
"0.56962377"
] | 0.0 | -1 |
Set the id property: Customization policy azure id. | public CustomizationPolicyInner withId(String id) {
this.id = id;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setId(Object id) {\n this.id = id;\n }",
"public void setId(Object id) {\n this.id = id;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setId(int id) {\n this.id = String.valueOf(this.hashCode());\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setId(String id)\n {\n data().put(_ID, id);\n }",
"public void setId (String id) {\n this.id = id;\n }",
"public void setId(java.lang.String value) {\n this.id = value;\n }",
"public void setId(java.lang.String value) {\n this.id = value;\n }",
"public void setId(java.lang.String value) {\n this.id = value;\n }",
"public void setId(UUID id) {\n this.id = id;\n }",
"public void setID(String id) {\r\n element.setAttributeNS(WSU_NS, WSU_PREFIX + \":Id\", id);\r\n }",
"public void setId(int id_)\n\t{\n\t\tthis.id=id_;\n\t}",
"public void setId(String id) {\n this.id = id;\n }",
"public final void setId(final String id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(UUID id) {\n this.id = id;\n }",
"public void setId(int value) {\r\n this.id = value;\r\n }",
"void setId(int id) {\n this.id = id;\n }",
"public void setId (String id) {\n this.id = id;\n }",
"public void setId (String id) {\n this.id = id;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setId(final java.lang.String id) {\n this.id = id;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(String id) {\r\n this.id = id;\r\n }",
"public void setId(String id) {\r\n this.id = id;\r\n }",
"public void setId( final String id )\r\n {\r\n this.id = id;\r\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n if (this.id == null) {\n this.id = id;\n }\n }",
"public void setId(String id){\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"public void setId(String id) {\n this.id = id;\n }",
"@JsonProperty(\"id\")\n public void setId(String id) {\n this.id = id;\n }",
"@JsonProperty(\"id\")\n public void setId(String id) {\n this.id = id;\n }",
"@JsonProperty(\"id\")\n public void setId(String id) {\n this.id = id;\n }",
"public void setId(java.lang.String id) {\r\n this.id = id;\r\n }",
"public void setId(java.lang.String id) {\r\n this.id = id;\r\n }",
"public void setId(java.lang.String id) {\r\n this.id = id;\r\n }",
"public void setId (java.lang.Integer id) {\r\n this.id = id;\r\n }",
"public void setId(String id)\n {\n this.id = id;\n }",
"public void setId(java.lang.String id) {\n this.id = id;\n }",
"public void setId(java.lang.String id) {\n this.id = id;\n }",
"public void setId(Long id) {\n this.id.set(id);\n }",
"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"public void setId(String id) {\r\n \t\tthis.id = id;\r\n \t}"
] | [
"0.6409498",
"0.6409498",
"0.62969756",
"0.6266113",
"0.6235373",
"0.62007576",
"0.6170779",
"0.61697215",
"0.61697215",
"0.61697215",
"0.6165064",
"0.6161773",
"0.61451954",
"0.6135012",
"0.61342084",
"0.61322224",
"0.61315185",
"0.6121947",
"0.61148554",
"0.61148554",
"0.6109899",
"0.6109899",
"0.6109899",
"0.6109899",
"0.6109899",
"0.6109899",
"0.6109899",
"0.6102549",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.60970825",
"0.6091756",
"0.6082987",
"0.60774267",
"0.607545",
"0.60700256",
"0.60700256",
"0.60700256",
"0.60700256",
"0.60700256",
"0.60700256",
"0.60689074",
"0.6063132",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.6058127",
"0.60568583",
"0.60568583",
"0.60568583",
"0.60480195",
"0.60480195",
"0.60480195",
"0.60468173",
"0.6042009",
"0.6039362",
"0.6039362",
"0.60371953",
"0.6036238",
"0.6036238",
"0.6036238",
"0.6036238",
"0.60278594",
"0.60274667"
] | 0.6558325 | 0 |
Get the location property: Azure region. | public String location() {
return this.location;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"private Location getRegion() {\n Set<? extends Location> locations = blobStore.listAssignableLocations();\n if (!(swiftRegion == null || \"\".equals(swiftRegion))) {\n for (Location location : locations) {\n if (location.getId().equals(swiftRegion)) {\n return location;\n }\n }\n }\n if (locations.size() != 0) {\n return get(locations, 0);\n } else {\n return null;\n }\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return this.region;\n }",
"public java.lang.String getREGION()\n {\n \n return __REGION;\n }",
"public kr.pik.message.Profile.HowMe.Region getRegion() {\n kr.pik.message.Profile.HowMe.Region result = kr.pik.message.Profile.HowMe.Region.valueOf(region_);\n return result == null ? kr.pik.message.Profile.HowMe.Region.UNRECOGNIZED : result;\n }",
"public kr.pik.message.Profile.HowMe.Region getRegion() {\n kr.pik.message.Profile.HowMe.Region result = kr.pik.message.Profile.HowMe.Region.valueOf(region_);\n return result == null ? kr.pik.message.Profile.HowMe.Region.UNRECOGNIZED : result;\n }",
"public String getRegionName() {\n return regionName;\n }",
"public String getRegionName() {\r\n return regionName;\r\n }",
"kr.pik.message.Profile.HowMe.Region getRegion();",
"public String getRegionFullName() {\n return regionFullName;\n }",
"public EnumRegion getRegion()\n {\n return region;\n }",
"public String getStorageRegion() {\n return this.StorageRegion;\n }",
"public Region getRegion() {\n return region;\n }",
"public LocalRegion getRegion() {\n\t\treturn this.region;\n\t}",
"String regionName();",
"String regionName();",
"String regionName();",
"String regionName();",
"IRegion getRegion();",
"public byte [] getRegionName() {\n return regionName;\n }",
"public String getRegionId() {\n return regionId;\n }",
"public String getRegionId() {\n return regionId;\n }",
"public String getRegionId() {\n return regionId;\n }",
"public String getRegionId() {\r\n return regionId;\r\n }",
"@AutoEscape\n public String getRegion();",
"public TypeOfRegion getRegion();",
"java.lang.String getRegionCode();",
"public java.lang.String getRegionname() {\n\treturn regionname;\n}",
"public String getRegionNo() {\n return regionNo;\n }",
"@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<String> getRegion() {\n\t\treturn getSqlMapClientTemplate().queryForList(\"R_ALARM_LOG.getRegion\");\r\n\t}",
"public int getRegionValue() {\n return region_;\n }",
"public long getRegionId() {\r\n return regionId;\r\n }",
"java.lang.String getRegionId();",
"@Nullable public abstract URI region();",
"public int getRegionValue() {\n return region_;\n }",
"public Long getRegionId() {\n return this.regionId;\n }",
"public String getRegionno() {\n return regionno;\n }",
"public NegotiableQuoteAddressRegion getRegion() {\n return (NegotiableQuoteAddressRegion) get(\"region\");\n }",
"public String getRegionid() {\n return regionid;\n }",
"@ApiModelProperty(value = \"The company location associated with the claim.\")\n public DtoValueString getLocation() {\n return location;\n }",
"@HippoEssentialsGenerated(internalName = \"katharsisexampleshippo:location\")\n public String getLocation() {\n return getProperty(LOCATION);\n }",
"public String getOperateRegion() {\r\n return operateRegion;\r\n }",
"public Reference location() {\n return getObject(Reference.class, FhirPropertyNames.PROPERTY_LOCATION);\n }",
"public String getLocationName() {\n\n\t\treturn this.locationName;\n\n\t}",
"public Region getCurrentRegion() {\n\n return currentRegion;\n }",
"public String getLocationName() {\n return locationName;\n }",
"public String getRegion_id() {\n return region_id;\n }",
"@java.lang.Override\n public com.clarifai.grpc.api.utils.Matrix.MatrixUint64 getRegionLocationMatrix() {\n return regionLocationMatrix_ == null ? com.clarifai.grpc.api.utils.Matrix.MatrixUint64.getDefaultInstance() : regionLocationMatrix_;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"us/las\", value = \"Location of that image/snapshot. \")\n\n public String getLocation() {\n return location;\n }",
"@ApiModelProperty(value = \"State/region of IP address\")\n public String getRegionName() {\n return regionName;\n }",
"public String getLocation()\n {\n return location;\n }",
"public java.lang.String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocation() {\r\n return location;\r\n }",
"public java.lang.String getLocation() {\n return location;\n }",
"public String getLocation() {\r\n return location;\r\n }",
"public String getLocation() {\n return location;\n }",
"int getRegionValue();",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return this.location;\n }",
"public String getLocation() {\n return location;\n }",
"public String getLocationArea() {\n return locationArea;\n }",
"public String azureResourceName() {\n return this.azureResourceName;\n }",
"public java.lang.String getRegionId() {\n java.lang.Object ref = regionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regionId_ = s;\n return s;\n }\n }",
"@ApiModelProperty(required = true, value = \"store address and geographical coordinates\")\n @JsonProperty(\"location\")\n public Location getLocation() {\n return location;\n }",
"public java.lang.String getRegionId() {\n java.lang.Object ref = regionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getLocation(){\r\n return location;\r\n }",
"public String getLocation() {\n return this.location;\n }",
"public final String getLocation() {\n return location;\n }",
"public String getLocation(){\r\n return Location;\r\n }",
"public String getLocation() {\r\n\t\treturn location;\r\n\t}",
"static String getRegion(Configuration conf, String defaultRegion)\n throws IOException {\n String region = conf.getTrimmed(S3GUARD_DDB_REGION_KEY);\n if (StringUtils.isEmpty(region)) {\n region = defaultRegion;\n }\n try {\n Regions.fromName(region);\n } catch (IllegalArgumentException | NullPointerException e) {\n throw new IOException(\"Invalid region specified: \" + region + \"; \" +\n \"Region can be configured with \" + S3GUARD_DDB_REGION_KEY + \": \" +\n validRegionsString());\n }\n return region;\n }",
"public String getLocation(){\n return location;\n }",
"Integer getRegionId();",
"public String getLocation() {\r\n\t\treturn location; \r\n\t}",
"public String getLocation() {\n\t\treturn location;\n\t}",
"public String getLocation(){\n return this.location;\n }"
] | [
"0.7229188",
"0.7229188",
"0.72250754",
"0.7194026",
"0.7194026",
"0.7194026",
"0.7194026",
"0.7194026",
"0.71420115",
"0.71420115",
"0.71420115",
"0.7134475",
"0.71011955",
"0.70126975",
"0.6945062",
"0.69369066",
"0.69016266",
"0.68910015",
"0.68901646",
"0.6885316",
"0.6750416",
"0.6713241",
"0.66854817",
"0.66533107",
"0.6649059",
"0.6649059",
"0.6649059",
"0.6649059",
"0.6633449",
"0.6594146",
"0.658215",
"0.658215",
"0.658215",
"0.6566085",
"0.655072",
"0.6530485",
"0.64944005",
"0.64828914",
"0.6451458",
"0.64385796",
"0.64370996",
"0.6418963",
"0.63707453",
"0.6368123",
"0.6367448",
"0.635883",
"0.6355361",
"0.6336648",
"0.62702215",
"0.6242884",
"0.62054056",
"0.619611",
"0.6161265",
"0.61605495",
"0.6102444",
"0.6086421",
"0.6084363",
"0.60752344",
"0.60624915",
"0.60586816",
"0.6034156",
"0.60328615",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.6020652",
"0.60132617",
"0.60127926",
"0.6007631",
"0.6002283",
"0.6000517",
"0.5994534",
"0.5994534",
"0.5994534",
"0.5994534",
"0.5994534",
"0.59848166",
"0.59807336",
"0.5979386",
"0.59721684",
"0.5971736",
"0.5971086",
"0.5970938",
"0.59600043",
"0.5945419",
"0.59450686",
"0.59198743",
"0.59093255",
"0.5908315",
"0.5903155",
"0.5900222",
"0.5896666",
"0.5895985"
] | 0.0 | -1 |
Set the location property: Azure region. | public CustomizationPolicyInner withLocation(String location) {
this.location = location;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setRegion(String region);",
"public void setRegion(Region region) {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setRegion(String region) {\r\n this.region = region;\r\n }",
"public void setRegion(String region) {\r\n this.region = region;\r\n }",
"public void setRegion(String region) {\r\n this.region = region;\r\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region;\n }",
"public void setStorageRegion(String StorageRegion) {\n this.StorageRegion = StorageRegion;\n }",
"public void setRegion(EnumRegion region)\n {\n this.region = region;\n }",
"public void setRegion(String region) {\n this.region = region == null ? null : region.trim();\n }",
"public void setRegion(String region) {\n this.region = region == null ? null : region.trim();\n }",
"public void setRegion(final TypeOfRegion region);",
"public Builder setRegion(String region) {\n try {\n _locbld.setRegion(region);\n } catch (InvalidLocaleIdentifierException e) {\n throw new IllegalArgumentException(e);\n }\n return this;\n }",
"public void setCurrentRegion(Region currentRegion) {\n\n this.currentRegion = currentRegion;\n }",
"interface WithLocation {\n /**\n * Specifies the region for the resource.\n *\n * @param location Specifies the supported Azure location where the job should be created.\n * @return the next definition stage.\n */\n WithCreate withRegion(Region location);\n\n /**\n * Specifies the region for the resource.\n *\n * @param location Specifies the supported Azure location where the job should be created.\n * @return the next definition stage.\n */\n WithCreate withRegion(String location);\n }",
"@Generated\n @Selector(\"setRegion:\")\n public native void setRegion(@NotNull UIRegion value);",
"WithResourceGroup withRegion(String location);",
"WithResourceGroup withRegion(String location);",
"WithResourceGroup withRegion(Region location);",
"WithResourceGroup withRegion(Region location);",
"public Builder setRegion(kr.pik.message.Profile.HowMe.Region value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n region_ = value.getNumber();\n onChanged();\n return this;\n }",
"public void setLocation(Location location) {\n this.location = location;\n }",
"public void setLocation(Location location) {\n this.location = location;\n }",
"public void setLocation(Location location) {\n this.location = location;\n }",
"@Override\n public void setLocation(String location) {\n this.location = location;\n }",
"protected void setLocation(String location){\r\n this.location = location;\r\n }",
"public void testGetSetRegion() {\n exp = new Experiment(\"10\");\n GeoLocation location = new GeoLocation(50.0, 40.0);\n exp.setRegion(location);\n assertEquals(\"get/setRegion does not work\", 50.0, exp.getRegion().getLat());\n assertEquals(\"get/setRegion does not work\", 40.0, exp.getRegion().getLon());\n }",
"WithCreate withRegion(Region location);",
"WithCreate withRegion(Region location);",
"public void setLocation(Location loc) {\n this.location = loc;\n }",
"WithCreate withRegion(String location);",
"WithCreate withRegion(String location);",
"public void setLocation(Resource location) {\n\t\tthis.locations = new Resource[] {location};\n\t}",
"public void setLocation(String location) {\n inputParameters.Location = location;\n\n }",
"public void setLocation(String location);",
"public void setRegion(CoordinateRadius region);",
"public Builder setRegionId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n regionId_ = value;\n onChanged();\n return this;\n }",
"public void setRegionName(String regionName) {\r\n this.regionName = regionName == null ? null : regionName.trim();\r\n }",
"public Builder withRegion(final String region) {\n this.region = region;\n return this;\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public void setLocation(String location) {\r\n this.location = location;\r\n }",
"public void setLocation(String location){\n this.location = location;\n }",
"public void setLocation(String location){\n this.location = location;\n }",
"public void setLocation(Location location) {\r\n\t\tthis.location = location;\r\n\t}",
"public void setLocation(String location) {\r\n this.location = location;\r\n }",
"public void setLocation(Location location) \n\t{\n\t\tthis.location = location;\n\t}",
"public void setLocation(String location)\n {\n this.location = location;\n }",
"public void setRegionId(long regionId) {\r\n this.regionId = regionId;\r\n }",
"public void setRegionFullName(String regionFullName) {\n this.regionFullName = regionFullName == null ? null : regionFullName.trim();\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public void setLocation(String location) {\n this.location = location;\n }",
"public void setRegionManager(final RegionManagerBean injRegionManager) {\n regionManager = injRegionManager;\n }",
"public void setLocation(final String location) {\n this.location = location;\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\r\n return region;\r\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public String getRegion() {\n return region;\n }",
"public void setRegionname(java.lang.String newRegionname) {\n\tregionname = newRegionname;\n}",
"public Builder setRegionValue(int value) {\n region_ = value;\n onChanged();\n return this;\n }",
"void setLocationURI(URI locationURI);",
"public String getRegion() {\n return region;\n }",
"public void setNielsenRegion(\n @Nullable\n final String nielsenRegion) {\n rememberChangedField(\"NielsenRegion\", this.nielsenRegion);\n this.nielsenRegion = nielsenRegion;\n }",
"public void setLocation(String location) {\r\n\t\tthis.location = location;\r\n\t}",
"public void setSiteLocation(URI location) {\n \t\tthis.siteLocation = location;\n \t}",
"public static void setConfigLocation(String location) {\n\t\tconfigLocatiton = location;\n\t\tinitConfig();\n\t}",
"public void setREGION(java.lang.String value)\n {\n if ((__REGION == null) != (value == null) || (value != null && ! value.equals(__REGION)))\n {\n _isDirty = true;\n }\n __REGION = value;\n }",
"public void setC_Region_ID (int C_Region_ID);",
"public void setLocation(String location) {\n\t\tthis.location = location;\n\t}",
"public void setLocation(String location) {\n\t\tthis.location = location;\n\t}",
"public void setLocation(String location) {\n\t\tthis.location = location;\n\t}",
"public String getRegion() {\n return this.region;\n }",
"public void setRegionId(String regionId) {\r\n this.regionId = regionId == null ? null : regionId.trim();\r\n }",
"public ContainerRegistryBlobsCompleteUploadHeaders setLocation(String location) {\n this.location = location;\n return this;\n }",
"public String getRegionName() {\r\n return regionName;\r\n }",
"public void setLocation(URI location)\r\n/* 288: */ {\r\n/* 289:432 */ set(\"Location\", location.toASCIIString());\r\n/* 290: */ }",
"public Builder setRegion(String region) {\n/* 1601 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public String getRegionName() {\n return regionName;\n }",
"public void setLocation(String location){\n mLocation = location;\n loadData();\n }",
"interface WithLocation {\n /**\n * Specifies the region for the resource.\n *\n * @param location The geo-location where the resource lives.\n * @return the next definition stage.\n */\n WithResourceGroup withRegion(Region location);\n\n /**\n * Specifies the region for the resource.\n *\n * @param location The geo-location where the resource lives.\n * @return the next definition stage.\n */\n WithResourceGroup withRegion(String location);\n }",
"interface WithLocation {\n /**\n * Specifies the region for the resource.\n *\n * @param location The geo-location where the resource lives.\n * @return the next definition stage.\n */\n WithResourceGroup withRegion(Region location);\n\n /**\n * Specifies the region for the resource.\n *\n * @param location The geo-location where the resource lives.\n * @return the next definition stage.\n */\n WithResourceGroup withRegion(String location);\n }",
"@Method(selector = \"setRegion:animated:\")\n public native void setRegion(@ByVal MKCoordinateRegion region, boolean animated);",
"public void setProviderRegionId(String id) {\n providerRegionId = id;\n }",
"public void setRegionId(String regionId) {\n this.regionId = regionId == null ? null : regionId.trim();\n }",
"public void setRegionId(String regionId) {\n this.regionId = regionId == null ? null : regionId.trim();\n }",
"public void setRegionId(String regionId) {\n this.regionId = regionId == null ? null : regionId.trim();\n }",
"public String getStorageRegion() {\n return this.StorageRegion;\n }",
"void setOrigination(Locations origination);",
"public void setLocation(entity.PolicyLocation value);"
] | [
"0.6896604",
"0.6829093",
"0.67815095",
"0.6723884",
"0.6723884",
"0.6723884",
"0.6700954",
"0.66472214",
"0.66472214",
"0.66472214",
"0.6599448",
"0.65568656",
"0.6392218",
"0.6389224",
"0.6389224",
"0.6370723",
"0.6327725",
"0.6088745",
"0.6080292",
"0.6073249",
"0.6047654",
"0.6047654",
"0.5975183",
"0.5975183",
"0.5931254",
"0.5879927",
"0.5879927",
"0.5879927",
"0.58662665",
"0.5810677",
"0.5804199",
"0.5801229",
"0.5801229",
"0.5790893",
"0.5783371",
"0.5783371",
"0.5780733",
"0.57665515",
"0.57403857",
"0.5737639",
"0.572151",
"0.572026",
"0.5716082",
"0.56816345",
"0.5667239",
"0.5657961",
"0.5657961",
"0.5656747",
"0.56492746",
"0.5647168",
"0.5643946",
"0.5634258",
"0.56262195",
"0.5568141",
"0.5568141",
"0.5568141",
"0.5568141",
"0.55658954",
"0.55658954",
"0.5549616",
"0.5544764",
"0.55067915",
"0.54996645",
"0.54996645",
"0.54996645",
"0.5493023",
"0.5493023",
"0.5493023",
"0.5493023",
"0.5493023",
"0.54866004",
"0.5478174",
"0.54652506",
"0.5461057",
"0.54564095",
"0.54448354",
"0.5440321",
"0.54284",
"0.5428364",
"0.5372832",
"0.5369025",
"0.5369025",
"0.5369025",
"0.53562737",
"0.53460586",
"0.5344971",
"0.53366876",
"0.5330357",
"0.53155833",
"0.53016573",
"0.530153",
"0.5295493",
"0.5295493",
"0.5294768",
"0.52932787",
"0.527486",
"0.527486",
"0.527486",
"0.5266854",
"0.52645624",
"0.52596"
] | 0.0 | -1 |
Get the name property: Customization policy name. | public String name() {
return this.name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();",
"public String getCustomName ( ) {\n\t\treturn extract ( handle -> handle.getCustomName ( ) );\n\t}",
"public String getName() {\n return getProperty(Property.NAME);\n }",
"public com.commercetools.api.models.common.LocalizedString getName() {\n return this.name;\n }",
"public String getPolicyName() {\n \t\treturn policyName;\n \t}",
"public String name() {\n return getString(FhirPropertyNames.PROPERTY_NAME);\n }",
"@ApiModelProperty(value = \"The name assigned to the PayID by the owner of the PayID\")\n\n\n public String getName() {\n return name;\n }",
"public String getName() {\n\t\treturn name.toLowerCase();\n\t}",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"public String getName() {\r\n\t\treturn name.get();\r\n\t}",
"public String getName() {\n return name.get();\n }",
"public java.lang.String getName();",
"public String getName() {\n return (String) getValue(NAME);\n }",
"public String getName() {\n return Util.uncapitalize(getCapName());\n }",
"public String getName()\n {\n return name.toUpperCase();\n }",
"PropertyName getName();",
"public static String getName()\n {\n read_if_needed_();\n \n return _get_name;\n }",
"@Nonnull String getName();",
"@Override\n\tpublic String getName() {\n\n\t\treturn name;\n\t}",
"public final String getName() {\n\treturn name.getName();\n }",
"public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}",
"public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}",
"public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}",
"public String getName() {\n return name + \"\";\n }",
"public String getName() {\n return (String) mProperties.get(FIELD_NAME);\n }",
"protected String getName() {\n\t\treturn name;\n\t}",
"protected String getName() {\n\t\treturn name;\n\t}",
"public String getName() {\n return this.name().toLowerCase(Locale.US);\n }",
"@Nonnull\n String getName();",
"@JsonProperty(PROP_NAME)\n @Nonnull\n public String getName() {\n return _name;\n }",
"public final String getName()\n {\n return name;\n }",
"protected String getName() {\n\t\t\t\treturn name;\n\t\t\t}",
"String getName() ;",
"public final String getName() {\n return name;\n }",
"public String getName() {\n if(name == null)\n return \"\"; \n return name;\n }",
"public java.lang.String getName() {\n return name;\n }",
"@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn name;\n\t\t\t}",
"public final String getName() {\r\n return name;\r\n }",
"public String getName() { return name.get(); }",
"public String getName() {\n return (this.name);\n }",
"public String getName() {\r\n \t\t\treturn name;\r\n \t\t}",
"@Nullable\r\n String getName();",
"public String getName() {\r\n\t\treturn LocalizedTextManager.getDefault().getProperty(name());\r\n\t}",
"public java.lang.String getName() {\n return name;\n }",
"public final String getName() {\n return this.name;\n }",
"public String getName()\n {\n return (this.name);\n }",
"@Override\n\tpublic String getName() {\n\t\treturn this.name;\n\t}",
"@Override\n\tpublic String getName() {\n\t\treturn this.name;\n\t}",
"public final String getName() {\n return name;\n }",
"public final String getName() {\n return name;\n }"
] | [
"0.74767125",
"0.7369564",
"0.70801586",
"0.6942442",
"0.68545264",
"0.6825029",
"0.67861867",
"0.6778593",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.6773355",
"0.67679745",
"0.67659616",
"0.6726403",
"0.6721628",
"0.6702738",
"0.6676625",
"0.6660871",
"0.6654968",
"0.6648628",
"0.6645082",
"0.66430587",
"0.66382223",
"0.66382223",
"0.66382223",
"0.66277295",
"0.66138506",
"0.661055",
"0.661055",
"0.66062266",
"0.66005987",
"0.65942955",
"0.6588153",
"0.6586413",
"0.6582842",
"0.6578911",
"0.6572814",
"0.65697527",
"0.6564471",
"0.65640754",
"0.6560674",
"0.65602744",
"0.65571207",
"0.6556882",
"0.6555824",
"0.6555548",
"0.6555229",
"0.6553981",
"0.6552605",
"0.6552605",
"0.6548888",
"0.6548888"
] | 0.0 | -1 |
Get the type property: The type property. | public String type() {
return this.type;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TLPropertyType getType() {\n return type;\n }",
"public String getType() {\n return (String) getObject(\"type\");\n }",
"public StringProperty typeProperty() {\n return type.getHint().textProperty();\n }",
"public Type getType() {\n\t\treturn type;\n\t}",
"public Type getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n return _type;\n }",
"public String getType() {\n\t\treturn _type;\n\t}",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return _type;\n }",
"public java.lang.String getType() {\n return type;\n }",
"public java.lang.String getType() {\n return type;\n }",
"public Type getType () {\n\t\treturn type;\n\t}",
"public Type getType() {\n\t\treturn this.type;\n\t}",
"public Object getType()\r\n {\r\n\treturn type;\r\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public Type getType() {\n return type;\n }",
"public String getType() {\n return m_type;\n }",
"public Type getType(){\n\t\treturn this.type;\n\t}",
"public ObjectProperty<ShapeType> typeProperty() {\n\t\t\treturn type;\n\t\t}",
"public Type getType() {\n return this.type;\n }",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String getType() {\n\t\treturn this.type;\n\t}",
"public String get_type()\r\n\t{\r\n\t\treturn this.type;\r\n\t}",
"public String getType() {\n\n return this.type;\n }",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n\t\treturn type;\n\t}",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }"
] | [
"0.8003081",
"0.78489065",
"0.76340604",
"0.7613549",
"0.7613549",
"0.7601559",
"0.75872016",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.75818294",
"0.7568026",
"0.7558185",
"0.7550814",
"0.7550814",
"0.7549387",
"0.75476545",
"0.75433755",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7542685",
"0.7541959",
"0.7520632",
"0.7518046",
"0.7498976",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7496981",
"0.7491717",
"0.74867874",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7486435",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345",
"0.7485345"
] | 0.0 | -1 |
Get the description property: Policy description. | public String description() {
return this.description;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@ApiModelProperty(value = \"String describing the policy\")\n public String getDescription() {\n return description;\n }",
"public String getDescription() {\n return getProperty(Property.DESCRIPTION);\n }",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}",
"public java.lang.Object getDescription() {\n return description;\n }",
"@ApiModelProperty(value = \"A description of the claim.\")\n public DtoValueString getDescription() {\n return description;\n }",
"public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }",
"public String getDescription() {\n\t\tLOGGER.debug(\"SecurityObject#getDescription [description=\" + this.description + \"]\");\n\n\t\treturn this.description;\n\t}",
"public java.lang.String getDescription() {\n return description;\n }",
"public String getDescription() {\r\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn this.description;\r\n\t}",
"public String getDescription() {\n\n return this.description;\n }",
"public java.lang.String getDescription() {\n return this._description;\n }",
"public java.lang.String getDescription() {\r\n return this._description;\r\n }",
"public java.lang.String getDescription() {\r\n return this._description;\r\n }",
"public String getDescription() {\n\t\treturn this.description;\n\t}",
"public java.lang.String getDescription(){\r\n return this.description;\r\n }",
"public String getDescription() {\n\t\tif (description == null)\n\t\t\treturn \"No description\";\n\t\treturn description;\n\t}",
"public String getDescription() {\n return (String)getAttributeInternal(DESCRIPTION);\n }",
"public String getDescription() {\n return (String)getAttributeInternal(DESCRIPTION);\n }",
"public Optional<String> getDescription() {\n\t\treturn Optional.ofNullable(_description);\n\t}",
"public Optional<String> getDescription() {\n\t\treturn Optional.ofNullable(_description);\n\t}",
"public java.lang.String getDescription() {\n return description;\n }",
"public String getDescription(){\n\n //returns the value of the description field\n return this.description;\n }",
"public String getDescription() {\n if (description == null) {\n description = Description.getDescription(this);\n }\n return description;\n }",
"public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }",
"public java.lang.String getDescription()\n {\n return this._description;\n }",
"public String getDescription() {\n return _description;\n }",
"public String getDescription() {\n return _description;\n }",
"public String getDescription() {\r\n return _description;\r\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public String getDescription() {\n return this.description;\n }",
"public java.lang.String getDescription() {\r\n return description;\r\n }",
"public java.lang.String getDescription() {\r\n return description;\r\n }",
"public java.lang.String getDescription() {\r\n return description;\r\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public java.lang.String getDescription() {\n return description;\n }",
"public String getDescription() {\r\n return this.description;\r\n }",
"public String getDescription() {\r\n return this.description;\r\n }",
"public String getDescription() {\n String description = null;\n if ( !descriptions.isEmpty() ) {\n description = (String)descriptions.get(0);\n }\n return description;\n }",
"public String getDescription() {\n return getGenericFieldValue(\"Description\");\n }",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\r\n\t\treturn description;\r\n\t}",
"public String getDescription()\r\n\t{\r\n\t\treturn description;\r\n\t}",
"public String getDescription() {\n return description;\n }",
"@Nullable\n public String getDescription() {\n return this.description;\n }",
"public com.commercetools.api.models.common.LocalizedString getDescription() {\n return this.description;\n }",
"public String getDescription()\n {\n return this.description;\n }",
"public String getDescription () {\n return description;\n }",
"public String getDescription() {\n return getString(KEY_DESCRIPTION);\n }",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}",
"public String getDescription() {\n\t\treturn description;\n\t}"
] | [
"0.8463823",
"0.74418974",
"0.7253353",
"0.7253353",
"0.7253353",
"0.7253353",
"0.72152585",
"0.7193638",
"0.71806246",
"0.716623",
"0.7162298",
"0.71548367",
"0.71548367",
"0.71548367",
"0.71548367",
"0.71548367",
"0.7148006",
"0.71470195",
"0.71466845",
"0.71466845",
"0.71456206",
"0.71426105",
"0.7138371",
"0.71346587",
"0.71346587",
"0.71342343",
"0.71342343",
"0.7132213",
"0.71320724",
"0.71277124",
"0.7126855",
"0.7124961",
"0.71202046",
"0.71202046",
"0.7114433",
"0.71120006",
"0.71120006",
"0.71120006",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71109986",
"0.71106327",
"0.71106327",
"0.71106327",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7108206",
"0.7107245",
"0.7107245",
"0.7103897",
"0.7101917",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7101048",
"0.7093331",
"0.70926297",
"0.70916396",
"0.708217",
"0.70795864",
"0.70784265",
"0.70745075",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734",
"0.70743734"
] | 0.0 | -1 |
Set the description property: Policy description. | public CustomizationPolicyInner withDescription(String description) {
this.description = description;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDescription(String description) {\n\t\tLOGGER.debug(\"SecurityObject#setDescription [description=\" + description + \"]\");\n\n\t\tthis.description = description;\n\t}",
"public void setDescription(String value) {\n this.description = value;\n }",
"public void setDescription(String value) {\r\n this.description = value;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description)\n {\n this.description = description.trim();\n }",
"public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }",
"public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }",
"public void setDescription(java.lang.String value) {\n this.description = value;\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}",
"public void setDescription(final String description) {\n this.description = description;\n }",
"public void setDescription(String _description) {\n this._description = _description;\n }",
"@ApiModelProperty(value = \"String describing the policy\")\n public String getDescription() {\n return description;\n }",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"public void setDescription( String description )\n {\n this.description = description;\n }",
"public void setDescription(String description) {\n\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\r\n \t\tthis.description = description;\r\n \t}",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"protected void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n \tthis.description = description;\n }",
"public void setDescription(String description )\n {\n this.description = description;\n }",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(String description) {\n _description = description;\n }",
"public void setDescription(String description) {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this._description = description;\n }",
"public void setDescription(final String description) {\n\t\tthis.description = description;\n\t}",
"public void setDescription(String description)\n {\n this.description = description;\n }",
"public void setDescription(java.lang.String description) {\n this.description = description;\n }"
] | [
"0.74253297",
"0.7424926",
"0.74224603",
"0.7397317",
"0.73963916",
"0.73959434",
"0.73959434",
"0.7372755",
"0.73704344",
"0.73704344",
"0.73704344",
"0.73704344",
"0.73704344",
"0.7370351",
"0.7370351",
"0.7370351",
"0.7370351",
"0.7370351",
"0.7370351",
"0.7370351",
"0.73670346",
"0.73630613",
"0.7358727",
"0.7354454",
"0.7354454",
"0.7354454",
"0.7353931",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.73452556",
"0.7334117",
"0.733374",
"0.733374",
"0.733374",
"0.7332925",
"0.73268336",
"0.7326194",
"0.7319599",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.73161286",
"0.7310937",
"0.7310937",
"0.7310937",
"0.73069",
"0.73069",
"0.73069",
"0.73069",
"0.73069",
"0.73051244",
"0.7303513",
"0.7301711",
"0.72942007",
"0.7285143",
"0.72773224"
] | 0.0 | -1 |
Get the privateCloudId property: The Private cloud id. | public String privateCloudId() {
return this.privateCloudId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCloudUuid() {\n return cloudUuid;\n }",
"@Accessor(qualifier = \"privateKey\", type = Accessor.Type.GETTER)\n\tpublic String getPrivateKey()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(PRIVATEKEY);\n\t}",
"public String getPrivateKey() {\n return privateKey;\n }",
"public String getPrivateKey() {\n return privateKey;\n }",
"public String getPrivateKey() {\n return privateKey;\n }",
"public CustomizationPolicyInner withPrivateCloudId(String privateCloudId) {\n this.privateCloudId = privateCloudId;\n return this;\n }",
"public BigInteger getPrivateKey()\n {\n\treturn privateKey;\n }",
"public String privateLinkServiceId() {\n return this.privateLinkServiceId;\n }",
"public String getPrivateIpAddress() {\n return this.PrivateIpAddress;\n }",
"public PrivateKey getPrivateKey(){\n\t\treturn this.privatekey;\n\t}",
"@NonNull\n public PrivateKey getPrivateKey() {\n return mPrivateKey;\n }",
"public PrivateKey getPrivateKey() {\n \tif(testingPrivateKey!=null){\n\t\t\t//for unit testing\n\t\t\treturn testingPrivateKey;\t\n\t\t}\n\t\treturn keypair.getPrivate();\n }",
"public String getCloudName() {\n return cloudName;\n }",
"public char[] getPrivateKey() {\n\t\treturn privateKey;\n\t}",
"public PrivateKey getMyPrivateKey() {\n return myKeyPair.getPrivate();\n }",
"com.cantor.drop.aggregator.model.CFTrade.SecurityIdType getSecIdType();",
"public String getSecId() {\n Object ref = secId_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n secId_ = s;\n }\n return s;\n }\n }",
"public static String getPrivateKeyPath() {\n return privateKeyPath;\n }",
"public String getSecId() {\n Object ref = secId_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n secId_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }",
"public final PrivateKey getPrivateKey() {\n return this.key;\n }",
"public String getPrivateKey();",
"public String getPrivateKey();",
"public String consumerId() {\n return memberId;\n }",
"public int getWMCPrivate(){\r\n\t\t \r\n\t\treturn mccabe.getWMCPrivate();\t\t\r\n\t}",
"public String getIdPrivitka() {\r\n\t\treturn getAsStringOrEmpty(PRN_GR_PRIVITAK__ID_PRIVITKA);\r\n\t}",
"com.google.protobuf.ByteString\n getSecIdBytes();",
"public String privateDnsZone() {\n return this.privateDnsZone;\n }",
"String getSecId();",
"public String getInternalId()\n {\n return internalId;\n }",
"public String getInternalId() {\n\n return this.internalId;\n }",
"public com.google.protobuf.ByteString\n getSecIdBytes() {\n Object ref = secId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n secId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getSecIdBytes() {\n Object ref = secId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n secId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.cantor.drop.aggregator.model.CFTrade.SecurityIdType getSecIdType() {\n com.cantor.drop.aggregator.model.CFTrade.SecurityIdType result = com.cantor.drop.aggregator.model.CFTrade.SecurityIdType.valueOf(secIdType_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.SecurityIdType.CUSIP : result;\n }",
"public Integer getINTERNAL_ID() {\n return INTERNAL_ID;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.SecurityIdType getSecIdType() {\n com.cantor.drop.aggregator.model.CFTrade.SecurityIdType result = com.cantor.drop.aggregator.model.CFTrade.SecurityIdType.valueOf(secIdType_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.SecurityIdType.CUSIP : result;\n }",
"private long getOwnID(){\n return authenticationController.getMember() == null ? -1 :authenticationController.getMember().getID();\n }",
"@ApiModelProperty(value = \"Count of private projects.\")\n\t@JsonProperty(\"privateProjectCount\")\n\tpublic Integer getPrivateProjectCount() {\n\t\treturn privateProjectCount;\n\t}",
"public PrivateKey getPrivKey() {\r\n\t\treturn this.privKey;\r\n\t}",
"protected final String getPrivateKeyLocation() {\n return this.privateKeyLocation;\n }",
"PrivateKey getPrivateKey();",
"public java.lang.String getDataCenterId() {\r\n return dataCenterId;\r\n }",
"public Long getVpcId() {\n return vpcId;\n }",
"public Integer privatePort() {\n return this.privatePort;\n }",
"public String getKeyPrivate() throws LibMCryptException {\n\t\t\r\n\t\tString privateK = priK.getModulus().toString(16);\r\n\t\treturn privateK;\r\n\t}",
"public PrivateKey getPrivateList() {\n return this.privateList;\n }",
"public BigInteger getPrivKey() {\n if (priv == null)\n throw new MissingPrivateKeyException();\n return priv;\n }",
"public Integer getMoneyId() {\n return moneyId;\n }",
"public int getInKpiId() {\n return inKpiId;\n }",
"public int getInKpiId() {\n return inKpiId;\n }",
"public Integer getSecondaryOwnerId() {\n return secondaryOwnerId;\n }",
"public String getLayerId()\r\n {\r\n return myLayerId;\r\n }",
"com.google.protobuf.ByteString getConsumerIdBytes();",
"public int getMachineID() {\n return machineID;\n }",
"public boolean isPrivate() {\n return privateMode;\n }",
"public String getRemoteContainerId()\n {\n return remoteContainerId;\n }",
"java.lang.String getConsumerId();",
"public String getCrossId() {\n return crossId;\n }",
"public Integer getMemberId() {\n return (Integer) get(2);\n }",
"public String getMachineId()\n\t{\n\t\treturn machineId;\n\t}",
"public boolean isPrivate() {\n return isPrivate;\n }",
"public String getConsumerId() {\n return consumerId;\n }",
"long getDeskId();",
"long getDeskId();",
"public long getDirectProjectId() {\r\n return directProjectId;\r\n }",
"public int getSkyGroupId() {\n return skyGroupId;\n }",
"public int getMemberId2() {\n return memberId2_;\n }",
"public int getMemberId2() {\n return memberId2_;\n }",
"public java.lang.Long getInternalTradeId() {\n return internalTradeId;\n }",
"private String getDemoPartitionValue() {\n return cognitoIdentityId;\n }",
"public final String getInternalKey() {\n return CloudImageLoader.generateKey(getInternalUri(), getInternalDownloadType());\n }",
"public boolean isPrivate() {\n return this.priv;\n }",
"@Nullable\n public String getRemoteClusterId()\n {\n return remoteClusterId;\n }",
"public Number getProjectId() {\n return (Number) getAttributeInternal(PROJECTID);\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public List<MhsmPrivateEndpointConnectionItem> privateEndpointConnections() {\n return this.privateEndpointConnections;\n }",
"public String getPrivateKeyPassword() {\n\t\treturn privateKeyPassword;\n\t}",
"public String getCredentialsId() {\n return settings.CredentialsId;\n }",
"public Boolean enablePrivateCluster() {\n return this.enablePrivateCluster;\n }",
"String getConsumerID();",
"public String getIdKlinik() {\n return idKlinik;\r\n }",
"public String getConsumerID(WSMessageConsumerDTO consumerDTO){\n String id = consumerDTO.getReceiverId();\n return id;\n }",
"public long getProjectId() {\r\n return projectId;\r\n }",
"public String getCloudHsmClusterId() {\n return this.cloudHsmClusterId;\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public int getMoneyID() {\n return moneyID_;\n }",
"public String remoteVolumeResourceId() {\n return this.remoteVolumeResourceId;\n }",
"com.google.protobuf.ByteString\n getMachineIdBytes();",
"public String getPublicId()\n {\n return null; // FIXME track public IDs too\n }",
"public PrivateKey getPrivateKey() {\n File keyFile = new File(baseDirectory, pvtKeyFileName);\n if (!keyFile.exists()) {\n if (!generateKeys()) {\n return null;\n }\n }\n if (!keyFile.exists()) {\n return null;\n }\n try {\n byte[] bytes = FileUtils.readFileToByteArray(keyFile);\n PKCS8EncodedKeySpec ks = new PKCS8EncodedKeySpec(bytes);\n KeyFactory kf = KeyFactory.getInstance(\"RSA\");\n PrivateKey pvt = kf.generatePrivate(ks);\n return pvt;\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }",
"@ApiModelProperty(value = \"ID of the peer project for the service desk.\")\n public String getProjectId() {\n return projectId;\n }",
"public long getCourseId() {\n return _courseImage.getCourseId();\n }",
"java.lang.String getMachineId();",
"public String getVolumeDiskId() {\n return this.volumeDiskId;\n }",
"public Long getProjectId() {\n return projectId;\n }",
"public Integer getIdSector() {\r\n\t\treturn idSector;\r\n\t}",
"public String getProjectId() {\n return getProperty(Property.PROJECT_ID);\n }",
"public long getDeskId() {\n return deskId_;\n }"
] | [
"0.6328559",
"0.60145247",
"0.60084116",
"0.60084116",
"0.60084116",
"0.5991214",
"0.59404474",
"0.5868583",
"0.5827254",
"0.58003277",
"0.5589478",
"0.558243",
"0.55650705",
"0.5548899",
"0.5493959",
"0.54798985",
"0.546774",
"0.54668367",
"0.5466151",
"0.54284966",
"0.54275614",
"0.54275614",
"0.5414207",
"0.5409421",
"0.5408919",
"0.538913",
"0.5380501",
"0.53524536",
"0.5329409",
"0.5326438",
"0.5325745",
"0.53212625",
"0.5313538",
"0.53075826",
"0.5302464",
"0.5284927",
"0.5216578",
"0.5198256",
"0.51534116",
"0.5107013",
"0.51046723",
"0.5103913",
"0.5089985",
"0.50861853",
"0.50849247",
"0.5081491",
"0.50557584",
"0.5055212",
"0.5055212",
"0.5054171",
"0.50500923",
"0.5046232",
"0.5037173",
"0.5032207",
"0.5025816",
"0.5014214",
"0.49909335",
"0.49864373",
"0.49801332",
"0.4969433",
"0.49658263",
"0.4962859",
"0.4962859",
"0.49568933",
"0.495495",
"0.49513963",
"0.49477535",
"0.49355108",
"0.49202386",
"0.4911605",
"0.4898836",
"0.48924372",
"0.48812753",
"0.48754507",
"0.48754507",
"0.48754507",
"0.48749182",
"0.48732996",
"0.48544404",
"0.48503736",
"0.4847648",
"0.4845106",
"0.48433658",
"0.48415676",
"0.4836613",
"0.4829029",
"0.4829029",
"0.4829029",
"0.48203138",
"0.48196578",
"0.48154062",
"0.48072425",
"0.48014542",
"0.47991186",
"0.4796536",
"0.47921857",
"0.47910044",
"0.4783383",
"0.47817183",
"0.47809833"
] | 0.89431465 | 0 |
Set the privateCloudId property: The Private cloud id. | public CustomizationPolicyInner withPrivateCloudId(String privateCloudId) {
this.privateCloudId = privateCloudId;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String privateCloudId() {\n return this.privateCloudId;\n }",
"public void setPrivateKey(String privateKey) {\n this.privateKey = privateKey;\n }",
"public void setPrivateKey(String privateKey) {\n this.privateKey = privateKey;\n }",
"public void setPrivateKey(String privateKey) {\n this.privateKey = privateKey;\n }",
"public ConnectInfo setPrivateKey(final String privateKey) {\n\t\tif(privateKey==null) throw new IllegalArgumentException(\"The passed privateKey was null\");\n\t\tthis.privateKey = privateKey.toCharArray();\n\t\treturn this;\t\t\n\t}",
"@Accessor(qualifier = \"privateKey\", type = Accessor.Type.SETTER)\n\tpublic void setPrivateKey(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(PRIVATEKEY, value);\n\t}",
"public void setPrivateKey(PrivateKey privateKey) {\n this.privateKey = privateKey;\n }",
"public void setPrivate(Boolean isPrivate)\n {\n this.isPrivate = isPrivate;\n }",
"public void setPrivateKey(PrivateKey privateKey)\n \t\tthrows SignatureException {\n \t\tif (this.signed) {\n \t\t\tthrow new SignatureException(\"Attributes cannot be modified after document is signed\");\n \t\t}\n \t\tthis.privateKey = privateKey;\n \t}",
"public ConnectInfo setPrivateKey(final char[] privateKey) {\n\t\tif(privateKey==null) throw new IllegalArgumentException(\"The passed privateKey was null\");\n\t\tthis.privateKey = privateKey;\n\t\treturn this;\n\t}",
"public void setPrivateKey(java.nio.ByteBuffer privateKey) {\n this.privateKey = privateKey;\n }",
"public void setPrivateIpAddress(String PrivateIpAddress) {\n this.PrivateIpAddress = PrivateIpAddress;\n }",
"public void setPrivate( boolean newValue ) {\n privateMode = newValue;\n }",
"public ConnectInfo setPrivateKey(final File privateKey) {\n\t\tif(privateKey==null) throw new IllegalArgumentException(\"The passed privateKey was null\");\n\t\tif(!privateKey.canRead()) throw new IllegalArgumentException(\"The passed privateKey file [\" + privateKey.getAbsolutePath() + \"] cannot be read\");\n\t\tthis.privateKey = URLHelper.getCharsFromURL(privateKey.getAbsolutePath());\n\t\treturn this;\t\t\n\t}",
"public void setPrivate(boolean b) {\n isPrivate = b;\n }",
"public void setInternalId(String internalId) {\n\n if (internalId.isEmpty()) {\n\n /**\n * If Owner ID is ever an empty String, a NullPointerException will be thrown when the\n * listings are loaded in from the JSON file. I believe this is because the JSON parser we're\n * using stores empty Strings as \"null\" in the .json file. TODO this fix is fine for now, but\n * I want to make it safer in the future.\n */\n this.internalId = \" \";\n } else {\n\n this.internalId = internalId;\n }\n }",
"public static void setPrivateKeyPath(String privateKeyPath) {\n Program.privateKeyPath = privateKeyPath;\n Program.authType = AUTH_TYPE.CERT;\n }",
"public void setPrivateSpaceRestricted(Boolean privateSpaceRestricted) {\n this.privateSpaceRestricted = privateSpaceRestricted;\n }",
"public Builder setSecIdBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00200000;\n secId_ = value;\n onChanged();\n return this;\n }",
"public void setCloudUuid(String cloudUuid) {\n this.cloudUuid = cloudUuid;\n }",
"public void setInternalId( String internalId )\n {\n this.internalId = internalId;\n }",
"public ConnectInfo setPrivateKeyPassword(final String privateKeyPassword) {\n\t\tif(privateKeyPassword==null) throw new IllegalArgumentException(\"The passed privateKeyPassword was null\");\n\t\tthis.privateKeyPassword = privateKeyPassword;\n\t\treturn this;\n\t}",
"public void setPrivateApp(java.lang.Boolean privateApp) {\r\n this.privateApp = privateApp;\r\n }",
"public Builder setSecId(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00200000;\n secId_ = value;\n onChanged();\n return this;\n }",
"public PrivateLinkServiceConnection withPrivateLinkServiceId(String privateLinkServiceId) {\n this.privateLinkServiceId = privateLinkServiceId;\n return this;\n }",
"public void setPrivatelisting(String privatelisting) {\r\n this.privatelisting = privatelisting == null ? null : privatelisting.trim();\r\n }",
"public void setInternalId()\n {\n // generate a unique id that will be used for the internal id:\n UUID uuid = UUID.randomUUID();\n this.internalId = uuid.toString();\n }",
"protected final void setPrivateKeyLocation(final String privateKeyLocation) {\n this.privateKeyLocation = privateKeyLocation;\n }",
"public void setPrivate()\n {\n ensureLoaded();\n m_flags.setPrivate();\n setModified(true);\n }",
"public String privateLinkServiceId() {\n return this.privateLinkServiceId;\n }",
"public void setDataCenterId(java.lang.String dataCenterId) {\r\n this.dataCenterId = dataCenterId;\r\n }",
"public void setINTERNAL_ID(Integer INTERNAL_ID) {\n this.INTERNAL_ID = INTERNAL_ID;\n }",
"public void setMachineID(int value) {\n this.machineID = value;\n }",
"void setCameraIdPref(int cameraId);",
"public Builder setPrivateInstance(boolean value) {\n\n privateInstance_ = value;\n bitField0_ |= 0x00000020;\n onChanged();\n return this;\n }",
"public void setMachineId(String machineId)\n\t{\n\t\tthis.machineId = machineId;\n\t}",
"public void setIdKlinik(String idKlinik) {\n this.idKlinik = idKlinik;\r\n }",
"public InputEndpoint withPrivatePort(Integer privatePort) {\n this.privatePort = privatePort;\n return this;\n }",
"public void setCloudName(String cloudName) {\n this.cloudName = cloudName;\n }",
"public ManagedClusterApiServerAccessProfile withPrivateDnsZone(String privateDnsZone) {\n this.privateDnsZone = privateDnsZone;\n return this;\n }",
"public String getPrivateIpAddress() {\n return this.PrivateIpAddress;\n }",
"public void setConsumerId(String consumerId) {\n this.consumerId = consumerId;\n }",
"public void setMoneyId(Integer moneyId) {\n this.moneyId = moneyId;\n }",
"public boolean isPrivate() {\n return isPrivate;\n }",
"void setSignatureProviderId(java.lang.String signatureProviderId);",
"public synchronized void setManualCameraId(int cameraId) {\n requestedCameraId = cameraId;\n }",
"public VirtualMachineScaleSetUpdateIpConfigurationProperties withPrivateIpAddressVersion(\n IpVersion privateIpAddressVersion) {\n this.privateIpAddressVersion = privateIpAddressVersion;\n return this;\n }",
"@Override\n\tpublic void setKiemDemVienId(int kiemDemVienId) {\n\t\t_keHoachKiemDemNuoc.setKiemDemVienId(kiemDemVienId);\n\t}",
"public void setCrossId(String crossId) {\n this.crossId = crossId == null ? null : crossId.trim();\n }",
"public boolean isPrivate() {\n return privateMode;\n }",
"private void setOtherId(int value) {\n \n otherId_ = value;\n }",
"public void setInternalTradeId(java.lang.Long internalTradeId) {\n this.internalTradeId = internalTradeId;\n }",
"@ApiModelProperty(value = \"Count of private projects.\")\n\t@JsonProperty(\"privateProjectCount\")\n\tpublic Integer getPrivateProjectCount() {\n\t\treturn privateProjectCount;\n\t}",
"public void setVpcId(Long vpcId) {\n this.vpcId = vpcId;\n }",
"public ManagedClusterApiServerAccessProfile withEnablePrivateCluster(Boolean enablePrivateCluster) {\n this.enablePrivateCluster = enablePrivateCluster;\n return this;\n }",
"public String getPrivateKey() {\n return privateKey;\n }",
"public String getPrivateKey() {\n return privateKey;\n }",
"public String getPrivateKey() {\n return privateKey;\n }",
"public void setSystemId(int val) {\n systemId = val;\n }",
"public Builder setMemberId2(int value) {\n \n memberId2_ = value;\n onChanged();\n return this;\n }",
"public void setCartId(final String value)\n\t{\n\t\tsetCartId( getSession().getSessionContext(), value );\n\t}",
"public Builder setSecIdType(com.cantor.drop.aggregator.model.CFTrade.SecurityIdType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00100000;\n secIdType_ = value.getNumber();\n onChanged();\n return this;\n }",
"public void setSystemId(String systemId);",
"public void setCameraId(int currentId) {\n mRender.setCameraId(currentId);\n }",
"public void setMemberId(Integer value) {\n set(2, value);\n }",
"public String getCloudUuid() {\n return cloudUuid;\n }",
"public static ECKey fromPrivate(BigInteger privKey) {\n return fromPrivate(privKey, true);\n }",
"public CloudfrontUrlBuilder(String distributionHostname, String key, String keyPairId, PrivateKey privateKey)\n {\n this(distributionHostname, key, keyPairId, privateKey, \"SunRsaSign\");\n }",
"public void setVpc(SelfManagedKafkaAccessConfigurationVpc vpc) {\n this.vpc = vpc;\n }",
"public BigInteger getPrivateKey()\n {\n\treturn privateKey;\n }",
"protected void setPrice(DukatAmount price){\r\n\t\tif(canHaveAsPrice(price))\r\n\t\t\tthis.price = price;\r\n\t}",
"public final void setSystemID(java.lang.String systemid)\r\n\t{\r\n\t\tsetSystemID(getContext(), systemid);\r\n\t}",
"public void setStargateId(int val) {\n stargateId = val;\n }",
"public void setCurrentPersonId(int personId) {\n currentPersonId = personId;\n }",
"public void setSystemId(String systemId) {\n agentConfig.setSystemId(systemId);\n }",
"public void setInitKey_accessid( int newValue ) {\n this.initKey_accessid = (newValue);\n }",
"public void setSkyColor(int skyColor) {\n if (skyColor != this.skyColor) {\n int oldSkyColor = this.skyColor;\n this.skyColor = skyColor;\n this.propertyChangeSupport.firePropertyChange(Property.SKY_COLOR.name(), oldSkyColor, skyColor);\n }\n }",
"private void setPrivateKey(String b64key) {\n\t\ttry {\n\t\t\tbyte[] bytes = Base64.decodeBase64(b64key);\n\t\t\tPKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(bytes);\n\t\t\tKeyFactory fact = KeyFactory.getInstance(\"RSA\");\n\t\t\tpk = fact.generatePrivate(keySpec);\n\t\t} catch (NoSuchAlgorithmException | InvalidKeySpecException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public ImportCertificateRequest withPrivateKey(java.nio.ByteBuffer privateKey) {\n setPrivateKey(privateKey);\n return this;\n }",
"public boolean isPrivate() {\n return false;\n }",
"public Builder setDeskId(long value) {\n \n deskId_ = value;\n onChanged();\n return this;\n }",
"public Builder setDeskId(long value) {\n \n deskId_ = value;\n onChanged();\n return this;\n }",
"public boolean isPrivate() {\n return this.priv;\n }",
"public void setMarginTop( int marginTop )\n {\n this.marginTop = marginTop;\n }",
"public void setCredentialId(Long credentialId) {\n this.credentialId = credentialId;\n }",
"public final void setNetId( String id) //final doesn't allow new rules or ways in door\r\n {\r\n netId = id; //only place I can do it in set methods\r\n }",
"public void setProviderId(String value) { _providerId = value; }",
"public void setBigId (int bigId) { this.bigId = bigId; }",
"@Override\n\tpublic void setResumeId(long resumeId) {\n\t\t_candidate.setResumeId(resumeId);\n\t}",
"public void setKeyId(String keyId) {\n setProperty(KEY_ID, keyId);\n }",
"public void setIdCard(String idCard) {\n\t\tthis.idCard = idCard;\n\t}",
"public void setCartId(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, CARTID,value);\n\t}",
"public void setPrice(int price)\n {\n if(checker.isString(Integer.toString(price)))\n this.price = price;\n else\n this.price = 0;\n }",
"public Builder setMachineId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n machineId_ = value;\n onChanged();\n return this;\n }",
"public void setCardID(java.lang.String param) {\r\n localCardIDTracker = param != null;\r\n\r\n this.localCardID = param;\r\n }",
"public PrivateKey getPrivateKey(){\n\t\treturn this.privatekey;\n\t}",
"public void setAuthUserId(String newId) {\n session.setAttribute(\"userId\", newId);\n }",
"public void setCloudHsmClusterId(String cloudHsmClusterId) {\n this.cloudHsmClusterId = cloudHsmClusterId;\n }",
"public void setSecondaryOwnerId(Integer secondaryOwnerId) {\n this.secondaryOwnerId = secondaryOwnerId;\n }",
"public void setSystemId (java.lang.Long systemId) {\r\n\t\tthis.systemId = systemId;\r\n\t}"
] | [
"0.7314242",
"0.5977519",
"0.5977519",
"0.5977519",
"0.5960191",
"0.5943114",
"0.5902804",
"0.5833285",
"0.57004327",
"0.56878936",
"0.56849694",
"0.56340486",
"0.55065036",
"0.5442263",
"0.53080964",
"0.52671534",
"0.5252609",
"0.51492834",
"0.50543815",
"0.5052966",
"0.5015511",
"0.5002562",
"0.4984157",
"0.49809965",
"0.49488723",
"0.49249658",
"0.4913197",
"0.48371562",
"0.48112807",
"0.48111984",
"0.47688428",
"0.47474396",
"0.47395322",
"0.47143185",
"0.4687421",
"0.46389434",
"0.46273562",
"0.4620367",
"0.46043652",
"0.46040794",
"0.46040124",
"0.4595052",
"0.45756072",
"0.45633325",
"0.45606214",
"0.45590788",
"0.45317197",
"0.4528588",
"0.4526967",
"0.44988346",
"0.449809",
"0.4495505",
"0.44899613",
"0.44710913",
"0.44705996",
"0.44537422",
"0.44537422",
"0.44537422",
"0.44489866",
"0.444697",
"0.4444123",
"0.44417003",
"0.44164526",
"0.44106618",
"0.44061315",
"0.43830565",
"0.43722284",
"0.43612945",
"0.43591222",
"0.43579006",
"0.43360177",
"0.43346885",
"0.43254557",
"0.4321643",
"0.43115604",
"0.43112493",
"0.43091083",
"0.43034393",
"0.42838487",
"0.42806044",
"0.42735547",
"0.42735547",
"0.42705488",
"0.4269732",
"0.4268329",
"0.4267679",
"0.4263339",
"0.42629704",
"0.42514268",
"0.4249439",
"0.42447025",
"0.42391118",
"0.42314023",
"0.42284223",
"0.42257038",
"0.42254785",
"0.4224097",
"0.4222471",
"0.4220728",
"0.42206207"
] | 0.68246937 | 1 |
Get the specification property: Detailed customization policy specification. | public CustomizationSpecification specification() {
return this.specification;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getSpecification() {\n return specification;\n }",
"public String getSpecification() {\n return specification;\n }",
"public String getSpecification() {\n return specification;\n }",
"public java.lang.String getTechnicalSpecification () {\n\t\treturn technicalSpecification;\n\t}",
"@Override\n @XmlElement(name = \"specification\")\n public synchronized InternationalString getSpecification() {\n return specification;\n }",
"public Integer getSpecification() {\r\n return specification;\r\n }",
"@TestMethod(value=\"testGetSpecification\")\n public DescriptorSpecification getSpecification() {\n return new DescriptorSpecification(\n \"http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#partialSigmaCharge\",\n this.getClass().getName(),\n \"$Id$\",\n \"The Chemistry Development Kit\");\n }",
"public String getSpec() {\n return spec;\n }",
"public String getSpec() {\n return spec;\n }",
"public String getProductServiceSpecificationOperationalRequirements() {\n return productServiceSpecificationOperationalRequirements;\n }",
"public String getCustomSpec() {\n return (tozCustomSpec);\n }",
"@TestMethod(value=\"testGetSpecification\")\n public DescriptorSpecification getSpecification() {\n return new DescriptorSpecification(\n \"http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#bondPartialPiCharge\",\n this.getClass().getName(),\n \"$Id$\",\n \"The Chemistry Development Kit\");\n }",
"public String getConformance() { \n\t\treturn getConformanceElement().getValue();\n\t}",
"public Map<String, NGPackageSpecification<WebObjectSpecification>> getWebComponentSpecifications()\n\t{\n\t\treturn reader.getWebComponentSpecifications();\n\t}",
"public String getProductServiceSpecificationAllowedUsage() {\n return productServiceSpecificationAllowedUsage;\n }",
"public String getProductServiceSpecificationUsageGuidelines() {\n return productServiceSpecificationUsageGuidelines;\n }",
"public double getSpecReview() {\r\n return specReview;\r\n }",
"@Schema(description = \"List of characteristics that the entity can take\")\n\t@Valid\n\tpublic Set<CharacteristicSpecification> getSpecCharacteristic() {\n\t\treturn specCharacteristic;\n\t}",
"public WebObjectSpecification getWebComponentSpecification(String componentType)\n\t{\n\t\treturn reader.getWebComponentSpecification(componentType);\n\t}",
"Exp getSubpSpec();",
"public CustomizationPolicyInner withSpecification(CustomizationSpecification specification) {\n this.specification = specification;\n return this;\n }",
"public String getDescribePro() {\n return describePro;\n }",
"public WebObjectSpecification[] getAllWebComponentSpecifications()\n\t{\n\t\treturn reader.getAllWebComponentSpecifications();\n\t}",
"public Short getSpecType() {\n return specType;\n }",
"List<PropertySpecification> propertySpecifications(ModelContext context);",
"public String getSpecialization() {\r\n\t\treturn specialization;\r\n\t}",
"public String getCapabilityConfiguration() {\n return this.capabilityConfiguration;\n }",
"public void setSpecification(String specification) {\n this.specification = specification;\n }",
"@IID(\"{05518018-2339-4E08-87BE-D14C69527B7A}\")\npublic interface ICustomizationReqType extends com.gc.ICustomizationType {\n\t// Methods:\n\t/**\n\t * <p>\n\t * Indicates if this requirement type supports direct coverage by tests or\n\t * test instances.\n\t * </p>\n\t * <p>\n\t * Getter method for the COM property \"HasDirectCoverage\"\n\t * </p>\n\t * \n\t * @return Returns a value of type boolean\n\t */\n\n\t@DISPID(10)\n\t// = 0xa. The runtime will prefer the VTID if present\n\t@VTID(20)\n\tboolean hasDirectCoverage();\n\n\t/**\n\t * <p>\n\t * Indicates if this requirement type supports direct coverage by tests or\n\t * test instances.\n\t * </p>\n\t * <p>\n\t * Setter method for the COM property \"HasDirectCoverage\"\n\t * </p>\n\t * \n\t * @param pVal\n\t * Mandatory boolean parameter.\n\t */\n\n\t@DISPID(10)\n\t// = 0xa. The runtime will prefer the VTID if present\n\t@VTID(21)\n\tvoid hasDirectCoverage(boolean pVal);\n\n\t/**\n\t * <p>\n\t * The Type of the Risk Analysis that is applicable to this requirement.\n\t * </p>\n\t * <p>\n\t * Getter method for the COM property \"RiskAnalysisType\"\n\t * </p>\n\t * \n\t * @return Returns a value of type int\n\t */\n\n\t@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(22)\n\tint riskAnalysisType();\n\n\t/**\n\t * <p>\n\t * The Type of the Risk Analysis that is applicable to this requirement.\n\t * </p>\n\t * <p>\n\t * Setter method for the COM property \"RiskAnalysisType\"\n\t * </p>\n\t * \n\t * @param pVal\n\t * Mandatory int parameter.\n\t */\n\n\t@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(23)\n\tvoid riskAnalysisType(int pVal);\n\n\t// Properties:\n}",
"public String getComplianceType() {\n return complianceType;\n }",
"public DownloadResponseComplianceDetailedPdfReport complianceDetailedPdfReport() {\n return this.complianceDetailedPdfReport;\n }",
"public String getTypeSpecification(){\n return productRelation.getTypeSpecification();\n }",
"public void setTechnicalSpecification (java.lang.String technicalSpecification) {\n\t\tthis.technicalSpecification = technicalSpecification;\n\t}",
"public String getSetSpec();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getConsortium() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(CONSORTIUM_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getConsortium() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(CONSORTIUM_PROP.get());\n }",
"public String getDtdSpecValue() {\n return getDtdSpecValue(0);\n }",
"@ApiModelProperty(value = \"String describing the policy\")\n public String getDescription() {\n return description;\n }",
"public FormalGenConstraint getConstraint() {\n return constraint;\n }",
"Boolean getRegulatoryComplianceRepresentation();",
"public java.lang.String getTechnicalDetails () {\n\t\treturn technicalDetails;\n\t}",
"String getDesignation();",
"protected CapabilityDefinitionsType getFixture() {\n\t\treturn fixture;\n\t}",
"public String getProposal() {\n return proposal;\n }",
"public String getSupEntLicence() {\n return supEntLicence;\n }",
"public List<String> getSpecifications() {\n\t\tString sql =\"select specification from specifications\";\n\t\tList<String> res = jdbcTemplate.queryForList(sql, String.class);\n\t\treturn res;\n\t}",
"public String getRequirements() { \n\t\treturn getRequirementsElement().getValue();\n\t}",
"public abstract String getSetSpec();",
"public int getConstraintSchemaPart() {\n return schemaPart;\n }",
"public String getAcademicRequirements() {\r\n return academicRequirements;\r\n }",
"public String generateSpec() {\n\t\tString spec = \"\\noval\\n\" + rb + \" \" + cb + \" \" + height + \" \" + width + \"\\n\" + character + \"\\n.\";\n\t\treturn spec;\n\t}",
"public ComputerSpec getComputerSpec() {\n return computerSpec;\n }",
"public int getSpecVersion() {\r\n return specVersion;\r\n }",
"public String getSetSpec() {\n\n\t\treturn setSpec;\n\n\t}",
"public String getProvience() {\n\t\treturn provience;\n\t}",
"public DownloadResponseCompliancePdfReport compliancePdfReport() {\n return this.compliancePdfReport;\n }",
"public ValueSpecification getValueSpecification() {\n\t\torg.eclipse.uml2.uml.ValueSpecification value = null;\n\t\tif (uml_slot.getValues().size() > 0)\n\t\t\tvalue = uml_slot.getValues().get(0);\n\t\telse\n\t\t\treturn null;\n\t\treturn new ValueSpecification(value);\n\t}",
"@ApiModelProperty(value = \"The Software Statement RFC-3986-compliant policy URI\")\n\n@Size(max=256) \n public String getPolicyUri() {\n return policyUri;\n }",
"public Specification<Task> getSpecification() {\n \tif (id == null && description == null && status == null) {\n \t\treturn null;\n \t}\n\t\tSpecification<Task> spec = Specification.where(alwaysTrue());\n\t\tif(id != null) spec = spec.and(is(id));\n\t\tif(description != null) spec = spec.and(descriptionContains(description));\n\t\tif(status != null) spec = spec.and(hasStatus(status));\n\t\treturn spec;\n }",
"public String getCertification() {\n return certification;\n }",
"public List<ComplianceReportItem> complianceReport() {\n return this.complianceReport;\n }",
"public SimulationSpecification getSimSpec() {\n if (simSpec == null) {\n simSpec = new SimulationSpecification();\n }\n return simSpec;\n }",
"protected final Product getProduct() {\n Product.Builder product = new Product.Builder()\n .implementationTitle(getClass())\n .implementationVersion(getClass());\n Optional.ofNullable(getClass().getPackage())\n .flatMap(p -> Optional.ofNullable(p.getSpecificationVersion()))\n .map(specVersion -> \"(specification \" + specVersion + \")\")\n .ifPresent(product::comment);\n return product.build();\n }",
"public List<ModelWOChdListCustom>findSpecificationById(Long specificationId);",
"public String getAssessmentandReportingPreconditions() {\n return assessmentandReportingPreconditions;\n }",
"public String getCoverDesign() {\n return (String)getAttributeInternal(COVERDESIGN);\n }",
"public Agreement getAgreement() {\n\t\treturn this.agreement;\n\t}",
"@Override\r\n\tpublic Integer getPropensity_trust_decile() {\n\t\treturn super.getPropensity_trust_decile();\r\n\t}",
"@Schema(description = \"The related service specification may relate to more than one service specification.\")\n\t@Valid\n\tpublic Set<ServiceSpecificationRef> getRelatedServiceSpecification() {\n\t\treturn relatedServiceSpecification;\n\t}",
"public String getCertification() {\r\n\t\treturn certification;\r\n\t}",
"public String getDesignation() {\n\t\treturn designation;\n\t}",
"InvoiceSpecification createInvoiceSpecification();",
"public String getFormatDesign() {\n return (String)getAttributeInternal(FORMATDESIGN);\n }",
"public String getCriteriaDetail() {\n return (String) get(13);\n }",
"public interface Specification {\n}",
"public BrokerAlgoSpec getAlgoSpec()\n {\n return algoSpec;\n }",
"public Object getSalesProductAgreementPolicyTermRecord() {\n return salesProductAgreementPolicyTermRecord;\n }",
"public static ArrayList<PCSpec> getEnaSpec() {\r\n return enaSpec;\r\n }",
"public String getDescTemplate()\n {\n return m_sDescTemplate;\n }",
"public List getArraySpecifiers() {\n \tif (member == null)\n \t\treturn null;\n return member.getArraySpecifiers();\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getPolicyLine();",
"protected ResultSpecification getResultSpecification() {\r\n QueryParametersConfigurator configurer = new QueryParametersConfigurator(NAME_PROVIDER);\r\n ResultSpecification resultSpecification = configurer\r\n .getResultSpecification(getParameters());\r\n return resultSpecification;\r\n }",
"public String getApplicableLawInterpretation() {\n return applicableLawInterpretation;\n }",
"IfcColourSpecification getIfcColourSpecification();",
"public String getSupEntTlicence() {\n return supEntTlicence;\n }",
"public String getProductEdition();",
"public String getPartProbationFlag() {\n return (String)getAttributeInternal(PARTPROBATIONFLAG);\n }",
"public BoundCodeDt<BindingConformanceEnum> getConformanceElement() { \n\t\tif (myConformance == null) {\n\t\t\tmyConformance = new BoundCodeDt<BindingConformanceEnum>(BindingConformanceEnum.VALUESET_BINDER);\n\t\t}\n\t\treturn myConformance;\n\t}",
"public String getDevelopmentToolingandEnvironmentSpecificationSchedule() {\n return developmentToolingandEnvironmentSpecificationSchedule;\n }",
"public Requirement getRequirement() {\n return requirement;\n }",
"@ApiModelProperty(value = \"A description of the claim.\")\n public DtoValueString getDescription() {\n return description;\n }",
"public String getExperienceRequirements() {\r\n return experienceRequirements;\r\n }",
"@ServiceMethod(returns = ReturnType.SINGLE)\n public UpdateCompliance getUpdateCompliance() {\n return this.serviceClient.getUpdateCompliance();\n }",
"public String getAssessmentandReportingAnalysisandReportingServiceWorkProduct() {\n return assessmentandReportingAnalysisandReportingServiceWorkProduct;\n }",
"public CP getPsl44_TotalAmountProfessionalPartTechnicalPart() { \r\n\t\tCP retVal = this.getTypedField(44, 0);\r\n\t\treturn retVal;\r\n }",
"public org.drip.param.valuation.ValuationCustomizationParams valuationCustomizationParams()\n\t{\n\t\treturn _valuationCustomizationParams;\n\t}",
"public int getDtdSpecType() {\n return getDtdSpecType(0);\n }",
"public NM getInternalScalingFactorTechnicalPart() { \r\n\t\tNM retVal = this.getTypedField(41, 0);\r\n\t\treturn retVal;\r\n }",
"public DevelopmentProposal getDevelopmentProposal() {\n return developmentProposal;\n }",
"public String getCustomerBehaviorModelSpecificationInstanceReference() {\n return customerBehaviorModelSpecificationInstanceReference;\n }"
] | [
"0.71421665",
"0.71421665",
"0.71421665",
"0.7068761",
"0.6918046",
"0.6589004",
"0.6462209",
"0.6159546",
"0.6159546",
"0.60912055",
"0.60334164",
"0.59835696",
"0.58428967",
"0.57708067",
"0.5728295",
"0.5663923",
"0.5617993",
"0.56064254",
"0.5595214",
"0.5537313",
"0.55306125",
"0.54879755",
"0.5411131",
"0.54064333",
"0.5368737",
"0.53515744",
"0.53385293",
"0.5325516",
"0.5291815",
"0.52496856",
"0.52365184",
"0.52356476",
"0.5231442",
"0.5221251",
"0.5218132",
"0.5211642",
"0.5205852",
"0.5182246",
"0.51673037",
"0.5166162",
"0.51636636",
"0.515412",
"0.5134311",
"0.5129237",
"0.5124054",
"0.5118894",
"0.51070255",
"0.51030725",
"0.5093833",
"0.508689",
"0.5081752",
"0.50690687",
"0.50676256",
"0.5067273",
"0.5060081",
"0.50438863",
"0.50193614",
"0.5014486",
"0.5013685",
"0.50074273",
"0.49946582",
"0.4991366",
"0.4984808",
"0.49733588",
"0.4963562",
"0.49511063",
"0.4946957",
"0.4945191",
"0.49414384",
"0.49351358",
"0.49331912",
"0.4932333",
"0.49287704",
"0.49225372",
"0.49177966",
"0.49166745",
"0.49157187",
"0.49149063",
"0.48995152",
"0.48980412",
"0.489181",
"0.48776513",
"0.48631385",
"0.48511422",
"0.48450905",
"0.4842658",
"0.4837672",
"0.4835482",
"0.4831102",
"0.4818975",
"0.48177332",
"0.47989807",
"0.47907823",
"0.47866553",
"0.47854546",
"0.47812694",
"0.47793472",
"0.4778335",
"0.47732458",
"0.47642577"
] | 0.76779056 | 0 |
Set the specification property: Detailed customization policy specification. | public CustomizationPolicyInner withSpecification(CustomizationSpecification specification) {
this.specification = specification;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSpecification(String specification) {\n this.specification = specification;\n }",
"public final void setSpecification(java.lang.String specification)\n\t{\n\t\tsetSpecification(getContext(), specification);\n\t}",
"public final void setSpecification(final SpecificationVo specification) {\r\n this.specification = specification;\r\n }",
"public void setSpecification(String specs) {\n specification = specs;\n }",
"public void setSpecification(String specification) {\n this.specification = specification == null ? null : specification.trim();\n }",
"public synchronized void setSpecification(final InternationalString newValue) {\n checkWritePermission();\n specification = newValue;\n }",
"public void setTechnicalSpecification (java.lang.String technicalSpecification) {\n\t\tthis.technicalSpecification = technicalSpecification;\n\t}",
"public void setSpecification(Integer specification) {\r\n this.specification = specification;\r\n }",
"public CustomizationSpecification specification() {\n return this.specification;\n }",
"public void setSpec(String spec) {\n this.spec = spec;\n }",
"public String getSpecification() {\n return specification;\n }",
"public String getSpecification() {\n return specification;\n }",
"public String getSpecification() {\n return specification;\n }",
"public final void setSpecification(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String specification)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Specification.toString(), specification);\n\t}",
"@Override\n @XmlElement(name = \"specification\")\n public synchronized InternationalString getSpecification() {\n return specification;\n }",
"public void setSetSpec(String val) {\n\n\t\tsetSpec = val;\n\n\t}",
"public void setSpec(String spec) {\n this.spec = spec == null ? null : spec.trim();\n }",
"public void setSpecReview(double specReview) {\r\n this.specReview = specReview;\r\n }",
"public void setSpecification(DataHSpecification spec) throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tmyData.spec=spec;\n\t}",
"public java.lang.String getTechnicalSpecification () {\n\t\treturn technicalSpecification;\n\t}",
"public Integer getSpecification() {\r\n return specification;\r\n }",
"public void setCustomSpec(String s) {\n if (s.length() <= 128) {\n tozCustomSpec = s;\n AppyAdService.getInstance().debugOut(TAG, \"Set custom parameter to \" + tozCustomSpec);\n }\n else {\n AppyAdService.getInstance().errorOut(TAG, \"Custom parameter is too long! Not set.\");\n }\n }",
"public String getSetSpec() {\n\n\t\treturn setSpec;\n\n\t}",
"public void setFileSpec(FileSpec fileSpec) {\n // Nothing to do\n }",
"public void setSpecialization(String specialization) {\r\n\t\tthis.specialization = specialization;\r\n\t}",
"@IID(\"{05518018-2339-4E08-87BE-D14C69527B7A}\")\npublic interface ICustomizationReqType extends com.gc.ICustomizationType {\n\t// Methods:\n\t/**\n\t * <p>\n\t * Indicates if this requirement type supports direct coverage by tests or\n\t * test instances.\n\t * </p>\n\t * <p>\n\t * Getter method for the COM property \"HasDirectCoverage\"\n\t * </p>\n\t * \n\t * @return Returns a value of type boolean\n\t */\n\n\t@DISPID(10)\n\t// = 0xa. The runtime will prefer the VTID if present\n\t@VTID(20)\n\tboolean hasDirectCoverage();\n\n\t/**\n\t * <p>\n\t * Indicates if this requirement type supports direct coverage by tests or\n\t * test instances.\n\t * </p>\n\t * <p>\n\t * Setter method for the COM property \"HasDirectCoverage\"\n\t * </p>\n\t * \n\t * @param pVal\n\t * Mandatory boolean parameter.\n\t */\n\n\t@DISPID(10)\n\t// = 0xa. The runtime will prefer the VTID if present\n\t@VTID(21)\n\tvoid hasDirectCoverage(boolean pVal);\n\n\t/**\n\t * <p>\n\t * The Type of the Risk Analysis that is applicable to this requirement.\n\t * </p>\n\t * <p>\n\t * Getter method for the COM property \"RiskAnalysisType\"\n\t * </p>\n\t * \n\t * @return Returns a value of type int\n\t */\n\n\t@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(22)\n\tint riskAnalysisType();\n\n\t/**\n\t * <p>\n\t * The Type of the Risk Analysis that is applicable to this requirement.\n\t * </p>\n\t * <p>\n\t * Setter method for the COM property \"RiskAnalysisType\"\n\t * </p>\n\t * \n\t * @param pVal\n\t * Mandatory int parameter.\n\t */\n\n\t@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(23)\n\tvoid riskAnalysisType(int pVal);\n\n\t// Properties:\n}",
"@TestMethod(value=\"testGetSpecification\")\n public DescriptorSpecification getSpecification() {\n return new DescriptorSpecification(\n \"http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#partialSigmaCharge\",\n this.getClass().getName(),\n \"$Id$\",\n \"The Chemistry Development Kit\");\n }",
"public void setSpecType(Short specType) {\n this.specType = specType;\n }",
"protected AbstractXmlSpecification() {\n\t\tthis.properties = new Properties();\n\t}",
"public String getSetSpec();",
"public void setSimSpec(SimulationSpecification simSpec) {\n this.simSpec = simSpec;\n }",
"public String getSpec() {\n return spec;\n }",
"public String getSpec() {\n return spec;\n }",
"public void setShSetSpec(String val) {\n\n\t\tshSetSpec = val;\n\n\t}",
"public void setSpecialization(final String specialization) {\n this.specialization = specialization.trim();\n }",
"public static void setEnaSpec(ArrayList<PCSpec> enaSpec) {\r\n PCCTRL.enaSpec = enaSpec;\r\n }",
"public final void setAlgoSpec(BrokerAlgoSpec inAlgoSpec)\n {\n algoSpec = inAlgoSpec;\n }",
"public String getProductServiceSpecificationAllowedUsage() {\n return productServiceSpecificationAllowedUsage;\n }",
"public void removeSpecification() {\n simSpec = null;\n }",
"public TcgPlatformSpecification() {\n\t}",
"protected void setSpecializations(Set<AlfClass> specializations) \r\n\t{\tthis.specializations = specializations;\t}",
"public abstract String getSetSpec();",
"public void setLinphoneSpecs(String specs);",
"private void setSpecifiedImpl (boolean newValue) {\n if (this.specified == newValue)\n return;\n \n Boolean oldValue = this.specified ? Boolean.TRUE : Boolean.FALSE;\n \n this.specified = newValue;\n \n firePropertyChange (PROP_SPECIFIED, oldValue, newValue ? Boolean.TRUE : Boolean.FALSE);\n }",
"@Override\n\t\tprotected void loadSpecification(SpecificationContext context) {\n\t\t}",
"public String getProductServiceSpecificationUsageGuidelines() {\n return productServiceSpecificationUsageGuidelines;\n }",
"void setArraySpec(ASTArraySpecNode arraySpecNode)\n {\n if (arraySpecNode != null)\n this.arraySpec = new ArraySpec(arraySpecNode);\n }",
"public void setPolicyLine(java.lang.String value);",
"public void setFile(PDFileSpecification f)\n {\n stream.setItem(COSName.F, f);\n }",
"public interface Specification {\n}",
"@Schema(description = \"List of characteristics that the entity can take\")\n\t@Valid\n\tpublic Set<CharacteristicSpecification> getSpecCharacteristic() {\n\t\treturn specCharacteristic;\n\t}",
"public void testSetMandatoryFields_Behavior(String profileConf,String behavior) throws Exception{\r\n ProfileManagement instProfileManagement = new ProfileManagement(selenium);\r\n\r\n instProfileManagement.testUpdateDefaultProfile_Configuration(profileConf,\"http://wso2.org/claims/givenname\",behavior);\r\n instProfileManagement.testUpdateDefaultProfile_Configuration(profileConf,\"http://wso2.org/claims/lastname\",behavior);\r\n instProfileManagement.testUpdateDefaultProfile_Configuration(profileConf,\"http://wso2.org/claims/emailaddress\",behavior);\r\n }",
"public String getProductServiceSpecificationOperationalRequirements() {\n return productServiceSpecificationOperationalRequirements;\n }",
"public String getCustomSpec() {\n return (tozCustomSpec);\n }",
"@TestMethod(value=\"testGetSpecification\")\n public DescriptorSpecification getSpecification() {\n return new DescriptorSpecification(\n \"http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#bondPartialPiCharge\",\n this.getClass().getName(),\n \"$Id$\",\n \"The Chemistry Development Kit\");\n }",
"@DISPID(1611005992) //= 0x60060028. The runtime will prefer the VTID if present\n @VTID(68)\n void knowledgeInHybridDesignMode(\n boolean oKnowledgeInHybridDesign);",
"public double getSpecReview() {\r\n return specReview;\r\n }",
"public void setTechnicalDetails (java.lang.String technicalDetails) {\n\t\tthis.technicalDetails = technicalDetails;\n\t}",
"public void setRightComponent(MigAcceptancePolicy rightComponent) {\n if(rightComponent == null) {\n throw new RuntimeException(\"BinaryAcceptancePolicy \" +\n \"(setRightComponent): The right component must not be null.\");\n }\n this.rightComponent = rightComponent;\n }",
"protected void setFixture(CapabilityDefinitionsType fixture) {\n\t\tthis.fixture = fixture;\n\t}",
"public Short getSpecType() {\n return specType;\n }",
"public GoodsSpecProduct() {\n this(DSL.name(\"b2c_goods_spec_product\"), null);\n }",
"public void setSpeciesContextSpec(SpeciesContextSpec speciesContextSpec) {\r\n\tSpeciesContextSpec oldValue = fieldSpeciesContextSpec;\r\n\tfieldSpeciesContextSpec = speciesContextSpec;\r\n\tfirePropertyChange(\"speciesContextSpec\", oldValue, speciesContextSpec);\r\n}",
"void setSpecimen(org.hl7.fhir.ResourceReference specimen);",
"public void setDesignation(String Designation)\n\t{ f_Designation=Designation; }",
"@Override\r\n\tpublic void setForPermit(DriverVO driverVO) {\n\t\t\r\n\t}",
"void setQualifier(List<Constraint> qualifier);",
"private void setAttribute(ASTAttrSpecNode attrSpec)\n {\n ASTArraySpecNode arraySpec = attrSpec.getArraySpec();\n ASTAccessSpecNode accessSpec = attrSpec.getAccessSpec();\n \n if (arraySpec != null)\n setArraySpec(arraySpec);\n else if (accessSpec != null)\n setVisibility(accessSpec);\n else if (attrSpec.isParameter())\n setParameter();\n\n // TODO: Intent, etc.\n }",
"@ProgrammaticProperty\n public void setSeparateTestSetDataSource(String spec) {\n m_separateTestSetDataSource = spec;\n }",
"public void setNumberOfArticulationParameters(short pNumberOfArticulationParameters)\n{ numberOfArticulationParameters = pNumberOfArticulationParameters;\n}",
"InvoiceSpecification createInvoiceSpecification();",
"@Override\n public void setFeature(String feature) {\n this.exteriorFeature = feature;\n }",
"@Override\n public void remove(Specification specification) {\n }",
"public void setDescribePro(String describePro) {\n this.describePro = describePro;\n }",
"@Override\n public boolean validateAppliedPolicyWithSpecification(OperationPolicySpecification policySpecification,\n OperationPolicy appliedPolicy, String apiType)\n throws APIManagementException {\n if (!policySpecification.getApplicableFlows().contains(appliedPolicy.getDirection())) {\n throw new APIManagementException(policySpecification.getName() + \" cannot be used in the \"\n + appliedPolicy.getDirection() + \" flow.\",\n ExceptionCodes.OPERATION_POLICY_NOT_ALLOWED_IN_THE_APPLIED_FLOW);\n }\n\n //Validate the API type\n if (!policySpecification.getSupportedApiTypes().contains(apiType)) {\n throw new APIManagementException(policySpecification.getName() + \" cannot be used for the \"\n + apiType + \" API type.\",\n ExceptionCodes.OPERATION_POLICY_NOT_ALLOWED_IN_THE_APPLIED_FLOW);\n }\n\n //Validate policy Attributes\n if (policySpecification.getPolicyAttributes() != null) {\n for (OperationPolicySpecAttribute attribute : policySpecification.getPolicyAttributes()) {\n if (attribute.isRequired()) {\n Object appliedPolicyAttribute = appliedPolicy.getParameters().get(attribute.getName());\n if (appliedPolicyAttribute != null) {\n if (attribute.getValidationRegex() != null) {\n Pattern pattern = Pattern.compile(attribute.getValidationRegex(), Pattern.CASE_INSENSITIVE);\n Matcher matcher = pattern.matcher((String) appliedPolicyAttribute);\n if (!matcher.matches()) {\n throw new APIManagementException(\"Policy attribute \" + attribute.getName()\n + \" regex validation error.\",\n ExceptionCodes.INVALID_OPERATION_POLICY_PARAMETERS);\n }\n }\n } else {\n throw new APIManagementException(\"Required policy attribute \" + attribute.getName()\n + \" is not found for the policy \" + policySpecification.getName() + \" \"\n + appliedPolicy.getDirection() + \" flow.\",\n ExceptionCodes.MISSING_MANDATORY_POLICY_ATTRIBUTES);\n }\n }\n }\n }\n return true;\n }",
"@Override\n\t\tpublic void setPredictSecStructure(boolean predictSecStructure) {\n\t\t\t\n\t\t}",
"public void setNewProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localNewProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localNewProperty_descriptionType=param;\n \n\n }",
"public void setDesignation(String designation) {\n\t\tthis.designation = designation;\n\t}",
"protected void initSpecSpecificConditions() {\r\n // THESE ARE ALL FOR MAF SPEC 1.0 ONLY\r\n\r\n //If variant_Type is \"ins\" Reference_Allele should always be \"-\",\r\n conditions.add(new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantInsSymbol(), FIELD_REFERENCE_ALLELE, Pattern.compile(\"[^\\\\-]\"), \"contain anything but '-' characters\", true));\r\n // and either of Tumor_Seq_Allele1 and Tumor_Seq_Allele2 should have \"-\".\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantInsSymbol(), FIELD_TUMOR_SEQ_ALLELE1, Pattern.compile(\"-\"), \"contain at least one '-'\", false),\r\n new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantInsSymbol(), FIELD_TUMOR_SEQ_ALLELE2, Pattern.compile(\"-\"), \"contain at least one '-'\", false)));\r\n //If variant_Type is \"del\", then Reference_Allele can't contain \"-\",\r\n conditions.add(new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantTypeDelSymbol(), FIELD_REFERENCE_ALLELE, Pattern.compile(\"-\"), \"contain any '-' characters\", true));\r\n // and either Tumor_Seq_Allele1 or Tumor_Seq_Allele2 should contain \"-\".\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantTypeDelSymbol(), FIELD_TUMOR_SEQ_ALLELE1, Pattern.compile(\"-\"), \"contain at least one '-'\", false),\r\n new ConditionalRequirement(FIELD_VARIANT_TYPE, getVariantTypeDelSymbol(), FIELD_TUMOR_SEQ_ALLELE2, Pattern.compile(\"-\"), \"contain at least one '-'\", false)));\r\n\r\n //If validation_status is \"wildtype\", then Tumor_Seq_Allele1=Tumor_Seq_Allele2\r\n //and Tumor_Seq_Allele1=Reference_Allele)\r\n conditions.add(new ConditionalRequirement(FIELD_VALIDATION_STATUS, VALIDATION_STATUS_WILDTYPE, FIELD_TUMOR_SEQ_ALLELE1, FIELD_TUMOR_SEQ_ALLELE2, false));\r\n conditions.add(new ConditionalRequirement(FIELD_VALIDATION_STATUS, VALIDATION_STATUS_WILDTYPE, FIELD_TUMOR_SEQ_ALLELE1, FIELD_REFERENCE_ALLELE, false));\r\n\r\n // if mutation_status is germline, tumor_seql_allele1 must be equal to match_norm_seq_allele1\r\n conditions.add(new ConditionalRequirement(FIELD_MUTATION_STATUS, MUTATION_STATUS_GERMLINE, FIELD_TUMOR_SEQ_ALLELE1,\r\n FIELD_MATCH_NORM_SEQ_ALLELE1, false));\r\n conditions.add(new ConditionalRequirement(FIELD_MUTATION_STATUS, MUTATION_STATUS_GERMLINE, FIELD_TUMOR_SEQ_ALLELE2,\r\n FIELD_MATCH_NORM_SEQ_ALLELE2, false));\r\n // if mutation_status is somatic and validation status is valid, then Match_Norm_Validation_Allele1 should equal Reference_Allele\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_SOMATIC, VALIDATION_STATUS_VALID}, FIELD_MATCH_NORM_VALIDATION_ALLELE1,\r\n FIELD_REFERENCE_ALLELE, false));\r\n // if mutation_status is somatic and validation status is valid, then Match_Norm_Validation_Allele2 should equal Reference_Allele\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_SOMATIC, VALIDATION_STATUS_VALID}, FIELD_MATCH_NORM_VALIDATION_ALLELE2,\r\n FIELD_REFERENCE_ALLELE, false));\r\n // if mutation_status is somatic and validation status is valid, then either Tumor_Seq_Allele1 or Tumor_Seq_Allele2 should NOT match Reference_Allele\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_SOMATIC, VALIDATION_STATUS_VALID}, FIELD_TUMOR_SEQ_ALLELE1, FIELD_REFERENCE_ALLELE, true), // not\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_SOMATIC, VALIDATION_STATUS_VALID}, FIELD_TUMOR_SEQ_ALLELE2, FIELD_REFERENCE_ALLELE, true))); // not\r\n\r\n //If Mutation_Status == LOH AND Validation_Status==Unknown, then\r\n //Tumor_Seq_Allele1 == Tumor_Seq_Allele2 and\r\n //Match_Norm_Seq_Allele1 != Match_Norm_Seq_Allele2 and\r\n //Tumor_Seq_Allele1 = (Match_Norm_Seq_Allele1 or Match_Norm_Seq_Allele2)\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_UNKNOWN}, FIELD_TUMOR_SEQ_ALLELE1, FIELD_TUMOR_SEQ_ALLELE2, false));\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_UNKNOWN}, FIELD_MATCH_NORM_SEQ_ALLELE1, FIELD_MATCH_NORM_SEQ_ALLELE2, true)); // not\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_UNKNOWN}, FIELD_TUMOR_SEQ_ALLELE1, FIELD_MATCH_NORM_SEQ_ALLELE1, false),\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_UNKNOWN}, FIELD_TUMOR_SEQ_ALLELE1, FIELD_MATCH_NORM_SEQ_ALLELE2, false)));\r\n //If Mutation_Status == LOH AND Validation_Status==Valid, then\r\n //Tumor_Validation_Allele1 == Tumor_Validation_Allele2 and\r\n //Match_Norm_Validation_Allele1 != Match_Norm_Validation_Allele2 and\r\n //Tumor_Validation_Allele1 == (Match_Norm_Validation_Allele1 or Match_Norm_Validation_Allele2).\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_VALID}, FIELD_TUMOR_VALIDATION_ALLELE1, FIELD_TUMOR_VALIDATION_ALLELE2, false));\r\n conditions.add(new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_VALID}, FIELD_MATCH_NORM_VALIDATION_ALLELE1, FIELD_MATCH_NORM_VALIDATION_ALLELE2, true)); // not\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_VALID}, FIELD_TUMOR_VALIDATION_ALLELE1, FIELD_MATCH_NORM_VALIDATION_ALLELE1, false),\r\n new ConditionalRequirement(new String[]{FIELD_MUTATION_STATUS, FIELD_VALIDATION_STATUS}, new String[]{MUTATION_STATUS_LOH, VALIDATION_STATUS_VALID}, FIELD_TUMOR_VALIDATION_ALLELE1, FIELD_MATCH_NORM_VALIDATION_ALLELE2, false)));\r\n // Tumor_Seq_Allele1 != Reference_Allele OR Tumor_Seq_Allele2 != Reference_Allele\r\n conditions.add(new ConditionalRequirement(ConditionalOperator.OR,\r\n new ConditionalRequirement(new String[]{}, new String[]{}, FIELD_TUMOR_SEQ_ALLELE1, FIELD_REFERENCE_ALLELE, true),\r\n new ConditionalRequirement(new String[]{}, new String[]{}, FIELD_TUMOR_SEQ_ALLELE2, FIELD_REFERENCE_ALLELE, true)));\r\n\r\n }",
"public void setOldProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldProperty_descriptionType=param;\n \n\n }",
"public void setFurtherDesign(String furtherDesign) {\r\n\t\tthis.furtherDesign = furtherDesign;\r\n\t}",
"public void setFile(PDFileSpecification f) {\n/* 409 */ this.stream.setItem(COSName.F, (COSObjectable)f);\n/* */ }",
"@PropertySetter(role = IS_IMPLICIT)\n\t<E extends CtElement> E setImplicit(boolean b);",
"public void setGuaranteed(String guaranteed);",
"public void setRealizedTreatment(String realizedTreatment) {\n this.realizedTreatment = realizedTreatment;\n }",
"@ApiModelProperty(value = \"The Software Statement RFC-3986-compliant policy URI\")\n\n@Size(max=256) \n public String getPolicyUri() {\n return policyUri;\n }",
"public void setDesign( final Double design )\r\n {\r\n this.design = design;\r\n }",
"public void setQual(String qual) {\n this.qual = qual;\n }",
"public void setConstraint(Constraint constraint) {\n\tthis.constraint = constraint;\n\n\tgetPnlDataSelector().setVisible(false);\n\tgetPnlEditor().setEditable(true);\n\n\tif (((ConstraintExpression)constraint.getBody()).getSyntax() == null) {\n\t\tgetPnlEditor().setText(new String());\n\t} else {\n\t\tgetPnlEditor().setText(ElementUtils.mapNlsString(((ConstraintExpression)constraint.getBody()).getSyntax()));\n\t}\n}",
"public static void setSelectedSpecsFilter (boolean[] selectedSpecsFilter) {\r\n PCCTRL.selectedSpecsFilter = selectedSpecsFilter;\r\n }",
"public List<ModelWOChdListCustom>findSpecificationById(Long specificationId);",
"public String getSpecialization() {\r\n\t\treturn specialization;\r\n\t}",
"public void setAgreement(Agreement agreement) {\n\t\tthis.agreement = agreement;\n\t}",
"public void setCapabilityConfiguration(String capabilityConfiguration) {\n this.capabilityConfiguration = capabilityConfiguration;\n }",
"public TcgPlatformSpecification(ASN1Encodable tcgPlatformSpecEncodable) \n\t\t\tthrows IOException \n\t{\n\t\tif(tcgPlatformSpecEncodable instanceof ASN1Sequence)\n\t\t{\n\t\t\tASN1Sequence tcgPlatformSpec = (ASN1Sequence) tcgPlatformSpecEncodable;\n\t\t\tif(tcgPlatformSpec.size() > 0)\n\t\t\t{\n\t\t\t\tif(tcgPlatformSpec.toArray()[0] instanceof ASN1Sequence)\n\t\t\t\t{\n\t\t\t\t\tASN1Sequence version = (ASN1Sequence) tcgPlatformSpec.toArray()[0];\n\t\t\t\t\tASN1Encodable[] version_array = version.toArray();\n\t\t\t\t\tif(version_array.length > 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(version_array[0] instanceof ASN1Integer)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthis.majorVersion = new Integer(((ASN1Integer)version_array[0]).getValue().intValue()); \n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// unexpected type\n\t\t\t\t\t\t\tthrow new IOException(\n\t\t\t\t\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification.Version.majorVersion. Expected ASN1Integer; Found \" \n\t\t\t\t\t\t\t\t\t\t\t+ version_array[0].getClass().toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(version_array.length > 1)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(version_array[1] instanceof ASN1Integer)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthis.minorVersion = new Integer(((ASN1Integer)version_array[1]).getValue().intValue()); \n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// unexpected type\n\t\t\t\t\t\t\tthrow new IOException(\n\t\t\t\t\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification.Version.minorVersion. Expected ASN1Integer; Found \" \n\t\t\t\t\t\t\t\t\t\t\t+ version_array[1].getClass().toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(version_array.length > 2)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(version_array[2] instanceof ASN1Integer)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthis.revision = new Integer(((ASN1Integer)version_array[2]).getValue().intValue()); \n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// unexpected type\n\t\t\t\t\t\t\tthrow new IOException(\n\t\t\t\t\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification.Version.revision. Expected ASN1Integer; Found \" \n\t\t\t\t\t\t\t\t\t\t\t+ version_array[2].getClass().toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// unexpected type\n\t\t\t\t\tthrow new IOException(\n\t\t\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification.Version. Expected ASN1Seqeunce; Found \" \n\t\t\t\t\t\t\t\t\t+ tcgPlatformSpec.toArray()[0].getClass().toString());\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(tcgPlatformSpec.size() > 1)\n\t\t\t{\n\t\t\t\tASN1Encodable platformClassEnc = tcgPlatformSpec.toArray()[1];\n\t\t\t\tif(platformClassEnc instanceof DEROctetString)\n\t\t\t\t{\n\t\t\t\t\t// The is the correct type according to the spec. It should be 4 bytes.\n\t\t\t\t\t// Output as hex string\n//\t\t\t\t\tthis.platformClass = ((DEROctetString)platformClassEnc).toString();\n\t\t\t\t\tthis.platformClass = javax.xml.bind.DatatypeConverter.printHexBinary(((DEROctetString)platformClassEnc).getOctets());\n\t\t\t\t\tif(!this.platformClass.isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tthis.platformClass = \"0x\" + this.platformClass;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(platformClassEnc instanceof DERUTF8String)\n\t\t\t\t{\n\t\t\t\t\tthis.platformClass = ((DERUTF8String)platformClassEnc).toString();\n\t\t\t\t}\n\t\t\t\telse if(platformClassEnc instanceof DERIA5String)\n\t\t\t\t{\n\t\t\t\t\tthis.platformClass = ((DERIA5String)platformClassEnc).toString();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// unexpected type\n\t\t\t\t\tthrow new IOException(\n\t\t\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification.platformClass. Expected ASN1 String type; Found \" \n\t\t\t\t\t\t\t\t\t+ platformClassEnc.getClass().toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\t// unexpected type\n\t\t\tthrow new IOException(\n\t\t\t\t\t\"Unexpected ASN1 formatting while parsing TcgPlatformSpecification. Expected ASN1Seqeunce; Found \" \n\t\t\t\t\t\t\t+ tcgPlatformSpecEncodable.getClass().toString());\n\t\t}\n\t}",
"public interface PerceptionConfigurationParametersReadOnly extends StoredPropertySetReadOnly\n{\n default int getL515ThrottlerFrequency()\n {\n return get(l515ThrottlerFrequency);\n }\n\n default int getOusterThrottlerFrequency()\n {\n return get(ousterThrottlerFrequency);\n }\n\n default int getOccupancyGridResolution()\n {\n return get(occupancyGridResolution);\n }\n\n default boolean getRapidRegionsEnabled()\n {\n return get(rapidRegionsEnabled);\n }\n\n default boolean getLoggingEnabled()\n {\n return get(loggingEnabled);\n }\n\n default boolean getPublishColor()\n {\n return get(publishColor);\n }\n\n default boolean getPublishDepth()\n {\n return get(publishDepth);\n }\n\n default boolean getLogColor()\n {\n return get(logColor);\n }\n\n default boolean getLogDepth()\n {\n return get(logDepth);\n }\n\n default boolean getSLAMEnabled()\n {\n return get(slamEnabled);\n }\n\n default boolean getSLAMReset()\n {\n return get(slamReset);\n }\n\n default boolean getSupportSquareEnabled()\n {\n return get(supportSquareEnabled);\n }\n\n default boolean getBoundingBoxFilter()\n {\n return get(boundingBoxFilter);\n }\n\n default boolean getConcaveHullFilters()\n {\n return get(concaveHullFilters);\n }\n\n default boolean getShadowFilter()\n {\n return get(shadowFilter);\n }\n\n default boolean getActiveMapping()\n {\n return get(activeMapping);\n }\n}",
"List<PropertySpecification> propertySpecifications(ModelContext context);",
"private final void setTREditCompliance(ViewTestRequirementsAssociation manageTr) {\r\n\t\tuiTestReqEditModel.setBlockComplete(manageTr.getBlockComplete());\r\n\t\tuiTestReqEditModel.setFocalReviewOnly(manageTr.getFocalReviewOnly()!=null?manageTr.getFocalReviewOnly().toString():\"\");\r\n\t\tuiTestReqEditModel.setEstWrk(manageTr.getEstWrkID()!=null?manageTr.getEstWrkID().toString():\"\");\r\n\t\tuiTestReqEditModel.setNewDevReq(manageTr.getNewDevReqChange()!=null?manageTr.getNewDevReqChange().toString():\"\");\r\n\t\tuiTestReqEditModel.setStsWithSE(manageTr.getStsWithID()!=null?manageTr.getStsWithID().toString():\"\");\r\n\t\tuiTestReqEditModel.setCloseOutNotes(manageTr.getCloseOutNotes());\r\n\t\tuiTestReqEditModel.setComments(manageTr.getComments());\r\n\t\tuiTestReqEditModel.setHyperLink(manageTr.getHyperLink());\r\n\t\tuiTestReqEditModel.setComplianceMethodPlanned(manageTr.getComplianceMethodPlanned());\r\n\t}",
"public void saveNewSpecification(ModelOrderItemQtySpec modelOrderItemQtySpec);",
"public void setPartDesc(String partDesc){\n\t\t // store into the instance variable partDesc (i.e. this.partDesc) the value of the parameter partDesc\n\t\tthis.partDesc = partDesc;\n\t}"
] | [
"0.68870735",
"0.6749561",
"0.6731885",
"0.66161543",
"0.66119003",
"0.64381963",
"0.63995755",
"0.6314815",
"0.61833984",
"0.60473555",
"0.6019668",
"0.6019668",
"0.6019668",
"0.59617394",
"0.59114385",
"0.58389145",
"0.5759814",
"0.5686433",
"0.5642718",
"0.55565786",
"0.5454245",
"0.52910835",
"0.52877253",
"0.52074206",
"0.5169809",
"0.51269317",
"0.51091313",
"0.50929296",
"0.5075237",
"0.5060371",
"0.5043492",
"0.50410545",
"0.50410545",
"0.5025348",
"0.50060177",
"0.4910815",
"0.4872722",
"0.48342332",
"0.4833784",
"0.4788192",
"0.47860265",
"0.47838992",
"0.4771363",
"0.4767163",
"0.47315016",
"0.47218186",
"0.4692105",
"0.46897244",
"0.46791908",
"0.46783823",
"0.465296",
"0.46508995",
"0.46348667",
"0.46262407",
"0.4595101",
"0.45928514",
"0.45832804",
"0.45653364",
"0.45624673",
"0.45061132",
"0.4505897",
"0.45014244",
"0.44974777",
"0.44970632",
"0.44903594",
"0.44862247",
"0.44861755",
"0.44828382",
"0.44643313",
"0.44630864",
"0.44561273",
"0.4443069",
"0.44372",
"0.442979",
"0.44219434",
"0.43946916",
"0.43859547",
"0.4352716",
"0.43525466",
"0.43515143",
"0.4346436",
"0.43431744",
"0.43374932",
"0.43312427",
"0.43295574",
"0.43182212",
"0.43140388",
"0.43112952",
"0.43089825",
"0.4304094",
"0.4295506",
"0.4293086",
"0.42919797",
"0.4290488",
"0.42896637",
"0.42857537",
"0.4285092",
"0.4283827",
"0.4276959",
"0.42670673"
] | 0.6382647 | 7 |
Get the typePropertiesType property: The type of customization (Linux or Windows). | public CustomizationPolicyPropertiesType typePropertiesType() {
return this.typePropertiesType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String getType() {\n type = getProperty(\"type\");\n if (type == null) type = \"png\";\n return type;\n }",
"SystemPropertiesType createSystemPropertiesType();",
"public TLPropertyType getType() {\n return type;\n }",
"public int getPropertyType() {\n\t\treturn 0;\n\t}",
"public String getPropertyTypeString(String name) {\n\t//initialize();\n\tProperty p = getProperty(name);\n\tif (p == null) {\n\t return null;\n\t} else {\n\t if (name.toLowerCase().contains(\"line\")) {\n\t\treturn \"Line\";\n\t }\n\t String typeString = p.getTypeName();\n\t typeString = typeString.substring(0, 1).toUpperCase() + typeString.substring(1).toLowerCase();\n\t return typeString;\n\t}\n }",
"public static String getType() {\n\t\treturn type;\n\t}",
"public StringProperty typeProperty() {\n return type.getHint().textProperty();\n }",
"public String getType() {\n return (String) getObject(\"type\");\n }",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"public ObjectProperty<ShapeType> typeProperty() {\n\t\t\treturn type;\n\t\t}",
"protected String getType() {\n\t\treturn type;\n\t}",
"public int getType()\n {\n return pref.getInt(KEY_TYPE, 0);\n }",
"public String getConfigType() {\n\t\treturn configType;\n\t}",
"public String getType()\r\n\t{\r\n\t\treturn type;\r\n\t}",
"public String getType() {\r\r\n\t\treturn type;\r\r\n\t}",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"java.lang.String getType();",
"public java.lang.String getType() {\n return type;\n }",
"public java.lang.String getType() {\n return type;\n }",
"String getType() {\n return type;\n }",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType()\n\t{\n\t\treturn type;\n\t}",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }",
"public String getType() {\n return type;\n }"
] | [
"0.7252079",
"0.68062294",
"0.67208284",
"0.64851725",
"0.64636266",
"0.6358758",
"0.6351301",
"0.6348231",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6347719",
"0.6258027",
"0.6254625",
"0.6252948",
"0.621464",
"0.62125736",
"0.6209896",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.6208197",
"0.62035155",
"0.62035155",
"0.61937594",
"0.6185617",
"0.6185617",
"0.6185617",
"0.61852807",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143",
"0.61846143"
] | 0.7355436 | 0 |
Set the typePropertiesType property: The type of customization (Linux or Windows). | public CustomizationPolicyInner withTypePropertiesType(CustomizationPolicyPropertiesType typePropertiesType) {
this.typePropertiesType = typePropertiesType;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }",
"public static void setType(String type) {\n Globals.type = type;\n setProperty(\"type\", type);\n }",
"PropertyType(String propertyType) {\n this.propertyType = propertyType;\n }",
"public void setTypeDefProperties(Map<String, Object> typeDefProperties)\n {\n this.typeDefProperties = typeDefProperties;\n }",
"SystemPropertiesType createSystemPropertiesType();",
"public CustomizationPolicyPropertiesType typePropertiesType() {\n return this.typePropertiesType;\n }",
"public void set_type(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}",
"void setType(String type) {\n this.type = type;\n }",
"public void setType (String type) {\n this.type = type;\n }",
"public void setType (String type) {\n this.type = type;\n }",
"public void setType (String type) {\n this.type = type;\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"void setType(java.lang.String type);",
"public void setType(String type) \n {\n this.type = type;\n }",
"private void setType(String type) {\n mType = type;\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void set_type(String t)\n {\n type =t;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType( String type )\n {\n this.type = type;\n }",
"public void setType(String type) {\r\r\n\t\tthis.type = type;\r\r\n\t}",
"public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}",
"public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}",
"public void setType(String type) {\r\n\t\tthis.type = type;\r\n\t}",
"public void setType(String type) {\n m_Type = type;\n }",
"public void setType(String type) {\n\n this.type = type;\n }",
"public void setType( String type ) {\n this.type = type;\n }",
"public void setType(String type)\r\n {\r\n this.mType = type;\r\n }",
"public void setType(String type){\n this.type = type;\n }",
"public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }",
"public void setType(String type)\n\t{\n\t\tthis.type = type;\n\t}",
"public void setType(java.lang.String type) {\n this.type = type;\n }",
"public void setType(java.lang.String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) {\r\n this.type = type.trim();\r\n }",
"public final void setType(String type) {\n this.type = type;\n }",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type) {\r\n\t\tthis.type=type;\r\n\t}",
"public void setType(String type){\n \tthis.type = type;\n }",
"public void setTypeSettings(java.lang.String typeSettings) {\n this.typeSettings = typeSettings;\n }",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public void setType(String type) {\n\t\tthis.type = type;\n\t}",
"public final void setType(String type){\n\t\tthis.type = type;\t\n\t}",
"public void setType(String type){\n\t\tthis.type = type;\n\t}",
"public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;",
"@Override\n public void setType(String type) {\n this.type = type;\n }",
"public static String getType() {\n type = getProperty(\"type\");\n if (type == null) type = \"png\";\n return type;\n }",
"public void setType(String type) {\r\n\t\tthis.productType = type;\r\n\t}",
"public void setType(String type) {\n\t this.mType = type;\n\t}",
"public void setType(CWLType type) {\n this.type = type;\n }",
"void setType(Type type)\n {\n this.type = type;\n }",
"@Override\n\tpublic void setType(String type) {\n\t}",
"public void setType(String newtype)\n {\n type = newtype;\n }",
"public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}",
"public void setType(java.lang.String newType) {\n\ttype = newType;\n}",
"public void setType(Type type) {\n this.type = type;\n }",
"public void setType(Type type) {\n this.type = type;\n }",
"public void setType(Type type) {\n this.type = type;\n }",
"@Override\n\tpublic void setType(String type) {\n\t\tthis.type = type;\n\t}",
"protected void setType(String newType) {\n\t\ttype = newType;\n\t}",
"public void setType(String type) {\n setObject(\"type\", (type != null) ? type : \"\");\n }"
] | [
"0.68889",
"0.653872",
"0.63628995",
"0.6334244",
"0.6292477",
"0.6291106",
"0.62054175",
"0.61895",
"0.61678946",
"0.61678946",
"0.61678946",
"0.6148539",
"0.6142307",
"0.6142307",
"0.6142307",
"0.6142307",
"0.6141969",
"0.6141071",
"0.6137377",
"0.61177224",
"0.6111286",
"0.61032856",
"0.61032856",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.6091901",
"0.60825354",
"0.6081741",
"0.6071935",
"0.6066347",
"0.6062408",
"0.6062408",
"0.6062408",
"0.60468227",
"0.6045989",
"0.6044927",
"0.60393304",
"0.6035664",
"0.6028855",
"0.60248685",
"0.60245514",
"0.60245514",
"0.6024055",
"0.6024055",
"0.60169166",
"0.60002816",
"0.59961283",
"0.59961283",
"0.59961283",
"0.59816176",
"0.59763044",
"0.596474",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.596197",
"0.5960506",
"0.59563345",
"0.5943259",
"0.59281766",
"0.5928167",
"0.5925781",
"0.5892872",
"0.58772665",
"0.5865428",
"0.58438444",
"0.5842848",
"0.5842362",
"0.583457",
"0.5819727",
"0.5819727",
"0.5819727",
"0.5802734",
"0.57664007",
"0.5758727"
] | 0.59429437 | 84 |
Get the version property: Policy version. | public String version() {
return this.version;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getVersionConstraint() {\n return version;\n }",
"public Number getVersion() {\n return (Number) getAttributeInternal(VERSION);\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Integer getVersion() {\r\n return version;\r\n }",
"public Integer getVersion() {\n return version;\n }",
"public Integer getVersion() {\n return version;\n }",
"public Integer getVersion() {\n return version;\n }",
"public Integer getVersion() {\n return version;\n }",
"public Integer getVersion() {\n return version;\n }",
"public Integer getVersion() {\n return version;\n }",
"int getTcfPolicyVersion();",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public String getVersion() {\r\n return version;\r\n }",
"public String getVersion () {\r\n return version;\r\n }",
"public long getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"public String getVersion()\n {\n return ver;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion() {\r\n\t\treturn version;\r\n\t}",
"public String getVersion() {\n\t\treturn version;\n\t}",
"public final int getVersion() {\n return version;\n }",
"public java.lang.String getVersion() {\r\n return version;\r\n }",
"public Long getVersion() {\n return this.version;\n }",
"public Long getVersion() {\n return this.version;\n }",
"public final String getVersion() {\n return version;\n }",
"public String getVersion() {\n return _version;\n }",
"public Version getVersion() {\n return version;\n }",
"public int getVersion() {\n return this.version;\n }",
"public Integer getVer() {\n return ver;\n }",
"public String getVersion() {\n return this.version;\n }",
"public String getVersion() {\n\t\treturn _version;\n\t}",
"public long getVersion() {\r\n return this.version;\r\n }",
"public String getVersion () {\n return this.version;\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public java.lang.String getVersion() {\n return version_;\n }",
"public String getVersion(){\r\n return version;\r\n }",
"@java.lang.Override\n public long getVersion() {\n return version_;\n }",
"public Integer getVersion() {\n\t\t\n\t\treturn this.version;\n\t}",
"public Integer version() {\n return this.version;\n }",
"public Integer getVer() {\n\t\treturn ver;\n\t}",
"public BigDecimal getVersion() {\r\n return version;\r\n }",
"@SuppressWarnings(\"unused\")\n private Long getVersion() {\n return version;\n }",
"@ApiModelProperty(value = \"Software Statement version as provided by the organisation's PTC\")\n\n @Valid\n\n public BigDecimal getVersion() {\n return version;\n }",
"public int getVersion()\n {\n return info.getVersion().intValueExact();\n }",
"@ApiModelProperty(value = \"(Is this valid?)\")\n public Long getVersion() {\n return version;\n }",
"public static String getVersion() {\n\t\treturn version;\n\t}",
"public static String getVersion() {\n return version;\n }",
"public static String getVersion() {\n return version;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public Version getVersion();",
"@java.lang.Override\n public long getVersion() {\n return instance.getVersion();\n }",
"@ApiModelProperty(value = \"The version is used for optimistic locking and incremented whenever the object is updated.\")\n public Integer getVersion() {\n return version;\n }",
"Integer getVersion();",
"public int getVersion()\n {\n return encryptionDictionary.getInt( \"V\", 0 );\n }",
"public HTTPVersion getVersion(){\n\t\t\treturn this.version;\n\t\t}",
"public String getVersion();",
"public String getVersion();",
"public String getVersion();",
"public String getVersion();",
"public String getVersion() {\n\t\treturn (VERSION);\n\t}",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"public com.vmware.converter.DVSPolicy getPolicy() {\r\n return policy;\r\n }",
"public int getVersionNumber() {\n return versionNumber;\n }",
"int getPaymentDetailsVersion();",
"@CheckForNull\n String getVersion();",
"public int getVersion() {\n return mVersion;\n }"
] | [
"0.7210022",
"0.70951366",
"0.7093565",
"0.7093565",
"0.7093565",
"0.7093565",
"0.70746034",
"0.70689493",
"0.70689493",
"0.70689493",
"0.70689493",
"0.70689493",
"0.70689493",
"0.70257545",
"0.70001584",
"0.70001584",
"0.70001584",
"0.70001584",
"0.70001584",
"0.69998765",
"0.69899046",
"0.6987132",
"0.6987132",
"0.69870204",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.69847053",
"0.6978836",
"0.69782054",
"0.69782054",
"0.69725734",
"0.69725734",
"0.69695336",
"0.6965284",
"0.6956759",
"0.69427204",
"0.69360363",
"0.69315374",
"0.69315374",
"0.6926501",
"0.6917716",
"0.6917205",
"0.6912539",
"0.6911233",
"0.6904603",
"0.6900925",
"0.6889383",
"0.6880153",
"0.6875241",
"0.6875241",
"0.6865511",
"0.68467647",
"0.6845279",
"0.6835673",
"0.68250936",
"0.6816015",
"0.680689",
"0.6796712",
"0.6791621",
"0.67879844",
"0.6785478",
"0.67755544",
"0.67707896",
"0.67707896",
"0.6769725",
"0.6768947",
"0.671585",
"0.67120403",
"0.6689604",
"0.66893446",
"0.66746485",
"0.6667235",
"0.6667235",
"0.6667235",
"0.6667235",
"0.6661885",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6646819",
"0.6642997",
"0.662646",
"0.66244924",
"0.66179675",
"0.6616926"
] | 0.6651585 | 86 |
Set the version property: Policy version. | public CustomizationPolicyInner withVersion(String version) {
this.version = version;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setVersion(String version);",
"public void setVersion(String version)\n {\n this.ver = version;\n }",
"public void setVersion(int version)\n {\n encryptionDictionary.setInt( \"V\", version );\n }",
"void setVersion(String version);",
"void setVersion(String version);",
"public void setVersion(int version) {\n this.version = version;\n }",
"public void setVersion(int version) {\n this.version = version;\n }",
"void setVersion(long version);",
"public void setVersion(Integer version)\r\n {\r\n this.version = version;\r\n }",
"public final void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\r\n this.version = version;\r\n }",
"public void setVersion(int value) {\n this.version = value;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n this.version = version;\n }",
"public void setVersion(long version) {\n this.version = version;\n }",
"public void setVersion( Integer version ) {\n this.version = version;\n }",
"public void setVersion(final Long version);",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(Integer version) {\n\t\tthis.version = version;\n\t}",
"public void setVersion(String version)\n {\n this.version = version;\n }",
"public void setVersion(String version) {\r\n\t\tthis.version = version;\r\n\t}",
"public void setVersion(String version) {\n\t\t\r\n\t}",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(String version) {\n\t\tthis.version = version;\n\t}",
"public void setVersion(String version) {\n this.version = version;\n }",
"public void setVersion(java.lang.String version) {\r\n this.version = version;\r\n }",
"public void setVersion(String _version) {\n this._version = _version;\n }",
"private void setVersionNumber(int version) {\n versionNumber = version;\n }",
"public void setVersion(String version){\r\n this.version = version;\r\n }",
"@Override\r\n\tpublic void setVersion(int version) {\n\r\n\t}",
"public void setVersion(String value) {\n\t\tthis._version = value;\n\t}",
"@CompositeValue(ignore=true)\n @XmlAttribute(name=\"version\")\n public void setVersion(Version version)\n {\n versionRange = new VersionRange(version, true, version, true);\n }",
"@SuppressWarnings(\"unused\")\n private void setVersion(final Integer version) {\n this.version = version;\n }",
"@SuppressWarnings(\"unused\")\n private void setVersion(final Integer version) {\n this.version = version;\n }",
"public void setVersion(Number value) {\n setAttributeInternal(VERSION, value);\n }",
"public void setManifestVersion() {\n\t\tSharedPreferences.Editor editor = sp.edit();\n\t\teditor.putString(VERSION_KEY, thisVersion);\n\t\teditor.commit();\n\t}",
"public void setVersion(String version) {\n this.version = version == null ? null : version.trim();\n }",
"public void setVersion(String version) {\r\n this.version = version == null ? null : version.trim();\r\n }",
"public void setVersion(Long version) {\n this.version = version;\n }",
"public void setVersion(Long version) {\n this.version = version;\n }",
"public void setVersion(Long version) {\n this.version = version;\n }",
"public void setVersion(Long version) {\n this.version = version;\n }",
"SchemaReference setVersion(String version);",
"@SuppressWarnings(\"unused\")\n private void setVersion(Long version) {\n this.version = version;\n }",
"public void setVersion(org.hl7.fhir.String version)\n {\n generatedSetterHelperImpl(version, VERSION$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }",
"public void setVer(Integer ver) {\n this.ver = ver;\n }",
"public void setVersion(BigDecimal version) {\r\n this.version = version;\r\n }",
"public void setVersion( String version )\n {\n this.version = version.toLowerCase( Locale.ENGLISH );\n }",
"public final void setVersion(java.lang.String version)\r\n\t{\r\n\t\tsetVersion(getContext(), version);\r\n\t}",
"public void setVersion(java.math.BigInteger version)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$6);\r\n }\r\n target.setBigIntegerValue(version);\r\n }\r\n }",
"public void setVer(Integer ver) {\n\t\tthis.ver = ver;\n\t}",
"private void setVersion(long value) {\n bitField0_ |= 0x00000002;\n version_ = value;\n }",
"public void setVersion(int version)\n\t{\n\t\tconferenceInfo.setAttribute(VERSION_ATTR_NAME, Integer.toString(version));\n\t}",
"@Override\n\tpublic void setVersion(java.lang.String version) {\n\t\t_scienceApp.setVersion(version);\n\t}",
"public WriterOptions version(Version value) {\n versionValue = value;\n return this;\n }",
"@ApiModelProperty(value = \"Software Statement version as provided by the organisation's PTC\")\n\n @Valid\n\n public BigDecimal getVersion() {\n return version;\n }",
"void setVersion(int version) {\n removeOldVersion();\n\n String sql = \"INSERT INTO \" + tableName + \" (\" + VERSION_COL + \") VALUES (?)\";\n\n execute(new ExecuteStatement(sql) {\n @Override\n public void prepare(PreparedStatement statement) throws SQLException {\n statement.setInt(1, version);\n }\n });\n }",
"public void setSchemaVersion(int version) {\n this.SCHEMA_VERSION = version;\n }",
"public void setPolicy(short policy) {\n\t\t_policy = policy;\n\t}",
"public final void setVersion(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String version)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.Version.toString(), version);\r\n\t}",
"public synchronized void setVersion(final InternationalString newValue) {\n checkWritePermission();\n version = newValue;\n }",
"public void setVersion(long param){\n \n // setting primitive attribute tracker to true\n \n if (param==java.lang.Long.MIN_VALUE) {\n localVersionTracker = false;\n \n } else {\n localVersionTracker = true;\n }\n \n this.localVersion=param;\n \n\n }",
"@ApiModelProperty(value = \"The version is used for optimistic locking and incremented whenever the object is updated.\")\n public Integer getVersion() {\n return version;\n }",
"@ApiModelProperty(value = \"(Is this valid?)\")\n public Long getVersion() {\n return version;\n }",
"public Builder setVersion(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n version_ = value;\n onChanged();\n return this;\n }",
"public VersionLockingPolicy() {\r\n super();\r\n storeInCache();\r\n }",
"public void setSaveVersion(int version)\n {\n saveVersion = version;\n }",
"public Builder setVersion(final String value) {\n _version = value;\n return this;\n }",
"private void setChromeVersion(org.chromium.components.paint_preview.common.proto.PaintPreview.ChromeVersionProto value) {\n value.getClass();\n chromeVersion_ = value;\n bitField0_ |= 0x00000004;\n }",
"public void setCurrentVersion(String currentVersion) {\n this.currentVersion = currentVersion;\n }",
"void setApplicationVersion(java.lang.String applicationVersion);",
"public void setServiceVersion(String serviceVersion);",
"public Builder setVersion(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n version_ = value;\n bitField0_ |= 0x00008000;\n onChanged();\n return this;\n }",
"public Builder version(String version) {\n descriptor.version(version);\n return this;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Deprecated, use the appropriate `pipeline` version. Specify a specific verison of PrinceXML to use.\")\n @JsonProperty(JSON_PROPERTY_VERSION)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getVersion() {\n return version;\n }",
"public void incrementVersion() {\n this.version++;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n version_ = value;\n onChanged();\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n version_ = value;\n onChanged();\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n version_ = value;\n onChanged();\n return this;\n }",
"public String getVersionConstraint() {\n return version;\n }",
"@ApiModelProperty(example = \"1.0.0\", value = \"The raw version for this package.\")\n public String getVersion() {\n return version;\n }",
"public Builder setVersion(long value) {\n copyOnWrite();\n instance.setVersion(value);\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n version_ = value;\n onChanged();\n return this;\n }",
"public void setPolicy(com.vmware.converter.DVSPolicy policy) {\r\n this.policy = policy;\r\n }",
"public void incrementVersion() {\n this.version += 1;\n }",
"public Flow withVersion(Integer version) {\n this.version = version;\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n version_ = value;\n onChanged();\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n version_ = value;\n onChanged();\n return this;\n }",
"public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n version_ = value;\n onChanged();\n return this;\n }",
"public void setXpeContractVersion(String value) {\n setAttributeInternal(XPECONTRACTVERSION, value);\n }",
"@SystemApi\n @RequiresPermission(anyOf = {\n Manifest.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY,\n Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS\n })\n public void setRuntimePermissionsVersion(@IntRange(from = 0) int version) {\n try {\n mPackageManager.setRuntimePermissionsVersion(version, mContext.getUserId());\n } catch (RemoteException e) {\n throw e.rethrowFromSystemServer();\n }\n }",
"public void setVersionNo(Integer versionNo) {\r\n\t\tthis.versionNo = versionNo;\r\n\t}",
"public Builder setCurrentVersion(int value) {\n bitField0_ |= 0x00000080;\n currentVersion_ = value;\n onChanged();\n return this;\n }"
] | [
"0.71798736",
"0.712637",
"0.7121085",
"0.7092554",
"0.7092554",
"0.707542",
"0.707542",
"0.706197",
"0.701458",
"0.7007337",
"0.700427",
"0.70004576",
"0.6972937",
"0.6972937",
"0.6972937",
"0.6972937",
"0.6972937",
"0.6972937",
"0.69694495",
"0.6959363",
"0.69571644",
"0.69360864",
"0.69360864",
"0.6933779",
"0.6926527",
"0.6918496",
"0.6888663",
"0.68724906",
"0.68724906",
"0.68724906",
"0.6866598",
"0.6866481",
"0.6857128",
"0.6842116",
"0.68399215",
"0.6817096",
"0.6798803",
"0.6795844",
"0.6781599",
"0.6745851",
"0.6745851",
"0.6670611",
"0.6664366",
"0.66535217",
"0.66491246",
"0.66099143",
"0.66099143",
"0.66099143",
"0.66099143",
"0.6532357",
"0.6526598",
"0.65136296",
"0.6497264",
"0.64243764",
"0.64220285",
"0.63997",
"0.6371971",
"0.6368482",
"0.6332388",
"0.6321002",
"0.6290065",
"0.62236416",
"0.61708236",
"0.6125843",
"0.6074601",
"0.6073092",
"0.6013284",
"0.5990359",
"0.59863347",
"0.59664214",
"0.59373",
"0.59160745",
"0.5904612",
"0.58997625",
"0.58698523",
"0.5864563",
"0.58492154",
"0.5841075",
"0.5836736",
"0.5805054",
"0.57927656",
"0.57914025",
"0.5779553",
"0.57599103",
"0.57599103",
"0.57599103",
"0.5754632",
"0.57238483",
"0.5719157",
"0.57178646",
"0.57148683",
"0.5713961",
"0.5708572",
"0.5704494",
"0.5704494",
"0.5704494",
"0.57014394",
"0.57007694",
"0.569867",
"0.5697558"
] | 0.63137853 | 60 |
TODO code application logic here | public static void main(String[] args) throws IOException {
File archivo = new File("/Users/Germayn/Documents/NetBeansProjects/busquedalineal/archivoprueba.txt");
Scanner teclado = new Scanner(System.in);
System.out.println("palabra a buscar");
String palabra = teclado.nextLine();
System.out.println("");
buscarpalabra(archivo,palabra);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"public void autoDetails() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n protected void execute() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\t\tpublic void rest() {\n\t\t\t\n\t\t}",
"protected void onFirstUse() {}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"private void getStatus() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n protected void execute() {\n \n }",
"@Override\n public void feedingHerb() {\n\n }",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n public void execute() {\n \n \n }",
"@Override\n\tpublic void view() {\n\t\t\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\r\n protected void fetchData() {\n\r\n }",
"@Override\n public void onCancelled(CancelledException arg0) {\n }",
"@Override\n public void onCancelled(CancelledException arg0) {\n }",
"@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}",
"protected void aktualisieren() {\r\n\r\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\n\t\tprotected void onPreExecute() \n\t\t{\n\t\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\t\t\tpublic void onPreExecute() {\n\t\t\t\t\n\t\t\t}",
"@Override\n protected void execute() {\n }",
"@Override\n protected void execute() {\n }",
"@Override\n protected void execute() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"private static void oneUserExample()\t{\n\t}",
"@Override\n public void onCancelled(CancelledException arg0) {\n\n }",
"@Override\n protected void execute() {\n\n }",
"public void logic(){\r\n\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tprotected void execute() {\r\n\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\t \n\t\t\t super.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\r\n\tprotected void onPreExecute() {\n\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tprotected void onPreExecute() {\n\t\t}",
"@Override\n\t\t\tprotected void onPreExecute()\n\t\t\t{\n\n\t\t\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"private RESTBackend()\n\t\t{\n\t\t\t\n\t\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"public void redibujarAlgoformers() {\n\t\t\n\t}",
"@Override\n protected void startUp() {\n }",
"protected void mo6255a() {\n }",
"protected void viewSetup() {\n\t\t// TODO Auto-generated method stub\n\n\t}",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"@Override\r\n\tpublic void manage() {\n\t\t\r\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"public void mo38117a() {\n }",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void queryData() {\n\t\t\n\t}",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"@Override\n\t\t\t\t\tprotected void onPreExecute() {\n\t\t\t\t\t\tsuper.onPreExecute();\n\t\t\t\t\t}",
"@Override\n\tpublic void getStatus() {\n\t\t\n\t}",
"@Override\n protected void onPreExecute() {\n \n }",
"protected void index()\r\n\t{\n\t}",
"public void mo6081a() {\n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void crawl_data() {\n\t\t\r\n\t}",
"public void mo55254a() {\n }"
] | [
"0.60802186",
"0.5912082",
"0.58425087",
"0.58339286",
"0.5810548",
"0.57580656",
"0.57396024",
"0.5721001",
"0.5705411",
"0.5666017",
"0.5657976",
"0.5613798",
"0.5611188",
"0.5611188",
"0.55960613",
"0.55933475",
"0.557677",
"0.5572332",
"0.5565667",
"0.55482084",
"0.5536573",
"0.5534607",
"0.5533934",
"0.5468669",
"0.5460392",
"0.5443554",
"0.543027",
"0.5422523",
"0.5420404",
"0.5420404",
"0.5414971",
"0.53763115",
"0.5367869",
"0.53636855",
"0.53608036",
"0.5329318",
"0.5327322",
"0.5327322",
"0.53258926",
"0.53220093",
"0.53199",
"0.5311158",
"0.53085816",
"0.5307914",
"0.52976745",
"0.52976745",
"0.52976745",
"0.5297331",
"0.52968514",
"0.5293012",
"0.5281331",
"0.5277546",
"0.5277546",
"0.52726364",
"0.52688015",
"0.5267047",
"0.5266958",
"0.5262331",
"0.5261341",
"0.52587026",
"0.52557015",
"0.5255123",
"0.524477",
"0.52443206",
"0.5236655",
"0.52359647",
"0.52248156",
"0.52246475",
"0.52233",
"0.52207166",
"0.52205276",
"0.5216701",
"0.5206895",
"0.52030635",
"0.51967937",
"0.51948136",
"0.51947194",
"0.5188396",
"0.518064",
"0.518064",
"0.5177845",
"0.5175415",
"0.5175415",
"0.5175415",
"0.5175415",
"0.5175415",
"0.5175415",
"0.5173223",
"0.5173223",
"0.5170695",
"0.5168988",
"0.51654655",
"0.51593053",
"0.5157954",
"0.5156624",
"0.5153031",
"0.5152581",
"0.51493365",
"0.5148302",
"0.51443505",
"0.51430386"
] | 0.0 | -1 |
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested | @Test
public void loadAllTasksFromRepositoryAndLoadIntoView() {
mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);
mPlaylistPresenter.loadTasks(true);
// Callback is captured and invoked with stubbed tasks
verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());
mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);
// Then progress indicator is shown
InOrder inOrder = inOrder(mTasksView);
inOrder.verify(mTasksView).setLoadingIndicator(true);
// Then progress indicator is hidden and all tasks are shown in UI
inOrder.verify(mTasksView).setLoadingIndicator(false);
ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);
verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());
assertTrue(showTasksArgumentCaptor.getValue().size() == 3);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void loadActiveTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ACTIVE_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is hidden and active tasks are shown in UI\n verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 1);\n }",
"@Test\n public void loadCompletedTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.COMPLETED_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is hidden and completed tasks are shown in UI\n verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 2);\n }",
"private void loadItemList() {\n this.presenter.initialize();\n }",
"public interface TopMoviesPresenter extends LoadingPresenter<List<MovieListItem>, TopMoviesView> {\n\n void onMovieItemClicked(String movieId);\n}",
"public void requestPlaylistDataLoad() {\n getSupportLoaderManager().initLoader(PLAYLIST_LOADER_INDEX, null, this).forceLoad();\n }",
"public static void loadPlaylist()\n {\n if (JSoundsMainWindowViewController.alreadyPlaying)\n JSoundsMainWindowViewController.stopSong();\n \n JSoundsMainWindowViewController.shutDownPlayer();\n JSoundsMainWindowViewController.isPlaylist=true;\n JSoundsMainWindowViewController.playlistOrderBy(true, false, false);\n }",
"public interface BasePresenter<T> {\n void onLoading(int taskID, int ways,Object...objects);\n void onLoadingSuccess(List<T> data);\n void onLoadingFailed(String tip);\n}",
"private void initTaskViews(){\n for (Task t : taskManager.getTasksList()){\n submit(t.getName(), t.getIdInView(), t.getTimeForTask(), t.isFinished());\n }\n }",
"@Test\n public void unavailableTasks_ShowsError() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // And the tasks aren't available in the repository\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onDataNotAvailable();\n\n // Then an error message is shown\n verify(mTasksView).showLoadingTasksError();\n }",
"public TaskList (ArrayList<Task> tasks){ this.tasks = tasks;}",
"public interface TicketPresenter extends Presenter {\n void loadTicketsContainer();\n void loadTicketsList(List<Ticket> ticketsList);\n}",
"public interface TodoPresenter extends BaseListPresenter<TodoView> {\n\n Item createItem(String name);\n\n void completeItem(Item item, int position);\n\n}",
"public TaskAdapter(List<Task> taskList) {\n this.taskList = taskList;\n }",
"public TaskList(){}",
"TaskList() {\r\n tasks = new ArrayList<>();\r\n }",
"public void populateTaskList(String _task){\n\t\ttaskList.getItems().add(_task);\n\t}",
"public interface QuestionPresenter {\n\n List<Questions> shuffledQuestionList = new ArrayList<>();\n\n void onDestroy();\n\n void onCreate();\n\n void prepareListToShowAllQuestion();\n\n void prepareListToShowUnansweredQuestion();\n\n void prepareListToShowAnsweredQuestion();\n\n void prepareListToResetAll();\n\n void shuffleQuestion();\n\n void shuffleQuestionAndResetAllLocally();\n\n QuestionPagerAdapter initAdapter(int technology);\n\n}",
"@Override\n public void onInitializeTasks() {\n }",
"@Override\n public void loadItems(){\n Log.d(\"Presenter\",\"Loading Items\");\n mRepository.getItems(new DataSource.LoadItemsCallback() {\n @Override\n public void onItemsLoaded(List<Session> sessions) {\n Log.d(\"PRESENTER\",\"Loaded\");\n\n //mView.showItems(Items);\n }\n\n @Override\n public void onDataNotAvailable() {\n Log.d(\"PRESENTER\",\"Not Loaded\");\n }\n });\n }",
"public interface PlaylistsMvpPresenter extends BaseMvpPresenter<PlaylistsMvpView> {\n void onCreate(FragmentActivity activity);\n void onCreateView();\n void onPlaylistClicked(MediaBrowserCompat.MediaItem item, View animatingView);\n void onRefresh();\n}",
"public TaskList() {\n this.listItems = new ArrayList<>();\n }",
"public TaskList(List<Task> tl) {\n tasks = tl;\n }",
"private void populateUserPlaylitstsSection() {\n \tPlaylist dumyPlaylist = new Playlist();\n \tMap<Long, Playlist> playlistsMap = mDataManager.getStoredPlaylists();\n \tList<Playlist> playlists = new ArrayList<Playlist>();\n \t\n \t// Convert from Map<Long, Playlist> to List<Itemable> \n \tif (playlistsMap != null && playlistsMap.size() > 0) {\n \t\tfor(Map.Entry<Long, Playlist> p : playlistsMap.entrySet()){\n \t\t\tplaylists.add(p.getValue());\n \t\t}\n \t}\n\t\t\n \t// populates the favorite playlists.\n \tif (!Utils.isListEmpty(playlists)) {\n \t\tmContainerMyPlaylists.setVisibility(View.VISIBLE);\n \t\t// shows any internal component except the empty text.\n \t\tmTextMyPlaylist1Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist2Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist3Name.setVisibility(View.VISIBLE);\n \t\tmImageMoreIndicator.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylistEmpty.setVisibility(View.GONE);\n \t\t\n \t\tmTextMyPlaylistsValue.setText(Integer.toString(playlists.size()));\n \t\t\n \t\tStack<TextView> playlistsNames = new Stack<TextView>();\n \t\tplaylistsNames.add(mTextMyPlaylist3Name);\n \t\tplaylistsNames.add(mTextMyPlaylist2Name);\n \t\tplaylistsNames.add(mTextMyPlaylist1Name);\n\n \t\tTextView songName = null;\n \t\t\n \t\tfor (Playlist playlist : playlists) {\n \t\t\tif (playlistsNames.isEmpty())\n \t\t\t\tbreak;\n \t\t\t\n \t\t\tsongName = playlistsNames.pop();\n \t\t\tsongName.setText(playlist.getName());\n\t\t\t}\n \t\t\n \t} else {\n \t\tmContainerMyPlaylists.setVisibility(View.GONE);\n \t}\n\t}",
"private List<Task> tasks2Present(){\n List<Task> tasks = this.taskRepository.findAll();\n// de taken verwijderen waar user eerder op reageerde\n tasks2React(tasks);\n// taken op alfabetische volgorde zetten\n sortTasks(tasks);\n// opgeschoonde lijst aan handler geven\n return tasks;\n }",
"TaskList(List<Task> tasks) {\n this.tasks = tasks;\n }",
"@Test\n public void clickOnTask_ShowsDetailUi() {\n Song requestedSong = new Song(\"Details Requested\", \"For this task\", SOURCE);\n Playlist playlist = new Playlist(requestedSong);\n\n // When open task details is requested\n mPlaylistPresenter.openSongPlayer(playlist);\n\n // Then task detail UI is shown\n verify(mTasksView).showSongPlayerUI(any(Playlist.class));\n }",
"private void iniAdapter(List<Task> tasks) {\n presAdapter = new TaskAdapter(tasks, this, 1);\n// recyclerView.setAdapter(presAdapter);\n }",
"@Test\n public void getPlaylistTest() {\n if (playlists.size() > 0) {\n PlaylistRepresentation expectedPlaylistRepresenation = new PlaylistRepresentation(playlists.get(0));\n ResponseEntity<PlaylistRepresentation> responseEntity = rest.getForEntity(BASE_URL + \"/\" +\n expectedPlaylistRepresenation.getPlaylist().getPlaylistId(), PlaylistRepresentation.class, Collections.EMPTY_MAP);\n assertEquals(\"Asserting status code\", HttpStatus.OK, responseEntity.getStatusCode());\n assertEquals(\"Asserting entity\", expectedPlaylistRepresenation, responseEntity.getBody());\n }\n }",
"private void setList() {\n Log.i(LOG,\"+++ setList\");\n txtCount.setText(\"\" + projectTaskList.size());\n if (projectTaskList.isEmpty()) {\n return;\n }\n\n projectTaskAdapter = new ProjectTaskAdapter(projectTaskList, darkColor, getActivity(), new ProjectTaskAdapter.TaskListener() {\n @Override\n public void onTaskNameClicked(ProjectTaskDTO projTask, int position) {\n projectTask = projTask;\n mListener.onStatusUpdateRequested(projectTask,position);\n }\n\n\n });\n\n mRecyclerView.setAdapter(projectTaskAdapter);\n mRecyclerView.scrollToPosition(selectedIndex);\n\n }",
"public void onLoadPlaylistFromDialogSelected(List<Track> tracks);",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"@Override\n\t protected PlaylistItem doInBackground(Void... voids) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(MainActivity.favoriteListId);\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t return returnedPlaylistItem;\n\t }",
"public interface MoviePresenter {\n\n public void getUpcomingMovieData();\n\n public void getTopRatedMovieData();\n\n public void getNowPlayingMovieData();\n\n public void getPopularMovieData();\n\n public List<Movies> getPopularTvShowsData();\n\n public void getTopRatedTvShowsData();\n\n public void getSearchForMovies(String query);\n\n public Result getResult();\n\n public void setResult(Result result);\n\n public List<Movies> getMovieLst();\n\n public void setMovieLst(ArrayList<Movies> movieLst);\n\n public void onResumePresenter();\n\n}",
"private void populatePlayList()\r\n {\r\n \tCursor songs = playlist.getSongs();\r\n \tcurAdapter = new SimpleCursorAdapter(this, R.layout.song_item, songs, new String[]{Library.KEY_ROWID}, new int[] {R.id.SongText});\r\n \tcurAdapter.setViewBinder(songViewBinder);\r\n \tsetListAdapter(curAdapter);\r\n }",
"ObservableList<Task> getTaskList();",
"public interface IAppInfoUsePresenter {\n //加载app列表数据\n void loadAppList();\n}",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"private void populateList() {\n new AsyncTask<Void, Void, Boolean>() {\n @Override\n protected Boolean doInBackground(Void... params) {\n List<Item> list = TodoApplication.getDbHelper().getAllItems();\n if(list == null) {\n Log.d(TAG, \"doInBackground: no items in the database.\");\n return false;\n } else {\n itemsList = list;\n adapter.setUpdatedList(itemsList);\n }\n // Successfully loaded the list.\n return true;\n }\n\n @Override\n protected void onPostExecute(Boolean isSuccess) {\n super.onPostExecute(isSuccess);\n if(isCancelled()) {\n return;\n }\n if(isSuccess) {\n if(adapter != null) {\n adapter.notifyDataSetChanged();\n }\n if(itemsList == null || itemsList.size() == 0) {\n setEmptyScreen();\n } else {\n emptyText.setVisibility(View.GONE);\n todoRecyclerView.setVisibility(View.VISIBLE);\n }\n } else {\n setEmptyScreen();\n }\n }\n }.execute();\n }",
"public Ui(TaskList tasks) {\n this.tasks = tasks;\n }",
"public interface ITaskController {\n\n void showTasks();\n Task addTask();\n boolean removeTask();\n boolean performTask(String path);\n Task takeTask(int taskNum);\n}",
"public LoadPullRequestListTask(PullRequestListActivity activity, boolean hideMainView) {\n mTarget = new WeakReference<PullRequestListActivity>(activity);\n mHideMainView = hideMainView;\n }",
"@Override\n\t protected YoutubePlaylist doInBackground(YoutubePlaylist... playlists) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(playlists[0].getListId());\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t\t if (returnedPlaylistItem!=null){\n\t\t \t return playlists[0];\n\t\t }else{\n\t\t \t return null;\n\t\t }\n\t }",
"public interface TaskListInterface {\n void addTask(Task task);\n\n void printTasks();\n TaskListInterface viewTasksByName(String word);\n TaskListInterface viewTasksByDay(int day);\n TaskListInterface viewTasksByMonth(int month);\n TaskListInterface viewTasksByYear(int year);\n TaskListInterface viewUpcomingTasks();\n\n void modifyTask(int taskNumber);\n void makeTaskDone(int taskNumber);\n\n void deleteTask(int taskNumber);\n}",
"public interface CategoryTourPresenter {\n\n void getAllCategory();\n\n interface View extends BaseView{\n\n void showAllCategory(List<ItemCategory> itemCategoryList);\n }\n\n}",
"public interface IMainPresenter extends IPresenter {\n\n void getAllTodos();\n\n void deleteTodosById(List<Integer> todoList);\n\n}",
"public List<WTask> getTaskList(){return taskList;}",
"public TaskList() {\n }",
"@Override\n\tpublic void initData() {\n\t\tsuper.initData();\n\t\tgetSynCourseTask(courseType, pageIndex);\n\t}",
"List<ReadOnlyTask> getTaskList();",
"List<ReadOnlyTask> getTaskList();",
"private void playlistCheck() {\n\t\t\tif (mServicePlayerEngine != null) {\n\t\t\t\tif (mServicePlayerEngine.getPlaylist() == null\n\t\t\t\t\t\t&& mPlaylist != null) {\n\t\t\t\t\tmServicePlayerEngine.openPlaylist(mPlaylist);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"private void displayTasks(List<Task> taskList) {\n\n adapter.setTaskList(taskList);\n adapter.notifyDataSetChanged();\n }",
"@Override\n public void getTasks(@NonNull final LoadTasksCallback callback) {\n if(mCachedTasks != null && !mCacheIsDirty) {\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n return;\n }\n if(mCacheIsDirty) {\n // If cache is dirty fetch data from the remote source again\n getTaskFromRemoteDataSource(callback);\n } else {\n // Query the Local Storage is available . If not query the network\n mTasksLocalDataSource.getTasks(new LoadTasksCallback() {\n @Override\n public void onTasksLoaded(List<Task> tasks) {\n refreshCache(tasks);\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n }\n\n @Override\n public void onDataNotAvailable() {\n getTaskFromRemoteDataSource(callback);\n }\n });\n }\n\n }",
"private void initPresenter() {\n\n RequestQueue requestQueue = App.getInstance().getRequestQueue();\n CatsHttp catsHttp = new VolleyCatsHttp(requestQueue);\n\n CatsRepository catsRepository = new CatsRepository(catsHttp);\n\n presenter = new MainPresenter(catsRepository);\n presenter.bindView(this);\n }",
"private void loadTasks() {\n try {\n List<Task> tasks = Reader.readTasks(new File(TASKS_FILE));\n for (Task t1 : tasks) {\n todoList.addTask(t1);\n }\n } catch (IOException e) {\n System.err.println(\"No file exists\");\n }\n }",
"public interface ICartListPresenter extends IBasePresenter {\n void loadNoData();\n}",
"protected abstract void createTasks();",
"@Test\n public void testGetTasksForSession() {\n\n List<Task> tasks;\n\n tasks = Session.getTasks(Session.NAME.PRE, 1);\n\n assertNotNull(tasks);\n assertTrue(\"Pre should have two tasks.\", tasks.size() == 2);\n assertEquals(\"Unique name for the task should be DASS_21\", \"DASS21_AS\", tasks.get(0).getName());\n assertEquals(\"First task should be named Status Questionnaire\", \"Status Questionnaire\", tasks.get(0).getDisplayName());\n assertEquals(\"First task should point to the DASS21 questionniare\", Task.TYPE.questions, tasks.get(0).getType());\n assertEquals(\"First task should point to the DASS21 questionniare\",\"questions/DASS21_AS\", tasks.get(0).getRequestMapping());\n assertTrue(\"First task should be completed\",tasks.get(0).isComplete());\n assertFalse(\"First task should not be current\",tasks.get(0).isCurrent());\n assertFalse(\"Second task should not be completed\",tasks.get(1).isComplete());\n assertTrue(\"Second task should be current\",tasks.get(1).isCurrent());\n\n Session s = new Session();\n s.setTasks(tasks);\n assertEquals(\"Second task is returned when current requested\", tasks.get(1), s.getCurrentTask());\n\n }",
"void setupPresenter() {\n mPresenter = new leaguePresenter(this);\n ScheduleList.getInstance().setPresenter(mPresenter);\n }",
"public interface TasksView {\n\n /**\n * Set To.Dos in the Adapter\n *\n * @param tasks\n */\n void setTodos(ArrayList<Task> tasks);\n\n /**\n * Notify To.Dos data set has changed\n */\n void notifyListDataSetChanged();\n\n /**\n * Notify item removed in Adapter\n *\n * @param position\n */\n void notifyListItemRemoved(int position);\n\n /**\n * Notify item inserted in Adapter\n *\n * @param position\n */\n void notifyListItemInserted(int position);\n\n /**\n * Show Dialog with To.Do actions\n *\n * @param task\n */\n void showItemDialog(Task task, CharSequence items[]);\n\n /**\n * Show TodoView to edit old To.Do\n *\n * @param task\n */\n void showTodoViewToEdit(Task task);\n\n /**\n * Show TodoView to create new To.Do\n */\n void showTodoView();\n\n}",
"@Override\r\n\tprotected void initializePresenter() {\n\r\n\t}",
"public TaskList() {\n this.USER_TASKS = new ArrayList<>();\n }",
"public interface LoaderPresenter {\n void startProgressBar();\n\n void navigateToLoader();\n\n void startDialog();\n\n}",
"void getTasks( AsyncCallback<java.util.List<org.openxdata.server.admin.model.TaskDef>> callback );",
"public TaskList(ArrayList<Task> taskList) {\n this.taskList = taskList;\n }",
"TaskList getList();",
"protected abstract void preparePresenter( PlaceRequest request, T presenter );",
"public interface TasksContract {\n\n public interface View extends BaseView<Presenter> {\n void showAddTask();\n void showSuccessfullySavedMessage();\n }\n\n public interface Presenter extends BasePresenter{\n void result(int requestCode, int resultCode);\n void addNewTask();\n }\n}",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n }\n }",
"public void openPlaylist(PlaylistDTO playlistDTO) {\n Timber.v(\"Playlist open required\");\n // save search params if we are in search mode\n if (searchParams != null && searchParams.containsKey(SEARCH_QUERY)) {\n savedSearchParams = searchParams;\n }\n\n Bundle bundle = new Bundle();\n bundle.putSerializable(PLAYLIST_BUNDLE, playlistDTO);\n setToolbarTitle(bundle);\n getSupportLoaderManager().restartLoader(TRACK_LOADER_INDEX, bundle, this).forceLoad();\n }",
"public Void doInBackground(Void... voidArr) {\n PlaylistListResponse playlistListResponse;\n try {\n String access$100 = YoutubePlaylistFragment.this.nextPageToken;\n String str = YoutubeRequestParams.req_detail_parts;\n if (access$100 != null) {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setPageToken(YoutubePlaylistFragment.this.nextPageToken).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n } else {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n }\n YoutubePlaylistFragment.this.list.addAll(playlistListResponse.getItems());\n YoutubePlaylistFragment.this.nextPageToken = playlistListResponse.getNextPageToken();\n } catch (IOException e) {\n try {\n e.printStackTrace();\n } catch (Exception unused) {\n cancel(true);\n return null;\n }\n }\n return null;\n }",
"public TaskLoader(Context context, TaskContract.TypeTask typeTask) {\n super(context);\n mContext = context;\n mTypeTask = typeTask;\n mObserver = new ForceLoadContentObserver();\n }",
"@Override\n public void init() throws IOException {\n ToDoData.getInstance().loadTasks();\n }",
"public interface BoardDownloaderPresenter extends BasePresenter {\n interface View extends BaseView {\n void onShowDownloadableBoardList(List<BoardBeanModel> boards);\n\n void onProgressBarChanged(String boardName, int listPositon, int progress);\n\n void onBoardDownloadFailed(String boardName, int listPositon, String error);\n\n void onBoardDownloadFinish(String boardName, int listPositon);\n\n void onBoardDownloadPause(String boardName, int listPositon);\n\n void onBoardDownloadResume(String boardName, int listPositon);\n\n void onBoardDownloadRetry(String boardName, int listPositon);\n\n void onDownloadResource(String URL, String name, int position);\n\n void onBoardDownloadStarted(String boardName, int listPosition);\n\n void onViewShowBoardResource(String boardName);\n }\n\n void refresh();\n\n void downloadBoardByName(String name, int position,int downloadState);\n\n void pending(String name,int taskId, int soFarBytes, int totalBytes);\n\n void progress(String name,int taskId, int soFarBytes, int totalBytes);\n\n void completed(String name,int taskId);\n\n void paused(String name,int taskId, int soFarBytes, int totalBytes);\n\n void error(String name,int taskId, Throwable e);\n\n void warn(String name,int taskId);\n\n}",
"private void setUpList(JPanel panel){\n panel.setLayout(new BorderLayout());\n JPanel holder = new JPanel();\n holder.setLayout(new BoxLayout(holder,BoxLayout.Y_AXIS));\n for(Object t: agenda.getConnector().getTasks(currentList)) {\n Tasks task = (Tasks)t;\n add = false;\n this.addTask(holder,task);\n add = true;\n }\n JScrollPane scrollPane = new JScrollPane(holder,ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n JButton showCompleted = new JButton(\"Show completed\");\n showCompleted.addActionListener(e -> {\n JPanel completedPanels = new JPanel();\n this.setUpSize(completedPanels,400,400,AgendaConstants.ALL);\n completedPanels.setLayout(new BoxLayout(completedPanels,BoxLayout.Y_AXIS));\n for(Object o: agenda.getConnector().getCTasks(currentList)){\n CompletedTodo t = (CompletedTodo) o;\n Task task = new Task(t);\n this.setUpSize(task,390,50,AgendaConstants.MAXIMUM);\n completedPanels.add(task);\n }\n JOptionPane.showMessageDialog(null,completedPanels);\n });\n panel.add(showCompleted,BorderLayout.NORTH);\n panel.add(scrollPane,BorderLayout.CENTER);\n this.updateComponent(panel);\n }",
"public void onPostExecute(Void voidR) {\n super.onPostExecute(voidR);\n YoutubePlaylistFragment.this.progressViewHelper.dismiss();\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(8);\n if (YoutubePlaylistFragment.this.list.size() == 0) {\n YoutubePlaylistFragment.this.mRecyclerView.setVisibility(8);\n YoutubePlaylistFragment.this.mEmptyView.setVisibility(0);\n YoutubePlaylistFragment.this.mEmptyViewImage.setImageDrawable(ContextCompat.getDrawable(YoutubePlaylistFragment.this.getActivity(), R.drawable.empty_playlist));\n YoutubePlaylistFragment.this.mEmptyViewTitle.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist));\n YoutubePlaylistFragment.this.mEmptyViewDescription.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist_description));\n } else if (YoutubePlaylistFragment.this.adapter != null) {\n YoutubePlaylistFragment.this.adapter.notifyDataSetChanged();\n } else {\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(YoutubePlaylistFragment.this.getActivity());\n YoutubePlaylistFragment.this.mRecyclerView.setLayoutManager(linearLayoutManager);\n YoutubePlaylistFragment youtubePlaylistFragment = YoutubePlaylistFragment.this;\n youtubePlaylistFragment.adapter = new YoutubeAdvancedPlaylistAdapter(youtubePlaylistFragment.getActivity(), YoutubePlaylistFragment.this.list);\n YoutubePlaylistFragment.this.mRecyclerView.setAdapter(YoutubePlaylistFragment.this.adapter);\n YoutubePlaylistFragment.this.mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager) {\n public void onLoadMore(int i, int i2) {\n if (YoutubePlaylistFragment.this.nextPageToken != null) {\n new GetChannelLatestPlayList().execute(new Void[0]);\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(0);\n }\n }\n });\n }\n }",
"public ArrayList<Task> retrieveTaskList() {\r\n\r\n\r\n return taskList;\r\n }",
"public SearchResultRecyclerAdapter(TaskList myTaskList) {\n this.taskList = myTaskList;\n }",
"@PostConstruct\n public void setUpTasks() {\n final Iterable<Task> findAll = taskService.findAll();\n if (findAll != null) {\n findAll.forEach(task -> {\n\n final RunnableTask runnableTask = new RunnableTask(task.getId(), runTaskService);\n\n if (task.getCronExpression() != null) {\n log.info(\"Adding cron schedule for {} : {}\", task.getId(), task.getCronExpression());\n threadPoolTaskScheduler.schedule(runnableTask, new CronTrigger(task.getCronExpression()));\n }\n else if (task.getDelayPeriod() > 0) {\n log.info(\"Adding periodic schedule for {} : {}\", task.getId(), task.getDelayPeriod());\n threadPoolTaskScheduler.schedule(runnableTask, new PeriodicTrigger(task.getDelayPeriod()));\n }\n else {\n log.error(\"Invalid task {}\", task.getId());\n }\n\n });\n }\n }",
"private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }",
"public void setPlaylists(ArrayList<Playlist> p)\n\t{\n\t\tplaylists = p;\n\t}",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n }\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n\n }",
"public void loadMusicPlayer(File musicDirectory, final String path, final ArrayList<String> songs, final ArrayList<String> folders)\n {\n\n System.out.println(\"original song list that we are using when loading songs is \" + songs);\n\n // todo: make the startup layout to be a fragment so that we can get rid of this. This is horrible design principle, but this works for now anyway.\n RelativeLayout startuplayout = (RelativeLayout) findViewById(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout); // get the startup layout here.\n startuplayout.removeAllViews(); // remove all the views from this layout.\n startuplayout.setBackground(null); // this completely removes the background of our startup layout. Which does not fix our activity.\n\n final FragmentManager fragmentManager = getFragmentManager();\n final FragmentTransaction mainLayoutTransaction = fragmentManager.beginTransaction(); // start a FragmentTransaction for the mainlayout.\n final LoadingScreenFragment loadingScreenFragment = new LoadingScreenFragment();\n\n final Thread convertToSongInfoThread = new Thread(new PopulateSongInfoList(songs, folders, MusicPlayer.this, musicDirectory)); // create a Thread to have the lists become SongInfo's instead of paths.\n\n // this will allow us to show the loading screen while we wait for the thread to finish its work in the background.\n AsyncTask<Void, Void, Boolean> waitForCompletion = new AsyncTask<Void, Void, Boolean>() {\n\n // this method controls what is done in the background.\n @Override\n protected Boolean doInBackground(Void... params)\n {\n\n mainLayoutTransaction.replace(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout, loadingScreenFragment);\n //mainLayoutTransaction.addToBackStack(null);\n mainLayoutTransaction.show(loadingScreenFragment);\n mainLayoutTransaction.commit(); // show this fragment while waiting for the songsInfo list to be set.\n\n convertToSongInfoThread.start(); // start the thread\n\n while(convertToSongInfoThread.isAlive()){\n // do nothing until the thread has finished.\n }\n\n mainLayoutTransaction.remove(loadingScreenFragment); // remove the loading fragment after we have finished with our loading screen.\n return true;\n }\n\n // controls what is being done after the background task has finished.\n @Override\n protected void onPostExecute(Boolean result)\n {\n System.out.println(\"result was true!\");\n\n // TODO: check to see if this is a good place to place these pieces of code here.\n // tell the app that the app has loaded for the first and that there is no need to do it agin.\n SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(getBaseContext()).edit(); // edit the base preferences to help the app\n editor.putBoolean(\"FirstTimeStarting\", true); // tell the app that the app has started loading for the first time.\n editor.putString(\"MusicDirectoryPath\", path); // set the path to be used for the app.\n editor.commit(); // commit the changes.\n\n FragmentTransaction transaction = getFragmentManager().beginTransaction();\n\n mainUIFragment = new MainUIFragment();\n\n Bundle fragmentArgs = new Bundle(); // this will allow us to set arguments for the main layout.\n fragmentArgs.putStringArrayList(\"songs\", songs); // send the arraylist of song paths.\n fragmentArgs.putStringArrayList(\"folders\", folders); // send in the arraylist of folders.\n\n ArrayList<SongInfo> alphabeticalSongInfoList = alphabetizeSongs(getSongInfoList()); // returns a new arraylist that has been alphabetized according to song name.\n fragmentArgs.putParcelableArrayList(\"songInfoList\", alphabeticalSongInfoList); // let us send the alphabetical SongInfo list to the MainUIFragment!\n fragmentArgs.putString(\"musicFolderPath\", path); // send in the music file path.\n\n // Write the arraylist object to main memory\n String ser = SerializeObject.objectToString(alphabeticalSongInfoList); // make our alphabetized list the object we want to save to main memory.\n if(ser != null && !ser.equalsIgnoreCase(\"\"))\n {\n SerializeObject.WriteSettings(getBaseContext(), ser, \"SongInfoList.dat\");\n }\n else\n {\n System.out.println(\"WE DID NOT WRITE THE LIST CORRECTLY, SOMETHING BAD HAPPENED.\");\n SerializeObject.WriteSettings(getBaseContext(), \"\", \"SongInfoList.dat\"); // we should be getting this list if we are something bad has happened.\n }\n\n\n mainUIFragment.setArguments(fragmentArgs);\n // the .replace may break here.\n transaction.replace(R.id.startup_layout, mainUIFragment); // replace the loading screen with the main layout.\n transaction.addToBackStack(null); // nothing to go back when the user hits the back button.\n transaction.commit(); // commit the fragment to be shown.\n }\n };\n\n waitForCompletion.execute(null, null, null); // have the AsyncTask finishes it's work.\n }",
"public List<TempWTask> getTaskList(){return taskList;}",
"public interface LoadInterface {\n void onLoadTaskCompleted(List<Dados> dadosList);\n void onLoadTaskFailed(String message);\n}",
"public List<Task> listTasks(String extra);",
"B withTasks(Collection<T> tasks);",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_sub_task, container, false);\n recyclerView = (RecyclerView) rootView.findViewById(R.id.sub_task_recycler_view);\n recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));\n\n //set adapter\n adapter = new SubTaskAdapter(getContext());\n recyclerView.setAdapter(adapter);\n\n //we will see if this works\n //repository = new AppRepository(getContext());\n viewModel = ViewModelProviders.of(this).get(SubTaskViewModel.class);\n //viewModel.init(getContext());\n viewModel.getSubTasks().observe(getViewLifecycleOwner(), new Observer<List<SubTask>>() {\n @Override\n public void onChanged(@Nullable List<SubTask> subTasks) {\n //Update RecyclerView\n Log.d(TAG, \"onChanged: subTasks length = \" + subTasks.size());\n adapter.submitList(subTasks);\n //Log.d(TAG, \"onChanged: \" + subTasks.size());\n //Toast.makeText(getContext(), \"hiuhih\", Toast.LENGTH_SHORT).show();\n //Log.d(TAG, \"onChanged: CALLED\");\n }\n });\n\n\n viewModel.getMainTasks().observe(getViewLifecycleOwner(), new Observer<List<MainTask>>() {\n @Override\n public void onChanged(@Nullable List<MainTask> mainTasks) {\n //Update RecyclerView\n //Log.d(TAG, \"onChanged mainTasks: \" + mainTasks.size());\n //Log.d(TAG, \"onChanged mainTaskName: \" + mainTasks.get(0).getName());\n adapter.setMainTasks(mainTasks);\n }\n });\n\n //viewModel.updateSubTask(SubTask subTask);\n\n\n //initMainTask();\n //retrieveSubTasks();\n /*Calendar d1 = Calendar.getInstance();\n d1.clear();\n d1.set(2019, 0, 29);\n subTasks.add(new SubTask(\"test\", d1));*/\n\n //init recyclerView\n\n /* DELETE FUNCTIONALITY */\n new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.RIGHT) {\n @Override\n public boolean onMove(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder, @NonNull RecyclerView.ViewHolder viewHolder1) {\n return false;\n }\n\n @Override\n public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int i) {\n SubTask deletedSubTask = adapter.getSubTaskAt(viewHolder.getAdapterPosition());\n viewModel.deleteSubTask(deletedSubTask);\n Snackbar.make(getView(), getResources().getString(R.string.delete_subtask_snackbar) + deletedSubTask.getName() + getResources().getString(R.string.delete_snackbar), Snackbar.LENGTH_LONG)\n .setAction(getResources().getString(R.string.undo), new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n viewModel.insertSubTask(deletedSubTask);\n }\n }).show();\n }\n }).attachToRecyclerView(recyclerView);\n\n adapter.setOnItemClickListener(new SubTaskAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(SubTask subTask) {\n Intent intent = new Intent(getActivity(), AddEditSubTaskActivity.class);\n /*\n intent.putExtra(\"id\", subTask.getId());\n intent.putExtra(\"name\", subTask.getName());\n intent.put\n */\n intent.putExtra(\"subTask\", subTask);\n startActivityForResult(intent, EDIT_SUBTASK_REQUEST);\n }\n });\n\n return rootView;\n }",
"public interface RecyclerPresenterIf {\r\n void loadJson();\r\n}",
"TrackerTasks loadTrackerTasks(final Integer id);",
"public TaskAdapter(Context context, ArrayList<Task> tasks) {\n\t taskList = tasks;\n\t mInflater = LayoutInflater.from(context);\n\t }",
"@Test(groups = { \"wso2.esb\" }, description = \"agilezen {listTasks} integration test with mandatory parameters.\", dependsOnMethods = {\n \"testCreateTaskWithOptionalParameters\", \"testCreateTaskWithMandatoryParameters\" })\n public void testListTasksWithMandatoryParameters() throws IOException, JSONException {\n \n esbRequestHeadersMap.put(\"Action\", \"urn:listTasks\");\n \n RestResponse<JSONObject> esbRestResponse =\n sendJsonRestRequest(proxyUrl, \"POST\", esbRequestHeadersMap, \"esb_listTasks_mandatory.json\");\n final JSONObject esbItemObject = esbRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n final String apiEndPoint =\n apiRequestUrl + \"/projects/\" + connectorProperties.getProperty(\"projectId\") + \"/stories/\"\n + connectorProperties.getProperty(\"storyId\") + \"/tasks\";\n RestResponse<JSONObject> apiRestResponse = sendJsonRestRequest(apiEndPoint, \"GET\", apiRequestHeadersMap);\n final JSONObject apiItemObject = apiRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n Assert.assertEquals(esbRestResponse.getBody().getInt(\"totalItems\"), apiRestResponse.getBody().getInt(\n \"totalItems\"));\n Assert.assertEquals(esbItemObject.getString(\"id\"), apiItemObject.getString(\"id\"));\n Assert.assertEquals(esbItemObject.getString(\"text\"), apiItemObject.getString(\"text\"));\n Assert.assertEquals(esbItemObject.getString(\"createTime\"), apiItemObject.getString(\"createTime\"));\n Assert.assertEquals(esbItemObject.getString(\"status\"), apiItemObject.getString(\"status\"));\n }",
"List<Task> getTaskdetails();",
"public interface AddEditTaskContract {\n\n interface View extends BaseView<Presenter> {\n\n void showEmptyTaskError();\n\n void showTasksList();\n\n void setTitle(String title);\n\n void setDescription(String description);\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void saveTask(String title, String description);\n\n void populateTask();\n\n boolean isDataMissing();\n }\n}",
"public Playlist fetchPlaylist() {\n\t\treturn mPlaylist;\n\t}",
"public interface CourseListContract {\n\n interface View extends BaseView<Presenter> {\n\n void setLoadingIndicator(boolean active);\n\n void showCourses(List<Courses> courseList);\n\n void onCourseSelected(Courses selectedCourse, int selectedPosition);\n\n void showNoCourse();\n\n void showCourseLoadError();\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void loadCourses(boolean fromDB);\n\n void onCourseSelected(Courses selectedCourse, int position);\n\n void takeView(View view);\n }\n}",
"public TaskList() {\n recordedTask = new ArrayList<>();\n }"
] | [
"0.7131573",
"0.70076406",
"0.6248031",
"0.60618234",
"0.60288596",
"0.5976715",
"0.59391797",
"0.5883644",
"0.5865815",
"0.5861664",
"0.5843631",
"0.5819847",
"0.57833445",
"0.57765275",
"0.5745233",
"0.57125103",
"0.5686196",
"0.5683099",
"0.56753314",
"0.5674572",
"0.56742907",
"0.56392187",
"0.56268114",
"0.5589364",
"0.55819833",
"0.55719376",
"0.55579394",
"0.5551426",
"0.55349576",
"0.55334353",
"0.5511568",
"0.5511568",
"0.5511568",
"0.5504724",
"0.5452041",
"0.54458445",
"0.5436363",
"0.5423722",
"0.54211885",
"0.54211885",
"0.54173374",
"0.54119056",
"0.54096013",
"0.5408704",
"0.53874964",
"0.5386356",
"0.53817225",
"0.5373772",
"0.5359085",
"0.53580487",
"0.53424954",
"0.53257436",
"0.53257436",
"0.5316543",
"0.53116417",
"0.53116167",
"0.5289776",
"0.5284496",
"0.5278947",
"0.527022",
"0.5270163",
"0.52627987",
"0.52621436",
"0.5254678",
"0.52531075",
"0.5250824",
"0.52466655",
"0.52462286",
"0.52453476",
"0.52385527",
"0.52367455",
"0.52278805",
"0.5224552",
"0.52081937",
"0.5207068",
"0.52039546",
"0.52035695",
"0.5197394",
"0.5194299",
"0.5191063",
"0.5188227",
"0.5182575",
"0.5180465",
"0.5177188",
"0.51696205",
"0.5168228",
"0.51661336",
"0.5163534",
"0.51623744",
"0.51599395",
"0.5151804",
"0.51475066",
"0.5146759",
"0.51447636",
"0.5135397",
"0.51283914",
"0.51230973",
"0.5120406",
"0.5117637",
"0.51122314"
] | 0.71981347 | 0 |
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested | @Test
public void loadActiveTasksFromRepositoryAndLoadIntoView() {
mPlaylistPresenter.setFiltering(PlaylistFilterType.ACTIVE_TASKS);
mPlaylistPresenter.loadTasks(true);
// Callback is captured and invoked with stubbed tasks
verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());
mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);
// Then progress indicator is hidden and active tasks are shown in UI
verify(mTasksView).setLoadingIndicator(false);
ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);
verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());
assertTrue(showTasksArgumentCaptor.getValue().size() == 1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void loadAllTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is shown\n InOrder inOrder = inOrder(mTasksView);\n inOrder.verify(mTasksView).setLoadingIndicator(true);\n // Then progress indicator is hidden and all tasks are shown in UI\n inOrder.verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 3);\n }",
"@Test\n public void loadCompletedTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.COMPLETED_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is hidden and completed tasks are shown in UI\n verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 2);\n }",
"private void loadItemList() {\n this.presenter.initialize();\n }",
"public interface TopMoviesPresenter extends LoadingPresenter<List<MovieListItem>, TopMoviesView> {\n\n void onMovieItemClicked(String movieId);\n}",
"public void requestPlaylistDataLoad() {\n getSupportLoaderManager().initLoader(PLAYLIST_LOADER_INDEX, null, this).forceLoad();\n }",
"public static void loadPlaylist()\n {\n if (JSoundsMainWindowViewController.alreadyPlaying)\n JSoundsMainWindowViewController.stopSong();\n \n JSoundsMainWindowViewController.shutDownPlayer();\n JSoundsMainWindowViewController.isPlaylist=true;\n JSoundsMainWindowViewController.playlistOrderBy(true, false, false);\n }",
"public interface BasePresenter<T> {\n void onLoading(int taskID, int ways,Object...objects);\n void onLoadingSuccess(List<T> data);\n void onLoadingFailed(String tip);\n}",
"private void initTaskViews(){\n for (Task t : taskManager.getTasksList()){\n submit(t.getName(), t.getIdInView(), t.getTimeForTask(), t.isFinished());\n }\n }",
"@Test\n public void unavailableTasks_ShowsError() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // And the tasks aren't available in the repository\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onDataNotAvailable();\n\n // Then an error message is shown\n verify(mTasksView).showLoadingTasksError();\n }",
"public TaskList (ArrayList<Task> tasks){ this.tasks = tasks;}",
"public interface TicketPresenter extends Presenter {\n void loadTicketsContainer();\n void loadTicketsList(List<Ticket> ticketsList);\n}",
"public interface TodoPresenter extends BaseListPresenter<TodoView> {\n\n Item createItem(String name);\n\n void completeItem(Item item, int position);\n\n}",
"public TaskAdapter(List<Task> taskList) {\n this.taskList = taskList;\n }",
"public TaskList(){}",
"TaskList() {\r\n tasks = new ArrayList<>();\r\n }",
"public void populateTaskList(String _task){\n\t\ttaskList.getItems().add(_task);\n\t}",
"public interface QuestionPresenter {\n\n List<Questions> shuffledQuestionList = new ArrayList<>();\n\n void onDestroy();\n\n void onCreate();\n\n void prepareListToShowAllQuestion();\n\n void prepareListToShowUnansweredQuestion();\n\n void prepareListToShowAnsweredQuestion();\n\n void prepareListToResetAll();\n\n void shuffleQuestion();\n\n void shuffleQuestionAndResetAllLocally();\n\n QuestionPagerAdapter initAdapter(int technology);\n\n}",
"@Override\n public void onInitializeTasks() {\n }",
"@Override\n public void loadItems(){\n Log.d(\"Presenter\",\"Loading Items\");\n mRepository.getItems(new DataSource.LoadItemsCallback() {\n @Override\n public void onItemsLoaded(List<Session> sessions) {\n Log.d(\"PRESENTER\",\"Loaded\");\n\n //mView.showItems(Items);\n }\n\n @Override\n public void onDataNotAvailable() {\n Log.d(\"PRESENTER\",\"Not Loaded\");\n }\n });\n }",
"public interface PlaylistsMvpPresenter extends BaseMvpPresenter<PlaylistsMvpView> {\n void onCreate(FragmentActivity activity);\n void onCreateView();\n void onPlaylistClicked(MediaBrowserCompat.MediaItem item, View animatingView);\n void onRefresh();\n}",
"public TaskList() {\n this.listItems = new ArrayList<>();\n }",
"public TaskList(List<Task> tl) {\n tasks = tl;\n }",
"private void populateUserPlaylitstsSection() {\n \tPlaylist dumyPlaylist = new Playlist();\n \tMap<Long, Playlist> playlistsMap = mDataManager.getStoredPlaylists();\n \tList<Playlist> playlists = new ArrayList<Playlist>();\n \t\n \t// Convert from Map<Long, Playlist> to List<Itemable> \n \tif (playlistsMap != null && playlistsMap.size() > 0) {\n \t\tfor(Map.Entry<Long, Playlist> p : playlistsMap.entrySet()){\n \t\t\tplaylists.add(p.getValue());\n \t\t}\n \t}\n\t\t\n \t// populates the favorite playlists.\n \tif (!Utils.isListEmpty(playlists)) {\n \t\tmContainerMyPlaylists.setVisibility(View.VISIBLE);\n \t\t// shows any internal component except the empty text.\n \t\tmTextMyPlaylist1Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist2Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist3Name.setVisibility(View.VISIBLE);\n \t\tmImageMoreIndicator.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylistEmpty.setVisibility(View.GONE);\n \t\t\n \t\tmTextMyPlaylistsValue.setText(Integer.toString(playlists.size()));\n \t\t\n \t\tStack<TextView> playlistsNames = new Stack<TextView>();\n \t\tplaylistsNames.add(mTextMyPlaylist3Name);\n \t\tplaylistsNames.add(mTextMyPlaylist2Name);\n \t\tplaylistsNames.add(mTextMyPlaylist1Name);\n\n \t\tTextView songName = null;\n \t\t\n \t\tfor (Playlist playlist : playlists) {\n \t\t\tif (playlistsNames.isEmpty())\n \t\t\t\tbreak;\n \t\t\t\n \t\t\tsongName = playlistsNames.pop();\n \t\t\tsongName.setText(playlist.getName());\n\t\t\t}\n \t\t\n \t} else {\n \t\tmContainerMyPlaylists.setVisibility(View.GONE);\n \t}\n\t}",
"private List<Task> tasks2Present(){\n List<Task> tasks = this.taskRepository.findAll();\n// de taken verwijderen waar user eerder op reageerde\n tasks2React(tasks);\n// taken op alfabetische volgorde zetten\n sortTasks(tasks);\n// opgeschoonde lijst aan handler geven\n return tasks;\n }",
"TaskList(List<Task> tasks) {\n this.tasks = tasks;\n }",
"@Test\n public void clickOnTask_ShowsDetailUi() {\n Song requestedSong = new Song(\"Details Requested\", \"For this task\", SOURCE);\n Playlist playlist = new Playlist(requestedSong);\n\n // When open task details is requested\n mPlaylistPresenter.openSongPlayer(playlist);\n\n // Then task detail UI is shown\n verify(mTasksView).showSongPlayerUI(any(Playlist.class));\n }",
"private void iniAdapter(List<Task> tasks) {\n presAdapter = new TaskAdapter(tasks, this, 1);\n// recyclerView.setAdapter(presAdapter);\n }",
"@Test\n public void getPlaylistTest() {\n if (playlists.size() > 0) {\n PlaylistRepresentation expectedPlaylistRepresenation = new PlaylistRepresentation(playlists.get(0));\n ResponseEntity<PlaylistRepresentation> responseEntity = rest.getForEntity(BASE_URL + \"/\" +\n expectedPlaylistRepresenation.getPlaylist().getPlaylistId(), PlaylistRepresentation.class, Collections.EMPTY_MAP);\n assertEquals(\"Asserting status code\", HttpStatus.OK, responseEntity.getStatusCode());\n assertEquals(\"Asserting entity\", expectedPlaylistRepresenation, responseEntity.getBody());\n }\n }",
"private void setList() {\n Log.i(LOG,\"+++ setList\");\n txtCount.setText(\"\" + projectTaskList.size());\n if (projectTaskList.isEmpty()) {\n return;\n }\n\n projectTaskAdapter = new ProjectTaskAdapter(projectTaskList, darkColor, getActivity(), new ProjectTaskAdapter.TaskListener() {\n @Override\n public void onTaskNameClicked(ProjectTaskDTO projTask, int position) {\n projectTask = projTask;\n mListener.onStatusUpdateRequested(projectTask,position);\n }\n\n\n });\n\n mRecyclerView.setAdapter(projectTaskAdapter);\n mRecyclerView.scrollToPosition(selectedIndex);\n\n }",
"public void onLoadPlaylistFromDialogSelected(List<Track> tracks);",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"@Override\n\t protected PlaylistItem doInBackground(Void... voids) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(MainActivity.favoriteListId);\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t return returnedPlaylistItem;\n\t }",
"public interface MoviePresenter {\n\n public void getUpcomingMovieData();\n\n public void getTopRatedMovieData();\n\n public void getNowPlayingMovieData();\n\n public void getPopularMovieData();\n\n public List<Movies> getPopularTvShowsData();\n\n public void getTopRatedTvShowsData();\n\n public void getSearchForMovies(String query);\n\n public Result getResult();\n\n public void setResult(Result result);\n\n public List<Movies> getMovieLst();\n\n public void setMovieLst(ArrayList<Movies> movieLst);\n\n public void onResumePresenter();\n\n}",
"private void populatePlayList()\r\n {\r\n \tCursor songs = playlist.getSongs();\r\n \tcurAdapter = new SimpleCursorAdapter(this, R.layout.song_item, songs, new String[]{Library.KEY_ROWID}, new int[] {R.id.SongText});\r\n \tcurAdapter.setViewBinder(songViewBinder);\r\n \tsetListAdapter(curAdapter);\r\n }",
"ObservableList<Task> getTaskList();",
"public interface IAppInfoUsePresenter {\n //加载app列表数据\n void loadAppList();\n}",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"private void populateList() {\n new AsyncTask<Void, Void, Boolean>() {\n @Override\n protected Boolean doInBackground(Void... params) {\n List<Item> list = TodoApplication.getDbHelper().getAllItems();\n if(list == null) {\n Log.d(TAG, \"doInBackground: no items in the database.\");\n return false;\n } else {\n itemsList = list;\n adapter.setUpdatedList(itemsList);\n }\n // Successfully loaded the list.\n return true;\n }\n\n @Override\n protected void onPostExecute(Boolean isSuccess) {\n super.onPostExecute(isSuccess);\n if(isCancelled()) {\n return;\n }\n if(isSuccess) {\n if(adapter != null) {\n adapter.notifyDataSetChanged();\n }\n if(itemsList == null || itemsList.size() == 0) {\n setEmptyScreen();\n } else {\n emptyText.setVisibility(View.GONE);\n todoRecyclerView.setVisibility(View.VISIBLE);\n }\n } else {\n setEmptyScreen();\n }\n }\n }.execute();\n }",
"public Ui(TaskList tasks) {\n this.tasks = tasks;\n }",
"public interface ITaskController {\n\n void showTasks();\n Task addTask();\n boolean removeTask();\n boolean performTask(String path);\n Task takeTask(int taskNum);\n}",
"public LoadPullRequestListTask(PullRequestListActivity activity, boolean hideMainView) {\n mTarget = new WeakReference<PullRequestListActivity>(activity);\n mHideMainView = hideMainView;\n }",
"@Override\n\t protected YoutubePlaylist doInBackground(YoutubePlaylist... playlists) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(playlists[0].getListId());\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t\t if (returnedPlaylistItem!=null){\n\t\t \t return playlists[0];\n\t\t }else{\n\t\t \t return null;\n\t\t }\n\t }",
"public interface TaskListInterface {\n void addTask(Task task);\n\n void printTasks();\n TaskListInterface viewTasksByName(String word);\n TaskListInterface viewTasksByDay(int day);\n TaskListInterface viewTasksByMonth(int month);\n TaskListInterface viewTasksByYear(int year);\n TaskListInterface viewUpcomingTasks();\n\n void modifyTask(int taskNumber);\n void makeTaskDone(int taskNumber);\n\n void deleteTask(int taskNumber);\n}",
"public interface CategoryTourPresenter {\n\n void getAllCategory();\n\n interface View extends BaseView{\n\n void showAllCategory(List<ItemCategory> itemCategoryList);\n }\n\n}",
"public interface IMainPresenter extends IPresenter {\n\n void getAllTodos();\n\n void deleteTodosById(List<Integer> todoList);\n\n}",
"public List<WTask> getTaskList(){return taskList;}",
"public TaskList() {\n }",
"@Override\n\tpublic void initData() {\n\t\tsuper.initData();\n\t\tgetSynCourseTask(courseType, pageIndex);\n\t}",
"List<ReadOnlyTask> getTaskList();",
"List<ReadOnlyTask> getTaskList();",
"private void playlistCheck() {\n\t\t\tif (mServicePlayerEngine != null) {\n\t\t\t\tif (mServicePlayerEngine.getPlaylist() == null\n\t\t\t\t\t\t&& mPlaylist != null) {\n\t\t\t\t\tmServicePlayerEngine.openPlaylist(mPlaylist);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"private void displayTasks(List<Task> taskList) {\n\n adapter.setTaskList(taskList);\n adapter.notifyDataSetChanged();\n }",
"@Override\n public void getTasks(@NonNull final LoadTasksCallback callback) {\n if(mCachedTasks != null && !mCacheIsDirty) {\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n return;\n }\n if(mCacheIsDirty) {\n // If cache is dirty fetch data from the remote source again\n getTaskFromRemoteDataSource(callback);\n } else {\n // Query the Local Storage is available . If not query the network\n mTasksLocalDataSource.getTasks(new LoadTasksCallback() {\n @Override\n public void onTasksLoaded(List<Task> tasks) {\n refreshCache(tasks);\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n }\n\n @Override\n public void onDataNotAvailable() {\n getTaskFromRemoteDataSource(callback);\n }\n });\n }\n\n }",
"private void initPresenter() {\n\n RequestQueue requestQueue = App.getInstance().getRequestQueue();\n CatsHttp catsHttp = new VolleyCatsHttp(requestQueue);\n\n CatsRepository catsRepository = new CatsRepository(catsHttp);\n\n presenter = new MainPresenter(catsRepository);\n presenter.bindView(this);\n }",
"private void loadTasks() {\n try {\n List<Task> tasks = Reader.readTasks(new File(TASKS_FILE));\n for (Task t1 : tasks) {\n todoList.addTask(t1);\n }\n } catch (IOException e) {\n System.err.println(\"No file exists\");\n }\n }",
"public interface ICartListPresenter extends IBasePresenter {\n void loadNoData();\n}",
"protected abstract void createTasks();",
"@Test\n public void testGetTasksForSession() {\n\n List<Task> tasks;\n\n tasks = Session.getTasks(Session.NAME.PRE, 1);\n\n assertNotNull(tasks);\n assertTrue(\"Pre should have two tasks.\", tasks.size() == 2);\n assertEquals(\"Unique name for the task should be DASS_21\", \"DASS21_AS\", tasks.get(0).getName());\n assertEquals(\"First task should be named Status Questionnaire\", \"Status Questionnaire\", tasks.get(0).getDisplayName());\n assertEquals(\"First task should point to the DASS21 questionniare\", Task.TYPE.questions, tasks.get(0).getType());\n assertEquals(\"First task should point to the DASS21 questionniare\",\"questions/DASS21_AS\", tasks.get(0).getRequestMapping());\n assertTrue(\"First task should be completed\",tasks.get(0).isComplete());\n assertFalse(\"First task should not be current\",tasks.get(0).isCurrent());\n assertFalse(\"Second task should not be completed\",tasks.get(1).isComplete());\n assertTrue(\"Second task should be current\",tasks.get(1).isCurrent());\n\n Session s = new Session();\n s.setTasks(tasks);\n assertEquals(\"Second task is returned when current requested\", tasks.get(1), s.getCurrentTask());\n\n }",
"void setupPresenter() {\n mPresenter = new leaguePresenter(this);\n ScheduleList.getInstance().setPresenter(mPresenter);\n }",
"public interface TasksView {\n\n /**\n * Set To.Dos in the Adapter\n *\n * @param tasks\n */\n void setTodos(ArrayList<Task> tasks);\n\n /**\n * Notify To.Dos data set has changed\n */\n void notifyListDataSetChanged();\n\n /**\n * Notify item removed in Adapter\n *\n * @param position\n */\n void notifyListItemRemoved(int position);\n\n /**\n * Notify item inserted in Adapter\n *\n * @param position\n */\n void notifyListItemInserted(int position);\n\n /**\n * Show Dialog with To.Do actions\n *\n * @param task\n */\n void showItemDialog(Task task, CharSequence items[]);\n\n /**\n * Show TodoView to edit old To.Do\n *\n * @param task\n */\n void showTodoViewToEdit(Task task);\n\n /**\n * Show TodoView to create new To.Do\n */\n void showTodoView();\n\n}",
"@Override\r\n\tprotected void initializePresenter() {\n\r\n\t}",
"public TaskList() {\n this.USER_TASKS = new ArrayList<>();\n }",
"public interface LoaderPresenter {\n void startProgressBar();\n\n void navigateToLoader();\n\n void startDialog();\n\n}",
"void getTasks( AsyncCallback<java.util.List<org.openxdata.server.admin.model.TaskDef>> callback );",
"public TaskList(ArrayList<Task> taskList) {\n this.taskList = taskList;\n }",
"TaskList getList();",
"protected abstract void preparePresenter( PlaceRequest request, T presenter );",
"public interface TasksContract {\n\n public interface View extends BaseView<Presenter> {\n void showAddTask();\n void showSuccessfullySavedMessage();\n }\n\n public interface Presenter extends BasePresenter{\n void result(int requestCode, int resultCode);\n void addNewTask();\n }\n}",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n }\n }",
"public void openPlaylist(PlaylistDTO playlistDTO) {\n Timber.v(\"Playlist open required\");\n // save search params if we are in search mode\n if (searchParams != null && searchParams.containsKey(SEARCH_QUERY)) {\n savedSearchParams = searchParams;\n }\n\n Bundle bundle = new Bundle();\n bundle.putSerializable(PLAYLIST_BUNDLE, playlistDTO);\n setToolbarTitle(bundle);\n getSupportLoaderManager().restartLoader(TRACK_LOADER_INDEX, bundle, this).forceLoad();\n }",
"public Void doInBackground(Void... voidArr) {\n PlaylistListResponse playlistListResponse;\n try {\n String access$100 = YoutubePlaylistFragment.this.nextPageToken;\n String str = YoutubeRequestParams.req_detail_parts;\n if (access$100 != null) {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setPageToken(YoutubePlaylistFragment.this.nextPageToken).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n } else {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n }\n YoutubePlaylistFragment.this.list.addAll(playlistListResponse.getItems());\n YoutubePlaylistFragment.this.nextPageToken = playlistListResponse.getNextPageToken();\n } catch (IOException e) {\n try {\n e.printStackTrace();\n } catch (Exception unused) {\n cancel(true);\n return null;\n }\n }\n return null;\n }",
"public TaskLoader(Context context, TaskContract.TypeTask typeTask) {\n super(context);\n mContext = context;\n mTypeTask = typeTask;\n mObserver = new ForceLoadContentObserver();\n }",
"@Override\n public void init() throws IOException {\n ToDoData.getInstance().loadTasks();\n }",
"public interface BoardDownloaderPresenter extends BasePresenter {\n interface View extends BaseView {\n void onShowDownloadableBoardList(List<BoardBeanModel> boards);\n\n void onProgressBarChanged(String boardName, int listPositon, int progress);\n\n void onBoardDownloadFailed(String boardName, int listPositon, String error);\n\n void onBoardDownloadFinish(String boardName, int listPositon);\n\n void onBoardDownloadPause(String boardName, int listPositon);\n\n void onBoardDownloadResume(String boardName, int listPositon);\n\n void onBoardDownloadRetry(String boardName, int listPositon);\n\n void onDownloadResource(String URL, String name, int position);\n\n void onBoardDownloadStarted(String boardName, int listPosition);\n\n void onViewShowBoardResource(String boardName);\n }\n\n void refresh();\n\n void downloadBoardByName(String name, int position,int downloadState);\n\n void pending(String name,int taskId, int soFarBytes, int totalBytes);\n\n void progress(String name,int taskId, int soFarBytes, int totalBytes);\n\n void completed(String name,int taskId);\n\n void paused(String name,int taskId, int soFarBytes, int totalBytes);\n\n void error(String name,int taskId, Throwable e);\n\n void warn(String name,int taskId);\n\n}",
"private void setUpList(JPanel panel){\n panel.setLayout(new BorderLayout());\n JPanel holder = new JPanel();\n holder.setLayout(new BoxLayout(holder,BoxLayout.Y_AXIS));\n for(Object t: agenda.getConnector().getTasks(currentList)) {\n Tasks task = (Tasks)t;\n add = false;\n this.addTask(holder,task);\n add = true;\n }\n JScrollPane scrollPane = new JScrollPane(holder,ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n JButton showCompleted = new JButton(\"Show completed\");\n showCompleted.addActionListener(e -> {\n JPanel completedPanels = new JPanel();\n this.setUpSize(completedPanels,400,400,AgendaConstants.ALL);\n completedPanels.setLayout(new BoxLayout(completedPanels,BoxLayout.Y_AXIS));\n for(Object o: agenda.getConnector().getCTasks(currentList)){\n CompletedTodo t = (CompletedTodo) o;\n Task task = new Task(t);\n this.setUpSize(task,390,50,AgendaConstants.MAXIMUM);\n completedPanels.add(task);\n }\n JOptionPane.showMessageDialog(null,completedPanels);\n });\n panel.add(showCompleted,BorderLayout.NORTH);\n panel.add(scrollPane,BorderLayout.CENTER);\n this.updateComponent(panel);\n }",
"public void onPostExecute(Void voidR) {\n super.onPostExecute(voidR);\n YoutubePlaylistFragment.this.progressViewHelper.dismiss();\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(8);\n if (YoutubePlaylistFragment.this.list.size() == 0) {\n YoutubePlaylistFragment.this.mRecyclerView.setVisibility(8);\n YoutubePlaylistFragment.this.mEmptyView.setVisibility(0);\n YoutubePlaylistFragment.this.mEmptyViewImage.setImageDrawable(ContextCompat.getDrawable(YoutubePlaylistFragment.this.getActivity(), R.drawable.empty_playlist));\n YoutubePlaylistFragment.this.mEmptyViewTitle.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist));\n YoutubePlaylistFragment.this.mEmptyViewDescription.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist_description));\n } else if (YoutubePlaylistFragment.this.adapter != null) {\n YoutubePlaylistFragment.this.adapter.notifyDataSetChanged();\n } else {\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(YoutubePlaylistFragment.this.getActivity());\n YoutubePlaylistFragment.this.mRecyclerView.setLayoutManager(linearLayoutManager);\n YoutubePlaylistFragment youtubePlaylistFragment = YoutubePlaylistFragment.this;\n youtubePlaylistFragment.adapter = new YoutubeAdvancedPlaylistAdapter(youtubePlaylistFragment.getActivity(), YoutubePlaylistFragment.this.list);\n YoutubePlaylistFragment.this.mRecyclerView.setAdapter(YoutubePlaylistFragment.this.adapter);\n YoutubePlaylistFragment.this.mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager) {\n public void onLoadMore(int i, int i2) {\n if (YoutubePlaylistFragment.this.nextPageToken != null) {\n new GetChannelLatestPlayList().execute(new Void[0]);\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(0);\n }\n }\n });\n }\n }",
"public ArrayList<Task> retrieveTaskList() {\r\n\r\n\r\n return taskList;\r\n }",
"public SearchResultRecyclerAdapter(TaskList myTaskList) {\n this.taskList = myTaskList;\n }",
"@PostConstruct\n public void setUpTasks() {\n final Iterable<Task> findAll = taskService.findAll();\n if (findAll != null) {\n findAll.forEach(task -> {\n\n final RunnableTask runnableTask = new RunnableTask(task.getId(), runTaskService);\n\n if (task.getCronExpression() != null) {\n log.info(\"Adding cron schedule for {} : {}\", task.getId(), task.getCronExpression());\n threadPoolTaskScheduler.schedule(runnableTask, new CronTrigger(task.getCronExpression()));\n }\n else if (task.getDelayPeriod() > 0) {\n log.info(\"Adding periodic schedule for {} : {}\", task.getId(), task.getDelayPeriod());\n threadPoolTaskScheduler.schedule(runnableTask, new PeriodicTrigger(task.getDelayPeriod()));\n }\n else {\n log.error(\"Invalid task {}\", task.getId());\n }\n\n });\n }\n }",
"private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }",
"public void setPlaylists(ArrayList<Playlist> p)\n\t{\n\t\tplaylists = p;\n\t}",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n }\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n\n }",
"public void loadMusicPlayer(File musicDirectory, final String path, final ArrayList<String> songs, final ArrayList<String> folders)\n {\n\n System.out.println(\"original song list that we are using when loading songs is \" + songs);\n\n // todo: make the startup layout to be a fragment so that we can get rid of this. This is horrible design principle, but this works for now anyway.\n RelativeLayout startuplayout = (RelativeLayout) findViewById(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout); // get the startup layout here.\n startuplayout.removeAllViews(); // remove all the views from this layout.\n startuplayout.setBackground(null); // this completely removes the background of our startup layout. Which does not fix our activity.\n\n final FragmentManager fragmentManager = getFragmentManager();\n final FragmentTransaction mainLayoutTransaction = fragmentManager.beginTransaction(); // start a FragmentTransaction for the mainlayout.\n final LoadingScreenFragment loadingScreenFragment = new LoadingScreenFragment();\n\n final Thread convertToSongInfoThread = new Thread(new PopulateSongInfoList(songs, folders, MusicPlayer.this, musicDirectory)); // create a Thread to have the lists become SongInfo's instead of paths.\n\n // this will allow us to show the loading screen while we wait for the thread to finish its work in the background.\n AsyncTask<Void, Void, Boolean> waitForCompletion = new AsyncTask<Void, Void, Boolean>() {\n\n // this method controls what is done in the background.\n @Override\n protected Boolean doInBackground(Void... params)\n {\n\n mainLayoutTransaction.replace(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout, loadingScreenFragment);\n //mainLayoutTransaction.addToBackStack(null);\n mainLayoutTransaction.show(loadingScreenFragment);\n mainLayoutTransaction.commit(); // show this fragment while waiting for the songsInfo list to be set.\n\n convertToSongInfoThread.start(); // start the thread\n\n while(convertToSongInfoThread.isAlive()){\n // do nothing until the thread has finished.\n }\n\n mainLayoutTransaction.remove(loadingScreenFragment); // remove the loading fragment after we have finished with our loading screen.\n return true;\n }\n\n // controls what is being done after the background task has finished.\n @Override\n protected void onPostExecute(Boolean result)\n {\n System.out.println(\"result was true!\");\n\n // TODO: check to see if this is a good place to place these pieces of code here.\n // tell the app that the app has loaded for the first and that there is no need to do it agin.\n SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(getBaseContext()).edit(); // edit the base preferences to help the app\n editor.putBoolean(\"FirstTimeStarting\", true); // tell the app that the app has started loading for the first time.\n editor.putString(\"MusicDirectoryPath\", path); // set the path to be used for the app.\n editor.commit(); // commit the changes.\n\n FragmentTransaction transaction = getFragmentManager().beginTransaction();\n\n mainUIFragment = new MainUIFragment();\n\n Bundle fragmentArgs = new Bundle(); // this will allow us to set arguments for the main layout.\n fragmentArgs.putStringArrayList(\"songs\", songs); // send the arraylist of song paths.\n fragmentArgs.putStringArrayList(\"folders\", folders); // send in the arraylist of folders.\n\n ArrayList<SongInfo> alphabeticalSongInfoList = alphabetizeSongs(getSongInfoList()); // returns a new arraylist that has been alphabetized according to song name.\n fragmentArgs.putParcelableArrayList(\"songInfoList\", alphabeticalSongInfoList); // let us send the alphabetical SongInfo list to the MainUIFragment!\n fragmentArgs.putString(\"musicFolderPath\", path); // send in the music file path.\n\n // Write the arraylist object to main memory\n String ser = SerializeObject.objectToString(alphabeticalSongInfoList); // make our alphabetized list the object we want to save to main memory.\n if(ser != null && !ser.equalsIgnoreCase(\"\"))\n {\n SerializeObject.WriteSettings(getBaseContext(), ser, \"SongInfoList.dat\");\n }\n else\n {\n System.out.println(\"WE DID NOT WRITE THE LIST CORRECTLY, SOMETHING BAD HAPPENED.\");\n SerializeObject.WriteSettings(getBaseContext(), \"\", \"SongInfoList.dat\"); // we should be getting this list if we are something bad has happened.\n }\n\n\n mainUIFragment.setArguments(fragmentArgs);\n // the .replace may break here.\n transaction.replace(R.id.startup_layout, mainUIFragment); // replace the loading screen with the main layout.\n transaction.addToBackStack(null); // nothing to go back when the user hits the back button.\n transaction.commit(); // commit the fragment to be shown.\n }\n };\n\n waitForCompletion.execute(null, null, null); // have the AsyncTask finishes it's work.\n }",
"public List<TempWTask> getTaskList(){return taskList;}",
"public interface LoadInterface {\n void onLoadTaskCompleted(List<Dados> dadosList);\n void onLoadTaskFailed(String message);\n}",
"public List<Task> listTasks(String extra);",
"B withTasks(Collection<T> tasks);",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_sub_task, container, false);\n recyclerView = (RecyclerView) rootView.findViewById(R.id.sub_task_recycler_view);\n recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));\n\n //set adapter\n adapter = new SubTaskAdapter(getContext());\n recyclerView.setAdapter(adapter);\n\n //we will see if this works\n //repository = new AppRepository(getContext());\n viewModel = ViewModelProviders.of(this).get(SubTaskViewModel.class);\n //viewModel.init(getContext());\n viewModel.getSubTasks().observe(getViewLifecycleOwner(), new Observer<List<SubTask>>() {\n @Override\n public void onChanged(@Nullable List<SubTask> subTasks) {\n //Update RecyclerView\n Log.d(TAG, \"onChanged: subTasks length = \" + subTasks.size());\n adapter.submitList(subTasks);\n //Log.d(TAG, \"onChanged: \" + subTasks.size());\n //Toast.makeText(getContext(), \"hiuhih\", Toast.LENGTH_SHORT).show();\n //Log.d(TAG, \"onChanged: CALLED\");\n }\n });\n\n\n viewModel.getMainTasks().observe(getViewLifecycleOwner(), new Observer<List<MainTask>>() {\n @Override\n public void onChanged(@Nullable List<MainTask> mainTasks) {\n //Update RecyclerView\n //Log.d(TAG, \"onChanged mainTasks: \" + mainTasks.size());\n //Log.d(TAG, \"onChanged mainTaskName: \" + mainTasks.get(0).getName());\n adapter.setMainTasks(mainTasks);\n }\n });\n\n //viewModel.updateSubTask(SubTask subTask);\n\n\n //initMainTask();\n //retrieveSubTasks();\n /*Calendar d1 = Calendar.getInstance();\n d1.clear();\n d1.set(2019, 0, 29);\n subTasks.add(new SubTask(\"test\", d1));*/\n\n //init recyclerView\n\n /* DELETE FUNCTIONALITY */\n new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.RIGHT) {\n @Override\n public boolean onMove(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder, @NonNull RecyclerView.ViewHolder viewHolder1) {\n return false;\n }\n\n @Override\n public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int i) {\n SubTask deletedSubTask = adapter.getSubTaskAt(viewHolder.getAdapterPosition());\n viewModel.deleteSubTask(deletedSubTask);\n Snackbar.make(getView(), getResources().getString(R.string.delete_subtask_snackbar) + deletedSubTask.getName() + getResources().getString(R.string.delete_snackbar), Snackbar.LENGTH_LONG)\n .setAction(getResources().getString(R.string.undo), new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n viewModel.insertSubTask(deletedSubTask);\n }\n }).show();\n }\n }).attachToRecyclerView(recyclerView);\n\n adapter.setOnItemClickListener(new SubTaskAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(SubTask subTask) {\n Intent intent = new Intent(getActivity(), AddEditSubTaskActivity.class);\n /*\n intent.putExtra(\"id\", subTask.getId());\n intent.putExtra(\"name\", subTask.getName());\n intent.put\n */\n intent.putExtra(\"subTask\", subTask);\n startActivityForResult(intent, EDIT_SUBTASK_REQUEST);\n }\n });\n\n return rootView;\n }",
"public interface RecyclerPresenterIf {\r\n void loadJson();\r\n}",
"TrackerTasks loadTrackerTasks(final Integer id);",
"public TaskAdapter(Context context, ArrayList<Task> tasks) {\n\t taskList = tasks;\n\t mInflater = LayoutInflater.from(context);\n\t }",
"@Test(groups = { \"wso2.esb\" }, description = \"agilezen {listTasks} integration test with mandatory parameters.\", dependsOnMethods = {\n \"testCreateTaskWithOptionalParameters\", \"testCreateTaskWithMandatoryParameters\" })\n public void testListTasksWithMandatoryParameters() throws IOException, JSONException {\n \n esbRequestHeadersMap.put(\"Action\", \"urn:listTasks\");\n \n RestResponse<JSONObject> esbRestResponse =\n sendJsonRestRequest(proxyUrl, \"POST\", esbRequestHeadersMap, \"esb_listTasks_mandatory.json\");\n final JSONObject esbItemObject = esbRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n final String apiEndPoint =\n apiRequestUrl + \"/projects/\" + connectorProperties.getProperty(\"projectId\") + \"/stories/\"\n + connectorProperties.getProperty(\"storyId\") + \"/tasks\";\n RestResponse<JSONObject> apiRestResponse = sendJsonRestRequest(apiEndPoint, \"GET\", apiRequestHeadersMap);\n final JSONObject apiItemObject = apiRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n Assert.assertEquals(esbRestResponse.getBody().getInt(\"totalItems\"), apiRestResponse.getBody().getInt(\n \"totalItems\"));\n Assert.assertEquals(esbItemObject.getString(\"id\"), apiItemObject.getString(\"id\"));\n Assert.assertEquals(esbItemObject.getString(\"text\"), apiItemObject.getString(\"text\"));\n Assert.assertEquals(esbItemObject.getString(\"createTime\"), apiItemObject.getString(\"createTime\"));\n Assert.assertEquals(esbItemObject.getString(\"status\"), apiItemObject.getString(\"status\"));\n }",
"List<Task> getTaskdetails();",
"public interface AddEditTaskContract {\n\n interface View extends BaseView<Presenter> {\n\n void showEmptyTaskError();\n\n void showTasksList();\n\n void setTitle(String title);\n\n void setDescription(String description);\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void saveTask(String title, String description);\n\n void populateTask();\n\n boolean isDataMissing();\n }\n}",
"public Playlist fetchPlaylist() {\n\t\treturn mPlaylist;\n\t}",
"public interface CourseListContract {\n\n interface View extends BaseView<Presenter> {\n\n void setLoadingIndicator(boolean active);\n\n void showCourses(List<Courses> courseList);\n\n void onCourseSelected(Courses selectedCourse, int selectedPosition);\n\n void showNoCourse();\n\n void showCourseLoadError();\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void loadCourses(boolean fromDB);\n\n void onCourseSelected(Courses selectedCourse, int position);\n\n void takeView(View view);\n }\n}",
"public TaskList() {\n recordedTask = new ArrayList<>();\n }"
] | [
"0.71981347",
"0.70076406",
"0.6248031",
"0.60618234",
"0.60288596",
"0.5976715",
"0.59391797",
"0.5883644",
"0.5865815",
"0.5861664",
"0.5843631",
"0.5819847",
"0.57833445",
"0.57765275",
"0.5745233",
"0.57125103",
"0.5686196",
"0.5683099",
"0.56753314",
"0.5674572",
"0.56742907",
"0.56392187",
"0.56268114",
"0.5589364",
"0.55819833",
"0.55719376",
"0.55579394",
"0.5551426",
"0.55349576",
"0.55334353",
"0.5511568",
"0.5511568",
"0.5511568",
"0.5504724",
"0.5452041",
"0.54458445",
"0.5436363",
"0.5423722",
"0.54211885",
"0.54211885",
"0.54173374",
"0.54119056",
"0.54096013",
"0.5408704",
"0.53874964",
"0.5386356",
"0.53817225",
"0.5373772",
"0.5359085",
"0.53580487",
"0.53424954",
"0.53257436",
"0.53257436",
"0.5316543",
"0.53116417",
"0.53116167",
"0.5289776",
"0.5284496",
"0.5278947",
"0.527022",
"0.5270163",
"0.52627987",
"0.52621436",
"0.5254678",
"0.52531075",
"0.5250824",
"0.52466655",
"0.52462286",
"0.52453476",
"0.52385527",
"0.52367455",
"0.52278805",
"0.5224552",
"0.52081937",
"0.5207068",
"0.52039546",
"0.52035695",
"0.5197394",
"0.5194299",
"0.5191063",
"0.5188227",
"0.5182575",
"0.5180465",
"0.5177188",
"0.51696205",
"0.5168228",
"0.51661336",
"0.5163534",
"0.51623744",
"0.51599395",
"0.5151804",
"0.51475066",
"0.5146759",
"0.51447636",
"0.5135397",
"0.51283914",
"0.51230973",
"0.5120406",
"0.5117637",
"0.51122314"
] | 0.7131573 | 1 |
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested | @Test
public void loadCompletedTasksFromRepositoryAndLoadIntoView() {
mPlaylistPresenter.setFiltering(PlaylistFilterType.COMPLETED_TASKS);
mPlaylistPresenter.loadTasks(true);
// Callback is captured and invoked with stubbed tasks
verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());
mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);
// Then progress indicator is hidden and completed tasks are shown in UI
verify(mTasksView).setLoadingIndicator(false);
ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);
verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());
assertTrue(showTasksArgumentCaptor.getValue().size() == 2);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void loadAllTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is shown\n InOrder inOrder = inOrder(mTasksView);\n inOrder.verify(mTasksView).setLoadingIndicator(true);\n // Then progress indicator is hidden and all tasks are shown in UI\n inOrder.verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 3);\n }",
"@Test\n public void loadActiveTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ACTIVE_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onSongsLoaded(TASKS);\n\n // Then progress indicator is hidden and active tasks are shown in UI\n verify(mTasksView).setLoadingIndicator(false);\n ArgumentCaptor<List> showTasksArgumentCaptor = ArgumentCaptor.forClass(List.class);\n verify(mTasksView).showTasks(showTasksArgumentCaptor.capture());\n assertTrue(showTasksArgumentCaptor.getValue().size() == 1);\n }",
"private void loadItemList() {\n this.presenter.initialize();\n }",
"public interface TopMoviesPresenter extends LoadingPresenter<List<MovieListItem>, TopMoviesView> {\n\n void onMovieItemClicked(String movieId);\n}",
"public void requestPlaylistDataLoad() {\n getSupportLoaderManager().initLoader(PLAYLIST_LOADER_INDEX, null, this).forceLoad();\n }",
"public static void loadPlaylist()\n {\n if (JSoundsMainWindowViewController.alreadyPlaying)\n JSoundsMainWindowViewController.stopSong();\n \n JSoundsMainWindowViewController.shutDownPlayer();\n JSoundsMainWindowViewController.isPlaylist=true;\n JSoundsMainWindowViewController.playlistOrderBy(true, false, false);\n }",
"public interface BasePresenter<T> {\n void onLoading(int taskID, int ways,Object...objects);\n void onLoadingSuccess(List<T> data);\n void onLoadingFailed(String tip);\n}",
"private void initTaskViews(){\n for (Task t : taskManager.getTasksList()){\n submit(t.getName(), t.getIdInView(), t.getTimeForTask(), t.isFinished());\n }\n }",
"@Test\n public void unavailableTasks_ShowsError() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // And the tasks aren't available in the repository\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.capture());\n mLoadTasksCallbackCaptor.getValue().onDataNotAvailable();\n\n // Then an error message is shown\n verify(mTasksView).showLoadingTasksError();\n }",
"public TaskList (ArrayList<Task> tasks){ this.tasks = tasks;}",
"public interface TicketPresenter extends Presenter {\n void loadTicketsContainer();\n void loadTicketsList(List<Ticket> ticketsList);\n}",
"public interface TodoPresenter extends BaseListPresenter<TodoView> {\n\n Item createItem(String name);\n\n void completeItem(Item item, int position);\n\n}",
"public TaskAdapter(List<Task> taskList) {\n this.taskList = taskList;\n }",
"public TaskList(){}",
"TaskList() {\r\n tasks = new ArrayList<>();\r\n }",
"public void populateTaskList(String _task){\n\t\ttaskList.getItems().add(_task);\n\t}",
"public interface QuestionPresenter {\n\n List<Questions> shuffledQuestionList = new ArrayList<>();\n\n void onDestroy();\n\n void onCreate();\n\n void prepareListToShowAllQuestion();\n\n void prepareListToShowUnansweredQuestion();\n\n void prepareListToShowAnsweredQuestion();\n\n void prepareListToResetAll();\n\n void shuffleQuestion();\n\n void shuffleQuestionAndResetAllLocally();\n\n QuestionPagerAdapter initAdapter(int technology);\n\n}",
"@Override\n public void onInitializeTasks() {\n }",
"@Override\n public void loadItems(){\n Log.d(\"Presenter\",\"Loading Items\");\n mRepository.getItems(new DataSource.LoadItemsCallback() {\n @Override\n public void onItemsLoaded(List<Session> sessions) {\n Log.d(\"PRESENTER\",\"Loaded\");\n\n //mView.showItems(Items);\n }\n\n @Override\n public void onDataNotAvailable() {\n Log.d(\"PRESENTER\",\"Not Loaded\");\n }\n });\n }",
"public interface PlaylistsMvpPresenter extends BaseMvpPresenter<PlaylistsMvpView> {\n void onCreate(FragmentActivity activity);\n void onCreateView();\n void onPlaylistClicked(MediaBrowserCompat.MediaItem item, View animatingView);\n void onRefresh();\n}",
"public TaskList() {\n this.listItems = new ArrayList<>();\n }",
"public TaskList(List<Task> tl) {\n tasks = tl;\n }",
"private void populateUserPlaylitstsSection() {\n \tPlaylist dumyPlaylist = new Playlist();\n \tMap<Long, Playlist> playlistsMap = mDataManager.getStoredPlaylists();\n \tList<Playlist> playlists = new ArrayList<Playlist>();\n \t\n \t// Convert from Map<Long, Playlist> to List<Itemable> \n \tif (playlistsMap != null && playlistsMap.size() > 0) {\n \t\tfor(Map.Entry<Long, Playlist> p : playlistsMap.entrySet()){\n \t\t\tplaylists.add(p.getValue());\n \t\t}\n \t}\n\t\t\n \t// populates the favorite playlists.\n \tif (!Utils.isListEmpty(playlists)) {\n \t\tmContainerMyPlaylists.setVisibility(View.VISIBLE);\n \t\t// shows any internal component except the empty text.\n \t\tmTextMyPlaylist1Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist2Name.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylist3Name.setVisibility(View.VISIBLE);\n \t\tmImageMoreIndicator.setVisibility(View.VISIBLE);\n \t\tmTextMyPlaylistEmpty.setVisibility(View.GONE);\n \t\t\n \t\tmTextMyPlaylistsValue.setText(Integer.toString(playlists.size()));\n \t\t\n \t\tStack<TextView> playlistsNames = new Stack<TextView>();\n \t\tplaylistsNames.add(mTextMyPlaylist3Name);\n \t\tplaylistsNames.add(mTextMyPlaylist2Name);\n \t\tplaylistsNames.add(mTextMyPlaylist1Name);\n\n \t\tTextView songName = null;\n \t\t\n \t\tfor (Playlist playlist : playlists) {\n \t\t\tif (playlistsNames.isEmpty())\n \t\t\t\tbreak;\n \t\t\t\n \t\t\tsongName = playlistsNames.pop();\n \t\t\tsongName.setText(playlist.getName());\n\t\t\t}\n \t\t\n \t} else {\n \t\tmContainerMyPlaylists.setVisibility(View.GONE);\n \t}\n\t}",
"private List<Task> tasks2Present(){\n List<Task> tasks = this.taskRepository.findAll();\n// de taken verwijderen waar user eerder op reageerde\n tasks2React(tasks);\n// taken op alfabetische volgorde zetten\n sortTasks(tasks);\n// opgeschoonde lijst aan handler geven\n return tasks;\n }",
"TaskList(List<Task> tasks) {\n this.tasks = tasks;\n }",
"@Test\n public void clickOnTask_ShowsDetailUi() {\n Song requestedSong = new Song(\"Details Requested\", \"For this task\", SOURCE);\n Playlist playlist = new Playlist(requestedSong);\n\n // When open task details is requested\n mPlaylistPresenter.openSongPlayer(playlist);\n\n // Then task detail UI is shown\n verify(mTasksView).showSongPlayerUI(any(Playlist.class));\n }",
"private void iniAdapter(List<Task> tasks) {\n presAdapter = new TaskAdapter(tasks, this, 1);\n// recyclerView.setAdapter(presAdapter);\n }",
"@Test\n public void getPlaylistTest() {\n if (playlists.size() > 0) {\n PlaylistRepresentation expectedPlaylistRepresenation = new PlaylistRepresentation(playlists.get(0));\n ResponseEntity<PlaylistRepresentation> responseEntity = rest.getForEntity(BASE_URL + \"/\" +\n expectedPlaylistRepresenation.getPlaylist().getPlaylistId(), PlaylistRepresentation.class, Collections.EMPTY_MAP);\n assertEquals(\"Asserting status code\", HttpStatus.OK, responseEntity.getStatusCode());\n assertEquals(\"Asserting entity\", expectedPlaylistRepresenation, responseEntity.getBody());\n }\n }",
"public void onLoadPlaylistFromDialogSelected(List<Track> tracks);",
"private void setList() {\n Log.i(LOG,\"+++ setList\");\n txtCount.setText(\"\" + projectTaskList.size());\n if (projectTaskList.isEmpty()) {\n return;\n }\n\n projectTaskAdapter = new ProjectTaskAdapter(projectTaskList, darkColor, getActivity(), new ProjectTaskAdapter.TaskListener() {\n @Override\n public void onTaskNameClicked(ProjectTaskDTO projTask, int position) {\n projectTask = projTask;\n mListener.onStatusUpdateRequested(projectTask,position);\n }\n\n\n });\n\n mRecyclerView.setAdapter(projectTaskAdapter);\n mRecyclerView.scrollToPosition(selectedIndex);\n\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"public TaskList() {\n tasks = new ArrayList<>();\n }",
"@Override\n\t protected PlaylistItem doInBackground(Void... voids) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(MainActivity.favoriteListId);\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t return returnedPlaylistItem;\n\t }",
"public interface MoviePresenter {\n\n public void getUpcomingMovieData();\n\n public void getTopRatedMovieData();\n\n public void getNowPlayingMovieData();\n\n public void getPopularMovieData();\n\n public List<Movies> getPopularTvShowsData();\n\n public void getTopRatedTvShowsData();\n\n public void getSearchForMovies(String query);\n\n public Result getResult();\n\n public void setResult(Result result);\n\n public List<Movies> getMovieLst();\n\n public void setMovieLst(ArrayList<Movies> movieLst);\n\n public void onResumePresenter();\n\n}",
"private void populatePlayList()\r\n {\r\n \tCursor songs = playlist.getSongs();\r\n \tcurAdapter = new SimpleCursorAdapter(this, R.layout.song_item, songs, new String[]{Library.KEY_ROWID}, new int[] {R.id.SongText});\r\n \tcurAdapter.setViewBinder(songViewBinder);\r\n \tsetListAdapter(curAdapter);\r\n }",
"ObservableList<Task> getTaskList();",
"public interface IAppInfoUsePresenter {\n //加载app列表数据\n void loadAppList();\n}",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"public TaskList(ArrayList<Task> tasks) {\n this.tasks = tasks;\n }",
"private void populateList() {\n new AsyncTask<Void, Void, Boolean>() {\n @Override\n protected Boolean doInBackground(Void... params) {\n List<Item> list = TodoApplication.getDbHelper().getAllItems();\n if(list == null) {\n Log.d(TAG, \"doInBackground: no items in the database.\");\n return false;\n } else {\n itemsList = list;\n adapter.setUpdatedList(itemsList);\n }\n // Successfully loaded the list.\n return true;\n }\n\n @Override\n protected void onPostExecute(Boolean isSuccess) {\n super.onPostExecute(isSuccess);\n if(isCancelled()) {\n return;\n }\n if(isSuccess) {\n if(adapter != null) {\n adapter.notifyDataSetChanged();\n }\n if(itemsList == null || itemsList.size() == 0) {\n setEmptyScreen();\n } else {\n emptyText.setVisibility(View.GONE);\n todoRecyclerView.setVisibility(View.VISIBLE);\n }\n } else {\n setEmptyScreen();\n }\n }\n }.execute();\n }",
"public Ui(TaskList tasks) {\n this.tasks = tasks;\n }",
"public LoadPullRequestListTask(PullRequestListActivity activity, boolean hideMainView) {\n mTarget = new WeakReference<PullRequestListActivity>(activity);\n mHideMainView = hideMainView;\n }",
"public interface ITaskController {\n\n void showTasks();\n Task addTask();\n boolean removeTask();\n boolean performTask(String path);\n Task takeTask(int taskNum);\n}",
"@Override\n\t protected YoutubePlaylist doInBackground(YoutubePlaylist... playlists) {\n\t \t YouTube youtube = new YouTube.Builder(transport, jsonFactory,\n\t\t\t\t\t\tcredential).setApplicationName(Constants.APP_NAME)\n\t\t\t\t\t\t.build();\n\t \t \n\t \t ResourceId resourceId = new ResourceId();\n\t \t resourceId.setKind(\"youtube#video\");\n\t \t resourceId.setVideoId(videoId);\n\t \t \n\t \t PlaylistItemSnippet playlistItemSnippet = new PlaylistItemSnippet();\n\t \t playlistItemSnippet.setPlaylistId(playlists[0].getListId());\n\t \t playlistItemSnippet.setResourceId(resourceId);\n\t \t \n\t \t PlaylistItem playlistItem = new PlaylistItem();\n\t \t playlistItem.setSnippet(playlistItemSnippet);\n\t \t \n\t \t PlaylistItem returnedPlaylistItem = null;\n\t \t \n\t\t try {\n\t\t\t\t\treturnedPlaylistItem = youtube.playlistItems().insert(\"snippet,contentDetails\", playlistItem).execute();\n\t\t\t } catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t }\n\t \t \n\t\t if (returnedPlaylistItem!=null){\n\t\t \t return playlists[0];\n\t\t }else{\n\t\t \t return null;\n\t\t }\n\t }",
"public interface CategoryTourPresenter {\n\n void getAllCategory();\n\n interface View extends BaseView{\n\n void showAllCategory(List<ItemCategory> itemCategoryList);\n }\n\n}",
"public interface TaskListInterface {\n void addTask(Task task);\n\n void printTasks();\n TaskListInterface viewTasksByName(String word);\n TaskListInterface viewTasksByDay(int day);\n TaskListInterface viewTasksByMonth(int month);\n TaskListInterface viewTasksByYear(int year);\n TaskListInterface viewUpcomingTasks();\n\n void modifyTask(int taskNumber);\n void makeTaskDone(int taskNumber);\n\n void deleteTask(int taskNumber);\n}",
"public interface IMainPresenter extends IPresenter {\n\n void getAllTodos();\n\n void deleteTodosById(List<Integer> todoList);\n\n}",
"public TaskList() {\n }",
"public List<WTask> getTaskList(){return taskList;}",
"@Override\n\tpublic void initData() {\n\t\tsuper.initData();\n\t\tgetSynCourseTask(courseType, pageIndex);\n\t}",
"List<ReadOnlyTask> getTaskList();",
"List<ReadOnlyTask> getTaskList();",
"private void playlistCheck() {\n\t\t\tif (mServicePlayerEngine != null) {\n\t\t\t\tif (mServicePlayerEngine.getPlaylist() == null\n\t\t\t\t\t\t&& mPlaylist != null) {\n\t\t\t\t\tmServicePlayerEngine.openPlaylist(mPlaylist);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"private void displayTasks(List<Task> taskList) {\n\n adapter.setTaskList(taskList);\n adapter.notifyDataSetChanged();\n }",
"@Override\n public void getTasks(@NonNull final LoadTasksCallback callback) {\n if(mCachedTasks != null && !mCacheIsDirty) {\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n return;\n }\n if(mCacheIsDirty) {\n // If cache is dirty fetch data from the remote source again\n getTaskFromRemoteDataSource(callback);\n } else {\n // Query the Local Storage is available . If not query the network\n mTasksLocalDataSource.getTasks(new LoadTasksCallback() {\n @Override\n public void onTasksLoaded(List<Task> tasks) {\n refreshCache(tasks);\n callback.onTasksLoaded(new ArrayList<Task>(mCachedTasks.values()));\n }\n\n @Override\n public void onDataNotAvailable() {\n getTaskFromRemoteDataSource(callback);\n }\n });\n }\n\n }",
"private void initPresenter() {\n\n RequestQueue requestQueue = App.getInstance().getRequestQueue();\n CatsHttp catsHttp = new VolleyCatsHttp(requestQueue);\n\n CatsRepository catsRepository = new CatsRepository(catsHttp);\n\n presenter = new MainPresenter(catsRepository);\n presenter.bindView(this);\n }",
"private void loadTasks() {\n try {\n List<Task> tasks = Reader.readTasks(new File(TASKS_FILE));\n for (Task t1 : tasks) {\n todoList.addTask(t1);\n }\n } catch (IOException e) {\n System.err.println(\"No file exists\");\n }\n }",
"public interface ICartListPresenter extends IBasePresenter {\n void loadNoData();\n}",
"protected abstract void createTasks();",
"@Test\n public void testGetTasksForSession() {\n\n List<Task> tasks;\n\n tasks = Session.getTasks(Session.NAME.PRE, 1);\n\n assertNotNull(tasks);\n assertTrue(\"Pre should have two tasks.\", tasks.size() == 2);\n assertEquals(\"Unique name for the task should be DASS_21\", \"DASS21_AS\", tasks.get(0).getName());\n assertEquals(\"First task should be named Status Questionnaire\", \"Status Questionnaire\", tasks.get(0).getDisplayName());\n assertEquals(\"First task should point to the DASS21 questionniare\", Task.TYPE.questions, tasks.get(0).getType());\n assertEquals(\"First task should point to the DASS21 questionniare\",\"questions/DASS21_AS\", tasks.get(0).getRequestMapping());\n assertTrue(\"First task should be completed\",tasks.get(0).isComplete());\n assertFalse(\"First task should not be current\",tasks.get(0).isCurrent());\n assertFalse(\"Second task should not be completed\",tasks.get(1).isComplete());\n assertTrue(\"Second task should be current\",tasks.get(1).isCurrent());\n\n Session s = new Session();\n s.setTasks(tasks);\n assertEquals(\"Second task is returned when current requested\", tasks.get(1), s.getCurrentTask());\n\n }",
"void setupPresenter() {\n mPresenter = new leaguePresenter(this);\n ScheduleList.getInstance().setPresenter(mPresenter);\n }",
"public interface TasksView {\n\n /**\n * Set To.Dos in the Adapter\n *\n * @param tasks\n */\n void setTodos(ArrayList<Task> tasks);\n\n /**\n * Notify To.Dos data set has changed\n */\n void notifyListDataSetChanged();\n\n /**\n * Notify item removed in Adapter\n *\n * @param position\n */\n void notifyListItemRemoved(int position);\n\n /**\n * Notify item inserted in Adapter\n *\n * @param position\n */\n void notifyListItemInserted(int position);\n\n /**\n * Show Dialog with To.Do actions\n *\n * @param task\n */\n void showItemDialog(Task task, CharSequence items[]);\n\n /**\n * Show TodoView to edit old To.Do\n *\n * @param task\n */\n void showTodoViewToEdit(Task task);\n\n /**\n * Show TodoView to create new To.Do\n */\n void showTodoView();\n\n}",
"@Override\r\n\tprotected void initializePresenter() {\n\r\n\t}",
"public interface LoaderPresenter {\n void startProgressBar();\n\n void navigateToLoader();\n\n void startDialog();\n\n}",
"public TaskList() {\n this.USER_TASKS = new ArrayList<>();\n }",
"public TaskList(ArrayList<Task> taskList) {\n this.taskList = taskList;\n }",
"TaskList getList();",
"void getTasks( AsyncCallback<java.util.List<org.openxdata.server.admin.model.TaskDef>> callback );",
"protected abstract void preparePresenter( PlaceRequest request, T presenter );",
"public interface TasksContract {\n\n public interface View extends BaseView<Presenter> {\n void showAddTask();\n void showSuccessfullySavedMessage();\n }\n\n public interface Presenter extends BasePresenter{\n void result(int requestCode, int resultCode);\n void addNewTask();\n }\n}",
"public void openPlaylist(PlaylistDTO playlistDTO) {\n Timber.v(\"Playlist open required\");\n // save search params if we are in search mode\n if (searchParams != null && searchParams.containsKey(SEARCH_QUERY)) {\n savedSearchParams = searchParams;\n }\n\n Bundle bundle = new Bundle();\n bundle.putSerializable(PLAYLIST_BUNDLE, playlistDTO);\n setToolbarTitle(bundle);\n getSupportLoaderManager().restartLoader(TRACK_LOADER_INDEX, bundle, this).forceLoad();\n }",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n }\n }",
"public Void doInBackground(Void... voidArr) {\n PlaylistListResponse playlistListResponse;\n try {\n String access$100 = YoutubePlaylistFragment.this.nextPageToken;\n String str = YoutubeRequestParams.req_detail_parts;\n if (access$100 != null) {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setPageToken(YoutubePlaylistFragment.this.nextPageToken).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n } else {\n playlistListResponse = (PlaylistListResponse) YoutubePlaylistFragment.this.mService.playlists().list(str).setChannelId(YoutubePlaylistFragment.this.channelId).setMaxResults(Long.valueOf(25)).setKey(YoutubePlaylistFragment.this.getString(R.string.youtube_advanced_pro_api_key)).execute();\n }\n YoutubePlaylistFragment.this.list.addAll(playlistListResponse.getItems());\n YoutubePlaylistFragment.this.nextPageToken = playlistListResponse.getNextPageToken();\n } catch (IOException e) {\n try {\n e.printStackTrace();\n } catch (Exception unused) {\n cancel(true);\n return null;\n }\n }\n return null;\n }",
"public TaskLoader(Context context, TaskContract.TypeTask typeTask) {\n super(context);\n mContext = context;\n mTypeTask = typeTask;\n mObserver = new ForceLoadContentObserver();\n }",
"@Override\n public void init() throws IOException {\n ToDoData.getInstance().loadTasks();\n }",
"public interface BoardDownloaderPresenter extends BasePresenter {\n interface View extends BaseView {\n void onShowDownloadableBoardList(List<BoardBeanModel> boards);\n\n void onProgressBarChanged(String boardName, int listPositon, int progress);\n\n void onBoardDownloadFailed(String boardName, int listPositon, String error);\n\n void onBoardDownloadFinish(String boardName, int listPositon);\n\n void onBoardDownloadPause(String boardName, int listPositon);\n\n void onBoardDownloadResume(String boardName, int listPositon);\n\n void onBoardDownloadRetry(String boardName, int listPositon);\n\n void onDownloadResource(String URL, String name, int position);\n\n void onBoardDownloadStarted(String boardName, int listPosition);\n\n void onViewShowBoardResource(String boardName);\n }\n\n void refresh();\n\n void downloadBoardByName(String name, int position,int downloadState);\n\n void pending(String name,int taskId, int soFarBytes, int totalBytes);\n\n void progress(String name,int taskId, int soFarBytes, int totalBytes);\n\n void completed(String name,int taskId);\n\n void paused(String name,int taskId, int soFarBytes, int totalBytes);\n\n void error(String name,int taskId, Throwable e);\n\n void warn(String name,int taskId);\n\n}",
"private void setUpList(JPanel panel){\n panel.setLayout(new BorderLayout());\n JPanel holder = new JPanel();\n holder.setLayout(new BoxLayout(holder,BoxLayout.Y_AXIS));\n for(Object t: agenda.getConnector().getTasks(currentList)) {\n Tasks task = (Tasks)t;\n add = false;\n this.addTask(holder,task);\n add = true;\n }\n JScrollPane scrollPane = new JScrollPane(holder,ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n JButton showCompleted = new JButton(\"Show completed\");\n showCompleted.addActionListener(e -> {\n JPanel completedPanels = new JPanel();\n this.setUpSize(completedPanels,400,400,AgendaConstants.ALL);\n completedPanels.setLayout(new BoxLayout(completedPanels,BoxLayout.Y_AXIS));\n for(Object o: agenda.getConnector().getCTasks(currentList)){\n CompletedTodo t = (CompletedTodo) o;\n Task task = new Task(t);\n this.setUpSize(task,390,50,AgendaConstants.MAXIMUM);\n completedPanels.add(task);\n }\n JOptionPane.showMessageDialog(null,completedPanels);\n });\n panel.add(showCompleted,BorderLayout.NORTH);\n panel.add(scrollPane,BorderLayout.CENTER);\n this.updateComponent(panel);\n }",
"public void onPostExecute(Void voidR) {\n super.onPostExecute(voidR);\n YoutubePlaylistFragment.this.progressViewHelper.dismiss();\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(8);\n if (YoutubePlaylistFragment.this.list.size() == 0) {\n YoutubePlaylistFragment.this.mRecyclerView.setVisibility(8);\n YoutubePlaylistFragment.this.mEmptyView.setVisibility(0);\n YoutubePlaylistFragment.this.mEmptyViewImage.setImageDrawable(ContextCompat.getDrawable(YoutubePlaylistFragment.this.getActivity(), R.drawable.empty_playlist));\n YoutubePlaylistFragment.this.mEmptyViewTitle.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist));\n YoutubePlaylistFragment.this.mEmptyViewDescription.setText(YoutubePlaylistFragment.this.getString(R.string.no_playlist_description));\n } else if (YoutubePlaylistFragment.this.adapter != null) {\n YoutubePlaylistFragment.this.adapter.notifyDataSetChanged();\n } else {\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(YoutubePlaylistFragment.this.getActivity());\n YoutubePlaylistFragment.this.mRecyclerView.setLayoutManager(linearLayoutManager);\n YoutubePlaylistFragment youtubePlaylistFragment = YoutubePlaylistFragment.this;\n youtubePlaylistFragment.adapter = new YoutubeAdvancedPlaylistAdapter(youtubePlaylistFragment.getActivity(), YoutubePlaylistFragment.this.list);\n YoutubePlaylistFragment.this.mRecyclerView.setAdapter(YoutubePlaylistFragment.this.adapter);\n YoutubePlaylistFragment.this.mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager) {\n public void onLoadMore(int i, int i2) {\n if (YoutubePlaylistFragment.this.nextPageToken != null) {\n new GetChannelLatestPlayList().execute(new Void[0]);\n YoutubePlaylistFragment.this.loadMoreProgressView.setVisibility(0);\n }\n }\n });\n }\n }",
"public ArrayList<Task> retrieveTaskList() {\r\n\r\n\r\n return taskList;\r\n }",
"public SearchResultRecyclerAdapter(TaskList myTaskList) {\n this.taskList = myTaskList;\n }",
"private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }",
"@PostConstruct\n public void setUpTasks() {\n final Iterable<Task> findAll = taskService.findAll();\n if (findAll != null) {\n findAll.forEach(task -> {\n\n final RunnableTask runnableTask = new RunnableTask(task.getId(), runTaskService);\n\n if (task.getCronExpression() != null) {\n log.info(\"Adding cron schedule for {} : {}\", task.getId(), task.getCronExpression());\n threadPoolTaskScheduler.schedule(runnableTask, new CronTrigger(task.getCronExpression()));\n }\n else if (task.getDelayPeriod() > 0) {\n log.info(\"Adding periodic schedule for {} : {}\", task.getId(), task.getDelayPeriod());\n threadPoolTaskScheduler.schedule(runnableTask, new PeriodicTrigger(task.getDelayPeriod()));\n }\n else {\n log.error(\"Invalid task {}\", task.getId());\n }\n\n });\n }\n }",
"public void setPlaylists(ArrayList<Playlist> p)\n\t{\n\t\tplaylists = p;\n\t}",
"public void loadMusicPlayer(File musicDirectory, final String path, final ArrayList<String> songs, final ArrayList<String> folders)\n {\n\n System.out.println(\"original song list that we are using when loading songs is \" + songs);\n\n // todo: make the startup layout to be a fragment so that we can get rid of this. This is horrible design principle, but this works for now anyway.\n RelativeLayout startuplayout = (RelativeLayout) findViewById(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout); // get the startup layout here.\n startuplayout.removeAllViews(); // remove all the views from this layout.\n startuplayout.setBackground(null); // this completely removes the background of our startup layout. Which does not fix our activity.\n\n final FragmentManager fragmentManager = getFragmentManager();\n final FragmentTransaction mainLayoutTransaction = fragmentManager.beginTransaction(); // start a FragmentTransaction for the mainlayout.\n final LoadingScreenFragment loadingScreenFragment = new LoadingScreenFragment();\n\n final Thread convertToSongInfoThread = new Thread(new PopulateSongInfoList(songs, folders, MusicPlayer.this, musicDirectory)); // create a Thread to have the lists become SongInfo's instead of paths.\n\n // this will allow us to show the loading screen while we wait for the thread to finish its work in the background.\n AsyncTask<Void, Void, Boolean> waitForCompletion = new AsyncTask<Void, Void, Boolean>() {\n\n // this method controls what is done in the background.\n @Override\n protected Boolean doInBackground(Void... params)\n {\n\n mainLayoutTransaction.replace(com.example.thenotoriousrog.tornadomusicplayer.R.id.startup_layout, loadingScreenFragment);\n //mainLayoutTransaction.addToBackStack(null);\n mainLayoutTransaction.show(loadingScreenFragment);\n mainLayoutTransaction.commit(); // show this fragment while waiting for the songsInfo list to be set.\n\n convertToSongInfoThread.start(); // start the thread\n\n while(convertToSongInfoThread.isAlive()){\n // do nothing until the thread has finished.\n }\n\n mainLayoutTransaction.remove(loadingScreenFragment); // remove the loading fragment after we have finished with our loading screen.\n return true;\n }\n\n // controls what is being done after the background task has finished.\n @Override\n protected void onPostExecute(Boolean result)\n {\n System.out.println(\"result was true!\");\n\n // TODO: check to see if this is a good place to place these pieces of code here.\n // tell the app that the app has loaded for the first and that there is no need to do it agin.\n SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(getBaseContext()).edit(); // edit the base preferences to help the app\n editor.putBoolean(\"FirstTimeStarting\", true); // tell the app that the app has started loading for the first time.\n editor.putString(\"MusicDirectoryPath\", path); // set the path to be used for the app.\n editor.commit(); // commit the changes.\n\n FragmentTransaction transaction = getFragmentManager().beginTransaction();\n\n mainUIFragment = new MainUIFragment();\n\n Bundle fragmentArgs = new Bundle(); // this will allow us to set arguments for the main layout.\n fragmentArgs.putStringArrayList(\"songs\", songs); // send the arraylist of song paths.\n fragmentArgs.putStringArrayList(\"folders\", folders); // send in the arraylist of folders.\n\n ArrayList<SongInfo> alphabeticalSongInfoList = alphabetizeSongs(getSongInfoList()); // returns a new arraylist that has been alphabetized according to song name.\n fragmentArgs.putParcelableArrayList(\"songInfoList\", alphabeticalSongInfoList); // let us send the alphabetical SongInfo list to the MainUIFragment!\n fragmentArgs.putString(\"musicFolderPath\", path); // send in the music file path.\n\n // Write the arraylist object to main memory\n String ser = SerializeObject.objectToString(alphabeticalSongInfoList); // make our alphabetized list the object we want to save to main memory.\n if(ser != null && !ser.equalsIgnoreCase(\"\"))\n {\n SerializeObject.WriteSettings(getBaseContext(), ser, \"SongInfoList.dat\");\n }\n else\n {\n System.out.println(\"WE DID NOT WRITE THE LIST CORRECTLY, SOMETHING BAD HAPPENED.\");\n SerializeObject.WriteSettings(getBaseContext(), \"\", \"SongInfoList.dat\"); // we should be getting this list if we are something bad has happened.\n }\n\n\n mainUIFragment.setArguments(fragmentArgs);\n // the .replace may break here.\n transaction.replace(R.id.startup_layout, mainUIFragment); // replace the loading screen with the main layout.\n transaction.addToBackStack(null); // nothing to go back when the user hits the back button.\n transaction.commit(); // commit the fragment to be shown.\n }\n };\n\n waitForCompletion.execute(null, null, null); // have the AsyncTask finishes it's work.\n }",
"@Override\n public void onTaskLoaded(Task task) {\n if(mCachedTasks == null) {\n mCachedTasks = new HashMap<String, Task>();\n }\n mCachedTasks.put(task.getId(),task);\n callBack.onTaskLoaded(task);\n\n }",
"public interface LoadInterface {\n void onLoadTaskCompleted(List<Dados> dadosList);\n void onLoadTaskFailed(String message);\n}",
"public List<TempWTask> getTaskList(){return taskList;}",
"public List<Task> listTasks(String extra);",
"B withTasks(Collection<T> tasks);",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_sub_task, container, false);\n recyclerView = (RecyclerView) rootView.findViewById(R.id.sub_task_recycler_view);\n recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));\n\n //set adapter\n adapter = new SubTaskAdapter(getContext());\n recyclerView.setAdapter(adapter);\n\n //we will see if this works\n //repository = new AppRepository(getContext());\n viewModel = ViewModelProviders.of(this).get(SubTaskViewModel.class);\n //viewModel.init(getContext());\n viewModel.getSubTasks().observe(getViewLifecycleOwner(), new Observer<List<SubTask>>() {\n @Override\n public void onChanged(@Nullable List<SubTask> subTasks) {\n //Update RecyclerView\n Log.d(TAG, \"onChanged: subTasks length = \" + subTasks.size());\n adapter.submitList(subTasks);\n //Log.d(TAG, \"onChanged: \" + subTasks.size());\n //Toast.makeText(getContext(), \"hiuhih\", Toast.LENGTH_SHORT).show();\n //Log.d(TAG, \"onChanged: CALLED\");\n }\n });\n\n\n viewModel.getMainTasks().observe(getViewLifecycleOwner(), new Observer<List<MainTask>>() {\n @Override\n public void onChanged(@Nullable List<MainTask> mainTasks) {\n //Update RecyclerView\n //Log.d(TAG, \"onChanged mainTasks: \" + mainTasks.size());\n //Log.d(TAG, \"onChanged mainTaskName: \" + mainTasks.get(0).getName());\n adapter.setMainTasks(mainTasks);\n }\n });\n\n //viewModel.updateSubTask(SubTask subTask);\n\n\n //initMainTask();\n //retrieveSubTasks();\n /*Calendar d1 = Calendar.getInstance();\n d1.clear();\n d1.set(2019, 0, 29);\n subTasks.add(new SubTask(\"test\", d1));*/\n\n //init recyclerView\n\n /* DELETE FUNCTIONALITY */\n new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.RIGHT) {\n @Override\n public boolean onMove(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder, @NonNull RecyclerView.ViewHolder viewHolder1) {\n return false;\n }\n\n @Override\n public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int i) {\n SubTask deletedSubTask = adapter.getSubTaskAt(viewHolder.getAdapterPosition());\n viewModel.deleteSubTask(deletedSubTask);\n Snackbar.make(getView(), getResources().getString(R.string.delete_subtask_snackbar) + deletedSubTask.getName() + getResources().getString(R.string.delete_snackbar), Snackbar.LENGTH_LONG)\n .setAction(getResources().getString(R.string.undo), new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n viewModel.insertSubTask(deletedSubTask);\n }\n }).show();\n }\n }).attachToRecyclerView(recyclerView);\n\n adapter.setOnItemClickListener(new SubTaskAdapter.OnItemClickListener() {\n @Override\n public void onItemClick(SubTask subTask) {\n Intent intent = new Intent(getActivity(), AddEditSubTaskActivity.class);\n /*\n intent.putExtra(\"id\", subTask.getId());\n intent.putExtra(\"name\", subTask.getName());\n intent.put\n */\n intent.putExtra(\"subTask\", subTask);\n startActivityForResult(intent, EDIT_SUBTASK_REQUEST);\n }\n });\n\n return rootView;\n }",
"public interface RecyclerPresenterIf {\r\n void loadJson();\r\n}",
"TrackerTasks loadTrackerTasks(final Integer id);",
"public TaskAdapter(Context context, ArrayList<Task> tasks) {\n\t taskList = tasks;\n\t mInflater = LayoutInflater.from(context);\n\t }",
"@Test(groups = { \"wso2.esb\" }, description = \"agilezen {listTasks} integration test with mandatory parameters.\", dependsOnMethods = {\n \"testCreateTaskWithOptionalParameters\", \"testCreateTaskWithMandatoryParameters\" })\n public void testListTasksWithMandatoryParameters() throws IOException, JSONException {\n \n esbRequestHeadersMap.put(\"Action\", \"urn:listTasks\");\n \n RestResponse<JSONObject> esbRestResponse =\n sendJsonRestRequest(proxyUrl, \"POST\", esbRequestHeadersMap, \"esb_listTasks_mandatory.json\");\n final JSONObject esbItemObject = esbRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n final String apiEndPoint =\n apiRequestUrl + \"/projects/\" + connectorProperties.getProperty(\"projectId\") + \"/stories/\"\n + connectorProperties.getProperty(\"storyId\") + \"/tasks\";\n RestResponse<JSONObject> apiRestResponse = sendJsonRestRequest(apiEndPoint, \"GET\", apiRequestHeadersMap);\n final JSONObject apiItemObject = apiRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n Assert.assertEquals(esbRestResponse.getBody().getInt(\"totalItems\"), apiRestResponse.getBody().getInt(\n \"totalItems\"));\n Assert.assertEquals(esbItemObject.getString(\"id\"), apiItemObject.getString(\"id\"));\n Assert.assertEquals(esbItemObject.getString(\"text\"), apiItemObject.getString(\"text\"));\n Assert.assertEquals(esbItemObject.getString(\"createTime\"), apiItemObject.getString(\"createTime\"));\n Assert.assertEquals(esbItemObject.getString(\"status\"), apiItemObject.getString(\"status\"));\n }",
"List<Task> getTaskdetails();",
"public Playlist fetchPlaylist() {\n\t\treturn mPlaylist;\n\t}",
"public interface AddEditTaskContract {\n\n interface View extends BaseView<Presenter> {\n\n void showEmptyTaskError();\n\n void showTasksList();\n\n void setTitle(String title);\n\n void setDescription(String description);\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void saveTask(String title, String description);\n\n void populateTask();\n\n boolean isDataMissing();\n }\n}",
"public interface CourseListContract {\n\n interface View extends BaseView<Presenter> {\n\n void setLoadingIndicator(boolean active);\n\n void showCourses(List<Courses> courseList);\n\n void onCourseSelected(Courses selectedCourse, int selectedPosition);\n\n void showNoCourse();\n\n void showCourseLoadError();\n\n boolean isActive();\n }\n\n interface Presenter extends BasePresenter<View> {\n\n void loadCourses(boolean fromDB);\n\n void onCourseSelected(Courses selectedCourse, int position);\n\n void takeView(View view);\n }\n}",
"public TaskList() {\n recordedTask = new ArrayList<>();\n }"
] | [
"0.7196331",
"0.71295613",
"0.625195",
"0.60630596",
"0.6032186",
"0.5978873",
"0.5938995",
"0.5880999",
"0.5863325",
"0.58584714",
"0.5845079",
"0.5819935",
"0.5780244",
"0.57747465",
"0.57424855",
"0.57092243",
"0.5687655",
"0.5682181",
"0.56767917",
"0.5675142",
"0.5672936",
"0.56368625",
"0.5628479",
"0.5586016",
"0.55783886",
"0.55694324",
"0.5555155",
"0.5550634",
"0.55356514",
"0.55331385",
"0.550902",
"0.550902",
"0.550902",
"0.5503683",
"0.5453895",
"0.5447846",
"0.54320735",
"0.54249066",
"0.54172397",
"0.54172397",
"0.5417167",
"0.54088384",
"0.54080266",
"0.5406329",
"0.53852564",
"0.5382906",
"0.53825265",
"0.5373175",
"0.53567076",
"0.53554296",
"0.5343602",
"0.53206605",
"0.53206605",
"0.5317516",
"0.53073466",
"0.5307037",
"0.5293422",
"0.5281722",
"0.52801913",
"0.52662456",
"0.5265837",
"0.526506",
"0.5258765",
"0.5257831",
"0.52532524",
"0.52506757",
"0.5242806",
"0.52414525",
"0.52413505",
"0.5239696",
"0.5233776",
"0.5226728",
"0.5224984",
"0.5206361",
"0.5205946",
"0.52044797",
"0.5203968",
"0.5196399",
"0.51941943",
"0.51863027",
"0.51853853",
"0.5183406",
"0.51794237",
"0.5178103",
"0.5168637",
"0.5166729",
"0.5163361",
"0.51625043",
"0.5157438",
"0.51561886",
"0.5149073",
"0.51484966",
"0.5144183",
"0.5141218",
"0.5131308",
"0.51231146",
"0.51215667",
"0.5119965",
"0.5116959",
"0.5110462"
] | 0.7005748 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.