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 |
|---|---|---|---|---|---|---|
Prefix to use when firing events on the view. For example a prefix of group would expose "groupclick", "groupcontextmenu", "groupdblclick". Defaults to: null | public void setEventPrefix(String value) {
JsoHelper.setAttribute(getJsObj(), "eventPrefix", value);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPrefix();",
"public String getPrefix();",
"@Override\r\n\t\tpublic String getPrefix()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"public abstract String getPrefix();",
"String getPrefix();",
"String getPrefix();",
"String getPrefix();",
"String getPrefix();",
"public String getNamePrefix() {\n if ( group==null )\n return super.getNamePrefix();\n else\n return group.getNamePrefix();\n }",
"@Override\n\tpublic String getPrefix() {\n\t\treturn getClass().getSimpleName()+\":\"+prefix;\n\t}",
"default String getAliasPrefix() {\n\t\treturn getDataSet() + \"_\";\n\t}",
"void setPrefix(String prefix);",
"@NotNull\n @Override\n protected String getPrefix(@NotNull PsiElement element, @NotNull String defaultPrefix) {\n return isNextToKeyPattern(element) ? defaultPrefix.substring(\"expression:\".length()) : defaultPrefix;\n }",
"public String getPrefix() {\n return getAsString(\"prefix\");\n }",
"public void setPrefix(java.lang.String prefix) {\r\n this.prefix = prefix;\r\n }",
"private String getPrefix() {\n\n\t\tISOTopParamsPresenter firstPresenter = (ISOTopParamsPresenter) getTopPresenter();\n\t\tfinal String opName = firstPresenter.getOperationName();\n\n\t\treturn opName;\n\t}",
"public String getPrefixString() {\n/* 105 */ return this.prefix;\n/* */ }",
"public void setPrefix(java.lang.String prefix) {\n this.prefix = prefix;\n }",
"public String prefix() {\n return this.prefix;\n }",
"public String getLogCollectionPrefix();",
"public final String getHandlerId() {\n return prefix;\n }",
"public void setPrefix(String prefix) {\n\t\tthis.prefix = prefix;\n\t}",
"public void setPrefix(String prefix) {\n\t\tthis.prefix = prefix;\n\t}",
"public void setLogCollectionPrefix(String prefix);",
"public static void notifyPhonePrefixChanged(String prefix) {\n for (BaseFragActivity act : mActs.values()) {\n if (act != null) {\n act.onPhonePrefixChanged(prefix);\n }\n }\n }",
"public String getPrefix() {\n return prefix;\n }",
"Rule StPrefixScopeAndId() {\n return Sequence(\n \"smalltalk.prefix\",\n Identifier(),\n actions.pushStPrefixNamespaceNode());\n }",
"public void setPrefix (java.lang.String prefix) {\n\t\tthis.prefix = prefix;\n\t}",
"public String getPrefix() {\n \t\t\treturn prefix;\n \t\t}",
"public String getPrefix()\n\t{\n\t\treturn prefix;\n\t}",
"public String getPrefix() {\n return this.prefix;\n }",
"public void setNameSpacePrefix(String nsPrefix) {\n this.nsPrefix = nsPrefix;\n }",
"@Updatable\n public String getPrefix() {\n return prefix;\n }",
"@Override\r\n\t\t\t\t\tpublic String getPrefix(String namespaceURI) {\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic String getPrefix(String namespaceURI) {\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic String getPrefix(String namespaceURI) {\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic String getPrefix(String namespaceURI) {\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic String getPrefix(String namespaceURI) {\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"public String getPrefix()\n {\n return this.prefix;\n }",
"public String getPrefix() {\n\t\treturn prefix;\n\t}",
"public String getPrefix() {\n return Prefix;\n }",
"public String getPrefix()\n\t{\n\t\t//local constants\n\n\t\t//local variables\n\n\t\t/*******************************************************************************/\n\n\t\t//Return the prefix of the name.\n\t\treturn prefix;\n\n\t}",
"public void setKeyPrefix(String keyPrefix) {\n\t\tthis.keyPrefix = keyPrefix;\n\t}",
"public static String getPrefix() {\n return getConfiguration().getPath(\"General.Prefix\").getString();\n }",
"public DatadogBuilder prefix(@Nullable String prefix) {\n this.prefix = prefix;\n return this;\n }",
"public String getPrefix() {\n return m_prefix;\n }",
"public java.lang.String getPrefix() {\r\n return prefix;\r\n }",
"protected char[] indexEntryPrefix() {\n\tif (this.simpleName == null) // Optimization, eg. type reference is 'org.eclipse.jdt.core.*'\n\t\treturn indexEntryPrefix(REF, this.segments[this.currentSegment]);\n\n\treturn indexEntryPrefix(this.currentTag, this.simpleName);\n}",
"public void setPropertyPrefix(String prefix);",
"public String getPrefixKey() {\n return \"qa.journal.item.\" + key;\n }",
"void declarePrefix(String prefix, String namespace);",
"public String getPrefix() {\n return getPrefix(portletID.getPortletApplicationName(), portletID.getPortletName());\n }",
"public CommandHandler(String prefix) {\n\t\texecutors = new HashSet<CommandExecutor>();\n\t\tthis.prefix = prefix;\n\t}",
"@DSComment(\"Package priviledge\")\n @DSBan(DSCat.DEFAULT_MODIFIER)\n @DSSource({DSSourceKind.SENSITIVE_UNCATEGORIZED})\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.419 -0500\", hash_original_method = \"62121EA4CFF0891BFB2032F7AF8FE7A1\", hash_generated_method = \"62121EA4CFF0891BFB2032F7AF8FE7A1\")\n \nString getPrefix (String uri)\n {\n if (uriTable == null) {\n return null;\n } else {\n return (String)uriTable.get(uri);\n }\n }",
"public abstract String getIdPrefix();",
"private static java.lang.String generatePrefix(java.lang.String namespace) {\r\n if(namespace.equals(\"http://www.huawei.com.cn/schema/common/v2_1\")){\r\n return \"ns1\";\r\n }\r\n return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();\r\n }",
"public java.lang.String getPrefix() {\n return prefix;\n }",
"public java.lang.String getPrefix () {\n\t\treturn prefix;\n\t}",
"public final String getPrefix() {\n return properties.get(PREFIX_PROPERTY);\n }",
"public Command(String prefix){\r\n this.prefix = prefix;\r\n }",
"public String getKeyPrefix() {\n\t\treturn keyPrefix;\n\t}",
"public void setPrefix(String inPrefix)\n\t{\n\t\t//local constants\n\n\t\t//local variables\n\n\t\t/*******************************************************************************/\n\n\t\t//Set the prefix to the inPrefix.\n\t\tprefix = inPrefix;\n\n\t}",
"public ViewObjectImpl getPrefixVo1() {\n return (ViewObjectImpl) findViewObject(\"PrefixVo1\");\n }",
"protected static Function<Throwable, String> prefix(final String prefix) {\n return rootCause->prefix + \": \" + rootCause.getMessage();\n }",
"boolean setPrefix(String prefix);",
"public String getPropertyPrefix();",
"@Override\n public String getLocalKey() {\n if (prefixComponentIndex < prefix.size())\n return prefix.get(prefixComponentIndex);\n else\n return null;\n }",
"@Override\r\n\t\tpublic String lookupPrefix(String namespaceURI)\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"@Override\n\t\tpublic String getLocalName() {\n\t\t\treturn null;\n\t\t}",
"@Test\n\tpublic void testActionPrefixRenaming() throws Exception {\n\t\ttestMachinePrefixRenaming(IAction.ELEMENT_TYPE);\n\t}",
"public void setXnPrefix(String xnPrefix) {\n this.xnPrefix = xnPrefix;\n }",
"@Override\r\n\t\tpublic String getLocalName()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"public String getKeyPrefix() {\n return keyPrefix;\n }",
"private String getPrefixDuringSave(String namespace) {\r\n EPackage ePackage = extendedMetaData.getPackage(namespace);\r\n if (ePackage == null) {\r\n ePackage = extendedMetaData.demandPackage(namespace);\r\n // This will internally create a nice prefix\r\n }\r\n String prefix = ePackage.getNsPrefix();\r\n // I'm not sure if the following code is needed, but I keep it to avoid inconsistencies\r\n if (!packages.containsKey(ePackage)) {\r\n packages.put(ePackage, prefix);\r\n }\r\n prefixesToURIs.put(prefix, namespace);\r\n return prefix;\r\n }",
"private String derivePrefixFromAnnotation(Class<?> clazz) {\n if (clazz.isAnnotationPresent(TypeDefinition.class)) {\n TypeDefinition td = clazz.getAnnotation(TypeDefinition.class);\n if (td != null && !TypeDefinition.UNDEFINED_PREFIX.equals(td.prefix())) {\n return td.prefix();\n }\n }\n return null;\n }",
"public String getXnPrefix() {\n return xnPrefix;\n }",
"public void setIdentificationPrefix(String prefix);",
"java.util.Optional<String> getPrefix();",
"public String getFeedNamespacePrefix(String namespace);",
"public String getOutputPrefix();",
"public String getPrefixCode() { return sharedPreferences.getString(PREFIX_CODE, \"\"); }",
"public void onKeyPress(Widget sender, char keyCode, int modifiers) {\n }",
"void eventStart(String key);",
"public interface CustomEventNamesResolver {\n String resolveCustomEventName(String str);\n }",
"public String getPrefix() {\n return ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.prefix\")));\n }",
"public String createCommandAlias()\n\t{\n\t\t// Split at uppercase letters\n\t\tfinal List<String> words = Txt.camelsplit(this.getClass().getSimpleName());\n\t\tString alias = words.get(words.size() - 1);\n\t\talias = alias.toLowerCase();\n\t\treturn alias;\n\t}",
"@Override\n \t\tpublic String getPrefix(String uri) {\n \t\t\tthrow new UnsupportedOperationException();\n \t\t}",
"@Override\n\tpublic String getLocalName() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String getLocalName() {\n\t\treturn null;\n\t}",
"public String getIdentificationPrefix();",
"public String prefix()\n\t {\n\t \t// create an empty string builder // \n\t \tStringBuilder sb = new StringBuilder();\n\t \t\n\t \t// fill the string builder//\n\t \tprefix(root, sb);\n\t \t\n\t \treturn sb.toString().trim();\n\t }",
"public String getApplicationNamePrefix()\n {\n return applicationNamePrefix;\n }",
"public String getIdPrefix() {\n \t\treturn idPrefix;\n \t}",
"public void setPrefix(String prefix)\r\n {\r\n if (this.labels.size() > 0)\r\n {\r\n this.labels.get(0).setText(prefix);\r\n }\r\n else\r\n {\r\n throw new IllegalArgumentException(\"UMLFragmentLabelFigure: Cannot \"\r\n + \"set prefix (first sublabel) as there are no sublabels.\");\r\n }\r\n }",
"protected abstract String getPropertyPrefix();",
"public void setPrefix(boolean prefix) {\n this.prefix = prefix;\n }",
"public void completePrefixExpr_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {\n\t\t// subclasses may override\n\t}",
"public String getPrefix(Player player) {\n \t\treturn getValue(player, \"prefix\");\n \t}",
"public String getPrefix() { return \"linknode\"; }",
"String getFNamePrefix(String scName) {\r\n\r\n if (machineFunctions.size() > 1) {\r\n return CALToJavaNames.cleanSCName(scName) + \"_\";\r\n }\r\n return \"\";\r\n }"
] | [
"0.57564205",
"0.57564205",
"0.5706861",
"0.56716716",
"0.5630512",
"0.5630512",
"0.5630512",
"0.5630512",
"0.55784464",
"0.55587196",
"0.55337536",
"0.54636556",
"0.54608166",
"0.53847",
"0.5353623",
"0.5314014",
"0.53135073",
"0.5280186",
"0.52692026",
"0.5265794",
"0.5264993",
"0.5218006",
"0.5218006",
"0.52136546",
"0.5209546",
"0.5200982",
"0.5195438",
"0.51828897",
"0.5179303",
"0.5160109",
"0.51486796",
"0.51435584",
"0.5139814",
"0.51393247",
"0.51393247",
"0.51393247",
"0.51393247",
"0.51393247",
"0.5138997",
"0.51344365",
"0.5134176",
"0.5124774",
"0.50768536",
"0.5060397",
"0.5059286",
"0.5021532",
"0.50023955",
"0.4997314",
"0.49877107",
"0.49841252",
"0.4978259",
"0.49658",
"0.49606064",
"0.49504453",
"0.4940187",
"0.49349996",
"0.4925153",
"0.49126062",
"0.4889877",
"0.48835307",
"0.48655465",
"0.48499933",
"0.48430535",
"0.48414975",
"0.48350328",
"0.48305428",
"0.4827675",
"0.48242673",
"0.4821567",
"0.48161885",
"0.48046812",
"0.4794628",
"0.47922432",
"0.47868106",
"0.47755504",
"0.47646943",
"0.4761689",
"0.47602063",
"0.47564432",
"0.4743159",
"0.47348794",
"0.47326586",
"0.47203648",
"0.4716593",
"0.4710245",
"0.4707293",
"0.4697786",
"0.46927738",
"0.46927738",
"0.46878037",
"0.46819267",
"0.46797174",
"0.46774498",
"0.4674074",
"0.46601272",
"0.4658841",
"0.46565282",
"0.4652026",
"0.46477187",
"0.46456683"
] | 0.6316061 | 0 |
ClassicSingletons are classes which can only be instantiated once, Useful for cases like DB connections etc | public static void main(String[] args) {
ClassicSingleton singleton = ClassicSingleton.getInstance();
ClassicSingleton singleton1 = ClassicSingleton.getInstance();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private SingletonEager(){\n \n }",
"private SingletonSample() {}",
"private Singleton(){}",
"private EagerInitializedSingleton() {\n\t}",
"private EagerInitializedSingleton() {\n\t}",
"private Singleton() { }",
"private Singleton() {\n\t}",
"private LazySingleton(){}",
"private Singleton(){\n }",
"private Singleton()\n\t\t{\n\t\t}",
"protected void initSingletons()\n {\n Singleton.initInstance();\n }",
"private void initSingletons() {\n\t\tModel.getInstance();\n\t\tSocialManager.getInstance();\n\t\tMensaDataSource.getInstance();\n\t}",
"private SingletonDoubleCheck() {}",
"private SingletonObject() {\n\n\t}",
"static void useSingleton(){\n\t\tSingleton singleton = Singleton.getInstance();\n\t\tprint(\"singleton\", singleton);\n\t}",
"private EagerInitializationSingleton() {\n\t}",
"private MySingleton() {\r\n\t\tSystem.out.println(\"Only 1 object will be created\");\r\n\t}",
"private J2_Singleton() {}",
"private SingletonSigar(){}",
"private SingletonClass() {\n objects = new ArrayList<>();\n }",
"public static SingletonEager get_instance(){\n }",
"private SparkeyServiceSingleton(){}",
"private InnerClassSingleton(){}",
"@Override\n public boolean isSingleton() {\n return false;\n }",
"private SingletonClass() {\n x = 10;\n }",
"private LoggerSingleton() {\n\n }",
"private Singleton() {\n if (instance != null){\n throw new RuntimeException(\"Use getInstance() to create Singleton\");\n }\n }",
"private LazySingleton() {\n if (null != INSTANCE) {\n throw new InstantiationError(\"Instance creation not allowed\");\n }\n }",
"public static Singleton getInstance( ) {\n return singleton;\n }",
"private void initInstance() {\n init$Instance(true);\n }",
"private static Session getInstance() {\n return SingletonHolder.INSTANCE;\n }",
"private EagerlySinleton()\n\t{\n\t}",
"public static RCProxy instance(){\n\t\treturn SingletonHolder.INSTANCE;\n\t}",
"public static Singleton getInstance( ) {\n return singleton;\n }",
"private static void createSingletonObject() {\n\t\tSingleton s1 = Singleton.getInstance();\n\t\tSingleton s2 = Singleton.getInstance();\n\n\t\tprint(\"S1\", s1);\n\t\tprint(\"S2\", s2);\n\t}",
"public boolean isSingleton() {\n\t\treturn false;\r\n\t}",
"public static Singleton getInstance() {\n return SingletonHolder.SINGLETON_INSTANCE;\n }",
"synchronized public static SampletypeManager getInstance()\n {\n return singleton;\n }",
"@Around(\"singletonsScope()\")\n \tpublic Object aroundSingletons(ProceedingJoinPoint jp) throws Throwable {\n\n Class<?> singClass = jp.getSignature().getDeclaringType();\n logger.info(\"Creating singleton for class: {}\", singClass);\n\n Object singObj = this.singletons.get(singClass);\n if (singObj == null) {\n logger.info(\"First time singleton creation, adding to map\");\n singObj = jp.proceed();\n this.singletons.put(singClass, singObj);\n }\n logger.debug(\"Object: \" + singObj);\n return singObj;\n }",
"public static Singleton getInstance() {\n return mSing;\n }",
"public static void main(String[] args) throws IOException, ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {\n\n Class objectClass = LazyMethodSingleton.class;\n\n Constructor constructor = objectClass.getDeclaredConstructor();\n constructor.setAccessible(true);\n\n LazyMethodSingleton instance = LazyMethodSingleton.getInstance();\n LazyMethodSingleton newInstance = (LazyMethodSingleton) constructor.newInstance();\n\n// HungrySingleton instance = HungrySingleton.getInstance();\n// HungrySingleton newInstance = (HungrySingleton) constructor.newInstance();\n\n// LazyStaticInnerClassSingleton instance = LazyStaticInnerClassSingleton.getInstance();\n// LazyStaticInnerClassSingleton newInstance = (LazyStaticInnerClassSingleton) constructor.newInstance();\n\n System.out.println(instance);\n System.out.println(newInstance);\n System.out.println(instance == newInstance);\n\n\n\n\n }",
"@Test\n public void TestSingletonInitialization() {\n\t\tassertSame(SingletonClass.getInstance(), SingletonClass.getInstance());\n }",
"private SingletonStatementGenerator() {\n\t}",
"public static EagerInitializationSingleton getInstance() {\n\t\treturn INSTANCE;\n\t}",
"public boolean isSingleton()\n\t{\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n\t\tSingleton tmp = Singleton.getInstance();\n\t\ttmp.demoMethod();\n\t\t\n\t/*\tClassicSingleton tmp = ClassicSingleton.getInstance();\n\t\ttmp.getInstance();*/\n\t}",
"private static synchronized void createInstance() {\r\n\t\tif (instance == null)\r\n\t\t\tinstance = new LOCFacade();\r\n\t}",
"public boolean isSingleton() {\n\t\treturn false;\n\t}",
"private SingletonClass()\n {\n s = \"Hello I am a string part of Singleton class\";\n }",
"T getInstance();",
"public static synchronized Singleton getInstanceTS() {\n\t\tif (_instance == null) {\n\t\t\t_instance = new Singleton();\n\t\t}\n\t\treturn _instance;\n\t}",
"private SingletonLectorPropiedades() {\n\t}",
"private static void initSingletons() throws Exception {\n\t\tModel.loadModel();\n\t\tTermSets.init();\n\t\tTermMaps.init();\n\t\tTLRHolder.getInstance();\n\t\tChemNameDictSingleton.hasName(\"acetone\");\n\t\tNGram.getInstance();\n\t\tHyphenTokeniser.init();\n\t\tXMLStrings.init();\n\t\tif(Oscar3Props.getInstance().useMEMM) {\n\t\t\tDFAONTCPRFinder.getInstance();\n\t\t} else {\n\t\t\tDFANEFinder.getInstance();\n\t\t}\n\t\tNameResolver.init();\n\t\tStructureConverter.init();\n\t\tNameToStructure.getInstance();\n\t\tRParser.init();\n\t}",
"public SingletonVerifier() {\n }",
"public static SingletonEager getInstance()\n {\n return instance;\n }",
"public static AnagramService getInstance() {\n\t\treturn SingletonHelper.INSTANCE;\n\t}",
"public static Singleton print(String param)\n {\n return new Singleton();\n}",
"public static MySingleton getInstance() {\r\n\t\tif(instance==null){\r\n\t\t\tinstance= new MySingleton();\r\n\t\t}\r\n\t\treturn instance;\r\n\t}",
"public void SetAsSingleton () throws java.io.IOException, com.linar.jintegra.AutomationException;",
"@Singleton\n @Component(modules = { SingletonProvider.class })\n public interface Single {\n SingletonMaker maker();\n }",
"public static void main(String[] args) {\n\n System.out.println(SingletonExample.getInstance());\n System.out.println(SingletonExample.getInstance());\n }",
"public boolean isSingleton () throws java.io.IOException, com.linar.jintegra.AutomationException;",
"private ScriptInstanceManager() {\n\t\tsuper();\n\t}",
"private Globals() {}",
"public static void main(String[] args) {\n\n\t\tSystem.out.println(Singleton.getInstance());\n\t\tSystem.out.println(Singleton.getInstance());\n\t\tSystem.out.println(Singleton.getInstance());\n\t\tSystem.out.println(Singleton.getInstance());\n\t\tSystem.out.println(Singleton.getInstance());\n\n\t}",
"private SingletonH() {\n System.out.println(Thread.currentThread().getName()\n + \": creating SingletonH\");\n }",
"@Test\n\tpublic void testSingleton()\n\t{\n\t\tChatManager cm1 = ChatManager.getSingleton();\n\t\tassertSame(cm1, ChatManager.getSingleton());\n\t\tChatManager.resetSingleton();\n\t\tassertNotSame(cm1, ChatManager.getSingleton());\n\t}",
"public static Singleton instance() {\n return Holder.instance;\n }",
"private SingletonAR() {\n System.out.println(Thread.currentThread().getName()\n + \": creating SingletonAR\");\n }",
"public static LazyInitializedSingleton getInstance(){ // method for create/return Object\n if(instance == null){//if instance null?\n instance = new LazyInitializedSingleton();//create new Object\n }\n return instance; // return early created object\n }",
"public static Singleton getInstance() {\t\t//getInstance nam omogucava da instanciramo klasu jedinstveno ako vec nismo!\r\n\t\tif (instance == null) {\t\t\t\t\t// inace nam vraca instancu ako je vec napravljena!\r\n\t\t\tinstance = new Singleton();\r\n\t\t}\r\n\t\treturn instance;\r\n\t}",
"public static FacadeMiniBank getInstance(){\r\n\r\n\t\tif(singleton==null){\r\n\t\t\ttry {\r\n\t\t\t\t//premier essai : implementation locale\r\n\t\t\t\tsingleton=(FacadeMiniBank) Class.forName(implFacadePackage + \".\" + localeFacadeClassName).newInstance();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tSystem.err.println(e.getMessage() + \" not found or not created\");\r\n\t\t\t}\t\t\t\t\t\t\r\n\t\t}\r\n\t\tif(singleton==null){\r\n\t\t\t//deuxieme essai : business delegate \r\n\t\t singleton=getRemoteInstance();\r\n\t\t\t\t\t\t\t\t\r\n\t\t}\r\n\t\treturn singleton;\r\n\t}",
"public static GroundItemParser getInstance() {\r\n return SINGLETON;\r\n }",
"public static class_config getinstance(){\n\t\tif (instance==null){\n\t\t\tinstance = new class_config();\n\t\t\t\n singleton.mongo=new Mongo_DB();\n singleton.nom_bd=singleton.mongo.getNom_bd();\n singleton.nom_table=singleton.mongo.getNom_table();\n singleton.client = Mongo_DB.connect();\n if (singleton.client != null) {\n singleton.db = singleton.mongo.getDb();\n singleton.collection = singleton.mongo.getCollection();\n }\n \n\t\t\tsingleton_admin.admin= new ArrayList<admin_class>();\n\t\t\tsingleton_client.client= new ArrayList<client_class>();\n\t\t\tsingleton_reg.reg= new ArrayList<reg_user_class>();\n\t\t\t\n// A_auto_json.auto_openjson_admin();\n// C_auto_json.auto_openjson_client();\n R_auto_json.auto_openjson_reg();\n //funtions_files.auto_open();\n\t\t\tauto_config.auto_openconfig();\n //class_language.getinstance();\n\t\t\tsingleton_config.lang=new class_language();\n \n connectionDB.init_BasicDataSourceFactory();\n \n\t\t}\n\t\treturn instance;\n\t}",
"public static void setSingleton(Boolean singleton) {\r\n\t\tCompiler.singleton = singleton;\r\n\t}",
"public static SingleObject getInstance(){\n return instance;\n }",
"private void createSharedSingletons(Context applicationContext) {\n\t\t// Create Active User\n\t\tActiveUserModel.createInstance(applicationContext);\n\n\t\t// Create Favorites List\n\t\tFavoriteTopicModelList.createInstance(applicationContext);\n\t\tFavoriteCommentModelList.createInstance(applicationContext);\n\n\t\t// Create Read Later list\n\t\tReadLaterTopicModelList.createInstance(applicationContext);\n\t\tReadLaterCommentModelList.createInstance(applicationContext);\n\n\t\t// Create Location Provider\n\t\tLocationProvider.getInstance(applicationContext);\n\t}",
"public static LazyLoadingSingleton getInstaceWithoutThreadSafty() {\n\t\tif (INSTANCE == null) {\n\t\t\tINSTANCE = new LazyLoadingSingleton();\n\t\t}\n\t\treturn INSTANCE;\n\t}",
"public static utilitys getInstance(){\n\r\n\t\treturn instance;\r\n\t}",
"private Globals(){}",
"public static GeneralServices getInstance() {\r\n\t\treturn INSTANCE;\r\n\t}",
"public DPSingletonLazyLoading getInstance(){ //not synchronize whole method. Instance oluşmuş olsa bile sürekli burada bekleme olur.\r\n\t\tif (instance == null){//check\r\n\t\t\tsynchronized(DPSingletonLazyLoading.class){ //critical section code NOT SYNCRONIZED(this) !!\r\n\t\t\t\tif (instance == null){ //double check\r\n\t\t\t\t\tinstance = new DPSingletonLazyLoading();//We are creating instance lazily at the time of the first request comes.\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn instance;\r\n\t}",
"public static CZSZApplication_bak getInstance() {\n return theSingletonInstance;\n }",
"private synchronized static void createInstance(){\r\n\t\tif (instance == null){\r\n\t\t\tinstance = new Casino();\r\n\t\t}\r\n\t}",
"public static Boolean getSingleton() {\r\n\t\treturn singleton;\r\n\t}",
"private SingletonColorFactory() {\n\t\tRandom rand = new Random();\n\t\tfactoryID = rand.nextInt(10000);\n\t}",
"Shared shared();",
"protected void initializeInstances() {\n if (mUser == null) {\n mUser = new User(getApplicationContext());\n }\n if (mUserCache == null) {\n mUserCache = new UserCache();\n }\n if(mGlobalGroupContainer == null) {\n mGlobalGroupContainer = new GroupContainer(getApplicationContext());\n }\n if(mGlobalHistoryContainer == null) {\n mGlobalHistoryContainer = new HistoryContainer(getApplicationContext());\n }\n\n if(mGlobalContactContainer == null) {\n mGlobalContactContainer = new ContactContainer(getApplicationContext());\n mGlobalContactContainer.setContactSortKey(Contact.UserSortKey.USER_FIRST_NAME);\n }\n }",
"protected static KShingler getInstance() {\n return ShinglerSingleton.INSTANCE;\n }",
"private Singleton2A(){\n\t\tif(instance != null){\n\t\t\tthrow new RuntimeException(\"One instance already created cant create other\");\n\t\t}\t\t\n\t\tSystem.out.println(\"I am private constructor\");\n\t}",
"public static FaceDetection getInstance()\n\t{\n\t\treturn SingletonHolder.INSTANCE;\n\t}",
"public static SingleObject getInstance(){\n\t\treturn instance;\n\t}",
"public void initializeInstance() {\n instanceLife = new Timer();\n }",
"public static SingletonClass getInstance() {\n\t\tif(singletonObj == null){\n\t\t\tsingletonObj = new SingletonClass();\n\t\t}\n\t\treturn singletonObj;\n\t}",
"public static void main(String[] args){\n\n DbSingleton instance = DbSingleton.getInstance();\n\n //DbSingleton test = new DbSingleton();\n DbSingleton instance2 = DbSingleton.getInstance();\n\n System.out.println(instance);\n System.out.println(instance2);\n\n }",
"private static void multiThreading(){\n\t\tSystem.out.println(\"\\nCreating new two separate instances of Singleton using Multi threading\");\n\t\tExecutorService service = Executors.newFixedThreadPool(2);\n\t\tservice.submit(TestSingleton::useSingleton);\n\t\tservice.submit(TestSingleton::useSingleton);\n\t\tservice.shutdown();\n\t}",
"private Globals() {\n\n\t}",
"@Override\n\t\tpublic Object getInstance() {\n\t\t\treturn null;\n\t\t}",
"private Singleton()\r\n\t{\r\n\t\tSystem.out.println(\"1st instance of class Singleton created\");\r\n\t\tstr = \"Constructor init\";\r\n\t}",
"protected static void demoMethod( ) {\n System.out.println(\"demoMethod for singleton\");\n }"
] | [
"0.76565814",
"0.74788535",
"0.7378578",
"0.7346477",
"0.7346477",
"0.73207986",
"0.7296822",
"0.7288891",
"0.72570276",
"0.721081",
"0.72005844",
"0.7128357",
"0.7115748",
"0.711447",
"0.70996636",
"0.7057046",
"0.6980899",
"0.6936268",
"0.69316226",
"0.68878216",
"0.6796255",
"0.67469305",
"0.6704922",
"0.6697291",
"0.66209966",
"0.6593982",
"0.65928346",
"0.6540145",
"0.65162086",
"0.65115803",
"0.65098655",
"0.6502648",
"0.64961416",
"0.6468389",
"0.64670706",
"0.64289623",
"0.6423729",
"0.6419853",
"0.64171445",
"0.64024997",
"0.6385746",
"0.638464",
"0.63784415",
"0.63694817",
"0.6365506",
"0.6365159",
"0.6358991",
"0.63579416",
"0.6301192",
"0.62994987",
"0.6292692",
"0.62871325",
"0.6286272",
"0.62824845",
"0.6252297",
"0.62329394",
"0.62252915",
"0.62236416",
"0.6223076",
"0.6208091",
"0.62041247",
"0.6184748",
"0.6182701",
"0.61816114",
"0.61674535",
"0.6163918",
"0.6160835",
"0.6155202",
"0.61519164",
"0.61414975",
"0.6135187",
"0.6110559",
"0.609722",
"0.60923976",
"0.6086385",
"0.60855305",
"0.6078314",
"0.60702795",
"0.60681164",
"0.6064589",
"0.6057639",
"0.604661",
"0.6039065",
"0.6019791",
"0.6009465",
"0.6008488",
"0.6008433",
"0.6007067",
"0.6006149",
"0.5995547",
"0.5992184",
"0.5989614",
"0.5974304",
"0.596384",
"0.5957578",
"0.59535974",
"0.5951986",
"0.5946755",
"0.5945819",
"0.5944429"
] | 0.7123026 | 12 |
Log.v(TAG, "First call to location updates."); | public void startLocationUpdates() {
startLocationUpdatesFromInside();
showForegroundNotification();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onSuccess(Void aVoid) {\n Log.i(\"MainActivity\", \"requestLocationUpdatesWithCallback onSuccess\");\n }",
"@SuppressLint(\"MissingPermission\")\n private void requestLocationUpdate() {\n }",
"@Override\n public void requestLocationUpdates() {\n handler = new Handler();\n handler.postDelayed(new LocationUpdateRunnable(), UPDATE_INTERVAL_MS);\n }",
"@SuppressLint(\"MissingPermission\")\n private void startup() {\n Log.i(TAG, \"startup: \");\n Log.i(TAG, \"startup: \" + currentLocation.latitude);\n\n }",
"private void startLocationUpdates() {\n Log.d(LOG_TAG, \"startLocationUpdates() called\");\n fusedLocationClient.requestLocationUpdates(locationRequest, locationCallback, Looper.getMainLooper());\n }",
"public void getLocationInfo() {\n startLocationService();\n }",
"@Override\n public void onConnected(@Nullable Bundle bundle) {\n Log.i(TAG, \"Location Services Connected\");\n requestLocationUpdates();\n }",
"private void updateLocationUI() {\n if (mCurrentLocation != null) {\n Log.e(\"UPDATE GEO\", \"LAT \" + mCurrentLocation.getLatitude() + \" LON \" +\n mCurrentLocation.getLongitude() + \" LAST UPDATE \" + mLastUpdateTime);\n }\n }",
"@Override\n public void onLocationChanged(Location location) {\n mCurrentLocation = location;\n mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n updateUI();\n Toast.makeText(this, getResources().getString(R.string.location_updated_message),\n Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onLocationChanged(Location location) {\n mCurrentLocation = location;\n mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n updateUI();\n Toast.makeText(this, getResources().getString(R.string.location_updated_message),\n Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onFailure(Exception e) {\n Log.e(\"MainActivity\", \"requestLocationUpdatesWithCallback onFailure:\" + e.getMessage());\n }",
"@Override\n public void onLocationChanged(Location location) {\n }",
"@Override\n public void onLocationChanged(Location location) {\n\n }",
"@Override\n public void onLocationChanged(Location location) {\n\n }",
"@Override\n\tpublic void onLocationChanged(Location arg0) {\n\n\t}",
"@Override\n\tpublic void onLocationChanged(Location arg0) {\n\n\t}",
"@Override\n\tpublic void onConnected(Bundle arg0) {\n\t\t Toast.makeText(context, \"Connected\", Toast.LENGTH_SHORT).show();\n\t\t mLocationClient.requestLocationUpdates(mLocationRequest,this);\n\t}",
"@Override\r\n public void onLocationChanged(Location location) {\n\r\n sendLocationUpdates(location);\r\n }",
"@Override\n\t\tpublic void onLocationChanged(Location args0) {\n\t\t\t mCurrentLocation = args0;\n\t mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n\t updateUI();\n\n\t\t}",
"@Override\n\tpublic void onLocationChanged(Location loc)\n\t{\n\t}",
"private void startLocationUpdate()\r\n {\r\n try \r\n {\r\n _locationProvider = LocationProvider.getInstance(null);\r\n \r\n if ( _locationProvider == null ) \r\n {\r\n // We would like to display a dialog box indicating that GPS isn't supported, but because\r\n // the event-dispatcher thread hasn't been started yet, modal screens cannot be pushed onto\r\n // the display stack. So delay this operation until the event-dispatcher thread is running\r\n // by asking it to invoke the following Runnable object as soon as it can.\r\n Runnable showGpsUnsupportedDialog = new Runnable() \r\n {\r\n public void run() \r\n {\r\n Dialog.alert(\"GPS is not supported on this platform, exiting...\");\r\n System.exit( 1 );\r\n }\r\n };\r\n invokeLater( showGpsUnsupportedDialog ); // ask event-dispatcher thread to display dialog ASAP\r\n } \r\n else \r\n {\r\n // only a single listener can be associated with a provider, and unsetting it involves the same\r\n // call but with null, therefore, no need to cache the listener instance\r\n _locationProvider.setLocationListener(new LocationListenerImpl(), _interval, 1, 1);\r\n }\r\n } catch (LocationException le) {\r\n System.err.println(\"Failed to instantiate the LocationProvider object, exiting...\");\r\n System.err.println(le); \r\n System.exit(0);\r\n } \r\n }",
"protected void startLocationUpdates()\n {\n try\n {\n if (googleApiClient.isConnected())\n {\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n isRequestingLocationUpdates = true;\n }\n }\n catch (SecurityException e)\n {\n Toast.makeText(getContext(), \"Unable to get your current location!\" +\n \" Please enable the location permission in Settings > Apps \" +\n \"> Bengaluru Buses.\", Toast.LENGTH_LONG).show();\n }\n }",
"@Override\n\tpublic void onLocationChanged(Location arg0) {\n\t\t Location myLocation =mMap.getMyLocation();\n if( myLocation != null ){\n logger.debug( \"Latitude: \" + myLocation.getLatitude() + \"\\nLongitude: \" + myLocation.getLongitude() );\n } \n\t}",
"public void onLocationChanged(Location location) {\n \n \t}",
"@Override\n public void onLocationChanged(Location location) {\n Toast.makeText(getApplicationContext(), location.toString() + \"\", Toast.LENGTH_SHORT).show();\n Log.i(TAG, \"onLocationChanged: \" + location.toString());\n }",
"@Override\n public void onConnected(@Nullable Bundle bundle) {\n startLocationUpdates();\n }",
"public void onLocationChanged(Location location){\n\n }",
"@Override\n public void onLocationChanged(Location location) {\n }",
"@Override\n\tpublic void onLocationChanged(android.location.Location arg0) {\n\t\t\n\t}",
"public void startLocationUpdate() {\n if (locationCallback != null) {\n try {\n locationCallback = new LocationCallback() {//khoi tao dinh nghia (extent)\n\n @Override\n public void onLocationResult(LocationResult locationResult) {\n super.onLocationResult(locationResult);\n Log.d(TAG, \"onLocationResult: \");\n if (locationResult != null) {\n Log.d(TAG, \"onLocationResult: loaction!==null\");\n myLocation = locationResult.getLastLocation();\n showMarker();//de show hinh len\n }\n }\n };\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, locationCallback, null);//dang ky voi he thong app lang nghe su thay doi cua location\n\n } catch (SecurityException e) {\n e.getMessage();\n\n }\n }\n }",
"@Override\n public void onStart() {\n super.onStart();\n currentLocation.startLocationUpdates();\n }",
"private void startLocationUpdates() {\r\n try {\r\n TimeUnit.SECONDS.sleep(3);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n mFusedLocationClient.requestLocationUpdates(getLocationRequest(), mLocationCallback, Looper.getMainLooper());\r\n mMap.setMyLocationEnabled(true);\r\n }",
"@Override\n public void onConnected(Bundle bundle) {\n Log.i(TAG, \"location service connected\");\n }",
"private void getLocation() {\n //if you don't have permission for location services yet, ask\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]\n {Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_LOCATION_PERMISSION);\n //have the app ask for location permission\n } else {\n fusedLocationClient.requestLocationUpdates\n (getLocationRequest(), mLocationCallback,\n null /* Looper */);\n //uses the type of request and the location callback to update the location\n /**fusedLocationClient.getLastLocation().addOnSuccessListener(\n new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n TextView error = findViewById(R.id.errorMsg);\n error.setVisibility(View.VISIBLE);\n\n if (location != null) {\n lastLocation = location;\n error.setText(\"location: \" + lastLocation.getLatitude());\n } else {\n error.setText(\"location not available\");\n }\n }\n });**/\n }\n }",
"@Override\n \t\t\tpublic void onLocationChanged(Location loc) {\n \t \n \t\t\t}",
"@Override\n public void onMyLocationChange(Location arg0) {\n }",
"@SuppressLint(\"MissingPermission\")\n private void doStuff() {\n LocationManager locationManager = (LocationManager) getApplicationContext().getSystemService(Context.LOCATION_SERVICE);\n if (locationManager != null) {\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, (LocationListener) this);\n }\n\n }",
"public void onLocationChanged(Location location) {\n }",
"@Override \n public void onLocationChanged(Location location) { \n mostRecentLocation = location; \n }",
"@Override\n public void onLocationChanged(Location location) {\n setLocation(location);\n mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n mTime = new SimpleDateFormat(K.TIMESTAMP_FORMAT_STRING).format(Calendar\n .getInstance().getTime()).toString();\n androidLocationUI.updateUI();\n if (application.isLogging()) {\n new Thread(new Runnable() {\n @Override\n public void run() {\n saveData();\n }\n }).start();\n }\n }",
"@Override\r\n\t\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\tLog.d(\"demo\", \"Lat:\" + location.getLatitude() + \" Long:\"+location.getLongitude());\r\n\t\t\t}",
"public void requestLocationUpdates(View view) {\n Log.d(TAG, \"requestLocationUpdates\");\n try {\n Log.i(TAG, \"Starting location updates\");\n LocationRequestHelper.setRequesting(this, true);\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, getPendingIntent());\n } catch (SecurityException e) {\n LocationRequestHelper.setRequesting(this, false);\n e.printStackTrace();\n }\n }",
"protected void startLocationUpdates() {\n mLocationRequest = LocationRequest.create()\n .setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY)\n .setInterval(1000000)\n .setFastestInterval(1000000);\n // Request location updates\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, new LocationListener() {\n @Override\n public void onLocationChanged(Location location) {\n mLastLocation = location;\n }\n });\n }\n\n }",
"@Override\n public void onClick(View v) {\n startLocationUpdates();\n startIntentService();\n //updateUI();\n mUpdateTimeText.setText(mLastUpdateTime);\n mLocationData.addLocation(new LocationRecord(mCurrentLocation.getLatitude(),\n mCurrentLocation.getLongitude(), mLastUpdateTime));\n Toast.makeText(MapsActivity.this, \"You have checked in!\", Toast.LENGTH_LONG).show();\n //mLocationData.addLocation(mCurrentLocation, mAddressOutput, mLastUpdateTime);\n }",
"@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.main);\n\t\t// Otteniamo il riferimento al LocationManager\n\t\tLocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);\n\t\tLog.i(LOG_TAG,\"LocationManager created!\");\n\t\t// Registriamo il LocationListener al provider GPS\n\t\tlocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0,\n\t\t\t\t0, new LocationListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\t\t\tLog.i(LOG_TAG,\"onLocationChanged \"+location.getLatitude()+\":\"+location.getLongitude());\n\t\t\t\t\t\tToast.makeText(LocationManagerTest.this,\n\t\t\t\t\t\t\t\t\"onLocationChanged \"+location.getLatitude()+\":\"+location.getLongitude(), Toast.LENGTH_SHORT).show();\n\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onProviderDisabled(String provider) {\n\t\t\t\t\t\tLog.i(LOG_TAG,\"onProviderDisabled \"+provider);\n\t\t\t\t\t\tToast.makeText(LocationManagerTest.this,\n\t\t\t\t\t\t\t\t\"onProviderDisabled \"+provider, Toast.LENGTH_SHORT).show();\n\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onProviderEnabled(String provider) {\n\t\t\t\t\t\tLog.i(LOG_TAG,\"onProviderEnabled \"+provider);\n\t\t\t\t\t\tToast.makeText(LocationManagerTest.this,\n\t\t\t\t\t\t\t\t\"onProviderEnabled \"+provider, Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onStatusChanged(String provider, int status,Bundle extras) {\n\t\t\t\t\t\tLog.i(LOG_TAG,\"onStatusChanged \"+provider+\" status: \"+status);\n\t\t\t\t\t\tToast.makeText(LocationManagerTest.this,\n\t\t\t\t\t\t\t\t\"onStatusChanged \"+provider+\" status: \"+status, Toast.LENGTH_SHORT).show();\n\n\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t}",
"protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n //mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettingsRequest object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Check whether location settings are satisfied\n // https://developers.google.com/android/reference/com/google/android/gms/location/SettingsClient\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n try{\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation(),false);\n }\n },\n Looper.myLooper());\n }\n catch(SecurityException e){\n e.printStackTrace();\n }\n\n }",
"private void getLocation() {\n\n }",
"@Override\r\n public void onLocationChanged(Location location) {\r\n // - Update local variables\r\n setLocationData(location);\r\n\r\n if (location != null) {\r\n Log.e(TAG, \"== location != null\");\r\n // - Send result through a broadcast\r\n sendBroadcastToActivity(currentLat, currentLng);\r\n }\r\n }",
"@Override\n\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\n\t\t}",
"@Override\n public void onLocationChanged(Location location) {\n currentLatitude = location.getLatitude();\n currentLongitude = location.getLongitude();\n Toast.makeText(this, currentLatitude + \", \" + currentLongitude + \"\", Toast.LENGTH_LONG).show();\n }",
"private void StartLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettings object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Checks if location settings are OK\n SettingsClient settingsClient = LocationServices.getSettingsClient(context);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission\n (context, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n return;\n }else {\n getFusedLocationProviderClient(context).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n// getLastLocation();\n }\n },\n Looper.myLooper());\n }\n\n }",
"@Override\n public void onConnected(@Nullable Bundle bundle) {\n displayLocation();\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n }",
"@Override\n public void run() {\n mHandler.post(new Runnable() {\n\n @Override\n public void run() {\n // display toast\n locationupdate();\n }\n\n });\n }",
"public void updateLocation();",
"@Override\n public void onLocationChanged(Location location) {\n OnLocationChanged(location.getLatitude(), location.getLongitude());\n }",
"@Override\n public void onConnected(Bundle bundle) {\n\n if (mCurrentLocation == null) {\n mCurrentLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n updateUI();\n }\n\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n\n if (addGeofence) {\n addGeofencesButtonHandler();\n }\n }",
"@SuppressLint(\"MissingPermission\")\n private void Locate(){\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 2000, 0, (LocationListener) this);\n\n // Obtain the SupportMapFragment and get notified when the map is ready to be used.\n mapFragment = (SupportMapFragment) getSupportFragmentManager()\n .findFragmentById(R.id.map);\n\n //Initialize fused location\n client = LocationServices.getFusedLocationProviderClient(this);\n }",
"@Override\n public void onConnected(Bundle arg0) {\n mLastLocation=locationHelper.getLocation();\n }",
"private void getLocation() {\n if (ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.INTERNET}\n , 10);\n }\n return;\n }\n\n //Update location\n locationManager.requestLocationUpdates(\"gps\", 5000, 0, listener);\n }",
"private void getLocation() {\n LocationRequest mLocationRequestHighAccuracy = new LocationRequest();\n mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);\n mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);\n\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"getLocation: stopping the location service.\");\n stopSelf();\n return;\n }\n Log.d(TAG, \"getLocation: getting location information.\");\n mFusedLocationClient.requestLocationUpdates(mLocationRequestHighAccuracy, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n\n Log.d(TAG, \"onLocationResult: got location result.\");\n\n Location location = locationResult.getLastLocation();\n\n if (location != null) {\n\n saveUserLocation(new LatLng(location.getLatitude(),location.getLongitude()));\n }\n }\n },\n Looper.myLooper()); // Looper.myLooper tells this to repeat forever until thread is destroyed\n }",
"@Override\n public void onSuccess(Location location) {\n Log.d(TAG, \"onSuccess: Location : \" + location);\n if (location != null) {\n Toast.makeText(MainActivity.this, \"Location : \" + location, Toast.LENGTH_SHORT).show();\n }\n }",
"@SuppressLint(\"RestrictedApi\")\n protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n }\n },\n Looper.myLooper());\n }",
"@Override\n public void onConnected(Bundle dataBundle) {\n // Display the connection status\n log(\"Connected\");\n\n // Get current location\n Location location = LocationServices.FusedLocationApi.getLastLocation(\n mGoogleApiClient);\n log(\"Locations (starting with last known):\");\n if (location != null) {\n dumpLocation(location);\n } else {\n log(\"location is null\");\n }\n // ...\n // Request update every 1-5 seconds, high accuracy\n LocationRequest locationRequest = LocationRequest.create();\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n locationRequest.setInterval(UPDATE_INTERVAL);\n locationRequest.setFastestInterval(FASTEST_INTERVAL);\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, locationRequest, this);\n }",
"@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.maps);\n \n //Activate the GPS\n locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); \n locationListener = new GPSListener(this); \n \n //Requests updates each 200 meters\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 200,locationListener);\n \n mlv = (MapViewer) findViewById(R.id.map_view);\n \n \t// Register for events\n addEvents(); \n }",
"protected void startLocationUpdates() {\n\t\tcontected();\n\t\tLocationServices.FusedLocationApi.requestLocationUpdates(\n\t\t\t\tmGoogleApiClient, mLocationRequest, (LocationListener)context);\n\t}",
"@Override\n \tpublic void onLocationChanged(Location location) {\n \t\tthis.location = location;\n \t}",
"@Override\n public void onConnected(Bundle connectionHint) {\n //LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, REQUEST, this); // LocationListener\n }",
"private void requestLocationUpdates(){\n if(googleApiClient.isConnected()){\n try{\n setLocationRequest();\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n } catch (SecurityException ex) {\n Log.e(TAG, \"requestLocationUpdates: no permissions\", ex);\n }\n }\n }",
"public void onLocationChanged(Location location) {\n \t \n \t }",
"@Override\n public void onSuccess(Location location) {\n if (location != null) {\n Toast.makeText(getContext(), \"location: \" + location, Toast.LENGTH_LONG).show();\n EventBus.getDefault().post(new LocationEvent(location));\n }\n }",
"public void startLocationUpdates(){\n // High accuracy should use GPS to get the location\n locationRequest = new LocationRequest();\n locationRequest.setInterval(2000);\n locationRequest.setFastestInterval(1000);\n locationRequest.setSmallestDisplacement(1);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n if(ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n // The user has not given us access to get their location\n // May want to request those premissions here\n try {\n int gpsOff = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE);\n // If this returns zero then GPS is off\n if(gpsOff == 0){\n Intent turnOnGPS = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);\n startActivity(turnOnGPS);\n }\n }catch (Settings.SettingNotFoundException e){\n e.printStackTrace();\n }\n\n return;\n }\n\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n }",
"public void gotLocation(Location location){\r\n \tif(location!=null){\r\n\t \tConstants.gpslat = location.getLatitude()+\"\";\r\n\t Constants.gpslng = location.getLongitude()+\"\";\r\n\t Log.d(\"location changed: lattitue & longitude\",Constants.gpslat+\" & \"+Constants.gpslng);\r\n \t}\r\n }",
"@Override\n public void onLocationChanged(Location location) {\n updateLocation(location);\n }",
"protected void startLocationUpdates() {\n\n if (ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n /*if (shouldShowRequestPermissionRationale(\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n showExplanationDialog(new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n requestPermissions(\n new String[]{ Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n });\n } else {\n requestPermissions(\n new String[]{ Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }*/\n } else {\n if (mGoogleApiClient.isConnected()) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n mRequestingLocationUpdates = true;\n Fog.d(TAG, \"requestedLocationUpdates\");\n }\n }\n }",
"protected void startLocationUpdates() {\n try {\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }",
"@Override\r\n public void onLocationChanged(Location location) {\r\n Log.i(TAG, \"Location changed : \" + location);\r\n if (location != null) {\r\n mCurrentLocation = location;\r\n updateUI();\r\n }\r\n }",
"@Override\n public void onLocationChanged(Location location) {\n\n clientlat = location.getLatitude();\n clientlon = location.getLongitude();\n System.out.println(\"latitude is \"+clientlat);\n System.out.println(\"longitude is \"+clientlon);\n }",
"@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.main);\n\n\t\tmButtonGetLocation = (Button) findViewById(R.id.btn_get_location);\n\t\tmTextViewResult = (TextView) findViewById(R.id.tv_result_value);\n\t\tmTextViewGPSStatus = (TextView) findViewById(R.id.tv_gps_status);\n\t\tmMapView = (MapView) findViewById(R.id.map_view);\n\t\tmMapController = mMapView.getController();\n\t\tmMapController.setZoom(11);\n\t\tsetMapCenter(18.04, 59.35);\n\n\t\tmDialog = new ProgressDialog(this);\n\t\tmDialog.setOnCancelListener(new OnCancelListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\tmButtonGetLocation.setEnabled(true);\n\t\t\t\tmLocationManager.removeUpdates(mLocationListener);\n\t\t\t}\n\t\t});\n\t\tmLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n\t\tmLocationListener = new LocationListener() {\n\t\t\t@Override\n\t\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\t// Called when a new location is found.\n\t\t\t\tnew PostDogShitTask().execute(location);\n\t\t\t\tmLocationManager.removeUpdates(mLocationListener);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onStatusChanged(String provider, int status, Bundle extras) {\n\t\t\t\tswitch (status) {\n\t\t\t\tcase LocationProvider.AVAILABLE:\n\t\t\t\t\tmTextViewGPSStatus.setText(mTextViewGPSStatus.getText().toString()\n\t\t\t\t\t + \"GPS available again\\n\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase LocationProvider.OUT_OF_SERVICE:\n\t\t\t\t\tmTextViewGPSStatus.setText(mTextViewGPSStatus.getText().toString()\n\t\t\t\t\t + \"GPS out of service\\n\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase LocationProvider.TEMPORARILY_UNAVAILABLE:\n\t\t\t\t\tmTextViewGPSStatus.setText(mTextViewGPSStatus.getText().toString()\n\t\t\t\t\t + \"GPS temporarily unavailable\\n\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onProviderEnabled(String provider) {\n\t\t\t\tLog.i(TAG, \"Provider enabled\");\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onProviderDisabled(String provider) {\n\t\t\t\tLog.i(TAG, \"Provider disabled\");\n\t\t\t}\n\t\t};\n\n\t\tmapOverlays = mMapView.getOverlays();\n\t\tDrawable drawable = this.getResources().getDrawable(R.drawable.poop);\n\t\titemizedoverlay = new HelloItemizedOverlay(drawable);\n\t}",
"private void getLocation() {\n LocationRequest mLocationRequestHighAccuracy = new LocationRequest();\n mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);\n mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);\n\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"getLocation: stopping the location service.\");\n stopSelf();\n return;\n }\n Log.d(TAG, \"getLocation: getting location information.\");\n mFusedLocationClient.requestLocationUpdates(mLocationRequestHighAccuracy, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n Log.d(TAG, \"onLocationResult: got location result.\");\n Location location = locationResult.getLastLocation();\n if (location != null) {\n GeoPoint geoPoint = new GeoPoint(location.getLatitude(), location.getLongitude());\n userInfoDoc.get().addOnCompleteListener(task -> {\n Boolean av = (Boolean) task.getResult().get(\"Availability\");\n saveUserLocation(geoPoint , av);\n });\n saveDistance(geoPoint);\n\n }\n }\n },\n Looper.myLooper()); // Looper.myLooper tells this to repeat forever until thread is destroyed\n }",
"@Override\n public void onConnected(Bundle bundle) {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Toast.makeText(this, \"Location not working\", Toast.LENGTH_LONG).show();\n return;\n }\n Location location = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n\n if (location == null) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n Toast.makeText(this, \"GPS signal too weak. Try again later\", Toast.LENGTH_LONG).show();\n } else {\n //If everything went fine lets get latitude and longitude\n currentLatitude = location.getLatitude();\n currentLongitude = location.getLongitude();\n\n //Button to launch Map\n launchMapButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String strUri = \"http://maps.google.com/maps?q=loc:\" + currentLatitude + \",\" + currentLongitude + \" (\" + \"Current Location\" + \")\";\n Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(strUri));\n intent.setClassName(\"com.google.android.apps.maps\", \"com.google.android.maps.MapsActivity\");\n startActivity(intent);\n }\n });\n\n\n //Add the Latitude and longitude to address\n\n latitudeString = String.valueOf(location.getLatitude());\n longitudeString = String.valueOf(location.getLongitude());\n\n address = \"Current Location : \\n\" + \"Latitude: \" + latitudeString + \"\\nLongitude: \" + longitudeString;\n\n //Update the detailed location in the address\n try {\n Geocoder geocoder = new Geocoder(ReportIssueActivity.this, Locale.getDefault());\n List<Address> addresses = geocoder.getFromLocation(location.getLatitude(), location.getLongitude(), 1);\n address = address + \"\\nAddress: \" + addresses.get(0).getAddressLine(0) + \", \" +\n addresses.get(0).getAddressLine(1) + \", \"+addresses.get(0).getAddressLine(2);\n } catch(Exception e)\n {\n Toast.makeText(ReportIssueActivity.this, \"Couldn't find precise address!\", Toast.LENGTH_SHORT).show();\n }\n Toast.makeText(this, address, Toast.LENGTH_LONG).show();\n }\n }",
"public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n // startLocationUpdates();\n }\n }",
"@Override\n public void onConnected(Bundle bundle) {\n LocationRequest locationRequest = LocationRequest.create()\n .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY)\n .setInterval(UPDATE_INTERVAL_MS)\n .setFastestInterval(FASTEST_INTERVAL_MS);\n\n\n // Send request for location updates\n LocationServices.FusedLocationApi\n .requestLocationUpdates(mGoogleApiClient, locationRequest, this)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(Status status) {\n if (status.getStatus().isSuccess()) {\n Log.d(\"YAY\", \"Successfully requested\");\n } else {\n Log.e(\"OH NOOOO\", status.getStatusMessage());\n }\n }\n });\n\n\n Location location = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n onLocationChanged(location);\n }",
"protected void startLocationUpdates() {\n try {\n// LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n\n /* mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(6000); // two minute interval\n mLocationRequest.setFastestInterval(6000);//120000\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);*/\n /*if (ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }*/\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n// LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, (LocationListener) this);\n LocationServices.getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, null);\n// requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener);\n// requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);\n\n } catch (Exception e) {\n // TODO: handle exception\n e.printStackTrace();\n }\n }",
"private void locationManager()\n\t{\n mMap.setMyLocationEnabled(true);\n\n // Getting LocationManager object from System Service LOCATION_SERVICE\n LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n // Creating a criteria object to retrieve provider\n Criteria criteria = new Criteria();\n\n // Getting the name of the best provider\n String provider = locationManager.getBestProvider(criteria, true);\n\n // Getting Current Location\n Location location = locationManager.getLastKnownLocation(provider);\n\n if(location!=null){\n onLocationChanged(location);\n }\n locationManager.requestLocationUpdates(provider, 20000, 0, this);\n\t\t\n\t}",
"@Override\n public void onLocationChanged(Location location) {\n currentLatitude = location.getLatitude();\n currentLongitude = location.getLongitude();\n\n }",
"@SuppressLint(\"MissingPermission\")\r\n public void initLocation(){\r\n //LocationManager.NETWORK_PROVIDER Otra opcion\r\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 2, new LocationListener() {\r\n @Override\r\n public void onLocationChanged(@NonNull Location location) {\r\n LatLng pos = new LatLng(location.getLatitude(), location.getLongitude());\r\n myMarker.setPosition(pos);\r\n mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(pos, 16));\r\n }\r\n\r\n @Override\r\n public void onStatusChanged(String provider, int status, Bundle extras) {\r\n\r\n }\r\n\r\n @Override\r\n public void onProviderDisabled(@NonNull String provider) {\r\n\r\n }\r\n\r\n @Override\r\n public void onProviderEnabled(@NonNull String provider) {\r\n\r\n }\r\n });\r\n }",
"private void updateGPS() {\n fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(Location.this);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n fusedLocationProviderClient.getLastLocation().addOnSuccessListener(this, new OnSuccessListener<android.location.Location>() {\n @Override\n public void onSuccess(android.location.Location location) {\n updateUI(location);\n }\n });\n } else {\n //permission not granted, we will ask for it\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 99);\n }\n }\n }",
"@Override\n public void onConnected(@Nullable Bundle bundle) {\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n } else {\n if (mCurrentLocation == null) {\n Log.d(Constants.GETTING_LOCATION, Constants.GETTING_LOCATION);\n mCurrentLocation = com.google.android.gms.location.LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n\n // Log test location on debug\n String test = mCurrentLocation.toString();\n Log.d(Constants.GETTING_LOCATION, Constants.GETTING_LOCATION + test);\n mLastUpdateTime = DateFormat.getDateTimeInstance().format(new Date());\n }\n // permission has been granted, continue as usual\n mCurrentLocation = com.google.android.gms.location.LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n }\n // Start periodic updates\n startLocationUpdates();\n\n // Send broadcast to other activity.\n SendBroadcastLocation();\n }",
"private void startPeriodicUpdates() {\n\n\t\tmLocationClient.requestLocationUpdates(mLocationRequest, this);\n\t\tmConnectionState.setText(R.string.location_requested);\n\t}",
"@Override\n public void onLocationChanged(Location location) {\n if(!firstLocCheck){\n drive = new Drive(location.getLatitude(),location.getLongitude(),Car.carList.get(carIndex),startTime);\n firstLocCheck = true;\n } else {\n Drive.curLat = location.getLatitude();\n Drive.curLong = location.getLongitude();\n }\n System.out.println(\"Location has changed\");\n System.out.println(location.getLatitude() + \" | \" + location.getLongitude());\n\n //updateLoc(location);\n //locProvider = location.getProvider();\n }",
"public void onLocationChanged(Location location) {\n if (location != null) {\n Log.i(\"SuperMap\", \"Location changed : Lat: \" + location.getLatitude() + \" Lng: \" +\n location.getLongitude());\n }\n\n }",
"@Override\n public void onSuccess(Location location) {\n if (location != null) {\n Toast.makeText(ATSLocationActivity.this, \"Last location is null\", Toast.LENGTH_SHORT).show();\n }else{\n Toast.makeText(ATSLocationActivity.this, \"\"+location.getLatitude(), Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n public void onLocationChanged(Location location) {\n count++;\n }",
"void update(Location location);",
"@Override\n public void onSuccess(Location location) {\n if (location != null) {\n wayLatitude = location.getLatitude();\n wayLongitude = location.getLongitude();\n SharedStore.getInstance().save(Double.toString(wayLatitude),\"CurrentLat\");\n SharedStore.getInstance().save(Double.toString(wayLongitude),\"CurrentLong\");\n Log.e(\"getLocation\", String.valueOf(wayLatitude));\n }\n }",
"@Override\n \t\t\t\t\tpublic void onLocationChanged(Location location) {\n \t\t\t \tTextView latitudine = (TextView) findViewById(R.id.latitude_txt);\n \t\t\t \tTextView longitudine = (TextView) findViewById(R.id.longitude_txt);\n\n \t\t\t \tlatitudine.setText(\"La latitudine è: \"+String.valueOf(location.getLatitude()));\n \t\t\t \tlongitudine.setText(\"La longitudine è: \"+String.valueOf(location.getLongitude()));\n \t\t\t\t\t\n \t\t\t\t\t}",
"public void startLocationUpdates() {\n if(checkCoarseLocationPermission()) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }\n }",
"@Override\n public void onLocationChanged(final Location location) {\n\n if(mLastLocation==null || location.distanceTo(mLastLocation)>getResources().getInteger(R.integer.min_distance_listen))\n {\n new GetNearBy().executePreHeavy();\n }\n\n mLastLocation=location;\n\n android.util.Log.e(\"onLocationChanged\",mLastLocation.getLatitude()+\" - \"+mLastLocation.getLongitude());\n\n\n\n }",
"@Override\n public void onLocationChanged(Location location) {\n Location location1 = location;\n\n }"
] | [
"0.76928174",
"0.7597606",
"0.754717",
"0.7494711",
"0.742382",
"0.73827916",
"0.735562",
"0.7297384",
"0.7253206",
"0.7253206",
"0.72139055",
"0.7213375",
"0.7207383",
"0.7207383",
"0.7201265",
"0.7201265",
"0.7185659",
"0.717829",
"0.7178102",
"0.715824",
"0.7103096",
"0.7094618",
"0.70913583",
"0.7081266",
"0.7078331",
"0.7078164",
"0.70774335",
"0.7062735",
"0.70495003",
"0.7040026",
"0.7037088",
"0.70352316",
"0.7025635",
"0.70158774",
"0.70105064",
"0.701041",
"0.69997966",
"0.6992318",
"0.69854397",
"0.69764733",
"0.6968384",
"0.69676363",
"0.6963159",
"0.69555926",
"0.69525385",
"0.6950459",
"0.6948202",
"0.6946515",
"0.6922724",
"0.6922724",
"0.6921498",
"0.6919873",
"0.6918215",
"0.6917039",
"0.69101626",
"0.6887777",
"0.6872472",
"0.68684655",
"0.68640196",
"0.68600017",
"0.68593925",
"0.68546945",
"0.6834698",
"0.6828838",
"0.6820491",
"0.68095404",
"0.6804184",
"0.6793603",
"0.67633915",
"0.6758933",
"0.6753664",
"0.6751557",
"0.67500734",
"0.6744456",
"0.6742231",
"0.67356914",
"0.67336804",
"0.6725975",
"0.67241704",
"0.6718114",
"0.67123586",
"0.66962683",
"0.6692077",
"0.6691149",
"0.66899",
"0.66888946",
"0.6688801",
"0.66849047",
"0.6676599",
"0.6676542",
"0.6671495",
"0.66697764",
"0.66656965",
"0.6661081",
"0.66477615",
"0.66426575",
"0.6641846",
"0.6641803",
"0.6641249",
"0.6637406"
] | 0.6952487 | 45 |
Log.v(TAG, "Sending text message to friend: " + myFriendObject.getName()); | private void sendTextMessageToFriend(String friendsPhoneNumber) {
String newMsg = "I am nearing your location. (Now ending trip and automatic text notifications)";
Toast.makeText(this, "Notifying: " + friendsPhoneNumber, Toast.LENGTH_SHORT).show();
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage(friendsPhoneNumber, null, newMsg, null, null);
showEndOfTripNotification();
stopServiceAndLocationUpdates();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DNSubscribe(threadMode = DNThreadMode.MAIN)\n public void receive(Friend friend){\n Toast.makeText(this, friend.toString(), Toast.LENGTH_SHORT).show();\n }",
"public String getFriendName() {\n\t\n\t\treturn friendName;\n\t\n\t}",
"public void addNewFriend(View v) {\n final EditText editText = (EditText) findViewById(R.id.editText);\n String friendUsername = editText.getText().toString();\n //System.out.println(\"Add friend: \" + friendUsername);\n UserProfileManager.getInstance().addFriend(friendUsername);\n }",
"@Override\n public void sendMessage() {\n Intent intent = new Intent(this, GoToMessage.class);\n intent.putExtras(getIntent().getExtras());\n Bundle args = new Bundle();\n args.putString(\"nickname\", mNickname);\n //args.putSerializable(\"convoitem\", item);\n args.putString(\"topic\", mContact.getTopic());\n args.putInt(\"chatid\", mContact.getChatID());\n intent.putExtras(args);\n startActivity(intent);\n }",
"public void sayHello(){\n System.out.println(\"This persons name is: \" + this.name);\n }",
"public void setFriendName(String friendName) {\n\t\n\t\tthis.friendName = friendName;\n\t\n\t}",
"public void onFriendRequestSent(String meepTag, String errorMessage);",
"public String sayHello(){\n return \"Hey how's it going \" + personName + \"?\";\n }",
"@Override\n public void onShowScheduleOfUser(Friend friend) {\n Intent intent = new Intent(MyFriendsActivity.this, ScheduleActivity.class);\n intent.putExtra(Constants.MM_user_id, friend.getFriend_user_id());\n intent.putExtra(Constants.MM_friend_name, friend.getFirstname() + \" \" + friend.getLastname());\n startActivity(intent);\n }",
"public void onFriendRequestReceived(String meepTag, String nickname, String friendMessage, String errorMessage);",
"void addFriendWithPhoneNumber(Friend friend, String phoneNumber);",
"public void sendMessage( MessagingV2 friend )\n {\n if( msg.length() == 0 )\n System.err.println( \"There is no message to send\" );\n else\n {\n System.out.println( user + \", your message has been sent\" );\n friend.receiveMessage( msg, user );\n msg = \"\";\n }\n }",
"public void onClick(View view){\n\n String name = mNameField.getText().toString();\n Toast.makeText(this,\"Hello There\"+name, Toast.LENGTH_LONG).show();\n\n }",
"private void printMsg(String msg) {\n Log.i(\"memorycat_log_tag\",msg);\n }",
"@Override\n public void onChildAdded(DataSnapshot dataSnapshot, String s) {\n Map<String, Object> map = (Map<String, Object>) dataSnapshot.getValue();\n String message = map.get(\"message\").toString();\n String userName = map.get(\"user\").toString();\n\n String sent=\"<b>\"+\"You\"+\"</b>\";\n if(userName.equals(myid)){\n addMessageBox(\"You\"+\"\\n\" + message, 1);\n }\n else{\n\n\n\n addMessageBox(friendname.get(pos).name + \":-\\n\" + message, 2);\n\n }\n\n }",
"private void messageToUser(CharSequence text)\n {\n Context context = getApplicationContext();\n int duration = Toast.LENGTH_SHORT;\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }",
"public void addFriend(String friend){\n friends.add(friend);\n }",
"public void sendMessage(View view) {\n EditText etName = findViewById(R.id.etName);\n\n if (etName.getVisibility() == View.VISIBLE) {\n String name = etName.getText().toString();\n highScore.addScore(score, level, name);\n }\n\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n finish();\n }",
"private void sendMessage(String text)\n {\n Message msg = mHandler.obtainMessage();\n Bundle bundle = new Bundle();\n bundle.putString(\"text\",text);\n msg.setData(bundle);\n msg.what = 1;\n mHandler.sendMessage(msg);\n }",
"@Override\n public String getName(TutorialPlayImpl_1.FriendScenario friend) {\n friend.hashCode();\n return this.name;\n }",
"void chatInfo(String s) {\n game.v.a(s);\n }",
"public void sendNameInfoToAll(){\r\n\t\t\r\n\t\tVector<Player> players = lobby.getLobbyPlayers();\t\r\n\t\tString message = \"UDNM\" + lobby.getNameString();\r\n\t\t\r\n\t\tif(!players.isEmpty()){\r\n\t \tfor(int i=0; i<players.size(); i++){\t \t\t\r\n\t \t\tsendOnePlayer(players.get(i), message);\t \t\t\r\n\t \t}\r\n\t\t}\r\n\t}",
"public void onClick(View v) {\n\t\tString name = nameField.getText().toString();\n\t\tString email = emailField.getText().toString();\n\t\tSQLiteHelper sqh = new SQLiteHelper(this);\n\t\tsqh.addFriend(name, email);\n\t\tnew AddMeToHisPF().execute(email);\n\t\tfinish();\n\t}",
"@Override\r\n\tpublic void notifyFriendship(String m, String d) throws RemoteException {\n\t\t\r\n\t\tif (d.equals(utente))\r\n\t\t\tres.append(\"Tu e \" + m + \" siete diventati amici\\n\");\r\n\t}",
"private void sendHelloMessage(String uName){\n HelloMessage hello = new HelloMessage(uName);\n ni.performSendHello(hello);\n Logger.log(\"Sending Hello to everyone \");\n\n }",
"public void ClassFriend() {\t//declare public void ClassFriend method \r\n\t\tSystem.out.println(\"Just Friend\");\t//printout Just Friend\r\n\t}",
"public void onFriendListReceived(String erroMessage);",
"public void talking(){\n System.out.println(\"PetOwner : *says something*\");\n }",
"@Override\r\n\tpublic void getMessage(String message) {\n\t\tSystem.out.println(\"this guy name is: \"+this.getName()+\" recieve the message is \"+message);\r\n\t}",
"@Override\n\tpublic void SendMessage() {\n\t\tSystem.out.println( phoneName+\"'s SendMessage.\" );\n\t}",
"public void message(String message){\n Toast.makeText(getContext(),message,Toast.LENGTH_SHORT).show();\n }",
"public void onFriendAccepted(String meepTag, String errorMessage);",
"@Override\n public String toString() {\n return senderName;\n }",
"public void sendNameInfo(Player plr){\r\n\t\t\r\n\t\tString message = \"UDNM\" + lobby.getNameString();\r\n\t\tsendOnePlayer(plr, message);\r\n\t}",
"public void onClick(View view) {\n Log.d(\"Parti\",\"participants\");\n }",
"private void sendMessage() {\n Log.d(\"FlashChat\", \"I sent something\");\n // get the message the user typed\n String userInput = mInputText.getText().toString();\n\n if (! (userInput.length() == 0)){\n\n InstantMessage message = new InstantMessage(userInput, mUserMe);\n // push the message to Firebase DB\n mDatabaseReference.child(mLocation).push().setValue(message);\n mInputText.setText(\"\");\n }\n\n }",
"public void onFriendSearched(String meepTag, String nickname, String errorMessage);",
"public void sendMessageToActivity(String msg) {\n Intent intent = new Intent(\"color\"); // You can also include some extra data.\n Log.d(\"color1\", msg);\n intent.putExtra(\"color\", msg);\n LocalBroadcastManager.getInstance(this).sendBroadcast(intent);\n }",
"public static void logInfo(Context context,String message){\n if(logging){\n String tag = context.getClass().getName();\n android.util.Log.i(tag, message);\n }\n }",
"public interface FriendView {\n void updateUserInfoTextView(String info);\n}",
"public void printToUser(String message){\n System.out.println(message);\n }",
"private void sendMessage(String message){\n try{\n output.writeObject(nickname+\" : \" + message);\n output.flush();\n showMessage(\"\\n\"+nickname+\" : \" + message);\n }catch(IOException ioException){\n chatWindow.append(\"\\n Oops! Something went wrong!\");\n }\n }",
"@Override\n public void i(String TAG, String msg) {\n }",
"void sendMessage() {\n\n\t}",
"private String getPlayerName() {\n Bundle inBundle = getIntent().getExtras();\n String name = inBundle.get(USER_NAME).toString();\n return name;\n }",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"@Override\n\tpublic void onMessage(String arg0, String arg1) {\n\t\tSystem.out.print(arg0+arg1);\n\t}",
"public void info(Object message)\n/* */ {\n/* 145 */ if (message != null) {\n/* 146 */ getLogger().info(String.valueOf(message));\n/* */ }\n/* */ }",
"void info(String message);",
"public void info(String message);",
"public void info(String message);",
"void info(String tag, String msg);",
"@Override\n\tpublic void message(String arg0) {\n\n\t}",
"public void sentence(){\n \n System.out.println(\"Your first boyfriend's name was \" + getName() + \".\\n\");\n }",
"@Override\r\n\t\t\tpublic void onChat(String message) {\n\r\n\t\t\t}",
"public void onGetName(String user,String name);",
"public void sendMessageToPlayer(JSONObject msg, Player receiver)\n {\n if (mEnable && msg != null && receiver != null) {\n Log.d(LOGTAG,\"Sending message to receiver at pos \" + receiver.getPosition());\n\n // TODO: Check if device ok?\n BluetoothDevice recDevice = receiver.getBDevice();\n mBS.send(recDevice, MessageFactory.msgToBytes(msg));\n\n } else Log.d(LOGTAG,\"There is a problem sending a message to a receiver\");\n }",
"@Override\r\n\tpublic String getUserFriends(Context _in_context, String _in_data) {\n\t\treturn\"\";\r\n\t}",
"@Override\r\n\tpublic String getUserFriends(Context _in_context, String _in_data) {\n\t\treturn\"\";\r\n\t}",
"public void addFriend(String name, String friendsSchedule) {\n\n // loads the friend's schedule from the passed in friendsSchedule xml\n // stream\n // writes to the model\n Schedule temp = readWrite.loadSchedules(friendsSchedule, this);\n Log.i(TAG, \"temp is: \" + temp);\n buddies.add(temp);\n\n Log.i(TAG, \"buddies.size() - 1 is: \" + (buddies.size() - 1));\n Log.i(TAG, \"buddies.size() - 1 is: \" + buddies.get(buddies.size() - 1));\n // gets the just added friend's schedule and changes its name to\n // the passed in value\n // necessary because all schedules are sent as \"MySchedule\"\n buddies.get(buddies.size() - 1).setWhosSchedule(name);\n\n\n // update observers\n setChanged();\n notifyObservers();\n }",
"void onAction(TwitchUser sender, TwitchMessage message);",
"private void msg(String s)\n {\n Toast.makeText(getApplicationContext(),s,Toast.LENGTH_LONG).show();\n }",
"private void msg(String s)\n {\n Toast.makeText(getApplicationContext(),s,Toast.LENGTH_LONG).show();\n }",
"@Override \n\tpublic String toString()\n\t{\n\t\treturn \"When I talk to \" + contactName.getName() + \", remind me \" + reminderMessage;\n\t}",
"public void say(String message)\r\n {\r\n System.out.println(\"*\" + name + \" - \" + message);\r\n }",
"void onPrivMsg(TwitchUser sender, TwitchMessage message);",
"@Override\r\n\tprotected void onNewIntent(Intent intent) {\n\t\tsuper.onNewIntent(intent);\r\n\t\tString message = intent.getStringExtra(PARAM_NAME_CALLER_MESSAGE);\r\n\t\t\r\n\t\tmessageView.setText(\"onNewIntent : caller message - \" + message + \"\\n\"\r\n\t\t\t\t+ \"activity \" + this.toString());\r\n\t}",
"public void speakName(){\n\t\t\n\t\tSystem.out.println(\"My name is \" + myName);\n\t\t\n\t}",
"java.lang.String getFriendId();",
"java.lang.String getFriendId();",
"@Override\n public String getMessage() {\n return \" ** I'm a friendly ENEMY! **\";\n }",
"@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }",
"@Override\n\tpublic void tellPlayer(String message) {\n\t\tSystem.out.println(message);\n\t}",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n Log.i(\"Tag\", myfamily.get(position));\n\n Toast.makeText(MainActivity.this, \"Hello \"+myfamily.get(position), Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onReceive(Context context, Intent intent) {\n String message = intent.getStringExtra(\"message\");\n Log.d(\"receiver\", \"Got message: \" + message);\n }",
"@Override\n public void onReceive(Context context, Intent intent) {\n String message = intent.getStringExtra(\"message\");\n Log.d(\"receiver\", \"Got message: \" + message);\n }",
"public void tellYourAddress(){\r\n\t\tSystem.out.println(\"Blick von innen: \" + this);\r\n\t}",
"public void sendMessageToClient(Object message, String username) {\n\n }",
"public void logChat(String text) {\n\t\ttry {\n\n\t\t\tDateFormat df = new SimpleDateFormat(\"'On' MM/dd/yyyy 'at' HH:mm:ss\");\n\t\t\tDate d = new Date();\n\n\t\t\tchatLog.add(df.format(d) + \", \" + c.getDisplayName() + \" said: \" + text + \"\");\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\n\t\t} finally {\n\t\t\twriteChatLog();\n\t\t}\n\t}",
"@Override\r\n\t\t\tpublic void Message(TranObject msg) {\n\t\t\t\tif(msg.getObjStr()!=null){\r\n\t\t\t\t\tString objStr=msg.getObjStr();\r\n\t\t\t\t\tUser addUser=gson.fromJson(objStr,new TypeToken<User>(){}.getType());\r\n\t\t\t\t\tboolean hasUser=false;\r\n\t\t\t\t\tfor(Category cate:user.getCategorys()){\r\n\t\t\t\t\t\tfor(User u:cate.getMembers()){\r\n\t\t\t\t\t\t\tif(u.getId()==addUser.getId()){\r\n\t\t\t\t\t\t\t\thasUser=true;\r\n\t\t\t\t\t\t\t\tbreak;\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\tif(hasUser){\r\n\t\t\t\t\t\tDisplay.getDefault().syncExec(new Runnable() {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tList<User> l=new ArrayList<User>();\r\n\t\t\t\t\t\t\t\ttv.setInput(l);\r\n\t\t\t\t\t\t\t\tMessageDialog.openWarning(Display.getDefault().getActiveShell(), \"wain\", \"you already has this friend\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tDisplay.getDefault().syncExec(new Runnable() {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tList<User> l=new ArrayList<User>();\r\n\t\t\t\t\t\t\t\tl.add(addUser);\r\n\t\t\t\t\t\t\t\ttv.setInput(l);\r\n\t\t\t\t\t\t\t}\r\n\t\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}else{\r\n\t\t\t\t\tDisplay.getDefault().syncExec(new Runnable() {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\tList<User> l=new ArrayList<User>();\r\n\t\t\t\t\t\t\ttv.setInput(l);\r\n\t\t\t\t\t\t\tMessageDialog.openWarning(Display.getDefault().getActiveShell(), \"wain\", \"Without this user \");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}",
"public void sendMessage(View view) {\n }",
"@Override\n public void onReceive(Context context, Intent intent) {\n String message = intent.getStringExtra(\"message\");\n Log.d(\"receiver\", \"Got message: \" + message);\n\n textView.setText(message);\n }",
"public void setFriendName(String friendName) {\n friendNameFragment = friendName;\n SimpleActivity activity = getSimpleActivity();\n String imageUrl = \"http://www.martystepp.com/friendr/friends/\" + friendName + \".jpg\";\n Picasso.with(activity)\n .load(imageUrl)\n .placeholder(R.drawable.loading)\n .into(activity.$IV(R.id.friend_image));\n activity.$TV(R.id.friend_text).setText(friendNameFragment.substring(0, 1).toUpperCase() + friendNameFragment.substring(1));\n ratings();\n }",
"public void sendToActivity(String message){\n //In questo metodo \"avviso\" l'app che è arrivato un nuovo dato dal raspberry.\n\n Intent intent = new Intent(\"NOTIFY_ACTIVITY\");\n\n if(message != null){\n intent.putExtra(\"CURRENT_ACTIVITY\",message);\n }\n\n //invio messaggio tramite broadcaster\n broadcast.sendBroadcast(intent);\n\n }",
"@Override\n\tpublic void info(Marker marker, CharSequence message) {\n\n\t}",
"public void acceptFriendRequest(Friend friend);",
"@Override\n public void onClick(View v) {\n\n String firstName = firstName_et.getText().toString();\n String lastName = lastName_et.getText().toString();\n String emailId = email_et.getText().toString();\n\n addMember(firstName, lastName, emailId);\n\n }",
"public void showMessage(String msg){\n Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_SHORT).show();\n }",
"String getSender();",
"AddFriendFromSelf.Rsp getAddFriendFromSelfRsp();",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n TextView textView = (TextView) view.findViewById(R.id.nameToNameTextView);\n String text = textView.getText().toString();\n\n Intent a = new Intent(MainActivity.this, StringUsernameMessages.class);\n a.putExtra(\"myUsername\",mUsername);\n a.putExtra(\"myPersonalMessages\",text);\n a.putExtra(\"secondName\",CHRIS);\n startActivity(a);\n\n //dettach the event listener so not to create duplicates\n if (mChildEventListener != null) {\n mMessagesDatabaseReferenceName.removeEventListener(mChildEventListener);\n mChildEventListener = null;\n }\n\n }",
"@Override\n public void onClick(View v) {\n Intent gintent = new Intent(\"custom-message\");\n Toast.makeText(context, \"Don't click me\", Toast.LENGTH_SHORT).show();\n gintent.putExtra(\"groupName\",groupTitle);\n LocalBroadcastManager.getInstance(context).sendBroadcast(gintent);\n\n }",
"@Override\n\tpublic void info(CharSequence message) {\n\n\t}",
"private void setWelcomeMessage() {\n Bundle extras = getIntent().getExtras();\n user_id = extras.getInt(LoginActivity.USERID);\n Log.d(\"User ID\", String.valueOf(user_id));\n String username = extras.getString(LoginActivity.USERNAME);\n TextView user_welcome = headerView.findViewById(R.id.welcome_user);\n //Log.d(\"User\", String.valueOf(user_welcome));\n user_welcome.setText(String.format(getResources().getString(R.string.nav_header_subtitle), username));\n }",
"public void sayHello(String name){\r\n System.out.println(\"Hello \" + name);\r\n }",
"public static void sayHi(String name) {\r\n System.out.println(\"Hi \" + name + \"!\");\r\n }",
"@Override\n\tpublic void print() {\n\t\tSystem.out.print(\"MsgOwner\");\n\t}",
"@Override\r\n public String toString() {\r\n return timeStamp + username + \": \" + message;\r\n }"
] | [
"0.6451861",
"0.6107479",
"0.6042275",
"0.59886146",
"0.598519",
"0.5944371",
"0.590398",
"0.58529246",
"0.584555",
"0.5821466",
"0.5800862",
"0.57495713",
"0.57365674",
"0.5733512",
"0.5727863",
"0.57148296",
"0.570784",
"0.5689133",
"0.56829053",
"0.56760675",
"0.56655926",
"0.5649614",
"0.56362045",
"0.56193554",
"0.56190825",
"0.56123483",
"0.5574946",
"0.5554743",
"0.55403477",
"0.55391157",
"0.55169415",
"0.5515588",
"0.55086315",
"0.5486591",
"0.54859537",
"0.5454637",
"0.5453448",
"0.54465204",
"0.5441958",
"0.54319185",
"0.541137",
"0.53918225",
"0.5390983",
"0.538877",
"0.538685",
"0.5384305",
"0.5384305",
"0.5384305",
"0.53821343",
"0.53761774",
"0.5370008",
"0.5366725",
"0.5366725",
"0.5363189",
"0.53584945",
"0.5356884",
"0.5356246",
"0.53545386",
"0.5352459",
"0.5350303",
"0.5350303",
"0.5347535",
"0.53474116",
"0.5336567",
"0.5336567",
"0.5335494",
"0.5333786",
"0.532516",
"0.53234893",
"0.5317912",
"0.5307436",
"0.5307436",
"0.5306022",
"0.53042954",
"0.5304269",
"0.53014344",
"0.5300513",
"0.5300513",
"0.52974045",
"0.5293277",
"0.5293029",
"0.5290051",
"0.5286641",
"0.527894",
"0.5260636",
"0.52606285",
"0.5258094",
"0.52572334",
"0.5256599",
"0.52546674",
"0.52505046",
"0.5249787",
"0.524815",
"0.5241008",
"0.52346617",
"0.5234543",
"0.5228513",
"0.52268314",
"0.52250695",
"0.52248114"
] | 0.60764396 | 2 |
Create and add an Pending Intent via setContentIntent(pendingIntent). | private void showEndOfTripNotification() {
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)
.setSmallIcon(R.mipmap.ic_launcher)
.setContentTitle("End of trip")
.setContentText("Notification text has been sent to " + myFriendObject.getName());
int mNotificationId = 001;
NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
manager.notify(mNotificationId, mBuilder.build());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private PendingIntent openActivityPendingIntent(Context context) {\n Intent intent = new Intent(context, MainActivity.class);\n return PendingIntent.getActivity(context, 0, intent, 0);\n }",
"private PendingIntent buildPendingIntent(Activity activity){\n\n Intent intent = new Intent(activity, InitializationActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP);\n PendingIntent pendingIntent = PendingIntent.getActivity(activity,\n 0, intent, 0);\n\n return pendingIntent;\n }",
"private static PendingIntent createNotificationPendingIntent(Context context, String action) {\n final Intent intent = new Intent(action, null,\n context, NotificationBroadcastReceiver.class);\n return PendingIntent.getBroadcast(context, 0, intent, 0);\n }",
"private PendingIntent createRequestPendingIntent() {\n\n // If the PendingIntent already exists\n if (null != geofenceRequestIntent) {\n\n // Return the existing intent\n return geofenceRequestIntent;\n\n // If no PendingIntent exists\n } else {\n\n // Create an Intent pointing to the IntentService\n // TODO correct service?\n Intent intent = new Intent(activity, ReceiveTransitionsIntentService.class);\n /*\n * Return a PendingIntent to start the IntentService.\n * Always create a PendingIntent sent to Location Services\n * with FLAG_UPDATE_CURRENT, so that sending the PendingIntent\n * again updates the original. Otherwise, Location Services\n * can't match the PendingIntent to requests made with it.\n */\n return PendingIntent.getService(\n activity,\n 0,\n intent,\n PendingIntent.FLAG_UPDATE_CURRENT);\n }\n }",
"private PendingIntent getNotificationIntent() {\n Intent resultIntent = new Intent(this, ScheduleNotificationActivity.class);\n // Because clicking the notification opens a new (\"special\") activity, there's\n // no need to create an artificial back stack.\n return PendingIntent.getActivity(\n this,\n 0,\n resultIntent,\n PendingIntent.FLAG_ONE_SHOT\n );\n }",
"private PendingIntent buildAlarmPendingIntent() {\n Intent intent = new Intent(this, NotificationReceiver.class);\n intent.setAction(NotificationReceiver.ACTION_SEND_NOTIFICATIONS);\n\n return PendingIntent.getBroadcast(this,\n 0,\n intent,\n PendingIntent.FLAG_UPDATE_CURRENT);\n }",
"public PendingIntent getLaunchPendingIntent() {\n }",
"private PendingIntent getPendingSelfIntent(Context context, String action) {\n Intent intent = new Intent(context, getClass());\n intent.setAction(action);\n return PendingIntent.getBroadcast(context, 0, intent, 0);\n }",
"private PendingIntent pendingIntentForNotification() {\n Intent intent = new Intent(getActivity(), MainActivity.class);\n\n //Add any extras (in this case, that you want to relaunch this fragment)\n intent.putExtra(MainActivity.EXTRA_FRAGMENT_TO_LAUNCH, MainActivity.TAG_NOTIFICATION_FRAGMENT);\n\n //This will hold the intent you've created until the notification is tapped.\n PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), 1, intent, 0);\n return pendingIntent;\n }",
"private PendingIntent notificationContentIntent() {\n Intent intent = new Intent(packageContext, AlertDialog.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n return PendingIntent.getActivity(packageContext, 0, intent, 0);\n }",
"PendingIntent mo732d() throws RemoteException;",
"private static PendingIntent createResetIntent(Context context) {\n final Intent intent = new Intent(context, DailyResetBroadcastReceiver.class);\n return PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n }",
"@Override\n\tpublic void onNewIntent(Intent intent) {\n\t\tsetIntent(intent);\n\t}",
"@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n }",
"@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n }",
"@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n }",
"@Override\n protected void onHandleIntent(Intent intent) {\n\t Log.i(TAG,\"Alarm Service has started.\");\n Context context = this.getApplicationContext();\n notificationManager = (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE);\n Intent mIntent = new Intent(this, MainActivity.class);\n Bundle bundle = new Bundle(); \n bundle.putString(\"test\", \"test\");\n mIntent.putExtras(bundle);\n\t\tpendingIntent = PendingIntent.getActivity(context, 0, mIntent, PendingIntent.FLAG_UPDATE_CURRENT); \n\t\t\n\t\tResources res = this.getResources();\n\t\tNotificationCompat.Builder builder = new NotificationCompat.Builder(this);\n\n\t\tbuilder.setContentIntent(pendingIntent)\n\t\t .setSmallIcon(R.drawable.ic_launcher)\n\t\t .setLargeIcon(BitmapFactory.decodeResource(res, R.drawable.ic_launcher))\n\t\t .setTicker(res.getString(R.string.notification_title))\n\t\t .setAutoCancel(true)\n\t\t .setContentTitle(res.getString(R.string.notification_title))\n\t\t .setContentText(res.getString(R.string.notification_subject));\n\n\t\tnotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);\n\t\tnotificationManager.notify(NOTIFICATION_ID, builder.build());\n\t\tLog.i(TAG,\"Notifications sent.\");\n\t\tMyAlarm app = (MyAlarm)getApplicationContext();\n\t\tapp.incrementCount();\n\n }",
"public static PendingIntent newPendingIntent(Context context, int keycode)\n {\n Intent intent = new Intent(Intent.ACTION_MEDIA_BUTTON, Uri.EMPTY,\n context, RockboxService.class);\n intent.putExtra(Intent.EXTRA_KEY_EVENT,\n new KeyEvent(KeyEvent.ACTION_UP, keycode));\n return PendingIntent.getService(context, keycode, intent, 0);\n }",
"private void register(final Intent intent) {\n\t\tLog.i(TAG, \"register(\" + intent.getAction() + \")\");\n\t\tsynchronized (this.pendingIOOps) {\n\t\t\tif (this.wakelock == null) {\n\t\t\t\tfinal PowerManager pm = (PowerManager) this\n\t\t\t\t\t\t.getSystemService(Context.POWER_SERVICE);\n\t\t\t\tthis.wakelock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,\n\t\t\t\t\t\tTAG);\n\t\t\t\tthis.wakelock.acquire();\n\t\t\t}\n\t\t\tfinal ConnectorCommand c = new ConnectorCommand(intent);\n\t\t\tif (c.getType() == ConnectorCommand.TYPE_SEND) {\n\t\t\t\tif (this.mNM == null) {\n\t\t\t\t\tthis.mNM = (NotificationManager) this\n\t\t\t\t\t\t\t.getSystemService(NOTIFICATION_SERVICE);\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tfinal Notification notification = getNotification(this, c);\n\t\t\t\t\tthis.mNM.notify(NOTIFICATION_PENDING, notification);\n\t\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\t\tLog.e(TAG, \"illegal argument\", e);\n\t\t\t\t}\n\t\t\t}\n\t\t\tLog.d(TAG, \"currentIOOps=\" + this.pendingIOOps.size());\n\t\t\tthis.pendingIOOps.add(intent);\n\t\t\tLog.d(TAG, \"currentIOOps=\" + this.pendingIOOps.size());\n\t\t}\n\t}",
"private void createNotification() {\n\t\tIntent notifyIntent = new Intent(this, BirthdayActivity.class);\r\n\t\t// Sets the Activity to start in a new, empty task\r\n\t\tnotifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t// Creates the PendingIntent\r\n\t\tPendingIntent pendingIntent = PendingIntent.getActivity(this,\r\n\t\t\t\t(int) System.currentTimeMillis(), notifyIntent,\r\n\t\t\t\tPendingIntent.FLAG_UPDATE_CURRENT);\r\n\r\n\t\tNotificationManagerUtil notificationManagerUtil = NotificationManagerUtil\r\n\t\t\t\t.getInstance();\r\n\t\tnotificationManagerUtil.createNotifications(this, 1, \"Message\",\r\n\t\t\t\tpendingIntent);\r\n\t}",
"private void sendIntent(Alarm alarm, String intentType) {\n // intent1 to send to AlarmReceiver\n Intent intent1 = new Intent(AlarmsetActivity.this, AlarmReceiver.class);\n // put intent type Constants.ADD_INTENT or Constants.OFF_INTENT\n intent1.putExtra(\"intentType\", intentType);\n // put alarm'id to compare with pendingIntent'id in AlarmService\n intent1.putExtra(\"AlarmId\", (int) alarm.getId());\n intent1.putExtra(\"task\", alarm.getAlarm_Name());\n // this sent broadCast right a way\n sendBroadcast(intent1);\n }",
"public PendingIntent getRequestPendingIntent() {\n return createRequestPendingIntent();\n }",
"static PendingIntent getExplicitUpdatePendingIntent(Context context) {\n Intent intent = getExplicitUpdateIntent(context);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0);\n\n return pendingIntent;\n }",
"@Override\n\tprotected void onNewIntent(Intent intent) {\n\t\tsuper.onNewIntent(intent);\n\t\tsetIntent(intent);\n\t}",
"public NotificationCompat.Builder getChannel1Notification(String message){\n\n Intent confirmIntent = new Intent(this, Alarm2Activity.class); //can create an activity here that simply says \"Take med\"\n confirmIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);\n confirmIntent.setAction(YES_ACTION);\n\n Intent openAppIntent = new Intent(this, MedicineActivity.class); //can create an activity here that simply says \"Take med\"\n openAppIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);\n\n //processIntentAction(getIntent()); //where to put this???\n\n NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(getApplicationContext(), Channel1_ID)\n .setContentTitle(getString(R.string.med_notif_title))\n .setContentText(message)\n .setContentIntent(PendingIntent.getActivity(this, REQUEST_CODE, openAppIntent, PendingIntent.FLAG_UPDATE_CURRENT))\n .setSmallIcon(R.drawable.ic_blur_circular_black_24dp) //setLargeIcon as a picture of a pill\n .addAction(new NotificationCompat.Action(\n R.drawable.ic_blur_circular_black_24dp,\n getString(R.string.confirm_med_taken),\n PendingIntent.getActivity(this, REQUEST_CODE, confirmIntent, PendingIntent.FLAG_UPDATE_CURRENT)))\n .setCategory(NotificationCompat.CATEGORY_REMINDER)\n .setAutoCancel(true);\n //.setTimeOutAfter()\n //.setStyle(new NotificationCompat.BigTextStyle().bigText(context.getString(message)))\n //.setColor(ContextCompat.getColor(context, R.color.colorPrimary))\n //.setTimeOutAfter();\n\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && Build.VERSION.SDK_INT < Build.VERSION_CODES.O){\n notificationBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);\n }\n\n return notificationBuilder;\n }",
"private Intent createIntent(String actionId) {\n Intent intent = WebLayerImpl.createIntent();\n intent.setAction(actionId);\n intent.putExtra(EXTRA_NOTIFICATION_ID, mNotificationId);\n intent.putExtra(EXTRA_NOTIFICATION_PROFILE, mProfileName);\n intent.putExtra(EXTRA_NOTIFICATION_PROFILE_IS_INCOGNITO, mIsIncognito);\n return intent;\n }",
"@Override\r\n public void onNewIntent(Intent intent){\r\n super.onNewIntent(intent);\r\n\r\n //changes the intent returned by getIntent()\r\n setIntent(intent);\r\n }",
"@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n handleIntent(intent);\n }",
"public static Intent createIntent(Context context, Order order) {\n\t\tIntent intent = new Intent(context, TicketActivity.class);\n\t\tintent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\tintent.putExtra(TarrifActivity.TICKET_CONTIANS_ORDER_SERIALIZABLE_KEY,\n\t\t\t\torder);\n\t\treturn intent;\n\t}",
"interface TaskStackBuilderImpl {\n PendingIntent getPendingIntent(Context context, Intent[] intentArr, int i, int i2, Bundle bundle);\n }",
"@Override\n public void onNewIntent(Intent intent) {\n }",
"public PendingIntent getContentIntent(NotificationEntry entry) {\n Intent intent = new Intent(ACTION_CONTENT);\n intent.putExtra(KEY_ENTRY_ID, entry.ID);\n return PendingIntent.getBroadcast(mContext, genIdForPendingIntent(), intent, 0);\n }",
"@Override\n protected void onNewIntent(Intent intent) {\n }",
"private PendingIntent getPendingIntent() {\n Intent intent = new Intent(mContext, GeoFenceBroadcastReceiver.class);\n intent.setAction(GeoFenceBroadcastReceiver.ACTION_PROCESS_LOCATION);\n return PendingIntent.getBroadcast(mContext,0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n }",
"private void createNotification(int icon, String name, String auto_manual, String secondText, int color) {\n\n Intent notificationIntent = new Intent(this, SyncopyActivity.class);\n\n PendingIntent pendingIntent = PendingIntent.getActivity(this,\n 0, notificationIntent, 0);\n Notification notification = new NotificationCompat.Builder(this, CHANNEL_ID)\n .setContentTitle(name)\n .setContentText(secondText)\n .setSubText(String.format(\"(%s)\", auto_manual))\n .setSmallIcon(icon)\n .setColor(getResources().getColor(color))\n .setContentIntent(pendingIntent)\n .setVibrate(null)\n .setSound(null)\n .setPriority(NotificationManager.IMPORTANCE_LOW)\n .build();\n\n synchronized (notification){\n notification.notify();\n }\n\n startForeground(1, notification);\n\n\n }",
"public static Intent makeIntent(Context context) {\n return new Intent(context, AddEvent.class);\n }",
"public void onNewIntent(Intent intent) {\n }",
"@Override\n public void onNewIntent(Activity activity, Intent data) {\n }",
"public static void addNotification(Context context, String title,\n\t\t\tString content, int imageRes , Class<?> activityToOpen) {\n\t\taddNotification(context, title, content, imageRes, activityToOpen, null);\n\t}",
"@Override\n protected void onNewIntent(Intent intent){\n handleIntent(intent);\n }",
"void startNewActivity(Intent intent);",
"public void setNotification( String action, int icon){\n\n PendingIntent contentIntent = PendingIntent.getActivity(getApplicationContext(), 0,\n new Intent(getApplicationContext(),MainActivity.class), 0);\n Notification.Builder notificationBuilder=new Notification.Builder(getApplicationContext()).setTicker(\n \"Momkey \"+ action).setSmallIcon(icon).setAutoCancel(true)\n .setContentText(action).setContentInfo(\"\"+1)\n .setContentTitle(\"MOMKEY\")\n .setContentIntent(contentIntent);\n\n NotificationManager notificationManager =\n (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);\n\n Notification n = notificationBuilder.build();\n\n n.defaults = Notification.FLAG_AUTO_CANCEL;\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {\n notificationManager.notify(1111,notificationBuilder.build());\n }\n }",
"public static int createNotification(Context context,\n String title, String text, int iconId, boolean isOngoing) {\n int notificationId = NOTIFICATION_ID++;\n\n Builder builder = getBuilder(context); //initialize builder\n builder.setSmallIcon(iconId);\n builder.setContentTitle(title);\n builder.setContentText(text);\n builder.setOngoing(isOngoing);\n\n PendingIntent contentIntent = PendingIntent.getActivity(context,0,new Intent(context, MainActivity.class),PendingIntent.FLAG_UPDATE_CURRENT);\n\n builder.setContentIntent(contentIntent);\n //initialize manager\n NotificationManager nManager = getNotificationManager(context);\n nManager.notify(notificationId, builder.build());\n\n return notificationId;\n }",
"@SuppressLint(\"NewApi\")\r\n\tpublic static void createImprovedNotificationWithButtons(Context context,\r\n\t\tint id, Intent intent) {\r\n\t\t// PendingIntent to execute the intent when we selects the notification.\r\n\t\tPendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);\r\n\t\tPendingIntent pendingIntentView = PendingIntent.getActivity(context, 0,\r\n\t\t\tnew Intent(context, ViewNotificationActivity.class), 0);\r\n\t\tPendingIntent pendingIntentEdit = PendingIntent.getActivity(context, 0,\r\n\t\t\tnew Intent(context, EditNotificationActivity.class), 0);\r\n\t\t\r\n\t\t// Define sound URI, the sound to be played when there's a notification.\r\n\t\tUri soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\r\n\r\n\t\t// In the addAction method, if you don't want any icon, just set the first param to 0.\r\n\t\tNotification.Builder builder = new Notification.Builder(context);\r\n\t\tbuilder.setContentTitle(\"Title of Notification with Buttons\");\r\n\t\tbuilder.setContentText(\"Message of notification with buttons\");\r\n\t\tbuilder.setSmallIcon(R.drawable.ic_launcher);\r\n\t\tbuilder.setSound(soundUri);\r\n\t\tbuilder.setLargeIcon(BitmapFactory.decodeResource(context.getResources(),\r\n\t\t\tR.drawable.ic_google));\r\n\t\tbuilder.setProgress(0, 0, true);\r\n\t\tbuilder.setContentIntent(pendingIntent);\r\n\t\t\r\n\t\t// Sets buttons.\r\n\t\tbuilder.addAction(R.drawable.ic_google, \"View\", pendingIntentView);\r\n\t\tbuilder.addAction(0, \"Edit\", pendingIntentEdit);\r\n\t\t\r\n\t\t// Calls the notification.\r\n\t\tNotificationManager notificationManager = (NotificationManager)context\r\n\t\t\t.getSystemService(Activity.NOTIFICATION_SERVICE);\r\n\t\tNotification notification = builder.build();\r\n//\t\tNotification notification = builder.setStyle(new Notification.BigTextStyle()\r\n// \t\t\t.bigText(mBigText.toString())).build();\r\n//\t\tNotification notification = new Notification.BigPictureStyle(builder)\r\n// \t\t\t.bigPicture(BitmapFactory.decodeResource(context.getResources(),\r\n// \t\t\tR.drawable.ic_google)).build();\r\n\t\t\r\n\t\t// Calls the notification. Waits for 800ms and vibrates for 150ms,\r\n\t\t// and then waits for 300ms and vibrates for 1000ms.\r\n\t\tnotification.vibrate = new long[] { 800, 150, 300, 1000 };\r\n\t\t\r\n\t\t// The id (unique number) is a Integer that identifies this notification.\r\n\t\tnotificationManager.notify(id, notification);\r\n\t}",
"@Override\n\tprotected void onHandleIntent(final Intent intent) {\n\t\ttimeFromNow = intent.getExtras().getFloat(\"timeFromNow\");\n\t\tLog.i(\"LocalNotification\", \"scheduleNotification -> timeFromNow: \" + timeFromNow);\n \tTimer t = new Timer(); \n\t\tTimerTask task = new TimerTask() {\n\t\t\t@Override\n\t\t\tpublic void run() { \n\t\t\t\tcreateNotif(intent);\n\t\t\t}\n\t\t};\n\t\tt.schedule(task, (long) (timeFromNow*1000));\n\t}",
"public void sendTestNotification() {\n\n Log.d(TAG, \"version: \" + Build.VERSION.SDK_INT);\n // Create an explicit intent for an Activity in your app\n Intent intent = new Intent(context, MainActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);\n\n final int NOTIFICATION_ID = 1;\n final String NOTIFICATION_CHANNEL_ID = \"my_notification_channel\";\n\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context, channelId)\n .setSmallIcon(R.drawable.alarm_sound_icon) // icon must be right size for all supported APIs. Icon is changeable\n .setContentTitle(\"IDO\") // changeable\n .setContentText(\"Become A Better Spouse Today!\") // changeable\n .setPriority(NotificationCompat.PRIORITY_DEFAULT) // changeable\n .setContentIntent(pendingIntent)\n .setVisibility(Notification.VISIBILITY_PUBLIC) // changeable\n .setAutoCancel(true);\n\n NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context);\n\n // notificationId is a unique int for each notification that you must define\n notificationManager.notify(NOTIFICATION_ID, mBuilder.build());\n\n }",
"public void addNotification() {\n PendingIntent pi = PendingIntent.getActivity(this, 0, new Intent(this, MapActivity.class), 0);\n Resources r = getResources();\n Notification notification = new NotificationCompat.Builder(this)\n .setTicker(r.getString(R.string.notification_titles))\n .setSmallIcon(android.R.drawable.ic_menu_report_image)\n .setContentTitle(r.getString(R.string.notification_titles))\n .setContentText(r.getString(R.string.notification_tex))\n .setContentIntent(pi)\n .setAutoCancel(true)\n .build();\n\n NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n notificationManager.notify(0, notification);\n }",
"private PendingIntentProvider getPendingIntentProvider(Intent notificationIntent) {\n return PendingIntentProvider.getBroadcast(ContextUtils.getApplicationContext(),\n mNotificationId, notificationIntent,\n mIsTransient ? PendingIntent.FLAG_CANCEL_CURRENT : 0);\n }",
"public void sendNotification(BTDevice b, Intent mIntent) {\n encounterType = \"casual\";\n\n switch (encounterType) {\n case \"casual\":\n mIntent.putExtra(\"INTENT_ENCOUNTER_CASUAL\", \"encounter_casual\");\n break;\n case \"labtalk\":\n mIntent.putExtra(\"INTENT_ENCOUNTER_LABTALK\", \"encounter_casual\");\n break;\n case \"meeting\":\n mIntent.putExtra(\"INTENT_ENCOUNTER_MEETING\", \"encounter_casual\");\n break;\n }\n\n // Create and send a new prompt\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 101, mIntent, PendingIntent.FLAG_CANCEL_CURRENT);\n Prompt prompt = new Prompt(b.getName(), pendingIntent, this);\n prompt.sendNotification();\n\n }",
"private void checkCreatingPendingIntentsWithoutIntentVariable(Source<CompilationUnit> java) {\n java.getModel().findAll(MethodCallExpr.class).stream()\n .filter(expr -> expr.getName().getIdentifier().matches(\"getActivity|getBroadcast|getService\"))\n .filter(expr -> expr.getArguments().size() >= 4)\n .filter(expr -> expr.getArguments().get(2).isObjectCreationExpr())\n .filter(expr -> isCreatingImplicitIntent(expr.getArguments().get(2).asObjectCreationExpr()))\n .forEach(expr -> addJavaIssue(Severity.VULNERABILITY, \".PENDING_INTENT\", java.getFile(), expr));\n\n // Works for: getActivities(this, 0, new Intent[] { new Intent(...), ...}, 0)\n java.getModel().findAll(MethodCallExpr.class).stream()\n .filter(expr -> expr.getName().getIdentifier().matches(\"getActivities\"))\n .filter(expr -> expr.getArguments().size() >= 4)\n .filter(expr -> expr.getArguments().get(2).isArrayCreationExpr())\n .filter(expr -> isCreatingImplicitIntentsArray(expr.getArguments().get(2).asArrayCreationExpr()))\n .forEach(expr -> addJavaIssue(Severity.VULNERABILITY, \".PENDING_INTENT\", java.getFile(), expr));\n }",
"private void sendNotification(String title, String messageBody, Map<String, String> extra) {\n Intent intent = new Intent(this, MainActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n PendingIntent pendingIntent;\n if (extra != null) {\n String type = extra.get(\"type\") != null ? extra.get(\"type\") : \"\";\n switch (type) {\n case \"page\":\n // for background, foreground can get this message directly without intent.putExtra()\n intent.putExtra(\"type\", type);\n if (extra.get(\"page\") != null) {\n intent.putExtra(\"page\", extra.get(\"page\"));\n }\n if (extra.get(\"id\") != null) {\n Log.i(TAG, \"sendNotification: payload page id \" + extra.get(\"id\"));\n intent.putExtra(\"id\", extra.get(\"id\"));\n }\n pendingIntent = PendingIntent.getActivity(this, 0, intent,\n PendingIntent.FLAG_ONE_SHOT);\n break;\n case \"link\":\n // only for foreground, without sending extra\n if (extra.get(\"link\") != null) {\n Uri uri = Uri.parse(LauUtil.getLegalURL(extra.get(\"link\")));\n intent = new Intent(Intent.ACTION_VIEW, uri);\n intent.putExtra(\"link\", extra.get(\"link\"));\n }\n pendingIntent = PendingIntent.getActivity(this, 2, intent,\n PendingIntent.FLAG_ONE_SHOT);\n break;\n case \"alarm_alert\":\n pendingIntent = getPendingIntentForAlertSystem(this, 0, 0, 0);\n break;\n default:\n pendingIntent = PendingIntent.getActivity(this, 0, intent,\n PendingIntent.FLAG_ONE_SHOT);\n break;\n }\n } else {\n pendingIntent = PendingIntent.getActivity(this, 0, intent,\n PendingIntent.FLAG_ONE_SHOT);\n }\n\n String channelId = getString(R.string.default_notification_channel_id);\n Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n NotificationCompat.BigTextStyle bigTextStyle = new NotificationCompat.BigTextStyle();\n bigTextStyle.setBigContentTitle(title).bigText(messageBody);\n\n NotificationCompat.Builder notificationBuilder =\n new NotificationCompat.Builder(this, channelId)\n .setSmallIcon(R.drawable.young_icon_192x192)\n .setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.young_icon_192x192))\n .setContentTitle(title)\n .setContentText(messageBody)\n .setStyle(bigTextStyle)\n .setAutoCancel(true)\n .setPriority(Notification.PRIORITY_HIGH)\n .setDefaults(Notification.DEFAULT_ALL)\n// .setSound(defaultSoundUri)\n .setContentIntent(pendingIntent);\n\n NotificationManager notificationManager =\n (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\n // Since android Oreo notification channel is needed.\n if (notificationManager != null) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n NotificationChannel channel = new NotificationChannel(channelId,\n channelId,\n NotificationManager.IMPORTANCE_DEFAULT);\n channel.setDescription(\"Young+推送\");\n notificationManager.createNotificationChannel(channel);\n }\n notificationManager.notify(0 /* ID of notification */, notificationBuilder.build());\n }\n }",
"public static Intent createIntentForPromoAddAccountFlow(\n Context context, @SigninAccessPoint int accessPoint) {\n return createIntentInternal(\n context, SigninFragment.createArgumentsForPromoAddAccountFlow(accessPoint));\n }",
"public void newAlarmManager(long time, Intent intent, int requestCode){\n\n PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(),\n requestCode, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager startAlarmManager = (AlarmManager) getApplicationContext()\n .getSystemService(Context.ALARM_SERVICE);\n startAlarmManager.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);\n }",
"private void startBackgroundTask(Intent intent, int startId) {\n backgroundExecution();\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 protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n handleIntent(intent);\n }",
"public static void startAlarmPendingIntent(Context context, boolean skipCancel) {\n // zrusime vsechny budiky v dtb kdyz je treba\n if (!skipCancel)\n {\n cancelAlarmPendingIntents(context);\n }\n // nacteme budiky z dtb\n List<Alarm> alarms = Alarm.getAlarms();\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(context.ALARM_SERVICE);\n\n if (alarms == null) {\n return;\n }\n\n // naplanujeme vsechny budiky\n // kazdej aktivni budik je naplanovanej vzdy na datum nejblizsi zvoneni, budiky navic\n // planujeme jen jeden tyden dopredu od doby planovani\n // pro zazvoneni se pouzivaji pending intenty, ty jsou intenty ktery se spusti po nejake\n // dobe, navic v AlarmManageru(sluzba OS) jsou tyhle pending intenty kodovany podle nejakyho\n // klice, jako klic jsem pouzil id budiku v databazi\n\n ALARM_LOOP:\n for (Alarm alarm : alarms) {\n\n if (!alarm.isActive()) {\n continue;\n }\n\n Calendar cal = Calendar.getInstance();\n int currentDay = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);\n\n DayRecorder days = alarm.getDays();\n\n final int curHour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY);\n final int curMin = Calendar.getInstance().get(Calendar.MINUTE);\n\n // nastavime v calendari cas zazvoneni budiku\n cal.set(Calendar.HOUR_OF_DAY, alarm.getHour());\n cal.set(Calendar.MINUTE, alarm.getMinute());\n cal.set(Calendar.SECOND, 0);\n cal.set(Calendar.MILLISECOND, 0);\n\n // nejdriv zkontrolujeme jestli budik bude zvonit do konce dne\n if (alarm.getHour() >= curHour &&\n alarm.getMinute() > curMin &&\n days.isDaySet(currentDay - 1)) {\n\n cal.set(Calendar.DAY_OF_WEEK, currentDay);\n PendingIntent sender = createPendingIntent(context, alarm);\n // naplanuje budik na spravnej cas\n alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), sender);\n // budik naplanovan pokracujem dalsim budikem\n continue ALARM_LOOP;\n }\n\n if (cal.getFirstDayOfWeek() == Calendar.SUNDAY) {\n Log.v(TAG, \"US\");\n\n } else {\n Log.v(TAG, \"EU:\" + cal.getFirstDayOfWeek());\n cal.setFirstDayOfWeek(Calendar.SUNDAY);\n }\n\n // to same akorat ted kontrolujeme jestli budik byl naplanovan do konce tydne(soboty)\n // to je furt ten samy tyden jako ma Calender.getInstance();\n for (int i = currentDay + 1; i <= Calendar.SATURDAY; i++) {\n if (days.isDaySet(i - 1)) {\n\n cal.set(Calendar.DAY_OF_WEEK, i);\n PendingIntent sender = createPendingIntent(context, alarm);\n // naplanuje budik na spravnej cas\n Log.v(TAG, \"cal time millis \" + cal.get(Calendar.DAY_OF_WEEK) + \" \"\n + cal.get(Calendar.HOUR_OF_DAY) + \":\" + cal.get(Calendar.MINUTE));\n alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), sender);\n\n continue ALARM_LOOP;\n }\n }\n\n // budik nebyl naplanovan do soboty, tedy musi se prelit do dalsiho tydne\n // Calender.getInstance ma tyden o 1 mensi\n for (int i = Calendar.SUNDAY; i <= currentDay; ++i) {\n if (days.isDaySet(i-1)) {\n cal.set(Calendar.DAY_OF_WEEK, i);\n // incrementujeme polozku tyden\n cal.add(Calendar.WEEK_OF_YEAR, 1);\n PendingIntent sender = createPendingIntent(context, alarm);\n // naplanuje budik na spravnej cas\n alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), sender);\n continue ALARM_LOOP;\n }\n }\n }\n }",
"public static Intent getIntent(Context context) {\n Intent intent = new Intent(context, WifiSchedulerDialog.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);\n return intent;\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), ReminderBroadcastReceiver.class);\n intent.putExtra(\"notificationText\", reminderData.getNotificationText());\n\n // Create pending intent with time given\n PendingIntent alarmIntent = PendingIntent.getBroadcast(getApplicationContext(), notificationId,\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // Create AlarmManager which is sent with pending intent\n AlarmManager alarm = (AlarmManager) getSystemService(ALARM_SERVICE);\n // Create time when notification will fire\n Calendar startTime = Calendar.getInstance();\n startTime.set(Calendar.DAY_OF_WEEK, startTime.get(Calendar.DAY_OF_WEEK));\n startTime.set(Calendar.HOUR_OF_DAY, timePicker.getHour());\n startTime.set(Calendar.MINUTE, timePicker.getMinute());\n startTime.set(Calendar.SECOND, 0);\n\n long alarmStartTime = startTime.getTimeInMillis();\n\n\n /* If reminder time is smaller than current time, start notification on next day, still in progress */\n\n /*\n if (startTime.getTimeInMillis() < System.currentTimeMillis()) {\n startTime.set(Calendar.DAY_OF_WEEK, startTime.get(Calendar.DAY_OF_WEEK + 1));\n alarmStartTime = startTime.getTimeInMillis();\n }\n else\n {\n alarmStartTime = startTime.getTimeInMillis();\n }\n */\n\n\n // Set alarm with (type, milliseconds, intent)\n // With RTC_WAKEUP we wake the device up and deliver the pending intent\n alarm.set(AlarmManager.RTC_WAKEUP, alarmStartTime, alarmIntent);\n saveData();\n\n }",
"public static Intent makeNotificationIntent(Context context, String msg) {\n Intent intent = new Intent(context, MainActivity.class);\n intent.putExtra(NOTIFICATION_MSG, msg);\n return intent;\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 }",
"public PendingIntent mo732d() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(8, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (PendingIntent) PendingIntent.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }",
"public static PendingIntent m8871a(Context context, int i, Intent intent, int i2) {\n Intent intent2 = new Intent(context, FirebaseInstanceIdReceiver.class);\n intent2.setAction(\"com.google.firebase.MESSAGING_EVENT\");\n intent2.putExtra(\"wrapped_intent\", intent);\n return PendingIntent.getBroadcast(context, i, intent2, 1073741824);\n }",
"private void createShareIntent() {\n String body2 = TEXT_TO_SHARE2;\n\n //Step 2: Create the shareIntent with action 'Intent.ACTION_SEND'\n Intent sendIntent = new Intent(Intent.ACTION_SEND);\n\n //Step 3: Specify the intent type\n //E.g. shareIntent.setType(\"text/plain\");\n sendIntent.setType(\"text/plain\");\n\n //Step 4: Add the text to share as an extra data (Intent.EXTRA_TEXT)\n sendIntent.putExtra(Intent.EXTRA_TEXT, body2);\n\n Intent shareIntent = Intent.createChooser(sendIntent, null);\n\n //Step 5: Start shareIntent\n startActivity(shareIntent);\n\n }",
"@RequiresApi(api = Build.VERSION_CODES.O)\n @Override\n public int onStartCommand(Intent intent, int flags, int startId) {\n Intent notificationIntent = new Intent(this, MainActivity.class);\n\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 0,\n notificationIntent, 0);\n\n Notification notification = new Notification.Builder(this, CHANNEL_ID)\n .setContentTitle(\"New mail from \" )\n .setContentText(\"acacsc\")\n .setSmallIcon(R.drawable.exo_controls_pause)\n //.setLargeIcon(aBitmap)\n .setContentIntent(pendingIntent)\n .build();\n\n\n startForeground(1, notification);\n\n return START_NOT_STICKY; //or return START_REDELIVER_INTENT;\n }",
"private void requestToMakeCalendarEntryNotificationBuilder(final String number,\n final String message) {\n\n Intent notifyIntent = new Intent(this, AcceptDetailsForCalendarActivity.class);\n notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n PendingIntent notifyPendingIntent =\n PendingIntent.getActivity(\n this,\n 0,\n notifyIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n\n // Action for dismiss button\n Intent dismissIntent = new Intent(this, MakeCalendarEntryService.class);\n dismissIntent.setAction(AppConstants.ACTION_DISMISS);\n PendingIntent piDismiss = PendingIntent.getService(this, 0, dismissIntent, 0);\n\n Intent acceptIntent = new Intent(this, MakeCalendarEntryService.class);\n Bundle entryDetailsBundle = new Bundle();\n entryDetailsBundle.putString(AppConstants.SMS_SERVICE_SMS_TEXT, message);\n entryDetailsBundle.putString(AppConstants.SMS_SERVICE_SENDER_PHONE_NUMBER, number);\n acceptIntent.putExtras(entryDetailsBundle);\n\n PendingIntent piAccept = PendingIntent.getService(this, 0, acceptIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n NotificationCompat.Builder mNotificationBuilder = new NotificationCompat.Builder(this);\n mNotificationBuilder\n .setContentTitle(AppConstants.NOTIFICATION_TILE)\n .setContentText(message)\n .setSmallIcon(R.drawable.ic_launcher)\n .setLights(0xff00ff00, 500, 500)\n .setAutoCancel(true)\n .setStyle(new NotificationCompat.BigTextStyle()\n .bigText(message))\n .addAction(R.drawable.ic_action_accept, getString(R.string.notification_yes),\n piAccept)\n .addAction(R.drawable.ic_action_cancel, getString(R.string.notification_no),\n piDismiss);\n\n // Puts the PendingIntent into the notification builder\n mNotificationBuilder.setContentIntent(notifyPendingIntent);\n issueNotification(mNotificationBuilder);\n }",
"public void sendRecordingNotification(){\n\n NotificationCompat.Builder mBuilder = (android.support.v7.app.NotificationCompat.Builder) new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.road)\n .setContentTitle(\"Sprint LT is recording your session\")\n .setContentText(mySession.getTrackName());\n // .setContentIntent(pendingIntent);\n\n NotificationManager mNotificationManager =\n (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\n mNotificationManager.notify(mRecordingNotificationID, mBuilder.build());\n\n }",
"@Override\n public void onReceive(Context context, Intent intent) {\n int mNotificationId = 001;\n\n // Gets an instance of the NotificationManager service\n NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);\n\n Intent notificationIntent = new Intent(context, MainActivity.class);\n notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\n PendingIntent pendingIntent =\n PendingIntent.getActivity(\n context,\n 0,\n notificationIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n\n String habit = intent.getExtras().getString(\"name\",\"streak\");\n\n NotificationCompat.Builder mNotifyBuilder = new NotificationCompat.Builder(context)\n .setSmallIcon(R.mipmap.ic_launcher)\n .setContentTitle(\"BAARD Habit Tracker\")\n .setContentText(\"Reminder to complete your \"+habit+\" habit! Don't lose your streak!\")\n .setAutoCancel(true)\n .setVibrate(new long[]{1000,1000})\n .setStyle(new NotificationCompat.BigTextStyle()\n .bigText(\"Reminder to complete your \"+habit+\" habit! Don't lose your streak!\"))\n .setContentIntent(pendingIntent);\n Log.i(\"ALARM\", \"Receiver sending notification\");\n // Builds the notification and issues it.\n notificationManager.notify(mNotificationId, mNotifyBuilder.build());\n }",
"private PendingIntent getGeofencePendingIntent() {\n // Reuse the PendingIntent if we already have it.\n if (mGeofencePendingIntent != null) {\n return mGeofencePendingIntent;\n }\n intent = new Intent(this, GeofenceTransitionsIntentService.class);\n //Intent intent = new Intent(this, GeofenceTransitionsIntentService.class);\n // We use FLAG_UPDATE_CURRENT so that we get the same pending intent back\n return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n }",
"private void createInstagramIntent(String type, String mediaPath) {\n Intent share = new Intent(Intent.ACTION_SEND);\n\n // Set the MIME type\n share.setType(type);\n share.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n share.setPackage(\"com.instagram.android\");\n\n // Create the URI from the media\n File media = new File(mediaPath);\n Uri uri = FileProvider.getUriForFile(context, context.getApplicationContext().getPackageName() + \".Utils.GenericFileProvider\", media);\n\n // Add the URI to the Intent.\n share.putExtra(Intent.EXTRA_STREAM, uri);\n share.putExtra(Intent.EXTRA_TEXT, \"YOUR TEXT HERE\");\n\n // Broadcast the Intent.\n startActivity(Intent.createChooser(share, \"Share to\"));\n }",
"public void setIntent(Intent intent) {\n this.mInviteIntent = intent;\n }",
"@Override\n protected void onNewIntent(Intent intent) {\n\n Bundle bundle=intent.getExtras();\n int uniqueFlagID=1;\n if(bundle!=null && (bundle.getInt(\"uniqueAppId\") > 0)) {\n DBAdapter adapter = new DBAdapter(getApplicationContext());\n adapter.getUpdatePresFlag(bundle.getString(\"type\"), bundle.getInt(\"uniqueAppId\"), \"1\");\n String AppointmentMessage1 = bundle.getString(AlarmReceiver.APPOINTMENT_MESSAGE);\n ApplicationBackgroundCheck.showNotificationDialog(\"Appointment Alert\", AppointmentMessage1, \"App\",uniqueFlagID,getApplicationContext(),getFragmentManager());\n }\n if(bundle!=null && (bundle.getInt(\"presUniqueId\") > 0)) {\n DBAdapter adapter = new DBAdapter(getApplicationContext());\n adapter.getUpdatePresFlag(bundle.getString(\"type\"),bundle.getInt(\"presUniqueId\"),\"1\");\n String RenewalMessage = bundle.getString(AlarmReceiver.PRESCRIPTION_RENEWAL_MESSAGE);\n ApplicationBackgroundCheck.showNotificationDialog(\"Prescription Renewal Alert\", RenewalMessage, \"PRES\",uniqueFlagID,getApplicationContext(),getFragmentManager());\n }\n if(bundle!=null && (bundle.getString(\"type\").equals(\"MED_TIT\"))) {\n String TitrationMessage = bundle.getString(AlarmReceiver.MEICATION_TITRATION_MESSAGE);\n ApplicationBackgroundCheck.showNotificationDialog(\"Medication Titration Alert\", TitrationMessage, \"MED_TIT\", uniqueFlagID,getApplicationContext(),getFragmentManager());\n }\n if(bundle!=null && (bundle.getString(\"type\").equals(\"EME\"))) {\n DBAdapter adapter= new DBAdapter(getApplicationContext());\n adapter.getUpdateReminderFlag(bundle.getString(\"type\"), bundle.getInt(\"id\"),\"1\");\n String EmergencyMedicationMessage = bundle.getString(AlarmReceiver.EMERGENCY_MEDICATION_MESSAGE);\n ApplicationBackgroundCheck.showNotificationDialog(\"Emergency Medication Alert\", EmergencyMedicationMessage, \"EME\",uniqueFlagID,getApplicationContext(),getFragmentManager());\n\n }\n\n\n }",
"public Intent getTrackedIntent(){\n Intent trackedIntent = new Intent(context, PPOpenTrackerActivity.class);\n trackedIntent.putExtra(PushPrime.NOTIFICATION, this);\n return trackedIntent;\n }",
"private void checkCreatingPendingIntentsWithIntentVariables(Source<CompilationUnit> java) {\n List<String> implicitIntentsVariables = java.getModel().findAll(ObjectCreationExpr.class).stream()\n .filter(expr -> expr.getType().getName().getIdentifier().equals(\"Intent\"))\n .filter(this::isCreatingImplicitIntent)\n .map(Node::getParentNode)\n .flatMap(Optional::stream)\n .filter(node -> node instanceof VariableDeclarator)\n .map(node -> (VariableDeclarator) node)\n .map(VariableDeclarator::getName)\n .map(SimpleName::getIdentifier)\n .collect(Collectors.toList());\n java.getModel().findAll(MethodCallExpr.class).stream()\n .filter(expr -> expr.getName().getIdentifier().matches(\"getActivity|getBroadcast|getService\"))\n .filter(expr -> expr.getArguments().size() >= 4)\n .filter(expr -> expr.getArguments().get(2).isNameExpr())\n .filter(expr -> implicitIntentsVariables.contains(expr.getArguments().get(2).asNameExpr().getName().getIdentifier()))\n .forEach(expr -> addJavaIssue(Severity.VULNERABILITY, \".PENDING_INTENT\", java.getFile(), expr));\n }",
"private Intent newVoicemailIntent() {\n final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED,\n Uri.fromParts(\"voicemail\", EMPTY_NUMBER, null));\n intent.putExtra(\"phone_subscription\", mSubscription);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n return intent;\n }",
"private Notification getActivityNotification(String title, String text){\n Intent main = getApplicationContext().getPackageManager().getLaunchIntentForPackage(getApplicationContext().getPackageName());\n main.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 1000, main, PendingIntent.FLAG_UPDATE_CURRENT);\n\n int icon = R.drawable.star_big_on;\n int normalIcon = getResources().getIdentifier(\"icon\", \"drawable\", getPackageName());\n int notificationIcon = getResources().getIdentifier(\"notificationicon\", \"drawable\", getPackageName());\n if(notificationIcon != 0) {\n Log.d(TAG, \"Found Custom Notification Icon!\");\n icon = notificationIcon;\n }\n else if(normalIcon != 0) {\n Log.d(TAG, \"Found normal Notification Icon!\");\n icon = normalIcon;\n }\n\n Notification.Builder builder = new Notification.Builder(this);\n builder.setContentTitle(title);\n builder.setContentText(text);\n builder.setSmallIcon(icon);\n builder.setContentIntent(pendingIntent);\n Notification notification;\n if (android.os.Build.VERSION.SDK_INT >= 16) {\n notification = buildForegroundNotification(builder);\n } else {\n notification = buildForegroundNotificationCompat(builder);\n }\n notification.flags |= Notification.FLAG_ONGOING_EVENT | Notification.FLAG_FOREGROUND_SERVICE | Notification.FLAG_NO_CLEAR;\n return notification;\n }",
"private void sendNotification(Map<String, String> serverData) {\n Intent intent = new Intent(serverData.get(\"click_action\"));\n String title = serverData.get(\"title\");\n String body = serverData.get(\"body\");\n intent.putExtra(\"title\",title);\n intent.putExtra(\"body\",body);\n intent.putExtra(\"order\" , serverData.get(\"order\"));\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n PendingIntent pendingIntent = PendingIntent.getActivity(this,0 /* request code */, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n long[] pattern = {500,500,500,500,500};\n\n Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n NotificationCompat.Builder notificationBuilder = (NotificationCompat.Builder) new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ok)\n .setContentTitle(serverData.get(\"title\"))\n .setContentText(serverData.get(\"body\"))\n .setAutoCancel(true)\n .setVibrate(pattern)\n .setLights(Color.BLUE,1,1)\n .setSound(defaultSoundUri)\n .setContentIntent(pendingIntent);\n\n NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n notificationManager.notify(0 , notificationBuilder.build());\n }",
"private PendingIntent getGeofencePendingIntent () {\n\n Intent intent = new Intent(this, GeofenceReceiver.class);\n // We use FLAG_UPDATE_CURRENT so that we get the same pending intent back when\n // calling addGeofences() and removeGeofences().\n return PendingIntent.getService(this, 0, intent, PendingIntent.\n FLAG_UPDATE_CURRENT);\n }",
"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 }",
"public void requestGeoFenceWithNewIntent() {\n try {\n geofenceService.createGeofenceList(getAddGeofenceRequest(), pendingIntent)\n .addOnCompleteListener(task -> {\n if (task.isSuccessful()) {\n Log.i(TAG, \"add geofence success!\");\n } else {\n Log.w(TAG, \"add geofence failed : \" + task.getException().getMessage());\n }\n });\n } catch (Exception e) {\n Log.d(TAG, \"requestGeoFenceWithNewIntent: \" + e.toString());\n }\n }",
"private void createNotificationChannel() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n CharSequence name = getString(R.string.channel_name);\n String description = getString(R.string.channel_description);\n int importance = NotificationManager.IMPORTANCE_HIGH;\n\n // crate a channel with high priority\n NotificationChannel channel = new NotificationChannel(CHANNEL_ID_1, name, importance);\n\n channel.setDescription(description);\n // Register the channel with the system; you can't change the importance\n // or other notification behaviors after this\n NotificationManager notificationManager = getSystemService(NotificationManager.class);\n notificationManager.createNotificationChannel(channel);\n\n// // Create an Intent for the activity you want to start\n// Intent resultIntent = new Intent(this, MainActivity.class);\n// // Create the TaskStackBuilder and add the intent, which inflates the back stack\n// TaskStackBuilder stackBuilder = TaskStackBuilder.create(this);\n// stackBuilder.addNextIntentWithParentStack(resultIntent);\n// // Get the PendingIntent containing the entire back stack\n// PendingIntent resultPendingIntent =\n// stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT);\n }\n\n }",
"public static Intent makeIntent(Context context) {\n mContext = context;\n return new Intent(context, MagpieService.class);\n }",
"private PendingIntent getGeofencePendingIntent() {\n if (mGeofencePendingIntent != null) {\r\n return mGeofencePendingIntent;\r\n }\r\n Intent intent = new Intent(this, GeofenceBroadcastReceiver.class);\r\n\r\n // addGeofences() and removeGeofences().\r\n mGeofencePendingIntent = PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\r\n return mGeofencePendingIntent;\r\n }",
"@RequiresPermissions(ENTITLEMENT_CAN_CREATE)\n public UUID addEntitlement(UUID bundleId, EntitlementSpecifier spec, LocalDate entitlementEffectiveDate, LocalDate billingEffectiveDate, boolean isMigrated, Iterable<PluginProperty> properties, CallContext context)\n throws EntitlementApiException;",
"@Override\n public void onReceive(Context context, Intent intent) {\n Log.i(\"BASH\", \"Notification sent\");\n\n Log.i(\"BASH\", \"RECIEVED\");\n\n createNotification(context, \"Times up\", \"5 sec\", \"as\");\n\n }",
"public void prepare_intent(int requestCode, long invoking_id){\n Intent intent = new Intent(BilansView.this, BilansAdd.class);\n\n if (invoking_id > 0) {\n HashMap<String, String> map = GetItem(invoking_id);\n intent.putExtra(\"item_id\", invoking_id);\n String timestamp[] = map.get(\"data\").split(\" \");\n intent.putExtra(\"data\", timestamp[0]);\n intent.putExtra(\"time\", timestamp[1]);\n intent.putExtra(\"tytul\", map.get(\"tytul\"));\n } else {\n intent.putExtra(\"data\", Utils.datenow());\n intent.putExtra(\"time\", Utils.timenow());\n intent.putExtra(\"amount\", \"\");\n }\n startActivityForResult(intent, requestCode);\n }",
"private void sendNotification() {\n int mNotificationId = 001;\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ic_action_camera)\n .setContentTitle(\"Daily Selfie\")\n .setContentText(\"Time for another selfie\");\n Intent resultIntent = new Intent(this, MainActivity.class);\n PendingIntent resultPendingIntent =\n PendingIntent.getActivity(\n this,\n 0,\n resultIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n mBuilder.setContentIntent(resultPendingIntent);\n // Gets an instance of the NotificationManager service\n NotificationManager mNotifyMgr = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n // Builds the notification and issues it.\n mNotifyMgr.notify(mNotificationId, mBuilder.build());\n }",
"public Intent newIntent(Context packageContext) {\n Intent intent = new Intent(packageContext, A16_MeetingListActivity.class);\n return intent;\n }",
"public void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n handleIntent(intent);\n }",
"public static void createNotification(Context context, Reminder reminder) {\n Intent viewIntent = new Intent(context, MainScreen.class);\n viewIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n viewIntent.putExtra(\"NOTIFICATION_DISMISS\", true);\n PendingIntent pending = PendingIntent.getActivity(context, reminder.getId(), viewIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n /* // Create intent for notification snooze click behaviour\n Intent snoozeIntent = new Intent(context, SnoozeActionReceiver.class);\n snoozeIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingSnooze = PendingIntent.getBroadcast(context, reminder.getId(), snoozeIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n*/\n int imageResId = context.getResources().getIdentifier(reminder.getIcon(), \"drawable\", context.getPackageName());\n\n\n /*NotificationCompat.Builder builder = new NotificationCompat.Builder(context, CHANNEL_ID)\n .setSmallIcon(R.drawable.notification_icon)\n .setContentTitle(textTitle)\n .setContentText(textContent)\n .setPriority(NotificationCompat.PRIORITY_DEFAULT);\n\n */\n NotificationCompat.Builder builder = new NotificationCompat.Builder(context)\n .setSmallIcon(imageResId)\n .setColor(Color.parseColor(reminder.getColour()))\n .setStyle(new NotificationCompat.BigTextStyle().bigText(reminder.getContent()))\n .setContentTitle(reminder.getTitle())\n .setContentText(reminder.getContent())\n .setTicker(reminder.getTitle())\n .setContentIntent(pending);\n\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);\n\n /*if (sharedPreferences.getBoolean(\"checkBoxNagging\", false)) {\n Intent swipeIntent = new Intent(context, DismissReceiver.class);\n swipeIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingDismiss = PendingIntent.getBroadcast(context, reminder.getId(), swipeIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n builder.setDeleteIntent(pendingDismiss);\n\n Calendar calendar = Calendar.getInstance();\n calendar.add(Calendar.MINUTE, sharedPreferences.getInt(\"nagMinutes\", context.getResources().getInteger(R.integer.default_nag_minutes)));\n calendar.add(Calendar.SECOND, sharedPreferences.getInt(\"nagSeconds\", context.getResources().getInteger(R.integer.default_nag_seconds)));\n Intent alarmIntent = new Intent(context, NagReceiver.class);\n AlarmUtil.setAlarm(context, alarmIntent, reminder.getId(), calendar);\n }*/\n\n String soundUri = sharedPreferences.getString(\"NotificationSound\", \"content://settings/system/notification_sound\");\n if (soundUri.length() != 0) {\n builder.setSound(Uri.parse(soundUri));\n }\n if (sharedPreferences.getBoolean(\"checkBoxLED\", true)) {\n builder.setLights(Color.BLUE, 700, 1500);\n }\n if (sharedPreferences.getBoolean(\"checkBoxOngoing\", false)) {\n builder.setOngoing(true);\n }\n if (sharedPreferences.getBoolean(\"checkBoxVibrate\", true)) {\n long[] pattern = {0, 300, 0};\n builder.setVibrate(pattern);\n }\n /*if (sharedPreferences.getBoolean(\"checkBoxMarkAsDone\", false)) {\n Intent intent = new Intent(context, DismissReceiver.class);\n intent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, reminder.getId(), intent, PendingIntent.FLAG_UPDATE_CURRENT);\n builder.addAction(R.drawable.ic_done_white_24dp, context.getString(R.string.mark_as_done), pendingIntent);\n }\n if (sharedPreferences.getBoolean(\"checkBoxSnooze\", false)) {\n builder.addAction(R.drawable.ic_snooze_white_24dp, context.getString(R.string.snooze), pendingSnooze);\n }*/\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {\n builder.setPriority(Notification.PRIORITY_HIGH);\n }\n\n NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);\n notificationManager.notify(reminder.getId(), builder.build());\n }",
"public android.app.PendingIntent requestNotificationPermission(java.lang.String channelName,\n java.lang.String channelId) throws android.os.RemoteException;",
"public static Intent makeIntent(Context context) {\n return new Intent(context,\n WeatherServiceSync.class);\n }",
"void start(Intent intent, IntentFilter filter, IIntentCallback callback, IEclipseContext context);",
"public void addNewTask() {\n Intent i = new Intent(this, StartNewActivity.class);\n startActivityForResult(i, REQUEST_CODE);\n }",
"private PendingIntent getGeofencePendingIntent() {\n // Reuse the PendingIntent if we already have it.\n if (mGeofencePendingIntent != null) {\n return mGeofencePendingIntent;\n }\n Intent intent = new Intent(mActivity, GeofenceTransitionsIntentService.class);\n// intent.putExtra(\"leavingstone.geolab.shoppinglist.model\", shoppingList);\n intent.putExtra(ShoppingListModel.SHOPPING_LIST_MODEL_KEY, shoppingList.getId());\n // We use FLAG_UPDATE_CURRENT so that we get the same pending intent back when calling\n // addGeofences() and removeGeofences().\n return PendingIntent.getService(mActivity, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n }",
"public static Intent createIntent(Context context, OnboardingType type, boolean fromDiagnostics) {\n return createIntent(context, type, fromDiagnostics, null);\n }",
"public PendingIntent getActionIntent(NotificationEntry entry, NotificationEntry.Action act) {\n Intent intent = new Intent(ACTION_ACTION);\n intent.putExtra(KEY_ENTRY_ID, entry.ID);\n intent.putExtra(KEY_ACTION_ID, entry.mActions.indexOf(act));\n return PendingIntent.getBroadcast(mContext, genIdForPendingIntent(), intent, 0);\n }",
"public void addPendingOrder(Order order) {\n\t\tmOrders.add(order);\n\t}",
"@Override\n protected void onHandleIntent(Intent workIntent) {\n }",
"public void sendNotification(View view) {\n\t\t Intent intent = new Intent(this, MainActivity.class);\r\n\t\t PendingIntent pIntent = PendingIntent.getActivity(this, 0, intent, 0);\r\n\r\n\t\t // Build notification\r\n\t\t // Actions are just fake\r\n\t\t Notification noti = new Notification.Builder(this)\r\n\t\t .setContentTitle(\"TodoList Item\")\r\n\t\t .setContentText(\"A New Item was Added\").setSmallIcon(R.drawable.ic_launcher)\r\n\t\t .setContentIntent(pIntent).build();\r\n\t\t //.addAction(R.drawable.ic_launcher, \"Call\", pIntent);\r\n\t\t //.addAction(R.drawable.ic_launcher, \"More\", pIntent)\r\n\t\t //.addAction(R.drawable.ic_launcher, \"And more\", pIntent).build();\r\n\t\t NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\r\n\t\t // hide the notification after its selected\r\n\t\t noti.flags |= Notification.FLAG_AUTO_CANCEL;\r\n\r\n\t\t notificationManager.notify(0, noti);\r\n\r\n\t\t }",
"private void sendNotification(String msg) {\n Uri hejsound = Uri.parse(\"android.resource://\" + getApplicationContext().getPackageName() + \"/\" + R.raw.hejsound);\n long[] notifyVibrate = {0, 200, 100, 200};\n Intent hejIntent = new Intent(this, MyActivity.class);\n hejIntent.putExtra(\"sender\", msg);\n Intent respondIntent = new Intent(this, respondHejService.class); //An intent to be used by the ReplyTo button\n respondIntent.putExtra(\"sender\", msg);\n respondIntent.putExtra(\"respondTo\", msg);\n PendingIntent respondToIntent = PendingIntent.getService(this, msg.hashCode(), respondIntent, PendingIntent.FLAG_CANCEL_CURRENT);\n PendingIntent contentIntent = PendingIntent.getActivity(this, msg.hashCode(), hejIntent, PendingIntent.FLAG_CANCEL_CURRENT);\n\n NOTIFICATION_ID = msg.hashCode();\n\n if (SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) {\n\n NotificationManager mNotificationManager = (NotificationManager)\n this.getSystemService(Context.NOTIFICATION_SERVICE);\n\n NotificationCompat.Builder mBuilder =\n new NotificationCompat.Builder(this)\n .addAction(R.drawable.arrow, \"Send Hej Back\", respondToIntent)\n .setAutoCancel(true)\n .setSmallIcon(R.drawable.ic_launcher)\n .setContentTitle(\"Hej\")\n .setTicker(\"Hej from \" + msg + \"!\")\n .setVibrate(notifyVibrate)\n .setSound(hejsound)\n .setPriority(Notification.PRIORITY_MAX)\n .setLights(0xFFFF8B00, 200, 200)\n .setContentText(\"Hej from \" + msg + \"!\");\n\n\n mBuilder.setContentIntent(contentIntent);\n mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());\n\n\n } else { //Sander Edition\n NotificationManager notificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);\n System.out.println(\"what the fuck\");\n int icon = R.drawable.ic_launcher;\n CharSequence text = \"Hej from \" + msg + \"!\";\n CharSequence contentTitle = \"Hej\";\n CharSequence contentText = \"Hej from \" + msg + \"!\";\n long when = System.currentTimeMillis();\n\n Notification notification = new Notification(icon,text,when);\n\n notification.vibrate = notifyVibrate;\n notification.sound = hejsound;\n notification.ledARGB = 0xFFFF8B00;\n notification.ledOffMS = 200;\n notification.ledOnMS = 200;\n\n notification.setLatestEventInfo(this, contentTitle, contentText, contentIntent);\n\n notificationManager.notify(NOTIFICATION_ID, notification);\n\n\n }\n }"
] | [
"0.6702772",
"0.66336375",
"0.66141427",
"0.6610579",
"0.6556833",
"0.64813805",
"0.61541224",
"0.61249435",
"0.61014515",
"0.6099968",
"0.5903487",
"0.58888656",
"0.58851475",
"0.58848",
"0.58848",
"0.5865329",
"0.58315873",
"0.5806622",
"0.58044386",
"0.57752925",
"0.57712483",
"0.5729983",
"0.5728164",
"0.5651429",
"0.5643978",
"0.5635166",
"0.56126136",
"0.560045",
"0.5567124",
"0.550901",
"0.5494045",
"0.54880214",
"0.54714555",
"0.5469396",
"0.5453776",
"0.5449942",
"0.54468685",
"0.5433788",
"0.54073924",
"0.5404764",
"0.5399055",
"0.5367222",
"0.53507453",
"0.5338839",
"0.53347945",
"0.53307796",
"0.5295443",
"0.5292645",
"0.52799505",
"0.5279526",
"0.52615935",
"0.5248971",
"0.5248277",
"0.5241576",
"0.5237822",
"0.5233885",
"0.5224386",
"0.52191067",
"0.5213526",
"0.52062714",
"0.5201317",
"0.5170987",
"0.515805",
"0.51461047",
"0.5137467",
"0.513645",
"0.5132454",
"0.51058906",
"0.51048774",
"0.5104012",
"0.51016176",
"0.50907284",
"0.5083826",
"0.50793207",
"0.50782526",
"0.50575054",
"0.50515515",
"0.5046654",
"0.5045238",
"0.50447947",
"0.50419897",
"0.5029267",
"0.50239736",
"0.5019589",
"0.5017836",
"0.5013678",
"0.5011313",
"0.50068104",
"0.49990773",
"0.49962035",
"0.49957526",
"0.49886844",
"0.4987256",
"0.49765438",
"0.49756387",
"0.49719632",
"0.49710006",
"0.4969332",
"0.4968826",
"0.49626172",
"0.4961338"
] | 0.0 | -1 |
Called when the user taps the Floating Action Button | public void add_events_screen(View view) {
Calendar calendar = Calendar.getInstance();
calendar.set(selectedYear, selectedMonth, selectedDay);
Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
intent.putExtra(CalendarContract.Events.TITLE, "");
intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, calendar.getTimeInMillis());
intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, calendar.getTimeInMillis());
intent.putExtra(CalendarContract.Events.ALL_DAY, false);
intent.putExtra(CalendarContract.Events.DESCRIPTION,"");
startActivity(intent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@OnClick(R.id.fab)\n protected void fabClicked() {\n showPostTweetDialog(null);\n }",
"public static void showFloatingButton() {\n floatingActionButton.show();\n }",
"private void setupFloatingActionButtons() {\n final FloatingActionButton fabAddFollow = (FloatingActionButton) myView.findViewById(R.id.fabAddFollow);\n fabAddFollow.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Log.d(\"AAA\", \"SOMETHING\");\n getActivity().getFragmentManager().beginTransaction()\n .setCustomAnimations(R.animator.slide_in_left, R.animator.slide_out_left, R.animator.slide_in_right, R.animator.slide_out_right)\n .replace(R.id.content_frame, new addFollowFragment()).addToBackStack(\"follow_list\").commit();\n }\n });\n }",
"private void initActionButton() {\n FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n goToDetailScreen(0);\n\n }\n });\n }",
"private void setFloatingActionButtonListener() {\n floatingActionButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n View mView = getLayoutInflater().inflate(R.layout.add_trail_dialogbox, null);\n popUpDialogBox(mView, 1);\n }\n });\n }",
"private void floatingActionButtonClicked(){\n Log.d(TAG, \"floating button onclick\");\n InsertCourseDialogFragment dialog = new InsertCourseDialogFragment();\n dialog.show(getSupportFragmentManager(), \"Insert Course\");\n }",
"@Override\n public void onClick(View v) {\n if (SHOW_DEBUG)\n Toast.makeText(v.getContext(), \"Yep, this all action \", Toast.LENGTH_SHORT)\n .show();\n fab.startAnimation(fab_show);\n }",
"@Override\n public void onClick(View view) {\n showPopupMenu(fab);\n }",
"public void setFloatingActionButton(View view) {\n fab = (FloatingActionMenu) view.findViewById(R.id.fab_rsd);\n fab.setOnMenuToggleListener(new FloatingActionMenu.OnMenuToggleListener() {\n @Override\n public void onMenuToggle(boolean b) {\n //Toast.makeText(getActivity(), \"Is menu opened? \" + (b ? \"true\" : \"false\"), Toast.LENGTH_SHORT).show();\n }\n });\n fab.showMenuButton(true);\n fab.setClosedOnTouchOutside(true);\n\n FloatingActionButton fab1 = (FloatingActionButton) view.findViewById(R.id.fab1_rsd);\n FloatingActionButton fab2 = (FloatingActionButton) view.findViewById(R.id.fab2_rsd);\n\n fab1.setOnClickListener(this);\n fab2.setOnClickListener(this);\n }",
"@Override\n public void onClick(View v) {\n onViewClickListener.onFabClick(v);\n }",
"void onCheckedChanged(FloatingActionButton fabView, boolean isChecked);",
"void onFadingViewClick();",
"private void floatingMenu(){\n btn_main = findViewById(R.id.fab_main);\n btn_lang = findViewById(R.id.fab_language);\n btn_profil = findViewById(R.id.fab_profil);\n\n btn_lang.setTranslationY(translationY);\n btn_profil.setTranslationY(translationY);\n\n btn_lang.setAlpha(0f);\n btn_profil.setAlpha(0f);\n\n btn_main.setOnClickListener(this);\n btn_profil.setOnClickListener(this);\n btn_lang.setOnClickListener(this);\n }",
"private void setFloatingButtonListener() {\n floatingActionButton.setOnClickListener(v -> {\n if (actualFragment instanceof MyPetsFragment) {\n hideShareAppButton();\n addPet();\n } else if (actualFragment instanceof CommunityFragment){\n createGroupDialog();\n } else if (actualFragment instanceof InfoGroupFragment){\n if (InfoGroupFragment.getGroup().isUserSubscriber(user)) {\n createForumDialog();\n } else {\n Toast toast = Toast.makeText(this, getString(R.string.should_be_subscribed), Toast.LENGTH_LONG);\n toast.show();\n }\n }\n\n });\n }",
"public void initFloatButton(){\n\n if(mFloatButton == null){\n mFloatButton = (FloatingActionButton)findViewById\n (mHouseKeeper.getFloatingActionButtonId());\n mFloatButton.setOnClickListener(mHouseKeeper.getFABOnClickListener());\n }\n }",
"private void createFAB() {\r\n fab = findViewById(R.id.fabEditTask);\r\n fab.setOnClickListener(new View.OnClickListener() {\r\n @Override\r\n public void onClick(View view) {\r\n goIntoEditMode();\r\n }\r\n });\r\n }",
"public static void hideFloatingButton() {\n floatingActionButton.hide();\n }",
"@Override\r\n\tpublic void onShowPress(MotionEvent arg0) {\n\t\t\r\n\t}",
"private void expandFAB() {\n FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) fab1.getLayoutParams();\n layoutParams.rightMargin += (int) (fab1.getWidth() * 1.7);\n layoutParams.bottomMargin += (int) (fab1.getHeight() * 0.25);\n fab1.setLayoutParams(layoutParams);\n fab1.startAnimation(show_fab_1);\n fab1.setClickable(true);\n\n //Floating Action Button 2\n FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) fab2.getLayoutParams();\n layoutParams2.rightMargin += (int) (fab2.getWidth() * 1.5);\n layoutParams2.bottomMargin += (int) (fab2.getHeight() * 1.5);\n fab2.setLayoutParams(layoutParams2);\n fab2.startAnimation(show_fab_2);\n fab2.setClickable(true);\n\n FrameLayout.LayoutParams layoutParams3 = (FrameLayout.LayoutParams) fab3.getLayoutParams();\n layoutParams3.rightMargin += (int) (fab3.getWidth() * 0.25);\n layoutParams3.bottomMargin += (int) (fab3.getHeight() * 1.7);\n fab3.setLayoutParams(layoutParams3);\n fab3.startAnimation(show_fab_3);\n fab3.setClickable(true);\n }",
"@Override\n\tpublic void onShowPress(MotionEvent arg0) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent arg0) {\n\t\t\n\t}",
"@Override\n\t\tpublic void onShowPress(MotionEvent e) {\n\n\t\t}",
"@Override\n\t\t\tpublic void onShowPress(MotionEvent arg0)\n\t\t\t{\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onSaveFABClick() {\n getSupportFragmentManager().popBackStack();\n getSupportActionBar().show();\n }",
"@Override\n\t\tpublic void onShowPress(MotionEvent e) {\n\t\t\t\n\t\t}",
"@Override\n public void onShowPress(MotionEvent e) {\n\n }",
"@Override\n public void onShowPress(MotionEvent e) {\n super.onShowPress(e);\n\n }",
"@Override\n\t\t\t\tpublic void onShowPress(MotionEvent e) {\n\t\t\t\t\t\n\t\t\t\t}",
"private void setFAB(View view) {\n SpeedDialView speedDialView = view.findViewById(R.id.speedDial);\n speedDialView.setVisibility(View.VISIBLE);\n speedDialView.addActionItem(\n new SpeedDialActionItem.Builder(R.id.fab_email, R.drawable.ic_email_black_24dp)\n .setLabel(R.string.speed_dial_email)\n .create()\n );\n speedDialView.addActionItem(\n new SpeedDialActionItem.Builder(R.id.fab_linkedIn, R.drawable.ic_linkedin)\n .setLabel(R.string.speed_dial_linkedin)\n .create()\n );\n speedDialView.addActionItem(\n new SpeedDialActionItem.Builder(R.id.fab_gitHub, R.drawable.ic_github)\n .setLabel(R.string.speed_dial_github)\n .create()\n );\n\n //Set up FAB speed dial links\n speedDialView.setOnActionSelectedListener(new SpeedDialView.OnActionSelectedListener() {\n @Override\n public boolean onActionSelected(SpeedDialActionItem speedDialActionItem) {\n switch (speedDialActionItem.getId()) {\n case R.id.fab_email:\n composeEmail();\n return false; // true to keep the Speed Dial open\n case R.id.fab_linkedIn:\n openWebPage(\"https://www.linkedin.com/in/martinjthorne/\");\n return false;\n case R.id.fab_gitHub:\n openWebPage(\"https://github.com/Martin-Thorne\");\n return false;\n default:\n return false;\n }\n }\n });\n }",
"@Override\r\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\r\n\t}",
"private void hideFAB() {\n FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) fab1.getLayoutParams();\n layoutParams.rightMargin -= (int) (fab1.getWidth() * 1.7);\n layoutParams.bottomMargin -= (int) (fab1.getHeight() * 0.25);\n fab1.setLayoutParams(layoutParams);\n fab1.startAnimation(hide_fab_1);\n fab1.setClickable(false);\n\n //Floating Action Button 2\n FrameLayout.LayoutParams layoutParams2 = (FrameLayout.LayoutParams) fab2.getLayoutParams();\n layoutParams2.rightMargin -= (int) (fab2.getWidth() * 1.5);\n layoutParams2.bottomMargin -= (int) (fab2.getHeight() * 1.5);\n fab2.setLayoutParams(layoutParams2);\n fab2.startAnimation(hide_fab_2);\n fab2.setClickable(false);\n\n //Floating Action Button 3\n FrameLayout.LayoutParams layoutParams3 = (FrameLayout.LayoutParams) fab3.getLayoutParams();\n layoutParams3.rightMargin -= (int) (fab3.getWidth() * 0.25);\n layoutParams3.bottomMargin -= (int) (fab3.getHeight() * 1.7);\n fab3.setLayoutParams(layoutParams3);\n fab3.startAnimation(hide_fab_3);\n fab3.setClickable(false);\n }",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"@Override\n\tpublic void onShowPress(MotionEvent e) {\n\n\t}",
"public void onClick(View v) {\n\n switch (v.getId()) {\n case R.id.fab1_rsd:\n //aux = \"Fab 1 clicked\";\n Intent it_home_rmlCadastro = new Intent(getContext(), RMLCadastro.class);\n startActivity(it_home_rmlCadastro);\n break;\n case R.id.fab2_rsd:\n //aux = \"Fab 2 clicked\";\n Intent it_home_rsdCadastro = new Intent(getContext(), RSDCadastro.class);\n startActivity(it_home_rsdCadastro);\n break;\n }\n\n //Toast.makeText(getActivity(), aux, Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onShowPress(MotionEvent e) {\n\n }",
"private void showFABMenu(){\n isFABOpen=true;\n rotateFabForward();\n fab1.show();\n labelFab1.setVisibility(View.VISIBLE);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tClickFN();\n\t\t\t}",
"void clickFmFromMenu();",
"@OnClick(R.id.floating_button_go)\r\n public void floatingButtonClick(){\n if(imIn){\r\n floatingButton.setImageDrawable(getResources().getDrawable(R.drawable.baseline_check_circle_grey_48));\r\n UserHelper.updateLunchId(getCurrentUser().getUid(), \"\").addOnCompleteListener(new OnCompleteListener<Void>() {\r\n @Override\r\n public void onComplete(@NonNull Task<Void> task) {\r\n UserHelper.updateLunchName(getCurrentUser().getUid(), \"\");\r\n RestaurantHelper.deleteLuncherId(currentRest.getPlaceId(), getCurrentUser().getUid());\r\n }\r\n }).addOnFailureListener(this.onFailureListener());\r\n imIn = false;\r\n // - Update the lunching restaurant of current user and update his pending intent for notification with a valid Restaurant object\r\n mNotificationAlarm.updateLunchingRestaurant(null);\r\n\r\n } else {\r\n floatingButton.setImageDrawable(getResources().getDrawable(R.drawable.baseline_check_circle_green_48));\r\n UserHelper.updateLunchId(getCurrentUser().getUid(), currentRest.getPlaceId()).addOnCompleteListener(new OnCompleteListener<Void>() {\r\n @Override\r\n public void onComplete(@NonNull Task<Void> task) {\r\n UserHelper.updateLunchName(getCurrentUser().getUid(), currentRest.getName());\r\n RestaurantHelper.getRestaurantsCollection().get().addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() {\r\n @Override\r\n public void onComplete(@NonNull Task<QuerySnapshot> task) {\r\n for(DocumentSnapshot docSnap : task.getResult()){\r\n RestaurantHelper.deleteLuncherId(docSnap.getId(), getCurrentUser().getUid());\r\n }\r\n RestaurantHelper.addLuncherId(currentRest.getPlaceId() , getCurrentUser().getUid());\r\n }\r\n });\r\n }\r\n }).addOnFailureListener(this.onFailureListener());\r\n imIn = true;\r\n // - Update the lunching restaurant of current user and update his pending intent for notification with a valid Restaurant object\r\n mNotificationAlarm.updateLunchingRestaurant(currentRest);\r\n }\r\n }",
"@Override\r\n public void onShowPress(MotionEvent e)\r\n {\n }",
"@Override\n public void onShowPress(MotionEvent e) {\n\n }",
"public void onButtonAPressed();",
"private void showFABMenu(){\n isFABOpen=true;\n\n layoutFabProject.setVisibility(View.VISIBLE);\n layoutFabNote.setVisibility(View.VISIBLE);\n layoutFabTask.setVisibility(View.VISIBLE);\n\n layoutFabProject.animate().translationY(-getResources().getDimension(R.dimen.standard_55));\n layoutFabNote.animate().translationY(-getResources().getDimension(R.dimen.standard_100));\n layoutFabTask.animate().translationY(-getResources().getDimension(R.dimen.standard_145));\n }",
"@Override\n public void onShowPress(MotionEvent e) {\n }",
"private void manageFAB() {\n final ImageView audioTrack = new ImageView(this);\n audioTrack.setImageResource(R.drawable.audiotrack);\n\n mFloatingActionButton = new HMVFloatingActionButton.Builder(this).setPosition(HMVFloatingActionButton.POSITION_CENTER_CENTER).setContentView(audioTrack).build();\n\n final SubActionButton.Builder itemBuilder = new SubActionButton.Builder(this);\n\n //PAUSE\n final ImageView pause = new ImageView(this);\n pause.setImageResource(R.drawable.pause);\n final SubActionButton pauseButton = itemBuilder.setContentView(pause).build();\n pauseButton.setOnClickListener(buildPauseOnClickListener());\n\n //PLAY\n final ImageView play = new ImageView(this);\n play.setImageResource(R.drawable.play);\n final SubActionButton playButton = itemBuilder.setContentView(play).build();\n playButton.setOnClickListener(buildPlayOnClickListener());\n\n //REPEAT ONE\n final ImageView repeatOne = new ImageView(this);\n repeatOne.setImageResource(R.drawable.repeat_one);\n final SubActionButton repeatOneButton = itemBuilder.setContentView(repeatOne).build();\n repeatOneButton.setOnClickListener(buildRepeatOneOnClickListener());\n\n //HEARING\n final ImageView hearing = new ImageView(this);\n hearing.setImageResource(R.drawable.hearing);\n final SubActionButton hearingButton = itemBuilder.setContentView(hearing).build();\n hearingButton.setOnClickListener(buildHearingOnClickListener());\n\n //SHUFFLE\n final ImageView shuffle = new ImageView(this);\n shuffle.setImageResource(R.drawable.shuffle);\n final SubActionButton shuffleButton = itemBuilder.setContentView(shuffle).build();\n shuffleButton.setOnClickListener(buildShuffleOnClickListener());\n\n //SKIP NEXT\n final ImageView skipNext = new ImageView(this);\n skipNext.setImageResource(R.drawable.skip_next);\n final SubActionButton skipNextButton = itemBuilder.setContentView(skipNext).build();\n skipNextButton.setOnClickListener(buildSkipNextOnClickListener());\n\n //SKIP PREVIOUS\n final ImageView skipPrevious = new ImageView(this);\n skipPrevious.setImageResource(R.drawable.skip_previous);\n final SubActionButton skipPreviousButton = itemBuilder.setContentView(skipPrevious).build();\n skipPreviousButton.setOnClickListener(buildSkipPreviousOnClickListener());\n\n //STOP\n final ImageView stop = new ImageView(this);\n stop.setImageResource(R.drawable.stop);\n final SubActionButton stopButton = itemBuilder.setContentView(stop).build();\n stopButton.setOnClickListener(buildStopOnClickListener());\n\n //POWER\n final ImageView power = new ImageView(this);\n power.setImageResource(R.drawable.power);\n final SubActionButton powerButton = itemBuilder.setContentView(power).build();\n powerButton.setOnClickListener(buildPowerOnClickListener());\n\n //INFORMATION\n final ImageView information = new ImageView(this);\n information.setImageResource(R.drawable.information);\n final SubActionButton informationButton = itemBuilder.setContentView(information).build();\n informationButton.setOnClickListener(buildInformationOnClickListener());\n\n final FloatingActionMenu actionMenu = new FloatingActionMenu.Builder(this)\n .addSubActionView(informationButton)\n .addSubActionView(shuffleButton)\n .addSubActionView(playButton)\n .addSubActionView(stopButton)\n .addSubActionView(hearingButton)\n .addSubActionView(pauseButton)\n .addSubActionView(skipNextButton)\n .addSubActionView(skipPreviousButton)\n .addSubActionView(repeatOneButton)\n .addSubActionView(powerButton)\n .attachTo(mFloatingActionButton).setStartAngle(30).setEndAngle(330).build();\n\n }",
"protected void setOnClickFABListener(View.OnClickListener listener){\n mFAB.setOnClickListener(listener);\n }",
"void onSingleClick( View view);",
"@TargetApi(Build.VERSION_CODES.LOLLIPOP)\n @OnClick(R.id.fab) void openFab() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n newConnections.setVisibility(View.VISIBLE);\n newConnections.setTranslationY(0);\n\n final float fabRadius = fab.getWidth() / 2f;\n ViewAnimationUtils.createCircularReveal(newConnections,\n (int) (fab.getX() + fabRadius),\n (int) (fab.getY() + fabRadius),\n fabRadius,\n newConnections.getHeight() + newConnections.getWidth() / 2)\n .start();\n\n // we *could* put this into the layout so it gets revealed as well...\n UiUtil.animateStatusBarColor(\n getWindow(),\n R.color.primary_dark_material_dark,\n R.color.primary_dark_material_light\n );\n\n } else {\n newConnections.setAlpha(0);\n newConnections.setVisibility(View.VISIBLE);\n newConnections.animate().alpha(1);\n }\n }",
"private void toggleFab() {\n if (navItemIndex == 0)\n fab.show();\n else\n fab.hide();\n }",
"private void toggleFab() {\n if (navItemIndex == 0)\n fab.show();\n else\n fab.hide();\n }",
"private void toggleFab() {\n if (navItemIndex == 0)\n fab.show();\n else\n fab.hide();\n }",
"@Override\n public void onShowPress(MotionEvent e) {\n Log.d(TAG, \"onShowPress\");\n }",
"public void clickOnFridge() {\n click(getElementFromList(containerFrigde, 0));\n }",
"@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\tbuttonToLeft.setImageDrawable(getResources().getDrawable(R.drawable.toleft1));\n\t\t\tbuttonToRight.setImageDrawable(getResources().getDrawable(R.drawable.toright));\n\t\t\taction.removeAllViews();\n\t\t\taction.addView(first);\n//\t\t\tshowInf = (TextView)findViewById(R.id.InfTextView);\n// \t\tshowInf.setText(\"您输入的选项为:\"+s);\n\t\t}",
"public void notifyFiamClick() {\n FiamListener fiamListener2 = this.fiamListener;\n if (fiamListener2 != null) {\n fiamListener2.onFiamClick();\n }\n }",
"public void onFavouritesIconPressed() {\n if (currentAdvertIsFavourite()) {\n dataModel.removeFromFavourites(advertisement);\n view.setIsNotAFavouriteIcon();\n } else {\n dataModel.addToFavourites(advertisement);\n view.setIsAFavouriteIcon();\n }\n }",
"@Override\n public void onScrollChanged(int scrollY, boolean firstScroll, boolean dragging) {\n float flexibleRange = mFlexibleSpaceImageHeight - mActionBarSize;\n int minOverlayTransitionY = mActionBarSize - mOverlayView.getHeight();\n ViewHelper.setTranslationY(mOverlayView, ScrollUtils.getFloat(-scrollY, minOverlayTransitionY, 0));\n ViewHelper.setTranslationY(mImageView, ScrollUtils.getFloat(-scrollY / 2, minOverlayTransitionY, 0));\n\n // Change alpha of overlay\n ViewHelper.setAlpha(mOverlayView, ScrollUtils.getFloat((float) scrollY / flexibleRange, 0, 1));\n\n // Translate FAB\n int maxFabTranslationY = mFlexibleSpaceImageHeight - mFab.getHeight() / 2;\n float fabTranslationY = ScrollUtils.getFloat(\n -scrollY + mFlexibleSpaceImageHeight - mFab.getHeight() / 2,\n mActionBarSize - mFab.getHeight() / 2,\n maxFabTranslationY);\n if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {\n // On pre-honeycomb, ViewHelper.setTranslationX/Y does not set margin,\n // which causes FAB's OnClickListener not working.\n FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mFab.getLayoutParams();\n lp.leftMargin = mOverlayView.getWidth() - mFabMargin - mFab.getWidth();\n lp.topMargin = (int) fabTranslationY;\n mFab.requestLayout();\n } else {\n ViewHelper.setTranslationX(mFab, mOverlayView.getWidth() - mFabMargin - mFab.getWidth());\n ViewHelper.setTranslationY(mFab, fabTranslationY);\n }\n\n // Show/hide FAB\n if (fabTranslationY < mFlexibleSpaceShowFabOffset) {\n hideFab();\n } else {\n showFab();\n }\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onClick(View v) {\n showKeyboard();\n }",
"public void clickIconViewButton() {\n\t\tfilePicker.stickyButton(locIconBtn);\n\t}",
"public void onClicked();",
"@Override\n public void onClick(View view) {\n if(!searchEnabled)\n {\n assert toolbar != null;\n toolbar.animate().alpha(0.0f).setDuration(600);\n toolbar.setVisibility(View.GONE);\n floatingSearchView.animate().alpha(1.0f);\n floatingSearchView.setVisibility(View.VISIBLE);\n fab.setImageDrawable(ContextCompat.getDrawable(MainActivity.this,R.drawable.ic_clear));\n fab.animate().rotation(180)\n .setDuration(600)\n .start();\n searchEnabled = true;\n }\n else\n {\n floatingSearchView.animate().alpha(0.0f).setDuration(600);\n floatingSearchView.setVisibility(View.GONE);\n assert toolbar != null;\n toolbar.animate().alpha(1.0f);\n toolbar.setVisibility(View.VISIBLE);\n fab.setImageDrawable(ContextCompat.getDrawable(MainActivity.this,R.drawable.ic_search));\n fab.animate().rotation(0).setDuration(600).start();\n searchEnabled = false;\n\n }\n\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t}",
"@Override\r\n\tpublic void onShowPress(MotionEvent e) {\n\t\tSystem.out.println(\"onShowPress\");\r\n\t}",
"@Override\n public void onClick(View v) {\n switch (v.getId()) {\n case R.id.activityMain_FloatingActionButton_add:\n if(UserService.getInstance().isAuthorization()){\n startActivity(new Intent(this, CreateScenActivity.class));\n } else {\n DialogFactory.showAttention(this, getString(R.string.dialog_login_or_register),\n getString(R.string.dialog_btn_login), onClickDialogAuthorization,\n getString(R.string.dialog_btn_register), onClickDialogRegistration,\n getString(R.string.dialog_btn_cancel), onClickDialogCancel);\n }\n\n }\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t}",
"public void onClick(View arg0) {\n\t\t\t\t\n\t\t\t}",
"private void setFab(View view){\n fab = view.findViewById(R.id.fab_add_item);\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n getFragment(new AddShoppingListItemFragment());\n // make elements of ShoppingListFragment invisible\n fab.setVisibility(View.GONE);\n mRecyclerView.setVisibility(View.GONE);\n }\n });\n }",
"private void showFab() {\n if (!isFabButtonShowing) {\n isFabButtonShowing = true;\n // Set the content view to 0% opacity but visible, so that it is visible\n // (but fully transparent) during the animation.\n fabCalculate.setAlpha(0f);\n fabCalculate.setVisibility(View.VISIBLE);\n\n // Animate the content view to 100% opacity, and clear any animation\n // listener set on the view.\n fabCalculate.animate()\n .alpha(1f)\n .setDuration(MainActivity.mShortAnimationDuration)\n .setListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator animation) {\n fabCalculate.show();\n }\n });\n }\n }",
"@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\tbuttonToLeft.setImageDrawable(getResources().getDrawable(R.drawable.toleft));\n\t\t\tbuttonToRight.setImageDrawable(getResources().getDrawable(R.drawable.toright1));\n\t\t\taction.removeAllViews();\n\t\t\taction.addView(second);\n//\t\t\tdraw.setDrawItem(list);\n\t\t\tdraw.setDrawView();\n\t\t\t\n//\t\t\tshowInf = (TextView)findViewById(R.id.InfTextView);\n// \t\tshowInf.setText(\"您输入的选项为:\"+s);\n\t\t}",
"@Override\n public void onClick(View v) {\n\n FavActionUtility favActionUtility = new FavActionUtility(getActivity());\n\n try {\n switch (v.getId()) {\n case R.id.text_phone:\n favActionUtility.dial(mPhoneField.getText().toString());\n break;\n case R.id.text_address:\n favActionUtility.mapOf(mAddressField.getText().toString(), mCityField.getText().toString());\n break;\n case R.id.text_yelp:\n favActionUtility.yelpSite(mYelpField.getText().toString());\n break;\n }\n } catch (Exception e) {\n favActionUtility.showErrorMessageInDialog(e.getMessage());\n e.printStackTrace();\n }\n\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\n\t\t\t}",
"@Override\n\tpublic void onClick(View arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onClick(View arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onClick(View arg0) {\n\t\t\n\t}",
"@Override\r\n\tpublic void onClick(View arg0) {\n\t\t\r\n\t}",
"@Override\n public void onClick(View v) {\n int id = v.getId();\n\n switch (id) {\n case R.id.fab:\n RuleTypeDialogFragment.newInstance().show(getActivity().getSupportFragmentManager(), getTitle());\n break;\n }\n }",
"@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t}",
"public void clickDetailViewButton() {\n\t\tfilePicker.stickyButton(locDetailBtn);\n\t}",
"@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent doopn = new Intent(Dish.this, Done.class);\r\n\t\t\t\tstartActivity(doopn);\r\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tstartFades();\n\t\t\t}",
"@Override\n public void onClick(View view) {\n switch (view.getId()) {\n\n // If the addWeight FAB is clicked\n case R.id.weightTableAddButton:\n if (mSelectedWeightPosition != RecyclerView.NO_POSITION) {\n mActionMode.finish();\n }\n Navigation.findNavController(getView()).navigate(R.id.navigation_add_weight);\n break;\n default:\n if (mActionMode != null) {\n mActionMode.finish();\n }\n break;\n }\n }"
] | [
"0.72470295",
"0.7088501",
"0.7080515",
"0.69668365",
"0.6948047",
"0.6842027",
"0.67841536",
"0.6724057",
"0.66224307",
"0.6602258",
"0.65756595",
"0.6556232",
"0.6484522",
"0.64840627",
"0.6469924",
"0.6276454",
"0.62204075",
"0.61843",
"0.618328",
"0.61708283",
"0.61701345",
"0.61701345",
"0.61701345",
"0.61612153",
"0.6156342",
"0.61539793",
"0.6146603",
"0.61453605",
"0.61330545",
"0.61079395",
"0.60951054",
"0.60914564",
"0.60914564",
"0.608371",
"0.60732114",
"0.60732114",
"0.60732114",
"0.60732114",
"0.60732114",
"0.6063709",
"0.6063709",
"0.6063709",
"0.6063709",
"0.6063709",
"0.6063709",
"0.6063709",
"0.60630083",
"0.60552216",
"0.60448354",
"0.6041468",
"0.60358316",
"0.6029914",
"0.6027734",
"0.60007495",
"0.5999477",
"0.5990264",
"0.59888005",
"0.59713805",
"0.5941203",
"0.59406155",
"0.5928628",
"0.59164935",
"0.59164935",
"0.59164935",
"0.58827",
"0.58693725",
"0.5867167",
"0.58642554",
"0.5862212",
"0.58531076",
"0.58463347",
"0.5844973",
"0.5844973",
"0.5844973",
"0.58447266",
"0.58353716",
"0.5808923",
"0.57968915",
"0.57844067",
"0.57844067",
"0.57844067",
"0.57844067",
"0.57797986",
"0.57725465",
"0.5763979",
"0.5757146",
"0.5751511",
"0.5750458",
"0.5746663",
"0.5746237",
"0.57415426",
"0.5737908",
"0.5737908",
"0.5737908",
"0.5737593",
"0.5733434",
"0.5727809",
"0.5725317",
"0.5712031",
"0.56858605",
"0.56775784"
] | 0.0 | -1 |
Is abandoned object tracking being used? If this is true the implementation will need to record the stack trace of the last caller to borrow this object. | void setLogAbandoned(boolean logAbandoned); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void isDeceased(){\r\n\t\t//here is some code that we do not have access to\r\n\t}",
"void markAbandoned();",
"@Override\n\tpublic boolean isLastUse(IIntermediate by) {\n\t\treturn heldObj.isLastUse(by);\n\t}",
"static void recordLeakNonRefCountingOperation(ResourceLeakTracker<ByteBuf> leak)\r\n/* 46: */ {\r\n/* 47: 63 */ if (!ACQUIRE_AND_RELEASE_ONLY) {\r\n/* 48: 64 */ leak.record();\r\n/* 49: */ }\r\n/* 50: */ }",
"@Override\n public boolean callCheck() {\n return last == null;\n }",
"public boolean takeBugreportOnInvocationEnded();",
"public void shouldNotGc() {\n reachabilityReferenceChain = new Reference(\n new SoftReference(\n new Reference(\n new WeakReference(\n new SoftReference(\n new PhantomReference(new Object(), referenceQueue))))));\n }",
"public synchronized void check() {\n if (stack == null) {\n stack = Thread.currentThread().getStackTrace();\n } else {\n IllegalStateException ex =\n new IllegalStateException(\"This is the stack of the previous call\");\n ex.setStackTrace(stack);\n throw ex;\n }\n }",
"public boolean borrowed()\r\n\t{\n\t\treturn !(currentlyBorrowed == null);\r\n\t}",
"public boolean useHistoryAnomaly() {\n return false;\n }",
"@Override\n\tpublic boolean isRefush() {\n\t\treturn false;\n\t}",
"public boolean getClassDebugInfo();",
"private void noteExpiredLease() {\n if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) {\n logger.trace(LogMarker.DLS_VERBOSE, \"[noteExpiredLease] {}\", thread);\n }\n if (expiredLeases == null) {\n expiredLeases = new WeakHashMap();\n }\n expiredLeases.put(thread, null);\n }",
"boolean hasKeepAlive();",
"public void trackActivation() {\n track(\"_activation\");\n }",
"@Override\n public void retrack() {\n }",
"public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }",
"private boolean serializeReference(final Object object, final StringBuffer buffer)\n {\n Iterator<?> iterator;\n int index;\n boolean isReference;\n\n // Don't allow references for simple types because here PHP and\n // Java are VERY different and the best way it to simply disallow\n // References for these types\n if (object instanceof Number || object instanceof Boolean ||\n object instanceof String)\n {\n return false;\n }\n\n iterator = this.history.iterator();\n index = 0;\n isReference = false;\n while (iterator.hasNext())\n {\n if (iterator.next() == object)\n {\n buffer.append(\"R:\");\n buffer.append(index + 1);\n buffer.append(';');\n isReference = true;\n break;\n }\n index++;\n }\n return isReference;\n }",
"public boolean hasBeenVisited() {\n\t\treturn visited; // Replace with your code\n\t}",
"public boolean hasCallerData() {\n return false;\n }",
"protected boolean trackable() {\n return Boolean.TRUE;\n }",
"boolean hasFenced();",
"public void hasLost() {\n\t\tthis.hasLost = true;\n\t}",
"@SuppressWarnings(\"unchecked\")\n public boolean stillExists(Object obj) {\n \treturn true;\n }",
"private void checkAndAddReferenceFrame(ReferenceFrame referenceFrame)\n {\n checkAndAddReferenceFrame(referenceFrame, referenceFrame.getNameBasedHashCode());\n }",
"boolean hasObjectTrackingConfig();",
"boolean hasRetainFlag();",
"public void IsInUse() {\n\t\tSystem.out.println(\"Table being cleaned, cannot be used.\");\n\t}",
"public boolean WasVisited() { return _visited; }",
"protected final void _verifyAlloc(Object buffer)\n/* */ {\n/* 269 */ if (buffer != null) throw new IllegalStateException(\"Trying to call same allocXxx() method second time\");\n/* */ }",
"private void checkIfAlive() {\n synchronized (this) {\n if (!mIsAlive) {\n Log.e(LOG_TAG, \"use of a released dataHandler\", new Exception(\"use of a released dataHandler\"));\n //throw new AssertionError(\"Should not used a MXDataHandler\");\n }\n }\n }",
"public boolean isTracing();",
"public final boolean isAlive() { return true; }",
"@Override\r\n\tpublic boolean isVisited() {\n\t\treturn false;\r\n\t}",
"public boolean isCommitted() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic void preBacktrack() {\n\t\t\n\t}",
"public boolean notAlive() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"notAlive ( ) called \");\r\n }\r\n\r\n return !alive();\r\n }",
"public boolean wasJustReleased() {\n\t\treturn (!mNow && mLast);\n\t}",
"public final boolean tryOwn() {\n return own(this) == this;\n }",
"public boolean isTimestampUsed() {\n return trackLastUsed;\n }",
"public boolean isStuckCall(){\n return this.stuckCall;\n }",
"@Override\n\tpublic boolean erTom() {\n\t\treturn (bak == null);\n\t}",
"public void recycle(Object object)\r\n/* 180: */ {\r\n/* 181:206 */ if (object != this.value) {\r\n/* 182:207 */ throw new IllegalArgumentException(\"object does not belong to handle\");\r\n/* 183: */ }\r\n/* 184:209 */ this.stack.push(this);\r\n/* 185: */ }",
"public void trackReferral() {\n track(\"_referral\");\n }",
"private void onAccess() {\n ctx.itHolder().checkWeakQueue();\n\n checkRemoved();\n }",
"public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}",
"public boolean hasReferences() {\n\t\treturn this.refCounter > 0;\n\t}",
"abstract protected void _log(TrackingActivity activity) throws Exception;",
"@Trace(excludeFromTransactionTrace = true, leaf = true)\n private void tracedActivityFromFlyweight() {\n TracedActivity tracedActivity = AgentBridge.getAgent().getTransaction().createAndStartTracedActivity();\n Assert.assertTrue(tracedActivity instanceof NoOpSegment);\n }",
"public boolean refCountDown() {\n\t\treferenceCounter--;\n\t\treturn (referenceCounter > 0) ? true : false;\n\t}",
"boolean hasRef();",
"protected boolean isObjectHeld() { return objHeld; }",
"public static void getStackOverFlowErrorNoRecursion() {\n LOGGER.info(String.format(MESSAGE, \"StackOverflowError\", \"instantiating object whose constructor instantiates the object\"));\n new StackOverFlowObject();\n }",
"public FileTrackerConflictLog() {\n\t\taddedItems = new ArrayList<>();\n\t\tremovedItems = new ArrayList<>();\n\t\tsummary = new StringBuilder();\n\t}",
"public boolean isBeingUsed()\n\t{\n\t\treturn usedBy != null;\n\t}",
"public abstract long getTrace();",
"@Override\n\tprotected void finalize() {\n\t\tif(refcount>0){\n\t\t\tprint(\"Error \"+refcount+\"Shared \"+id+\"objects in use\");\n\t\t}\n\t}",
"boolean isBeingUsed() {\n return usageCount > 0;\n }",
"@Override\n public boolean isCommitted() {\n return false;\n }",
"public void memoryLeakDetector() {\n\t\ttry {\n\t\tint i = 0;\n\n\t\tUberStatement s;\n\t\tint gameClock = God.gameClock;\n\t\twhile(i<stmtPool.size()) {\n\t\t\ts = stmtPool.get(i);\n\t\t\t\n\t\t\t\tif(s.isTaken()&&s.getLastOpenedTick()<(gameClock-10)) {\n\t\t\t\t\t// fuck this shit.\n\t\t\t//\t\tSystem.out.println(\"releasing \"+ stmtPool.get(i) + \" due to a memory leak. It was opened at \" + stmtPool.get(i).getLastOpenedTick() + \" and gameClock is now \" + God.gameClock);\n\t\t\t\t\tstmtPool.get(i).close(); // by doing this we don't kill it immediately, it has more time to be taken, maybe?\n\t\t\t\t//\tstmtPool.remove(i);\n\t\t\t\t\t//i--;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void weakReference_holdingRealObj()\n {\n int counter=0;\n //====NOTE=====>>> RSN how weak reference is created\n WeakReference<ReferenceExample> ex = new WeakReference<ReferenceExample>(new ReferenceExample(\"WeakRef2\"));\n System.out.println(\"Weak reference before GC...\" + \"Origin=\" + ex.get().getOrigin());\n ReferenceExample realEx = ex.get();\n \n //while(ex.get()!=null)\n while(counter <10)\n {\n counter++;\n System.gc();\n }\n System.out.println(\"Weak reference after:: \" + counter +\" GCs. Value after GC:\" + ex.get());\n }",
"public boolean isReferencesEventPhase() {\n return getFlow().isReferencesEventPhase();\n }",
"private void wtfIfInLock() {\n if (Thread.holdsLock(mLockDoNoUseDirectly)) {\n Slogf.wtfStack(LOG_TAG, \"Shouldn't be called with DPMS lock held\");\n }\n }",
"public boolean isReleasable() { return isDone(); }",
"public static boolean isTrace() {\n return getInstance().trace;\n }",
"@Override\n\tpublic boolean isCommitted() {\n\t\treturn false;\n\t}",
"@Override\n public final boolean isAlive() {\n return safetyHelper.isAlive();\n }",
"@Override\n\tpublic boolean isAlive() {\n\t\tif(unitList.size()==0) {\n\t\t\tlogger.close();\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t\treturn true;\n\t}",
"Object getTrace();",
"public boolean hasBeenAcquired(){\r\n\t\treturn !(acquiredBy == null);\r\n\t}",
"boolean isBranchTaken();",
"@Override\n public boolean trackExternalConnectionHistory() throws GuacamoleException {\n return getProperty(MySQLGuacamoleProperties.MYSQL_TRACK_EXTERNAL_CONNECTION_HISTORY,\n true);\n }",
"private boolean useWeakThreadLocals() {\n try {\n val property = System.getProperty(\"com.github.bingoohuang.mtcp.useWeakReferences\");\n if (property != null) { // undocumented manual override of WeakReference behavior\n return Boolean.parseBoolean(property);\n }\n\n return getClass().getClassLoader() != ClassLoader.getSystemClassLoader();\n } catch (SecurityException se) {\n return true;\n }\n }",
"public boolean getRefuse() {\n return instance.getRefuse();\n }",
"boolean hasReference();",
"private boolean isConsideredFresh() {\n \t\treturn this.isNew || this.area.getPolygon() == null;\n \t}",
"public void borrow()\n {\n borrowed++;\n }",
"public static final boolean isDebugInfo() { return true; }",
"public boolean isAcquired() {\r\n return false;\r\n }",
"public boolean captureNewInstanceForApplicableMockField(@Nonnull Object mock) { return false; }",
"private static boolean m61442b() {\n if (Looper.getMainLooper().getThread() == Thread.currentThread()) {\n return true;\n }\n return false;\n }",
"public void objectUsed(PoolEvent evt) {\n if (!trackLastUsed) return;\n setLastUsed(evt.getSource());\n }",
"@Override\n\tpublic IBasicObject getAccessedObject() {\n\t\treturn heldObj.getAccessedObject();\n\t}",
"private boolean backTrackUses(ImportPkg ip) {\n if (Debug.packages) {\n Debug.println(\"backTrackUses: check - \" + ip.pkgString());\n }\n if (tempBackTracked.contains(ip.bpkgs)) {\n return false;\n }\n tempBackTracked.add(ip.bpkgs);\n Iterator i = getPackagesProvidedBy(ip.bpkgs).iterator();\n if (i.hasNext()) {\n do {\n\tExportPkg ep = (ExportPkg)i.next();\n\tboolean foundUses = false;\n\tfor (Iterator ii = ep.pkg.importers.iterator(); ii.hasNext(); ) {\n\t ImportPkg iip = (ImportPkg)ii.next();\n\t if (iip.provider == ep) {\n\t if (backTrackUses(iip)) {\n\t foundUses = true;\n\t }\n\t }\n\t}\n\tif (!foundUses) {\n\t checkUses(ep);\n\t}\n } while (i.hasNext());\n return true;\n } else {\n return false;\n }\n }",
"@Override\r\n\tpublic boolean canBeKilled(TeamBug byWhom) {\n\t\treturn true;\r\n\t}",
"public boolean hasIgnoredReferences() {\n\t\treturn !ignoredReferences.isEmpty();\n\t}",
"public Object createObject(ObjectInformation objectInformation) throws FillingException {\n\n // if the next step would introduce a cycle, don't create that object!\n if (!objectInformation.getHistory().isRepeating()) {\n return createObjectInternal(objectInformation);\n } else {\n LOG.warn(String.format(\n \"Detected cycle introduced by class %s (field %s on class %s). Aborting creation of this branch! \",\n objectInformation.getClazz().getName(), objectInformation.getField().getName(),\n objectInformation.getField().getDeclaringClass()));\n\n return null;\n }\n }",
"public boolean isUsedByVerifier() {\r\n return usedByVerifier;\r\n }",
"public static void ClearDebugInfo() { throw Extensions.todo(); }",
"boolean isWeakRelationship();",
"boolean hasHadithReferenceNo();",
"public boolean isActive() {\n/* 134 */ if (this.stub != null) {\n/* 135 */ return this.stub.isActive();\n/* */ }\n/* 137 */ return false;\n/* */ }",
"public boolean hasLost(){\n return this.lost;\n }",
"public abstract boolean isCachable();",
"public boolean isAlive() {\n\t\treturn state;\n\t}",
"public final boolean isReferencedAtMostOnce() {\n return this.getReferences(false, true).size() == 0 && this.getReferences(true, false).size() <= 1;\r\n }",
"TrackInfo() {\n // no-op\n }",
"private void persistHistoricalData() {\n /*\n r4 = this;\n r1 = r4.mInstanceLock;\n monitor-enter(r1);\n r0 = r4.mReadShareHistoryCalled;\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0012;\n L_0x0007:\n r0 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x000f }\n r2 = \"No preceding call to #readHistoricalData\";\n r0.<init>(r2);\t Catch:{ all -> 0x000f }\n throw r0;\t Catch:{ all -> 0x000f }\n L_0x000f:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n throw r0;\n L_0x0012:\n r0 = r4.mHistoricalRecordsChanged;\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n L_0x0017:\n return;\n L_0x0018:\n r0 = 0;\n r4.mHistoricalRecordsChanged = r0;\t Catch:{ all -> 0x000f }\n r0 = 1;\n r4.mCanReadHistoricalData = r0;\t Catch:{ all -> 0x000f }\n r0 = r4.mHistoryFileName;\t Catch:{ all -> 0x000f }\n r0 = android.text.TextUtils.isEmpty(r0);\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0031;\n L_0x0026:\n r0 = SERIAL_EXECUTOR;\t Catch:{ all -> 0x000f }\n r2 = new com.actionbarsherlock.widget.ActivityChooserModel$HistoryPersister;\t Catch:{ all -> 0x000f }\n r3 = 0;\n r2.<init>();\t Catch:{ all -> 0x000f }\n r0.execute(r2);\t Catch:{ all -> 0x000f }\n L_0x0031:\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n goto L_0x0017;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.actionbarsherlock.widget.ActivityChooserModel.persistHistoricalData():void\");\n }",
"@java.lang.Override\n public boolean hasStateInfo() {\n return stateInfo_ != null;\n }",
"boolean getRefuse();"
] | [
"0.58940977",
"0.571945",
"0.5690694",
"0.55569035",
"0.5415824",
"0.535831",
"0.5295954",
"0.52758855",
"0.52438337",
"0.52412623",
"0.5231657",
"0.521162",
"0.5211568",
"0.51963127",
"0.5176783",
"0.51727635",
"0.5171957",
"0.5134595",
"0.51223516",
"0.5118274",
"0.5115765",
"0.5108761",
"0.5107011",
"0.5099906",
"0.50980693",
"0.5090661",
"0.5075968",
"0.50665534",
"0.50647396",
"0.5059104",
"0.5058622",
"0.5051258",
"0.50487155",
"0.5037126",
"0.5035922",
"0.50334966",
"0.50274503",
"0.5012016",
"0.50062627",
"0.49980116",
"0.49747086",
"0.49709922",
"0.49543917",
"0.49481323",
"0.49441203",
"0.49430707",
"0.49394986",
"0.49362636",
"0.49209756",
"0.49158773",
"0.49158102",
"0.48839036",
"0.48807025",
"0.48799774",
"0.4870792",
"0.48609012",
"0.48564067",
"0.4849861",
"0.48493198",
"0.48433024",
"0.4842178",
"0.48363206",
"0.4832266",
"0.4831945",
"0.48216212",
"0.48199424",
"0.48155573",
"0.4813462",
"0.48108327",
"0.4810141",
"0.4802015",
"0.47984487",
"0.47960922",
"0.47932938",
"0.47917974",
"0.47796416",
"0.47751606",
"0.47709596",
"0.476772",
"0.4765386",
"0.47556362",
"0.47537684",
"0.4744022",
"0.47400174",
"0.47377747",
"0.47319672",
"0.47273278",
"0.4717889",
"0.47148755",
"0.4714449",
"0.47097418",
"0.4707656",
"0.47014505",
"0.46956754",
"0.46918005",
"0.46911207",
"0.46892256",
"0.46839827",
"0.46824127",
"0.46801004"
] | 0.5274541 | 8 |
Record the current stack trace as the last time the object was used. | void use(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void printStackTrace() {\n super.printStackTrace(); \n \n if(previous != null){\n previous.printStackTrace();\n }\n }",
"@Override\n\tpublic void traceExit() {\n\n\t}",
"@Override\n public String getTrace() {\n return trace;\n }",
"public void setLastUse() {\n\t\t_lastused = System.currentTimeMillis();\n\t}",
"public abstract long getTrace();",
"public abstract void logTraceTime();",
"public interface StackTrace {\r\n\r\n\t /**\r\n\t * Gets the class from which the stack is tracking.\r\n\t * \r\n\t * @return\t\t\tThe name of the class\r\n\t */\r\n public String getClazz();\r\n\r\n /**\r\n * Sets the class from which the stack should tracking.\r\n * \r\n * @param clazz\tThe name of the class\r\n */\r\n public void setClazz(String clazz);\r\n\r\n /**\r\n * Gets the current message from the StackTrace.\r\n * \r\n * @return\t\t\tThe message\r\n */\r\n public String getMessage();\r\n\r\n /**\r\n * Sets a message to the StackTrace.\r\n * \r\n * @param message\tThe message\r\n */\r\n public void setMessage(String message);\r\n\r\n /**\r\n * Gets the current stack.\r\n * \r\n * @return\t\t\tThe current stack\r\n */\r\n public String getStack();\r\n\r\n /**\r\n * Sets the current stack.\r\n * \r\n * @param stack\tThe new stack\r\n */\r\n public void setStack(String stack);\r\n}",
"public abstract int trace();",
"Object getTrace();",
"@Override\n\tpublic ITrace getCurrentTrace() {\n\t\treturn tracePerThread.get();\n\t}",
"public String getTrace() {\n return trace;\n }",
"@Override\n\tpublic EntryMessage traceEntry() {\n\t\treturn null;\n\t}",
"public static String currentStack()\n {\n StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();\n StringBuilder sb = new StringBuilder(500);\n for (StackTraceElement ste : stackTrace)\n {\n sb.append(\" \").append(ste.getClassName()).append(\"#\").append(ste.getMethodName()).append(\":\").append(ste.getLineNumber()).append('\\n');\n }\n return sb.toString();\n }",
"@Override\n\tpublic synchronized Throwable fillInStackTrace() {\n\t\treturn super.fillInStackTrace();\n\t}",
"@Override\n\tpublic void trace(Marker marker, Object message, Throwable t) {\n\n\t}",
"@Override\n\tpublic void trace(Marker marker, Message msg, Throwable t) {\n\n\t}",
"public void record() {\n stats.record();\n }",
"public synchronized void check() {\n if (stack == null) {\n stack = Thread.currentThread().getStackTrace();\n } else {\n IllegalStateException ex =\n new IllegalStateException(\"This is the stack of the previous call\");\n ex.setStackTrace(stack);\n throw ex;\n }\n }",
"private void reportTestTrace() {\n int lastNewline = mCurrentTestTrace.length();\n while (lastNewline > 0 && mCurrentTestTrace.charAt(lastNewline - 1) == '\\n') {\n lastNewline--;\n }\n mCurrentTestTrace.delete(lastNewline, mCurrentTestTrace.length());\n // Add the trace.\n TestDescription testId = new TestDescription(mCurrentTestFile, mCurrentTestName);\n mTestTraceCache.put(testId, mCurrentTestTrace.toString());\n }",
"protected abstract void trace_end_run();",
"@Override\n\tpublic void trace(Marker marker, String message, Throwable t) {\n\n\t}",
"public static void trace(Object arg0) {\n\n MDC.put(classNameProp, \"\");\n debugLogger.trace(\"{}\", arg0);\n }",
"public void traceStatus() {\n logger.trace(\"jvmThread: {}, jvmMethod: {}\", jvmThread, jvmMethod);\n logger.trace(\"localVariables: {}\", localVariables);\n logger.trace(\"operandStacks: {}\", operandStacks);\n }",
"@External\r\n\t@SharedFunc\r\n\tpublic MetaVar Trace(){throw new RuntimeException(\"Should never be executed directly, there is probably an error in the Aspect-coding.\");}",
"@Override\n\tpublic void trace(Marker marker, CharSequence message, Throwable t) {\n\n\t}",
"private void saveCurrentObject() {\n\t}",
"@Override\r\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\r\n\t}",
"@Override\n\tpublic void trace(Object message, Throwable t) {\n\n\t}",
"public long getTraceTag() {\n return traceTag_;\n }",
"@Override\n\tpublic void trace(Marker marker, String message, Object p0) {\n\n\t}",
"@Override\n\tpublic void trace(Object message) {\n\n\t}",
"@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}",
"@Override\n\tpublic void trace(String message, Throwable t) {\n\n\t}",
"@Override\n\t\t\t\t\t\t\tpublic void log(String msg, int level, Date date, StackTraceElement trace) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}",
"public long getTraceTag() {\n return traceTag_;\n }",
"public void traceOut(String s) {\n\t\tif (guessing>0) {\n\t\t\treturn;\n\t\t}\n\t\tmostRecentParseTreeRoot = (ParseTreeRule)currentParseTreeRoot.pop();\n\t}",
"@Override\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\n\t}",
"@Override\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\n\t}",
"@Override\n\tpublic void trace(String message, Object p0) {\n\n\t}",
"@Override\n public synchronized Throwable fillInStackTrace() {\n return this;\n }",
"public static void traceOn() {\r\n\t\ttraceOn = true;\r\n\t}",
"@Override\n\tpublic void trace(final Object message) {\t\t\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.trace(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.trace(message);\n\t\t}\n\t}",
"@Override\n\tpublic void trace(Marker marker, String message) {\n\n\t}",
"@NotNull\n GenerationTrace getTrace();",
"@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier) {\n\n\t}",
"public static String getCurrentMethodName() {\n Exception e = new Exception();\n StackTraceElement trace = e.fillInStackTrace().getStackTrace()[1];\n String name = trace.getMethodName();\n String className = trace.getClassName();\n int line = trace.getLineNumber();\n return \"[CLASS:\" + className + \" - METHOD:\" + name + \" LINE:\" + line + \"]\";\n }",
"public void trace(Object message)\n/* */ {\n/* 141 */ this.logger.trace(message);\n/* */ }",
"public void setLastUsed(Object object) {\n if (!trackLastUsed) return;\n Object ob = null;\n try {\n ob = factory.translateObject(object);\n } catch (Exception e) {\n throw new IllegalArgumentException(\"Pool \" + getName() + \" does not recognize object for last used time: \" + object);\n }\n ObjectRecord rec = ob == null ? null : (ObjectRecord) objects.get(ob);\n if (rec == null)\n throw new IllegalArgumentException(\"Pool \" + getName() + \" does not recognize object for last used time: \" + object);\n if (rec.isInUse())\n rec.setLastUsed();\n else\n throw new IllegalStateException(\"Cannot set last updated time for an object that's not in use!\");\n }",
"@Override\n\tpublic void trace(Marker marker, Object message) {\n\n\t}",
"private void stamp() {\n mInternalStamp = SystemClock.elapsedRealtime();\n }",
"public void end(){\r\n\t\tmethodStack.pop();\r\n\t}",
"public void trace(Object message)\n/* */ {\n/* 95 */ debug(message);\n/* */ }",
"public void testSetStackTrace() {\n StackTraceElement[] ste = new StackTraceElement[2]; \n ste[0] = new StackTraceElement(\"class\", \"method\", \"file\", -2);\n ste[1] = new StackTraceElement(\"class\", \"method\", \"file\", 1);\n Throwable th = new Throwable();\n th.setStackTrace(ste);\n ste = th.getStackTrace();\n assertEquals(\"incorrect length\", 2, ste.length);\n assertEquals(\"incorrect file name\", \"file\", ste[0].getFileName());\n assertEquals(\"incorrect line number\", -2, ste[0].getLineNumber());\n assertEquals(\"incorrect class name\", \"class\", ste[0].getClassName());\n assertEquals(\"incorrect method name\", \"method\", ste[0].getMethodName());\n assertTrue(\"native method should be reported\", ste[0].isNativeMethod());\n assertEquals(\"incorrect file name\", \"file\", ste[1].getFileName());\n assertEquals(\"incorrect line number\", 1, ste[1].getLineNumber());\n assertEquals(\"incorrect class name\", \"class\", ste[1].getClassName());\n assertEquals(\"incorrect method name\", \"method\", ste[1].getMethodName());\n assertFalse(\"native method should NOT be reported\", ste[1].isNativeMethod());\n ste[1] = null;\n try {\n th.setStackTrace(ste);\n } catch (NullPointerException ex) {\n }\n ste = null;\n try {\n th.setStackTrace(ste);\n } catch (NullPointerException ex) {\n }\n }",
"@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}",
"@Override\n\tpublic void trace(Message msg, Throwable t) {\n\n\t}",
"@Override\n\tpublic void trace(CharSequence message, Throwable t) {\n\n\t}",
"@Override\n\tpublic void trace(Marker marker, Message msg) {\n\n\t}",
"@Override\n public void retrack() {\n }",
"public void trace(String message);",
"public void trace(String message);",
"@Override\n\tpublic void trace(Message msg) {\n\n\t}",
"public static void printStackTrace____V (MJIEnv env, int objRef) {\n \n env.getThreadInfo().printStackTrace(objRef);\n }",
"public void logAfter(JoinPoint joinPoint);",
"protected void trace(String headline, String qName) {\r\n\t\ttee.writelnMessage(headline + Strings.padRight(qName, 25) + \" - context : \" + Strings.padRight(context.name(), 11) + \" - stack : \" + dump(contexts));\r\n\t}",
"void recordExecutionError() {\n hadExecutionError = true;\n }",
"public void trace(Object message, Throwable t)\n/* */ {\n/* 107 */ debug(message, t);\n/* */ }",
"void printStackTrace(PrintWriter writer);",
"public String getTraceInformation() {\n\t\treturn (traceInformation);\n\t}",
"long getTraceTag();",
"public String getOriginalStackTrace() {\n StringBuilder builder = new StringBuilder();\n\n builder.append(this.firstLine).append(\"\\n\");\n for (StackTraceElement element : stackTraceLines) {\n builder.append(\"\\tat \").append(element).append(\"\\n\");\n }\n\n return builder.substring(0, builder.length() - 1);\n }",
"public static void ClearDebugInfo() { throw Extensions.todo(); }",
"public void trace(Object message, Throwable t)\n/* */ {\n/* 130 */ this.logger.trace(message, t);\n/* */ }",
"public static void printStackTrace() {\n if (outputEnabled) {\n synchronized (out) {\n new Exception(\"Diagnostic Stack Trace\").printStackTrace(out); // NORES\n }\n }\n }",
"@Override\n\tpublic void trace(Marker marker, String message, Object... params) {\n\n\t}",
"protected void finalize() throws Throwable\n\t{\n\t\tsuper.finalize();\n\t\tfinaliseLoggerReference();\n\t}",
"@Override\n\tpublic void trace(String message, Object... params) {\n\n\t}",
"public void recordState() {\n this.event = null;\n flowContextInfo.setWaitingNode(currentNode);\n }",
"@Override\n\tpublic void trace(Marker marker, CharSequence message) {\n\n\t}",
"public void mo33170b(Object obj, Throwable th) {\n if (mo33175d()) {\n Log.w(this.f14707a, obj.toString(), th);\n }\n }",
"public final Map[] getStackTrace() {\n return this.stackTrace;\n }",
"public void popFrame(){\n runStack.popFrame();\n }",
"@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1) {\n\n\t}",
"private void printStackTrace(Exception ex, GUILog gl) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n ex.printStackTrace(pw);\n gl.log(sw.toString()); // stack trace as a string\n ex.printStackTrace();\n }",
"@Override\n\tpublic StackTraceElement[] getStackTrace() {\n\t\treturn super.getStackTrace();\n\t}",
"private void tracePath(Node lastVisitedNode)\r\n {\r\n Node pathPtr = lastVisitedNode;\r\n while (pathPtr != Start)\r\n {\r\n pathPtr.isVisited = true;\r\n pathPtr = pathPtr.parent;\r\n }\r\n }",
"private void persistHistoricalData() {\n /*\n r4 = this;\n r1 = r4.mInstanceLock;\n monitor-enter(r1);\n r0 = r4.mReadShareHistoryCalled;\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0012;\n L_0x0007:\n r0 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x000f }\n r2 = \"No preceding call to #readHistoricalData\";\n r0.<init>(r2);\t Catch:{ all -> 0x000f }\n throw r0;\t Catch:{ all -> 0x000f }\n L_0x000f:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n throw r0;\n L_0x0012:\n r0 = r4.mHistoricalRecordsChanged;\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n L_0x0017:\n return;\n L_0x0018:\n r0 = 0;\n r4.mHistoricalRecordsChanged = r0;\t Catch:{ all -> 0x000f }\n r0 = 1;\n r4.mCanReadHistoricalData = r0;\t Catch:{ all -> 0x000f }\n r0 = r4.mHistoryFileName;\t Catch:{ all -> 0x000f }\n r0 = android.text.TextUtils.isEmpty(r0);\t Catch:{ all -> 0x000f }\n if (r0 != 0) goto L_0x0031;\n L_0x0026:\n r0 = SERIAL_EXECUTOR;\t Catch:{ all -> 0x000f }\n r2 = new com.actionbarsherlock.widget.ActivityChooserModel$HistoryPersister;\t Catch:{ all -> 0x000f }\n r3 = 0;\n r2.<init>();\t Catch:{ all -> 0x000f }\n r0.execute(r2);\t Catch:{ all -> 0x000f }\n L_0x0031:\n monitor-exit(r1);\t Catch:{ all -> 0x000f }\n goto L_0x0017;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.actionbarsherlock.widget.ActivityChooserModel.persistHistoricalData():void\");\n }",
"static void assignTrace(Pipe pipe, Throwable ex) {\n\n StackTraceElement[] trace = ex.getStackTrace();\n int traceLength = trace.length;\n\n // Prune the local trace for all calls that occur before (and including) the skeleton.\n String fileName = SkeletonMaker.class.getSimpleName();\n for (int i=trace.length; --i>=0; ) {\n StackTraceElement element = trace[i];\n if (fileName.equals(element.getFileName())) {\n traceLength = i;\n break;\n }\n }\n\n StackTraceElement[] stitch = stitch(pipe);\n\n StackTraceElement[] local = new Throwable().getStackTrace();\n int localStart = 0;\n\n // Prune the local trace for all calls that occur after the stub, or else just prune\n // this \"assignTrace\" method if no stub method is found.\n\n if (local.length != 0) {\n localStart = 1; // prune this method\n }\n\n fileName = StubMaker.class.getSimpleName();\n for (int i=0; i<local.length; i++) {\n StackTraceElement element = local[i];\n if (fileName.equals(element.getFileName())) {\n localStart = i;\n break;\n }\n }\n\n int localLength = local.length - localStart;\n\n var combined = new StackTraceElement[traceLength + stitch.length + localLength];\n System.arraycopy(trace, 0, combined, 0, traceLength);\n System.arraycopy(stitch, 0, combined, traceLength, stitch.length);\n System.arraycopy(local, localStart, combined, traceLength + stitch.length, localLength);\n\n ex.setStackTrace(combined);\n }",
"public final void printStackTrace( PrintWriter writer )\r\n {\r\n super.printStackTrace( writer );\r\n // Only print causal stack traces if pre-JDK 1.4.\r\n if ( !JDK1_4 ) {\r\n Throwable t = getCause();\r\n while ( t != null ) {\r\n writer.println( \"Caused by: \" + t );\r\n t.printStackTrace( writer );\r\n if ( t instanceof CanyonException ) {\r\n t = ( ( CanyonException ) t ).getCause();\r\n } else {\r\n break;\r\n }\r\n }\r\n }\r\n }",
"void trace( Throwable msg );",
"public void flushCurrentLine()\n {\n line = null;\n }",
"private void writeTrace()\r\n {\r\n TGCreator creator = new TGCreator();\r\n TGTrace trace = creator.createTrace(JVM.getVM(), this.stateGraph);\r\n TraceGraphWriter tgWriter = new TraceGraphWriter(trace);\r\n\r\n if (this.traceCompressed)\r\n {\r\n this.filename += ITraceConstants.ZIP_FILE_SUFFIX;\r\n tgWriter.saveCompressed(new File(this.filename));\r\n }\r\n else\r\n {\r\n this.filename += ITraceConstants.XML_FILE_SUFFIX;\r\n tgWriter.save(new File(this.filename));\r\n }\r\n\r\n SymbolicExecutionTracerPlugin.log(Status.INFO,\r\n \"Symbolic Execution Tracer wrote \" + this.numEndStates\r\n + \" traces to \" + this.filename);\r\n }",
"@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier) {\n\n\t}",
"public static LogType TRACE()\n {\n if (g_oTrace == null)\n {\n try\n {\n g_oTrace = new LogType(\"TRACE\", 40);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oTrace;\n }",
"public Production getLastProductionFired () { return lastFiredInst.getProduction(); }",
"@Override\n\tpublic void printStackTrace(PrintWriter s) {\n\t\tsuper.printStackTrace(s);\n\t}",
"public void backup() \r\n\t{\r\n\t\tif (lastc != ALERT) {\r\n\t\t\tholdc = thisc;\r\n\t\t\tthisc = lastc;\r\n\t\t\tlastc = ALERT;\r\n\t\t}\r\n\t}",
"public int getCallStack() {\n\t\treturn this.callStack;\n\t}",
"@Override\n\tpublic synchronized boolean add(TracesMessage obj) {\n\t\tTracesMessage log = obj;\n\t\tlong ts =log.getTime();\n\t\tif (ts < startTime || startTime < 0)\n\t\t\tstartTime = ts;\n\t\treturn super.add(obj);\n\t}",
"static public void displayExceptionStack( boolean display ) {\n Debug.displayExceptionStack=display;\n }",
"@Override\r\n\tprotected void onResume() {\n\t\tstack.setCurrentPhase(TracePhase.MAIN);\r\n\t\tsuper.onResume();\r\n\t}",
"public void printStackTrace(){\n\t\tprintStackTrace(System.err);\n\t}"
] | [
"0.5843357",
"0.57924414",
"0.57324016",
"0.56822497",
"0.56641424",
"0.5643838",
"0.5642515",
"0.561267",
"0.5563064",
"0.5525077",
"0.55117387",
"0.53854406",
"0.5370111",
"0.5352686",
"0.5291458",
"0.52902305",
"0.52792734",
"0.5257291",
"0.52495635",
"0.52392745",
"0.5238448",
"0.52351934",
"0.5211197",
"0.5187289",
"0.5176281",
"0.5173263",
"0.5166612",
"0.51420057",
"0.5140419",
"0.5128352",
"0.5120373",
"0.51126343",
"0.5110849",
"0.5090452",
"0.5078037",
"0.5075394",
"0.50520444",
"0.50520444",
"0.50453144",
"0.5022512",
"0.5018302",
"0.5015685",
"0.50131094",
"0.4991912",
"0.49828845",
"0.49545792",
"0.49542916",
"0.4953049",
"0.49502662",
"0.49452227",
"0.49363613",
"0.49336258",
"0.4932822",
"0.4930603",
"0.49178723",
"0.4912662",
"0.49053895",
"0.48945996",
"0.48884368",
"0.48884368",
"0.4885553",
"0.487462",
"0.48738047",
"0.4867896",
"0.4866153",
"0.48597866",
"0.4856813",
"0.48493",
"0.48394105",
"0.48324862",
"0.48317358",
"0.48220408",
"0.48096108",
"0.48038334",
"0.47956568",
"0.47895774",
"0.4786919",
"0.47799647",
"0.47697696",
"0.47651348",
"0.4762396",
"0.4761676",
"0.47584635",
"0.4749179",
"0.4747553",
"0.4742868",
"0.47408068",
"0.47403944",
"0.47393084",
"0.47381982",
"0.47350252",
"0.4733828",
"0.47315523",
"0.47297063",
"0.4724023",
"0.47125548",
"0.47082642",
"0.46992838",
"0.46931893",
"0.46917439",
"0.46896055"
] | 0.0 | -1 |
Prints the stack trace of the code that borrowed this pooled object and the stack trace of the last code to use this object (if available) to the supplied writer. | void printStackTrace(PrintWriter writer); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void printStackTrace( PrintWriter writer )\r\n {\r\n super.printStackTrace( writer );\r\n // Only print causal stack traces if pre-JDK 1.4.\r\n if ( !JDK1_4 ) {\r\n Throwable t = getCause();\r\n while ( t != null ) {\r\n writer.println( \"Caused by: \" + t );\r\n t.printStackTrace( writer );\r\n if ( t instanceof CanyonException ) {\r\n t = ( ( CanyonException ) t ).getCause();\r\n } else {\r\n break;\r\n }\r\n }\r\n }\r\n }",
"public void printStackTrace(java.io.PrintWriter printWriter) {\r\n\t\tsuper.printStackTrace(printWriter);\r\n\t\tif (nestedException_ != null) {\r\n\t\t\tprintWriter.println(\"Caused by:\");\r\n\t\t\tnestedException_.printStackTrace(printWriter);\r\n\t\t}\r\n\t}",
"public void printStackTrace(final PrintWriter writer) {\n if (nested == null || NestedThrowable.PARENT_TRACE_ENABLED) {\n super.printStackTrace(writer);\n }\n NestedThrowable.Util.print(nested, writer);\n }",
"@Override\n\tpublic void printStackTrace(PrintWriter s) {\n\t\tsuper.printStackTrace(s);\n\t}",
"public void testPrintStackTracePrintWriter_True() {\n Throwable th;\n ByteArrayOutputStream ba = new ByteArrayOutputStream(); \n PrintWriter ps = new PrintWriter(ba, true);\n th = prepareThrowables();\n th.printStackTrace(ps);\n assertEquals(\"incorrect info in printed stack trace\",\n printOutput, ba.toString());\n }",
"@Override\r\n\tpublic void translateToAsm(PrintWriter writer, Memory stack) {\n\t\t\r\n\t}",
"public static void printStackTrace() {\n if (outputEnabled) {\n synchronized (out) {\n new Exception(\"Diagnostic Stack Trace\").printStackTrace(out); // NORES\n }\n }\n }",
"public void printStackTrace(PrintWriter output){\n\t\tsynchronized (output) {\n\t\t\tsuper.printStackTrace(output);\n\t\t\tprintChildren(status, output);\n\t\t}\n\t}",
"public void toString(java.io.PrintWriter writer) {\n writer.print(ToStringLocalization.buildMessage(\"connector\", (Object[])null) + \"=>\" + Helper.getShortClassName(getClass()));\n writer.print(\" \");\n writer.println(ToStringLocalization.buildMessage(\"datasource_name\", (Object[])null) + \"=>\" + getName());\n }",
"private void printStackTraceHerder() {\n PrintStream printStream = System.err;\n synchronized (printStream) {\n System.err.println(super.getMessage() + \"; nested exception is:\");\n this.detail.printStackTrace();\n }\n }",
"@Override\n public void printStackTrace() {\n super.printStackTrace(); \n \n if(previous != null){\n previous.printStackTrace();\n }\n }",
"private String stackTraceToString( Throwable t ){\n StringWriter writer = new StringWriter();\n PrintWriter printWriter = new PrintWriter( writer );\n t.printStackTrace( printWriter );\n printWriter.flush();\n return writer.toString();\n }",
"public static String getPrintStackTrace(Exception e){\n\t\tStringWriter sw = new StringWriter();\n\t\t//PrintWriter integrates with StringWriter\n\t\tPrintWriter pw = new PrintWriter(sw);\n\t\t//This line used to write in catch block then it will writes in the console prints upon the console\n\t\t//Basically prints the data upon the console\n\t\te.printStackTrace(pw);\n\t\t//it will converts to tostring method into some meaningful data\n\t\treturn sw.toString();\n\t}",
"public static void printStackTrace(SQLException e, PrintWriter pw) {\r\n SQLException next = e;\r\n while (next != null) {\r\n next.printStackTrace(pw);\r\n next = next.getNextException();\r\n if (next != null) {\r\n System.out.println(\"Next SQLException:\");\r\n }\r\n }\r\n }",
"@Override\n\tpublic void outputDebugInfo(Writer writer) {\n\t\t\n\t}",
"private String getStackTrace(Exception ex) {\r\n\t\tStringWriter sw = new StringWriter();\r\n\t\tex.printStackTrace(new PrintWriter(sw));\r\n return sw.toString();\r\n\t}",
"public void testPrintStackTracePrintWriter_False() {\n ByteArrayOutputStream ba = new ByteArrayOutputStream(); \n PrintWriter ps = new PrintWriter(ba, false);\n try {\n throw new Exception(\"level1\", new Exception(\"level2\", new Exception(\"level3\", new NullPointerException())));\n } catch (Exception e) {\n e.printStackTrace(ps);\n }\n assertEquals(\"the output should be empty until flush\",\n \"\", ba.toString());\n }",
"private void printStackTrace(Exception ex, GUILog gl) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n ex.printStackTrace(pw);\n gl.log(sw.toString()); // stack trace as a string\n ex.printStackTrace();\n }",
"public void printStackTrace(){\n\t\tprintStackTrace(System.err);\n\t}",
"String exceptionToStackTrace( Exception e ) {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter);\n e.printStackTrace( printWriter );\n return stringWriter.toString();\n }",
"public abstract void mo13750a(Throwable th, PrintWriter printWriter);",
"public static String printStackTrace() {\n StringBuilder sb = new StringBuilder();\n StackTraceElement[] trace = Thread.currentThread().getStackTrace();\n for (StackTraceElement traceElement : trace) {\n sb.append(\"\\t \").append(traceElement);\n sb.append(System.lineSeparator());\n }\n return sb.toString();\n }",
"public void printStackTrace(PrintStream output){\n\t\tsynchronized (output) {\n\t\t\tsuper.printStackTrace(output);\n\t\t\tprintChildren(status, output);\n\t\t}\n\t}",
"private void writeTrace()\r\n {\r\n TGCreator creator = new TGCreator();\r\n TGTrace trace = creator.createTrace(JVM.getVM(), this.stateGraph);\r\n TraceGraphWriter tgWriter = new TraceGraphWriter(trace);\r\n\r\n if (this.traceCompressed)\r\n {\r\n this.filename += ITraceConstants.ZIP_FILE_SUFFIX;\r\n tgWriter.saveCompressed(new File(this.filename));\r\n }\r\n else\r\n {\r\n this.filename += ITraceConstants.XML_FILE_SUFFIX;\r\n tgWriter.save(new File(this.filename));\r\n }\r\n\r\n SymbolicExecutionTracerPlugin.log(Status.INFO,\r\n \"Symbolic Execution Tracer wrote \" + this.numEndStates\r\n + \" traces to \" + this.filename);\r\n }",
"public final void printStackTrace()\r\n {\r\n printStackTrace( System.err );\r\n }",
"public static void printStackTrace(Throwable ex) {\n if (outputEnabled) {\n synchronized (out) {\n ex.printStackTrace(out);\n }\n }\n }",
"public void printStackTrace() {\n printStackTrace(System.err);\n }",
"private String getStackTrace(Throwable throwable) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n throwable.printStackTrace(pw);\n return sw.toString();\n }",
"public static void printWarings(Connection conn, PrintWriter pw) {\r\n if (conn != null) {\r\n try {\r\n printStackTrace(conn.getWarnings(), pw);\r\n } catch (SQLException e) {\r\n printStackTrace(e, pw);\r\n }\r\n }\r\n }",
"@Override\r\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\r\n\t}",
"@Override\n\tpublic void printStackTrace(PrintStream arg0) {\n\t\tsuper.printStackTrace(arg0);\n\t}",
"@Test(timeout = 4000)\n public void test105() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(23);\n classWriter0.toByteArray();\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, 2, \".JAR\", \".JAR\", \".JAR\", (String[]) null, false, false);\n Attribute attribute0 = new Attribute(\"LineNumberTable\");\n methodWriter0.getSize();\n // Undeclared exception!\n try { \n methodWriter0.visitFrame(0, 1, (Object[]) null, 23, (Object[]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.objectweb.asm.jip.MethodWriter\", e);\n }\n }",
"public void dump(PrintWriter pw) {\n dump(pw, true);\n }",
"public void testPrintStackTracePrintStream() {\n Throwable th;\n ByteArrayOutputStream ba = new ByteArrayOutputStream(); \n PrintStream ps = new PrintStream(ba);\n th = prepareThrowables();\n th.printStackTrace(ps);\n assertEquals(\"incorrect info printed in stack trace\",\n printOutput, ba.toString());\n }",
"@Override\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\n\t}",
"@Override\n\tpublic void printStackTrace() {\n\t\tsuper.printStackTrace();\n\t}",
"private String printStackTrace() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"@Override\r\n public void dump ()\r\n {\r\n super.dump();\r\n System.out.println(\" line=\" + getLine());\r\n }",
"static public String generateStackTraceString(Throwable t) {\r\n\t\tStringWriter s = new StringWriter();\r\n\t\tt.printStackTrace(new PrintWriter(s));\r\n\t\treturn s.toString();\r\n\t}",
"public interface CommonUtils {\n\tpublic static String getPrintStackTrace(Exception e){\n\t\t//StringWriter writes upon the string\n\t\tStringWriter sw = new StringWriter();\n\t\t//PrintWriter integrates with StringWriter\n\t\tPrintWriter pw = new PrintWriter(sw);\n\t\t//This line used to write in catch block then it will writes in the console prints upon the console\n\t\t//Basically prints the data upon the console\n\t\te.printStackTrace(pw);\n\t\t//it will converts to tostring method into some meaningful data\n\t\treturn sw.toString();\n\t}\n}",
"String stacktraceToString(Throwable t) {\r\n\t\tStringWriter sw = new StringWriter();\r\n\t\tPrintWriter out = new PrintWriter(sw);\r\n\t\tt.printStackTrace(out);\r\n\t\tout.flush();\r\n\t\treturn sw.toString();\r\n\t}",
"public static void writePrintStackTrace(TestContext context, Throwable e) {\n\t\tcontext.getLogger().error(getPrintStackTraceAsString(e));\n\t}",
"private String toString(final Throwable throwable) {\n final StringWriter writer = new StringWriter();\n final PrintWriter printer = new PrintWriter(writer);\n throwable.printStackTrace(printer);\n return writer.toString();\n }",
"public static String currentStack()\n {\n StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();\n StringBuilder sb = new StringBuilder(500);\n for (StackTraceElement ste : stackTrace)\n {\n sb.append(\" \").append(ste.getClassName()).append(\"#\").append(ste.getMethodName()).append(\":\").append(ste.getLineNumber()).append('\\n');\n }\n return sb.toString();\n }",
"public void guardar(PrintWriter writer) {\n writer.println(posX);\n writer.println(posY);\n }",
"public String getStackTraceString(Throwable tr) {\n if (tr == null) {\n return \"\";\n }\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n tr.printStackTrace(pw);\n return sw.toString();\n }",
"static public String getStackTrace(Exception e) {\n java.io.StringWriter s = new java.io.StringWriter(); \n e.printStackTrace(new java.io.PrintWriter(s));\n String trace = s.toString();\n \n if(trace==null || trace.length()==0 || trace.equals(\"null\"))\n return e.toString();\n else\n return trace;\n }",
"public void codeGen(PrintWriter p){\n\tthis.dotRightOffset = unrollDot();\n\n\tCodegen.p = p;\n\tCodegen.generateIndexed(\"lw\", \"$t0\", \"$fp\", this.dotRightOffset, \"load struct field: \" + myId.name());\n\tCodegen.genPush(\"$t0\");\n }",
"public static String getPrintStackTraceAsString(Throwable e) {\n\t\tStringWriter sw = new StringWriter();\n\t\te.printStackTrace(new PrintWriter(sw));\n\t\treturn sw.toString();\n\t}",
"public static void printStackTrace(SQLException e) {\r\n printStackTrace(e, new PrintWriter(System.err));\r\n }",
"private static void outputThrowable(Throwable cause, AppendingStringBuffer sb,\n\t\t\tboolean stopAtWicketServlet)\n\t{\n\t\tsb.append(cause);\n\t\tsb.append(\"\\n\");\n\t\tStackTraceElement[] trace = cause.getStackTrace();\n\t\tfor (int i = 0; i < trace.length; i++)\n\t\t{\n\t\t\tString traceString = trace[i].toString();\n\t\t\tif (!(traceString.startsWith(\"sun.reflect.\") && i > 1))\n\t\t\t{\n\t\t\t\tsb.append(\" at \");\n\t\t\t\tsb.append(traceString);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tif (stopAtWicketServlet\n\t\t\t\t\t\t&& traceString.startsWith(\"wicket.protocol.http.WicketServlet\"))\n\t\t\t\t{\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"void dumpTraceLine(String s)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"[trace] \"); //$NON-NLS-1$\n\t\tsb.append(s);\n\t\tout(sb.toString());\n\t}",
"public static void writePrintStackTrace(TestContext context, Exception e) {\n\t\tcontext.getLogger().error(getPrintStackTraceAsString(e));\n\t}",
"public java.io.PrintWriter getLogWriter() {\n \tif ( tracer == null) {\n \t return null;\n \t} else {\n \t return tracer.getWriter();\n \t}\n }",
"public interface StackTrace {\r\n\r\n\t /**\r\n\t * Gets the class from which the stack is tracking.\r\n\t * \r\n\t * @return\t\t\tThe name of the class\r\n\t */\r\n public String getClazz();\r\n\r\n /**\r\n * Sets the class from which the stack should tracking.\r\n * \r\n * @param clazz\tThe name of the class\r\n */\r\n public void setClazz(String clazz);\r\n\r\n /**\r\n * Gets the current message from the StackTrace.\r\n * \r\n * @return\t\t\tThe message\r\n */\r\n public String getMessage();\r\n\r\n /**\r\n * Sets a message to the StackTrace.\r\n * \r\n * @param message\tThe message\r\n */\r\n public void setMessage(String message);\r\n\r\n /**\r\n * Gets the current stack.\r\n * \r\n * @return\t\t\tThe current stack\r\n */\r\n public String getStack();\r\n\r\n /**\r\n * Sets the current stack.\r\n * \r\n * @param stack\tThe new stack\r\n */\r\n public void setStack(String stack);\r\n}",
"@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}",
"public static void printStackTrace____V (MJIEnv env, int objRef) {\n \n env.getThreadInfo().printStackTrace(objRef);\n }",
"public void dump(BufferedWriter write) throws IOException\n {\n write.write(toString());\n }",
"public void write(Writer writer) throws TreeException {\n try {\n writer.write(this.toString());\n } catch (IOException e) {\n throw new TreeException(ErrorMessage.O_ERROR_MESSAGE, e);\n }\n }",
"@Override\r\n\t\t\tpublic void setLogWriter(PrintWriter out) throws SQLException {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void setLogWriter(PrintWriter out) throws SQLException {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n public void visitCode() {\n mv.visitFieldInsn(Opcodes.GETSTATIC, \"java/lang/System\", \"out\", \"Ljava/io/PrintStream;\");\n mv.visitLdcInsn( name );\n mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, \"java/io/PrintStream\", \"println\", \"(Ljava/lang/String;)V\", false);\n \n mv.visitCode();\n }",
"public String dump() {\n String result = \"\";\n Iterator stackIt = framePointers.iterator();\n int frameEnd;\n int old;\n int pos = 0;\n frameEnd = (int)stackIt.next();\n if(stackIt.hasNext()) {\n frameEnd = (int)stackIt.next();\n }\n else {\n frameEnd = -1;\n }\n while(pos < runStack.size()) {\n result += \"[\";\n if(frameEnd == -1) {\n while(pos < runStack.size()-1) {\n result += runStack.get(pos) + \",\";\n pos++;\n }\n result += runStack.get(pos)+\"] \";\n pos++;\n }\n else {\n while(pos < frameEnd-1) {\n result += runStack.get(pos) + \",\";\n pos++;\n }\n if(pos < frameEnd){\n result += runStack.get(pos);\n pos++;\n }\n result += \"]\";\n }\n if(stackIt.hasNext()) {\n frameEnd = (int)stackIt.next();\n }\n else {\n frameEnd = -1;\n }\n }\n return result;\n }",
"@Test(timeout = 4000)\n public void test102() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter((-2450));\n String string0 = \"9~\\\"GM0+ ?&-(JmN[0f.\";\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \"`abrPw?i1\");\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, (-2450), \"9~\\\"GM0+ ?&-(JmN[0f.\", \"Fj)3/|(;sZXz$\", \"oc[MfnZM[~MHOK iO\", (String[]) null, false, false);\n Object object0 = new Object();\n classWriter0.newInteger((-2450));\n classWriter0.newDouble((-2450));\n Item item0 = classWriter0.key3;\n // Undeclared exception!\n try { \n methodWriter0.visitFrame((-1), 2, (Object[]) null, 2, (Object[]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.objectweb.asm.jip.MethodWriter\", e);\n }\n }",
"@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}",
"public void setLogWriter(java.io.PrintWriter pwLogWriter) {\n SecurityManager sec = System.getSecurityManager();\n if (sec != null) {\n sec.checkPermission(new SQLPermission(\"setLog\"));\n }\n \n\tif (tracer == null) {\n tracer = new JdbcOdbcTracer();\n }\n\ttracer.setWriter(pwLogWriter);\n }",
"@ScriptyCommand(name = \"dbg-stack\", description =\n \"(dbg-stack [quiet=true|false*])\\n\" +\n \"Print the current debugger stack on *output and return it as the result.\\n\" +\n \"Also see: dbg-expr.\")\n @ScriptyRefArgList(ref = \"no arguments + quiet option\")\n public ModularEval.EvalStack dbgStack(@ScriptyBindingParam(value = \"*output\", unboundException = true) PrintWriter writer,\n @ScriptyParam(\"quiet\") boolean isQuiet)\n throws CommandException {\n checkTrace();\n final ModularEval.EvalStack stack = trace.getStack();\n if (!isQuiet) {\n if (stack != null) writer.print(stack.toString());\n else {\n writer.println(MSG_EMPTYSTACK);\n if (trace.hasResult()) writer.println(MSG_RESULT);\n if (trace.isExcepted()) writer.println(MSG_EXCEPTION);\n }\n }\n return stack;\n }",
"public void output(PrintWriter p) {\n if (compositions == null) {\n p.println(this);\n } else {\n compositions.stream().forEach(p::println);\n }\n }",
"@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier) {\n\n\t}",
"public static void stackTrace() {\n Observable<String> myObservable = Observable.fromCallable(() -> {\n Object value = null;\n return value.toString();\n });\n myObservable.subscribe(item -> System.out.println(\"output = \" + item));\n }",
"public void dump() throws IOException;",
"public void writeOut(PrintWriter pw){}",
"public static String stackTrace(Exception exception) {\n\t\tStringWriter writer = new StringWriter();\n\t\tPrintWriter printWriter = new PrintWriter(writer);\n\t\texception.printStackTrace(printWriter);\n\t\tprintWriter.flush();\n\n\t\tString stackTrace = writer.toString();\n\t\treturn stackTrace;\n\t}",
"void dump(PhoneBill phoneBill, PrintWriter writer) throws IOException {\n try {\n Collection<PhoneCall> list = phoneBill.getPhoneCalls();\n long eTime, sTime, diff;\n writer.println(\"Phone Bill for: \" + phoneBill.customer);\n writer.println(\"Call From: To: Start Time: End Time: Duration(minutes):\\n\");\n for (PhoneCall call : list) {\n writer.print(call.callerNum + \" \" + call.calleeNum + \" \");\n writer.print(new SimpleDateFormat(\"MM/dd/yy hh:mm a\").format(call.getStartTime())\n + \" \");\n writer.print(new SimpleDateFormat(\"MM/dd/yy hh:mm a\").format(call.getEndTime())\n + \" \");\n eTime = call.getEndTime().getTime();\n sTime = call.getStartTime().getTime();\n diff = eTime - sTime;\n writer.println(TimeUnit.MINUTES.convert(diff, TimeUnit.MILLISECONDS) + \"\");\n }\n writer.close();\n } catch (IllegalArgumentException e) {\n throw new IOException(\"There was an error writing the file.\");\n }\n }",
"public void printCoverageOn(PrintWriter pw) {\r\n \r\n \tfor (Map.Entry<Integer,String> e : idMap.entrySet()) {\r\n \t String stateName = e.getValue();\r\n \r\n \t Integer cov = coverage.get(e.getKey());\r\n \t int nVisited = (cov != null) ? cov.intValue() : 0;\r\n\r\n pw.print(\" \");\r\n \r\n if (nVisited == 0) {\r\n pw.print( stateName + \" : not covered\");\r\n if (contains(required, stateName)) {\r\n pw.print(\", REQUIRED\");\r\n }\r\n pw.println();\r\n \r\n } else {\r\n pw.print( stateName + \" : \" + nVisited);\r\n if (contains(forbidden, stateName)){\r\n pw.print(\", FORBIDDEN\"); \r\n }\r\n pw.println();\r\n }\r\n \t}\r\n\t }",
"static String frameToString(RecordedFrame frame, boolean lineNumbers) {\n StringBuilder builder = new StringBuilder();\n RecordedMethod method = frame.getMethod();\n RecordedClass clazz = method.getType();\n if (clazz == null) {\n builder.append(\"<<\");\n builder.append(frame.getType());\n builder.append(\">>\");\n } else {\n builder.append(clazz.getName());\n }\n builder.append(\"#\");\n builder.append(method.getName());\n builder.append(\"()\");\n if (lineNumbers) {\n builder.append(\":\");\n if (frame.getLineNumber() == -1) {\n builder.append(\"(\" + frame.getType() + \" code)\");\n } else {\n builder.append(frame.getLineNumber());\n }\n }\n return builder.toString();\n }",
"public static String getStackTraceAsString(Throwable t) {\n Writer result = new StringWriter();\n PrintWriter printWriter = new PrintWriter(result);\n t.printStackTrace(printWriter);\n return result.toString();\n }",
"public String getStackTraceString() {\r\n\t\t// if there's no nested exception, there's no stackTrace\r\n\t\tif (nestedException_ == null)\r\n\t\t\treturn null;\r\n\r\n\t\tStringBuffer traceBuffer = new StringBuffer();\r\n\r\n\t\tif (nestedException_ instanceof WebAppException) {\r\n\r\n\t\t\ttraceBuffer.append(((WebAppException) nestedException_)\r\n\t\t\t\t\t.getStackTraceString());\r\n\t\t\ttraceBuffer.append(\"-------- nested by:\\n\");\r\n\t\t}\r\n\r\n\t\ttraceBuffer.append(stackTraceString_);\r\n\t\treturn traceBuffer.toString();\r\n\t}",
"public static String getStackTrace(Exception aInException) {\n\n StringWriter lStringWriter = new StringWriter();\n aInException.printStackTrace(new PrintWriter(lStringWriter));\n return lStringWriter.toString();\n\n }",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tthrow new NullPointerException();\n\t\t} catch (Exception e) {\n\t\t\tStringWriter sw = new StringWriter();\n\t\t\tPrintWriter pw = new PrintWriter(sw);\n\t\t\te.printStackTrace(pw);\n\n\t\t\tSystem.out.println(sw.toString());\n\t\t}\n\n\t\t// Convert a StackTrace to String using Apache Commons\n\t\ttry {\n\t\t\tthrow new IndexOutOfBoundsException();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getStackTrace());\n\t\t}\n\t}",
"@Override\n\tpublic void trace(MessageSupplier msgSupplier) {\n\n\t}",
"@Test(timeout = 4000)\n public void test091() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter((-2450));\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, (-2450), \"9~\\\"GM0+ ?&-(JmN[0f.\", \"Fj)3/|(;sZXz$\", \"oc[MfnZM[~MHOK iO\", (String[]) null, true, false);\n methodWriter0.visitVarInsn(63, 2);\n FieldWriter fieldWriter0 = classWriter0.firstField;\n Object object0 = new Object();\n Object object1 = new Object();\n methodWriter0.visitFrame(17, (-1299), (Object[]) null, (-2450), (Object[]) null);\n int int0 = MethodWriter.SAME_LOCALS_1_STACK_ITEM_FRAME;\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, true, true);\n methodWriter0.visitTypeInsn(8, \"java/lang/Throwable\");\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"oc[MfnZM[~MHOK iO\");\n Label label0 = new Label();\n methodWriter0.visitFieldInsn(2, \"k!Hb\", \"java/lang/Throwable\", \"Deprecated\");\n Integer integer0 = new Integer(64);\n methodWriter0.visitLdcInsn(integer0);\n Label label1 = new Label();\n methodWriter0.visitLabel(label1);\n methodWriter0.visitLdcInsn(\"oc[MfnZM[~MHOK iO\");\n methodWriter0.visitLineNumber(196, label0);\n assertNotSame(label0, label1);\n }",
"public static String getStackTrace(Throwable t) {\n StringWriter sw = new StringWriter();\n t.printStackTrace(new PrintWriter(sw));\n String stackTrace = sw.toString();\n stackTrace = stackTrace.replaceAll(\"<\", \"<\");\n stackTrace = stackTrace.replaceAll(\">\", \">\");\n\n return stackTrace;\n }",
"protected String getStackTrace( final Throwable throwable, final String format )\n {\n if( null == throwable )\n {\n return \"\";\n }\n return ExceptionUtil.printStackTrace( throwable, m_stackDepth, m_printCascading );\n }",
"@Test(timeout = 4000)\n public void test25() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(218);\n String[] stringArray0 = new String[2];\n stringArray0[0] = \"Label offset position has not been resolved yet\";\n stringArray0[1] = \"'0\";\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, 2, \"tE\", \"Class not found\", \"&h'pH__a\", stringArray0, false, false);\n Object object0 = new Object();\n methodWriter0.visitFrame(76, (-1840700267), stringArray0, (-3070), stringArray0);\n // Undeclared exception!\n try { \n methodWriter0.visitFrame(8, (-1000), stringArray0, (-1000), stringArray0);\n fail(\"Expecting exception: IllegalStateException\");\n \n } catch(IllegalStateException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.objectweb.asm.jip.MethodWriter\", e);\n }\n }",
"public void dump(PrintWriter pen)\n {\n pen.println(\"DUMPING ...\");\n for (int i = 0; i < this.buckets.length; i++)\n {\n AssociationList<K, V> bucket = this.get(i);\n if (bucket != null)\n {\n pen.println(\"BUCKET \" + i);\n bucket.dump(pen);\n } // if the current bucket is not null\n } // for each bucket\n pen.println(\"... DONE\");\n }",
"public String throwableToString(Throwable throwable) {\n if (throwable == null) return \"\";\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n throwable.printStackTrace(pw);\n String stackTrace = sw.toString();\n\n return stackTrace;\n }",
"public static String getStackTrace(Throwable throwable)\n {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter( sw, true );\n throwable.printStackTrace( pw );\n return sw.getBuffer().toString();\n }",
"public void printStackTrace(java.io.PrintStream printStream) {\r\n\t\tsuper.printStackTrace(printStream);\r\n\t\tif (nestedException_ != null) {\r\n\t\t\tprintStream.println(\"Caused by:\");\r\n\t\t\tnestedException_.printStackTrace(printStream);\r\n\t\t}\r\n\t}",
"@Override\r\n\tpublic void setLogWriter(PrintWriter out) throws SQLException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void setLogWriter(PrintWriter out) throws SQLException {\n\t\t\r\n\t}",
"public String toString(){\n String pileString = \"\";\n\n for(int i = 0; i < this.nbObj; i++)\n {\n pileString += i + \": \" + this.objTab[i].toString() + \"\\n\";\n }\n pileString += \"End of Stack\";\n return pileString;\n }",
"@Override\n public String getTrace() {\n return trace;\n }",
"public void serialise(java.io.PrintWriter pw) \n throws IOException {\n serialise(new StreamResult(pw));\n }",
"public String toString() {\n return \"An arrow thrown by \" + thrower;\n }",
"protected void logNonVerbose(StringWriter writer) {\n writeInvocation(perfromedInvocations.get(perfromedInvocations.size() - 1), writer);\n\n // log human consumable trace of activity ids and names\n List<Map<String, String>> activityTrace = collectActivityTrace();\n logActivityTrace(writer, activityTrace);\n }",
"public String getSuppressedStackTrace() {\n final ThrowableProxy[] suppressed = getSuppressedProxies();\n if (suppressed == null || suppressed.length == 0) {\n return \"\";\n }\n final StringBuilder sb = new StringBuilder(\"Suppressed Stack Trace Elements:\\n\");\n for (final ThrowableProxy proxy : suppressed) {\n sb.append(proxy.getExtendedStackTrace());\n }\n return sb.toString();\n }",
"public void setLogWriter(PrintWriter out) throws SQLException\n {\n }",
"@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier) {\n\n\t}",
"void writeJavaScriptRenderer(PrintStream writer);"
] | [
"0.6315103",
"0.6038592",
"0.5991508",
"0.5874826",
"0.5742403",
"0.57311",
"0.57288677",
"0.5714484",
"0.56968415",
"0.5679259",
"0.56124455",
"0.5587076",
"0.54882777",
"0.545002",
"0.5390817",
"0.5320732",
"0.52671397",
"0.52328295",
"0.5227888",
"0.5222673",
"0.5201145",
"0.5200998",
"0.5200861",
"0.5198088",
"0.5155193",
"0.5153511",
"0.51384234",
"0.5124014",
"0.5123382",
"0.50987804",
"0.50617296",
"0.50599307",
"0.5046556",
"0.5017258",
"0.50119895",
"0.50119895",
"0.49799678",
"0.49681363",
"0.4957297",
"0.49373722",
"0.49134043",
"0.48927578",
"0.48684838",
"0.4864623",
"0.48425758",
"0.48352534",
"0.48169988",
"0.4795279",
"0.47783807",
"0.47695303",
"0.47693026",
"0.47683445",
"0.47594008",
"0.4757325",
"0.4734429",
"0.4717561",
"0.47110713",
"0.46949795",
"0.468308",
"0.46806642",
"0.46806642",
"0.46749184",
"0.46649858",
"0.46615618",
"0.46547645",
"0.46544245",
"0.4654245",
"0.46518964",
"0.46500927",
"0.46450436",
"0.4638197",
"0.4636498",
"0.46358648",
"0.46317422",
"0.462293",
"0.46216825",
"0.46197784",
"0.4615818",
"0.46053323",
"0.45929918",
"0.4591321",
"0.458992",
"0.4588002",
"0.4584",
"0.4570094",
"0.4561524",
"0.45533296",
"0.4551985",
"0.45483434",
"0.4544363",
"0.4544363",
"0.45441532",
"0.45419785",
"0.4536104",
"0.45357382",
"0.4535548",
"0.4533091",
"0.45276493",
"0.45263994",
"0.4523545"
] | 0.7446018 | 0 |
Marks the pooled object as abandoned. | void markAbandoned(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void abandon() {\n lock.lock();\n try {\n eligibleSyncs.clear();\n abandoned = true;\n } finally {\n lock.unlock();\n }\n }",
"public void markObjectAsInvalid(Object object) {\n if (deadObjects == null)\n throw new IllegalStateException(\"Tried to use pool before it was Initialized or after it was ShutDown!\");\n deadObjects.add(object); //a synchronized set\n\n }",
"public void forceClose()\n {\n if (_isClosed)\n return;\n \n _isClosed = true;\n \n if (log.isLoggable(Level.FINE))\n log.fine(\"closing pool \" + getName());\n }",
"@Override\n public void releasePermit() {\n balancer.release();\n }",
"void setLogAbandoned(boolean logAbandoned);",
"public void releaseObject(Object object) {\n\n log.debug(\"Pool \" + this + \" object released: \" + object);\n\n Object pooled = null;\n try {\n factory.returnObject(object);//do this first\n pooled = factory.translateObject(object);\n } catch (Exception e) {\n return; // We can't release it if the factory can't recognize it\n }\n if (pooled == null) // We can't release it if the factory can't recognize it\n return;\n boolean removed = false;\n synchronized (objects) {\n ObjectRecord rec = (ObjectRecord) objects.get(pooled);\n if (rec == null) // Factory understands it, but we don't\n throw new IllegalArgumentException(\"Object \" + object + \" is not in pool \" + poolName + \"!\");\n if (!rec.isInUse()) return; // Must have been released by GC?\n if (object instanceof PooledObject)\n ((PooledObject) object).removePoolEventListener(this);\n removed = deadObjects.remove(object);\n rec.setInUse(false);\n if (removed) {\n log.debug(\"Object was dead: \" + object);\n objects.remove(pooled);\n rec.close();\n } // end of if ()\n\n }//end of synch on objects\n if (removed) {\n try {\n factory.deleteObject(pooled);\n } catch (Exception e) {\n log.error(\"Pool \" + this + \" factory (\" + factory.getClass().getName() + \" delete error: \", e);\n }\n fillToMin();\n /*FIXME --MINSIZE\n if(objects.size() < minSize)\n createNewObject(null);\n */\n }\n\n if (removed)\n log.debug(\"Pool \" + this + \" destroyed object \" + object + \".\");\n else\n log.debug(\"Pool \" + this + \" returned object \" + object + \" to the pool.\");\n\n permits.release();\n /*\n if(blocking)\n {\n synchronized(this)\n {\n notify();\n }\n }\n */\n }",
"protected void onDiscard() {\r\n this.setActive(false);\r\n }",
"private void closeIdleTimeoutConnection() {\r\n if (poolState.get() == POOL_NORMAL) {\r\n PooledConnection[] array = connArray;\r\n for (int i = 0, len = array.length; i < len; i++) {\r\n PooledConnection pConn = array[i];\r\n int state = pConn.state;\r\n if (state == CONNECTION_IDLE && !existBorrower()) {\r\n boolean isTimeoutInIdle = (currentTimeMillis() - pConn.lastAccessTime - poolConfig.getIdleTimeout() >= 0);\r\n if (isTimeoutInIdle && ConnStUpd.compareAndSet(pConn, state, CONNECTION_CLOSED)) {//need close idle\r\n removePooledConn(pConn, DESC_REMOVE_IDLE);\r\n tryToCreateNewConnByAsyn();\r\n }\r\n } else if (state == CONNECTION_USING) {\r\n ProxyConnectionBase proxyConn = pConn.proxyConn;\r\n boolean isHoldTimeoutInNotUsing = currentTimeMillis() - pConn.lastAccessTime - poolConfig.getHoldTimeout() >= 0;\r\n if (isHoldTimeoutInNotUsing) {//recycle connection\r\n if (proxyConn != null) {\r\n proxyConn.trySetAsClosed();\r\n } else {\r\n removePooledConn(pConn, DESC_REMOVE_BAD);\r\n tryToCreateNewConnByAsyn();\r\n }\r\n }\r\n } else if (state == CONNECTION_CLOSED) {\r\n removePooledConn(pConn, DESC_REMOVE_CLOSED);\r\n tryToCreateNewConnByAsyn();\r\n }\r\n }\r\n ConnectionPoolMonitorVo vo = this.getMonitorVo();\r\n commonLog.debug(\"BeeCP({})idle:{},using:{},semaphore-waiter:{},wait-transfer:{}\", poolName, vo.getIdleSize(), vo.getUsingSize(), vo.getSemaphoreWaiterSize(), vo.getTransferWaiterSize());\r\n }\r\n }",
"private final void kill() {\n\t\tgrown=false;\t\t\n\t}",
"public void dispose()\n {\n while( m_count > 0 )\n {\n int i = m_count - 1;\n try\n {\n m_factory.decommission( m_pool[ i ] );\n }\n catch( Exception e )\n {\n // To be backwards compatible, we have to support the logger having not been set.\n if( ( getLogger() != null ) && ( getLogger().isDebugEnabled() ) )\n {\n getLogger().debug( \"Error decommissioning object\", e );\n }\n }\n m_pool[ i ] = null;\n m_count--;\n }\n }",
"public void setPoolLocked(boolean lockingState){poolLocked=lockingState;}",
"void release(PooledObject<T> t);",
"public void put( final Poolable poolable )\n {\n if( poolable instanceof Recyclable )\n {\n ( (Recyclable)poolable ).recycle();\n }\n\n if( m_pool.length == ( m_count + 1 ) && null != m_controller )\n {\n final int decrease = m_controller.shrink();\n if( decrease > 0 )\n {\n shrink( decrease );\n }\n }\n\n if( m_pool.length > m_count + 1 )\n {\n m_count++;\n m_pool[ m_count ] = poolable;\n }\n else\n {\n try\n {\n m_factory.decommission( poolable );\n }\n catch( Exception e )\n {\n // To be backwards compatible, we have to support the logger having not been set.\n if( ( getLogger() != null ) && ( getLogger().isDebugEnabled() ) )\n {\n getLogger().debug( \"Error decommissioning object\", e );\n }\n }\n }\n }",
"public void objectClosed(PoolEvent evt) {\n releaseObject(evt.getSource());\n }",
"public Door() {\n\t\tisClosed = true;\n\t}",
"public void releaseInstance() {\n\t\tif (isFree() || isBusy()) {\n\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\"instance is already free or is busy\");\n\t\t}\n\n\t\tsetFree(true);\n\t\tsetBusy(false);\n\t}",
"public void deactivate() {\n\tif (canBeActive()) {\n\t\tmActive = false;\n\t} else {\n\t\tthrow new IllegalStateException(getClass().getSimpleName() + \" isn't allowed to be deactivated\");\n\t}\n}",
"public void close()\n {\n if (_forbidClose)\n throw new IllegalStateException(\"illegal to call close() for this DBPool\");\n forceClose();\n }",
"private void abandonTileImprovementPlan() {\n if (tileImprovementPlan != null) {\n if (tileImprovementPlan.getPioneer() == getAIUnit()) {\n tileImprovementPlan.setPioneer(null);\n }\n tileImprovementPlan = null;\n }\n }",
"@Override\r\n\tpublic void deactivate() {\n\t\t\r\n\t}",
"public Boolean shouldAbandon() {\n return false;\n }",
"public abstract void destroy(T object) throws PoolException;",
"void destroy(PooledObject<T> t);",
"public synchronized void emptyPool(){\n // Iterate over the entire pool closing the JDBC connections\n for(int x=0; x<pool.size();x++){\n PooledConnection pcon = (PooledConnection)pool.elementAt(x);\n //If the PooledConnection is not in use, close it.\n if(pcon.inUse() == false){\n pcon.close();\n }\n else{\n // If it's still in use, sleep 30 secs and force close\n try{\n java.lang.Thread.sleep(30000);\n pcon.close();\n }catch(InterruptedException ie){\n System.err.println(ie.getMessage() + \" in ConnectionPool.emptyPool()\");\n }\n }\n }\n }",
"public void deactivate();",
"public final void releaseNoCopy() {\n explicitlyLocked = false;\n byteBase.unlockNoCopy();\n }",
"void dead() { this.alive = false; }",
"@Override\n\tpublic void deactivate() {\n\t}",
"@Override\r\n public void unfreeze(IAssignmentState state) {\n }",
"public void reset(){\n\t\t//MyGame.sop(\"Reseting active blood\");\n\t\t\n\t\tint size = bloodActivePool.size;\n\t\twhile(--size >= 0){\n\t\t\tBlood b = bloodActivePool.get(size);\n\t\t\t\t\t\t\n\t\t\tb.setDead();\n\t\t\tbloodActivePool.removeIndex(size);\n\t\t\tbloodPool.add(b);\n\t\t}\n\t\tbloodActivePool.clear();\n\t}",
"public void abandonProject(ProjectWasAbandoned evt)throws InvalidProjectCommandException{\n validator.validate(this);\n this.closedDate = Optional.of(new Date());\n state = ProjectState.ABANDONED;\n UpdateProperties(evt.getProperties());\n ArrayList<Event> events = new ArrayList<Event>();\n events.add(new ProjectWasCompleted(this, evt.getProperties()));\n }",
"public final void release() {\n explicitlyLocked = false;\n byteBase.unlock();\n }",
"public void deactivate() {\n this.active = false;\n }",
"@Test\n\tpublic void testReleaseConnection() throws SQLException {\n\t\tConnection connection = pool.getConnection(config.getConnectionTimeout());\n\t\tint count = pool.idleConnectionsCount();\n\t\tpool.releaseConnection(connection);\n\t\tAssert.assertEquals(count + 1, pool.idleConnectionsCount());\n\t\tAssert.assertEquals(((ConnectionItem) connection).state().get(), ConnectionItem.STATE_NOT_IN_USE);\n\t}",
"public void _release() {\n throw new NO_IMPLEMENT(reason);\n }",
"@Override\n\tpublic void deactivate() {\n\t\t\n\t}",
"private void addPaymentAbandonedEvent() {\n /*09th July 2019, Resolved Pyze library issue*/\n HashMap<String, Object> customAttributes = new HashMap<String, Object>();\n customAttributes.put(\"packageID\", String.valueOf(PackageID));\n customAttributes.put(\"userID\", String.valueOf(UserID));\n customAttributes.put(\"paymentType\", getIntent().getStringExtra(\"PaymentType\"));\n PyzeEvents.PyzeCommercePayment.postPaymentAbandoned(customAttributes);\n\n sendToMixpanel(false, true);\n\n }",
"@Override\n public void deactivate() {\n \n }",
"@Override\n public void unlock() {\n }",
"void unsetPoolNumber();",
"public void setDead(){\n\t\t//queue this blood for cleanup\n\t\tvisible = false;\n\t\tDEAD = true;\n\t\tcleanUp();\n\t}",
"protected void setInactive() {\r\n\t\tactive = false;\r\n\t}",
"@Override\n public void bankrupt() {\n this.mortgaged = false;\n }",
"public void deactivate()\n\t{\n\t\t_active = false;\n\t\t_leader.setObjectHandler(null);\n\t}",
"public void releasePingLock() {\r\n\t\tbeingPinged.set(false);\r\n\t}",
"public void disable()\n {\n openGate = null;\n }",
"public abstract void deactivate();",
"@GuardedBy(\"mLock\")\n @VisibleForTesting\n protected void freeIfInactiveLocked() {\n mAttentionHandler.removeMessages(AttentionHandler.CHECK_CONNECTION_EXPIRATION);\n\n // Schedule resources cleanup if no one calls the API again.\n mAttentionHandler.sendEmptyMessageDelayed(AttentionHandler.CHECK_CONNECTION_EXPIRATION,\n CONNECTION_TTL_MILLIS);\n }",
"void unlock(Object obj, Object owner)\r\n throws LockNotReleasedException, ClassCastException, ChannelException;",
"public abstract void unlock();",
"public interface PooledObject {\n \n /** Object is checked in to the pool **/ \n public final int CHECKEDIN = 1;\n \n /** Object is checked out from the pool **/ \n public final int CHECKEDOUT = 2;\n \n /** Object is marked for sweep **/\n public final int MARKEDFORSWEEP = 3; \n \n /**\n * Match the the pooled object for the given properties.\n *\n * @param\tp\tProperties while creating.\n * @return True if matches.\n */ \n public abstract boolean isMatching(Properties p);\n \n /**\n * Checks whether the pooled object is usable or not.\n *\n * @return\tTrue if it is usable.\n */\n public abstract boolean isUsable(); \n \n /**\n * Mark pooled object as usable.\n */\n public abstract void markUsable(); \n \n /**\n * Mark the object as checked out\n */ \n public abstract void checkedOut(); \n \n /**\n * Mark the object as checked in\n */ \n public abstract void checkedIn();\n \n /**\n * This marks the object for sweeping.\n */\n public abstract void markForSweep();\n \n /**\n * Checks whether the object is marked for sweeping.\n * \n * @return\tIf it is already marked for sweeping.\n */\n public abstract boolean isMarkedForSweep(); \n \n /**\n * Destroys the pooled object. This will abruptly destroy the object.\n * Generally used when there is an error or connection pool is shutdown.\n */\n public abstract void destroy() throws Exception;\n \n /**\n * Get the time of creation of this object.\n *\n * @return the Time of creation of this object.\n */\n public abstract long getCreatedTime(); \n \n}",
"private boolean tryInactivate() {\n if (active) {\n if (!pool.tryDecrementActiveCount())\n return false;\n active = false;\n }\n return true;\n }",
"private boolean tryInactivate() {\n if (active) {\n if (!pool.tryDecrementActiveCount())\n return false;\n active = false;\n }\n return true;\n }",
"void cancelClone();",
"public void objectUsed(PoolEvent evt) {\n if (!trackLastUsed) return;\n setLastUsed(evt.getSource());\n }",
"@Override\r\n\tpublic boolean unlockIt() {\n\t\treturn false;\r\n\t}",
"public void mo957b() {\n if (this.f14245a) {\n throw new IllegalStateException(\"Already released\");\n }\n }",
"@Override\n\tpublic void removeInUse() {\n\t\theldObj.removeInUse();\n\t}",
"public void activate(){\n active = true;\n state = State.cleaving;\n }",
"public static void markInstanceStale() {\n instance = null;\n }",
"public void deactivate() {\n\t\tentity.deactivateInstance(this);\n\t}",
"public void destroy() {\n this.alive = false;\n }",
"void deactivate() {\n\t\tanimalTemplate = null;\n\t\tscope=null;\n\t\ttriggerOnID=false;\n\t\tstate = null;\n\t\tlog.debug(bundleMarker, \"deactivating...\");\n\t}",
"public void unlockAdd(){\n\t\tthis.canAdd = true;\n\t}",
"public PoolBoneCpManager() {\n pool = null;\n }",
"private final void maintain(){\n\t\tif(host.getStrength()>MAINTENANCE_COST){\n\t\t\thost.expend(MAINTENANCE_COST);\n\t\t}\n\t\telse{\n\t\t\tkill();\n\t\t}\n\t}",
"private void restoreAndRelease() {\n try (Connection c = connection) {\n c.setAutoCommit(autoCommit);\n } catch (SQLException e) {\n throw new UncheckedSQLException(e);\n }\n }",
"private void basicReleaseLock() {\n if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) {\n logger.trace(LogMarker.DLS_VERBOSE, \"[DLockToken.basicReleaseLock] releasing ownership: {}\",\n this);\n }\n\n leaseId = -1;\n lesseeThread = null;\n leaseExpireTime = -1;\n thread = null;\n recursion = 0;\n ignoreForRecovery = false;\n\n decUsage();\n }",
"protected void setClosed() {\r\n this.stopAcquisition();\r\n }",
"@Override\n\tpublic void unlock() {\n\t\t\n\t}",
"public void shutDown() {\n collector.removePool(this);\n factory.poolClosing(this);\n\n // close all objects\n synchronized (objects) {\n for (Iterator it = objects.values().iterator(); it.hasNext();) {\n ObjectRecord rec = (ObjectRecord) it.next();\n if (null != rec) {\n if (rec.isInUse())\n factory.returnObject(rec.getClientObject());\n factory.deleteObject(rec.getObject());\n rec.close();\n }\n }\n objects.clear();\n deadObjects.clear();\n }//end of synch\n\n factory = null;\n poolName = null;\n initialized = false;\n }",
"private void killOverdueProcesses() {\r\n \t\tlong testTime = System.currentTimeMillis();\r\n \r\n \t\t// Kill off old ones\r\n\t\tMaximaProcess mp = pool.poll();\r\n \t\twhile (mp != null && mp.isOverdue(testTime)) {\r\n \t\t\tmp.kill();\r\n\t\t\tmp = pool.poll();\r\n \t\t}\r\n \t\tif (mp != null) {\r\n \t\t\tpool.addFirst(mp);\r\n \t\t}\r\n \r\n\t\twhile (!usedPool.isEmpty() && usedPool.get(0).isOverdue(testTime)) {\r\n \t\t\tusedPool.remove(0).close();\r\n \t\t}\r\n \t}",
"public void recycle() {\n// synchronized (sPoolSync) {\n// if (sPoolSize < MAX_POOL_SIZE) {\n clearForRecycle();\n// next = sPool;\n// sPool = this;\n// sPoolSize++;\n// }\n// }\n }",
"final void internalReleaseNoCopy() {\n if(!explicitlyLocked) {\n byteBase.unlockNoCopy();\n }\n }",
"public void toss() {\n\t\t\tif (pool != null) {\n\t\t\t\tpool.creator.destroy(content);\n\t\t\t}\n\t\t\t// Don't allow finalize to put it back in.\n\t\t\tpool = null;\n\t\t}",
"@Override\n\tpublic boolean unlockIt() {\n\t\treturn false;\n\t}",
"protected void discard() {\r\n discarded = true;\r\n onDiscard();\r\n }",
"public void deactivate() {\n\t\t// TODO Auto-generated method stub\n\t}",
"ObjectPool() {\n deadTime = DEFAULT_DEADTIME;\n lock = new Hashtable<T, Long>();\n unlock = new Hashtable<T, Long>();\n }",
"void markInactive();",
"public synchronized void doDestroy(T item) throws PoolException {\n destroy(item);\n inUse--;\n trace(\"doDestroy, in use=\" + inUse + \", destroyed = \" + totalDestroyed);\n }",
"public void closeIdleConnections()\n {\n \n }",
"protected void setClosed() {\n this.stopAcquisition();\n }",
"public void onDisable(){\n\t\ttry {\n\t\t\tconnection.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void release() {\r\n return;\r\n }",
"public void release()\n\t{\n\t\t// System.out.println(usedBy.getName() + \": Releasing \" + toString());\n\t\tthis.usedBy = null;\n\t}",
"public void setChunkAsReclaimed(){\n this.setState(State.RECLAIMED);\n this.remNetworkCopy(Server.getInstance().getId());\n }",
"void deactivate();",
"void unlock(String name) {\n executeLockFree(connection -> doUnlock(name, connection));\n }",
"public void onUnblock();",
"@Override\r\n\tpublic void release()\r\n\t{\n\t}",
"public void evict(Object po)\n {\n}",
"@Override\n\t\tpublic void domainObjectClosed(DomainObject dobj) {\n\t\t\tdispose();\n\t\t}",
"public synchronized void close() throws SQLException {\n\t\tif (isClosedInternal()) {\n\t\t\t// already close\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tboolean isUnderlyingConnectionClosed;\n\t\t\n\t\ttry {\n\t\t\tisUnderlyingConnectionClosed = this.getDelegateInternal().isClosed();\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tpool.invalidateObject(this); // remove from pool\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception ie) {\n\t\t\t\t// DO NOTHING, exception will be thrown\n\t\t\t}\n\t\t\tthrow new SQLException(\"Cannot close connection (isClosed throw exception\", e);\n\t\t}\n\t\t\n\t\tif (isUnderlyingConnectionClosed) {\n\t\t\t// Abnormal close: underlying connection close unexpectedly\n\t\t\t// must destroy this proxy\n\t\t\ttry {\n\t\t\t\tthis.pool.invalidateObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (invalidate object failed)\", e);\n\t\t\t}\n\t\t} else {\n\t\t\t// Normal close: return proxy to pool\n\t\t\ttry {\n\t\t\t\tthis.pool.returnObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (return to pool failed)\", e);\n\t\t\t}\n\t\t}\n\t}",
"public void release() {\n super.release();\n _gboss = null;\n }",
"public void finalize() {\n acquire.release();\n }",
"public void finalize() {\n acquire.release();\n }",
"@Override\n\t\tprotected void finalize() throws Throwable {\n\t\t\tif (pool != null) {\n\t\t\t\tdone();\n\t\t\t\tpool = null;\n\t\t\t}\n\t\t}",
"public void kill() { _isAlive = false; }",
"public void unfreeze() {\n\t\tthis.__freezed = false;\n\t}"
] | [
"0.6936915",
"0.65114117",
"0.62640405",
"0.5891231",
"0.5818871",
"0.5699347",
"0.56856704",
"0.56748766",
"0.561998",
"0.5592506",
"0.55381906",
"0.5532505",
"0.5528375",
"0.5468006",
"0.5467761",
"0.5464561",
"0.542513",
"0.53778124",
"0.53559655",
"0.53484917",
"0.534702",
"0.5337837",
"0.532797",
"0.5325624",
"0.53250366",
"0.53212565",
"0.53194064",
"0.5300844",
"0.5293729",
"0.5287162",
"0.52812934",
"0.5278208",
"0.52765286",
"0.5264855",
"0.52647823",
"0.5263259",
"0.5254537",
"0.52518064",
"0.52051127",
"0.5196822",
"0.5193058",
"0.518226",
"0.5169872",
"0.516758",
"0.5167449",
"0.5166805",
"0.51637447",
"0.51583487",
"0.51390606",
"0.5138484",
"0.5101185",
"0.50897634",
"0.50897634",
"0.50885403",
"0.5075847",
"0.50689346",
"0.5061633",
"0.50610346",
"0.5054376",
"0.503406",
"0.5030515",
"0.50269556",
"0.5021746",
"0.50216955",
"0.5012588",
"0.5011297",
"0.5009658",
"0.500835",
"0.50036836",
"0.5002202",
"0.50018114",
"0.5001509",
"0.49968442",
"0.4994923",
"0.49930242",
"0.4992195",
"0.49898583",
"0.49879593",
"0.49803463",
"0.4974078",
"0.49727443",
"0.49720836",
"0.49719608",
"0.4969136",
"0.49629384",
"0.4962388",
"0.49571738",
"0.4955409",
"0.49532196",
"0.49466014",
"0.49433833",
"0.4941579",
"0.4940904",
"0.49408537",
"0.49388474",
"0.49358743",
"0.49358743",
"0.49220538",
"0.4916887",
"0.49122027"
] | 0.75373816 | 0 |
Marks the object as returning to the pool. | void markReturning(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void releaseObject(Object object) {\n\n log.debug(\"Pool \" + this + \" object released: \" + object);\n\n Object pooled = null;\n try {\n factory.returnObject(object);//do this first\n pooled = factory.translateObject(object);\n } catch (Exception e) {\n return; // We can't release it if the factory can't recognize it\n }\n if (pooled == null) // We can't release it if the factory can't recognize it\n return;\n boolean removed = false;\n synchronized (objects) {\n ObjectRecord rec = (ObjectRecord) objects.get(pooled);\n if (rec == null) // Factory understands it, but we don't\n throw new IllegalArgumentException(\"Object \" + object + \" is not in pool \" + poolName + \"!\");\n if (!rec.isInUse()) return; // Must have been released by GC?\n if (object instanceof PooledObject)\n ((PooledObject) object).removePoolEventListener(this);\n removed = deadObjects.remove(object);\n rec.setInUse(false);\n if (removed) {\n log.debug(\"Object was dead: \" + object);\n objects.remove(pooled);\n rec.close();\n } // end of if ()\n\n }//end of synch on objects\n if (removed) {\n try {\n factory.deleteObject(pooled);\n } catch (Exception e) {\n log.error(\"Pool \" + this + \" factory (\" + factory.getClass().getName() + \" delete error: \", e);\n }\n fillToMin();\n /*FIXME --MINSIZE\n if(objects.size() < minSize)\n createNewObject(null);\n */\n }\n\n if (removed)\n log.debug(\"Pool \" + this + \" destroyed object \" + object + \".\");\n else\n log.debug(\"Pool \" + this + \" returned object \" + object + \" to the pool.\");\n\n permits.release();\n /*\n if(blocking)\n {\n synchronized(this)\n {\n notify();\n }\n }\n */\n }",
"public void release() {\r\n return;\r\n }",
"public void releasePressureToReturn() {\n returnValve.set(false);\n }",
"@Override\n\t\tprotected void finalize() throws Throwable {\n\t\t\tif (pool != null) {\n\t\t\t\tdone();\n\t\t\t\tpool = null;\n\t\t\t}\n\t\t}",
"public void forceClose()\n {\n if (_isClosed)\n return;\n \n _isClosed = true;\n \n if (log.isLoggable(Level.FINE))\n log.fine(\"closing pool \" + getName());\n }",
"@Override\r\n\tpublic void release()\r\n\t{\n\t}",
"Handle<T> complete(T returnObject) {\n this.complete = true;\n this.returnObject = returnObject;\n return this;\n }",
"void release(PooledObject<T> t);",
"@Override\n\tpublic void release() {\n\t}",
"@Override\n public void release() {\n }",
"public void objectClosed(PoolEvent evt) {\n releaseObject(evt.getSource());\n }",
"public void acquire() {\r\n return;\r\n }",
"@Override\n public void release() {\n \n }",
"@Override\r\n\tpublic void release() {\n\r\n\t}",
"@Override\n\tpublic void release() {\n\n\t}",
"@Override\n\tpublic void release() {\n\n\t}",
"@Override\n\tpublic void release() {\n\t\t\n\t}",
"@Override\n public void release() {\n }",
"public boolean release()\r\n/* 935: */ {\r\n/* 936:940 */ this.leak.record();\r\n/* 937:941 */ return super.release();\r\n/* 938: */ }",
"public void clearReturnObject() {\r\n returnObject.clear();\r\n }",
"void markAbandoned();",
"public Object getObject(Object parameters) {\n if (objects == null)\n throw new IllegalStateException(\"Tried to use pool before it was Initialized or after it was ShutDown!\");\n\n Object result = factory.isUniqueRequest();\n if (result != null) // If this is identical to a previous request,\n return result; // return the same result. This is the 2.4 total hack to\n // share local connections within a managed tx.\n\n try {\n if (permits.attempt(blockingTimeout)) {\n ObjectRecord rec = null;\n synchronized (objects) {\n for (Iterator it = objects.values().iterator(); it.hasNext();) {\n rec = (ObjectRecord) it.next();\n if (null != rec && !rec.isInUse() && factory.checkValidObject(rec.getObject(), parameters)) {\n log.info(\"Handing out from pool object: \" + rec.getObject());\n try {\n rec.setInUse(true);\n } catch (ConcurrentModificationException e) {\n log.info(\"Conflict trying to set rec. in use flag:\" + rec.getObject());\n // That's OK, just go on and try another object\n continue;//shouldn't happen now.\n }\n break;\n }\n rec = null;//not found\n }\n }//synch on objects\n\n if (rec == null) {\n try {\n rec = createNewObject(parameters);\n } catch (Exception e) {\n log.error(\"Exception in creating new object for pool\", e);\n permits.release();\n throw e;\n }\n } // end of if ()\n if (rec == null) {\n permits.release();\n String message = \"Pool is broken, did not find or create an object\";\n log.error(message);\n throw new RuntimeException(message);\n } // end of if ()\n Object ob = rec.getObject();\n\n result = factory.prepareObject(ob);\n if (result != ob) rec.setClientObject(result);\n if (result instanceof PooledObject)\n ((PooledObject) result).addPoolEventListener(this);\n\n log.debug(\"Pool \" + this + \" gave out object: \" + result);\n return result;\n }//end of permits\n else {\n //we timed out\n throw new RuntimeException(\"No ManagedConnections Available!\");\n } // end of else\n }//try\n catch (RuntimeException e) {\n throw e;\n } // end of catch\n catch (InterruptedException ie) {\n log.info(\"Interrupted while requesting permit!\", new Exception(\"stacktrace\"));\n throw new RuntimeException(\"Interrupted while requesting permit!\");\n } // end of try-catch\n catch (Exception e) {\n log.info(\"problem getting connection from pool\", e);\n throw new RuntimeException(\"problem getting connection from pool \" + e.getMessage());\n } // end of catch\n }",
"private final void kill() {\n\t\tgrown=false;\t\t\n\t}",
"public synchronized void retThread(WorkerThread w) {\n\t\tfor (int i = 0; i < this.threadPool.size(); ++i) {\n\t\t\tif (this.threadPool.get(i) == w) {\n\t\t\t\tthis.threadPool.get(i).setAvailable(true);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"public void toss() {\n\t\t\tif (pool != null) {\n\t\t\t\tpool.creator.destroy(content);\n\t\t\t}\n\t\t\t// Don't allow finalize to put it back in.\n\t\t\tpool = null;\n\t\t}",
"@Override\n public void releasePermit() {\n balancer.release();\n }",
"public K release()\n {\n return (K) destroy().getResponse();\n }",
"public void pressureToReturn() {\n returnValve.set(true);\n }",
"public void markObjectAsInvalid(Object object) {\n if (deadObjects == null)\n throw new IllegalStateException(\"Tried to use pool before it was Initialized or after it was ShutDown!\");\n deadObjects.add(object); //a synchronized set\n\n }",
"public static void returnConnection( Connection conn ) {\n \t\tconnPool.returnConnection( conn );\n \t}",
"public abstract void destroy(T object) throws PoolException;",
"@Override\n\t public void onRelease() {\n\n\t }",
"@Override\r\n\tpublic void OnNotifyAssignRet(int ret) {\n\t\tResultAssignRet(ret);\r\n\t}",
"@Override\n public Object getReturnValue(){\n return object;\n }",
"public void drain() {\n\t\tsynchronized (list) {\n\t\t\tfor (int i = 0; i < list.size(); ++i) {\n\t\t\t\tPooled<T> pt = list.remove();\n\t\t\t\tcreator.destroy(pt.content);\n\t\t\t\tpt.logTarget.log(\"Pool drained \", creator.toString());\n\t\t\t}\n\t\t\tcount = spares = 0;\n\t\t}\n\n\t}",
"public void _release() {\n throw new NO_IMPLEMENT(reason);\n }",
"public void put( final Poolable poolable )\n {\n if( poolable instanceof Recyclable )\n {\n ( (Recyclable)poolable ).recycle();\n }\n\n if( m_pool.length == ( m_count + 1 ) && null != m_controller )\n {\n final int decrease = m_controller.shrink();\n if( decrease > 0 )\n {\n shrink( decrease );\n }\n }\n\n if( m_pool.length > m_count + 1 )\n {\n m_count++;\n m_pool[ m_count ] = poolable;\n }\n else\n {\n try\n {\n m_factory.decommission( poolable );\n }\n catch( Exception e )\n {\n // To be backwards compatible, we have to support the logger having not been set.\n if( ( getLogger() != null ) && ( getLogger().isDebugEnabled() ) )\n {\n getLogger().debug( \"Error decommissioning object\", e );\n }\n }\n }\n }",
"public void release()\n {\n \n release_0(nativeObj);\n \n return;\n }",
"private void exit() {\n if (otherCost != null) {\n otherCost = null;\n }\n this.dispose();\n }",
"protected void release()\n {\n }",
"@Override\r\n\tpublic void run() {\n\t\tthis.rs=null;\r\n\t}",
"void returnTaskToFreePool(ImageDownloadTask downloadTask) {\n downloadTask.cleanup();\n imageDownloadTaskWorkQueue.offer(downloadTask);\n }",
"public void finished() {\n Object obj = get();\n if (obj instanceof Exception)\n mCallback.run(null, (Exception)obj, mRock);\n else\n mCallback.run(obj, null, mRock);\n }",
"public abstract void endObject();",
"public void done() {\n\t\t\tif (pool != null) {\n\t\t\t\tpool.offer(logTarget, this);\n\t\t\t}\n\t\t}",
"public void releaseInstance() {\n\t\tif (isFree() || isBusy()) {\n\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\"instance is already free or is busy\");\n\t\t}\n\n\t\tsetFree(true);\n\t\tsetBusy(false);\n\t}",
"public abstract Task markAsDone();",
"public void release() {\n\t\t\n\t}",
"public void release() {\n }",
"public void releaseDeferredLock() {\r\n return;\r\n }",
"@Override\r\n\tpublic boolean unlockIt() {\n\t\treturn false;\r\n\t}",
"public abstract void release();",
"public abstract void release();",
"public abstract void release();",
"public interface PooledObject {\n \n /** Object is checked in to the pool **/ \n public final int CHECKEDIN = 1;\n \n /** Object is checked out from the pool **/ \n public final int CHECKEDOUT = 2;\n \n /** Object is marked for sweep **/\n public final int MARKEDFORSWEEP = 3; \n \n /**\n * Match the the pooled object for the given properties.\n *\n * @param\tp\tProperties while creating.\n * @return True if matches.\n */ \n public abstract boolean isMatching(Properties p);\n \n /**\n * Checks whether the pooled object is usable or not.\n *\n * @return\tTrue if it is usable.\n */\n public abstract boolean isUsable(); \n \n /**\n * Mark pooled object as usable.\n */\n public abstract void markUsable(); \n \n /**\n * Mark the object as checked out\n */ \n public abstract void checkedOut(); \n \n /**\n * Mark the object as checked in\n */ \n public abstract void checkedIn();\n \n /**\n * This marks the object for sweeping.\n */\n public abstract void markForSweep();\n \n /**\n * Checks whether the object is marked for sweeping.\n * \n * @return\tIf it is already marked for sweeping.\n */\n public abstract boolean isMarkedForSweep(); \n \n /**\n * Destroys the pooled object. This will abruptly destroy the object.\n * Generally used when there is an error or connection pool is shutdown.\n */\n public abstract void destroy() throws Exception;\n \n /**\n * Get the time of creation of this object.\n *\n * @return the Time of creation of this object.\n */\n public abstract long getCreatedTime(); \n \n}",
"public interface Pool<T> extends LifeCycle {\n\n /**\n * Returns an instance from the pool. The call may be a blocking one or a\n * non-blocking one and that is determined by the internal implementation.\n * <p>\n * If the call is a blocking call, the call returns immediately with a valid\n * object if available, else the thread is made to wait until an object\n * becomes available. In case of a blocking call, it is advised that clients\n * react to {@link InterruptedException} which might be thrown when the\n * thread waits for an object to become available.\n * <p>\n * If the call is a non-blocking one, the call returns immediately\n * irrespective of whether an object is available or not. If any object is\n * available the call returns it else the call returns null.\n * <p>\n * The validity of the objects are determined using the Validator interface,\n * such that an object o is valid if Validator.isValid(o) == true\n *\n * @return T one of the pooled objects.\n */\n PooledObject<T> get();\n\n /**\n * Releases the object and puts it back to the pool.\n * <p>\n * The mechanism of putting the object back to the pool is generally\n * asynchronous, however future implementations might differ.\n *\n * @param t the object to return to the pool\n */\n\n void release(PooledObject<T> t);\n\n boolean isValid(PooledObject<T> t);\n\n int size();\n\n boolean isEmpty();\n\n int getCreatedObjectSize();\n\n /**\n * Represents the functionality to validate an object of the pool\n */\n interface Validator<T> {\n /**\n * Checks whether the object is valid.\n *\n * @param t the object to check.\n * @return true if the object is valid else false.\n */\n boolean isValid(PooledObject<T> t);\n\n }\n\n interface Dispose<T> {\n /**\n * Performs any cleanup activities before discarding the object. For\n * example before discarding database connection objects, the pool will\n * want to close the connections.\n *\n * @param t the object to cleanup\n */\n\n void destroy(PooledObject<T> t);\n }\n\n interface ObjectFactory<T> {\n\n /**\n * Returns a new instance of an object of type T.\n *\n * @return T an new instance of the object of type T\n */\n Promise.Completable<PooledObject<T>> createNew();\n }\n}",
"public void returnConnection(CONN conn){\n this.queue.offer(conn);\r\n System.out.println(\"Return an connection: \" + conn);\r\n }",
"public void release() {\n }",
"public void setCallReturn(Object obj) {\n\n\t}",
"public void set_return(Fact param) {\r\n local_returnTracker = true;\r\n\r\n this.local_return = param;\r\n\r\n\r\n }",
"public void release()\n\t{\n\t\t// System.out.println(usedBy.getName() + \": Releasing \" + toString());\n\t\tthis.usedBy = null;\n\t}",
"@Override\n\tprotected Object run() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void freeMe() {\n\n\t}",
"public void dispose()\n {\n while( m_count > 0 )\n {\n int i = m_count - 1;\n try\n {\n m_factory.decommission( m_pool[ i ] );\n }\n catch( Exception e )\n {\n // To be backwards compatible, we have to support the logger having not been set.\n if( ( getLogger() != null ) && ( getLogger().isDebugEnabled() ) )\n {\n getLogger().debug( \"Error decommissioning object\", e );\n }\n }\n m_pool[ i ] = null;\n m_count--;\n }\n }",
"@Override\n\t\tpublic void run() {\n\t\t\tsuper.run();\n\t\t\tpreserved(bitmap);\n\t\t}",
"@Override\n public void unlock() {\n }",
"private boolean offer(LogTarget lt, Pooled<T> used) {\n\t\tif (count < spares) {\n\t\t\tsynchronized (list) {\n\t\t\t\tlist.addFirst(used);\n\t\t\t\t++count;\n\t\t\t}\n\t\t\tlt.log(\"Pool recovered \", creator.toString());\n\t\t} else {\n\t\t\tlt.log(\"Pool destroyed \", creator.toString());\n\t\t\tcreator.destroy(used.content);\n\t\t}\n\t\treturn false;\n\t}",
"public void end(){\r\n\t\tsetResult( true ); \r\n\t}",
"public final void release() {\n explicitlyLocked = false;\n byteBase.unlock();\n }",
"public void recycle(Object object)\r\n/* 180: */ {\r\n/* 181:206 */ if (object != this.value) {\r\n/* 182:207 */ throw new IllegalArgumentException(\"object does not belong to handle\");\r\n/* 183: */ }\r\n/* 184:209 */ this.stack.push(this);\r\n/* 185: */ }",
"@Override\n\tpublic boolean unlockIt() {\n\t\treturn false;\n\t}",
"@Override\n public void returnBlock(Block b) {\n b.reset();\n blocks.add(b);\n if (blocks.size() > highReservedBlocks) { // too many unused blocks\n synchronized (BlocksPool.class) { // can be easily changed to lock-free\n while (blocks.size() > lowReservedBlocks) {\n this.blocks.poll().clean();\n }\n }\n }\n }",
"public synchronized void release() {\n m_available = true;\n notify();\n }",
"public synchronized void push(T object) throws PoolException {\n trace(\"push: \");\n if ((getMaxSize() != INFINITE && getStack().size() >= getMaxSize()) || !isValid(object)) {\n doDestroy(object);\n } else if (getStack().contains(object)) {\n throw new PoolException(\"can't check in object more than once: \" + object);\n } else {\n getStack().add(object);\n inUse--;\n }\n }",
"public void objectUsed(PoolEvent evt) {\n if (!trackLastUsed) return;\n setLastUsed(evt.getSource());\n }",
"public synchronized Object get() throws InterruptedException {\n while (pool.isEmpty()) {\n wait();\n }\n Object result = pool.remove(0);\n notifyAll();\n return result;\n }",
"public boolean isReleasable() { return isDone(); }",
"public void release();",
"public void release();",
"@Override\n\tpublic void release() {\n\t\tif (!bullet.isRecycled()) {\n\t\t\tbullet.recycle();\n\t\t}\n\t}",
"public void recycle(SnRpcConnection connection) throws Throwable {\n\t\tif (null != connection) {\n\t\t\tpool.returnObject(connection);\n\t\t}\n\t}",
"public interface Poolable {\n\n /**\n * Releases this instance in the pool\n */\n void releaseInstance();\n}",
"public synchronized void close() throws SQLException {\n\t\tif (isClosedInternal()) {\n\t\t\t// already close\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tboolean isUnderlyingConnectionClosed;\n\t\t\n\t\ttry {\n\t\t\tisUnderlyingConnectionClosed = this.getDelegateInternal().isClosed();\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tpool.invalidateObject(this); // remove from pool\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception ie) {\n\t\t\t\t// DO NOTHING, exception will be thrown\n\t\t\t}\n\t\t\tthrow new SQLException(\"Cannot close connection (isClosed throw exception\", e);\n\t\t}\n\t\t\n\t\tif (isUnderlyingConnectionClosed) {\n\t\t\t// Abnormal close: underlying connection close unexpectedly\n\t\t\t// must destroy this proxy\n\t\t\ttry {\n\t\t\t\tthis.pool.invalidateObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (invalidate object failed)\", e);\n\t\t\t}\n\t\t} else {\n\t\t\t// Normal close: return proxy to pool\n\t\t\ttry {\n\t\t\t\tthis.pool.returnObject(this);\n\t\t\t} catch (IllegalStateException ise) {\n\t\t\t\t// probably pool is closed\n\t\t\t\tpassivateAdnClose();\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new SQLException(\"Cannot close connection (return to pool failed)\", e);\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tpublic void release() {\n\t\tmRendererTask.release();\n\t\tsynchronized (mSync) {\n\t\t\tisRunning = false;\n\t\t\tmSync.notifyAll();\n\t\t}\n//\t\tif (DEBUG) Log.v(TAG, \"release:finished\");\n\t}",
"public void recycle() {\n// synchronized (sPoolSync) {\n// if (sPoolSize < MAX_POOL_SIZE) {\n clearForRecycle();\n// next = sPool;\n// sPool = this;\n// sPoolSize++;\n// }\n// }\n }",
"protected abstract void onFinishObject(T result);",
"public void setChunkAsReclaimed(){\n this.setState(State.RECLAIMED);\n this.remNetworkCopy(Server.getInstance().getId());\n }",
"@Override\r\n\tpublic void resetObject() {\n\t\t\r\n\t}",
"@Override\n public FTPClient borrowObject()\n throws Exception {\n if (ftpBlockingQueue.size() == 0) {\n synchronized (FTPClient.class) {\n initPool(DEFAULT_POOL_SIZE);\n }\n }\n FTPClient client = ftpBlockingQueue.take();\n if (ObjectUtils.isEmpty(client)) {\n client = ftpClientFactory.create();\n // Put into the connection pool\n returnObject(client);\n // Verify that the object is valid\n } else if (!ftpClientFactory.validateObject(ftpClientFactory.wrap(client))) {\n // Process invalid objects\n invalidateObject(client);\n // Create a new object\n client = ftpClientFactory.create();\n // Put the new object into the connection pool\n returnObject(client);\n }\n return client;\n }",
"public synchronized void take(Object object) throws InterruptedException {\n while (pool.size() >= POOL_SIZE) {\n wait();\n }\n pool.add(object);\n notifyAll();\n }",
"public void killAndFinish()\n\t{\n\t\tif (isKilled()) return;\n\t\tupdate(Float.MAX_VALUE);\n\t}",
"void release(Object o);",
"@Override\n\tpublic void retstart() {\n\t\t\n\t}",
"ReferenceCounted retain();",
"@Override\n\tpublic void comeBackToWork() {\n\t\t\n\t}",
"@Override\n\tpublic void unlock() {\n\t\t\n\t}",
"public void release() throws JenaProviderException {\t\t\n\t}",
"@Override\r\n\tpublic void leave() {\n\t\t\r\n\t}",
"public void reassignIfNeeded() {\n\t}",
"private void signalFree() {\n block.release();\n }"
] | [
"0.6265938",
"0.6107649",
"0.6013668",
"0.5917482",
"0.57506025",
"0.5727262",
"0.5677744",
"0.5633967",
"0.5628324",
"0.56268847",
"0.5614827",
"0.5607176",
"0.55888784",
"0.55853665",
"0.55763865",
"0.55763865",
"0.557429",
"0.5570875",
"0.55493206",
"0.5540263",
"0.5511739",
"0.5497691",
"0.54971826",
"0.5474219",
"0.5462819",
"0.54410744",
"0.54266024",
"0.5414424",
"0.54070795",
"0.5405122",
"0.5401016",
"0.53898245",
"0.5351405",
"0.53486097",
"0.5323261",
"0.5312751",
"0.5309847",
"0.528939",
"0.5286963",
"0.5280446",
"0.5277682",
"0.5276885",
"0.52713656",
"0.52710915",
"0.5260892",
"0.5255301",
"0.5249785",
"0.5245424",
"0.52306765",
"0.5226211",
"0.52258193",
"0.5218343",
"0.5218343",
"0.5218343",
"0.5216682",
"0.5214808",
"0.5211975",
"0.5205391",
"0.52017593",
"0.52008796",
"0.51981866",
"0.5195911",
"0.51942825",
"0.5191136",
"0.51895165",
"0.5187499",
"0.51843965",
"0.5178491",
"0.51743734",
"0.517074",
"0.5164344",
"0.51619446",
"0.5147785",
"0.51470953",
"0.5143211",
"0.51404065",
"0.5136885",
"0.5129158",
"0.5129158",
"0.5125453",
"0.5121",
"0.5110327",
"0.5099558",
"0.5094734",
"0.5088177",
"0.50841635",
"0.5068977",
"0.50623155",
"0.5062145",
"0.50579435",
"0.50537694",
"0.5049154",
"0.5047553",
"0.50461316",
"0.5043487",
"0.5035156",
"0.5030389",
"0.50191486",
"0.5012318",
"0.5009978"
] | 0.59535694 | 3 |
this will represent control in the MVC this needs to be removed before implementing | public static void main(String[] args)
{
JFrame gui = new JFrame();
gui.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
JPanel mainPanel = new JPanel();
//set JFrame size, layout, and add JPanel
gui.setSize(300, 200);
gui.setLayout(new BorderLayout());
gui.add(mainPanel);
//-----------To create a button actuated timer--------------------
//create a timer that is supposed to be started by a button
Timer buttonTimer = new Timer();
JButton timerStartButton = buttonTimer.getButtonToStartTimer();
timerStartButton.setText("Start/Stop Timer");
//-----------To create an automatically initiated timer-----------
Timer autoTimer = new Timer(true);
//Counter autocounterThread = autoTimer.new Counter();
//autocounterThread.start();
//set layout of JPanel and add button timer, one that is started by a
//button, and the other that is started automatically
mainPanel.setLayout(new GridLayout(2, 2));
mainPanel.add(buttonTimer, 0, 0);
mainPanel.add(timerStartButton, 1, 0);
mainPanel.add(autoTimer, 0, 1);
//role of view, shouldn't be part of main or controller later
gui.setVisible(true);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public void initControl() {\n \r\n }",
"@Override\r\n\tpublic Control getControl() {\r\n\t\treturn container;\r\n\t}",
"@Override\n protected void controlRender(RenderManager rm, ViewPort vp) {\n }",
"@Override\n\tprotected void setValueOnUi() {\n\n\t}",
"@Override\n \tprotected void controlRender(RenderManager rm, ViewPort vp) {\n \n \t}",
"protected void initControl() {\n\t\t\r\n\t}",
"@Override\n\tprotected void controlRender(RenderManager rm, ViewPort vp) {\n\t\t\n\t}",
"protected Component getControlOwner() {\r\n return null;\r\n }",
"public Control getControl () {\r\n\tcheckWidget();\r\n\treturn control;\r\n}",
"protected abstract void renderControlOn(KmHtmlBuilder out);",
"@Override\r\n protected void controlRender(RenderManager rm, ViewPort vp) {\n }",
"public void addControls() {\n }",
"public Control getControl()\n {\n return composite;\n }",
"protected RespostaFormularioPreenchido() {\n // for ORM\n }",
"@Override\n public Component getUiComponent() {\n return this;\n }",
"public Control getControl() {\n checkWidget();\n return control;\n }",
"protected Control createControl(Composite parent) {\n\t\treturn null;\n\t}",
"public GeneralViewControl() {\r\n }",
"@Override\n\tprotected Control createControl(Composite parent) {\n\t\tthis.parent = parent;\n\t\t//return cellEditor.getControl();\n\t\treturn null; \n\t}",
"public List controls(){\n return controls;\n }",
"@Override\r\n\tpublic Panel getUI() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic Panel getUI() {\n\t\treturn null;\r\n\t}",
"public interface IFormControl extends IActionControl, ICompoundLifecycleElement {\r\n\r\n\t/**\r\n\t * <p>\r\n\t * Sets the value of the FormControl. By default the value attribute of the HTML representation will be set.\r\n\t * </p>\r\n\t * \r\n\t * @param value the value as text\r\n\t */\r\n\tvoid setValue(String value);\r\n\r\n\t/**\r\n\t * <p>\r\n\t * Set the converter for displaying the value. e.g. DateConverter\r\n\t * </p>\r\n\t * \r\n\t * @param conv the converter, if none is specified the value is a simple text\r\n\t */\r\n\tvoid setConverter(IConverter conv);\r\n\r\n\t/**\r\n\t * <p>\r\n\t * Set the validator for displaying the value. e.g. MandatoryValdator\r\n\t * </p>\r\n\t * \r\n\t * @param validator the validator to add\r\n\t */\r\n\tvoid addValidator(IValidator validator);\r\n\r\n\t/**\r\n\t * Clears Validators of the FormControl\r\n\t * \r\n\t */\r\n\tvoid clearValidators();\r\n\r\n\t/**\r\n\t * Sets the focus to this FormControl.\r\n\t */\r\n\tvoid focus();\r\n\r\n\t/**\r\n\t * For fields that can be set on creation and can't be edited later (like key attributes) you have to set the isFinal flag.\r\n\t * \r\n\t * @param isFinal if the value can be changed after creation\r\n\t */\r\n\tvoid setFinal(boolean isFinal);\r\n\r\n\t/**\r\n\t * If a FormControl and a label belonging together this can be set here. This will be used later on for error messages and so\r\n\t * on.\r\n\t * \r\n\t * @param describingLabel the Label\r\n\t */\r\n\tvoid setDescribingLabel(ILabel describingLabel);\r\n\r\n\t/**\r\n\t * Set the tabindex of a html element. The developer has to make sure that he does not use the same tabindex more than once on\r\n\t * the page Changing the tabindex after rendering the html element has no effect until the element is redrawn\r\n\t * \r\n\t * @param tabindex the tabindex of the element\r\n\t */\r\n\tvoid setTabindex(int tabindex);\r\n\r\n\t/**\r\n\t * returns the tabindex value of a html element.\r\n\t * \r\n\t * @return\r\n\t */\r\n\tpublic int getTabindex();\r\n\r\n\t/**\r\n\t * Set the tabindex of a html element using the tabindex of another FormControl Element adding 1. The developer has to make\r\n\t * sure that he does not use the same tabindex more than once on the page Changing the tabindex after rendering the html\r\n\t * element has no effect until the element is redrawn\r\n\t * \r\n\t * @param predecessor\r\n\t */\r\n\tpublic void setTabindexPredecessor(IFormControl predecessor);\r\n\r\n\t/**\r\n\t * get the current value for this form element as String\r\n\t * \r\n\t * @return the value as string\r\n\t */\r\n\tString getValue();\r\n\r\n\t/**\r\n\t * returns the converted value if a converter is set otherwise the string value is returned\r\n\t * \r\n\t * @return the value after processing the converter\r\n\t * @throws ConversionException if there is a error at converting\r\n\t */\r\n\tObject getConvertedValue() throws ConversionException;\r\n\r\n\t/**\r\n\t * change the display mode to readonly, edit or new\r\n\t * \r\n\t * @param mode constants can be found in compound\r\n\t */\r\n\tvoid changeMode(int mode);\r\n\r\n\t/**\r\n\t * calls the validators of the form control\r\n\t * \r\n\t * @throws ValidationException if one validator fails\r\n\t */\r\n\tvoid validate() throws ValidationException;\r\n\r\n\t/**\r\n\t * @param property set the property name of the object in the business object\r\n\t */\r\n\tvoid setProperty(String property);\r\n\r\n\t/**\r\n\t * get the property name of the object in the business object\r\n\t */\r\n\tString getProperty();\r\n\r\n\t/**\r\n\t * @return the label that describes the FormControl\r\n\t */\r\n\tILabel getDescribingLabel();\r\n\r\n\t/**\r\n\t * sets the value of the FormControl default it is set to the value attribute of the HTML representation\r\n\t */\r\n\tvoid setObjectValue(Object dataObject);\r\n\r\n}",
"public ToggleControl() {\n\t\tfieldName = \"Untitled Control\";\n\t\tvalue = false;\n\t}",
"@Override\n\tprotected Control createContents(Composite arg0) {\n\t\treturn null;\n\t}",
"public void createContents(){\n\t\t// Creates control for ScrolledCompositeController controlItemSCSCLC\n\t\tcontrolItemSCSCLC = new ScrolledCompositeController(\"controlItemSC\", coreController, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tsetDirtyManagement(false);\n\t\t\t\t\tgetComposite().setLayout(new MigLayout(\"wrap 2\",\"[align right]10[fill,grow]\",\"[]\"));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t// Creates control for LabelController background$1LBL\n\t\tbackground$1LBL = new LabelController(\"background$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"background\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBackground(this);\n\t\t// Creates control for LabelController backgroundImage$1LBL\n\t\tbackgroundImage$1LBL = new LabelController(\"backgroundImage$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"backgroundImage\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBackgroundImage(this);\n\t\t// Creates control for LabelController bounds$1LBL\n\t\tbounds$1LBL = new LabelController(\"bounds$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"bounds\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBounds(this);\n\t\t// Creates control for LabelController capture$1LBL\n\t\tcapture$1LBL = new LabelController(\"capture$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"capture\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateCapture(this);\n\t\t// Creates control for LabelController containerBackground$1LBL\n\t\tcontainerBackground$1LBL = new LabelController(\"containerBackground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBackground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBackground(this);\n\t\t// Creates control for LabelController containerBackgroundImage$1LBL\n\t\tcontainerBackgroundImage$1LBL = new LabelController(\"containerBackgroundImage$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBackgroundImage\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBackgroundImage(this);\n\t\t// Creates control for LabelController containerBounds$1LBL\n\t\tcontainerBounds$1LBL = new LabelController(\"containerBounds$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBounds\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBounds(this);\n\t\t// Creates control for LabelController containerCapture$1LBL\n\t\tcontainerCapture$1LBL = new LabelController(\"containerCapture$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerCapture\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerCapture(this);\n\t\t// Creates control for LabelController containerFocus$1LBL\n\t\tcontainerFocus$1LBL = new LabelController(\"containerFocus$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerFocus\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerFocus(this);\n\t\t// Creates control for LabelController containerFont$1LBL\n\t\tcontainerFont$1LBL = new LabelController(\"containerFont$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerFont\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerFont(this);\n\t\t// Creates control for LabelController containerForeground$1LBL\n\t\tcontainerForeground$1LBL = new LabelController(\"containerForeground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerForeground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerForeground(this);\n\t\t// Creates control for LabelController containerLayoutData$1LBL\n\t\tcontainerLayoutData$1LBL = new LabelController(\"containerLayoutData$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerLayoutData\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerLayoutData(this);\n\t\t// Creates control for LabelController containerLocation$1LBL\n\t\tcontainerLocation$1LBL = new LabelController(\"containerLocation$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerLocation\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerLocation(this);\n\t\t// Creates control for LabelController containerMenu$1LBL\n\t\tcontainerMenu$1LBL = new LabelController(\"containerMenu$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerMenu\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerMenu(this);\n\t\t// Creates control for LabelController containerRedraw$1LBL\n\t\tcontainerRedraw$1LBL = new LabelController(\"containerRedraw$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerRedraw\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerRedraw(this);\n\t\t// Creates control for LabelController containerSize$1LBL\n\t\tcontainerSize$1LBL = new LabelController(\"containerSize$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerSize\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerSize(this);\n\t\t// Creates control for LabelController containerStyle$1LBL\n\t\tcontainerStyle$1LBL = new LabelController(\"containerStyle$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerStyle\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerStyle(this);\n\t\t// Creates control for LabelController editable$1LBL\n\t\teditable$1LBL = new LabelController(\"editable$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"editable\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateEditable(this);\n\t\t// Creates control for LabelController enabled$1LBL\n\t\tenabled$1LBL = new LabelController(\"enabled$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"enabled\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateEnabled(this);\n\t\t// Creates control for LabelController focus$1LBL\n\t\tfocus$1LBL = new LabelController(\"focus$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"focus\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateFocus(this);\n\t\t// Creates control for LabelController font$1LBL\n\t\tfont$1LBL = new LabelController(\"font$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"font\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateFont(this);\n\t\t// Creates control for LabelController foreground$1LBL\n\t\tforeground$1LBL = new LabelController(\"foreground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"foreground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateForeground(this);\n\t\t// Creates control for LabelController layoutData$1LBL\n\t\tlayoutData$1LBL = new LabelController(\"layoutData$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"layoutData\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateLayoutData(this);\n\t\t// Creates control for LabelController location$1LBL\n\t\tlocation$1LBL = new LabelController(\"location$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"location\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateLocation(this);\n\t\t// Creates control for LabelController menu$1LBL\n\t\tmenu$1LBL = new LabelController(\"menu$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"menu\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateMenu(this);\n\t\t// Creates control for LabelController orientation$1LBL\n\t\torientation$1LBL = new LabelController(\"orientation$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"orientation\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateOrientation(this);\n\t\t// Creates control for LabelController redraw$1LBL\n\t\tredraw$1LBL = new LabelController(\"redraw$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"redraw\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateRedraw(this);\n\t\t// Creates control for LabelController size$1LBL\n\t\tsize$1LBL = new LabelController(\"size$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"size\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateSize(this);\n\t\t// Creates control for LabelController style$1LBL\n\t\tstyle$1LBL = new LabelController(\"style$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"style\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateStyle(this);\n\t\t// Creates control for LabelController tabs$1LBL\n\t\ttabs$1LBL = new LabelController(\"tabs$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"tabs\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateTabs(this);\n\t\t// Creates control for LabelController text$1LBL\n\t\ttext$1LBL = new LabelController(\"text$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"text\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateText(this);\n\t\t// Creates control for LabelController textLimit$1LBL\n\t\ttextLimit$1LBL = new LabelController(\"textLimit$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"textLimit\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateTextLimit(this);\n\t\t// Creates control for LabelController toolTipText$1LBL\n\t\ttoolTipText$1LBL = new LabelController(\"toolTipText$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"toolTipText\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateToolTipText(this);\n\t\t// Creates control for LabelController visible$1LBL\n\t\tvisible$1LBL = new LabelController(\"visible$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"visible\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateVisible(this);\n\t}",
"@SuppressWarnings(\"unused\")\r\n\tprivate SWTRadioButtonView() {\r\n\t\tthis.containingForm = null;\r\n\t}",
"@Override\n\tprotected void setController() {\n\t\t\n\t}",
"@Override\n\tprotected void initView() {\n\t\t\n\t}",
"@Override\n\tprotected void initView() {\n\t\t\n\t}",
"public ItemsControl() {\t\t\t\t\n\t\tlistListener = new SourceListChangeListener();\n\n\t\tBoxLayout boxLayout = new BoxLayout(this, BoxLayout.Y_AXIS);\n\t\tsetLayout(boxLayout);\t\t\t\t\n\t\tif (Beans.isDesignTime()) {\t\t\t\n\t\t\tJLabel designTimeCaptionLbl = new JLabel(\"<ItemsControl>\");\t\t\t\t\t\t\n\t\t\tthis.add(designTimeCaptionLbl);\n\t\t}\n\t}",
"@Override\n\tprotected void initView()\n\t{\n\n\t}",
"@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\tpublic void initializeControls() {\n\t\t\n\t}",
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"public ControlPanel() {\n\t\tpanelName = null;\n\t}",
"public void createControl(Composite parent) {\r\n\t\tComposite container = new Composite(parent, SWT.NONE);\r\n\t\tsetControl(container);\r\n\t\tGroup group = new Group(container, SWT.NONE);\r\n\t\tgroup.setBounds(0, 281, 533, 60);\r\n\t\t\r\n\t\tLabel lblSelectWhetherYou = new Label(group, SWT.NONE);\r\n\t\tlblSelectWhetherYou.setBounds(10, 22, 374, 26);\r\n\t\tlblSelectWhetherYou.setText(\"\\u9009\\u62E9\\u662F\\u5426\\u8981\\u53D1\\u5E03\\u3001\\u68C0\\u7D22\\u6216\\u5220\\u9664\\u670D\\u52A1\\u5668\\u4E0A\\u7684\\u62A5\\u544A\\u3002\");\r\n\t\t\r\n\t\tlb_pr = new Label(container, SWT.NONE);\r\n\t\tlb_pr.setBounds(69, 79, 48, 48);\r\n\t\tlb_pr.setImage(SwtImageConverter.ConvertToSwtImage(ImageResolver.get_Resolver().ResolveImage(\"[IMAGE]Core#Images.Icons.ReportPublish.png\"),48,48));\r\n\t\t\r\n\t\trbtn_pr = new Button(container, SWT.RADIO);\r\n\t\trbtn_pr.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mouseDoubleClick(MouseEvent e) {\r\n\t\t\t\tgetNextPage();\r\n\t\t\t}\r\n\t\t});\r\n\t\trbtn_pr.setBounds(59, 133, 69, 16);\r\n\t\trbtn_pr.setText(\"\\u53D1\\u5E03\\u62A5\\u544A\");\r\n\t\trbtn_pr.setData(\"PublishedReportW2_Pub\");\r\n\t\t\r\n\t\tlb_rr = new Label(container, SWT.NONE);\r\n\t\tlb_rr.setBounds(185, 79, 48, 48);\r\n\t\tlb_rr.setImage(SwtImageConverter.ConvertToSwtImage(ImageResolver.get_Resolver().ResolveImage(\"[IMAGE]Core#Images.Icons.ReportRetrieve.png\"),48,48));\r\n\t\t\r\n\t\t\r\n\t\trbtn_rr = new Button(container, SWT.RADIO);\r\n\t\trbtn_rr.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mouseDoubleClick(MouseEvent e) {\r\n\t\t\t\tgetNextPage();\r\n\t\t\t}\r\n\t\t});\r\n\t\trbtn_rr.setBounds(175, 133, 69, 16);\r\n\t\trbtn_rr.setText(\"\\u68C0\\u7D22\\u62A5\\u544A\");//»ρΘ‘\\u68C0\\u7D22\\\r\n\t\trbtn_rr.setData(\"PublishedReportW2_Ret\");\r\n\t\t\r\n\t\tlb_dr = new Label(container, SWT.NONE);\r\n\t\tlb_dr.setBounds(297, 79, 48, 48);\r\n\t\tlb_dr.setImage(SwtImageConverter.ConvertToSwtImage(ImageResolver.get_Resolver().ResolveImage(\"[IMAGE]Core#Images.Icons.ReportDelete.png\"),48,48));\r\n\t\t\r\n\t\t\r\n\t\trbtn_dr = new Button(container, SWT.RADIO);\r\n\t\trbtn_dr.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mouseDoubleClick(MouseEvent e) {\r\n\t\t\t\tgetNextPage();\r\n\t\t\t}\r\n\t\t});\r\n\t\trbtn_dr.setBounds(287, 133, 69, 16);\r\n\t\trbtn_dr.setText(\"\\u5220\\u9664\\u62A5\\u544A\");\r\n\t\trbtn_dr.setData(\"PublishedReportW2_Del\");\r\n\t\t\r\n\t}",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"public PanelControl() {\r\n initComponents();\r\n VersionEImageIcon versionEImageIcon = new VersionEImageIcon();\r\n versionEImageIcon.newColorFromPanel(panelColor);\r\n jLabel1.setText(INFO_LABEL);\r\n Usuario usuarioTipo = Login.getUsuario();\r\n this.administrador = usuarioTipo.isAdmin();\r\n if (!administrador)\r\n {\r\n rangos.setEnabled(false);\r\n controles.setEnabled(false);\r\n alta_usuarios.setEnabled(false);\r\n verificacion.setEnabled(false);\r\n }\r\n }",
"@Override\n\tprotected void addToControl(Composite control) {\n\t\t\n\t}",
"public ViewClass() {\n\t\tcreateGUI();\n\t\taddComponentsToFrame();\n\t\taddActionListeners();\n\t}",
"@Override\n public void postHideEt() {\n }",
"@Override\n\tpublic void InitView() {\n\t\t\n\t}",
"public Controls()\n {\n string = \"Controls\";\n getButtonImage();\n }",
"@Override\n\tprotected void buildButton() {\n\t\t\n\t}",
"private JPanel getControlPanel() {\n\t\tJPanel controlPanel = new JPanel();\n\t\t\n\t\tTitledBorder border = new TitledBorder(\" CONTROL PANEL\");\n\t\tborder.setTitleFont(new Font(\"TimesNewRoman\", Font.BOLD, 12));\n\t\tcontrolPanel.setBorder(border);\n\t\tcontrolPanel.setBackground(new Color(245, 214, 196));\n\t\tcontrolPanel.setPreferredSize(new Dimension(595, 50));\n\t\t\n\t\tJRadioButton viewRcmButton = new JRadioButton(\"View RCM\");\n\t\tviewRcmButton.setSelected(true);\n\t\t\n\t\tJRadioButton addRcmButton = new JRadioButton(\"Add RCM\");\n\t\t\n\t\tJRadioButton removeRcmButton = new JRadioButton(\"Remove RCM\");\n\t\t\n\t\tJRadioButton manageRcmButton = new JRadioButton(\"Manage RCM\");\n\t\t\n\t\tJRadioButton manageItemButton = new JRadioButton(\"Manage Items\");\n\t\t\n\t\tButtonGroup group = new ButtonGroup();\n\t group.add(viewRcmButton);\n\t group.add(addRcmButton);\n\t group.add(removeRcmButton);\n\t group.add(manageRcmButton);\n\t group.add(manageItemButton);\n\t \n\t viewRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tviewRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t addRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t removeRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tremoveRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t manageRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tmanageRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\n\t\t\n\t manageItemButton.addActionListener(new ActionListener() {\n\t\n\t \t@Override\n\t \tpublic void actionPerformed(ActionEvent e) {\n\t \t\tmanageItemButtonHandler();\n\t\t\n\t \t}\n\t });\n\t controlPanel.add(viewRcmButton);\n\t controlPanel.add(addRcmButton);\n\t controlPanel.add(removeRcmButton);\n\t controlPanel.add(manageRcmButton);\n\t controlPanel.add(manageItemButton);\n\t \n\t\treturn controlPanel;\n\t}",
"@Override\n protected void initView() {\n }",
"@Override\n protected void initView() {\n }",
"public ManipularView() {\n initComponents();\n }",
"@Override\n\tpublic Control build() {\n\t\treturn null;\n\t}",
"public abstract void addSelectorForm();",
"public ControlFactoryImpl() {\n\t\tsuper();\n\t}",
"@Override\n public void newPanelModel() {\n\n }",
"@Override\n public void newPanelModel() {\n\n }",
"public ControlPanel controlPanel() {\n return this.controlPanel;\n }",
"public void control() {\n\r\n\t}",
"@Override\r\n\tprotected void initUI() {\n\r\n\t}",
"@Override\n public void Create() {\n\n initView();\n }",
"private FrameUIController(){\r\n\t\t\r\n\t}",
"@Override\n\tpublic int getNumberOfControls()\n\t{\n\t\treturn 1;\n\t}",
"public ControladorPanel() { }",
"@Override\r\n\tpublic void createPartControl(Composite parent) {\n\r\n\t}",
"public ControlView (SimulationController sc){\n myProperties = ResourceBundle.getBundle(\"english\");\n myStartBoolean = false;\n mySimulationController = sc;\n myRoot = new HBox();\n myPropertiesList = sc.getMyPropertiesList();\n setView();\n\n }",
"@Override\n\tpublic void view() {\n\t\t\n\t}",
"public void _getControl() {\n model = oObj.getControl() ;\n\n tRes.tested(\"getControl()\", true) ;\n }",
"@Override\n public void onClick()\n {\n Instance instance = null;\n final AbstractUIField uiField = super.getModelObject();\n if (uiField.getInstanceKey() != null) {\n Menu menu = null;\n try {\n instance = uiField.getInstance();\n menu = Menu.getTypeTreeMenu(instance.getType());\n } catch (final EFapsException e) {\n throw new RestartResponseException(new ErrorPage(e));\n }\n if (menu == null) {\n final Exception ex = new Exception(\"no tree menu defined for type \" + instance.getType().getName());\n throw new RestartResponseException(new ErrorPage(ex));\n }\n\n Page page;\n try {\n page = new ContentContainerPage(menu.getUUID(), uiField.getInstanceKey(),\n getPage() instanceof StructurBrowserPage);\n } catch (final EFapsException e) {\n page = new ErrorPage(e);\n }\n this.setResponsePage(page);\n }\n }",
"public PageControl() {}",
"@Override\n public JComponent getViewPanel ()\n {\n AssetViewAddEditLayout l = this.getLayout (this.object);\n\n return null;\n\n // TODO Remove? l.createView (this.object.getViewEditHandlers (this.viewer));\n\n }",
"@Override\n public JComponent getComponent () {\n return this;\n }",
"@Override\n public MediaControl getMediaControl() {\n return this;\n }",
"abstract EExpr forControl(ENodeBuilder b, Astro ej, StaticScope optUsed);",
"public InputView()\n\t{\n\t\tthis.layoutView();\n\t\tthis.registerButtons();\n\t}",
"public void _setControl() {\n requiredMethod(\"getControl()\") ;\n\n XInterface oNewControl = FormTools.createControl\n ((XComponent)tEnv.getObjRelation(\"xDoc\"), \"ComboBox\") ;\n\n XControlModel xControl = (XControlModel) UnoRuntime.queryInterface\n (XControlModel.class, oNewControl) ;\n\n oObj.setControl(xControl) ;\n\n XControlModel gControl = oObj.getControl() ;\n\n if (oNewControl.equals(gControl))\n tRes.tested(\"setControl()\", true) ;\n else {\n log.println(\"Control set is not equal to control get\") ;\n tRes.tested(\"setControl()\", false) ;\n }\n }",
"public Control[] getControls() {\n\t\treturn null;\r\n\t}",
"public void setControlView() {\n\t\tif (mControlView != null) {\n\t\t\tmControlView.setRepeat(Const.FILTER_TEXT);\n\t\t\tmControlView.setPhotoTimeType(mLogicManager.getPageNum());\n\t\t\tmControlView.setFileName(mLogicManager\n\t\t\t\t\t.getCurrentFileName(Const.FILTER_TEXT));\n\t\t\tmControlView.setFilePosition(mLogicManager.getTextPageSize());\n\t\t}\n\t\tif(null!=mInfo && mInfo.isShowing())\n\t\t{\n\t\t\tmInfo.setTextView();\n\t\t}\n\t}",
"@Override\n public int getRenderType()\n {\n return 31;\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}",
"public Ui() {\n this.sc = sc;\n }",
"public ScaleControl() {\n super();\n }",
"public UbicacionesView() {\n initComponents();\n mostrarLugaresParqueo();\n setLocationRelativeTo(null);\n comboEstadoUbic.setEnabled(false);\n comboTipoUbicacion.setEnabled(false);\n spinCantUbic.setEnabled(false);\n btnGuardar.setEnabled(false);\n }",
"@Override\r\n protected void onForm(ClientForm form) {\n \r\n }",
"protected void createControl() {\n\t\tGridLayout layout = new GridLayout(1, true);\n\t\tsetLayout(layout);\n\t\tsetLayoutData(new GridData(GridData.FILL_BOTH));\n\n\t\tComposite nameGroup = new Composite(this, SWT.NONE);\n\t\tlayout = new GridLayout();\n\t\tlayout.numColumns = 2;\n\t\tnameGroup.setLayout(layout);\n\t\tnameGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));\n\n\t\tLabel label = new Label(nameGroup, SWT.NONE);\n\t\tlabel.setText(PHPServerUIMessages\n\t\t\t\t.getString(\"ServerCompositeFragment.nameLabel\")); //$NON-NLS-1$\n\t\tGridData data = new GridData();\n\t\tlabel.setLayoutData(data);\n\n\t\tname = new Text(nameGroup, SWT.BORDER);\n\t\tdata = new GridData(GridData.FILL_HORIZONTAL);\n\t\tname.setLayoutData(data);\n\t\tname.addModifyListener(new ModifyListener() {\n\t\t\tpublic void modifyText(ModifyEvent e) {\n\t\t\t\tif (getServer() != null)\n\t\t\t\t\tmodifiedValuesCache.serverName = name.getText();\n\t\t\t\tvalidate();\n\t\t\t}\n\t\t});\n\t\tcreateURLGroup(this);\n\t\tinit();\n\t\tvalidate();\n\n\t\tDialog.applyDialogFont(this);\n\n\t\tname.forceFocus();\n\t}",
"@Override\n\tpublic void guiTinNhan() {\n\n\t}",
"@Override\r\n\tpublic void setModel() {\n\t}",
"public Onview() {\r\n initComponents();\r\n loadDisplayScreen();\r\n jcbX_Axis.setModel(new DefaultComboBoxModel(new String[]{}));\r\n jcbX_Axis.setEnabled(false);\r\n jcbY_Axis.setModel(new DefaultComboBoxModel(new String[]{}));\r\n jcbY_Axis.setEnabled(false);\r\n setResizable(false);\r\n }",
"@Override\n\tpublic void initView() {\n\t\t\n\t}",
"@Override\n public int getRenderType()\n {\n return 22;\n }",
"@Override\n public void beforeRender()\n {\n\n }",
"public SynopticView() {\n\t\tsuper();\n\t}",
"@Override\n\tpublic void serializeUI() {\n\t\t\n\t}",
"public AggregateDragControl() {\r\n }",
"private void initControlUI() {\n typeAdapter = new SpinnerSimpleAdapter(self, android.R.layout.simple_spinner_item, self.getResources().getStringArray(R.array.arr_feedback_type));\n spnType.setAdapter(typeAdapter);\n }",
"public Modify() {\n initComponents();\n }",
"@Override\npublic void setUIComponent(VirtualComponent c) {\n\t\n}",
"public MovimientoControl() {\n }",
"@Override protected JComponent setupPanel()\t{ return null; }",
"@Override\r\n\t\t\tpublic void seleccionar() {\n\r\n\t\t\t}",
"private final native MVCArray<Element> getControls(int controlPosition) /*-{\n return this.controls[controlPosition];\n }-*/;"
] | [
"0.6830231",
"0.6386344",
"0.6349658",
"0.6296861",
"0.62931424",
"0.6291008",
"0.6269348",
"0.6217248",
"0.6186398",
"0.6168346",
"0.61490655",
"0.61194664",
"0.61114967",
"0.60756665",
"0.6068393",
"0.6051955",
"0.6048165",
"0.6036419",
"0.6031297",
"0.60255116",
"0.5996246",
"0.5996246",
"0.5984673",
"0.592424",
"0.59179175",
"0.5896037",
"0.5882461",
"0.5849453",
"0.58349097",
"0.58349097",
"0.58139664",
"0.5812443",
"0.5812003",
"0.5812003",
"0.5808188",
"0.58022624",
"0.58022624",
"0.5789134",
"0.57670593",
"0.5761854",
"0.5757347",
"0.5720524",
"0.5706824",
"0.570503",
"0.5702679",
"0.56779116",
"0.5673",
"0.5670666",
"0.56615174",
"0.56615174",
"0.5659504",
"0.5659483",
"0.5651941",
"0.56376976",
"0.5637375",
"0.5637375",
"0.5627986",
"0.5621053",
"0.5618746",
"0.5611793",
"0.5602625",
"0.5598004",
"0.55863786",
"0.55833036",
"0.55702424",
"0.55683905",
"0.5561633",
"0.5554979",
"0.55476886",
"0.5547546",
"0.55448717",
"0.553861",
"0.55352044",
"0.55332536",
"0.55304044",
"0.55264175",
"0.55196476",
"0.551426",
"0.5506849",
"0.5506849",
"0.55066943",
"0.55066574",
"0.54897887",
"0.5488009",
"0.5475",
"0.54702634",
"0.54633385",
"0.5461627",
"0.5448663",
"0.54462755",
"0.5442904",
"0.54251397",
"0.5425039",
"0.542022",
"0.54182714",
"0.5405622",
"0.54053867",
"0.540265",
"0.53912175",
"0.5385917",
"0.53821665"
] | 0.0 | -1 |
Returns a JButton that is associated with the actionlistener and will start and stop the timer. | public JButton getButtonToStartTimer()
{
return timerButton;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private JButton getCmdStop() {\r\n\t\tif (cmdStop == null) {\r\n\t\t\tcmdStop = new JButton();\r\n\t\t\tcmdStop.setText(\"\");\r\n\t\t\tcmdStop.setIcon(new ImageIcon(getClass().getResource(\"/Stop-48.png\")));\r\n\t\t\tcmdStop.setToolTipText(\"Stop all current operation.\");\r\n\t\t\tcmdStop.setEnabled(false);\r\n\t\t\tcmdStop.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tchkproxy.cancel(true);\r\n\t\t\t\t\tcmdStart.setEnabled(true);\r\n\t\t\t\t\tcmdPause.setEnabled(false);\r\n\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn cmdStop;\r\n\t}",
"private JButton getJButton() {\n\t\tif (new_button == null) {\n\t\t\tnew_button = new JButton();\n\t\t\tnew_button.setText(Locale.getString(\"NEW\"));\n\t\t\tnew_button.setMnemonic(java.awt.event.KeyEvent.VK_N);\n\t\t\tnew_button.addActionListener(new java.awt.event.ActionListener() { \n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \n\t\t\t\t\tSystem.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn new_button;\n\t}",
"private JButton getButButton() { \n if (butButton == null) { \n butButton = new JButton(); \n butButton.setBounds(new Rectangle(58, 110, 177, 50)); \n butButton.setText(\"Enviar\"); \n butButton.addActionListener(new java.awt.event.ActionListener() { \n public void actionPerformed(java.awt.event.ActionEvent e) { \n send(); \n } \n }); \n } \n return butButton; \n }",
"private JButton getCancelButton() {\n if (cancelButton == null) {\n cancelButton = new JButton();\n cancelButton.setText(\"Cancel\");\n cancelButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n canceled = true;\n dispose();\n }\n });\n }\n return cancelButton;\n }",
"private JButton getJbtnCalculate() {\n\t\tif (jbtnCalculate == null) {\n\t\t\tjbtnCalculate = new JButton();\n\t\t\tjbtnCalculate.setText(\"Calculate\");\n\t\t\tjbtnCalculate.setBounds(new Rectangle(128, 520, 213, 34));\n\t\t\tjbtnCalculate.setActionCommand(\"Calculate\");\n\t\t}\n\t\treturn jbtnCalculate;\n\t}",
"private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setBounds(new Rectangle(172, 11, 71, 26));\r\n\t\t\tjButton.setText(\"Button\");\r\n\t\t\tjButton.addActionListener(new MultiHighlight(jTextArea, \"aeiouAEIOU\"));\r\n\t\t}\r\n\t\treturn jButton;\r\n\t}",
"private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(285, 75, 82, 19));\n\t\t\tjButton.setText(\"Potvrď\");\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\n\t\t\t\t\tif (jTextArea.getText().equals(\"\") == false) {\n\t\t\t\t\t\tmeno = jTextArea.getText();\n\t\t\t\t\t\tcvicenieText111.setText(meno);\n\t\t\t\t\t\tcvicenieText1112.setText(\"0\");\n\t\t\t\t\t\tcvicenieText1111.setVisible(true);\n\t\t\t\t\t\t\n\t\t\t\t\t\turoven = \"0\";\n\n\t\t\t\t\t\tvycvik1Button.setEnabled(true);\n\t\t\t\t\t\tskuska1Button.setEnabled(true);\n\t\t\t\t\t\tvycvik2Button.setEnabled(true);\n\t\t\t\t\t\tskuska2Button.setEnabled(true);\n\t\t\t\t\t\tvycvik3Button.setEnabled(true);\n\t\t\t\t\t\tskuska3Button.setEnabled(true);\n\t\t\t\t\t\tprieskumButton.setEnabled(true);\n\t\t\t\t\t\t\n\t\t\t\t\t\t/*\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tURL yahoo = new URL(\"http://www.yahoo.com/\");\n\t\t\t\t\t\t\tURLConnection yahooConnection = yahoo.openConnection();\n\t\t\t\t\t\t\tyahooConnection.connect();\n\t\t\t\t\t\t} catch (MalformedURLException e1) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t}*/\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton;\n\t}",
"protected abstract ActionListener getActionListener();",
"private JButton getCmdStart() {\r\n\t\tif (cmdStart == null) {\r\n\t\t\tcmdStart = new JButton();\r\n\t\t\tcmdStart.setText(\"\");\r\n\r\n\t\t\tcmdStart.setToolTipText(\"Start checking the status of all proxy.\");\r\n\t\t\tcmdStart.setIcon(new ImageIcon(getClass().getResource(\"/start.png\")));\r\n\t\t\tcmdStart.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\tcmdPause.setEnabled(true);\t\r\n\t\t\t\t\tcmdStart.setEnabled(false);\r\n\r\n\t\t\t\t\tif (chkproxy.isPause()==true) {\r\n\t\t\t\t\t\tsynchronized(chkproxy) {\r\n\t\t\t\t\t\t\tchkproxy.notify();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tchkproxy.execute();\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\tcmdStop.setEnabled(true);\r\n\r\n\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn cmdStart;\r\n\t}",
"public Component startButton() {\n startButton = new JButton(\"Start\");\n setFocusable(false);\n return startButton;\n }",
"private JButton getJButton1() {\r\n\t\tif (jButton1 == null) {\r\n\t\t\tjButton1 = new JButton();\r\n\t\t\tjButton1.setBounds(new java.awt.Rectangle(194,346,85,21));\r\n\t\t\tjButton1.setBackground(java.awt.Color.lightGray);\r\n\t\t\tjButton1.setText(\"Cancelar\");\r\n\t\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tSystem.out.println(\"Cancelar Alta Afiliado.\");\r\n\t\t\t\t\tcdor.actionCerrar();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButton1;\r\n\t}",
"public JButton getCapturedBtn() {\r\n\t\tthis.capturedBtn = new JButton(\"Captured File\");\r\n\t\tthis.capturedBtn.addActionListener(this);\r\n\t\tthis.capturedBtn.setEnabled(ComponentData.getCapturedBtnIsEnabled());\r\n\t\treturn this.capturedBtn;\r\n\t}",
"StopAction createStopAction();",
"private JButton getJButtonCancel() {\n\t\tif (jButtonCancel == null) {\n\t\t\tjButtonCancel = new JButton();\n\t\t\tjButtonCancel.setText(\"I disagree\");\n\t\t\tjButtonCancel.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tok = false;\n\t\t\t\t\tdispose();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButtonCancel;\n\t}",
"private JButton getLaunchButton() {\r\n\t\tif (launchButton == null) {\r\n\t\t\tlaunchButton = new JButton();\r\n\t\t\tlaunchButton.setText(Message.getMessage(\"reportmaker.process.label\"));\r\n\t\t\tlaunchButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tReportMakerController.instance.process();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn launchButton;\r\n\t}",
"private JButton getJButtonCrear() {\r\n\t\tif (jButtonCrear == null) {\r\n\t\t\tjButtonCrear = new JButton();\r\n\t\t\tjButtonCrear.setText(BOTONCREAR);\r\n\t\t\tjButtonCrear.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tcrearCuenta();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonCrear;\r\n\t}",
"private JButton getCancelButton() {\r\n\t\tif (cancelButton == null) {\r\n\t\t\tcancelButton = new JButton();\r\n\t\t\tcancelButton.setText(\"Cancel\");\r\n\t\t\tcancelButton.addActionListener(new java.awt.event.ActionListener() { \r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \r\n\t\t\t\t\tdispose();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn cancelButton;\r\n\t}",
"private JButton getJButtonSalir() {\r\n\t\tif (jButtonSalir == null) {\r\n\t\t\tjButtonSalir = new JButton();\r\n\t\t\tjButtonSalir.setText(BOTONSALIR);\r\n\t\t\tjButtonSalir.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tvolver();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonSalir;\r\n\t}",
"private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(57, 80, 34, 45));\n\t\t}\n\t\treturn jButton;\n\t}",
"private Component getCancelButton() {\n\t\tif (cancelButton == null) {\r\n\t\t\tcancelButton = new JButton();\r\n\t\t\tcancelButton.setText(\"Cancel\");\r\n\t\t\tcancelButton.addActionListener(new ActionListener() {\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t \r\n\t\t\t\t\t\tdispose();\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 cancelButton;\r\n\t}",
"private JButton getCmdPause() {\r\n\t\tif (cmdPause == null) {\r\n\t\t\tcmdPause = new JButton();\r\n\t\t\tcmdPause.setIcon(new ImageIcon(getClass().getResource(\"/Pause-48.png\")));\r\n\t\t\tcmdPause.setToolTipText(\"Give you a pause.\");\r\n\t\t\tcmdPause.setEnabled(false);\r\n\t\t\tcmdPause.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\r\n\t\t\t\t\tchkproxy.setPause(true);\r\n\t\t\t\t\tcmdStart.setEnabled(true);\r\n\t\t\t\t\tcmdStop.setEnabled(false);\r\n\t\t\t\t\tcmdPause.setEnabled(false);\r\n\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn cmdPause;\r\n\t}",
"private JButton getJButtonDiscnnt() {\r\n\t\tif (jButtonDiscnnt == null) {\r\n\t\t\tjButtonDiscnnt = new JButton();\r\n\t\t\tjButtonDiscnnt.setBounds(new Rectangle(269, 82, 60, 23));\r\n\t\t\tjButtonDiscnnt.setMargin(new Insets(2, 5, 2, 5));\r\n\t\t\tjButtonDiscnnt.setEnabled(false);\r\n\t\t\tjButtonDiscnnt.setText(\"断开\");\r\n\t\t}\r\n\t\treturn jButtonDiscnnt;\r\n\t}",
"private JButton getBtnCancel() {\n if (btnCancel == null) {\n btnCancel = new JButton();\n btnCancel.setText(\"Odustani\");\n btnCancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n selected = false;\n setVisible(false);\n }\n });\n }\n return btnCancel;\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(!timer.isRunning()){timer.start();jbtAuto.setText(\"Stop\");}\n\t\t\t\telse{\n\t\t\t\t\ttimer.stop();jbtAuto.setText(\"Start\");\n\t\t\t\t}\n\t\t\t}",
"private JButton makeButton(String action, String label, int x, int y, int width, int height,\r\n float alignment, String soundName) {\r\n JButton button = new JButton(label);\r\n button.setBounds(x, y, width, height);\r\n button.setAlignmentX(alignment);\r\n button.setBackground(Color.ORANGE);\r\n clickActionListener(button, action, soundName);\r\n return button;\r\n }",
"private javax.swing.JButton getJButtonCancel() {\n\t\tif(jButton1 == null) {\n\t\t\tjButton1 = new javax.swing.JButton();\n\t\t\tjButton1.setText(\"Cancel\");\n\t\t\tjButton1.setMnemonic(java.awt.event.KeyEvent.VK_C);\n\t\t\tjButton1.setName(\"Cancel\");\n\t\t\tjButton1.setPreferredSize(new java.awt.Dimension(85,25));\n\t\t\tjButton1.addActionListener(new java.awt.event.ActionListener() { \n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \n\t\t\t\t\tdispose();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton1;\n\t}",
"Button new_button (String title, ActionListener action, String tooltip) {\n Button b = new Button(title);\n b.setBackground(Color.white);\n b.setForeground(Color.blue);\n if (action != null)\n b.addActionListener(action);\n if (tooltip != null)\n b.setToolTipText(tooltip);\n return b;\n }",
"private JPanel initButtonPanel() {\n JPanel buttonPanel = new JPanel();\n buttonPanel.setLayout(new FlowLayout(SwingUtilities.HORIZONTAL));\n\n completeButton = new JButton(new AbstractAction(\"Complete\") {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n task.setStatus(TaskStatus.COMPLETED);\n dialog.setVisible(false);\n }\n });\n buttonPanel.add(completeButton);\n\n closeButton = new JButton(new AbstractAction(\"Close\") {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n dialog.setVisible(false);\n }\n });\n buttonPanel.add(closeButton);\n\n return buttonPanel;\n }",
"private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setText(\"Remove\");\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tContainer parent = getParent();\n\t\t\t\t\tparent.remove(FilePanel.this);\n\t\t\t\t\t((JPanel) parent).revalidate();\n\t\t\t\t\tparent.repaint();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton;\n\t}",
"private JButton getBcancel() {\n if( Bcancel == null ) {\n Bcancel = new JButton();\n Bcancel.setText(\"Cancel\");\n Bcancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n setVisible(false);\n dispose();\n }\n });\n }\n return Bcancel;\n }",
"protected JButton createRefreshButton() {\n JButton butRefresh = new JButton();\n butRefresh.setIcon(new ImageIcon(getClass().getClassLoader().getResource(\"image/refresh3.png\")));\n butRefresh.setToolTipText(\"Refresh All\");\n butRefresh.addActionListener(new refreshListener());\n return butRefresh;\n }",
"Button getBtn();",
"private JButton getJButtonCancel() {\r\n\t\tif (jButtonCancel == null) {\r\n\t\t\tjButtonCancel = new JButton();\r\n\t\t\tjButtonCancel.setBounds(new Rectangle(220, 215, 90, 30));\r\n\t\t\tjButtonCancel.setText(\"取消\");\r\n\t\t\tjButtonCancel.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tjColorChooser.setVisible(false);\r\n\t\t\t\t\tchooserColor = null;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonCancel;\r\n\t}",
"private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setText(\"Close\");\r\n\t\t\tjButton.setSize(new Dimension(90,30));\r\n\t\t\tjButton.setLocation(new Point(660, 520));\r\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tsetVisible(false);\r\n\t\t\t\t\t_parent.addSelectFields(PageSelectDialog.this);\r\n\t\t\t\t\tUtils.removeWindow(PageSelectDialog.this);\r\n\t\t\t\t\t_parent.setVisible(true);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButton;\r\n\t}",
"private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(90, 90, 100, 16));\n\t\t\tjButton.setText(\"Désincrire\");\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tint idE=Integer.parseInt(txtIdE.getText());\n\t\t\t\t\t\tint idC=Integer.parseInt(txtIdC.getText());\n\t\t\t\t\t\t\n\t\t\t\t\t\tEtudiant et=null;\n\t\t\t\t\t\tfor(Etudiant etu: MainF.getEnsEtudiant())\n\t\t\t\t\t\t\tif(etu.getId()==idE)\n\t\t\t\t\t\t\t\tet=etu;\n\t\t\t\t\t\t\n\t\t\t\t\t\tCours cour=null;\n\t\t\t\t\t\tfor(Cours c: MainF.getEnsCours())\n\t\t\t\t\t\t\tif(c.getCode()==idC)\n\t\t\t\t\t\t\t\tcour=c;\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(cour!=null && et!=null)\n\t\t\t\t\t\t\t{\t\n\t\t\t\t\t\t\t\tet.desincrire(cour);\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Désincription términée\");\n\t\t\t\t\t\t\t\ttxtIdC.setText(\"\");\n\t\t\t\t\t\t\t\ttxtIdE.setText(\"\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tif(cour==null)\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Ce cours n'éxiste pas\");\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Cet étudiant n'éxiste pas\");\n\t\t\t\t\t\t}catch(DesinscriptionImpossible er1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, er1.getMessage());\n\t\t\t\t\t\t}\t\n\t\t\t\t\t}catch(NumberFormatException er)\n\t\t\t\t\t{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Verifiez que les champs sont entiers\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton;\n\t}",
"private JButton getCxjButton() {\r\n\t\tif (cxjButton == null) {\r\n\t\t\tcxjButton = new JButton();\r\n\t\t\tcxjButton.setBounds(new Rectangle(381, 32, 52, 19));\r\n\t\t\t// cxjButton.setText(\"查询\");\r\n\t\t\tcxjButton.setCursor(new Cursor(Cursor.HAND_CURSOR));\r\n\t\t\tcxjButton.setIcon(drawImage(\"cx.GIF\"));\r\n\t\t\tcxjButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t// System.out.println(\"actionPerformed()\"); // TODO\r\n\t\t\t\t\t// Auto-generated Event stub actionPerformed()\r\n\t\t\t\t\tisButtonClick = true;\r\n\t\t\t\t\tpageSize = 0;\r\n\t\t\t\t\tcurrentPage = 1;\r\n\t\t\t\t\tgetQx();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn cxjButton;\r\n\t}",
"private JButton getViewButton() {\r\n\t\tif (viewButton == null) {\r\n\t\t\tviewButton = new JButton();\r\n\t\t\tviewButton.setText(Message.getMessage(\"reportmaker.view.label\"));\r\n\t\t\tviewButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tdisplayReport();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn viewButton;\r\n\t}",
"private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setBounds(new Rectangle(37, 122, 124, 32));\r\n\t\t\tjButton.setBackground(new Color(0, 204, 51));\r\n\t\t\tjButton.setText(\"Search\");\r\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e)\r\n\t\t\t\t{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tjTextArea.setText(\"\");\r\n\t\t\t\t\tString s=jTextField.getText();\r\n\t\t\t\t\tboolean ok=validate(s);\r\n\t\t\t\t\tif(!ok) jTextArea.setText(\"Sorry. No records for '\"+s+\"'.\");\r\n\t\t\t\t\tif(s.length()>0 && ok)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tString text;\r\n\t\t\t\t\t\ttext=(String)load.myMap.searchMatchesInMap(s);\r\n\t\t\t\t\t\tjTextArea.setEditable(true);\r\n\t\t\t\t\t\tif(text.compareTo(\"\")!=0)\t\t\t\t\t\r\n\t\t\t\t\t\t\tjTextArea.setText(text);\r\n\t\t\t\t\t\telse \r\n\t\t\t\t\t\t\tjTextArea.setText(\"Sorry. No records for '\"+s+\"'.\");\r\n\t\t\t\t\t\tjTextArea.setEditable(false);\r\n\t\t\t\t\t\tjTextField.setText(\"\");\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 jButton;\r\n\t}",
"private JButton getJButton1() {\n\t\tif (jButton1 == null) {\n\t\t\tjButton1 = new JButton();\n\t\t\tjButton1.setBounds(new Rectangle(25, 295, 76, 25));\n\t\t\tjButton1.setText(\"Pomoc\");\n\t\t\tjButton1.addActionListener(new java.awt.event.ActionListener() { \n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \n\t\t\t\t\t\n\t\t\t\t\tJDialog jDialog = getPomocDialog();\n\t\t\t\t\tjDialog.setTitle(\"Pomoc\");\n\t\t\t\t\tjDialog.pack();\n\t\t\t\t\tPoint loc = getHlavneOkno().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\tjDialog.setLocation(loc);\n\t\t\t\t\tjDialog.setVisible(true);\n\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\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tSystem.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton1;\n\t}",
"private JButton getJButtonInto() {\r\n\t\tif (jButtonInto == null) {\r\n\t\t\tjButtonInto = new JButton();\r\n\t\t\tjButtonInto.setMargin(new Insets(2, 5, 2, 5));\r\n\t\t\tjButtonInto.setText(\"数据入库\");\r\n\t\t\tjButtonInto.setBounds(new Rectangle(512, 517, 70, 23));\r\n\t\t\tjButtonInto.addMouseListener(new MouseAdapter() {\r\n\t\t\t\tpublic void mouseClicked(java.awt.event.MouseEvent e) {\r\n\t\t\t\t\tDataIntoGui.this.setVisible(false);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonInto;\r\n\t}",
"public static ActionListener clock() {\n\n\t\tActionListener action = new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\trepetitions++;\n\t\t\t\tif((repetitions%(new Integer(getConfiguration().getTiempo())/timerRepeater))==0){\n\t\t\t\t\tFileUtils.createDailyReport(getConfiguration());\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t};\n\n\t\treturn action;\n\n\t}",
"private JButton getJButton2() {\r\n\t\tif (jButton2 == null) {\r\n\t\t\tjButton2 = new JButton();\r\n\t\t\tjButton2.setBounds(new java.awt.Rectangle(308,346,79,21));\r\n\t\t\tjButton2.setBackground(java.awt.Color.lightGray);\r\n\t\t\tjButton2.setText(\"Aceptar\");\r\n\t\t\tjButton2.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tif(jTextField2.getText().equals(\"\") || jTextField.getText().equals(\"\") || jTextField3.getText().equals(\"\") || calendar.getDate()==null){\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Debe ingresar los campos obligatorios identificados con *.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse{\r\n\t\t\t\t\t\tif(!validateEmail(jTextField5.getText())){\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Formato de E-mail incorrecto\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\tCalendar fechaActual = Calendar.getInstance();\r\n\t\t\t\t\t\t\tDate fechaActualDate = fechaActual.getTime();\r\n\t\t\t\t\t\t\tDate fecha = calendar.getDate();\r\n\t\t\t\t\t\t\tCalendar fechaIngr = Calendar.getInstance();\r\n\t\t\t\t\t\t\tfechaIngr.setTime(fecha);\r\n\t\t\t\t\t\t\t\tif(fecha.compareTo(fechaActualDate)>0){\r\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"La fecha ingresada no puede ser mayor a la fecha actual.\");\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\t\tboolean fona = jCheckBox.isSelected();\r\n\t\t\t\t\t\t\t\t\tcdor.altaAfil(jTextField1.getText(), jTextField3.getText(), jTextField2.getText(), jTextField.getText(), jTextField5.getText(), jTextField6.getText(), jTextField4.getText(), \"A\", fechaIngr, fona);\r\n\t\t\t\t\t\t\t\t\tcdor.actionCerrar();\r\n\t\t\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\t\t\t});\r\n\t\t}\r\n\t\treturn jButton2;\r\n\t}",
"public MyTimerPanel(){\r\n\t\t//set up the body\r\n\t\tstopWatchTimer = new StopWatch (0, 0, 0);\r\n timer = new TimerListener();\r\n javaTimer = new Timer(100, timer);\r\n //javaTimer.start();\r\n javaTimer.setRepeats(flag);\r\n\r\n //set the layout\r\n setLayout(new GridLayout(4,3));\r\n\t\tsetBackground(Color.BLUE);\r\n\t\t\r\n\t\t//initialize JButttons\r\n\t\tstart = new JButton(\"START\");\r\n\t\tstop = new JButton(\"STOP\");\r\n\t\treset = new JButton(\"RESET\");\r\n\t\tadd = new JButton(\"ADD\");\r\n\t\tsub = new JButton(\"SUBTRACT\");\r\n\t\t\r\n\t\t//make text fields initially 0\r\n\t\tmin = new JTextField(\"0\");\r\n\t\tsec = new JTextField(\"0\");\r\n\t\tmilli = new JTextField(\"0\");\r\n\t\t\r\n\t\t//initialize JLabels\r\n\t\ttime = new JLabel(\"Time: \" + stopWatchTimer.toString());\r\n\t\tminL = new JLabel(\"Minute: \");\r\n\t\tsecL = new JLabel(\"Second: \");\r\n\t\tmilliL = new JLabel(\"Millisecond: \");\r\n\t\t\r\n\t\t//add to menu bar\r\n//\t\t\t\tJMenuBar menuBar = new JMenuBar();\r\n//\t\t\t\tmenuBar.add(file);\r\n\t\t\r\n\t\t\r\n\t //timer = new TimerListener();\r\n\t\tmin.addActionListener(timer);\r\n\t\tsec.addActionListener(timer);\r\n\t\tmilli.addActionListener(timer);\r\n\t\tstart.addActionListener(timer);\r\n\t\tstop.addActionListener(timer);\r\n\t\treset.addActionListener(timer);\r\n\t\tadd.addActionListener(timer);\r\n\t\tsub.addActionListener(timer);\r\n\t\t\r\n\t\t//add everything to panel\r\n\t\tadd(time);\r\n\t\t\r\n\t\tadd(reset);\r\n\t\tadd(add);\r\n\t\tadd(minL);\r\n\t\tadd(min);\r\n\t\tadd(start);\r\n\t\tadd(secL);\r\n\t\tadd(sec);\r\n\t\tadd(stop);\r\n\t\tadd(milliL);\r\n\t\tadd(milli);\r\n\t\tadd(sub);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"private JButton addCancelButton(){\n\t\tJButton cancelButton = new JButton(\"Cancel\");\n\n\t\tcancelButton.addActionListener(arg0 -> setVisible(false));\n\t\treturn cancelButton;\n\t}",
"ActionEvent createActionEvent();",
"private void createJButtonActionPerformed( ActionEvent event )\r\n {\r\n \r\n }",
"private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setEnabled(false);\r\n\t\t\tjButton.setBounds(new Rectangle(150, 294, 73, 17));\r\n\t\t\tjButton.setText(\"Select\");\r\n\t\t\tjButton.addActionListener(new java.awt.event.ActionListener() {\r\n\r\n\t\t\t\t\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tJFileChooser selecFile = new JFileChooser();\r\n\t\t\t\t\tselecFile.addChoosableFileFilter(new BiclusterResultsFilter());\r\n\t\t\t\t\tselecFile.setCurrentDirectory(new File(defaultPath));\r\n\t\t\t\t\tint returnval = selecFile.showSaveDialog((Component)e.getSource());\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(returnval == JFileChooser.APPROVE_OPTION) {\r\n\t\t\t\t\t\tresultsFile = selecFile.getSelectedFile();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButton;\r\n\t}",
"private JButton getBtnGo() {\r\n\t\tif (btnGo == null) {\r\n\t\t\tbtnGo = new JButton();\r\n\t\t\tbtnGo.setText(\"Go\");\r\n\t\t\tbtnGo.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tgoTo(txtAddress.getText(), HistoryManagement.CLEAR);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn btnGo;\r\n\t}",
"Button createButton();",
"private JPanel initBtnPanel() {\n\t\tconvBtn = new JButton();\n\t\tconvBtn.addActionListener(new ConversionBtnListener());\n\t\tconvBtn.setFont(new AppFont());\n\n\t\t// A button to switch the input and output scales\n\t\tswitchBtn = new JButton();\n\t\tswitchBtn.addActionListener(new SwitchListener());\n\t\tswitchBtn.setFont(new AppFont());\n\n\t\t// The panel that displays the buttons\n\t\tJPanel btnPanel = new JPanel();\n\t\tbtnPanel.setLayout(new FlowLayout());\n\t\tbtnPanel.add(convBtn);\n\t\tbtnPanel.add(switchBtn);\n\n\t\treturn btnPanel;\n\t}",
"private JButton getJButtonVisualizar() {\r\n\t\tif (jButtonVisualizar == null) {\r\n\t\t\tjButtonVisualizar = new JButton();\r\n\t\t\tjButtonVisualizar.setText(\"Visualizar\");\r\n\t\t\tjButtonVisualizar.setIcon(new ImageIcon(getClass().getResource(\"img\" + File.separator + \"run.gif\")));\r\n\t\t\tjButtonVisualizar.addActionListener(this);\r\n\t\t}\r\n\t\treturn jButtonVisualizar;\r\n\t}",
"private JButton createCloseButton() {\r\n\r\n\t\tJButton button = new JButton(BundleUtil.getString(BundleUtil.Command_Close));\r\n\t\tbutton.addActionListener(new ActionListener() {\r\n\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn button;\r\n\t}",
"private JComponent getButtonPanel() {\n JPanel buttonPanel = new JPanel();\n // Open\n OpenAction openAction = new OpenAction();\n buttonPanel.add(new JButton(openAction));\n // Save\n SaveAction saveAction = new SaveAction();\n buttonPanel.add(new JButton(saveAction));\n // Save as\n SaveAsAction saveAsAction = new SaveAsAction(saveAction);\n buttonPanel.add(new JButton(saveAsAction));\n return buttonPanel;\n }",
"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\t\tif (userBTN.getText().equals(\"START\")) {\n\t\t\t\t\t\tgameStart();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tnewTableTimer();\n\t\t\t\t\t\tcontrolPanel.add(tableTimer.getStopWatchPanel(), BorderLayout.CENTER);\n\t\t\t\t\t\ttableTimer.getStopWatchPanel().setBackground(new Color(0, 104, 56));\n\t\t\t\t\t\ttableTimer.getChargeLabel().setForeground(Color.WHITE);\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setFont(new Font(\"NanumGothicBold\", Font.BOLD, 50));\n\t\t\t\t\t\ttableTimer.getChargeLabel().setFont(new Font(\"NanumGothicBold\", Font.BOLD, 30));\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setForeground(Color.WHITE);\n\t\t\t\t\t\ttableTimer.setDaemon(true);\n\t\t\t\t\t\tuserBTN.setText(\"END\");\n\t\t\t\t\t\ttableTimer.start();\n\t\t\t\t\t} else if (userBTN.getText().equals(\"END\")) {\n\t\t\t\t\t\tgameEnd();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tuserBTN.setText(\"RESET\");\n\t\t\t\t\t\ttableTimer.setIsRun(false);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tgameReset();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tuserBTN.setText(\"START\");\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setText(\"\");\n\t\t\t\t\t\ttableTimer.getChargeLabel().setText(\"\");\n\t\t\t\t\t}\n\t\t\t\t}",
"public void actionPerformed( ActionEvent event )\r\n {\r\n createJButtonActionPerformed( event );\r\n }",
"private Component getButtonPanel() {\r\n\r\n logger.entering(this.getClass().getName(), \"getButtonPanel\");\r\n\r\n JButton btnOK = new JButton(\"OK\");\r\n\r\n btnOK.addActionListener(new ActionListener() {\r\n\r\n public void actionPerformed(@SuppressWarnings(\"unused\")\r\n final ActionEvent e) {\r\n updateMsdtFilterMap();\r\n\t\t\t\tclosePanel();\r\n }\r\n });\r\n\r\n JButton btnApply = new JButton(\"Apply\");\r\n\r\n btnApply.addActionListener(new ActionListener() {\r\n\r\n public void actionPerformed(@SuppressWarnings(\"unused\")\r\n final ActionEvent e) {\r\n updateMsdtFilterMap();\r\n }\r\n });\r\n\r\n JButton btnCancel = new JButton(\"Cancel\");\r\n\r\n btnCancel.addActionListener(new ActionListener() {\r\n\r\n public void actionPerformed(@SuppressWarnings(\"unused\")\r\n final ActionEvent e) {\r\n\t\t\t\tclosePanel();\r\n }\r\n });\r\n\r\n JButton btnClearAll = new JButton(\"Clear all\");\r\n\r\n btnClearAll.addActionListener(new ActionListener() {\r\n\r\n @SuppressWarnings( {\"synthetic-access\", \"unqualified-field-access\"})\r\n public void actionPerformed(@SuppressWarnings(\"unused\")\r\n final ActionEvent e) {\r\n for (JCheckBox chkMsdt : chkMsdtSelection.values()) {\r\n chkMsdt.setSelected(false);\r\n }\r\n\r\n }\r\n });\r\n\r\n JButton btnRestore = new JButton(\"Restore\");\r\n\r\n btnRestore.addActionListener(new ActionListener() {\r\n\r\n public void actionPerformed(@SuppressWarnings(\"unused\")\r\n final ActionEvent e) {\r\n refreshCheckBoxes();\r\n\r\n }\r\n\r\n });\r\n\r\n JPanel pnlButtons = new JPanel();\r\n\r\n pnlButtons.add(btnRestore);\r\n\r\n pnlButtons.add(btnClearAll);\r\n\r\n pnlButtons.add(btnCancel);\r\n\r\n pnlButtons.add(btnApply);\r\n\r\n\t\tpnlButtons.add(btnOK);\r\n\r\n logger.exiting(this.getClass().getName(), \"getButtonPanel\", pnlButtons);\r\n\r\n return pnlButtons;\r\n }",
"private JButton getBtnOdustani() {\r\n\t\tif (btnOdustani == null) {\r\n\t\t\tbtnOdustani = new JButton(\"Odustani\");\r\n\t\t\tbtnOdustani.setSize(new Dimension(118, 23));\r\n\t\t\tbtnOdustani.setMaximumSize(new Dimension(118, 23));\r\n\t\t\tbtnOdustani.setMinimumSize(new Dimension(118, 23));\r\n\t\t\tbtnOdustani.setPreferredSize(new Dimension(118, 23));\r\n\t\t\tbtnOdustani.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\tif(GUIKontroler.daLiSteSigurniDaZeliteDaOdustanete() == JOptionPane.YES_OPTION){\r\n\t\t\t\t\t\tdispose();\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 btnOdustani;\r\n\t}",
"private void createButton(){\n addButton();\n addStartButton();\n }",
"private JButton getSkuska1Button() {\n\t\tif (skuska1Button == null) {\n\t\t\tskuska1Button = new JButton();\n\t\t\tskuska1Button.setEnabled(false);\n\t\t\tskuska1Button.setSize(new Dimension(83, 25));\n\t\t\tskuska1Button.setLocation(new Point(227, 166));\n\t\t\tskuska1Button.setText(\"Skúška\");\n\t\t\tskuska1Button.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tmod = \"1s\";\n\t\t\t\t\tspravne = true;\n\t\t\t\t\tucivoText\n\t\t\t\t\t\t\t.setText(\"úroveň 1: Základné a rozšírené intervaly\");\n\t\t\t\t\tcvicenieText.setText(\"Skúška\");\n\t\t\t\t\tsuzvukText.setText(\"interval 1/10\");\n\t\t\t\t\tpotvrdil = false;\n\n\t\t\t\t\tanalyzaPanel.setVisible(true);\n\t\t\t\t\tmenuPanel.setVisible(false);\n\t\t\t\t\tspodnyPanel.setVisible(true);\n\t\t\t\t\tpriklad = new Dvojzvuk(5);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn skuska1Button;\n\t}",
"private JButton getLoginButton() {\n\t\tif (loginButton == null) {\r\n\t\t\tloginButton = new JButton();\r\n\t\t\tloginButton.setText(\"Login\");\r\n\t\t\tloginButton.addActionListener(new ActionListener() {\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tuser = \tbuildLogin( );\r\n\t\t\t\t\tif(user == null) {\r\n\t\t \t\t\r\n\t\t \t\tJOptionPane.showMessageDialog(null,\"Login Failed\" ,null,\r\n\t\t \t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\t\t \t} \r\n\t\t\t\t\tif(user != null) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tjPanel0.setVisible(false);\r\n\t\t\t\t\t\tgetJPanel1();\r\n\t\t\t\t\t\tjPanel1.setVisible(true);\r\n\t\t\t\t\t\tjPanel1.setLocationRelativeTo(null);\r\n\t\t\t\t\t\tjPanel1.setSize(244, 84);\r\n\t\t\t\t\t\tjPanel1.pack();\r\n\t\t\t\t\t\tjPanel1.show();\r\n\t\t\t\t\t\t dispose();\r\n\t\t\t\t\t\tif (_timer != null && _timer.isRunning())\r\n\t\t return;\r\n\t\t _timer = new Timer(10, new ActionListener() {\r\n\t\t int i = 0;\r\n\r\n\t\t public void actionPerformed(ActionEvent e) {\r\n\t\t if (i == 0)\r\n\t\t progress.setProgressStatus(\"started..\");\r\n\t\t if (i == 10)\r\n\t\t progress.setProgressStatus(\"Running..\");\r\n\t\t if (i == 90)\r\n\t\t progress.setProgressStatus(\"Completing..\");\r\n\t\t progress.setProgress(i++);\r\n\t\t if (i > 100) {\r\n\t\t _timer.stop();\r\n\t\t JFrameMainApplication mainApp = new JFrameMainApplication(user);\r\n\t\t //mainApp.setBackground(commonUTIL.getColors());\r\n\t\t \t\tsetFrame(mainApp, 500, 100,user); \r\n\t\t \t\tjPanel1.dispose();\r\n\t\t \r\n\t\t }\r\n\t\t }\r\n\t\t });\r\n\t\t _timer.start();\r\n\t\t \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}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn loginButton;\r\n\t}",
"public JButton drawButton ()\n {\n\n if (isAlive())\n {\n button.setBackground(ALIVE_COLOUR);\n }\n else \n {\n button.setBackground(DEAD_COLOUR);\n }\n\n button.addActionListener(this);\n return button;\n }",
"private JButton getAddButton() {\n if (addButton == null) {\n addButton = new JButton();\n addButton.setText(\"Add\");\n addButton.setToolTipText(\"Add new notification settings for a site\");\n addButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n addBalloonSettings();\n }\n });\n }\n return addButton;\n }",
"private JButton getJButtonCrearCuentaAdmin() {\r\n\t\tif (jButtonCrearCuentaAdmin == null) {\r\n\t\t\tjButtonCrearCuentaAdmin = new JButton();\r\n\t\t\tjButtonCrearCuentaAdmin.setText(BOTONCREARADMIN);\r\n\t\t\tjButtonCrearCuentaAdmin\r\n\t\t\t\t\t.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t\t\tcrearAdmin();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonCrearCuentaAdmin;\r\n\t}",
"private JButton getColorButton() {\r\n\t\tif (colorButton == null) {\r\n\t\t\tcolorButton = new JButton(); \r\n\t\t\tcolorButton.setIcon(new ImageIcon(getClass().getResource(\"/img/icon/rtf_choosecolor.gif\")));\r\n\t\t\tcolorButton.setPreferredSize(new Dimension(23, 23));\r\n\t\t\tcolorButton.setBounds(new Rectangle(16, 1, 23, 20));\r\n\t\t\tcolorButton.setToolTipText(\"颜色编辑\");\r\n\t\t\tcolorButton.setActionCommand(\"colorButton\");\r\n\t\t\tcolorButton.addActionListener(this.buttonAction);\r\n\t\t}\r\n\t\treturn colorButton;\r\n\t}",
"private JButton getJButtonCancelar() {\r\n\t\tif (jButtonCancelar == null) {\r\n\t\t\tjButtonCancelar = new JButton();\r\n\t\t\tjButtonCancelar.setText(CANCELAR);\r\n\t\t}\r\n\t\treturn jButtonCancelar;\r\n\t}",
"private JButton createBookButton() {\n\t\tfinal JButton bookButton = new JButton(\"Create Booking\");\n\n\t\tbookButton.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(final ActionEvent e) {\n\t\t\t\thandleBooking();\n\t\t\t}\n\t\t});\n\n\t\treturn bookButton;\n\t}",
"public void createButtonActionListener(ActionListener l) {\n createButton.addActionListener(l);\n }",
"public void actionPerformed(ActionEvent e) {\n PerformTimerTask();\n }",
"private JButton getJButtonCancelHTML() {\r\n\r\n\t\tif (jButtonCancelHTML == null) {\r\n\t\t\tjButtonCancelHTML = new JButton();\r\n\t\t\tjButtonCancelHTML.setBounds(new Rectangle(306, 258, 106, 21));\r\n\t\t\tjButtonCancelHTML.setText(StringDatabase.getUniqueInstance ()\r\n\t\t\t\t.getString(\"HTMLTextEditor.jButtonCancelHTML.Text\"));\r\n\t\t\t// setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n\t\t\tjButtonCancelHTML\r\n\t\t\t\t.addActionListener(new java.awt.event.ActionListener() {\r\n\r\n\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\r\n\t\t\t\t\t\textendedHTMLEditorKit =\r\n\t\t\t\t\t\t\tekitCoreEditorHTMLPanel.gethtmlKit();\r\n\t\t\t\t\t\textendedHTMLDocument =\r\n\t\t\t\t\t\t\tekitCoreEditorHTMLPanel.gethtmlDoc();\r\n\t\t\t\t\t\tsetVisible(false);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t}\r\n\t\treturn jButtonCancelHTML;\r\n\t}",
"public JButton makeOperatorButton(String op)\r\n {\r\n JButton button = new JButton(op); \r\n ActionListener listener = new OperatorButtonListener(op);\r\n button.addActionListener(listener); \r\n return button; \r\n }",
"private JButton makePrgRunButton() {\r\n\t\tJButton tprgRunButton = new JButton();\r\n\t\ttprgRunButton.setBackground(new Color(250, 250, 250));\r\n\t\ttprgRunButton.setForeground(new Color(51, 51, 51));\r\n\t\ttprgRunButton.setIcon(new ImageIcon(getClass().getResource(\"/org/colombbus/tangara/control_play_blue.png\"))); //$NON-NLS-1$\r\n\t\ttprgRunButton.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 13)); //$NON-NLS-1$\r\n\t\ttprgRunButton.setPreferredSize(new Dimension(120, 30));\r\n\t\ttprgRunButton.setText(Messages.getString(\"EditorFrame.button.execute\")); //$NON-NLS-1$\r\n\t\ttprgRunButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tparentFrame.executeProgram(getCurrentPane().getText(), getSelectedIndex());\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\treturn tprgRunButton;\r\n\t}",
"private void startGameButton() {\n startGame = new JButton(\"Aloita peli!\");\n ActionListener startGameListener = new ActionListener() {\n public void actionPerformed(ActionEvent actionEvent) {\n controller.startGame();\n }\n };\n startGame.addActionListener(startGameListener);\n }",
"private javax.swing.JButton getJButton11() {\n\t\tif(jButton11 == null) {\n\t\t\tjButton11 = new javax.swing.JButton();\n\t\t\tjButton11.setPreferredSize(new java.awt.Dimension(120,40));\n\t\t\tjButton11.setBackground(new java.awt.Color(226,226,222));\n\t\t\tjButton11.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.BOLD, 10));\n\t\t\tjButton11.setText(\"F11 Bloquear\");\n\t\t\tjButton11.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n\t\t\tjButton11.setMargin(new Insets(1,2,1,1));\n\t\t\tjButton11.setEnabled(false);\n\t\t}\n\t\treturn jButton11;\n\t}",
"public void addServerStartStopButtonListener(ActionListener actionListener) {\r\n serverStartStopButton.addActionListener(actionListener);\r\n }",
"private JButton getOkButton() {\n if (okButton == null) {\n okButton = new JButton();\n okButton.setText(\"OK\");\n okButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n canceled = false;\n dispose();\n }\n });\n }\n return okButton;\n }",
"public void createFinishedButton() {\n\t\tJButton finished = new JButton(\"Click here when finished inputting selected champions\");\n\t\tfinished.setName(\"finished\");\n\t\tfinished.setBackground(Color.GRAY);\n\t\tfinished.setForeground(Color.WHITE);\n\t\tfinished.setBorderPainted(false);\n\t\tfinished.addActionListener(this);\n\t\tfinished.setBounds(400, 50, 400, 100);\n\t\tbottomPanel.add(finished, new Integer(4));\n\t}",
"public JButton makeDigitButton(String digit)\r\n {\r\n JButton button = new JButton(digit); \r\n ActionListener listener = new DigitButtonListener(digit);\r\n button.addActionListener(listener); \r\n return button; \r\n }",
"private JButton getOkButton() {\r\n\t\tif (okButton == null) {\r\n\t\t\ttry {\r\n\t\t\t\tokButton = new JButton();\r\n\t\t\t\tokButton.setText(\"OK\");\r\n\t\t\t\tokButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t\tsetVisible(false);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t} catch (java.lang.Throwable e) {\r\n\t\t\t\t// TODO: Something\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn okButton;\r\n\t}",
"private JButton addButton(String label, ActionListener listener) {\n JButton button = new JButton(label);\n Font font = button.getFont();\n font = font.deriveFont(font.getSize() * 1.5f);\n button.setFont(font);\n button.addActionListener(listener);\n button.setFocusPainted(false);\n return button;\n }",
"private javax.swing.JButton getJButton12() {\n\t\tif(jButton12 == null) {\n\t\t\tjButton12 = new javax.swing.JButton();\n\t\t\tjButton12.setBackground(new java.awt.Color(226,226,222));\n\t\t\tjButton12.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n\t\t\tjButton12.setPreferredSize(new java.awt.Dimension(120,40));\n\t\t\tjButton12.setText(\"F12 Salir\");\n\t\t\tjButton12.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.BOLD, 10));\n\t\t\tjButton12.setHorizontalTextPosition(javax.swing.SwingConstants.TRAILING);\n\t\t\tjButton12.setMargin(new Insets(1,2,1,1));\n\t\t\tjButton12.setEnabled(false);\n\t\t}\n\t\treturn jButton12;\n\t}",
"private JPanel makeButtonPanel()\n {\n // Create the containing panel\n JPanel buttonPanel = new JPanel();\n buttonPanel.setBackground(_backColor);\n\n // Create the CANCEL button\n JButton cancelButton = new JButton(\"CANCEL\");\n // Clear editFlag and data, then return back to main action panel if Cancel is pressed\n // TODO Remove this lambda expressionl; it produces a Javadoc error\n cancelButton.addActionListener((a) -> _hdCiv.back());\n\n // Create the SUBMIT button\n JButton submitButton = new JButton(\"SUBMIT\");\n\n // Display error message if received from submit button, or new Hero if OK\n submitButton.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent event)\n {\n // Call the Civ to validate the attributes. If no errors, Hero\n // is created and displayed\n EnumMap<PersonKeys, String> input = submit();\n if ((input != null) && (input.size() > 0)) {\n // Create the new Hero and display it\n Hero hero = _nhCiv.createHero(input);\n _hdCiv.displayHero(hero, true); // initial Hero needs true\n }\n }\n });\n\n // Create a little space between buttons\n JLabel space = new JLabel(SPACER);\n // Add the two buttons to the panel\n buttonPanel.add(submitButton);\n buttonPanel.add(space);\n buttonPanel.add(cancelButton);\n return buttonPanel;\n }",
"private javax.swing.JButton getJButton2() {\n\t\tif(jButton2 == null) {\n\t\t\tjButton2 = new javax.swing.JButton();\n\t\t\tjButton2.setPreferredSize(new java.awt.Dimension(120,40));\n\t\t\tjButton2.setBackground(new java.awt.Color(226,226,222));\n\t\t\tjButton2.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.BOLD, 10));\n\t\t\tjButton2.setText(\"F2 Eliminar Producto\");\n\t\t\tjButton2.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n\t\t\tjButton2.setMargin(new Insets(1,2,1,1));\n\t\t}\n\t\treturn jButton2;\n\t}",
"private JButton getOpenFileButton() {\n\t\tif (openFileButton == null) {\n\t\t\topenFileButton = new JButton();\n\t\t\topenFileButton.setText(PluginServices.getText(this, \"Abrir\"));\n\t\t\topenFileButton.setBounds(new java.awt.Rectangle(335, 11, 129, 21));\n\t\t\topenFileButton\n\t\t\t\t\t.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\t\t\topenResultFile();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t}\n\t\treturn openFileButton;\n\t}",
"public JButton getUncapturedBtn() {\r\n\t\tthis.uncapturedBtn = new JButton(\"Uncaptured File\");\r\n\t\tthis.uncapturedBtn.addActionListener(this);\r\n\t\tthis.uncapturedBtn.setEnabled(ComponentData.getUncapturedBtnIsEnabled());\r\n\t\treturn this.uncapturedBtn; \r\n\t}",
"private JButton getJbtnHelp() {\n\t\tif (jbtnHelp == null) {\n\t\t\tjbtnHelp = new JButton();\n\t\t\tjbtnHelp.setText(\"Help\");\n\t\t\tjbtnHelp.setLocation(new Point(572, 576));\n\t\t\tjbtnHelp.setSize(new Dimension(178, 34));\n\t\t\tjbtnHelp.setEnabled(false);\n\t\t\tjbtnHelp.setForeground(Color.blue);\n\t\t}\n\t\treturn jbtnHelp;\n\t}",
"private JButton getBoton2() {\r\n\t\tif (boton2 == null) {\r\n\t\t\tboton2 = new JButton();\r\n\t\t\tboton2.setBounds(0, 130, 479, 65);\r\n\t\t\tboton2.setText(ResourceBundle.getBundle(\"Etiquetas\").getString(\"Register\"));\r\n\t\t\tboton2.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tRegisterGUI reg = new RegisterGUI(getBusinessLogic());\r\n\t\t\t\t\treg.setVisible(true);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn boton2;\r\n\t}",
"private javax.swing.JButton getBtnCancel() {\r\n\tif (ivjBtnCancel == null) {\r\n\t\ttry {\r\n\t\t\tivjBtnCancel = new javax.swing.JButton();\r\n\t\t\tivjBtnCancel.setName(\"BtnCancel\");\r\n\t\t\tivjBtnCancel.setText(\"Cancel\");\r\n\t\t\t// user code begin {1}\r\n\t\t\t// user code end\r\n\t\t} catch (java.lang.Throwable ivjExc) {\r\n\t\t\t// user code begin {2}\r\n\t\t\t// user code end\r\n\t\t\thandleException(ivjExc);\r\n\t\t}\r\n\t}\r\n\treturn ivjBtnCancel;\r\n}",
"@Override\n public void actionPerformed(ActionEvent actionEvent) {\n if(test.getTotalTime()>seconds/60){\n makeTimeString(seconds); \n }else{\n jButton2.setEnabled(false);\n jButton3.setEnabled(true); \n makeTimeString(seconds); \n jPanel1.removeAll();jPanel1.revalidate();jPanel1.repaint(); \n JOptionPane.showMessageDialog(null, \"<HTML><H1>End of Time:</H1></HTML>\");\n \n timer.stop();\n }\n seconds++; \n }",
"private JButton getJButton2() {\n\t\tif (import_button == null) {\n\t\t\timport_button = new JButton();\n\t\t\timport_button.setText(Locale.getString(\"IMPORT\"));\n\t\t\timport_button.setMnemonic(java.awt.event.KeyEvent.VK_I);\n\t\t}\n\t\treturn import_button;\n\t}",
"private JButton getJButtonOK() {\n\t\tif (jButtonOK == null) {\n\t\t\tjButtonOK = new JButton();\n\t\t\tjButtonOK.setLocation(new Point(100, 200));\n\t\t\tjButtonOK.setText(\"OK\");\n\t\t\tjButtonOK.addActionListener( new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\tcloseFrameSobre();\n\t\t\t\t}\n\t\t\t});\n\t\t\tjButtonOK.setSize(new Dimension(100, 30));\n\t\t}\n\t\treturn jButtonOK;\n\t}",
"private JButton getRecherchejButton() {\r\n\t\tif (RecherchejButton == null) {\r\n\t\t\tRecherchejButton = new JButton();\r\n\t\t\tRecherchejButton.setLocation(new Point(192, 32));\r\n\t\t\tRecherchejButton.setIcon(new ImageIcon(getClass().getResource(\"/recherche.png\")));\r\n\t\t\tRecherchejButton.setActionCommand(\"Rechercher\");\r\n\t\t\tRecherchejButton.setFont(new Font(\"Dialog\", Font.PLAIN, 12));\r\n\t\t\tRecherchejButton.setSize(new Dimension(120,120));\r\n\t\t\tRecherchejButton.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t//System.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\r\n\t\t\t\t\tif (e.getActionCommand().equals(\"Rechercher\")) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tHistorique.ecrire(\"Ouverture de : \"+e);\r\n\t\t\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnew FEN_Recherche();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn RecherchejButton;\r\n\t}",
"private javax.swing.JButton getJButton9() {\n\t\tif(jButton9 == null) {\n\t\t\tjButton9 = new javax.swing.JButton();\n\t\t\tjButton9.setPreferredSize(new java.awt.Dimension(120,40));\n\t\t\tjButton9.setBackground(new java.awt.Color(226,226,222));\n\t\t\tjButton9.setMargin(new Insets(1,2,1,1));\n\t\t\tjButton9.setText(\"F9 Cancelar\");\n\t\t\tjButton9.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n\t\t\tjButton9.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.BOLD, 10));\n\t\t\tjButton9.setActionCommand(\"Cancelar Consulta\");\n\t\t}\n\t\treturn jButton9;\n\t}",
"private JButton getJButton2() {\r\n\t\tif (jButton2 == null) {\r\n\t\t\tjButton2 = new JButton();\r\n\t\t\tjButton2.setBounds(new Rectangle(36, 268, 128, 29));\r\n\t\t\tjButton2.setBackground(new Color(0, 204, 0));\r\n\t\t\tjButton2.setText(\"Remove\");\r\n\t\t\tjButton2.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tjTextArea.setText(\"\");\r\n\t\t\t\t\tString s=jTextField.getText();\r\n\t\t\t\t\tboolean ok=validate(s);\r\n\t\t\t\t\tif(!ok) jTextArea.setText(\"Sorry. No records for '\"+s+\"'.\");\r\n\t\t\t\t\tif(s.length()>0 && ok)\r\n\t\t\t\t\t{\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tif(load.myMap.remove(s)!=null)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tload.writeLoadInFile(\"Dictionary.txt\");\r\n\t\t\t\t\t\t\tjTextArea.setText(\"Remove succesfully\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse \r\n\t\t\t\t\t\t\tjTextArea.setText(\"Sorry. No records for '\"+s+\"'.\");\t\t\t\t\t\t\r\n\t\t\t\t\t\tjTextField.setText(\"\");\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 jButton2;\r\n\t}",
"private JButton getJButton3() {\r\n\t\tif (jButton3 == null) {\r\n\t\t\tjButton3 = new JButton();\r\n\t\t\tjButton3.setBounds(new Rectangle(38, 224, 124, 28));\r\n\t\t\tjButton3.setBackground(new Color(0, 204, 51));\r\n\t\t\tjButton3.setText(\"New word\");\r\n\t\t\tjButton3.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tjButton1.setEnabled(true);\r\n\t\t\t\t\tjButton1.setVisible(true);\r\n\t\t\t\t\tjTextArea.setText(\"\");\r\n\t\t\t\t\tjTextArea.setEditable(true);\r\n\t\t\t\t\tjButton.setEnabled(false);\r\n\t\t\t\t\tjButton2.setEnabled(false);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButton3;\r\n\t}",
"private JButton getSkuska2Button() {\n\t\tif (skuska2Button == null) {\n\t\t\tskuska2Button = new JButton();\n\t\t\tskuska2Button.setBounds(new Rectangle(227, 210, 83, 25));\n\t\t\tskuska2Button.setEnabled(false);\n\t\t\tskuska2Button.setText(\"Skúška\");\n\t\t\tskuska2Button.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tmod = \"2s\";\n\t\t\t\t\tucivoText.setText(\"úroveň 2: Trojzvuky\");\n\t\t\t\t\tcvicenieText.setText(\"Skúška\");\n\t\t\t\t\tsuzvukText.setText(\"trojzvuk 1/10\");\n\t\t\t\t\tspravne = true;\n\t\t\t\t\tpotvrdil = false;\n\n\t\t\t\t\tanalyzaPanel.setVisible(true);\n\t\t\t\t\tmenuPanel.setVisible(false);\n\t\t\t\t\tspodnyPanel.setVisible(true);\n\t\t\t\t\tpriklad = new Trojzvuk(3, 7);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn skuska2Button;\n\t}",
"private JButton getJButtonOK() {\r\n\t\tif (jButtonOK == null) {\r\n\t\t\tjButtonOK = new JButton();\r\n\t\t\tjButtonOK.setBounds(new Rectangle(40, 215, 90, 30));\r\n\t\t\tjButtonOK.setText(\"确定\");\r\n\t\t\tjButtonOK.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tjColorChooser.setVisible(false);\r\n\t\t\t\t\tchooserColor = color;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn jButtonOK;\r\n\t}",
"private JButton getDiffButton() {\n if (diffButton == null) {\n diffButton = new JButton();\n diffButton.setText(\"Diff\");\n diffButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n diff();\n }\n });\n }\n return diffButton;\n }",
"@Override\n\t\tprotected JButton createIncreaseButton(int o) {\n\t\t\tJButton jbutton = new JButton();\n\t\t\tjbutton.setVisible(false);\n\t\t\tjbutton.setEnabled(false);\n\t\t\tjbutton.setPreferredSize(new Dimension(0, 0));\n\t\t\tjbutton.setMinimumSize(new Dimension(0, 0));\n\t\t\tjbutton.setMaximumSize(new Dimension(0, 0));\n\t\t\treturn jbutton;\n\t\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n startJButton = new javax.swing.JButton();\n amountJTextField = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n startStopJLabel = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Timer\");\n\n startJButton.setText(\"Start\");\n startJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n startJButtonActionPerformed(evt);\n }\n });\n\n amountJTextField.setText(\"0\");\n\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"Wait minutes:\");\n\n startStopJLabel.setForeground(new java.awt.Color(0, 0, 0));\n startStopJLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n startStopJLabel.setText(\"STOPPED\");\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 .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(amountJTextField, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(startJButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(startStopJLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(amountJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(startStopJLabel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(startJButton)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }",
"private JButton getJbChangeEnquirer() {\r\n if (this.jbChangeEnquirer == null) {\r\n this.jbChangeEnquirer = new JButton();\r\n this.jbChangeEnquirer.setText(\"Change\");\r\n this.jbChangeEnquirer.setSize(new Dimension(140, 15));\r\n this.jbChangeEnquirer.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent e) {\r\n getNewEnquirer();\r\n }\r\n });\r\n }\r\n return this.jbChangeEnquirer;\r\n }"
] | [
"0.6311702",
"0.62491345",
"0.6083523",
"0.60198104",
"0.60037863",
"0.60031897",
"0.59874797",
"0.5985944",
"0.59463197",
"0.59270185",
"0.59032506",
"0.5895964",
"0.5874643",
"0.58647525",
"0.5861147",
"0.58472365",
"0.58345884",
"0.58073634",
"0.5798666",
"0.5790218",
"0.5782944",
"0.57751215",
"0.5770268",
"0.5766971",
"0.5745865",
"0.57438433",
"0.5741612",
"0.57411516",
"0.5725045",
"0.5724295",
"0.57232857",
"0.57103",
"0.57092094",
"0.57019997",
"0.56943756",
"0.569102",
"0.56897825",
"0.5689033",
"0.56872797",
"0.56833416",
"0.56711173",
"0.5667604",
"0.5665486",
"0.5663762",
"0.56379426",
"0.5624411",
"0.56221825",
"0.562113",
"0.56132203",
"0.5612221",
"0.5585219",
"0.5583655",
"0.557913",
"0.5566415",
"0.55572236",
"0.5553986",
"0.55528516",
"0.55445504",
"0.5543764",
"0.55377924",
"0.55322164",
"0.5530061",
"0.55290455",
"0.5527455",
"0.5513714",
"0.5511319",
"0.54985696",
"0.5494184",
"0.5489569",
"0.5481778",
"0.5472527",
"0.5470531",
"0.5460713",
"0.54577196",
"0.5454251",
"0.5452304",
"0.5451939",
"0.5448899",
"0.54448104",
"0.54416263",
"0.54415476",
"0.5432173",
"0.5431499",
"0.54303205",
"0.5428814",
"0.5426071",
"0.5423384",
"0.5422111",
"0.54118115",
"0.54040724",
"0.5398597",
"0.53948224",
"0.53881997",
"0.5387718",
"0.5384562",
"0.5379966",
"0.5373505",
"0.5366406",
"0.53575724",
"0.5355914"
] | 0.7517175 | 0 |
Reset timer to zero seconds for any reason. | public boolean resetTimer()
{
this.counterThread.setSeconds(0);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void resetTime()\n {\n timer.stop();\n timeDisplay.setText(ZERO_TIME);\n time = 0.0;\n }",
"public void resetTimer(){\n timerStarted = 0;\n }",
"private void resetTimer() {\n\t\tif (null != getTimer()) {\n\t\t\tthis.getTimer().cancel();\n\t\t\tthis.getTimer().purge();\n\t\t\tthis.setTimer(null);\n\t\t}\n\t\tthis.setTimer(new Timer());\n\t}",
"public void resetTimer() {\n\t\tsetStartingTime(System.currentTimeMillis());\t\n\t\tthis.progressBar.setForeground(Color.black);\n\t\tlogger.fine(\"Set normal timer with data: \" + this.toString());\n\n\t}",
"void resetTimeout() {\n timer.cancel();\n timer = getTimer();\n timer.schedule(getTimerTask(), this.timeout);\n }",
"public void resetTimer() {\n button.setText(\"Notify Me!\");\n timerSeekBar.setProgress(60);\n timerSeekBar.setEnabled(true);\n timerText.setText(\"1:00\");\n counter.cancel();\n counterActive = false;\n }",
"public synchronized static void resetTime() {\n\t\ttime = 0;\n\t}",
"public void reset()\r\n\t{\r\n\t\ttimer.stop();\r\n\t\ttimer.reset();\r\n\t\tautoStep = 0;\r\n\t}",
"private float resetTimer() {\r\n final float COUNTDOWNTIME = 10;\r\n return COUNTDOWNTIME;\r\n }",
"public synchronized void resetTime() {\n }",
"public void resetTimerComplete() {\n\t\tsetStartingTime(0);\n\t}",
"public void resetTime() {\n\t\ttime_passed = 0l;\n\t}",
"public static void resetTime() {\n\t\ttime = TimeUtils.millis();\n\t}",
"public void reset()\n {\n this.timeToCook = 0;\n this.startTime = 0;\n }",
"private void timerReset() {\n playing = true;\n now_playing_progress_bar.setMax((int) thisSong.getLengthMilliseconds());\n timer_startTime = System.currentTimeMillis();\n timerHandler.postDelayed(timerRunnable, 0);\n }",
"protected void reset()\n {\n if (_resetTimedEvent != null && !_resetTimedEvent.hasAborted()\n && !_resetTimedEvent.hasFired()) _resetTimedEvent.abort();\n\n clearFlag();\n }",
"public void reset() {\n\t\tthis.startTime = 0;\n\t\tthis.stopTime = 0;\n\t\tthis.running = false;\n\t}",
"public synchronized void reset()\n\t{\n\t\tm_elapsed = 0;\n\t}",
"public void reset() {\n\t\tstartTime = System.nanoTime();\n\t\tpreviousTime = getTime();\n\t}",
"public void reset()\n\t{\n\t\tm_running = false;\n\t\tm_elapsedMs = 0;\n\t\tm_lastMs = 0;\n\t}",
"public void resetClick (View view){\n \tstopped = false;\n \t((TextView)findViewById(R.id.timer)).setText(\"00:00:00\"); \t\n }",
"public final synchronized void resetTime() {\n this.last = System.nanoTime();\n }",
"void resetLoop () {\n try {\n timer.cancel();\n timer.purge();\n } catch (Exception e) {\n\n }\n timer = new Timer();\n timer.schedule(new LoopTask(), stepDelay, stepDelay);\n }",
"public void resetTimeout(){\n this.timeout = this.timeoutMax;\n }",
"public static synchronized void resetAllTimers() {\r\n _count = 0;\r\n _time = 0;\r\n _serverStarted = -1;\r\n _timers.clear();\r\n }",
"@Override\n public synchronized void reset() {\n m_accumulatedTime = 0;\n m_startTime = getMsClock();\n }",
"public void resetTimer(View view) {\n elapsedTime = 0;\n speed = 0;\n xSpeed = 0;\n ySpeed = 0;\n zSpeed = 0;\n maxAccel = 0;\n timeToSixty = 0;\n xSpeedOutput.setText(String.valueOf(xSpeed));\n ySpeedOutput.setText(String.valueOf(ySpeed));\n zSpeedOutput.setText(String.valueOf(zSpeed));\n maxAccelOutput.setText(null);\n timeToSixtyOutput.setText(null);\n speedOutput.setText(null);\n timeOutput.setText(null);\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"public void reset()\n\t{\n\t\tdelayCount = 0f;\n\t\trepeatCount = 0;\n\t\tenabled = true;\n\t}",
"public void resetClock()\n {\n startingTime = System.currentTimeMillis();\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"private void clearTime() {\n \n time_ = 0L;\n }",
"public void resetTimeLimit();",
"public void ResetCounter()\r\n {\r\n counter.setCurrentValue(this.startValue);\r\n }",
"private void restartTimer() {\r\n\t\tthis.timer.restart();\r\n\t\tthis.countdown.restart();\r\n\t\tthis.controlView.setTimerSeconds(10);\r\n\t}",
"public void resetTimeActive()\n\t{\n\t\tm_TimeActive = 0.0f;\n\t}",
"private void clearCountdown(){\n countDownTimer.cancel();\n txt_countdown.setText(\"\");\n }",
"public void resetClock()\n {\n\tstartTime = System.currentTimeMillis();\n\tpauseTime = startTime;\n\n computeClock = 0;\n\n\tframeNumber = 0;\n }",
"public static void stopTimer() {\n timerIsWorking = false;\r\n elapsedTime = 0;\r\n }",
"public void reset() {\n/* 54 */ this.count = 0;\n/* 55 */ this.totalTime = 0L;\n/* */ }",
"public static void reset() {\n start = new Date().getTime();\n killed = 0;\n time = 0;\n }",
"public void restartRobotUI() {\r\n\t\tt.cancel();\r\n\t\tt.purge();\r\n\t\tt = new Timer();\r\n\t}",
"public void cancel() {\n timer.cancel();\n timer = new Timer();\n }",
"public void resetLoop(){\n\t\tloopTime = 0;\n\t}",
"public void timer() \r\n\t{\r\n\t\tSeconds.tick();\r\n\t \r\n\t if (Seconds.getValue() == 0) \r\n\t {\r\n\t \tMinutes.tick();\r\n\t \r\n\t \tif (Minutes.getValue() == 0)\r\n\t \t{\r\n\t \t\tHours.tick();\r\n\t \t\t\r\n\t \t\tif(Hours.getValue() == 0)\r\n\t \t\t{\r\n\t \t\t\tHours.tick();\r\n\t \t\t}\r\n\t \t}\r\n\t }\t\t\r\n\t \r\n\t updateTime();\r\n\t }",
"public void reset() {\n cycles = 0;\n nextHaltCycle = GB_CYCLES_PER_FRAME;\n nextUpdateCycle = 0;\n running = false;\n timer.reset();\n \n cpu.reset();\n ram.reset();\n soundHandler.reset();\n }",
"public Stopwatch reset() {\n/* 135 */ this.elapsedNanos = 0L;\n/* 136 */ this.isRunning = false;\n/* 137 */ return this;\n/* */ }",
"public void reset(){\n ioTime=0;\n waitingTime=0;\n state=\"unstarted\";\n rem=total_CPU_time;\n ioBurstTime=0;\n cpuBurstTime=0;\n remainingCPUBurstTime=null;\n }",
"public synchronized void reset() {\n\t\tlisteners.clear();\n\t\tbuffer.clear();\n\t\ttrash.clear();\n\n\t\ttickCount = 1;\n\n\t\tif (log.isInfoEnabled()) {\n\t\t\tlog.info(\"Clock reset\");\n\t\t}\n\t}",
"private void resetActiveHeartbeatTimer() {\n\t\tactiveHeartbeatTimer.cancel();\n\t\tstartActiveHeartbeatTimer();\n\t}",
"public void resetPlayerTime ( ) {\n\t\texecute ( handle -> handle.resetPlayerTime ( ) );\n\t}",
"void cancelTimeout() {\n timer.cancel();\n }",
"public void resetTimeTrackingManager() {\n this.timeTrankiManager.setHour(9);\n this.timeTrankiManager.setMinute(0);\n this.timeTrankiManager.setSecond(0);\n }",
"private void resetTimer(int refreshTime){\n //if timer is running\n if(getTimerRunning()){\n //stop timer\n setTimerRunning(false);\n //set new refresh time\n Platform.runLater(() -> {\n getModel().setRefreshTime(refreshTime);\n //run timer\n setTimerRunning(true);\n });\n }else{\n //set new refresh time\n Platform.runLater(() -> getModel().setRefreshTime(refreshTime));\n }\n }",
"public void resetTimers()\n {\n if (TimerScreen_Left != null)\n {\n TimerScreen_Left.stop();\n TimerScreen_Left = null;\n }\n \n if (TimerScreen_Right != null)\n {\n TimerScreen_Right.stop();\n TimerScreen_Right = null;\n }\n }",
"private void stopTime()\n {\n timer.stop();\n }",
"private void StopTime() {\n timer.stop();\n currentHora = 0;\n currentMinuto = 0;\n currentSegundo = 0;\n lbcronometro.setText(\"00:00:00\");\n }",
"private void reset () {\n this.logic = null;\n this.lastPulse = 0;\n this.pulseDelta = 0;\n }",
"private void resetHeartbeatTimer() {\n if (heartbeatScheduledFuture != null && !heartbeatScheduledFuture.isDone()) {\n heartbeatScheduledFuture.cancel(true);\n }\n heartbeatScheduledFuture = scheduledExecutorService.schedule(new Runnable() {\n @Override\n public void run() {\n startNewHeartbeat();\n }\n }, raftOptions.getHeartbeatPeriodMilliseconds(), TimeUnit.MILLISECONDS);\n }",
"private void reset() {\n ms = s = m = h = 0;\n actualizar();\n }",
"public void resetChronometer (View v){\n\n\n chronometer.setBase(SystemClock.elapsedRealtime());\n tempTime = totalTime;\n totalTime = 0;\n dateEnd = new Date();\n addTimer();\n grantTickets();\n\n\n\n }",
"public Timer() {\n\t\tthis.start = 0L;\n\t\tthis.end = 0L;\n\t}",
"public void stop() {timer.stop();}",
"public void reset() { \r\n stop(); \r\n if (midi) \r\n sequencer.setTickPosition(0); \r\n else \r\n clip.setMicrosecondPosition(0); \r\n audioPosition = 0; \r\n progress.setValue(0); \r\n }",
"public void stopTimer(){\n this.timer.cancel();\n }",
"@Nonnull\n public final MutableClock reset() {\n _now = null;\n return this;\n }",
"public void reset() {\n cooldowns.clear();\n }",
"public void stopTimer()\n {\n timer.cancel();\n }",
"public Timer()\r\n\t{\r\n\t\tcurrentstate = TIMER_STOP;\r\n\t}",
"private void cancelTimer() {\n Timer.cancelTimeout(this);\n responded = true;\n }",
"public void resetCounters() {\n setErrorCounter(0);\n setDelayCounter(0);\n }",
"private void setTimeLeft() {\n\t\tif (timeLeft == 1)\n\t\t\ttimer.cancel();\n\t\ttimeLeft--;\n\t}",
"@Override\n public void reset() {\n updateDice(1, 1);\n playerCurrentScore = 0;\n playerScore = 0;\n updateScore();\n notifyPlayer(\"\");\n game.init();\n }",
"private synchronized void reStartTimer(){\n handler.removeCallbacks(null);\n handler.postDelayed(new Runnable(){\n @Override\n public void run(){\n if (running) reStartTimer();\n update();\n }\n }, TURN_DELAY_MILLIS);\n }",
"public void reset() {\n setValuesInternal(new Date(clock.getTime()), false, true);\n }",
"public static void initTimer(){\r\n\t\ttimer = new Timer();\r\n\t timer.scheduleAtFixedRate(new TimerTask() {\r\n\t public void run() {\r\n\t \t//se o player coletar todas os lixos, o tempo para\r\n\t \tif(ScorePanel.getScore() == 100){\r\n\t \t\ttimer.cancel();\r\n\t \t}\r\n\t \t//se o Tempo se esgotar, é game over!!!\r\n\t \telse if (tempo == 0){\r\n\t \t timer.cancel();\r\n \t\tAvatar.noMotion();\r\n \t\t//System.exit(0);\r\n\t }\r\n\t \t//Senão, vai contando\r\n\t \telse{\r\n\t \tlbltimer.setText(\"Tempo: \"+ --tempo);\r\n\t }\r\n\t }\r\n\t\t}, 1000, 1000);\r\n\t}",
"public void setTimer(int timer) {\n this.timer = timer;\n }",
"public void setTimer() {\n\t\t\n\t}",
"public void stopTime() {\n if (isRunning) {\n timer.cancel();\n timer.purge();\n }\n isRunning = false;\n }",
"public void resetTimeLimitAction();",
"public void reset() {\n\n\t\tazDiff = 0.0;\n\t\taltDiff = 0.0;\n\t\trotDiff = 0.0;\n\n\t\tazMax = 0.0;\n\t\taltMax = 0.0;\n\t\trotMax = 0.0;\n\n\t\tazInt = 0.0;\n\t\taltInt = 0.0;\n\t\trotInt = 0.0;\n\n\t\tazSqInt = 0.0;\n\t\taltSqInt = 0.0;\n\t\trotSqInt = 0.0;\n\n\t\tazSum = 0.0;\n\t\taltSum = 0.0;\n\t\trotSum = 0.0;\n\n\t\tcount = 0;\n\n\t\tstartTime = System.currentTimeMillis();\n\t\ttimeStamp = startTime;\n\n\t\trotTrkIsLost = false;\n\t\tsetEnableAlerts(true);\n\n\t}",
"private void setTimer() {\r\n timer = new Timer(TIMER_DELAY, new ActionListener() {\r\n public void actionPerformed(ActionEvent ae) {\r\n action();\r\n }\r\n });\r\n }",
"public void reset() {\n monitor.sendReset();\n }",
"private void resetBackupHeartbeatTimer() {\n\t\tbackupHeartbeatTimer.cancel();\n\t\tstartBackupHeartbeatTimer();\n\t}",
"private void resetPurgeTimer() {\n purgeHandler.removeCallbacks(purger);\n purgeHandler.postDelayed(purger, DELAY_BEFORE_PURGE);\n }",
"public void stopTimer() {\n\t\trunFlag = false;\n\t\tses.shutdown();\n\t\tSystem.err.println(\"TIMER SHUTDOWN\");\n\t\tinstance = null;\n\t}",
"public void reset()\n {\n total_frames = 0;\n total_messages = 0;\n total_size = 0;\n lost_frames = 0;\n lost_segments = 0;\n num_files = 0;\n start_time = System.nanoTime();\n m_lastFrames.clear();\n }",
"public void stopInitTimer() {\n try {\n if (this.mInitTimer != null) {\n this.mInitTimer.cancel();\n }\n } catch (Exception e) {\n logException(\"stopInitTimer\", e.getLocalizedMessage());\n } catch (Throwable th) {\n this.mInitTimer = null;\n throw th;\n }\n this.mInitTimer = null;\n }",
"public void reset() {\n mRotationAngle = 0;\n mIsScheduled = false;\n unscheduleSelf(this);\n invalidateSelf();\n }",
"public void reset(){\n value = 0;\n }",
"void unsetTimeInterval();",
"public void reset () {}",
"private void stop() {\n timer.cancel();\n timer = null;\n }",
"public void markAndResetTimer(){\n value += getTime();\n resetTimer();\n }",
"private void stopCountdown() {\n if (countDownTimer != null) {\n countDownTimer.cancel();\n countDownTimer = null;\n }\n }",
"public void reset() {\n reset(animateOnReset);\n }"
] | [
"0.83012503",
"0.82658726",
"0.81778216",
"0.7791451",
"0.77036476",
"0.7606792",
"0.75790673",
"0.75511074",
"0.7499062",
"0.7460679",
"0.73651874",
"0.7344688",
"0.7300035",
"0.72893924",
"0.72754097",
"0.7247341",
"0.721991",
"0.72135746",
"0.72060347",
"0.7180643",
"0.7125118",
"0.7124427",
"0.71097624",
"0.70576376",
"0.7055994",
"0.70188326",
"0.69847715",
"0.69503325",
"0.69503325",
"0.69503325",
"0.69316846",
"0.68953454",
"0.6890456",
"0.6890456",
"0.6890456",
"0.6890456",
"0.68865",
"0.6854972",
"0.68257666",
"0.6793409",
"0.6686073",
"0.6676117",
"0.6669253",
"0.6658326",
"0.6632299",
"0.66307086",
"0.65760475",
"0.6572057",
"0.6557368",
"0.65548193",
"0.6553818",
"0.6546963",
"0.65312266",
"0.6501354",
"0.64290357",
"0.63884866",
"0.63812655",
"0.6380309",
"0.6380055",
"0.63441396",
"0.63428545",
"0.6339912",
"0.6331454",
"0.6317675",
"0.63073385",
"0.6291572",
"0.6291495",
"0.6242127",
"0.62319255",
"0.6229035",
"0.6223448",
"0.62187517",
"0.6212028",
"0.62070006",
"0.62027925",
"0.6201136",
"0.61911756",
"0.61730653",
"0.61711776",
"0.6154265",
"0.614725",
"0.6138752",
"0.61348057",
"0.6133397",
"0.61292166",
"0.6121531",
"0.61067665",
"0.60870826",
"0.6085612",
"0.60823643",
"0.6081395",
"0.6077762",
"0.6074165",
"0.6068609",
"0.6063585",
"0.60590374",
"0.6055543",
"0.6047495",
"0.60385627",
"0.60240513"
] | 0.677191 | 40 |
Action listener for the instance JButton that will start and stop the timer. If the thread is alive, then stop the existing thread and create a new thread with the same time value, but stopped. If the thread is not alive, then start the thread. | @Override
public void actionPerformed(ActionEvent e)
{
if (counterThread.isAlive())
{
counterThread.stopThread();
counterThread = new Counter(counterThread.getSecondsPassed());
}
else
{
counterThread.start();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(ActionEvent e) {\r\n if (time.isEditable())\r\n return;\r\n if (running) {\r\n running = false;\r\n try {\r\n timerThread.join();\r\n } catch (InterruptedException ie) {\r\n }\r\n lapTime = timeLeft;\r\n time.setText(millisToStr(timeLeft));\r\n } else {\r\n startTime = System.currentTimeMillis();\r\n running = true;\r\n timerThread = new Thread(this);\r\n timerThread.start();\r\n }\r\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(!timer.isRunning()){timer.start();jbtAuto.setText(\"Stop\");}\n\t\t\t\telse{\n\t\t\t\t\ttimer.stop();jbtAuto.setText(\"Start\");\n\t\t\t\t}\n\t\t\t}",
"public void actionPerformed(ActionEvent e) {\n PerformTimerTask();\n }",
"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\t\tif (userBTN.getText().equals(\"START\")) {\n\t\t\t\t\t\tgameStart();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tnewTableTimer();\n\t\t\t\t\t\tcontrolPanel.add(tableTimer.getStopWatchPanel(), BorderLayout.CENTER);\n\t\t\t\t\t\ttableTimer.getStopWatchPanel().setBackground(new Color(0, 104, 56));\n\t\t\t\t\t\ttableTimer.getChargeLabel().setForeground(Color.WHITE);\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setFont(new Font(\"NanumGothicBold\", Font.BOLD, 50));\n\t\t\t\t\t\ttableTimer.getChargeLabel().setFont(new Font(\"NanumGothicBold\", Font.BOLD, 30));\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setForeground(Color.WHITE);\n\t\t\t\t\t\ttableTimer.setDaemon(true);\n\t\t\t\t\t\tuserBTN.setText(\"END\");\n\t\t\t\t\t\ttableTimer.start();\n\t\t\t\t\t} else if (userBTN.getText().equals(\"END\")) {\n\t\t\t\t\t\tgameEnd();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tuserBTN.setText(\"RESET\");\n\t\t\t\t\t\ttableTimer.setIsRun(false);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tgameReset();\n\t\t\t\t\t\tnew OutThread().start();\n\t\t\t\t\t\tuserBTN.setText(\"START\");\n\t\t\t\t\t\ttableTimer.getStopWatchLabel().setText(\"\");\n\t\t\t\t\t\ttableTimer.getChargeLabel().setText(\"\");\n\t\t\t\t\t}\n\t\t\t\t}",
"public void actionPerformed(ActionEvent e)\n {\n // check thread is really finished\n if (testThread != null)\n logger.log(Level.INFO, \"testThread.isAlive()==\" + testThread.isAlive());\n else\n logger.log(Level.INFO, \"testThread==null\");\n\n // create Thread from Runnable (WorkTask)\n testThread = new Thread(new WorkerTask(null));\n // make sure thread will be killed if app is unexpectedly killed\n testThread.setDaemon(true);\n testThread.start();\n }",
"@Override\r\n\t\tpublic void run() {\n\t\t\twhile((second--)!=1) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep(1000);\r\n\t\t\t\t\tPlatform.runLater(new Runnable() {\r\n\t\t\t\t\t\t @Override\r\n\t\t\t\t\t\t public void run() {\r\n\t\t\t\t\t\t\t SetTime();\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t});\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (InterruptedException 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\t\t}\r\n\t\t\tsubmitbtn.setDisable(true);\r\n\t\t\tbackbtn.setDisable(false);\r\n\t\t\t}",
"public void startClick (View view){\n \tif(stopped){\n \t\tstartTime = System.currentTimeMillis() - elapsedTime; \n \t}\n \telse{\n \t\tstartTime = System.currentTimeMillis();\n \t}\n \tmHandler.removeCallbacks(startTimer);\n mHandler.postDelayed(startTimer, 0);\n showStopButton();\n }",
"private void trackerTimer() {\n\n Thread timer;\n timer = new Thread() {\n\n @Override\n public void run() {\n while (true) {\n\n if (Var.timerStart) {\n try {\n Var.sec++;\n if (Var.sec == 59) {\n Var.sec = 0;\n Var.minutes++;\n }\n if (Var.minutes == 59) {\n Var.minutes = 0;\n Var.hours++;\n }\n Thread.sleep(1000);\n } catch (Exception cool) {\n System.out.println(cool.getMessage());\n }\n\n }\n timerText.setText(Var.hours + \":\" + Var.minutes + \":\" + Var.sec);\n }\n\n }\n };\n\n timer.start();\n }",
"@Override\n public void actionPerformed(ActionEvent actionEvent) {\n if(test.getTotalTime()>seconds/60){\n makeTimeString(seconds); \n }else{\n jButton2.setEnabled(false);\n jButton3.setEnabled(true); \n makeTimeString(seconds); \n jPanel1.removeAll();jPanel1.revalidate();jPanel1.repaint(); \n JOptionPane.showMessageDialog(null, \"<HTML><H1>End of Time:</H1></HTML>\");\n \n timer.stop();\n }\n seconds++; \n }",
"private void setTimer() {\r\n timer = new Timer(TIMER_DELAY, new ActionListener() {\r\n public void actionPerformed(ActionEvent ae) {\r\n action();\r\n }\r\n });\r\n }",
"private Timer() {\n myThread = new TimerThread();\n myThread.start();\n }",
"@Override\n public void onClick(View v) {\n startTime = SystemClock.uptimeMillis();\n\n //postDelayed will have the runnable to be added to the message queue by the specified\n //value which in this case would be 0\n handler.postDelayed(runnable, 0);\n\n //This will make the reset button inactive while the timer is going\n reset.setEnabled(false);\n }",
"public void actionPerformed(ActionEvent event) {\r\n\t\t\t\tif (event.getSource() == start) {\r\n\t\t\t\t\ttimer.start();\r\n\t\t\t\t} else if (event.getSource() == stop) {\r\n\t\t\t\t\ttimer.stop();\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttimer.stop();\r\n\t\t\t\t\tsetTimer = 0;\r\n\t\t\t\t\ttime.setText(fmt.format(setTimer));\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t}\r\n\t\t\t}",
"@Override\n public void start(Stage stage) throws Exception {\n StackPane pane = new StackPane();\n Button sendMove = new Button(\"Send Move\");\n Button receiveMove = new Button(\"Wait(Received_Move)\");\n Button stopAll = new Button(\"Stop All\");\n Label label2 = new Label();\n Label label1 = new Label();\n Label label3 = new Label();\n Label label4 = new Label();\n VBox hbox = new VBox(label4, label1, label2, label3);\n hbox.setSpacing(15);\n VBox box = new VBox(sendMove, receiveMove, stopAll, hbox);\n box.setSpacing(15);\n\n pane.getChildren().addAll(box);\n Scene scene = new Scene(pane, 500, 500);\n\n long veryInitialTime = System.currentTimeMillis();\n// clickedTime = veryInitialTime;\n backgroundStopWatch.schedule(new TimerTask() {\n public void run() {\n Platform.runLater(new Runnable() {\n public void run() {\n// timer2.cancel();\n label4.setText(String.valueOf(System.currentTimeMillis() - veryInitialTime));//+ (System.currentTimeMillis() - initialTimer));\n\n }\n });\n }\n }, 0, 500);\n\n receiveMove.setOnAction((event) -> {\n// delChange += delTimer;\n// delChange = 5000;\n\n clickedTime = System.currentTimeMillis();\n\n waitingForMyMoveStopWatch.cancel();\n waitingForReceiverMoveStopWatch = new Timer();\n// clickedTime = System.currentTimeMillis();\n\n waitingForReceiverMoveStopWatch.schedule(new TimerTask() {\n public void run() {\n Platform.runLater(new Runnable() {\n public void run() {\n// timer2.cancel();\n label3.setText(\"(Do after receiving Move)My Move timer ... (my Move) ...\" + String.valueOf(System.currentTimeMillis() - clickedTime));//+ (System.currentTimeMillis() - initialTimer));\n\n }\n });\n }\n }, 0, 500);\n// clickedTime = System.currentTimeMillis();\n// System.out.println(\"Button1 .. delTimer .. \" + delTimer + \" .. delChange .. \" + delChange);\n toDoTaskTimer.cancel();\n toDoTaskTimer = new Timer();\n toDoTaskTimer.schedule(new TimerTask() {\n public void run() {\n Platform.runLater(new Runnable() {\n public void run() {\n waitingForReceiverMoveStopWatch.cancel();\n// backgroundStopWatch.cancel();\n label3.setText(\"I didn't make move ... YOU LOSE AFTER (time) (to do)10s \");//+ (System.currentTimeMillis() - initialTimer));\n\n// label3.setText(\"(Move not received in due time) (time) (to do)10s \");//+ (System.currentTimeMillis() - initialTimer));\n }\n });\n }\n }, delChange);\n });\n\n sendMove.setOnAction((event) -> {\n// delChange = 5000;\n clickedTime = System.currentTimeMillis();\n waitingForReceiverMoveStopWatch.cancel();\n waitingForMyMoveStopWatch = new Timer();\n waitingForMyMoveStopWatch.schedule(new TimerTask() {\n public void run() {\n Platform.runLater(new Runnable() {\n public void run() {\n// timer2.cancel();\n label2.setText(\"(Do After Send MyMove) (waiting for opponentMove) ...\" + String.valueOf(System.currentTimeMillis() - clickedTime));//+ (System.currentTimeMillis() - initialTimer));\n\n }\n });\n }\n }, 0, 500);\n// System.out.println(\"Button2 .. delTimer .. \" + delTimer + \" .. delChange .. \" + delChange);\n toDoTaskTimer.cancel();\n toDoTaskTimer = new Timer();\n toDoTaskTimer.schedule(new TimerTask() {\n public void run() {\n Platform.runLater(new Runnable() {\n public void run() {\n waitingForMyMoveStopWatch.cancel();\n// backgroundStopWatch.cancel();\n// label3.setText(\"I didn't make move ... YOU LOSE AFTER (time) (to do)10s \");//+ (System.currentTimeMillis() - initialTimer));\n label2.setText(\"(Move not received in due time) (time) (to do)10s \");//+ (System.currentTimeMillis() - initialTimer));\n\n }\n });\n }\n }, delChange);\n });\n\n stopAll.setOnAction((event) -> {\n// toDoTaskTimer.cancel();\n// backgroundStopWatch.cancel();\n// waitingForReceiverMoveStopWatch.cancel();\n// sendMove.fi\n });\n stage.setScene(scene);\n stage.show();\n\n }",
"public MyTimerPanel(){\r\n\t\t//set up the body\r\n\t\tstopWatchTimer = new StopWatch (0, 0, 0);\r\n timer = new TimerListener();\r\n javaTimer = new Timer(100, timer);\r\n //javaTimer.start();\r\n javaTimer.setRepeats(flag);\r\n\r\n //set the layout\r\n setLayout(new GridLayout(4,3));\r\n\t\tsetBackground(Color.BLUE);\r\n\t\t\r\n\t\t//initialize JButttons\r\n\t\tstart = new JButton(\"START\");\r\n\t\tstop = new JButton(\"STOP\");\r\n\t\treset = new JButton(\"RESET\");\r\n\t\tadd = new JButton(\"ADD\");\r\n\t\tsub = new JButton(\"SUBTRACT\");\r\n\t\t\r\n\t\t//make text fields initially 0\r\n\t\tmin = new JTextField(\"0\");\r\n\t\tsec = new JTextField(\"0\");\r\n\t\tmilli = new JTextField(\"0\");\r\n\t\t\r\n\t\t//initialize JLabels\r\n\t\ttime = new JLabel(\"Time: \" + stopWatchTimer.toString());\r\n\t\tminL = new JLabel(\"Minute: \");\r\n\t\tsecL = new JLabel(\"Second: \");\r\n\t\tmilliL = new JLabel(\"Millisecond: \");\r\n\t\t\r\n\t\t//add to menu bar\r\n//\t\t\t\tJMenuBar menuBar = new JMenuBar();\r\n//\t\t\t\tmenuBar.add(file);\r\n\t\t\r\n\t\t\r\n\t //timer = new TimerListener();\r\n\t\tmin.addActionListener(timer);\r\n\t\tsec.addActionListener(timer);\r\n\t\tmilli.addActionListener(timer);\r\n\t\tstart.addActionListener(timer);\r\n\t\tstop.addActionListener(timer);\r\n\t\treset.addActionListener(timer);\r\n\t\tadd.addActionListener(timer);\r\n\t\tsub.addActionListener(timer);\r\n\t\t\r\n\t\t//add everything to panel\r\n\t\tadd(time);\r\n\t\t\r\n\t\tadd(reset);\r\n\t\tadd(add);\r\n\t\tadd(minL);\r\n\t\tadd(min);\r\n\t\tadd(start);\r\n\t\tadd(secL);\r\n\t\tadd(sec);\r\n\t\tadd(stop);\r\n\t\tadd(milliL);\r\n\t\tadd(milli);\r\n\t\tadd(sub);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttimer_tick(e);\r\n\t\t\t}",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getSource()==time)\n\t\t{\n\t\t\tn=(n+1)%count;\n\t\t\timageButton.setIcon(imageIcon[n]);\n\t\t\t\n\t\t}\n\t\telse if(e.getSource()==bStart)\n\t\t{\n\t\t\ttime.start();\n\t\t}\n\t\telse if(e.getSource()==bStop)\n\t\t{\n\t\t\ttime.stop();\n\t\t}\n\t}",
"abstract public boolean timedActionPerformed(ActionEvent e);",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(mThread==null){\n\t\t\t\t\tmThread=new Thread(runnable);\n\t\t\t\t\tmThread.start();\n\t\t\t\t}else{\n\t\t\t\t\tToast.makeText(getApplication(), getApplication().getString(R.string.thread_started), Toast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t}",
"private void startTimer() {\n\t\ttimer = new Timer();\n\t\ttimer.scheduleAtFixedRate(new TimerTask() {\n\t\t\tint currTime = 0;\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tjavafx.application.Platform.runLater(new Runnable () {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tcurrTime++;\n\t\t\t\t\t\ttimerLabel.setText(\"Time: \" + currTime);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, 1000, 1000);\n\t}",
"public void actionPerformed(ActionEvent e) \n {\n\t\n if(e.getSource().equals(timTimer)) \n {\n /* this event was fired by timTimer */\n \n timWorld.step(); //step the game world\n canvas.repaint(); //repaint the canvas\n \n /* test for win condition */\n if(winTester != null && winTester.checkForWin())\n {\n stopGame(true);\n switchGameState(GameState.COMPLETE);\n }\n } \n else //if(e.getActionCommand().equals(TIMER_SPLASH_REMOVE))\n {\n /* this event fired by the splash screen delay timer from the main() method */\n\n /* hide splash screen */\n timSplash.setVisible(false);\n\n /* instantiate TimGUI */\n timGUI = new TimGUI(this, canvas, ws, pf, \"Fantastic Fourth Machine - 4.44\",timHelp);\n \n /* start music based on player profile's setting */\n\t if (pf.getPlayerSetting().getMusic() == PlayerSetting.Setting.ON)\n\t {\n\t\t ap.playMusic();\n\t }\n }\n\t}",
"public void beginTimer(View view) {\n if (!isRunning) {\n isRunning = true;\n startButton.setText(R.string.stop_text);\n startTime = System.currentTimeMillis();\n timeHandler.removeCallbacks(startTimer);\n timeHandler.postDelayed(startTimer, 0);\n } else {\n startButton.setText(R.string.go_button);\n stopTimer();\n }\n }",
"public void timerThreadStart()\n {\n //Zaloz nove vlakno a uloz\n timer = new Thread(\n new Runnable() \n //Anonymni trida noveho vlakna s metodou run \n {\n @Override\n public void run() \n {\n //Cekej zadany cas\n try \n {\n TimeUnit.MINUTES.sleep(minutes);\n } \n catch (InterruptedException e) \n {\n amountJTextField.setText(\"Interrupted Exception\");\n }\n \n //Nacti zvuk\n try\n {\n //Vyrobeni input stream tak, aby sel cist po zabaleni do .jar\n InputStream is = getClass().getResourceAsStream(\"warn1.wav\");\n warn1 = new JavaSoundAudioClip(is);\n }\n catch(IOException ex)\n {\n amountJTextField.setText(\"IOException\");\n }\n //Zmen informacni text na \"vyznanim\"\n startStopJLabel.setForeground(Color.red);\n startStopJLabel.setText(\"RINGING\");\n //Prehraj zvuk\n warn1.loop();\n }\n });\n //Spust vlakno\n timer.start();\n }",
"public void actionPerformed(ActionEvent e)\n {\n testThread.interrupt();\n }",
"protected void timer_tick(ActionEvent e) {\n\t\thour = time / 3600;\r\n\t\tminute = time % 3600 / 60;\r\n\t\tsecond = time % 3600 % 60;\r\n\t\tlblCountDown.setText(\"剩余时间:\" + stringTime(hour) + \":\" + stringTime(minute) + \":\" + stringTime(second));\r\n\t\tif (time == 0) {\r\n\t\t\ttimer.stop();\r\n\t\t\ttimeOut();\r\n\t\t}\r\n\t\ttime--;\r\n\t}",
"private void runTimer() {\n\n // Handler\n final Handler handler = new Handler();\n\n handler.post(new Runnable() {\n @Override\n public void run() {\n\n if (playingTimeRunning) {\n playingSecs++;\n }\n\n handler.postDelayed(this, 1000);\n }\n });\n\n }",
"public UpdateTimer()\n\t\t{\n\t\t\tsuper(delayTime, null);\n\t\t\t\n\t\t\taddActionListener(this);\n\t\t}",
"private void startCountTime() {\n\t\tRunnable timerRunnable = () -> {\n\t\t\tinitTimer();\n\t\t\tlong millisWaitTime = 1000/CALCULATIONS_PER_SECOND;\n\t\t\tlong currT, nextT;\n\t\t\t//previous time\n\t\t\tlong prevT = System.nanoTime();\n\t\t\twhile (this.keepRunning) {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(millisWaitTime);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t}\n\t\t\t\tcurrT = System.nanoTime();\n\t\t\t\tthis.time = (double)(currT - prevT) * 0.000000001;\n\t\t\t\tprevT = currT;\n\t\t\t\tnextT = prevT + 1000000000 / CALCULATIONS_PER_SECOND;\n\t\t\t\tthis.gameLogic.updateGame(time);\n\t\t\t\t// stop the timer game if the player lose\n\t\t\t\tif(this.gameLogic.playerLose()) {\n\t\t\t\t\tthis.stopCountTime();\n\t\t\t\t}\n\t\t\t\tlong timeWait = Math.max(nextT - System.nanoTime(),0);\n\t\t\t\ttimeWait += INCREASE_WAIT;\n\t\t\t\tmillisWaitTime = timeWait / 1000000;\n\t\t\t}\n\t\t};\n\t\tgameTimeThread = new Thread(timerRunnable);\n\t\tgameTimeThread.start();\n\t}",
"public JButton getButtonToStartTimer()\n {\n return timerButton;\n }",
"private void startTimer(){\n scoreboard.disableStart(true);\n timer.scheduleAtFixedRate(new TimerTask(){\n @Override\n public void run(){\n Platform.runLater(new Runnable(){\n @Override\n public void run() {\n scoreboard.updateTime();\n }\n });\n }\n },0,1000);\n }",
"@Override\n public void run() {\n while (active) {\n \n tSec.setText(seconds+\"\");\n tMin.setText(minutes+\"\");\n tHours.setText(hours+\"\");\n \n seconds++;\n \n try {\n TimeUnit.SECONDS.sleep(DELAY);\n } \n catch (InterruptedException ex) {\n }\n\n if (seconds >= 59) {\n seconds = -1;\n minutes++;\n }\n\n if (minutes >= 59) {\n seconds = -1;\n minutes = 0;\n hours++;\n }\n }\n }",
"public void stopTimer() {\r\n running = false;\r\n try {\r\n if (timerThread != null && timerThread.isAlive()) {\r\n timerThread.join();\r\n }\r\n } catch (Exception ie) {\r\n }\r\n }",
"private void startAnimation(){\n\t TimerActionListener taskPerformer = new TimerActionListener();\n\t new Timer(DELAY, taskPerformer).start();\n \t}",
"public void actionPerformed(ActionEvent e)\n/* */ {\n/* */ \n/* */ \n/* 60 */ new Thread()\n/* */ {\n/* */ public void run()\n/* */ {\n/* 55 */ P2PAnalysisFrame.this.start.setEnabled(false);\n/* 56 */ P2PAnalysisFrame.this.init();\n/* 57 */ P2PAnalysisFrame.this.analysis();\n/* 58 */ P2PAnalysisFrame.this.start.setEnabled(true);\n/* */ }\n/* */ }.start();\n/* */ }",
"@Override\r\n\t\tpublic void run() {\n\t\t\tfor (int i = 10; i >=0; i--) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tsleep(1000);\r\n\t\t\t\t\ttimer.setText(\"시간:\"+i);\r\n\t\t\t\t} catch (InterruptedException 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\t\t}\r\n\t\t\t\r\n\t\t\ttimer.setText(\"시간종료\");\r\n\t\t\tbtn.setEnabled(false);\r\n\t\t}",
"public void run()\n\t\t{\n\t\t\ttimerRunning = true;\n\t\t\tdate = new Date();\n\t\t\tstartTime = date.getTime();\n\t\t\tendTime = startTime + planet.getTimeMS();\n\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: \" + planet.getTimeMS()/1000 + \" s\");\n\n\t\t\twhile(timerRunning)\n\t\t\t{\n\t\t\t\tdate = new Date();\n\t\t\t\tnowTime = date.getTime();\n\n\t\t\t\t// If the countdown has reached 0 (or less)\n\t\t\t\t// Stop the timer and other threads and end the game\n\t\t\t\tif(nowTime >= endTime)\n\t\t\t\t{\n\t\t\t\t\tstopTimer();\n\t\t\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: 0 s\");\n\t\t\t\t\tstopThreads();\n\t\t\t\t\tJOptionPane.showMessageDialog(lander,\"Sorry, you ran out of time.\\nGame Over!\", \"Ran Out Of Time\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t\tendGame();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: \" + (endTime-nowTime)/1000 + \" s\");\n\t\t\t\t}\n\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t}\n\t\t\t\tcatch (InterruptedException e) {}\n\t\t\t}\n\t\t}",
"public void updateTimer(){\n\t\tif(timer.isRunning()){ \n\t\t\ttimer.stop();\n\t\t\tmakeTimer();\n\t\t\ttimer.start();\n\t\t}else{\n\t\t\tmakeTimer();\n\t\t}\n\t}",
"public void startTimer() {\n timer = new Timer();\n //initialize the TimerTask's job\n initializeTimerTask();\n //schedule the timer, to wake up every 1 second\n timer.schedule(timerTask, 1000, 1000); //\n }",
"public void schedule() {\n cancel();\n timer.schedule(new TimerTask() {\n @Override\n public void run() {\n runnable.run();\n }\n }, delay);\n }",
"public void actionPerformed(ActionEvent e) {\n\n if (e.getSource() == m_StartBut) {\n if (m_RunThread == null) {\n\ttry {\n\t m_RunThread = new ExperimentRunner(m_Exp);\n\t m_RunThread.setPriority(Thread.MIN_PRIORITY); // UI has most priority\n\t m_RunThread.start();\n\t} catch (Exception ex) {\n ex.printStackTrace();\n\t logMessage(\"Problem creating experiment copy to run: \"\n\t\t + ex.getMessage());\n\t}\n }\n } else if (e.getSource() == m_StopBut) {\n m_StopBut.setEnabled(false);\n logMessage(\"User aborting experiment. \");\n if (m_Exp instanceof RemoteExperiment) {\n\tlogMessage(\"Waiting for remote tasks to \"\n\t\t +\"complete...\");\n }\n ((ExperimentRunner)m_RunThread).abortExperiment();\n // m_RunThread.stop() ??\n m_RunThread = null;\n }\n }",
"public void run()\n {\n while (threadRunning)\n {\n /*\n * As long as the timer is less than 99 minutes and 59 seconds then\n * increment just one per second. In the event that the timer runs\n * longer than that, start timer over at 0 seconds.\n */\n if (this.seconds < 6000)\n {\n this.seconds += 1;\n }\n else\n {\n this.seconds = 0;\n }\n //referring to the JLabel setText method for Timer\n setText(getFormattedTime(seconds));\n doNothing((long)1000); \n }\n }",
"private void startTimerAfterCountDown() {\n \t\thandler = new Handler();\n \t\tprepareTimeCountingHandler();\n \t\thandler.post(new CounterRunnable(COUNT_DOWN_TIME));\n \t}",
"public void ButtonStartClick(View view){\n\n final MyCountDownTimer cdt = new MyCountDownTimer(180000, 1000);\n\n cdt.start();\n }",
"private void turnOffDelayTimer(int runTimeId)\n\t{\n Thread worker = new Thread() {\n \t \n public void run(){\n \n try\n { \n \tThread.sleep(1000*60); //1 minutes delay\n }\n catch(InterruptedException ex){}\n\n SwingUtilities.invokeLater( new Runnable()\n {\n public void run()\n {\n \t //if sprinkler,\n \t if(isSprinklerSelected)\n \t {\n\t \t //turn off sprinkler after a fixed time\n\t \t\t\t\n\t \t\t\t//set status=off if sprinkler is ON\n\t \t if(sprinklerService.getSprinklerByName(selectedId).getSprinklerStatus().equals(SprinklerStatus.ON.toString()))\n\t \t sprinklerService.updateSprinklerStatus(selectedId, SprinklerStatus.OFF.toString());\n\t \t\t\t//update sprinklerRunTime end_time=currenttime\n\t \t sprinklerService.updateSprinklerRunTime(runTimeId);\n \t }\n \t else//group\n \t {\n \t\t //turn off group after a fixed time\n \t\t \n \t\t //set status=off if group is ON\n \t\t SprinklerGroup gService=new SprinklerGroup();\n \t\t if(gService.getSprinklerGroupByName(selectedId).getStatus().equals(SprinklerStatus.ON.toString()))\n \t\t {\n \t\t\t \n \t\t\t gService.updateSprinklerGroupStatus(selectedId, SprinklerStatus.OFF.toString());\n \t\t\t //update groupRunTime end_time=currenttime\n \t\t\t sprinklerService.updateGroupRunTime(runTimeId);\n \t\t }\n \t\t \n \t }\n \t \n }\n });\n }\n };\n\n worker.start(); \n\n \t\n\t}",
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tThread c = new ThreadSapo(lblSapo1, btnCorrer, lbl1, lbl2, lbl3, lbl4, lbl5);\r\n\t\t\t\tc.start();\r\n\t\t\t\tThread c2 = new ThreadSapo(lblSapo2, btnCorrer, lbl1, lbl2, lbl3, lbl4, lbl5);\r\n\t\t\t\tc2.start();\r\n\t\t\t\tThread c3 = new ThreadSapo(lblSapo3, btnCorrer, lbl1, lbl2, lbl3, lbl4, lbl5);\r\n\t\t\t\tc3.start();\r\n\t\t\t\tThread c4 = new ThreadSapo(lblSapo4, btnCorrer, lbl1, lbl2, lbl3, lbl4, lbl5);\r\n\t\t\t\tc4.start();\r\n\t\t\t\tThread c5 = new ThreadSapo(lblSapo5, btnCorrer, lbl1, lbl2, lbl3, lbl4, lbl5);\r\n\t\t\t\tc5.start();\r\n\t\t\t}",
"public final void setJam(){\nActionListener taskPerformer = new ActionListener() {\n\npublic void actionPerformed(ActionEvent evt) {\nString nol_jam = \"\", nol_menit = \"\",nol_detik = \"\";\n\njava.util.Date dateTime = new java.util.Date();\nint nilai_jam = dateTime.getHours();\nint nilai_menit = dateTime.getMinutes();\nint nilai_detik = dateTime.getSeconds();\n\nif(nilai_jam <= 9) nol_jam= \"0\";\nif(nilai_menit <= 9) nol_menit= \"0\";\nif(nilai_detik <= 9) nol_detik= \"0\";\n\nString jam = nol_jam + Integer.toString(nilai_jam);\nString menit = nol_menit + Integer.toString(nilai_menit);\nString detik = nol_detik + Integer.toString(nilai_detik);\n\nlblwktu.setText(jam+\":\"+menit+\":\"+detik+\"\");\n}\n};\nnew Timer(1000, taskPerformer).start();\n}",
"public void startTimer() {\n mStatusChecker.run();\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttimerDigits--;\n\t\t\t\tchangeImage(SMILE_IMG_PATH);\n\t\t\t\ttimerText.setText(Integer.toString(timerDigits));\n\t\t\t\tif (timerDigits == 0) {\n\t\t\t\t\t/*if (score >= 0) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, USER_NAME\n\t\t\t\t\t\t\t\t+ \" Your Score: \" + score, \"Time UP\", 1);\n\t\t\t\t\t} else\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Fail \", \"Time UP\",\n\t\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE,\n\t\t\t\t\t\t\t\tchangeImage(SAD_IMG_PATH));*/\n\t\t\t\t\t((Timer) e.getSource()).stop();\n\t\t\t\t\t//timerDigits = gameOverTime;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif(USER_NAME != null && !USER_NAME.equalsIgnoreCase(\"G=6.67\") && !USER_NAME.equalsIgnoreCase(\"Admin\"))\n\t\t\t\t\t\t\tsaveScore(score, selectedLevel);\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\t//System.exit(0);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (timerDigits - 0 <= 10 && (timerDigits - 0) % 2 == 0) {\n\t\t\t\t\tcountDownRadio.setBackground(Color.red);\n\t\t\t\t} else\n\t\t\t\t\tcountDownRadio.setBackground(Color.lightGray);\n\t\t\t}",
"public void stopTime() {\n if (isRunning) {\n timer.cancel();\n timer.purge();\n }\n isRunning = false;\n }",
"public void start() {timer.start();}",
"private void timerStart()\r\n { updateTimer.postDelayed(updateTimerTask, UPDATE_TIME); }",
"public synchronized void start() {\r\n\t\tif(type == TYPE_DELAY) {\r\n\t\t\tdate = new Date(System.currentTimeMillis() + delay);\r\n\t\t}\r\n\t\tif(started) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tstarted = true;\r\n\t\ttm.addStartedTimers(this);\t\t\r\n//\t\ttm.getHandler().post(new Runnable() {\r\n//\t\t\tpublic void run() {\r\n//\t\t\t\tdoCancel();\r\n//\t\t\t\tdoStart();\r\n//\t\t\t}\r\n//\t\t});\r\n\t}",
"@Override\r\n\tprotected void initEvent() {\n\t\ttimer = new Timer(1000, 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// TODO Auto-generated method stub\r\n\t\t\t\ttimer_tick(e);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t}",
"public static void startTimeout() {\n t = new Timer();\n tt = new TimerTask() {\n\n public void run() {\n while (true) {\n if (diff[0] > 0 || diff[1] > 0) {\n try {\n runFocusPoint();\n Thread.sleep(50);\n } catch (InterruptedException ex) {\n //ex.printStackTrace();\n }\n } else {\n break;\n }\n }\n cancelTask();\n diff[0] = 0;\n diff[1] = 0;\n }\n };\n t.scheduleAtFixedRate(tt, 0, 50);\n }",
"public void stop() {timer.stop();}",
"public static void startTimer() {\n elapsedTime = 0;\r\n timerIsWorking = true;\r\n startTime = System.nanoTime() / 1000000; // ms\r\n }",
"public void startTimer() {\n\n if(mTimer == null) {\n mTimer = new Timer();\n }\n\n mElapsedTime = 0;\n mTimer.scheduleAtFixedRate(new TimerTask() {\n\n public void run() {\n mElapsedTime += 1; //increase every sec\n mTimerHandler.obtainMessage(TimerHandler.INCREASE_TIMER).sendToTarget();\n if (mLiveVideoBroadcaster == null || !mLiveVideoBroadcaster.isConnected()) {\n mTimerHandler.obtainMessage(TimerHandler.CONNECTION_LOST).sendToTarget();\n }\n }\n }, 0, 1000);\n }",
"public void start() {\n ActionListener listener = new TimePrinter();\n Timer t = new Timer(interval, listener);\n t.start();\n }",
"public void run(){\n Timer time = new Timer(); // Instantiate Timer Object\n\n ScheduledClass st = new ScheduledClass(this.job,this.shm,time,this.stopp); // Instantiate SheduledTask class\n time.schedule(st, 0, this.periodicwait); // Create Repetitively task for every 1 secs\n }",
"@Override\n\tpublic void run() {\n\t\ttry {\n\t\t\tThread.sleep(this.timerTime);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthis.timerFinished = true;\n\t}",
"public void startTimer() {\n timer = new Timer();\n\n //initialize the TimerTask's job\n initializeTimerTask();\n\n //schedule the timer, to wake up every 1 second\n timer.schedule(timerTask, 10000, 10000);\n }",
"private void playButton(ActionEvent e) {\n if (paused) {\n timer.start();\n paused = false;\n } else {\n paused = true;\n timer.stop();\n }\n }",
"private void setNewTimer() {\n if (!isSetNewTimerThreadEnabled) {\n return;\n }\n\n timer = new Timer();\n timer.scheduleAtFixedRate(new TimerTask() {\n\n @Override\n public void run() {\n // Send the message to the handler to update the UI of the GameView\n GameActivity.this.handler.sendEmptyMessage(UPDATE);\n\n // For garbage collection\n System.gc();\n }\n\n }, 0, 17);\n }",
"@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\r\n\t\t\t\t\tTournamentView t =new TournamentView(parent, game, myFighters) ; \r\n\t \t\t\t\tt.setVisible(true); \r\n\t \t\t\t\t Runnable r = new Runnable() {\r\n\t \t\t\t\t\t public void run() {\r\n\t \t\t\t\t\t try {\r\n\t \t\t\t\t\t\t\tThread.sleep(1000);\r\n\t \t\t\t\t\t\t} catch (InterruptedException e) {\r\n\t \t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t \t\t\t\t\t\t\te.printStackTrace();\r\n\t \t\t\t\t\t\t}\r\n\t \t\t\t\t\t // your Code ... \r\n\t \t\t\t\t\t setVisible(false);\r\n\t \t\t\t\t\t }\r\n\t \t\t\t\t\t };\r\n\t \t\t\t\tThread t1 = new Thread(r) ;\r\n\t \t\t\t\tt1.start();\r\n\t\t\t\t}",
"private void timerstart() {\n timer = new Timer(timer1, new ActionListener(){ \n \tpublic void actionPerformed(ActionEvent ae){\n \t\tcheckMatch();\n \t}});\n timer.start();\n timer.setRepeats(false);\n }",
"public void run(){\n \t\t\t\tif (duration>0) {\r\n \t\t\t\t\trecord.startRecording();\r\n \t\t\t\t\tstpBtn.setEnabled(true);\r\n \t\t\t\t\t//psBtn.setEnabled(true); //TODO: pause button action\r\n \t\t\t\t\t(new Timer()).schedule(new TimerTask() {\r\n \t\t\t\t\t\tpublic void run () {\r\n \t\t\t\t\t\t\t//stop recording\r\n \t\t\t\t\t\t\trecord.stopRecording();\r\n \t\t\t\t\t\t\trcrdBtn.setEnabled(true);\r\n \t\t\t\t\t\t\tstpBtn.setEnabled(false);\r\n \t\t\t\t\t\t\tpsBtn.setEnabled(false);\r\n \t\t\t\t\t\t}\r\n \t\t\t\t\t}, duration);\r\n \t\t\t\t} else { //countdown, no timer\r\n \t\t\t\t\t//start recording\r\n \t\t\t\t\trecord.startRecording();\r\n \t\t\t\t\t//stop and pause buttons come visible after countdown has run\r\n \t\t\t\t\trcrdBtn.setEnabled(false);\r\n \t\t\t\t\tstpBtn.setEnabled(true);\r\n \t\t\t\t\t//psBtn.setEnabled(true); TODO: implement pause action\r\n \t\t\t\t\t//TODO: Mimimize frame to taskbar\r\n \t\t\t\t}\r\n \t\t\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t // Inizializza nome thread\n\t Thread.currentThread().setName(\"Timer\");\n\t \n\t // Richiama procedura di gestione aggiornamento configurazione\n\t update();\n }",
"public void buildTimer() {\n if(mTask.isRunning()) {\n // Update the time from when the timer was last running\n if(mTask.getLastTick() > 0) {\n mTask.incrementTime((int) ((System.currentTimeMillis() - mTask.getLastTick()) / 1000));\n mTask.setLastTick(-1);\n invalidate();\n }\n\n // Create and start the timer\n if(mTimer != null) mTimer.interrupt();\n mTimer = new TaskTimerThread(mTask, 1, this);\n mTimer.start();\n Log.v(TAG, \"Started timer\");\n } else {\n // Stop the timer and clear the last tick\n if(mTimer != null) mTimer.interrupt();\n mTask.setLastTick(-1);\n Log.v(TAG, \"Stopped timer\");\n }\n }",
"public void play()\n{\n // If timer is null, create it\n if(_timer==null)\n _timer = new javax.swing.Timer(getInterval(), new ActionListener() {\n public void actionPerformed(ActionEvent e) { update(); }});\n\n // If animator not running, start timer\n if(!isRunning()) {\n \n // Record time animator was at and time started\n _playStartTime = getTime();\n _startTime = System.currentTimeMillis();\n \n // Start timer\n _timer.start();\n \n // Send animatorStarted notification\n for(Listener listener : getListeners(Listener.class)) listener.animatorStarted(this);\n }\n}",
"private void startTimer(){\n timer= new Timer();\r\n task = new TimerTask() {\r\n @Override\r\n public void run() {\r\n waitDuration++;\r\n\r\n timerLabel.setText(Integer.toString(waitDuration));\r\n }\r\n };\r\n timer.scheduleAtFixedRate(task,1000,1000);\r\n }",
"public void start() {\n\t\ttry {\n\t\t\t_timer.cancel();\n\t\t} catch (Exception e) {\n\t\t\t// Attempting to stop just in case, so this isn't a problem.\n\t\t}\n\t\t_timer = new Timer();\n\t\ttry {\n\t\t\t_timer.schedule(getTask(), TIME, TIME);\n\t\t} catch (IllegalStateException e) {\n\t\t\tstop();\n\t\t\tstart(); // Redo method if it was already running before.\n\t\t}\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\ttimer.start();\n\t\t\t\tbtn_countdowntime.setClickable(false);\n\t\t\t}",
"public void run() {\n isRunningTime = true;\n\n coolDownTime.put(target, coolDownTime.get(target) - 1);\n\n if(coolDownTime.get(target) <= 0) {\n coolDownTime.remove(target);\n\n target.sendMessage(DwD + ChatColor.GOLD + \"Your Dark Cloud cooldown has expired.\");\n\n isRunningTime = false;\n\n taskCoolDownToCancel.cancel();\n }\n }",
"public static void stopTimer() {\n timerIsWorking = false;\r\n elapsedTime = 0;\r\n }",
"@SuppressLint(\"NewApi\")\r\n\t@Override\r\n\tprotected void onCreate(Bundle savedInstanceState)\r\n\t{\r\n\t\tsuper.onCreate(savedInstanceState) ;\r\n\t\tsetContentView(R.layout.main) ;\r\n\r\n\t\tbutton = (Button) findViewById(R.id.button1) ;\r\n\t\t\r\n\t\ttimer = new MyTimer(this) ;\r\n\t\ttimer.setBase(SystemClock.elapsedRealtime() - 30000);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\r\n\t\ttimer.setOnChronometerTickListener(new OnChronometerTickListener()\r\n\t\t{\r\n\t\t\t@Override\r\n\t\t\tpublic void onChronometerTick(Chronometer chronometer)\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tbutton.setText(timer.getText()) ;\r\n\t\t\t\t\r\n/*\t\t\t\tToast.makeText(Main.this, \"is adkadjakdjkad\", Toast.LENGTH_SHORT).show() ;\r\n\t\t\t\t\r\n\t\t\t\tlong myElapsedMillis = SystemClock.elapsedRealtime() - timer.getBase() ;\r\n\t\t\t\tString strElapsedMillis = \"Elapsed milliseconds: \" + myElapsedMillis ;\r\n\t\t\t\tToast.makeText(Main.this, strElapsedMillis, Toast.LENGTH_SHORT).show() ;*/\r\n\t\t\t}\r\n\t\t}) ;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tbutton.setOnClickListener(new OnClickListener()\r\n\t\t{\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void onClick(View v)\r\n\t\t\t{\r\n\t\t\t\tToast.makeText(Main.this, \"timer: \" + (timer == null) , Toast.LENGTH_SHORT).show() ;\r\n\t\t\t\tif (timer.isRunning)\r\n\t\t\t\t{\r\n\t\t\t\t\ttimer.stop() ;\r\n\t\t\t\t\tToast.makeText(Main.this, \"stop running\", Toast.LENGTH_SHORT).show() ;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\ttimer.start() ;\r\n\t\t\t\t\tToast.makeText(Main.this, \"start running\", Toast.LENGTH_SHORT).show() ;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t}",
"public void start() {\n\t\tdata = new SharedData(output, input); // handles all shared data\n\t\ttimer = new Thread(new TimeHandler(data)); \n\t\tbuttons = new Thread(new ButtonHandler(input, data, signal));\n\n\t\ttimer.start();\n\t\tbuttons.start();\n\t}",
"private static void timerTest1() {\n\t\tTimer timer = new Timer();\n\t\ttimer.schedule(new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tSystem.out.println(\"timertest1\");\n\t\t\t\ttimer.cancel();\n\n\t\t\t}\n\t\t}, 2000);\n\n\t}",
"@Override\n\tpublic void run() {\n\t\twhile(!Thread.currentThread().isInterrupted()){\n\t\t\ttry{\n\t\t\tThread.sleep(100);\n\t\t\t}\n\t\t\tcatch(InterruptedException e){\n\t\t\t\tThread.currentThread().interrupt();\n\t\t\t}\n\t\t\t\n\t\t\tpostInvalidate();\n\t\t}\n\t}",
"public void startTimer(){\n timerStarted = System.currentTimeMillis();\n }",
"private void stopTime()\n {\n timer.stop();\n }",
"private void newListener() {\n (new Thread(this)).start();\n }",
"@Override\n public void run() {\n if (timerValidFlag)\n gSeconds++;\n Message message = new Message();\n message.what = 1;\n handler.sendMessage(message);\n }",
"public static void scheduleButtonListener(ActionEvent evt){\r\n MyButton button = (MyButton) evt.getSource();\r\n button.switchChosen();\r\n if(button.isChosen()){\r\n checkCollisions(button);\r\n }\r\n setButtonsColor();\r\n }",
"public void actionPerformed(ActionEvent evt) {\n\n timeElapsed = timeElapsed + 1;\n\n }",
"@Override\n\tpublic void run() {\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tThread.sleep(200);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\ttime ++;\n\t\t\tthis.repaint();\n\t\t}\n\t}",
"@Override\n public void onClick(View v) {\n timeBuff += mSecTime;\n\n //removeCallbacks will remove the runnable that are in the message queue\n handler.removeCallbacks(runnable);\n\n //this will enable the reset button\n reset.setEnabled(true);\n }",
"public void actionPerformed(ActionEvent actionEvent)\n {\n \t if(time<10.0)\n \t {\n \t\t time = time + 0.1;\n \t\t timeDisplay.setText(fmt.format(time)); \n \t }\n \t else\n \t {\n \t resetTime(); \n \t bulb.setOn(false);\n onButton.setEnabled(true);\n offButton.setEnabled(false);\n bulb.repaint();\n \t }\n }",
"public void startClick() {\n if(!isRunning){\n startButton.setText(\"Pause\");\n isRunning = true;\n isMovable = false;\n board.finalizeBoard();\n setFocusTraversable(true);\n aliveLabel.setText(Integer.toString(board.getCellsAlive()));\n draw();\n timeline.play();\n }else{\n startButton.setText(\"Start\");\n isRunning = false;\n isMovable = false;\n board.finalizeBoard();\n setFocusTraversable(true);\n aliveLabel.setText(Integer.toString(board.getCellsAlive()));\n draw();\n timeline.pause();\n }\n }",
"public void run()\r\n {\n \tm_Handler.sendEmptyMessage(JMSG_TIMER);\r\n }",
"@Override // se crea una clase anonima donde se implementa el metodo run porque Timer task implementa la interfaz runnable\r\n public void run() {\r\n System.out.println(\"Tarea realizada en: \" + new Date() + \" nombre del Thread: \"\r\n + Thread.currentThread().getName()); //retorna el nombre del hilo actual\r\n System.out.println(\"Finaliza el tiempo\");\r\n timer.cancel(); // termina este timer descartando cualquier tarea programada actual\r\n }",
"public Fenetre() {\n initComponents();\n\n timerNR = new javax.swing.Timer(5000, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n timerNRActionPerformed(evt);\n }\n }\n );\n\n timerNV = new javax.swing.Timer(5000, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n timerNVActionPerformed(evt);\n }\n }\n );\n\n timerNO = new javax.swing.Timer(2000, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n timerNOActionPerformed(evt);\n }\n }\n );\n\n timerPO = new javax.swing.Timer(1000, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n timerPOActionPerformed(evt);\n }\n }\n );\n\n timerPE = new javax.swing.Timer(500, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n timerPEActionPerformed(evt);\n }\n }\n );\n\n state = State.INITIAL;\n activation();\n switchOffAll();\n }",
"private void startTimer()\n {\n if (timer == null)\n {\n timer = new CountDownTimer(TIMER_MILLI_SEC, 1000)\n {\n @Override\n public void onTick(long l)\n {\n timerText.setText(\"\" + l / 1000);\n }\n\n @Override\n public void onFinish()\n {\n // Let P2 play\n if (secondPlayer instanceof IAPlayer)\n {\n ((IAPlayer) secondPlayer).playRandom();\n }\n // Animations and full results\n announceRoundResult();\n\n // Hide timer\n timerText.setVisibility(View.GONE);\n gameControlButton.setVisibility(View.VISIBLE);\n }\n };\n }\n\n // Clean UI state\n gameControlButton.setVisibility(View.INVISIBLE);\n timerText.setVisibility(View.VISIBLE);\n\n drawIcon.setVisibility(View.INVISIBLE);\n firstCup.setVisibility(View.INVISIBLE);\n secondCup.setVisibility(View.INVISIBLE);\n\n // Reset users actions\n resetActionButtonsState();\n firstPlayer.resetLastAction();\n secondPlayer.resetLastAction();\n\n // First player plays first\n if (firstPlayer instanceof IAPlayer)\n {\n ((IAPlayer) firstPlayer).playRandom();\n }\n\n // Start count down\n timer.start();\n }",
"void start_timer(){\n tv_verify_downtime.setVisibility(View.VISIBLE);\n countDownTimer.start();\n }",
"public void stopClick (View view){\n \tmHandler.removeCallbacks(startTimer);\n \tstopped = true;\n \thideStopButton();\n }",
"private void setTime() {\n \n new Timer(0, new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n Date d=new Date();\n SimpleDateFormat time=new SimpleDateFormat(\"hh:mm:ss a\");\n lblTime.setText(time.format(d));\n }\n }).start();\n \n \n }",
"public void actionPerformed(ActionEvent event)\n {\n bulb.setOn(true);\n onButton.setEnabled(false);\n offButton.setEnabled(true);\n bulb.repaint();\n timer.start();\n }",
"public void touch() {\n\t\tif (isRunning){\n\t\t\tisRunning =false;\n\t\t}else{\n\t\t\tisRunning = true;\n\t\t\tt = new Thread(this);\n\t\t\tt.start();\n\t\t\n\t\t}\n\t\t\n\t}",
"public void startTimer()\n {\n\n timeVal = 0;\n timer = new Timer();\n\n timer.scheduleAtFixedRate(new TimerTask() {\n @Override\n public void run() {\n timeVal++;\n timeText.setText(\"Time: \" + timeVal);\n }\n }, 0, 1000);\n }",
"public void StartTimer() {\n\t\tCount = new Timer();\n\t}",
"@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tsecond--;\n\t\tif (second == -1) {\n\t\t\tminute--;\n\t\t\tsecond = 59;\n\t\t}\n\n\t\tif (isZero())\n\t\t\tSystem.out.println(\"time is up.\");\n\n\t}"
] | [
"0.64593863",
"0.62938714",
"0.596833",
"0.58187926",
"0.57825357",
"0.56853276",
"0.5684489",
"0.5673064",
"0.5614853",
"0.55848455",
"0.55805933",
"0.555825",
"0.5531106",
"0.55161697",
"0.5442763",
"0.54018253",
"0.5398637",
"0.53887534",
"0.5361347",
"0.5354479",
"0.5337132",
"0.5333696",
"0.5302355",
"0.52692926",
"0.52299535",
"0.52280825",
"0.5205524",
"0.52004",
"0.51936245",
"0.5187173",
"0.5186576",
"0.5185641",
"0.51837873",
"0.51820105",
"0.51756346",
"0.5154257",
"0.51525915",
"0.5136946",
"0.51363075",
"0.51354927",
"0.5131151",
"0.5129067",
"0.5125187",
"0.51161647",
"0.5114807",
"0.5114291",
"0.50834036",
"0.50765187",
"0.5071682",
"0.50692713",
"0.5066693",
"0.50544286",
"0.5048271",
"0.5027241",
"0.50271016",
"0.502471",
"0.5020151",
"0.50196725",
"0.5014274",
"0.5010495",
"0.5002733",
"0.5002707",
"0.50016576",
"0.49938866",
"0.49927458",
"0.49813646",
"0.4978114",
"0.49771652",
"0.497716",
"0.497529",
"0.49666524",
"0.49654907",
"0.49595386",
"0.4957757",
"0.49371156",
"0.4935984",
"0.4934663",
"0.4934529",
"0.4931097",
"0.49244922",
"0.4922861",
"0.49118483",
"0.49062788",
"0.4901503",
"0.48931304",
"0.4891519",
"0.48845428",
"0.48816136",
"0.48720908",
"0.48700112",
"0.4864186",
"0.48599154",
"0.48595732",
"0.48520857",
"0.4839576",
"0.4825052",
"0.48246363",
"0.48193055",
"0.48120806",
"0.48095036"
] | 0.7268311 | 0 |
Called when the instance's method start() is called (inherited from Thread class). This is where the updating of the timer takes place. | public void run()
{
while (threadRunning)
{
/*
* As long as the timer is less than 99 minutes and 59 seconds then
* increment just one per second. In the event that the timer runs
* longer than that, start timer over at 0 seconds.
*/
if (this.seconds < 6000)
{
this.seconds += 1;
}
else
{
this.seconds = 0;
}
//referring to the JLabel setText method for Timer
setText(getFormattedTime(seconds));
doNothing((long)1000);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public synchronized void start() {\n m_startTime = getMsClock();\n m_running = true;\n }",
"public synchronized void start() {\r\n\t\tif(type == TYPE_DELAY) {\r\n\t\t\tdate = new Date(System.currentTimeMillis() + delay);\r\n\t\t}\r\n\t\tif(started) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tstarted = true;\r\n\t\ttm.addStartedTimers(this);\t\t\r\n//\t\ttm.getHandler().post(new Runnable() {\r\n//\t\t\tpublic void run() {\r\n//\t\t\t\tdoCancel();\r\n//\t\t\t\tdoStart();\r\n//\t\t\t}\r\n//\t\t});\r\n\t}",
"public void start()\r\n\t{\r\n\t\tcurrentstate = TIMER_START;\r\n\t\tstarttime = Calendar.getInstance();\r\n\t\tamountOfPause = 0;\r\n\t\trunningTime = 0;\r\n\t\tlastRunningTime = 0;\r\n\t\tpassedTicks = 0;\r\n\t}",
"public void start() {timer.start();}",
"void startUpdateTimer();",
"public void startTimer() {\n startTime = System.currentTimeMillis();\n }",
"public void startTimer(){\n timerStarted = System.currentTimeMillis();\n }",
"@Override\n\tpublic void run() {\n\t\t\n\t // Inizializza nome thread\n\t Thread.currentThread().setName(\"Timer\");\n\t \n\t // Richiama procedura di gestione aggiornamento configurazione\n\t update();\n }",
"public void start(){\n\t\ttimer = new Timer();\n\t\ttimer.schedule(this, 0, (long)66.6);\n\t}",
"public void start() {\n\t\tthis.startTime = System.nanoTime();\n\t\tthis.running = true;\n\t}",
"public void startTimer() {\n mStatusChecker.run();\n }",
"public void startTimer() {\n\t\t\n\t\ttimerStart = System.currentTimeMillis();\n\t\ttimerStarted = true;\n\t}",
"private void startTime()\n {\n timer.start();\n }",
"public void run()\n \t\t{\n \t\t\t//Update the timer label\n \t\t\tsetTime();\n \t\t}",
"public static void startTimer() {\n elapsedTime = 0;\r\n timerIsWorking = true;\r\n startTime = System.nanoTime() / 1000000; // ms\r\n }",
"public void start(){\n\t\tstarted = true;\n\t\tlastTime = System.nanoTime();\n\t}",
"public void start()\n\t{\n\t\t//do nothing if the stopwatch is already running\n\t\tif (m_running)\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tm_running = true;\n\n\t\t//get the time information as last part for better precision\n\t\tm_lastMs = SystemClock.elapsedRealtime();\n\t}",
"public void start() {\n startTime = System.currentTimeMillis();\n }",
"private void timerStart()\r\n { updateTimer.postDelayed(updateTimerTask, UPDATE_TIME); }",
"public void start() {\n startTime = System.currentTimeMillis();\n }",
"private void startTiming() {\n m_startTime = Calendar.getInstance().getTimeInMillis();\n }",
"private void startTimer() {\n Timer.addTimeout(endTime, this);\n }",
"public void startTime() {\n if (!isRunning) {\n timer = new Timer();\n clock = new Clock();\n timer.scheduleAtFixedRate(clock,0,1000);\n isRunning = true;\n }\n }",
"@Override\n\tpublic void run() {\n\t\ttry {\n\t\t\tThread.sleep(this.timerTime);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthis.timerFinished = true;\n\t}",
"public void start(){\n\n stopWatchStartTimeNanoSecs = magicBean.getCurrentThreadCpuTime();\n\n }",
"@Override\n public void run() {\n if (!started) {\n timerTxt.setText(\"00:00:00\");\n }\n else {\n long currentTime = System.currentTimeMillis() - startTime;\n updateTime = currentTime;\n int secs = (int) (updateTime / 1000);\n int mins = secs / 60;\n int hours = mins / 60;\n secs %= 60;\n timerTxt.setText(\"\" + String.format(\"%02d\", hours) + \":\" + String.format(\"%02d\", mins) + \":\" + String.format(\"%02d\", secs), TextView.BufferType.EDITABLE);\n handler.post(this);\n }\n }",
"private void TimerMethod() {\n this.runOnUiThread(Timer_Tick);\n }",
"public abstract void startInitTimer();",
"private void trackerTimer() {\n\n Thread timer;\n timer = new Thread() {\n\n @Override\n public void run() {\n while (true) {\n\n if (Var.timerStart) {\n try {\n Var.sec++;\n if (Var.sec == 59) {\n Var.sec = 0;\n Var.minutes++;\n }\n if (Var.minutes == 59) {\n Var.minutes = 0;\n Var.hours++;\n }\n Thread.sleep(1000);\n } catch (Exception cool) {\n System.out.println(cool.getMessage());\n }\n\n }\n timerText.setText(Var.hours + \":\" + Var.minutes + \":\" + Var.sec);\n }\n\n }\n };\n\n timer.start();\n }",
"public void start() {\n this.leftover = 0L;\n this.lastTick = System.nanoTime();\n if (stopped.getAndSet(false)) {\n startThread();\n }\n }",
"public void StartTimer() {\n\t\tCount = new Timer();\n\t}",
"protected void onThreadStart() {\n\t\tparent.startLock.countDown();\n\t\t//wait for all other threads ready\n\t\ttry {\n\t\t\tparent.startLock.await();\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthreadStartTime = new Date();\n\t}",
"private void startUpdateTimer() {\n\t\tif (completionUpdateTimer == null) {\n\t\t\tcompletionUpdateTimer = new Timer(UPDATE_TIMER_NAME);\n\n\t\t\tscheduleUpdateTimer();\n\t\t}\n\t}",
"synchronized void start()\n {\n if ( _log.isLoggable( Level.FINE ) )\n _log.fine(\n _worker.getName() +\n \":start:\" +\n _countdownValue );\n\t\tif (_countdownValue == 0 )\n\t\t\treturn;\n _clock.reschedule();\n }",
"public void start(){\n\t\tthis.lastUpdate = System.currentTimeMillis();\n\t\tthis.millisIntoFrame=0;\n\t\tthis.currentFrame=0;\n\t}",
"public synchronized void start() {\n // For max accuracy, reset oldTime to really reflect how much\n // time will have passed since we wanted to start the updating\n oldTime = System.nanoTime();\n updateGameDataAtSlowRate();\n }",
"public final void start(){\n cpt = 0;\n inProgress = true;\n init();\n UpdateableManager.addToUpdate(this);\n }",
"@Override\n\t\tpublic void run() {\n\t\t\tLOGGER.log(Level.INFO, \"Timer started\");\n\t\t\ttry {\n\t\t\t\tThread.sleep(TIMEOUT);\n\t\t\t\tif (gameCanStart()) {\n\t\t\t\t\tstartNewGame(players);\n\t\t\t\t} else {\n\t\t\t\t\tLOGGER.log(Level.INFO, \"No players available right now...\");\n\t\t\t\t}\n\t\t\t\tLOGGER.log(Level.INFO, \"Timer stopped\");\n\t\t\t\tactiveConnections = 0;\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// Non fa nulla, può essere interrotto\n\t\t\t\tLOGGER.log(Level.INFO, \"Timer interrupted\", e);\n\t\t\t}\n\t\t}",
"public void startTiming() {\n elapsedTime = 0;\n startTime = System.currentTimeMillis();\n }",
"private Timer() {\n myThread = new TimerThread();\n myThread.start();\n }",
"public Tick() {\n\t\tthis.start = System.currentTimeMillis();\n\t\tthis.last = start;\n\t}",
"public void start() {\n ActionListener listener = new TimePrinter();\n Timer t = new Timer(interval, listener);\n t.start();\n }",
"public void setTimer() {\n\t\t\n\t}",
"private AppTimer() {\n\t\tstart();\n\t}",
"@Override public void start() {\n timer_.reset();\n\n resetControlVariables(); // need reset all key counters bcz they are used in init_loop()\n }",
"public UpdateTimer()\n\t\t{\n\t\t\tsuper(delayTime, null);\n\t\t\t\n\t\t\taddActionListener(this);\n\t\t}",
"public void startTimer()\n {\n\n timeVal = 0;\n timer = new Timer();\n\n timer.scheduleAtFixedRate(new TimerTask() {\n @Override\n public void run() {\n timeVal++;\n timeText.setText(\"Time: \" + timeVal);\n }\n }, 0, 1000);\n }",
"public void Start(long startTime){\n // Your code here\n this.startTime = startTime;\n Thread t = new Thread(this);\n t.start();\n //run();\n }",
"public void run() {\r\n\t\t// Get current date/time and format it for output\r\n\t\tDate date = new Date();\r\n\t\tSimpleDateFormat format = \r\n\t\t\tnew SimpleDateFormat(\"dd.mm.yyyy hh:mm:ss\");\r\n\t\tString current_time = format.format(date);\r\n\r\n\t\t// Output to user the name of the objecet and the current \r\n\t\t// time\r\n\t\tSystem.out.println(objectName + \" - Current time: \" + \r\n\t\t\t\tcurrent_time);\r\n\t\t\r\n\t\t// notify each observer of timer expiry\r\n\t\tnotifyObservers();\r\n\t}",
"public void startTime() {\n\t\tthis.clock.start();\n\t}",
"private void startTimer() {\n\t\ttimer = new Timer();\n\t\ttimer.scheduleAtFixedRate(new TimerTask() {\n\t\t\tint currTime = 0;\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tjavafx.application.Platform.runLater(new Runnable () {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tcurrTime++;\n\t\t\t\t\t\ttimerLabel.setText(\"Time: \" + currTime);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, 1000, 1000);\n\t}",
"public void run()\r\n {\n \tm_Handler.sendEmptyMessage(JMSG_TIMER);\r\n }",
"@Override\n public void run() {\n if (timerValidFlag)\n gSeconds++;\n Message message = new Message();\n message.what = 1;\n handler.sendMessage(message);\n }",
"public void updateTimer() {\n this.machineCounter.setTimerValue(Config.MACHINE_TIMER);\n }",
"public void startTimer() {\n\t\ttimer.start();\n\t}",
"protected void setupTime() {\n this.start = System.currentTimeMillis();\n }",
"public void onStarted(long startedTime);",
"public void tick()\r\n\t{\r\n\t\tduration = (int) (((Sys.getTime() - lastCall) * resolution) / Sys\r\n\t\t\t\t.getTimerResolution());\r\n\t\tlastCall = Sys.getTime();\r\n\t}",
"@Override\n public void threadStarted() {\n }",
"void startUpdate();",
"@Override\n public void startThread() {\n Log.d(TAG, \"Starting \" + getName() + \" thread!\");\n if (!started)\n start();\n running = enabled;\n doStartAction();\n }",
"@Override\n protected void initialize() {\n startT = Timer.getFPGATimestamp();\n }",
"@Override\n protected void Start() {\n }",
"@Override\n public synchronized void start()\n {\n if (run)\n return;\n run = true;\n super.start();\n }",
"@Override\n protected void onResume() {\n super.onResume();\n System.out.println(\"start: \" + boardManager.getLastTime());\n startTimer(boardManager.getLastTime());\n }",
"public GameTimer()\n \t{\n \t\tsuper();\n \t\tt = new Task();\n \t\tscheduleAtFixedRate( t, 0, 1000 );\n \t\tstartTime = System.currentTimeMillis();\n \t}",
"@Override\npublic void autonomousInit() {\n m_timer.reset();\n m_timer.start();\n}",
"public void tick(){\r\n if(timer != 0)\r\n timer++;\r\n }",
"public void run()\r\n {\r\n debug(\"WatchListMonitorTask::run()\");\r\n if ( lastUpdate == null )\r\n {\r\n debug(\"WatchListMonitorTask::run() - Last Update is null\");\r\n return;\r\n }\r\n // Get the current time\r\n GregorianCalendar t1 = new GregorianCalendar();\r\n // Get the Displayed Tab index\r\n int index = WatchListTableModule.this.tabPane.getSelectedIndex();\r\n // calculate the time difference from the last time\r\n long diffTime = t1.getTimeInMillis() - lastUpdate.getTimeInMillis();\r\n // Is the panel even displayed???\r\n boolean moduleDisplayed = WatchListTableModule.this.getModulePanel().isShowing();\r\n\r\n if ((diffTime >= MAX_WAIT_TIME) && (moduleDisplayed))\r\n {\r\n System.out.println(\"WatchListMonitorTask::run() - Fired a startupOnWatchListTimers on Index\" + index);\r\n WatchListTableModule.this.startupWatchListTimers(index);\r\n }\r\n }",
"@Override\n public void run() {\n textTimer.setText(String.valueOf(currentTime));\n }",
"public synchronized void start()\r\n/* 62: */ {\r\n/* 63:185 */ if (this.monitorActive) {\r\n/* 64:186 */ return;\r\n/* 65: */ }\r\n/* 66:188 */ this.lastTime.set(milliSecondFromNano());\r\n/* 67:189 */ long localCheckInterval = this.checkInterval.get();\r\n/* 68:191 */ if ((localCheckInterval > 0L) && (this.executor != null))\r\n/* 69: */ {\r\n/* 70:192 */ this.monitorActive = true;\r\n/* 71:193 */ this.monitor = new TrafficMonitoringTask(null);\r\n/* 72: */ \r\n/* 73:195 */ this.scheduledFuture = this.executor.schedule(this.monitor, localCheckInterval, TimeUnit.MILLISECONDS);\r\n/* 74: */ }\r\n/* 75: */ }",
"private void startTimer(int startValue) {\n counts = startValue;\n timerTask = new TimerTask() {\n @Override\n public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n counts++;\n TextView score = (TextView) findViewById(R.id.Score);\n score.setText(\"Time: \"+counts);\n boardManager.setLastTime(counts);\n saveToFile(\"save_file_\" +\n Board.NUM_COLS + \"_\" + LoginActivity.currentUser);\n }\n });\n }\n };\n timer.scheduleAtFixedRate(timerTask, new Date(), 1000);\n }",
"public void startTimer() {\n\n if(mTimer == null) {\n mTimer = new Timer();\n }\n\n mElapsedTime = 0;\n mTimer.scheduleAtFixedRate(new TimerTask() {\n\n public void run() {\n mElapsedTime += 1; //increase every sec\n mTimerHandler.obtainMessage(TimerHandler.INCREASE_TIMER).sendToTarget();\n if (mLiveVideoBroadcaster == null || !mLiveVideoBroadcaster.isConnected()) {\n mTimerHandler.obtainMessage(TimerHandler.CONNECTION_LOST).sendToTarget();\n }\n }\n }, 0, 1000);\n }",
"private void setNewTimer() {\n if (!isSetNewTimerThreadEnabled) {\n return;\n }\n\n timer = new Timer();\n timer.scheduleAtFixedRate(new TimerTask() {\n\n @Override\n public void run() {\n // Send the message to the handler to update the UI of the GameView\n GameActivity.this.handler.sendEmptyMessage(UPDATE);\n\n // For garbage collection\n System.gc();\n }\n\n }, 0, 17);\n }",
"public void startUpdate(){ \n stimer.getTimer().scheduleAtFixedRate(new TimerTask()\n {\n @Override\n public void run(){updateShareRates();}\n }, 2000, 1000);\n }",
"@Override\n public void start() {\n runTime.reset();\n telemetry.addData(\"Run Time\", \"reset\");\n }",
"public void updateTimer(){\n\t\tif(timer.isRunning()){ \n\t\t\ttimer.stop();\n\t\t\tmakeTimer();\n\t\t\ttimer.start();\n\t\t}else{\n\t\t\tmakeTimer();\n\t\t}\n\t}",
"public void start(){\n handler = new Handler(Looper.getMainLooper());\n handler.postDelayed(this, PERIOD);\n }",
"@Override\n public void startGame() {\n timer.scheduleAtFixedRate(new TimerTask() {\n @Override\n public void run() {\n update();\n }\n }, 0, 2);\n }",
"void start() \r\n {\r\n while (controller.clock <= controller.totalBurstTime) {\r\n this.clock();\r\n }\r\n }",
"public void start() {\n\t\ttry {\n\t\t\t_timer.cancel();\n\t\t} catch (Exception e) {\n\t\t\t// Attempting to stop just in case, so this isn't a problem.\n\t\t}\n\t\t_timer = new Timer();\n\t\ttry {\n\t\t\t_timer.schedule(getTask(), TIME, TIME);\n\t\t} catch (IllegalStateException e) {\n\t\t\tstop();\n\t\t\tstart(); // Redo method if it was already running before.\n\t\t}\n\t}",
"private void scheduleUpdateTimer() {\n\t\tassert completionUpdateTimer == null : \"Timer object was created\";\n\n\t\tfinal TimerTask timerTask = new TimerTask() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tif (deviceUnderDisplay != null) {\n\t\t\t\t\tfinal int timeToFinish = deviceUnderDisplay.getDriver()\n\t\t\t\t\t\t\t.getTimeToCompletion();\n\t\t\t\t\tif (timeToFinish > 0) {\n\t\t\t\t\t\tif (isInforming) {\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * Inform elapsed time\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\treportTime(DeviceUI.ReportKind.FINISHING,\n\t\t\t\t\t\t\t\t\ttimeToFinish);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * We are starting.\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\treportTime(DeviceUI.ReportKind.STARTING,\n\t\t\t\t\t\t\t\t\ttimeToFinish);\n\t\t\t\t\t\t\tisInforming = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (isInforming) {\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * The task has just finished\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\treportTime(DeviceUI.ReportKind.FINISHING, 0);\n\t\t\t\t\t\t\tisInforming = false;\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\n\t\tcompletionUpdateTimer.scheduleAtFixedRate(timerTask, 0,\n\t\t\t\tUPDATE_TIMER_REFRESH_RATE);\n\t}",
"public abstract void startLoadTimer();",
"private void startTime() {\n Task<Void> task = new Task<Void>() {\n @Override\n protected Void call() throws Exception {\n while (player.getCurrentTime().lessThanOrEqualTo(player.getStopTime()) && player.getStatus() != Status.PAUSED) {\n if (player.getStatus() == Status.STOPPED) {\n eventBus.emit(new CurrentTimeEvent(0, Duration.ZERO));\n cancel();\n }\n // Convert the current time to a percentage\n double timePercentage = player.getCurrentTime().toSeconds() / player.getStopTime().toSeconds();\n // Get the current time as a Duration\n Duration timeDuration = player.getCurrentTime();\n eventBus.emit(new CurrentTimeEvent(timePercentage, timeDuration));\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n cancel();\n }\n }\n return null;\n }\n };\n\n timeThread = new Thread(task);\n timeThread.setDaemon(true);\n timeThread.start();\n }",
"public static long startTimer() {\n return System.currentTimeMillis();\n }",
"private void startTimer() {\n\n //call renewWord function once the timer is on\n renewWord();\n countDownTimer = new MyCountDown(totalTimeCountInMilliseconds, 50);\n countDownTimer.start();\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\tLog.e(\"timer\",\"calling\");\n\t\t\t\tMessage message = mHandler.obtainMessage();\n\t\t\t\tmessage.sendToTarget();\n\n\t\t\t}",
"private void startTimer(){\n scoreboard.disableStart(true);\n timer.scheduleAtFixedRate(new TimerTask(){\n @Override\n public void run(){\n Platform.runLater(new Runnable(){\n @Override\n public void run() {\n scoreboard.updateTime();\n }\n });\n }\n },0,1000);\n }",
"void startGameTimer()\n {\n Timer.destroyTimer(\"starting_game_timer\");\n Timer timer = Timer.createTimer(\"starting_game_timer\", startTimerSeconds);\n timer.addTimerListener(this);\n timer.start();\n }",
"public void start() {\r\n\t\tisRunning = true;\r\n\t\tnew Thread(this).start();\r\n\t}",
"public void startTimer() {\n timer = new Timer();\n //initialize the TimerTask's job\n initializeTimerTask();\n //schedule the timer, to wake up every 1 second\n timer.schedule(timerTask, 1000, 1000); //\n }",
"@Override\r\n public void update(long timePassed) {\n\r\n }",
"@Override\r\n\t\tpublic void run() {\n\t\t\tSystem.out.println(\"updateThread\");\r\n\t\t\thandler.postDelayed(updateThread, 3000);\r\n\t\t}",
"public Timer start() {\r\n timestamp = System.currentTimeMillis();\r\n return this;\r\n }",
"@Override\n public void Start() {\n\n }",
"@Override\n public void Start() {\n\n }",
"@Override\n public void Start() {\n\n }",
"protected void initialize() {\n \ttimer.start();\n }",
"private void startTimerAfterCountDown() {\n \t\thandler = new Handler();\n \t\tprepareTimeCountingHandler();\n \t\thandler.post(new CounterRunnable(COUNT_DOWN_TIME));\n \t}",
"public void run()\n\t\t{\n\t\t\ttimerRunning = true;\n\t\t\tdate = new Date();\n\t\t\tstartTime = date.getTime();\n\t\t\tendTime = startTime + planet.getTimeMS();\n\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: \" + planet.getTimeMS()/1000 + \" s\");\n\n\t\t\twhile(timerRunning)\n\t\t\t{\n\t\t\t\tdate = new Date();\n\t\t\t\tnowTime = date.getTime();\n\n\t\t\t\t// If the countdown has reached 0 (or less)\n\t\t\t\t// Stop the timer and other threads and end the game\n\t\t\t\tif(nowTime >= endTime)\n\t\t\t\t{\n\t\t\t\t\tstopTimer();\n\t\t\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: 0 s\");\n\t\t\t\t\tstopThreads();\n\t\t\t\t\tJOptionPane.showMessageDialog(lander,\"Sorry, you ran out of time.\\nGame Over!\", \"Ran Out Of Time\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t\tendGame();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tbuttonPanel.getTimeLabel().setText(\"Time: \" + (endTime-nowTime)/1000 + \" s\");\n\t\t\t\t}\n\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t}\n\t\t\t\tcatch (InterruptedException e) {}\n\t\t\t}\n\t\t}"
] | [
"0.75757545",
"0.75474846",
"0.738636",
"0.7304239",
"0.7290035",
"0.7265539",
"0.7238994",
"0.7166844",
"0.70824885",
"0.70603853",
"0.7060068",
"0.70079774",
"0.70061916",
"0.70060486",
"0.6981716",
"0.69644314",
"0.694213",
"0.69407994",
"0.6926379",
"0.6906513",
"0.6902263",
"0.68763244",
"0.6859672",
"0.6847305",
"0.684727",
"0.6837722",
"0.6810038",
"0.680454",
"0.6767983",
"0.67635983",
"0.67620814",
"0.6759082",
"0.67585176",
"0.67521065",
"0.67402023",
"0.6730926",
"0.6728024",
"0.6723898",
"0.66711575",
"0.66554266",
"0.664999",
"0.6647008",
"0.6617315",
"0.66065675",
"0.66025317",
"0.659616",
"0.6592453",
"0.6572769",
"0.6562424",
"0.65615463",
"0.6556542",
"0.6504545",
"0.6494687",
"0.6488084",
"0.6486727",
"0.64836067",
"0.64673775",
"0.645622",
"0.645309",
"0.6444748",
"0.64212966",
"0.6418571",
"0.6411528",
"0.640941",
"0.64079356",
"0.64043844",
"0.63937473",
"0.6389771",
"0.6384152",
"0.63780546",
"0.6376717",
"0.6373109",
"0.6363142",
"0.63612473",
"0.63402945",
"0.63347507",
"0.63344055",
"0.6321321",
"0.631718",
"0.6315743",
"0.6300716",
"0.6290967",
"0.62892866",
"0.6276866",
"0.62667376",
"0.6264763",
"0.62471026",
"0.62467945",
"0.624177",
"0.6235694",
"0.6234071",
"0.62320197",
"0.6224421",
"0.62235785",
"0.6221339",
"0.6221339",
"0.6221339",
"0.6217804",
"0.6214514",
"0.6214336"
] | 0.66413754 | 42 |
Allow caller to set seconds of the timer. Added to allow Timer class to reset timer to zero. | public boolean setSeconds(int seconds)
{
this.seconds = seconds;
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTimer(int timer) {\n this.timer = timer;\n }",
"public void setTimer() {\n\t\t\n\t}",
"public void setTimer(long ms) {\r\n\t\tthis.timer = ms;\r\n\t}",
"Timer(int tempTotalTime) {\n totalTime = tempTotalTime;\n }",
"public void resetTimer(){\n timerStarted = 0;\n }",
"public final native double setSeconds(int seconds) /*-{\n this.setSeconds(seconds);\n return this.getTime();\n }-*/;",
"public void setSeconds(double seconds) {\n this.seconds = seconds;\n }",
"public void setSeconds(double seconds) {\n this.seconds = seconds;\n }",
"public void setIncTimeout(int seconds);",
"public void timer() \r\n\t{\r\n\t\tSeconds.tick();\r\n\t \r\n\t if (Seconds.getValue() == 0) \r\n\t {\r\n\t \tMinutes.tick();\r\n\t \r\n\t \tif (Minutes.getValue() == 0)\r\n\t \t{\r\n\t \t\tHours.tick();\r\n\t \t\t\r\n\t \t\tif(Hours.getValue() == 0)\r\n\t \t\t{\r\n\t \t\t\tHours.tick();\r\n\t \t\t}\r\n\t \t}\r\n\t }\t\t\r\n\t \r\n\t updateTime();\r\n\t }",
"public final native double setSeconds(int seconds, int millis) /*-{\n this.setSeconds(seconds, millis);\n return this.getTime();\n }-*/;",
"void setSeconds(int seconds) {\n this.seconds = seconds;\n notifyObservers();\n }",
"private float resetTimer() {\r\n final float COUNTDOWNTIME = 10;\r\n return COUNTDOWNTIME;\r\n }",
"public FormatTimerValues(int seconds) {\r\n this.seconds = seconds;\r\n }",
"public void setTotalTimer(int totalSec){\r\n\t\tFlashBuddyTimerActivity.totalSec = totalSec;\r\n\t}",
"public void setSecond(int second) \n { \n if (second < 0 || second >= 60)\n throw new IllegalArgumentException(\"second must be 0-59\");\n\n this.second = second; \n }",
"private void resetTime()\n {\n timer.stop();\n timeDisplay.setText(ZERO_TIME);\n time = 0.0;\n }",
"public void timer()\n {\n timer += .1; \n }",
"@Override\n\tpublic void setTimer(Double d) {\n\t\t\n\t}",
"public void SetTimeRemaining(int value) {\n Timer = value;\n if (Timer > TimerMax)\n {\n Timer = TimerMax;\n }\n }",
"private void setTimer() {\r\n timer = new Timer(TIMER_DELAY, new ActionListener() {\r\n public void actionPerformed(ActionEvent ae) {\r\n action();\r\n }\r\n });\r\n }",
"public void setTime(int mins, int sec){\r\n this.Minutes = mins;\r\n this.Seconds = sec;\r\n }",
"public Timer() {\n\t\tthis.start = 0L;\n\t\tthis.end = 0L;\n\t}",
"public void resetTimer() {\n\t\tsetStartingTime(System.currentTimeMillis());\t\n\t\tthis.progressBar.setForeground(Color.black);\n\t\tlogger.fine(\"Set normal timer with data: \" + this.toString());\n\n\t}",
"private void restartTimer() {\r\n\t\tthis.timer.restart();\r\n\t\tthis.countdown.restart();\r\n\t\tthis.controlView.setTimerSeconds(10);\r\n\t}",
"protected void setInterval(int seconds) {\n interval = seconds * 1000L;\n }",
"public void setDelayedTimeout(int seconds);",
"public void setTimeSeconds(float aTime) { setTime(Math.round(aTime*1000)); }",
"private void trackerTimer() {\n\n Thread timer;\n timer = new Thread() {\n\n @Override\n public void run() {\n while (true) {\n\n if (Var.timerStart) {\n try {\n Var.sec++;\n if (Var.sec == 59) {\n Var.sec = 0;\n Var.minutes++;\n }\n if (Var.minutes == 59) {\n Var.minutes = 0;\n Var.hours++;\n }\n Thread.sleep(1000);\n } catch (Exception cool) {\n System.out.println(cool.getMessage());\n }\n\n }\n timerText.setText(Var.hours + \":\" + Var.minutes + \":\" + Var.sec);\n }\n\n }\n };\n\n timer.start();\n }",
"public void StartTimer() {\n\t\tCount = new Timer();\n\t}",
"public void resetTimer() {\n button.setText(\"Notify Me!\");\n timerSeekBar.setProgress(60);\n timerSeekBar.setEnabled(true);\n timerText.setText(\"1:00\");\n counter.cancel();\n counterActive = false;\n }",
"public void setAutoLockTime(int seconds)\n {\n if(seconds >= 59 && seconds <= 7200)\n m_iAutoLockTime = seconds;\n }",
"private void resetTimer() {\n\t\tif (null != getTimer()) {\n\t\t\tthis.getTimer().cancel();\n\t\t\tthis.getTimer().purge();\n\t\t\tthis.setTimer(null);\n\t\t}\n\t\tthis.setTimer(new Timer());\n\t}",
"public void startTimer()\n {\n\n timeVal = 0;\n timer = new Timer();\n\n timer.scheduleAtFixedRate(new TimerTask() {\n @Override\n public void run() {\n timeVal++;\n timeText.setText(\"Time: \" + timeVal);\n }\n }, 0, 1000);\n }",
"@Test\n public void testTotalSeconds(){\n \tCountDownTimer s = new CountDownTimer(2, 45, 15);\n \tassertEquals(CountDownTimer.totalSeconds(s), 9915);\n \t\n \ts = new CountDownTimer();\n \tassertEquals(CountDownTimer.totalSeconds(s), 0);\n \t\n \ts = new CountDownTimer(\"1:00:30\");\n \tassertEquals(CountDownTimer.totalSeconds(s), 3630);\n }",
"public Time4 setSecond( int second ) \r\n { \r\n this.second = \r\n ( second >= 0 && second < 60 ) ? second : 0;\r\n\r\n return this; // enables chaining\r\n }",
"public void setSeconds(final int newSeconds) {\n this.seconds = newSeconds;\n }",
"protected void setDuraction(int seconds) {\n duration = seconds * 1000L;\n }",
"public final native double setUTCSeconds(int seconds) /*-{\n this.setUTCSeconds(seconds);\n return this.getTime();\n }-*/;",
"public abstract void setSecondsPerUpdate(float secs);",
"@Override\n public void referenceClockTime(long value, boolean seconds) {\n }",
"public Time(){\r\n Seconds = 0; \r\n }",
"public void startTimer(){\n timerStarted = System.currentTimeMillis();\n }",
"public synchronized static void resetTime() {\n\t\ttime = 0;\n\t}",
"public Timer()\r\n\t{\r\n\t\tcurrentstate = TIMER_STOP;\r\n\t}",
"public void markAndResetTimer(){\n value += getTime();\n resetTimer();\n }",
"private static void timerTest1() {\n\t\tTimer timer = new Timer();\n\t\ttimer.schedule(new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tSystem.out.println(\"timertest1\");\n\t\t\t\ttimer.cancel();\n\n\t\t\t}\n\t\t}, 2000);\n\n\t}",
"void resetTimeout() {\n timer.cancel();\n timer = getTimer();\n timer.schedule(getTimerTask(), this.timeout);\n }",
"public final native double setUTCSeconds(int seconds, int millis) /*-{\n this.setUTCSeconds(seconds, millis);\n return this.getTime();\n }-*/;",
"@Override\n public final void setCountdown(int newCountdown) {\n }",
"void setTime(final int time);",
"public static void initTimer(){\r\n\t\ttimer = new Timer();\r\n\t timer.scheduleAtFixedRate(new TimerTask() {\r\n\t public void run() {\r\n\t \t//se o player coletar todas os lixos, o tempo para\r\n\t \tif(ScorePanel.getScore() == 100){\r\n\t \t\ttimer.cancel();\r\n\t \t}\r\n\t \t//se o Tempo se esgotar, é game over!!!\r\n\t \telse if (tempo == 0){\r\n\t \t timer.cancel();\r\n \t\tAvatar.noMotion();\r\n \t\t//System.exit(0);\r\n\t }\r\n\t \t//Senão, vai contando\r\n\t \telse{\r\n\t \tlbltimer.setText(\"Tempo: \"+ --tempo);\r\n\t }\r\n\t }\r\n\t\t}, 1000, 1000);\r\n\t}",
"public void resetClick (View view){\n \tstopped = false;\n \t((TextView)findViewById(R.id.timer)).setText(\"00:00:00\"); \t\n }",
"private void startNewTimer(){\n timer.cancel();\n timer = null;\n timesUp();\n timer = new MainGameTimer(this);\n timer.startNewRoundCountDown();\n }",
"public void setTimeoutInterval(int seconds) throws PropertyVetoException {\n // Validate state\n validatePropertyChange(\"timeoutInterval\");\n\n // Validate parms\n if (seconds < 1 || seconds > 3600) {\n Trace.log(Trace.ERROR, \"Number of seconds \" + seconds + \" out of range\");\n throw new ExtendedIllegalArgumentException(\n \"seconds\", ExtendedIllegalArgumentException.RANGE_NOT_VALID);\n }\n\n Integer old = new Integer(timeoutInterval_);\n Integer sec = new Integer(seconds);\n fireVetoableChange(\"timeoutInterval\", old, sec);\n timeoutInterval_ = seconds;\n firePropertyChange(\"timeoutInterval\", old, sec);\n }",
"private void setNewTimer() {\n if (!isSetNewTimerThreadEnabled) {\n return;\n }\n\n timer = new Timer();\n timer.scheduleAtFixedRate(new TimerTask() {\n\n @Override\n public void run() {\n // Send the message to the handler to update the UI of the GameView\n GameActivity.this.handler.sendEmptyMessage(UPDATE);\n\n // For garbage collection\n System.gc();\n }\n\n }, 0, 17);\n }",
"public void setSec(int sec) throws SecondInputException{\n\t\tif ((sec < 0) || (sec > 59))\n\t\t\tthrow new SecondInputException(\"Invalid second\");\n\t\telse\n\t\t\tthis.sec = sec;\n\t}",
"public void start() {timer.start();}",
"private void startCountdown(int Seconds, final TextView tv){\n\n countDownTimer = new CountDownTimer(Seconds* 1000 + 1000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n int seconds = (int) (millisUntilFinished / 1000);\n int minutes = seconds / 60;\n seconds = seconds % 60;\n tv.setText(String.format(\"%01d\", seconds));\n }\n\n public void onFinish() {\n tv.setText(\"0\");\n Toast.makeText(getApplicationContext(), R.string.msgTimeExpired, Toast.LENGTH_LONG).show();\n authReject(tv);\n }\n }.start();\n }",
"public void setInterval(int anInterval)\n{\n // Set interval\n _interval = anInterval;\n \n // If timer present, change interval\n if(_timer!=null)\n _timer.setDelay(_interval);\n}",
"public Timer(long millisecond) {\r\n this.period = millisecond;\r\n reset();\r\n }",
"public void resetTimeLimit();",
"private void incrementShutdownTimer() {\t\r\n\t\tshutdownTime = Calendar.getInstance();\r\n\t\tshutdownTime.add(Calendar.SECOND, TIMEOUT_SECONDS);\r\n\t}",
"public void setIntervalSeconds(long pIntervalSeconds)\n {\n __m_IntervalSeconds = pIntervalSeconds;\n }",
"public void resetTime() {\n\t\ttime_passed = 0l;\n\t}",
"@Override\n public void setSleepTime(int st) {\n this.sleepTime = st;\n\n // notify the update thread so that it can recalculate\n if (updateThread.isRunning())\n updateThread.interrupt();\n }",
"public void setCurrentPlayTime(long playTime) { throw new RuntimeException(\"Stub!\"); }",
"void change(Label elapsedTimer) {\r\n\r\n if (seconds == 60) {\r\n mins++;\r\n seconds = 0;\r\n }\r\n if (mins == 60) {\r\n hours++;\r\n mins = 0;\r\n }\r\n \r\n elapsedTimer.setText(\r\n (((hours / 10) == 0) ? \"0\" : \"\") + hours + \":\"\r\n + (((mins / 10) == 0) ? \"0\" : \"\") + mins + \":\"\r\n + (((seconds / 10) == 0) ? \"0\" : \"\") + seconds++);\r\n\r\n }",
"public synchronized void resetTime() {\n }",
"public void startTimer() {\n startTime = System.currentTimeMillis();\n }",
"public static void ComienzaTimer(){\n timer = System.nanoTime();\n }",
"public void tick(){\r\n if(timer != 0)\r\n timer++;\r\n }",
"public void stop() {timer.stop();}",
"public void updateTimer( int secondsLeft ) {\n int minutes = secondsLeft / 60;\n int seconds = secondsLeft - (minutes * 60);\n\n String secondsString = Integer.toString(seconds);\n\n if(seconds <= 9) {\n secondsString = \"0\" + secondsString;\n }\n\n timerTextView.setText(Integer.toString(minutes) + \":\" + secondsString);\n// getRandomQuestion();\n }",
"private void startTimer() {\n Timer.addTimeout(endTime, this);\n }",
"public static void startTimer() {\n elapsedTime = 0;\r\n timerIsWorking = true;\r\n startTime = System.nanoTime() / 1000000; // ms\r\n }",
"Timer getTimer();",
"private void startTimer(int startValue) {\n counts = startValue;\n timerTask = new TimerTask() {\n @Override\n public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n counts++;\n TextView score = (TextView) findViewById(R.id.Score);\n score.setText(\"Time: \"+counts);\n boardManager.setLastTime(counts);\n saveToFile(\"save_file_\" +\n Board.NUM_COLS + \"_\" + LoginActivity.currentUser);\n }\n });\n }\n };\n timer.scheduleAtFixedRate(timerTask, new Date(), 1000);\n }",
"private void initTimer(){\r\n\t\ttimer = new Timer() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tdisplayNext();\r\n\t\t\t}\r\n\t\t};\r\n\t}",
"void setZeroStart();",
"public void setTime(int t){\r\n\t\t\t\ttime = t;\r\n\t\t\t}",
"public static void stopTimer() {\n timerIsWorking = false;\r\n elapsedTime = 0;\r\n }",
"public void startTimer() {\n timer = new Timer();\n\n //initialize the TimerTask's job\n //initializeTimerTask();\n\n //schedule the timer, after the first 5000ms the TimerTask will run every 10000ms\n timer.schedule(timerTask, 5000, Your_X_SECS * 1000); //\n //timer.schedule(timerTask, 5000,1000); //\n }",
"private void startTimeOut(int seconds){\n\n timeoutTimer = new CountDownTimer(seconds* 1000 + 1000, 1000) {\n\n public void onTick(long millisUntilFinished) {}\n\n public void onFinish() {\n progressDialog.cancel();\n showErrorDialog(getString(R.string.msgNoConnection));\n }\n }.start();\n }",
"public void startTimer() {\n timer = new Timer();\n\n //initialize the TimerTask's job\n initializeTimerTask();\n\n //schedule the timer, after the first 5000ms the TimerTask will run every 10000ms\n timer.schedule(timerTask, 5000, Your_X_SECS * 1000); //\n //timer.schedule(timerTask, 5000,1000); //\n }",
"private void startTimer(){\n timer= new Timer();\r\n task = new TimerTask() {\r\n @Override\r\n public void run() {\r\n waitDuration++;\r\n\r\n timerLabel.setText(Integer.toString(waitDuration));\r\n }\r\n };\r\n timer.scheduleAtFixedRate(task,1000,1000);\r\n }",
"public abstract void startInitTimer();",
"public Timer()\n {\n // initialise instance variables\n startTime = 0;\n bonusTime = 0;\n }",
"public static void resetTime() {\n\t\ttime = TimeUtils.millis();\n\t}",
"@Override\r\n\tpublic void preExcute(long arg0) {\n\t\tstartTime = arg0;\r\n\r\n\t}",
"public void setTime()\n \t{\n \t\tif( !paused )\n \t\t{\n\t \t\tlong playingTime = System.currentTimeMillis() - startTime;\n\t \t\tlong timeLeft = 180000 - playingTime;\n\t \t\tlong min = timeLeft / 60000;\n\t \t\tlong sec = ( timeLeft - ( min * 60000 ) ) / 1000L;\n\t \t\t\n\t \t\tif( timeLeft < 0 )\n\t \t\t{\n\t \t\t\t//Game over!\n\t \t\t\tgameOver();\n\t \t\t\treturn;\n\t \t\t}\n\t \t\t\n\t \t\tString s = \"Time: \";\n\t \t\ts += Integer.toString( (int)min ) + \":\";\n\t \t\tif( sec >= 10 )\n\t \t\t\ts += Integer.toString( (int)sec );\n\t \t\telse\n\t \t\t\ts += \"0\" + Integer.toString( (int)sec );\n\t \t\t\n\t \t\ttimerLabel.setText( s );\n \t\t}\n \t}",
"public int getSeconds(){\r\n return Seconds;\r\n }",
"public Timer() {}",
"@Override\n public void run() {\n sec++;\n if (sec > 9) {\n sec = 0;\n min++;\n }\n timer.setText(String.format(\"%02d\", sec) + \":\" + String.format(\"%02d\", min));\n handler.postDelayed(this, 1000);\n }",
"private void startTime()\n {\n timer.start();\n }",
"public void setDelay(double clock);",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void initializeTimer(){\n logger.trace(\"Sensor/\" + getModel().getId() + \" initialising timer\");\n //create timer\n newTimer = new Timer(true);\n }"
] | [
"0.71645695",
"0.710943",
"0.7082758",
"0.7076419",
"0.7065605",
"0.7020414",
"0.69373375",
"0.69373375",
"0.69260687",
"0.6822222",
"0.6820446",
"0.68094075",
"0.6632781",
"0.6614125",
"0.6612955",
"0.6580217",
"0.65723956",
"0.6569879",
"0.6532785",
"0.65179455",
"0.6488911",
"0.64621997",
"0.64366555",
"0.6432276",
"0.640915",
"0.64009124",
"0.6359496",
"0.6352712",
"0.6347553",
"0.6341122",
"0.63388515",
"0.6338511",
"0.6333408",
"0.633149",
"0.6317229",
"0.63098884",
"0.6307423",
"0.6295727",
"0.62834096",
"0.6276832",
"0.6276062",
"0.62442034",
"0.62313604",
"0.62265164",
"0.62244785",
"0.6198837",
"0.6185655",
"0.6181631",
"0.6178754",
"0.61693645",
"0.6169242",
"0.61533546",
"0.6141841",
"0.61265504",
"0.61210954",
"0.6115237",
"0.61142194",
"0.61008865",
"0.6098197",
"0.6094509",
"0.60819894",
"0.60790515",
"0.6076987",
"0.6071715",
"0.6067218",
"0.6057296",
"0.60559344",
"0.6030442",
"0.60294807",
"0.6026002",
"0.60216343",
"0.6009417",
"0.6001232",
"0.5996804",
"0.5991942",
"0.5988019",
"0.5984574",
"0.596529",
"0.59625053",
"0.5957493",
"0.5952094",
"0.5933227",
"0.5926885",
"0.59222835",
"0.59200466",
"0.59184104",
"0.59157985",
"0.5915479",
"0.5912167",
"0.5910978",
"0.5902351",
"0.5899815",
"0.58992493",
"0.5894805",
"0.58800536",
"0.5876887",
"0.58666813",
"0.58666813",
"0.58666813",
"0.5855441"
] | 0.6211882 | 45 |
Return the number of seconds passed since timer has started. | public int getSecondsPassed()
{
return this.seconds;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getTime(){\n return (timerStarted > 0) ? (int) ((System.currentTimeMillis() - timerStarted) / 1000L) : 0;\n }",
"public long getElapsedTimeSecs() {\n return running ? ((System.currentTimeMillis() - startTime) / 1000) % 60 : 0;\n }",
"public double time() {\n long diff = System.nanoTime() - start;\n double seconds = diff * 0.000000001;\n return seconds;\n }",
"public long getElapsedSeconds() {\n\t\tlong elapsed;\n\t\tif (running) {\n\t\t\telapsed = (System.nanoTime() - startTime);\n\t\t} else {\n\t\t\telapsed = (stopTime - startTime);\n\t\t}\n\t\treturn elapsed / nsPerSs;\n\t}",
"public float getSecondsElapsed() { return _startTime==0? 0 : (System.currentTimeMillis() - _startTime)/1000f; }",
"public static long getElapsedTimeSecs() {\n\t\tlong elapsed;\n\t\tif (running) {\n\t\t\telapsed = ((System.nanoTime() - startTime)/1000000);\n\t\t} else {\n\t\t\telapsed = ((stopTime - startTime)/1000000);\n\t\t}\n\t\treturn elapsed;\n\t}",
"public long getTimeElapsed() {\r\n\t long now = new Date().getTime();\r\n\t long timePassedSinceLastUpdate = now - this.updatedSimTimeAt;\r\n\t return this.pTrialTime + timePassedSinceLastUpdate;\r\n\t}",
"public long getTimeRemaining() {\n int timer = 180000; //3 minutes for the game in milliseconds\n long timeElapsed = System.currentTimeMillis() - startTime;\n long timeRemaining = timer - timeElapsed + bonusTime;\n long timeInSeconds = timeRemaining / 1000;\n long seconds = timeInSeconds % 60;\n long minutes = timeInSeconds / 60;\n if (seconds < 0 || minutes < 0) { //so negative numbers don't show\n seconds = 0;\n minutes = 0;\n }\n return timeInSeconds;\n }",
"public int getSeconds(){\n return (int) (totalSeconds%60);\n }",
"public long getSecondsUntilNextExecutionTime() {\n\t\treturn (getNextExecutionTime().getTime() - System.currentTimeMillis()) / 1000;\n\t\t\n\t}",
"public double getAnimationSeconds()\n\t{\n\t\treturn seconds_passed;\n\t}",
"public float getRemainingTime () {\n\t\treturn duration - timer < 0 ? 0 : duration - timer;\n\t}",
"public int getTotalTime();",
"public long getElapsedTime(){\n long timePassed = endTime - startTime;\n return timePassed;\n }",
"public long timeLeftInSeconds(){\n Date currTime = new Date();\n long diff = hackathonEndTime.getTime() - currTime.getTime();\n long diffSec = diff/1000;\n\n //truncate to show relevant time\n if(diffSec > 34.5*3600){diffSec = (long)(34.5*3600);}\n if(diffSec < 0){diffSec = 0;}\n\n return diffSec;\n }",
"public double getTimeRemaining() {\n\t\treturn (startingTime + duration) - System.currentTimeMillis();\n\t}",
"int getTtiSeconds();",
"public java.lang.Integer getSecondsWatched() {\n return seconds_watched;\n }",
"public long timeElapsed()\n {\n return (System.currentTimeMillis() - this.startTime) / 1000;\n }",
"public java.lang.Integer getSecondsWatched() {\n return seconds_watched;\n }",
"public float getTimeSeconds() { return getTime()/1000f; }",
"public long getTimeTaken();",
"long elapsedTime();",
"public int getSeconds()\n {\n return seconds;\n }",
"public int getduration() {\n\t\tDuration duration = Duration.between(initial_time, current_time);\n\t\treturn (int)duration.getSeconds();\n\t}",
"public static int getTimeSeconds() {\n return Atlantis.getBwapi().getFrameCount() / 30;\n }",
"public long getTotalTime() {\n var timeStarted = getStartTime();\n var timeFinished = getEndTime();\n return timeStarted.until(timeFinished, SECONDS);\n }",
"public static long getElapsedTime() {\n\t\tlong elapsed;\n\t\tif (running) {\n\t\t\telapsed = (System.nanoTime() - startTime);\n\t\t} else {\n\t\t\telapsed = (stopTime - startTime);\n\t\t}\n\t\treturn elapsed;\n\t}",
"protected double getElapsedTime() {\n\t\treturn Utilities.getTime() - startTime;\n\t}",
"public long getElapsedMilliSecond() {\n long elapsed;\n if (running) {\n elapsed = (System.nanoTime() - startTime) / 1000000;\n } else {\n elapsed = (stopTime - startTime) / 1000000;\n }\n return elapsed;\n }",
"static final long getTotalStartedCount()\n {\n synchronized (threadStartLock)\n {\n return totalStartedCnt;\n }\n }",
"public long getElapsedTime()\r\n {\r\n if(isRunning)\r\n {\r\n long endTime = System.currentTimeMillis();\r\n return elapsedTime=endTime-startTime;\r\n }\r\n else\r\n {\r\n return elapsedTime;\r\n }\r\n }",
"public long elapsedTime(){\n\n // calculate elapsed time by getting current CPU time and substracting the CPU time from when we started the stopwatch\n\n // this does not stop the stopwatch\n\n return (magicBean.getCurrentThreadCpuTime() - stopWatchStartTimeNanoSecs);\n\n }",
"public double computeElapsedTime() {\r\n\r\n long now = System.currentTimeMillis();\r\n\r\n elapsedTime = (double) (now - startTime);\r\n\r\n // if elasedTime is invalid, then set it to 0\r\n if (elapsedTime <= 0) {\r\n elapsedTime = (double) 0.0;\r\n }\r\n\r\n return (double) (elapsedTime / 1000.0); // return in seconds!!\r\n }",
"public int getSeconds() {\r\n\t\treturn this.seconds;\r\n\t}",
"public static double getSecondsTime() {\n\t\treturn (TimeUtils.millis() - time) / 1000.0;\n\t}",
"public long getElapsedNanoSecond() {\n long elapsed;\n if (running) {\n elapsed = (System.nanoTime() - startTime);\n } else {\n elapsed = (stopTime - startTime);\n }\n return elapsed;\n }",
"@Override\n\tpublic int existseconds() {\n\t\treturn seconds;\n\t}",
"public int getDuration() {\n\t\treturn (int) ((endTime.getTime()-startTime.getTime())/1000) + 1;\n\t}",
"public void timePassed(double dt) {\n\n }",
"public void timePassed(double dt) {\n\n }",
"public double getSecs( );",
"public double getElapsedTime(){\n double CurrentTime = System.currentTimeMillis();\n double ElapseTime = (CurrentTime - startTime)/1000;\n return ElapseTime;\n }",
"public int getSeconds() {\n return this.seconds;\n }",
"int getRunningDuration();",
"public int getTotalServiceTime() {\n return totalServiceTime;\n }",
"@Override\n public float getTimeInSeconds() {\n return getTime() * INVERSE_TIMER_RESOLUTION;\n }",
"public long getSessionDuration(){\n return (currentTime-startTime)/1000;\n }",
"public long getStatusTimeLeft()\r\n {\r\n long timeLeft = statusTimeout - System.currentTimeMillis();\r\n if ( timeLeft < 0 )\r\n {\r\n timeLeft = 0;\r\n }\r\n return timeLeft;\r\n }",
"public double getElapsedTime() {\r\n return (double) (elapsedTime / 1000.0); // convert from milliseconds to seconds\r\n }",
"public static double ParaTimer(){\n return (System.nanoTime() - timer)/(1000000000.);\n }",
"public void timePassed() { }",
"long getElapsedTime();",
"public double getSeconds() {\n return seconds;\n }",
"public void timePassed(double dt) {\r\n // Currently- nothing\r\n }",
"public int getTotalWaitTime() {\n return totalWaitTime;\n }",
"public double playTimeInSeconds(){\n\t\treturn durationInSeconds;\n\t}",
"public float getTime()\r\n\t{\r\n\t\treturn runningTime;\r\n\t}",
"public long getRemainingTime() {\n if (isPaused()) {\n return pausedPoint;\n }\n long res = (long) ((spedEndTime - SystemClock.elapsedRealtime()) * speed);\n return res > 0 ? res : 0;\n }",
"int time()\n\t{\n\t\treturn totalTick;\n\t}",
"@DISPID(55)\r\n\t// = 0x37. The runtime will prefer the VTID if present\r\n\t@VTID(53)\r\n\tint actualCPUTime_Seconds();",
"public int getSeconds(){\r\n return Seconds;\r\n }",
"public void timePassed() {\r\n }",
"public void timePassed() {\r\n }",
"public long getTimeStarted() {\n\t\treturn _timeStarted;\n\t}",
"public int getTotalRunTime() {\n return totalRunTime;\n }",
"@Override\n\tpublic long getTime() {\n\t\treturn System.nanoTime() - startTime;\n\t}",
"public static long getElapsedTime() {\n long time = System.currentTimeMillis() - START_TIME;\n // long time = System.nanoTime() / 1000000;\n return time;\n }",
"public int totalTime()\n {\n return departureTime - arrivalTime;\n }",
"public int getCountdown() {\r\n\t\treturn this.Countdown;\r\n\t}",
"public int getSeconds() {\r\n return FormatUtils.uint8ToInt(mSeconds);\r\n }",
"public static long getRunningTime(long startTime) {\n return System.currentTimeMillis()-startTime;\n }",
"public void timePassed() {\r\n\r\n }",
"public long getElapsedMs()\n\t{\n\t\tif (m_running)\n\t\t{\n\t\t\tlong systemMs = SystemClock.elapsedRealtime();\n\t\t\treturn m_elapsedMs + (systemMs - m_lastMs);\n\t\t}\n\n\t\treturn m_elapsedMs;\n\t}",
"public int getSecond() {\n return this.timeRuunableThread.getSecond();\n }",
"public double getSeconds() {\n return this.seconds;\n }",
"public static long startTimer() {\n return System.currentTimeMillis();\n }",
"public int getTotalWait() {\n return totalWait;\n }",
"public final native int getSeconds() /*-{\n return this.getSeconds();\n }-*/;",
"public int totalTime(){\n\t\t\n\t\tint time=0;\n\t\t\n\t\n\t\tfor(int i=0; (i<songList.length);i++){\n\t\t\t\n\t\t\tif(songList[i]!=null){\n\t\t\t\n\t\t\ttime+= songList[i].getDuration();\n\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn time;\n\t\t\n\t}",
"public long getElapsedTimeMili() {\n return running ? ((System.currentTimeMillis() - startTime)/100) % 1000 : 0;\n }",
"public double getSystemTimeSec() {\n\treturn getSystemTime() / Math.pow(10, 9);\n}",
"private static float tock(){\n\t\treturn (System.currentTimeMillis() - startTime);\n\t}",
"Integer getStartTimeout();",
"public void timePassed() {\n }",
"public void timePassed() {\n }",
"public static long GetElapsedTime() {\n\t\treturn System.currentTimeMillis() - _lTime;\n\t}",
"public int getTimer() {\n return timer;\n }",
"Double getRemainingTime();",
"public Double waitTimeCalculatior(long start) {\n\t\t\t\tdouble difference = (System.currentTimeMillis() - start);\n\t\t\t\treturn difference;\n\t\t\t}",
"public long getTimeGameStarted() {\n \t\treturn timeGameStarted;\n \t}",
"public static int getNumStarted() {\n return numStarted;\n }",
"@Override\r\n\tpublic int getPlayTimeSeconds() {\r\n\t\treturn this.minutes * 60 + this.seconds;\r\n\t}",
"public double getUserTimeSec() {\n\treturn getUserTime() / Math.pow(10, 9);\n}",
"public int getUpSeconds() {\n return (int)((_uptime % 60000) / 1000);\n }",
"public abstract float getSecondsPerUpdate();",
"public long sinceStart() {\n return System.currentTimeMillis() - lastStart;\n }",
"public float getCurrentTime () {\n\t\treturn timer;\n\t}",
"@Test\n public void testTotalSeconds(){\n \tCountDownTimer s = new CountDownTimer(2, 45, 15);\n \tassertEquals(CountDownTimer.totalSeconds(s), 9915);\n \t\n \ts = new CountDownTimer();\n \tassertEquals(CountDownTimer.totalSeconds(s), 0);\n \t\n \ts = new CountDownTimer(\"1:00:30\");\n \tassertEquals(CountDownTimer.totalSeconds(s), 3630);\n }",
"public long getRemainingTime() {\n return (maxTime_ * 1000L)\n - (System.currentTimeMillis() - startTime_);\n }"
] | [
"0.7777528",
"0.7344664",
"0.73322165",
"0.7317107",
"0.72699296",
"0.70499843",
"0.69751614",
"0.690311",
"0.69030756",
"0.68267274",
"0.68261725",
"0.67645884",
"0.6761843",
"0.67585975",
"0.6754158",
"0.6750615",
"0.6746656",
"0.6706473",
"0.6700753",
"0.6698596",
"0.6691833",
"0.6689497",
"0.66713315",
"0.666821",
"0.6648286",
"0.6635143",
"0.6625891",
"0.66095483",
"0.65974575",
"0.6551885",
"0.65510005",
"0.6550211",
"0.65499973",
"0.65479124",
"0.6540782",
"0.6536336",
"0.6507177",
"0.65003574",
"0.6490523",
"0.6451087",
"0.6451087",
"0.64369255",
"0.6436076",
"0.6383973",
"0.63837206",
"0.63670677",
"0.63666683",
"0.63622457",
"0.6357964",
"0.6328252",
"0.63179356",
"0.63172835",
"0.6287293",
"0.6280769",
"0.62744504",
"0.62723726",
"0.6270999",
"0.62594277",
"0.6249172",
"0.6217616",
"0.6216981",
"0.62049747",
"0.6198811",
"0.6198811",
"0.61870724",
"0.61807835",
"0.61771774",
"0.6177145",
"0.617699",
"0.61715627",
"0.6170365",
"0.616282",
"0.6160699",
"0.6153928",
"0.6147779",
"0.6143083",
"0.61412936",
"0.6131834",
"0.6110796",
"0.61088073",
"0.61088026",
"0.61083573",
"0.61030126",
"0.6092048",
"0.60891753",
"0.60891753",
"0.6079595",
"0.6078857",
"0.60784477",
"0.60776263",
"0.6077266",
"0.6077232",
"0.60763514",
"0.60738164",
"0.6073403",
"0.6072538",
"0.606086",
"0.6059869",
"0.6047683",
"0.6046292"
] | 0.78558046 | 0 |
Format and return a String that can be used to set the Timer's JLabel text. The format of the timer is "MM:ss" where "M" represents the minutes and "s" represents the seconds passed since timer start. | private String getFormattedTime(int totalElapsedSeconds)
{
int minutes = totalElapsedSeconds / 60;
int seconds = totalElapsedSeconds - (minutes * 60);
String timerText = String.format("%02d", minutes)
+ ":" + String.format("%02d", seconds);
return timerText;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String formatTime(int seconds){\n return String.format(\"%02d:%02d\", seconds / 60, seconds % 60);\n }",
"public String toString(){\r\n String strout = \"\";\r\n strout = String.format(\"%02d:%02d\", this.getMinutes(), this.getSeconds());\r\n return strout;\r\n }",
"public static String formatSeconds(int seconds) {\n SimpleDateFormat sf = new SimpleDateFormat(\"m:ss\");\n Date date = new Date(seconds*1000);\n return sf.format(date);\n }",
"public static String timeAsLabelStr(long totalTime) {\n long second = totalTime / 1000 % 60;\n long minute = totalTime / (1000 * 60) % 60;\n long hour = totalTime / (1000 * 60 * 60);\n\n // build string (checking for zeroes)\n String str = String.format(\"%d sec\", second);\n if (minute > 0) str = String.format(\"%d min \", minute) + str;\n if (hour > 0) str = String.format(\"%d hrs \", hour) + str;\n\n return str;\n }",
"public String formatTime() {\n if ((myGameTicks / 16) + 1 != myOldGameTicks) {\n myTimeString = \"\";\n myOldGameTicks = (myGameTicks / 16) + 1;\n int smallPart = myOldGameTicks % 60;\n int bigPart = myOldGameTicks / 60;\n myTimeString += bigPart + \":\";\n if (smallPart / 10 < 1) {\n myTimeString += \"0\";\n }\n myTimeString += smallPart;\n }\n return (myTimeString);\n }",
"public static String format(double seconds) {\r\n return format(seconds, \"%h2:%m2:%s\", (int)3);\r\n }",
"private void updateCountdownText() {\r\n int minutes = (int) (timeLeftInMillis / 1000) / 60;\r\n int seconds = (int) (timeLeftInMillis / 1000) % 60;\r\n\r\n String timeFormatted = String.format(Locale.getDefault(), \"%02d:%02d\", minutes, seconds);\r\n\r\n mTimer.setText(timeFormatted);\r\n }",
"public static String getWorkTimeSecondsInFormattedString(long seconds) {\r\n int totalMinutos = (int) (seconds/60);\r\n int totalHoras = totalMinutos / 60;\r\n int restoMinutos = totalMinutos % 60;\r\n int restoSegundos = (int) (seconds % 60);\r\n\r\n return (totalHoras + \":\" + restoMinutos + \":\" + restoSegundos);\r\n\r\n }",
"public static String formatTime(final long ms){\n long s = ms / 1000, m = s / 60, h = m / 60;\n s %= 60; m %= 60; h %= 24;\n return String.format(\"%02d:%02d:%02d\", h, m, s);\n }",
"public static String format(long seconds) {\n\t\tlong minutes = seconds / SECONDS_PER_MINUTE;\n\t\tlong hours = 0;\n\t\tif (minutes > MINUTES_PER_HOUR) {\n\t\t\thours = minutes / MINUTES_PER_HOUR;\n\t\t\tminutes = minutes % MINUTES_PER_HOUR;\n\t\t}\n\t\tseconds = seconds % SECONDS_PER_MINUTE;\n\t\treturn doFormat(hours, minutes, seconds);\n\t}",
"public void setTimerTextLabel(String s) {\r\n labeltimer.setText(s);\r\n }",
"public static String showTime(long ms)\n {\n long minutes = ms/1000/60;\n long seconds = (ms - 1000*60*minutes)/1000;\n long millis = ms % 1000;\n return minutes + \"m \" + seconds + \"s \" + millis +\"ms\";\n }",
"public String timeToString() {\n\t\tString start = \"\";\n\t\tString hmSep = \":\";\n\t\tString msSep = \":\";\n\t\tif (hour < 10)\n\t\t\tstart = new String(\"0\");\n\t\tif (minute < 10)\n\t\t\thmSep = new String(\":0\");\n\t\tif (second < 10)\n\t\t\tmsSep = new String(\":0\");\n\t\treturn new String(start\n\t\t\t\t+ hour + hmSep\n\t\t\t\t+ minute + msSep\n\t\t\t\t+ second);\n\t}",
"public String getTimeInString() {\n int minutes = (time % 3600) / 60;\n int seconds = time % 60;\n String timeString = String.format(\"%02d:%02d\", minutes, seconds);\n\n return timeString;\n }",
"public String timeToFormat(int newSecondsTotal){\n String out = \"\";\n int minutes = newSecondsTotal/60;\n int seconds = newSecondsTotal-(minutes*60);\n out = minutes+\":\"+seconds;\n return out;\n }",
"public static String formatTime(int seconds){\n\t\tTimeZone tz = TimeZone.getTimeZone(\"UTC\");\n\t SimpleDateFormat df = new SimpleDateFormat(\"HH:mm:ss\");\n\t df.setTimeZone(tz);\n\t return df.format(new Date((long)(seconds * 1000)));\n\t}",
"private String secondsToMinutesAndSeconds(double seconds) {\n\t\tint numberOfminutes = (int) (seconds / 60);\n\t\tint numberOfSeconds = (int) (seconds % 60);\n\t\tif (numberOfSeconds < 10) {\n\t\t\treturn numberOfminutes + \":0\" + numberOfSeconds;\n\t\t} else {\n\t\t\treturn numberOfminutes + \":\" + numberOfSeconds;\n\t\t}\n\t}",
"public String toString() {\n return String.format(\"%d: %02d: %02d %s\",\n ((hour == 0 || hour == 12) ? 12 :hour % 12 ),\n minutes, seconds, (hour < 12 ? \"AM\" : \"PM\"));\n\n }",
"public static String hoursMinutesSeconds(double t) {\n int hours = (int) t/3600;\n int rem = (int) t - hours*3600;\n int mins = rem / 60;\n int secs = rem - mins*60;\n //return String.format(\"%2d:%02d:%02d\", hours, mins, secs);\n return String.format(\"%d:%02d:%02d\", hours, mins, secs);\n }",
"private void SetTime() {\r\n\t\t timelbl.setText(second/3600+\":\"+((second/60)%60)+\":\"+(second%60));\r\n\t}",
"public static String timeAsString(long totalTime) {\n long second = totalTime / 1000 % 60;\n long minute = totalTime / (1000 * 60) % 60;\n long hour = totalTime / (1000 * 60 * 60);\n\n return String.format(\"%02d:%02d:%02d\", hour, minute, second);\n }",
"private String formatTimeout(long timeout) {\n Date date = new Date(timeout);\n DateFormat formatter = new SimpleDateFormat(\"mm:ss\");\n return formatter.format(date);\n }",
"public String getTimeString() {\n DateFormat format = new SimpleDateFormat(\"HH:mm\");\n return format.format(mDate);\n }",
"void change(Label elapsedTimer) {\r\n\r\n if (seconds == 60) {\r\n mins++;\r\n seconds = 0;\r\n }\r\n if (mins == 60) {\r\n hours++;\r\n mins = 0;\r\n }\r\n \r\n elapsedTimer.setText(\r\n (((hours / 10) == 0) ? \"0\" : \"\") + hours + \":\"\r\n + (((mins / 10) == 0) ? \"0\" : \"\") + mins + \":\"\r\n + (((seconds / 10) == 0) ? \"0\" : \"\") + seconds++);\r\n\r\n }",
"public String durationInMinutesAndSeconds( ){\n\t\t\n\t\tString time = \"\";\n\t\t\n\t\tint duration = totalTime();\n\n\t\tint minutes = 0;\n\n\t\tint seconds = 0;\n\n\t\tminutes = (int) (duration/60);\n\n\t\tseconds = (int) (duration- (minutes*60));\n\n\t\ttime = minutes + \":\" + seconds +\"\";\n\t\treturn time;\n\t\t\n\t}",
"public String getFormattedTimeFromStart() {\r\n if (history.getNumberOfJumpsSoFar() == 0) {\r\n return \"00:00\";\r\n }\r\n\r\n double time = history.getTimeFromStart();\r\n double maxTime = 59.59;\r\n if (time < maxTime) {\r\n return String.format(\"%02d:%02d\", (int) (time % 60), (int) (time * 100 % 100));\r\n } else {\r\n return \"59:59\";\r\n }\r\n }",
"public static String getTimeString(int t) {\n\t\tint hours = t / 3600;\n\t\tint minutes = (t / 60) % 60;\n\t\tint seconds = t % 60;\n\t\treturn (hours < 10 ? \"0\" : \"\")\n\t\t\t+ hours\n\t\t\t+ (minutes < 10 ? \":0\" : \":\")\n\t\t\t+ minutes\n\t\t\t+ (seconds < 10 ? \":0\" : \":\")\n\t\t\t+ seconds;\n\t}",
"public String getTimeString() {\n // Converts slot to the minute it starts in the day\n int slotTimeMins =\n SlopeManagerApplication.OPENING_TIME * 60 + SESSION_LENGTHS_MINS * getSlot();\n\n Calendar cal = Calendar.getInstance();\n cal.set(Calendar.HOUR_OF_DAY, slotTimeMins/60);\n cal.set(Calendar.MINUTE, slotTimeMins % 60);\n cal.set(Calendar.SECOND, 0);\n cal.set(Calendar.MILLISECOND, 0);\n @SuppressLint(\"SimpleDateFormat\") SimpleDateFormat sdf = new SimpleDateFormat(\"HH:mm\");\n return sdf.format(cal.getTime());\n }",
"private static String doFormat(long hours, long minutes, long seconds) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif (hours != 0) {\n\t\t\tsb.append(hours);\n\t\t\tsb.append(\"h\");\n\t\t}\n\t\tif (minutes != 0) {\n\t\t\tsb.append(minutes);\n\t\t\tsb.append(\"m\");\n\t\t}\n\t\tif (seconds != 0 || sb.length() == 0) {\n\t\t\tsb.append(seconds);\n\t\t\tsb.append(\"s\");\n\t\t}\n\t\treturn sb.toString();\n\t}",
"private static String timeConversion(long totalSeconds) {\n\n final int MINUTES_IN_AN_HOUR = 60;\n final int SECONDS_IN_A_MINUTE = 60;\n\n long seconds = totalSeconds % SECONDS_IN_A_MINUTE;\n long totalMinutes = totalSeconds / SECONDS_IN_A_MINUTE;\n long minutes = totalMinutes % MINUTES_IN_AN_HOUR;\n long hours = totalMinutes / MINUTES_IN_AN_HOUR;\n\n StringBuilder time = new StringBuilder();\n time.append(totalSeconds < 0 ? \"-\" : \"\");\n time.append(hours < 10 ? \"0\" : \"\");\n time.append(Math.abs(hours) + \":\");\n time.append(minutes < 10 ? \"0\" : \"\");\n time.append(Math.abs(minutes) + \":\");\n time.append(seconds < 10 ? \"0\" : \"\");\n time.append(Math.abs(seconds));\n\n return time.toString();\n }",
"private String secsToTime(int secs) {\n String min = secs / 60 + \"\";\n String sec = secs % 60 + \"\";\n if(sec.length() == 1) {\n sec = \"0\" + sec;\n }\n\n return min + \":\" + sec;\n }",
"static String timeConversion(String s) throws ParseException {\n SimpleDateFormat to = new SimpleDateFormat(\"HH:mm:ss\");\n SimpleDateFormat from = new SimpleDateFormat(\"hh:mm:ssa\");\n Date parse = from.parse(s);\n return to.format(parse);\n\n }",
"public String secondsToMinutes(int seconds){\n int minutes = 0;\n while(seconds >= 60){\n seconds -= 60;\n minutes++;\n }\n String sec;\n if(seconds < 10){\n sec = \"0\" + seconds;\n }else{\n sec = seconds + \"\";\n }\n String time = minutes + \":\" + sec;\n return time;\n }",
"public static String format( long elapsedMillis ) {\n String s = \"\";\n int hours = (int) ( elapsedMillis / ( 1000 * 60 * 60 ) );\n int minutes = (int) ( ( elapsedMillis % ( 1000 * 60 * 60 ) ) / ( 1000 * 60 ) );\n int seconds = (int) ( ( ( elapsedMillis % ( 1000 * 60 * 60 ) ) % ( 1000 * 60 ) ) / 1000 );\n if ( hours > 0 ) {\n // hours:minutes:seconds\n Object[] args = { ONE_DIGIT_TIME_FORMAT.format( hours ), TWO_DIGIT_TIME_FORMAT.format( minutes ), TWO_DIGIT_TIME_FORMAT.format( seconds ) };\n s = MessageFormat.format( \"{0}:{1}:{2}\", args );\n }\n else {\n // minutes:seconds\n Object[] args = { ONE_DIGIT_TIME_FORMAT.format( minutes ), TWO_DIGIT_TIME_FORMAT.format( seconds ) };\n s = MessageFormat.format( \"{0}:{1}\", args );\n }\n return s;\n }",
"private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsFramePeriodInMs)/1000.0f;\n return new DecimalFormat(\"000.00\").format(fltTime); // String.format(\"%3.1f\", fltTime);\n }",
"private static String format(double elapsedSec) {\n\t\tint elapsedMs = (int) Math.round(elapsedSec * 1000);\n\t\treturn Integer.toString(elapsedMs) + \" ms\";\n\t}",
"private static String timeLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, TIME_STR, TIME);\n }",
"public String milliSecondsToTimer(long milliseconds){\n\t\tString finalTimerString = \"\";\n\t\tString secondsString = \"\";\n\t\t\n\t\t// Convert total duration into time\n\t\t int hours = (int)( milliseconds / (1000*60*60));\n\t\t int minutes = (int)(milliseconds % (1000*60*60)) / (1000*60);\n\t\t int seconds = (int) ((milliseconds % (1000*60*60)) % (1000*60) / 1000);\n\t\t // Add hours if there\n\t\t if(hours > 0){\n\t\t\t finalTimerString = hours + \":\";\n\t\t }\n\t\t \n\t\t // Prepending 0 to seconds if it is one digit\n\t\t if(seconds < 10){ \n\t\t\t secondsString = \"0\" + seconds;\n\t\t }else{\n\t\t\t secondsString = \"\" + seconds;}\n\t\t \n\t\t finalTimerString = finalTimerString + minutes + \":\" + secondsString;\n\t\t\n\t\t// return timer string\n\t\treturn finalTimerString;\n\t}",
"private String formatTime(long ms) {\n String format = String.format(\"%%.%df s\", decimals);\n return String.format(format, ms > 0 ? ms/1000f : 0f);\n }",
"public String manipulateTimeForScore(String mins, String secs) {\n\n\t\tint min = -1;\n\t\tint sec = -1;\n\t\tif (mins != null && mins.trim().length() > 0) {\n\t\t\ttry {\n\t\t\t\tmin = Integer.parseInt(mins);\n\t\t\t} catch (Exception e) {\n\t\t\t\t \n\t\t\t}\n\t\t}\n\t\tif (secs != null && secs.trim().length() > 0) {\n\t\t\ttry {\n\t\t\t\tsec = Integer.parseInt(secs);\n\t\t\t} catch (Exception e) {\n\t\t\t\t \n\t\t\t}\n\t\t}\n\t\tString result = \"\";\n\t\tif (min != -1 && sec != -1) {\n\t\t\tif (min < 10) {\n\t\t\t\tresult = \"0\" + min + \":\";\n\t\t\t} else {\n\t\t\t\tresult = min + \":\";\n\t\t\t}\n\n\t\t\tif (sec < 10) {\n\t\t\t\tresult = result + \"0\" + sec;\n\t\t\t} else {\n\t\t\t\tresult = result + sec;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"private void setTime() {\n \n new Timer(0, new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n Date d=new Date();\n SimpleDateFormat time=new SimpleDateFormat(\"hh:mm:ss a\");\n lblTime.setText(time.format(d));\n }\n }).start();\n \n \n }",
"public void setDuration (int sec) {\n String hoursText = \"\", minutesText = \"\", synthez = \"\";\n\n if (sec < 60) {\n synthez = \"less than one minute\";\n synthez = String.format(TEMPLATE, synthez);\n setText(Html.fromHtml(synthez)+\".\", BufferType.SPANNABLE);\n return;\n }\n\n if (sec >= 3600) {\n hoursText += sec/3600+\" Hour\";\n if (sec/3600 > 1) {\n hoursText+=\"s\";\n }\n hoursText+=\" \";\n }\n if (((sec%3600)/ 60) > 0) {\n minutesText+= ((sec%3600)/ 60)+ \" minute\";\n if (((sec%3600)/ 60 ) > 1) {\n minutesText+=\"s\";\n }\n minutesText+=\" \";\n }\n synthez = hoursText+minutesText;\n synthez = String.format(TEMPLATE, synthez);\n setText(Html.fromHtml(synthez)+\".\", BufferType.SPANNABLE);\n }",
"private String intTime(long l){\r\n String s=\"\";\r\n s+=(char)(((l/1000)/60)+'0')+\":\"+(char)((((l/1000)%60)/10)+'0')+(char)((((l/1000)%60)%10)+'0'); \r\n return s;\r\n }",
"public String getElapsedTimeHoursMinutesSecondsString(int milisec) {\n\t\t int time = milisec/1000;\n\t\t String seconds = Integer.toString((int)(time % 60)); \n\t\t String minutes = Integer.toString((int)((time % 3600) / 60)); \n\t\t String hours = Integer.toString((int)(time / 3600)); \n\t\t for (int i = 0; i < 2; i++) { \n\t\t if (seconds.length() < 2) { \n\t\t seconds = \"0\" + seconds; \n\t\t } \n\t\t if (minutes.length() < 2) { \n\t\t minutes = \"0\" + minutes; \n\t\t } \n\t\t if (hours.length() < 2) { \n\t\t hours = \"0\" + hours; \n\t\t } \n\t\t }\n\t\t String timeString = hours + \":\" + minutes + \":\" + seconds; \n\t\t return timeString;\n\t }",
"public static String getFormattedInterval(final long ms) {\n long x = ms / 1000;\n long seconds = x % 60;\n x = x / 60;\n long minutes = x % 60;\n x /= 60;\n long hours = x % 24;\n\n return String.format(Locale.US, \"%02d:%02d:%02d\", hours, minutes, seconds);\n }",
"public String getTimeString(){\n StringBuilder sBuilder = new StringBuilder();\n sBuilder.append(hourPicker.getValue())\n .append(':')\n .append(minutePicker.getValue())\n .append(':')\n .append(secondsPicker.getValue())\n .append('.')\n .append(decimalPicker.getValue());\n return sBuilder.toString();\n }",
"public void update() {\r\n\t\tlabel.setText(time / 60 + \":\" + ((time % 60 <= 9)? (\"0\" + time % 60) : (time % 60)));\r\n\t}",
"public FormatTimerValues(int seconds) {\r\n this.seconds = seconds;\r\n }",
"private String formatTime(final long time) {\n if ( time == 0 ) {\n return \"-\";\n }\n if ( time < 1000 ) {\n return time + \" ms\";\n } else if ( time < 1000 * 60 ) {\n return time / 1000 + \" secs\";\n }\n final long min = time / 1000 / 60;\n final long secs = (time - min * 1000 * 60);\n return min + \" min \" + secs / 1000 + \" secs\";\n }",
"public void setTime(){\n\t\tthis.time = this.endTime - this.startTime;\t//calculate the time difference\n\t\t\n\t\t//now since the time is in milliseconds, convert the nanotime\n\t\tlong totalSeconds = (this.time / 1000000000);\n\t\t//Format the above seconds. So it will have at least \n\t\tint minute = (int)(totalSeconds/60);\n\t\tdouble second = totalSeconds - (minute*60);\t//get the remaining second part\n\t\t\n\t\tDecimalFormat minuteFormat = new DecimalFormat(\"##0\");\n\t\tDecimalFormat secondFormat = new DecimalFormat(\"###\");\t//so we only get the 3 digits\n\t\tString minutePart = minuteFormat.format(minute);\t//get the string for the second part\n\t\tString secondPart = secondFormat.format(second);\n\t\t\n\t\t\n\t\tString result = minutePart + \":\" + secondPart;\n\t\t\n\t\t//each time we set time, change the bounds\n\t\tthis.timeLabel.setText(String.valueOf(result));//set the JLabel text\n\t\t//when we set the time label, also set its location\n\t\tthis.timeLabel.setSize(timeLabel.getPreferredSize().width, \n\t\t\t\ttimeLabel.getPreferredSize().height);\n\t}",
"public static String time_str(double t) {\n int hours = (int) t/3600;\n int rem = (int) t - hours*3600;\n int mins = rem / 60;\n int secs = rem - mins*60;\n return String.format(\"%02d:%02d:%02d\", hours, mins, secs);\n //return hoursMinutesSeconds(t);\n }",
"public static String updateText(long milliseconds) {\n\t\tString finalTimeString = \"\";\n\t\tString secondsString = \"\";\n\n\t\tint hours = (int) (milliseconds / (1000 * 60 * 60));\n\t\tint minutes = (int) ((milliseconds % (1000 * 60 * 60)) / (1000 * 60));\n\t\tint seconds = (int) ((milliseconds % (1000 * 60 * 60)) % (1000 * 60) / 1000);\n\n\t\tif (hours > 0)\n\t\t\tfinalTimeString = hours + \":\";\n\n\t\tif (seconds < 10)\n\t\t\tsecondsString = \"0\" + seconds;\n\t\telse\n\t\t\tsecondsString = \"\" + seconds;\n\n\t\tfinalTimeString = finalTimeString + minutes + \":\" + secondsString;\n\n\t\treturn finalTimeString;\n\t}",
"public static String milliSecondsToTimer(long milliseconds){\r\n String finalTimerString = \"\";\r\n String secondsString = \"\";\r\n \r\n // Convert total duration into time\r\n int hours = (int)( milliseconds / (1000*60*60));\r\n int minutes = (int)(milliseconds % (1000*60*60)) / (1000*60);\r\n int seconds = (int) ((milliseconds % (1000*60*60)) % (1000*60) / 1000);\r\n // Add hours if there\r\n if(hours > 0){\r\n finalTimerString = hours + \":\";\r\n }\r\n \r\n // Prepending 0 to seconds if it is one digit\r\n if(seconds < 10){\r\n secondsString = \"0\" + seconds;\r\n }else{\r\n secondsString = \"\" + seconds;}\r\n \r\n finalTimerString = finalTimerString + minutes + \":\" + secondsString;\r\n \r\n // return timer string\r\n return finalTimerString;\r\n }",
"public String toString() {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t // 4\n\t\tString hours = String.format(\"%02d\", this.hours);\n\t\tString minutes = String.format(\"%02d\", this.minutes);\n\t\tString seconds = String.format(\"%05.2f\", this.seconds);\n\n\t\tString time = hours + \":\" + minutes + \":\" + seconds;\n\t\treturn time;\n\t}",
"public String getTimeString() {\n int hour = date.get(Calendar.HOUR);\n int minute = date.get(Calendar.MINUTE);\n\n String AM_PM = \"PM\";\n if (date.get(Calendar.AM_PM) == Calendar.AM) AM_PM = \"AM\";\n\n String hour_fixed = String.valueOf(hour);\n if (hour == 0) hour_fixed = \"12\";\n\n String minute_fixed = String.valueOf(minute);\n while (minute_fixed.length() < 2) {\n minute_fixed = \"0\" + minute_fixed;\n }\n\n return hour_fixed + \":\" + minute_fixed + ' ' + AM_PM;\n }",
"private String formatTime(long length) {\n\t\tString hms = \"\";\n\t\tif(length < 3600000) {\n\t\t\thms = String.format(\"%02d:%02d\",\n\t\t\t\t\tTimeUnit.MILLISECONDS.toMinutes(length) - TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS.toHours(length)),\n\t\t\t\t\tTimeUnit.MILLISECONDS.toSeconds(length) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(length)));\n\t\t} else {\n\t\t\thms = String.format(\"%02d:%02d:%02d\", TimeUnit.MILLISECONDS.toHours(length),\n\t\t\t\t\tTimeUnit.MILLISECONDS.toMinutes(length) - TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS.toHours(length)),\n\t\t\t\t\tTimeUnit.MILLISECONDS.toSeconds(length) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(length)));\n\t\t}\n\n\t\treturn hms;\n\t}",
"private String createTimeString(int value)\n\t {\n\t\tif(value<0){\n\t\t\treturn \"00:00:00,000\";\n\t\t}\n\t int sec = value % 60;\n\t int min = (value / 60) % 60;\n\t int hr = value / 3600;\n\t String fmtHr = \"\"+hr;\n\t String fmtMin = \"\"+min;\n\t String fmtSec = \"\" + sec;\n\t if(hr<10){\n\t \tfmtHr = \"0\"+hr;\n\t }\n\t if(min<10){\n\t \tfmtMin = \"0\"+min;\n\t }\n\t if(sec<10){\n\t \tfmtSec = \"0\"+sec;\n\t }\n\n\t return fmtHr+\":\"+fmtMin+\":\"+fmtSec+\",\"+\"000\";\n\t }",
"public static String displayTime(long milliseconds) {\n String displayTime = \"\";\n double seconds = milliseconds / 1000.0;\n int minute = (int) (seconds / 60);\n double second = seconds % 60;\n displayTime = String.format(\"%02d:%06.3f\", minute, second);\n\n return displayTime;\n }",
"public static String TimeConverter(long t)\r\n {\r\n int h, m, s, ms;\r\n ms = (int)t;\r\n h = ms / 3600000;\r\n ms = ms % 3600000;\r\n m = ms / 60000;\r\n ms = ms % 60000;\r\n s = ms / 1000;\r\n ms = ms % 1000;\r\n return h + \" :: \" + m + \" :: \" + s + \" :: \" + ms;\r\n }",
"public static String convert(int secs) {\n int h = secs / 3600, i = secs - h * 3600, m = i / 60, s = i - m * 60;\n String timeF = \"\";\n\n if (h < 10) {\n timeF = timeF + \"\";\n }\n timeF = timeF + h + \" hour(s) \";\n if (m < 10) {\n timeF = timeF + \"\";\n }\n timeF = timeF + m + \" minute(s) \";\n if (s < 10) {\n timeF = timeF + \"\";\n }\n timeF = timeF + s + \" second(s) \";\n\n return timeF;\n }",
"private void setTimeCaption() {\n //System.out.println(\"currtime\"+currTimeProgressValue);\n int value=currTimeProgressValue/1000; // seconds representation\n int hours=value/(3600);\n int minutes=(value%(3600))/60;\n int seconds=(value%(3600))%60;\n this.lblTimeCaption.setText(Integer.toString(hours)+\" hours \"+Integer.toString(minutes)+\n \" minutes \"+Integer.toString(seconds)+\" seconds \");\n \n }",
"public static String formatTime(long elapsed) {\n int[] convConst = {100, 60, 60, 24};\n int[] formatValues = new int[convConst.length];\n\n for (int i = 0; i < (convConst.length & formatValues.length); i++) {\n if (i > 0) elapsed /= convConst[i - 1];\n formatValues[i] = (int) (elapsed % convConst[i]);\n }\n\n int[] trimmed = ArrayUtils.autobox(ArrayUtils.reverse(ArrayUtils.trimBack(ArrayUtils.autobox(formatValues), 0)));\n String[] filled = new String[trimmed.length];\n\n for (int i = 0; i < (trimmed.length & filled.length); i++)\n filled[i] = i > 0 ? StringUtils.fillLeading(\"\" + trimmed[i], '0', 2) : \"\" + trimmed[i];\n\n List<String> filledList = new ArrayList<>(Arrays.asList(filled));\n if (filledList.size() <= 1) filledList.add(0, \"0\");\n\n return String.join(\".\", String.join(\":\", filledList.subList(0, filledList.size() - 1)), filledList.get(filledList.size() - 1));\n }",
"public void formatoTiempo() {\n String segundos, minutos, hora;\n\n hora = hrs < 10 ? String.valueOf(\"0\" + hrs) : String.valueOf(hrs);\n\n minutos = min < 10 ? String.valueOf(\"0\" + min) : String.valueOf(min);\n\n jLabel3.setText(hora + \" : \" + minutos + \" \" + tarde);\n }",
"public static String mSecsToString(long actualTimeInMseconds) {\n Date date = new Date(actualTimeInMseconds);\n DateFormat formatter = new SimpleDateFormat(\"HH:mm:ss\");\n formatter.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n return (formatter.format(date));\n }",
"public String gameTimeToText()\n {\n // CALCULATE GAME TIME USING HOURS : MINUTES : SECONDS\n if ((startTime == null) || (endTime == null))\n return \"\";\n long timeInMillis = endTime.getTimeInMillis() - startTime.getTimeInMillis();\n return timeToText(timeInMillis);\n }",
"private String readableTime(Integer minutes) {\r\n String time = \"\";\r\n if (minutes / 60.0 > 1) {\r\n time = (minutes / 60) + \" hrs, \"\r\n + (minutes % 60) + \" min\";\r\n } else {\r\n time = minutes + \" min\";\r\n }\r\n return time;\r\n }",
"private void setTxtTimeTotal()\n {\n SimpleDateFormat dinhDangGio= new SimpleDateFormat(\"mm:ss\");\n txtTimeTotal.setText(dinhDangGio.format(mediaPlayer.getDuration()));\n //\n skSong.setMax(mediaPlayer.getDuration());\n }",
"public String getElapsedTime() {\n\n long elapsed;\n int mins;\n int secs;\n int millis;\n\n if (running) {\n elapsed = System.currentTimeMillis() - startTime;\n } else {\n elapsed = stopTime - startTime;\n }\n\n mins = (int) (elapsed / 60000);\n secs = (int) (elapsed - mins * 60000) / 1000;\n millis = (int) (elapsed - mins * 60000 - secs * 1000);\n\n //Keeps 3 digits when a second rolls over. Perhaps find a better way of doing this\n return (String.format(\"%02d\", mins) + \":\" + String.format(\"%02d\", secs) + \":\"\n + String.format(\"%03d\", millis));\n }",
"public static String trackDurationConverter(int secondsInput)\r\n {\r\n String result;\r\n if(secondsInput > 0)\r\n {\r\n String tmpSec = \"\"; \r\n int tmpMin = 0;\r\n\r\n String seconds = Integer.toString(secondsInput % 60);\r\n String minutes = Integer.toString((secondsInput/60) % 60);\r\n String hours = Integer.toString((secondsInput/60) / 60);\r\n\r\n seconds = Integer.parseInt(seconds) < 9 ? \"0\"+seconds : seconds;\r\n minutes = Integer.parseInt(minutes) < 9 ? \"0\"+minutes : minutes;\r\n hours = Integer.parseInt(hours) < 9 ? \"0\"+hours : hours;\r\n\r\n if(Integer.parseInt(seconds) <= 30)\r\n {\r\n tmpSec = \"30\";\r\n tmpMin = Integer.parseInt(minutes);\r\n }\r\n else\r\n {\r\n tmpSec = \"00\";\r\n tmpMin = Integer.parseInt(minutes) + 1;\r\n }\r\n String tmpResult = tmpMin < 9 ? \"0\"+Integer.toString(tmpMin) : Integer.toString(tmpMin);\r\n String typeOfTime = tmpResult.equals(\"00\") ? \" sec\" : \" min\";\r\n\r\n result = \"circa \" + tmpResult + \":\" + tmpSec + typeOfTime;\r\n return result;\r\n }\r\n else\r\n {\r\n return result = \"-1\";\r\n }\r\n }",
"public void setTime()\n \t{\n \t\tif( !paused )\n \t\t{\n\t \t\tlong playingTime = System.currentTimeMillis() - startTime;\n\t \t\tlong timeLeft = 180000 - playingTime;\n\t \t\tlong min = timeLeft / 60000;\n\t \t\tlong sec = ( timeLeft - ( min * 60000 ) ) / 1000L;\n\t \t\t\n\t \t\tif( timeLeft < 0 )\n\t \t\t{\n\t \t\t\t//Game over!\n\t \t\t\tgameOver();\n\t \t\t\treturn;\n\t \t\t}\n\t \t\t\n\t \t\tString s = \"Time: \";\n\t \t\ts += Integer.toString( (int)min ) + \":\";\n\t \t\tif( sec >= 10 )\n\t \t\t\ts += Integer.toString( (int)sec );\n\t \t\telse\n\t \t\t\ts += \"0\" + Integer.toString( (int)sec );\n\t \t\t\n\t \t\ttimerLabel.setText( s );\n \t\t}\n \t}",
"public String getMinutesStr(){\n \n // return zero\n if (this.getMinutes()==0){\n return \"00\";\n }\n // pad single digit with zero\n else if (this.getMinutes() < 10){\n return '0' + Integer.toString(this.getMinutes()); \n }\n // return double digit\n else {\n return Integer.toString(this.getMinutes());\n }\n\n }",
"public static String getPrintToTextTime() {\n @SuppressLint(\"SimpleDateFormat\") SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n return sdf.format(System.currentTimeMillis());\n }",
"public static String getDurationString(long minutes, long seconds) {\n if(minutes>=0 && (seconds >=0 && seconds<=59)){\n// minutes = hours/60;\n// seconds = hours/3600;\n long hours = minutes / 60;\n long remainingMinutes = minutes % 60;\n\n return hours + \" h \" + remainingMinutes + \"m \" + seconds + \"s\";\n }\n else\n\n {\n return \"invalid value\";\n }\n }",
"String formatTime(int time) {\r\n\t\tint h = time / 3600;\r\n\t\ttime %= 3600;\r\n\t\tint m = time / 60;\r\n\t\ttime %= 60;\r\n\t\tint s = time;\r\n\t\treturn String.format(\"%02d:%02d:%02d\", h, m, s);\r\n\t}",
"public static String getTime(int second) {\n if (second < 10) {\n return \"00:00:0\" + second;\n }\n if (second < 60) {\n return \"00:00:\" + second;\n }\n if (second < 3600) {\n int minute = second / 60;\n second = second - minute * 60;\n if (minute < 10) {\n if (second < 10) {\n return \"00:\" + \"0\" + minute + \":0\" + second;\n }\n return \"00:\" + \"0\" + minute + \":\" + second;\n }\n if (second < 10) {\n return \"00:\" + minute + \":0\" + second;\n }\n return \"00:\" + minute + \":\" + second;\n }\n int hour = second / 3600;\n int minute = (second - hour * 3600) / 60;\n second = second - hour * 3600 - minute * 60;\n if (hour < 10) {\n if (minute < 10) {\n if (second < 10) {\n return \"0\" + hour + \":0\" + minute + \":0\" + second;\n }\n return \"0\" + hour + \":0\" + minute + \":\" + second;\n }\n if (second < 10) {\n return \"0\" + hour + \":\" + minute + \":0\" + second;\n }\n return \"0\" + hour + \":\" + minute + \":\" + second;\n }\n if (minute < 10) {\n if (second < 10) {\n return hour + \":0\" + minute + \":0\" + second;\n }\n return hour + \":0\" + minute + \":\" + second;\n }\n if (second < 10) {\n return hour + \":\" + minute + \":0\" + second;\n }\n return hour + \":\" + minute + \":\" + second;\n }",
"private static String hhhmmss(double totalseconds)\n {\n final int SECONDS_PER_MINUTE = 60;\n final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * 60;\n\n int hours = (int) (totalseconds / SECONDS_PER_HOUR);\n int minutes = (int) ((totalseconds % SECONDS_PER_HOUR)) / SECONDS_PER_MINUTE;\n double seconds = totalseconds % SECONDS_PER_MINUTE;\n\n return String.format(\"%d:%02d:%05.2f\", hours, minutes, seconds);\n }",
"private static String hhhmmss(double totalseconds)\n {\n final int SECONDS_PER_MINUTE = 60;\n final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * 60;\n\n int hours = (int) (totalseconds / SECONDS_PER_HOUR);\n int minutes = (int) ((totalseconds % SECONDS_PER_HOUR)) / SECONDS_PER_MINUTE;\n double seconds = totalseconds % SECONDS_PER_MINUTE;\n\n return String.format(\"%d:%02d:%05.2f\", hours, minutes, seconds);\n }",
"private void setTime(int h, int m, int s) {\r\n\t\tString sHours = String.valueOf(h);\r\n\t\tString sMin = String.valueOf(m);\r\n\t\tString sSec = String.valueOf(s);\r\n\t\tif (sHours.length() > 1) {\r\n\t\t\tledDisplay[4] = Integer.parseInt(sHours.substring(1, 2));\r\n\t\t\tledDisplay[5] = Integer.parseInt(sHours.substring(0, 1));\r\n\t\t} else {\r\n\t\t\tledDisplay[4] = Integer.parseInt(sHours.substring(0, 1));\r\n\t\t\tledDisplay[5] = 0;\r\n\t\t}\r\n\r\n\t\tif (sMin.length() > 1) {\r\n\t\t\tledDisplay[2] = Integer.parseInt(sMin.substring(1, 2));\r\n\t\t\tledDisplay[3] = Integer.parseInt(sMin.substring(0, 1));\r\n\t\t} else {\r\n\t\t\tledDisplay[2] = Integer.parseInt(sMin.substring(0, 1));\r\n\t\t\tledDisplay[3] = 0;\r\n\t\t}\r\n\r\n\t\tif (sSec.length() > 1) {\r\n\t\t\tledDisplay[0] = Integer.parseInt(sSec.substring(1, 2));\r\n\t\t\tledDisplay[1] = Integer.parseInt(sSec.substring(0, 1));\r\n\t\t} else {\r\n\t\t\tledDisplay[0] = Integer.parseInt(sSec.substring(0, 1));\r\n\t\t\tledDisplay[1] = 0;\r\n\t\t}\r\n\r\n\t}",
"public String toString()\r\n {\r\n DecimalFormat twoDigits = new DecimalFormat( \"00\" );\r\n\r\n return ( this.getHour() == 12 || this.getHour() == 0 ?\r\n 12 : this.getHour() % 12 ) + \":\" +\r\n twoDigits.format( this.getMinute() ) + \":\" +\r\n twoDigits.format( this.getSecond() ) +\r\n ( this.getHour() < 12 ? \" AM\" : \" PM\" );\r\n }",
"public String getFormatedTime() {\n DateFormat displayFormat = new SimpleDateFormat(\"HH:mm\", Locale.GERMAN);\n return displayFormat.format(mEvent.getTime());\n }",
"public static String getTime()\n {\n Date time = new Date();\n SimpleDateFormat timeFormat = new SimpleDateFormat(\"HH:mm:ss\");\n return timeFormat.format(time);\n }",
"public static String getDurationString(long seconds) {\n long hours = seconds / 3600;\n long minutes = (seconds % 3600) / 60;\n long secs = seconds % 60;\n if (hours > 0) {\n return twoDigitString(hours) + \":\" + twoDigitString(minutes) + \":\" + twoDigitString(secs);\n }\n return twoDigitString(minutes) + \":\" + twoDigitString(secs);\n }",
"public String getTime(){\n String mt=\"\";\n String hr=\"\";\n if(minute<10){\n mt=0+(String.valueOf(minute));\n }\n\n else{\n mt=String.valueOf(minute);\n }\n\n if(hour<10){\n hr=0+(String.valueOf(hour));\n }\n else{\n hr=String.valueOf(hour);\n }\n //return hour:minute\n return (hr+\":\"+mt);\n }",
"private void updateTime() \r\n\t {\r\n\t\t \r\n\t\t \tif(Hours.getValue() < 12)\r\n\t\t \t{\r\n\t\t \t\tdisplayString = Hours.getDisplayValue() + \":\" + Minutes.getDisplayValue() + \":\" + Seconds.getDisplayValue() + \" am\";\r\n\t\t System.out.println(displayString);\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \telse if (Hours.getValue() > 12 && Hours.getValue() < 24 )\r\n\t\t \t{\r\n\t\t \t\tdisplayString = Hours.getDisplayValue() + \":\" + Minutes.getDisplayValue() + \":\" + Seconds.getDisplayValue() + \" pm\";\r\n\t\t System.out.println(displayString);\r\n\t\t \t}\r\n\t }",
"public static String millsToMinSec(long mills) {\n int min = (int) (mills / 1000 / 60);\n int second = (int) (mills / 1000 % 3600 % 60);\n String time = \"\";\n// if (hour < 10) {\n// time = \"0\" + hour;\n// } else {\n// time = \"\" + hour;\n// }\n if (min < 10) {\n time += \"0\" + min;\n } else {\n time += \"\" + min;\n }\n if (second < 10) {\n time += \":0\" + second;\n } else {\n time += \":\" + second;\n }\n return time;\n }",
"private String getFinalTimeString() {\n double fltTime = (double)(lngTimelineDataAmountInRmsFrames * fltRmsFramePeriodInMs)/1000.0f;\n return new DecimalFormat(\"000.00\").format(fltTime);\n }",
"public static String getTimeStamp() {\r\n\r\n\t\tlong now = (System.currentTimeMillis() - startTime) / 1000;\r\n\r\n\t\tlong hours = (now / (60 * 60)) % 24;\r\n\t\tnow -= (hours / (60 * 60)) % 24;\r\n\r\n\t\tlong minutes = (now / 60) % 60;\r\n\t\tnow -= (minutes / 60) % 60;\r\n\r\n\t\tlong seconds = now % 60;\r\n\r\n\t return String.format(\"%02d:%02d:%02d\", hours, minutes, seconds);\r\n\t}",
"public static String formatTime(long time) {\n long tmp = time;\n int hour = (int) (time / 3600);\n tmp -= hour * 3600;\n int min = (int) (tmp / 60);\n int sec = (int) (tmp - min * 60);\n\n String hourText = hour < 10 ? \"0\" + hour : \"\" + hour;\n String minText = min < 10 ? \"0\" + min : \"\" + min;\n String secText = sec < 10 ? \"0\" + sec : \"\" + sec;\n\n\n return hourText + \":\" + minText + \":\" + secText;\n }",
"String getSleepTime(long totalSleepTime) {\n\t\tString sleep = String.format(\"%d hr(s), %d min(s)\", \n\t\t\t TimeUnit.MILLISECONDS.toHours(totalSleepTime),\n\t\t\t (TimeUnit.MILLISECONDS.toMinutes(totalSleepTime) - \n\t\t\t TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS.toHours(totalSleepTime)))\n\t\t\t);\n\t\treturn sleep;\n\t}",
"public String toUniversalString() {\n return String.format(\"%02d:%02d:%02d\", hour, minutes, seconds);\n\n }",
"private void updateTimer()\r\n {\n if (timeLeft > 0)\r\n {\r\n frameCounter++;\r\n \r\n // if a second has passed\r\n if (frameCounter >= frameRate)\r\n {\r\n // reset the frame counter\r\n frameCounter = 0;\r\n \r\n // update the secondsElapsed var\r\n totalSecondsElapsed++;\r\n \r\n // subtract a second from the timer\r\n timeLeft--;\r\n \r\n // change the time into mins & seconds\r\n int minsLeft = timeLeft / 60;\r\n int secondsLeft = timeLeft % 60;\r\n \r\n // update the time display (min:sec)\r\n String timerDisplay = minsLeft + \":\" + getLeadingZero(secondsLeft, 10) + secondsLeft;\r\n timerText.text = timerDisplay;\r\n timerText.updateText();\r\n }\r\n }\r\n else\r\n {\r\n endGame();\r\n }\r\n }",
"@SuppressLint(\"DefaultLocale\")\n public static String formatDuration(int duration) {\n duration /= 1000; // milliseconds into seconds\n int minute = duration / 60;\n int hour = minute / 60;\n minute %= 60;\n int second = duration % 60;\n if (hour != 0)\n return String.format(\"%2d:%02d:%02d\", hour, minute, second);\n else\n return String.format(\"%02d:%02d\", minute, second);\n }",
"public ClockLabel() {\r\n\t\tsuper(\"\"\r\n\t\t\t\t+ new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\")\r\n\t\t\t\t\t\t.format(new Date()), SwingConstants.RIGHT);\r\n\t\tTimer t = new Timer(1000, this);\r\n\t\tt.start();\r\n\t}",
"public String getTime() {\n\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"HH:mm:ss\");\n\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\tString time = dateFormat.format(cal.getTime());\n\t\t\treturn time;\n\t\t}",
"static String timeConversion(String s) {\n /*\n * Write your code here.\n */\n String res = \"\";\n String hrs = s.substring(0, 2);\n String min = s.substring(3, 5);\n String sec = s.substring(6, 8);\n String ampm = s.substring(8);\n int hr = Integer.parseInt(hrs);\n if((ampm.equalsIgnoreCase(\"PM\")) && (hr != 12)) {\n hr += 12;\n if(hr >= 24) {\n hr = 24 - hr;\n }\n }\n else if(ampm.equalsIgnoreCase(\"AM\")) {\n if(hr == 12) {\n hr = 0;\n }\n }\n if(hr < 10) {\n res = res + \"0\" + Integer.toString(hr);\n }\n else {\n res += Integer.toString(hr);\n }\n res = res +\":\" +min +\":\" + sec;\n return res;\n }",
"public String displayClock()\r\n\t{\r\n\t\treturn stringFormatter(numberDisplay1.getHour()) + \":\"\r\n\t\t\t\t+ stringFormatter(numberDisplay1.getMinute()) + \":\"\r\n\t\t\t\t+ stringFormatter(numberDisplay1.getSecond());\r\n\t}",
"static public String soutAllTimer() {\n return HeartCore.t + \" - \" + HeartMoveBird.internalTime + \" - \" + HeartMoveObstacle.tWall;\n }",
"static String timeConversion1(String s) {\n String[] timeSplit = s.split(\":\");\n String hours = timeSplit[0];\n String minutes = timeSplit[1];\n String seconds = timeSplit[2].substring(0, 2);\n String ampm = timeSplit[2].substring(2);\n\n int hour = Integer.parseInt(hours);\n\n int differential = 0;\n if (\"PM\".equals(ampm) && hour != 12) {\n differential = 12;\n }\n\n\n hour += differential;\n hour = hour % 24;\n\n hours = String.format(\"%02d\", hour);\n\n return hours + \":\" + minutes + \":\" + seconds;\n\n }",
"public String convertTimeSecondsToHoursMinSeconds(int totalSeconds) {\n\t\t\t\tint MINUTES_IN_AN_HOUR = 60;\n\t\t\t\tint SECONDS_IN_A_MINUTE = 60;\n\t\t\t\tint hours = totalSeconds / MINUTES_IN_AN_HOUR / SECONDS_IN_A_MINUTE;\n\t\t\t\tint minutes = (totalSeconds - (convertTimeHoursToSeconds(hours))) / SECONDS_IN_A_MINUTE;\n\t\t\t\tint seconds = totalSeconds\n\t\t\t\t\t\t- ((convertTimeHoursToSeconds(hours)) + (convertTimeMinutesToSeconds(minutes)));\n\t\t\t\treturn hours + \" hours \" + minutes + \" minutes \" + seconds + \" seconds\";\n\t\t\t}",
"public static String transformTime(int seconds) {\n if (seconds < 0)\n throw new IllegalArgumentException(\"Time must not be negative\");\n\n // Figure out the playtime in a human readable format\n final int secondsInMinute = 60;\n final int secondsInHour = 60 * secondsInMinute;\n final int secondsInDay = 24 * secondsInHour;\n final int secondsInWeek = 7 * secondsInDay;\n\n final int weeks = seconds / secondsInWeek;\n\n final int daySeconds = seconds % secondsInWeek;\n final int days = daySeconds / secondsInDay;\n\n final int hourSeconds = daySeconds % secondsInDay;\n final int hours = hourSeconds / secondsInHour;\n\n final int minuteSeconds = hourSeconds % secondsInHour;\n final int minutes = minuteSeconds / secondsInMinute;\n\n final int remainingSeconds = minuteSeconds % secondsInMinute;\n\n // Make some strings\n String weekString;\n String dayString;\n String hourString;\n String minuteString;\n String secondString;\n\n // Use correct grammar, and don't use it if it's zero\n if (weeks == 1)\n weekString = weeks + \" week\";\n else if (weeks == 0)\n weekString = \"\";\n else\n weekString = weeks + \" weeks\";\n\n if (days == 1)\n dayString = days + \" day\";\n else if (days == 0)\n dayString = \"\";\n else\n dayString = days + \" days\";\n\n if (hours == 1)\n hourString = hours + \" hour\";\n else if (hours == 0)\n hourString = \"\";\n else\n hourString = hours + \" hours\";\n\n if (minutes == 1)\n minuteString = minutes + \" minute\";\n else if (minutes == 0)\n minuteString = \"\";\n else\n minuteString = minutes + \" minutes\";\n\n if (remainingSeconds == 1)\n secondString = remainingSeconds + \" second\";\n else if (remainingSeconds == 0)\n secondString = \"\";\n else\n secondString = remainingSeconds + \" seconds\";\n\n ArrayList<String> results = new ArrayList<>();\n results.add(weekString);\n results.add(dayString);\n results.add(hourString);\n results.add(minuteString);\n results.add(secondString);\n\n for (int x = results.size() - 1; x >= 0; x--) {\n if (results.get(x).equals(\"\")) {\n results.remove(x);\n }\n }\n\n if (results.size() == 0)\n return \"0 seconds\";\n\n String finalResult = \"\";\n for (int x = 0; x < results.size(); x++) {\n if (x == results.size() - 1) {\n if (x == 0)\n finalResult = results.get(x);\n else\n finalResult = finalResult + \", \" + results.get(x);\n } else {\n if (x == 0)\n finalResult = results.get(x);\n else\n finalResult = finalResult + \", \" + results.get(x);\n }\n }\n\n return finalResult;\n }"
] | [
"0.6897195",
"0.6858657",
"0.6816678",
"0.6752868",
"0.6746411",
"0.64889336",
"0.64792186",
"0.64380157",
"0.6433504",
"0.64241827",
"0.6404753",
"0.63882613",
"0.6382646",
"0.63508946",
"0.633179",
"0.6312111",
"0.6231479",
"0.62277746",
"0.6224305",
"0.61971754",
"0.6190307",
"0.6169519",
"0.6164516",
"0.61284",
"0.6125022",
"0.61241657",
"0.61043376",
"0.6069927",
"0.6063012",
"0.60494614",
"0.60325706",
"0.6027706",
"0.6008812",
"0.59993935",
"0.5994463",
"0.59844744",
"0.5983737",
"0.5982586",
"0.59635013",
"0.59620905",
"0.5948975",
"0.59478045",
"0.59472877",
"0.5932308",
"0.5929024",
"0.59244466",
"0.5916248",
"0.59119636",
"0.59109116",
"0.5900853",
"0.58962643",
"0.58925164",
"0.58853954",
"0.58804727",
"0.58803034",
"0.58728564",
"0.5867782",
"0.5860828",
"0.5852671",
"0.58493996",
"0.5849226",
"0.58467036",
"0.5837303",
"0.58311343",
"0.580767",
"0.58026385",
"0.57828444",
"0.5779286",
"0.57710695",
"0.575958",
"0.5749235",
"0.57455623",
"0.5742214",
"0.5732449",
"0.5726224",
"0.5723631",
"0.5723631",
"0.57120615",
"0.5704832",
"0.5701136",
"0.5681772",
"0.56709856",
"0.5662353",
"0.56596273",
"0.5645655",
"0.5642837",
"0.564159",
"0.5636588",
"0.5629776",
"0.56286263",
"0.56220853",
"0.5619177",
"0.56129676",
"0.5611968",
"0.55921876",
"0.5587621",
"0.5585124",
"0.5584166",
"0.5581476",
"0.55687344"
] | 0.70420146 | 0 |
This method will allow the thread to sleep for a number of milliseconds and is crucial for keeping time. | private void doNothing(long milliseconds)
{
try
{
Thread.sleep(milliseconds);
}
catch (InterruptedException e)
{
System.out.println("Unexpeced interrupt");
System.exit(0);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void sleep()\n\t{\n\t\ttry\n\t\t{\n\t\t\tThread.sleep(getMilliseconds());\n\t\t}\n\t\tcatch (InterruptedException e)\n\t\t{\n\t\t\t// ignore but return\n\t\t}\n\t}",
"private void sleep()\n {\n try {\n Thread.sleep(Driver.sleepTimeMs);\n }\n catch (InterruptedException ex)\n {\n\n }\n }",
"private void sleep() {\n try {\n Thread.sleep(500);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void sleep(long ms) throws InterruptedException {\n Thread.sleep(ms);\n }",
"@Override\n protected void sleep(int milliseconds) {\n super.sleep(milliseconds);\n }",
"private void delay() {\n\ttry {\n\t\tThread.sleep(500);\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\t\n\t}",
"private void sleep() {\n try {\n Thread.sleep(3000L);\n }\n catch (Exception ignored) {\n Log.trace(\"Sleep got interrupted.\");\n }\n }",
"public static void sleep() {\n\t\ttry {\n\t\t\tThread.sleep(10 * 1000);\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t}",
"private void Sleep() {\n\t\ttry {\n\t\t\tThread.sleep(10 * 1000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private void sleepFor(long t) {\n\t\ttry {\n\t\t\tThread.sleep(t);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void delay() {\n\n long ONE_SECOND = 1_000;\n\n try {\n Thread.sleep(ONE_SECOND);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"public static void sleep(long milliseconds) {\n\t\tGeneral.sleep(milliseconds);\n\t}",
"private void sleep() {\n try {\n for(long count = 0L; this.DATA_STORE.isButtonPressed() && count < this.sleepTime; count += 20L) {\n Thread.sleep(20L);\n }\n } catch (InterruptedException iEx) {\n // For now, InterruptedException may be ignored if thrown.\n }\n\n if (this.sleepTime > 20L) {\n this.sleepTime = (long)((double)this.sleepTime / 1.3D);\n }\n }",
"protected final void sleep(int inMilliseconds) {\r\n\r\n\t\ttry {\r\n\t\t\tThread.sleep(inMilliseconds);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t} // catch\r\n\t}",
"private void sleepMilliseconds(int time) {\n int multipliedParam = (int) (Math.random() * time + 1);\n\n try {\n TimeUnit.MILLISECONDS.sleep(multipliedParam);\n Log.v(\"DLASync.sleep\", \" sleep \" + multipliedParam + \" milliseconds...\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"public static void sleep(long msec)\n {\n try\n {\n Thread.sleep(msec);\n }\n catch (InterruptedException e)\n {\n }\n }",
"private void delay (int milliSec)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tThread.sleep (milliSec);\r\n\t\t}\r\n\t\tcatch (InterruptedException e)\r\n\t\t{\r\n\t\t}\r\n\t}",
"private void sleepMilliseconds(long milliseconds) {\n try {\n Thread.sleep(milliseconds);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"public static void shortWait(){\r\n\t\ttry {\r\n\t\t\tTimeUnit.SECONDS.sleep(5);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tSystem.out.println(\"Interruption happened due to sleep() method\");\r\n\t\t}\r\n\t}",
"public void delay(){\n try {\n Thread.sleep((long) ((samplingTime * simulationSpeed.factor)* 1000));\n } catch (InterruptedException e) {\n started = false;\n }\n }",
"private static void delay() throws InterruptedException {\n\t\tTimeUnit.MILLISECONDS.sleep((long) (minDelay + (long)(Math.random() * ((maxDelay - minDelay) + 1))));\n\t}",
"public void sleep() throws InterruptedException, IllegalArgumentException, Time.Ex_TimeNotAvailable, Time.Ex_TooLate\n {\n // The current time.\n AbsTime now;\n // The duration to wait.\n RelTime duration;\n\n // Make error if NEVER.\n if (isNEVER()) {\n throw new IllegalArgumentException(\"this == NEVER\");\n }\n\n // Don't do anything if ASAP.\n if (!isASAP()) {\n\n // Calculate the time now.\n now = new AbsTime();\n\n // Figure out how long to wait for.\n duration = Time.diff(this, now);\n\n // If duration is negative, throw the Ex_TooLate exception.\n if (duration.getValue() < 0L) {\n throw new Time.Ex_TooLate();\n }\n\n // Do the wait.\n duration.sleep();\n }\n }",
"public static void sleepFor(float time) {\n try {\r\n Thread.sleep((int)(time*1000));\r\n } catch (InterruptedException e){\r\n }\r\n }",
"private void sleep(long millis){\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void delay() throws InterruptedException {\n // This is the sleep thread method that makes the program sleep\n // for a program amount of milliseconds to slow down the program\n Thread.sleep(1500);\n }",
"public void delay(long waitAmount){\r\n long time = System.currentTimeMillis();\r\n while ((time+waitAmount)>=System.currentTimeMillis()){ \r\n //nothing\r\n }\r\n }",
"public void sleep(long millis) {\n\n\t\tlong timeOld = System.currentTimeMillis();\n\t\tlong timeNew = 0;\n\t\tlong temp = timeNew - timeOld;\n\n\t\twhile (temp < millis) {\n\t\t\ttimeNew = System.currentTimeMillis();\n\t\t\ttemp = timeNew - timeOld;\n\t\t}\n\n\t}",
"public void sleepy(long ms)\n\t{\n\t\ttry {\n\t\t\tsleep(ms);\n\t\t} catch(InterruptedException e) {}\n\t}",
"private void sleep(int number) {\n\t\ttry {\n\t\t\tThread.sleep(number);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}}",
"public void waitSleep(int pTime)\n{\n\n try {Thread.sleep(pTime);} catch (InterruptedException e) { }\n\n}",
"@Override\n\tpublic void sleep() {\n\t\t\n\t}",
"public void warte( int ms )\n {\n try\n {\n Thread.sleep( ms );\n }\n catch ( InterruptedException e )\n {\n e.printStackTrace();\n }\n }",
"public void moveDelay ( )\r\n\t{\r\n\t\ttry {\r\n\t\t\tThread.sleep( 1000 );\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"private void sleep(long millis) {\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"void sleep()\r\n\t{\r\n\t\t\r\n\t}",
"@Override\n\tpublic void sleeps() {\n\t\t\n\t}",
"public void sleep(long millis) {\n long end = System.currentTimeMillis() + millis;\n for (;;)\n try {\n Thread.sleep(end - System.currentTimeMillis());\n break;\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (IllegalArgumentException e) {\n break; // If sleep value goes below 0\n }\n }",
"private void schedulerSleep() {\n\n\t\ttry {\n\n\t\t\tThread.sleep(timeSlice);\n\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t\t;\n\n\t}",
"private static void pause( int milliseconds )\n\t{\n\t\ttry\n\t\t{\n\t\t\tThread.sleep( milliseconds );\n\t\t}\n\t\tcatch( InterruptedException e )\n\t\t{\n\t\t}\n\t}",
"public static void sleepFor(long duration) {\n try {\n Thread.sleep(duration);\n } catch (InterruptedException e) {\n // There is nothing to be done here\n }\n }",
"public final void sleep(int millis) {\n Utils.sleep(millis);\n }",
"public static void longWait(){\r\n\t\ttry {\r\n\t\t\tTimeUnit.SECONDS.sleep(15);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tSystem.out.println(\"Interruption happened due to sleep() method\");\r\n\t\t}\r\n\t}",
"private static void snooze(int milliseconds) {\n\t\ttry {\n\t\t\tThread.sleep(milliseconds);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void sleep(int time) {\n try {\n Thread.sleep(time);\n } catch (InterruptedException e) {\n }\n }",
"public final synchronized boolean sleep(final long time) {\n return sleep(time, TimeUnit.MILLISECONDS);\n }",
"private void timeSync() throws InterruptedException {\n long realTimeDateMs = currentTimeMs - System.currentTimeMillis();\n long sleepTime = periodMs + realTimeDateMs + randomJitter();\n\n if (slowdownFactor != 1) {\n sleepTime = periodMs * slowdownFactor;\n }\n\n if (sleepTime > 0) {\n Thread.sleep(sleepTime);\n }\n }",
"void threadDelay() {\n saveState();\n if (pauseSimulator) {\n halt();\n }\n try {\n Thread.sleep(Algorithm_Simulator.timeGap);\n\n } catch (InterruptedException ex) {\n Logger.getLogger(RunBFS.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (pauseSimulator) {\n halt();\n }\n }",
"void sleep();",
"void sleep();",
"private void Perform_SLEEP()\n {\n if (Utils.bit5(get_ioreg(MCUCR)))\n mSleeping = true;\n return;\n }",
"public static void sleep(long aInDelay) {\n try {\n Thread.sleep(aInDelay);\n } catch (InterruptedException e) {\n Display.logUnexpectedError(e);\n }\n }",
"@Override\n public void setSleepTime(int st) {\n this.sleepTime = st;\n\n // notify the update thread so that it can recalculate\n if (updateThread.isRunning())\n updateThread.interrupt();\n }",
"public static void sleepForTwoSec() throws InterruptedException {\n Thread.sleep(2000);\n }",
"public static void delay(int ms){\r\n\t\t\r\n\t\ttry {\r\n\t\t\tThread.sleep(ms);\r\n\t\t} catch (InterruptedException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void sleep(int delay) {\n try {\n Thread.sleep(delay);\n } catch (InterruptedException e) {\n }\n }",
"public static void sleep1 () throws InterruptedException {\n\n // throws is cheaper way to get rid of exception\n Thread.sleep(2000);\n\n }",
"private void emulateDelay() {\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"public void wait(int milliseconds)\r\n {\r\n try\r\n {\r\n Thread.sleep(milliseconds);\r\n }\r\n catch (Exception e)\r\n {\r\n // ignoring exception at the moment\r\n }\r\n }",
"private long sleepForRandomAmountOfTime() throws InterruptedException {\n final long backOffMillis = zeroTo(MAX_BACK_OFF_MILLIS);\n if (LOGGER.isTraceEnabled()) {\n LOGGER.trace(\"Backing off for \" + backOffMillis + \"ms\");\n }\n Thread.sleep(backOffMillis);\n return backOffMillis;\n }",
"public static void sleepFor(int sec) throws InterruptedException {\n Thread.sleep(sec * 1000);\n }",
"protected void pause() {\n sleep(300);\n }",
"private static void addDelay() {\n try {\n Thread.sleep(4000);\n } catch (InterruptedException ignored) {\n }\n }",
"protected void sleep(final long millis) {\n try {\n Thread.sleep(millis);\n }\n catch (final InterruptedException ie) {\n // Ignore;\n }\n }",
"private static void sleep(int n) {\n try {\n TimeUnit.MILLISECONDS.sleep(n);\n } catch (InterruptedException e) {\n System.out.print(\"\\ndelay failed\");\n }\n }",
"private Sleep(Duration duration) {\n this.duration = duration;\n }",
"public void delay(long millisec) {\n try {\n Thread.sleep(millisec);\n } catch (InterruptedException e) {\n LOGGER.info(e.getMessage());\n }\n }",
"public static void sleep(long millis) {\n run(() -> Thread.sleep(millis));\n }",
"public static void sleep(double a){\n\n try {\n Thread.sleep((long)a*1000);\n } catch (InterruptedException e) {\n\n }\n\n }",
"public static void sleep(long ms) {\n try {\n Logger.trace(\"Sleeping for {} ms\", ms);\n Thread.sleep(ms);\n } catch (InterruptedException e) { // NOSONAR squid:S2142\n Logger.warn(\"Interrupted while sleeping for {} ms: {}\", ms, e.getMessage());\n Thread.currentThread().interrupt();\n }\n }",
"private static void attendre (int tms) {\n try {Thread.currentThread().sleep(tms);} \r\n catch(InterruptedException e){ }\r\n }",
"private static void attendre (int tms) {\n try {Thread.currentThread().sleep(tms);} \r\n catch(InterruptedException e){ }\r\n }",
"public static void sleep(int delay) {\n try {\n \t// int delay = (int)(Math.random()*maxDelay);\n Thread.sleep(delay);\n } catch (InterruptedException e) {}\n\t}",
"public static void sleep(long milis) {\n\t\ttry {\n\t\t\tThread.sleep(milis);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(1500);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tleave = false;\n\t\t\t\t}",
"public void sleep() {\n \t\thealth = maxHealthModifier;\n \t\ttoxicity = 0;\n \t}",
"private void sleep() {\n\t\tSystem.out.println(\"Ape sleeping\");\n\t}",
"private void sleepByScheduleTime() throws InterruptedException\n\t{\n\t\tjava.util.Calendar calendar = java.util.Calendar.getInstance();\n\t\tcalendar.setTime(new java.util.Date(System.currentTimeMillis()));\n\t\tint currHour = calendar.get(calendar.HOUR_OF_DAY);\n\t\tif ((24 - currHour) * 60 < 2 * FtpData.SCHEDULE_TIME)\n\t\t{\n\t\t\tsleep((FtpData.SCHEDULE_TIME + 1) * 60000); // 00h:01\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsleep(FtpData.SCHEDULE_TIME * 60000); // n * minutes;\n\t\t}\n\t}",
"private void delay() {\n\t\tDelay.msDelay(1000);\n\t}",
"public static void sleep(long millis) {\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch(Throwable ignored) {\n\t\t}\n\t}",
"public void waitForMilliSeconds(long number) {\n\n\t\ttry {\n\t\t\tThread.sleep(number);\n\t\t} catch (InterruptedException ie) {\n\n\t\t}\n\n\t}",
"private void thinking(){\n int sleepTime = (int)(Math.random()*2000);\n try{\n Thread.sleep(sleepTime);\n }catch (InterruptedException e){\n e.printStackTrace();\n }\n }",
"public static void randomDelay() {\n\n Random random = new Random();\n int delay = 500 + random.nextInt(2000);\n try {\n sleep(delay);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void sleep(int mul)\n {\n try {\n Thread.sleep(Driver.sleepTimeMs * mul);\n }\n catch (InterruptedException ex)\n {\n\n }\n }",
"@Override\n\tpublic void sleep() {\n\t\t((Application) application()).unlockEC();\n\t\tsuper.sleep();\n\t}",
"public static void wait(int ms){\n try\n {\n Thread.sleep(ms);\n }\n catch(InterruptedException ex)\n {\n Thread.currentThread().interrupt();\n }\n}",
"private static void waiting(int time) {\r\n\t\ttry {\r\n\t\t\tThread.sleep(time);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"protected void sleep() {\n\t\tSystem.out.println(\"human sleep\");\n\t}",
"private void simulateDelay(long millis) {\n try {\n Thread.sleep(millis);\n } catch (InterruptedException ignored) {\n }\n }",
"public void wait(int time) {\r\n\t\t\tsuper.sleep(time);\r\n\t\t}",
"private void delayStart() {\n try {\n Thread.sleep(3000);\n } catch (InterruptedException e) {\n LOGGER.error(\"Could not sleep\", e);\n }\n }",
"private void eating(){\n int sleepTime = (int)(Math.random()*2000);\n try{\n Thread.sleep(sleepTime);\n }catch (InterruptedException e){\n e.printStackTrace();\n }\n }",
"void doDaSleep(int milli)\n {\n try {\n Thread.sleep(milli);\n } catch (InterruptedException ex) {\n\n }\n }",
"public final void sleepBetweenActions()\n {\n long numOfMillis = Long\n .parseLong(getProperty(\"wait.between.user.actions.in.millis\"));\n if (numOfMillis > 10000)\n {\n numOfMillis = 10000;\n } else if (numOfMillis < 0)\n {\n numOfMillis = 0;\n }\n try\n {\n Thread.sleep(numOfMillis);\n } catch (InterruptedException e)\n {\n e.printStackTrace();\n }\n }",
"private long goToSleep(long lastSleepTime)\n\t{\n\t\tlong diff, sleepTime;\n\t\t\n\t\tdiff = System.currentTimeMillis() - lastSleepTime;\n sleepTime = PERIOD - lastSleepTime;\n if(sleepTime <= 0)\n sleepTime = 5;\n\n try \n {\n Thread.sleep(sleepTime);\n }\n catch(InterruptedException e){}\n\n return System.currentTimeMillis();\n\t}",
"private void DisplaySleep(){\n\n try {\n TimeUnit.SECONDS.sleep(1);\n }\n catch(InterruptedException e){}\n }",
"public static void sleep(Duration duration) {\n sleep(duration.toMillis());\n }",
"private void sleep(int seconds) {\n\n\t\ttry {\n\t\t\tTimeUnit.SECONDS.sleep(seconds);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private void waitToRetry()\n {\n final int sleepTime = 2000000;\n\n if (keepTrying)\n {\n try\n {\n Thread.sleep(sleepTime);\n }\n catch (Exception error)\n {\n log.error(\"Ignored exception from sleep - probably ok\", error);\n }\n }\n }",
"public void pause() {\n\t\tsleep(2000);\n\t}",
"private void sleepForChannelJoin() {\r\n\t\t\r\n\t\ttry {\r\n\t\t\tThread.sleep(config.getChannelJoinTimeout());\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"private void esperarPorFatherThread() {\n\t\ttry {\n\t\t\tThread.sleep(50000);\n\t\t} catch (InterruptedException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t}"
] | [
"0.80296314",
"0.79909146",
"0.7874053",
"0.7863317",
"0.7831738",
"0.7641712",
"0.7616972",
"0.7561248",
"0.7543931",
"0.751884",
"0.7512954",
"0.7504519",
"0.7457491",
"0.7440165",
"0.7427632",
"0.741087",
"0.739831",
"0.73944664",
"0.73224825",
"0.73215425",
"0.7306228",
"0.729939",
"0.7281666",
"0.7246851",
"0.72344685",
"0.7228308",
"0.72187257",
"0.7193754",
"0.71699864",
"0.7165642",
"0.7151928",
"0.7139063",
"0.71354246",
"0.71170133",
"0.70813805",
"0.7076274",
"0.7069772",
"0.7069168",
"0.7061194",
"0.704008",
"0.70398694",
"0.70157325",
"0.69928074",
"0.6992445",
"0.69875467",
"0.69565743",
"0.69548905",
"0.69497204",
"0.69497204",
"0.6929884",
"0.6929013",
"0.6928846",
"0.69271743",
"0.69231737",
"0.6922816",
"0.6909549",
"0.69022954",
"0.6888325",
"0.68873954",
"0.68793243",
"0.6867119",
"0.68655646",
"0.68506706",
"0.6849906",
"0.68457425",
"0.6842524",
"0.6834285",
"0.680855",
"0.67954254",
"0.6789017",
"0.6789017",
"0.67885685",
"0.67861366",
"0.67754245",
"0.674988",
"0.674905",
"0.6747173",
"0.67349637",
"0.6734861",
"0.67266214",
"0.67221403",
"0.671333",
"0.6684562",
"0.6682973",
"0.66711813",
"0.6648416",
"0.664421",
"0.66231036",
"0.66201985",
"0.6608932",
"0.6607554",
"0.6578177",
"0.65738535",
"0.656689",
"0.6566721",
"0.65595573",
"0.65563005",
"0.6546076",
"0.6541743",
"0.6530595",
"0.65291685"
] | 0.0 | -1 |
Constructor que guarda la superficie | public BouncingBallThread(SurfaceView view) {
this.superfView = view;
// Buscamos la imagen pelota
pelota = (BitmapDrawable) view.getContext().
getResources().getDrawable(R.drawable.pelota);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Supercar() {\r\n\t\t\r\n\t}",
"O() { super(null); }",
"public AntrianPasien() {\r\n\r\n }",
"protected Approche() {\n }",
"public Constructor(){\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"public Pasien() {\r\n }",
"protected Asignatura()\r\n\t{}",
"public MorteSubita() {\n }",
"private UsineJoueur() {}",
"public SlanjePoruke() {\n }",
"public Perro() {\n// super(\"No define\", \"NN\", 0); en caso el constructor de animal tenga parametros\n this.pelaje = \"corto\";\n }",
"public Anschrift() {\r\n }",
"public Clade() {}",
"public Alojamiento() {\r\n\t}",
"public Sobre() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"public Chauffeur() {\r\n\t}",
"protected abstract void construct();",
"protected Animal() {\t\r\n\t}",
"public Achterbahn() {\n }",
"public Coche() {\n super();\n }",
"private BaseDatos() {\n }",
"public CSSTidier() {\n\t}",
"public Lanceur() {\n\t}",
"public CarteCaisseCommunaute() {\n super();\n }",
"private ATCres() {\r\n // prevent to instantiate this class\r\n }",
"private Instantiation(){}",
"public void constructor() {\n setEdibleAnimals();\n }",
"public Cohete() {\n\n\t}",
"public Reserva(){super();}",
"private void __sep__Constructors__() {}",
"public DetArqueoRunt () {\r\n\r\n }",
"private CheckingTools() {\r\n super();\r\n }",
"private Rekenhulp()\n\t{\n\t}",
"public CuerpoCeleste() {\n\t\t// Start of user code constructor for CuerpoCeleste)\n\t\tsuper();\n\t\t// End of user code\n\t}",
"public Aktie() {\n }",
"protected Betaling()\r\n\t{\r\n\t\t\r\n\t}",
"public BaseParameters(){\r\n\t}",
"_ExtendsNotAbstract() {\n super(\"s\"); // needs this if not default ctor;\n }",
"public Chant(){}",
"public SuperProduct() {\n\t\tsuper();\n\t}",
"defaultConstructor(){}",
"private Converter()\n\t{\n\t\tsuper();\n\t}",
"public SingleRoom(Hotel hotel, String nomor_kamar)\n {\n // initialise instance variables\n super(hotel,nomor_kamar);\n\n }",
"private SingleObject(){}",
"public Tbdcongvan36() {\n super();\n }",
"public ConStructorInheritance(){\r\n\t\t\r\n\t\tSystem.out.println(\"Parent Class Constructor\");\r\n\t\t\r\n\t\t\r\n\t}",
"public Person(){\r\n\t\tsuper();\r\n\t}",
"public InsulinType(){\n super();\n }",
"public PSRelation()\n {\n }",
"public Caso_de_uso () {\n }",
"private ProfitPerTariffType ()\n {\n super();\n }",
"public Utilisateur() {\n\t\tsuper();\n\t}",
"public ChaCha()\n\t{\n\t\tsuper();\n\t}",
"public Boleta(){\r\n\t\tsuper();\r\n\t}",
"public Lotto2(){\n\t\t\n\t}",
"public b3(){\n super();\n }",
"public TCubico(){}",
"public aed(World paramaqu)\r\n/* 9: */ {\r\n/* 10: 24 */ super(paramaqu);\r\n/* 11: */ }",
"public Parent() {\n super();\n }",
"public Tigre() {\r\n }",
"public Orbiter() {\n }",
"public Boop() {\n\t\tsuper();\n\t}",
"public CyanSus() {\n\n }",
"public SuperClass(int x)\r\n {\r\n _x = x;\r\n }",
"public Generic(){\n\t\tthis(null);\n\t}",
"public Propuestas() {}",
"public Carrera(){\n }",
"public Comprador() {\n // initialise instance variables\n super(1,\"\",\"\",\"\",\"\",\"\"); //super(email, nome, password, dataNascimento, morada)\n favoritos = new ArrayList<String>();\n }",
"protected ChildType() {/* intentionally empty block */}",
"public Trening() {\n }",
"public Potencial() {\r\n }",
"public Supervisor(double salario) {\r\n super(salario);\r\n }",
"public Aritmetica(){ }",
"public Implementor(){}",
"public AllDifferent()\n {\n this(0);\n }",
"public AfiliadoVista() {\r\n }",
"public Corso() {\n\n }",
"public Cgg_jur_anticipo(){}",
"public Classe() {\r\n }",
"public Preventivo() {\n\n }",
"private BigB()\r\n{\tsuper();\t\r\n}",
"protected Product()\n\t{\n\t}",
"public Erreur() {\n\t}",
"private SingleObject()\r\n {\r\n }",
"ConstuctorOverloading(){\n\t\tSystem.out.println(\"I am non=argument constructor\");\n\t}",
"private TMCourse() {\n\t}",
"protected FanisamBato(){\n\t}",
"public TutorIndustrial() {}",
"public AirAndPollen() {\n\n\t}",
"protected Product() {\n\t\t\n\t}",
"public Competence() {\r\n\t\tsuper();\r\n\t}",
"public Student() {\n//\t\tname = \"\";\n//\t\tage = 0;\n\t\t\n\t\t\n\t\t//call constructors inside of other constructors\n\t\tthis(999,0);\n\t}",
"public CuentaDeposito() {\n super();\n }",
"public Nota() {\n }",
"public BarSeat(){\n\t\tsuper(1);\n\t}",
"public Transportista() {\n }",
"public NhanVien()\n {\n }",
"public AbstractClass() { //Sobrecarga del constructor AbstractClass ya que se puede inicializar de 2 maneras\n }",
"public bsm(PlayerStat paramtq)\r\n/* 7: */ {\r\n/* 8: 9 */ super(paramtq.e);\r\n/* 9:10 */ this.j = paramtq;\r\n/* 10: */ }",
"public Catelog() {\n super();\n }"
] | [
"0.7374487",
"0.713888",
"0.7065983",
"0.7049246",
"0.7037467",
"0.6996696",
"0.6987944",
"0.6925525",
"0.6829911",
"0.67979383",
"0.6747918",
"0.6739587",
"0.67368865",
"0.672853",
"0.6705354",
"0.6703886",
"0.67025155",
"0.66998154",
"0.6680022",
"0.66574585",
"0.66521657",
"0.6649689",
"0.66311663",
"0.6610478",
"0.660527",
"0.660474",
"0.6585073",
"0.65835094",
"0.65820074",
"0.6569109",
"0.65641487",
"0.65638876",
"0.6558256",
"0.6556462",
"0.6545381",
"0.65440464",
"0.65430176",
"0.6542787",
"0.6539375",
"0.6535059",
"0.65347844",
"0.65343845",
"0.65334445",
"0.65277475",
"0.6523438",
"0.6522503",
"0.6521502",
"0.6519867",
"0.65169626",
"0.6506338",
"0.64895815",
"0.6484608",
"0.647811",
"0.64740974",
"0.64736485",
"0.6459064",
"0.6456207",
"0.6453555",
"0.6448623",
"0.64417356",
"0.6440515",
"0.6434051",
"0.64318156",
"0.6423033",
"0.6403843",
"0.6400483",
"0.63946015",
"0.6392299",
"0.63913435",
"0.63899904",
"0.6387339",
"0.63859624",
"0.63780534",
"0.63759494",
"0.63712126",
"0.63688564",
"0.63670176",
"0.63590544",
"0.6352924",
"0.6348933",
"0.6335613",
"0.63353235",
"0.633493",
"0.6330266",
"0.63293904",
"0.6328048",
"0.63272876",
"0.6327073",
"0.6322821",
"0.6318868",
"0.63170403",
"0.63148797",
"0.6313741",
"0.63100314",
"0.63054454",
"0.63050556",
"0.6303862",
"0.6301492",
"0.6301354",
"0.6299003",
"0.62960196"
] | 0.0 | -1 |
end run() Evento que se lanza cada vez que es necesario dibujar la superficie | protected void doDraw(Canvas canvas) {
// Primera posición de la pelota en el centro
if (pos_x < 0 && pos_y < 0) {
pos_x = this.width / 2;
pos_y = this.height / 2;
} else {
// La nueva posición es la posición anterior + la velocidad en
// cada coordenada X e Y
pos_x += xVelocidad;
pos_y += yVelocidad;
// Si el usuario ha tocado la pelota cambiamos el sentido de
// la misma
if (touched && touched_x > (pos_x - pelota.getBitmap().getWidth())
&& touched_x < (pos_x + pelota.getBitmap().getWidth())
&& touched_y > (pos_y - pelota.getBitmap().getHeight())
&& touched_y < (pos_y + pelota.getBitmap().getHeight())) {
touched = false;
xVelocidad = xVelocidad * -1;
yVelocidad = yVelocidad * -1;
}
// Si pos_x es mayor que el ancho de la pantalla teniendo en
// cuenta el ancho de la pelota o la nueva posición es < 0
// entonces cambiamos el sentido de la pelota
if ((pos_x > this.width - pelota.getBitmap().getWidth()) ||
(pos_x < 0)) {
xVelocidad = xVelocidad * -1;
}
// Si pos_y es mayor que el alto de la pantalla teniendo en
// cuenta el alto de la pelota o la nueva posición es < 0
// entonces cambiamos el sentido de la pelota
if ((pos_y > this.height - pelota.getBitmap().getHeight()) ||
(pos_y < 0)) {
yVelocidad = yVelocidad * -1;
}
}
// Color gris para el fondo de la aplicación
canvas.drawColor(Color.LTGRAY);
// Dibujamos la pelota en la nueva posición
canvas.drawBitmap(pelota.getBitmap(), pos_x, pos_y, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void postRun() {\n\n\t}",
"public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}",
"@Override\n\tpublic void postRun() {\n\t}",
"public void run() {/* THE CODE HERE IS A THE @OVERRIDE FOR START() METHOD */\n\t}",
"@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}",
"protected void run() {\r\n\t\t//\r\n\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\tsuper.run();\r\n\t\t\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"void PostRun() {\n }",
"@Override\n public void run()\n {\n super.run();\n }",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"public void run() {\n super.run();\n }",
"public 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}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void run() {\n\t\tsuper.run();\n\t}",
"public void run() {\n\t\t\n\t}",
"public void run(){\n\t}",
"public static void run(){}",
"public void run() {\n\n\t}",
"public void run() {\n\n\t}",
"@Override\r\n\tabstract public void run();",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void run() {\n\n\t\t\t}",
"public void runEvent();",
"public void run() {\n\t\t\t\t\t\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}",
"public void run() {\n\t\t\r\n\t}",
"public void run() {\n\t\t\r\n\t}",
"@Override\n public void run(){\n }",
"@Override\n abstract public void run();",
"public void run()\n\t{\n\t}",
"public void consulterEvent() {\n\t\t\n\t}",
"public void run()\n\t\t{\n\t\t}",
"public void run()\r\n\t{\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void startEvent() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void startEvent() {\n\t\t\r\n\t}",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tisExit=false;\n\t\t\t\t}",
"@Override\r\n public void run() {}",
"@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n }",
"public abstract void run() ;",
"@Override\n public void preRun() {\n super.preRun();\n }",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"public void run() {\n\t}",
"public void run() {\n\t}",
"@Override\n\t\tpublic void run() {\n\n\t\t}",
"@Override\r\n\tpublic abstract void run();",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n\n }",
"@Override\n\tpublic void run()\n\t{\n\n\t}",
"@Override\n public void run() {\n sensitiva(\"rut\");\n }",
"public void run() {\n\t\t}",
"public void run() {\n\t\t}",
"public void run() {\n\t\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n\tpublic void run() {\n\t\t\n\t\t\t\t\t\t\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n public void run() {\n }",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"public void run() {\n }",
"public void run() {\n }",
"public void baocun() {\n\t\t\n\t}",
"@Override\n public void run() {\n }"
] | [
"0.73381084",
"0.72890896",
"0.720449",
"0.7136547",
"0.71042824",
"0.70685464",
"0.70372814",
"0.6946571",
"0.68399376",
"0.68319505",
"0.6823326",
"0.6823326",
"0.68215114",
"0.67885804",
"0.67604685",
"0.67604685",
"0.67574054",
"0.67574054",
"0.6754295",
"0.67507416",
"0.6736807",
"0.67315745",
"0.6708798",
"0.6708798",
"0.6685439",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.6682898",
"0.66812086",
"0.6673969",
"0.6653676",
"0.6653517",
"0.6653517",
"0.6646451",
"0.6646451",
"0.6639513",
"0.6638602",
"0.6634478",
"0.66303104",
"0.661697",
"0.6613982",
"0.6613388",
"0.6613388",
"0.6606561",
"0.66038275",
"0.6600127",
"0.65774965",
"0.65754145",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.65744877",
"0.6574229",
"0.6574229",
"0.6571072",
"0.6555484",
"0.6549678",
"0.6542106",
"0.6542106",
"0.6542106",
"0.6537703",
"0.6536073",
"0.65275687",
"0.6526014",
"0.6524647",
"0.6524647",
"0.6524647",
"0.65222317",
"0.65222317",
"0.65222317",
"0.6511179",
"0.6504513",
"0.6504513",
"0.6504513",
"0.6504513",
"0.6504513",
"0.6503077",
"0.6494837",
"0.6494837",
"0.6492046",
"0.6492046",
"0.6483632",
"0.64830893"
] | 0.0 | -1 |
Evento que se lanza cuando el usuario hace clic sobre la superficie | public boolean onTouch(MotionEvent event) {
// Obtenemos la posición del toque
touched_x = (int) event.getX();
touched_y = (int) event.getY();
// Obtenemos el tipo de Accion
int action = event.getAction();
//Log.e("Toque(X, Y)", " (" + touched_x + "," + touched_y + ")");
switch (action) {
// Cuando se toca la pantalla
case MotionEvent.ACTION_DOWN:
//Log.e("TouchEven ACTION_DOWN", "Usuario toca la pantalla ");
touched = true;
break;
// Cuando se desplaza el dedo por la pantalla
case MotionEvent.ACTION_MOVE:
touched = true;
//Log.e("TouchEven ACTION_MOVE", "Usuario desplaza dedo por la pantalla ");
break;
// Cuando levantamos el dedo de la pantalla que estábamos
// tocando
case MotionEvent.ACTION_UP:
touched = false;
//Log.e("TouchEven ACTION_UP", "Ya no tocamos la pantalla");
break;
// Cuando se cancela el toque. Es similar a ACTION_UP
case MotionEvent.ACTION_CANCEL:
touched = false;
//Log.e("TouchEven ACTION_CANCEL", " ");
break;
// El usuario ha tocado fuera del área de la interfaz del
// usuario
case MotionEvent.ACTION_OUTSIDE:
//Log.e("TouchEvenACTION_OUTSIDE", " ");
touched = false;
break;
default:
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOnActionClic(EventHandler<ActionEvent> evt){\n this.contarClic();\n\n //Ejecutar el evento del usuario\n }",
"public abstract void onFirstUserVisible();",
"@Override\n protected void onFirstUserVisible() {\n }",
"public void flagUser() {\n\t\tsuper.flagUser();\n\t}",
"public interface OnAvisoInteractionListener {\n Usuario getUsuario();\n}",
"@Override\n\t\t\tpublic void clicked(InputEvent event, float x, float y) {\n\t\t\t\tif (Constants.userID == 0) { // If no one is signed in\n\t\t\t\t\tdispose();\n\t\t\t\t\tgame.setScreen(new UserInfoScreen(game));\n\t\t\t\t} else { // If a user is currently signed in\n\t\t\t\t\tConstants.userID = 0;\n\t\t\t\t\tConstants.user = \"Temporary User\";\n\t\t\t\t\tcreate();\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tConfirmDialog.show(UI.getCurrent(), MESSAGE_1,\"\",\"Aceptar\",\"Crear mas Usuarios\",\n\t\t\t\t new ConfirmDialog.Listener() {\n\n\t\t\t\t public void onClose(ConfirmDialog dialog) {\t\n\t\t\t\t \tent= false;\n\t\t\t\t if (dialog.isConfirmed()) {\n\t\t\t\t // Confirmed to continue\t\n\t\t\t\t \tc.navegar((StartView.VIEW_NAME));\n\t\t\t\t } else {\n\t\t\t\t // User did not confirm\t\t\t \n\t\t\t\t \t//c.crearWindow(RegistrarUser.VIEW_NAME);\n\t\t\t\t \tc.navegar((StartView.VIEW_NAME));\n\t\t\t\t \n\t\t\t\t }\n\t\t\t\t \n\t\t\t\t }\n\t\t\t\t \n\t\t\t\t });\n\t\t\t\t\n\t\t\t\t//Notification nota= new Notification(\"Registro Exitoso!\",Notification.Type.HUMANIZED_MESSAGE);\n\t\t\t\t//nota.setDelayMsec(-1);\n\t\t\t\t//nota.show(Page.getCurrent());\t\n\t\t\t\t\n\t\t\t\tclose();\t\t\t\n\t\t\t}",
"public void onFingerUp(String idSensor) // evento que se genera al levantar el dedo del lector\n{\n objpantprincipal.repintarp();\n if (conectado == true)\n identificarPersona();\n}",
"private SecurityListener(){\n Bukkit.getPluginManager().registerEvents(this, SteveSus.getInstance());\n }",
"public void subeUsuario() {\n\t\tEditText nicknameText = (EditText) findViewById(R.id.nicknameEditText);\n\t\tstrNickname = nicknameText.getText().toString().trim();\n\t\t\n\t\tif (strNickname.equals(\"\")) {\n\t\t\tToast.makeText(this, \"Nickname no puede estar vacío\",Toast.LENGTH_LONG).show();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tguardarPreferences();\n\t\t\n\t\t//lanzamos un uploadService\n\t\tIntent uploadService = new Intent(getApplicationContext(),UploadUserService.class);\n\t\t\n\t\tuploadService.putExtra(\"id\", userId);\n\t\tuploadService.putExtra(\"nickname\", strNickname);\n\t\tuploadService.putExtra(\"mail\", strEmail);\n\t\tuploadService.putExtra(\"dob\", dayOfBirth);\n\t\tuploadService.putExtra(\"pass\", strPassword);\n\t\tuploadService.putExtra(\"genero\", gender);\n\t\tuploadService.putExtra(\"avatar\", strAvatar);\n\t\t\n\t\tstartService(uploadService);\n\t}",
"private void loggedInUser() {\n\t\t\n\t}",
"private void userSelected(MouseEvent e) {\n User user = getUser(e);\n if (user != null) {\n userListener.userClicked(user, e);\n }\n }",
"protected void accionUsuario() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void verificaUtentePrivilegiato() {\n\r\n\t}",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"@Override\n\tpublic void onSetCustomUserDataDone(LiveUserInfoEvent arg0) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\tcheckUser();\n\t\t\t}",
"@Override\n public void getStartedSignUpClicked() {\n\n }",
"@Override\n public void onResume() {\n if(currentUser != null){\n btnEnviar.setEnabled(false);\n DatabaseReference referenciaTipo = FirebaseDatabase.getInstance().getReference().child(\"usuarios\").child(currentUser);\n referenciaTipo.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n Usuarios usuarios = dataSnapshot.getValue(Usuarios.class);\n nombreUsuarioLog = usuarios.getNombre();\n textNombre.setText(nombreUsuarioLog);\n btnEnviar.setEnabled(true);\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }else{\n returnLogin();\n }\n super.onResume();\n }",
"private void abrirVentanaChatPrivada() {\n\t\tthis.chatPublico = new MenuVentanaChat(\"Sala\", this, false);\n\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tGUILogin in = new GUILogin(UserType.ADMIN);\n\t\t\t\tcloseFrame();\n\t\t\t}",
"@Override\n public void onClick(View view) {\n regUser();\n }",
"public void LogInOnAction(Event e) {\n\t \t\r\n\t \tif(BookGateway.getInstance().getAuthentication(this.userNameId.getText(), this.passwordId.getText())) {\r\n\t \t\tthis.whiteOutId.setVisible(false);\r\n\t \t\tthis.whiteOutId.setDisable(true);\r\n\t \t\t// TODO: Update label name in the corner.. \r\n\t \t\tthis.nameLabelId.setText(\"Hello, \" + BookGateway.currentUser.getFirstName());\r\n\t \t\r\n\t \t}else {\r\n\t \t\t// true\r\n\t \t\tmessAlert(\"Invalid\",\"Wrong Username or password\");\r\n\t \t\tthis.userNameId.setText(\"\");\r\n\t \t\tthis.passwordId.setText(\"\");\r\n\t \t\te.consume();\r\n\t \t}\r\n\t \t\r\n\t \t\r\n\t }",
"void onUserAdded();",
"public void controlloEventiGestione() {\n\t\t/**\n\t\t * Evento eliminazione Versamento \n\t\t */\n\t\tviewGestione.getBtnElimina().addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tif (JOptionPane.showConfirmDialog(null, \"Eliminare la quota?\") == 0\n\t\t\t\t\t\t&& viewGestione.getTable().getSelectedRow() != -1) {\n\t\t\t\t\tboolean esito = model.deleteQuota(quote.get(viewGestione.getTable().getSelectedRow()).getId());\n\t\t\t\t\tquote.remove(viewGestione.getTable().getSelectedRow());\n\t\t\t\t\tif (esito) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(viewGestione.getFrameGestQuote().getContentPane(),\n\t\t\t\t\t\t\t\t\"Versamento eliminato\");\n\t\t\t\t\t\tviewGestione.getFrameGestQuote().dispose();\n\t\t\t\t\t\tmostraGestioneQuote();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(viewGestione.getFrameGestQuote().getContentPane(),\n\t\t\t\t\t\t\t\t\"Versamento non eliminato\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/* \n\t\t *Evento ritorno all'AdminView\n\t\t */\n\t\tviewGestione.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\tviewGestione.getFrameGestQuote().dispose();\n\t\t\t}\n\t\t});\n\t}",
"public void ingresar_a_la_Opcion_de_eventos() {\n\t\t\n\t}",
"@Override\n public void onGranted() {\n }",
"@Override\n public void onGranted() {\n }",
"public void loginSuccess(@Observes org.jboss.seam.security.events.LoggedInEvent event) {\n try {\n log.info(\"Login successfully for user : \" + event.getUser().getId());\n FacesContext context = FacesContext.getCurrentInstance();\n HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();\n //Redirect to the home page\n if (identity.hasRole(\"admin\", \"crm\", \"GROUP\")\n || identity.hasRole(\"commercial\", \"crm\", \"GROUP\")) {\n context.getExternalContext().redirect(request.getContextPath() + \"/backoffice/home.jsf\");\n }else if(identity.hasRole(\"client\", \"crm\", \"GROUP\")){\n context.getExternalContext().redirect(request.getContextPath() + \"/frontoffice/home.jsf\");\n }\n //Sending welcome message\n messages.info(\"Bienvenue \"+event.getUser().getId());\n } catch (IOException ex) {\n log.error(ex.getMessage());\n }\n }",
"@Override\n public void onGranted() {\n }",
"@FXML\n\tpublic void enableMyUser(ActionEvent event) {\n\t\tif (!txtDisableMyUser.getText().isEmpty()) {\n\t\t\tSystemUser user = restaurant.returnUser(txtDisableMyUser.getText());\n\n\t\t\tif (user != null) {\n\t\t\t\ttry {\n\t\t\t\t\tuser.setCondition(Condition.ACTIVE);\n\t\t\t\t\trestaurant.saveUsersData();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"Tu usuario ha sido habilitado\");\n\t\t\t\t\tdialog.setTitle(\"Usuario Deshabilitado\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t\ttxtDisableMyUser.setText(\"\");\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"No se ha podido guardar el nuevo estado del usuario\");\n\t\t\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\tdialog.setContentText(\"Este usuario no existe\");\n\t\t\t\tdialog.setTitle(\"Error, usuario inexistente\");\n\t\t\t\tdialog.show();\n\t\t\t}\n\n\t\t} else {\n\t\t\tDialog<String> dialog = createDialog();\n\t\t\tdialog.setContentText(\"Todos los campos deben de ser llenados\");\n\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\tdialog.show();\n\t\t}\n\t}",
"@Override\n\tpublic void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {\n\t\tLog.i(\"userEventTriggered\", evt.getClass().getName());\n\t\tsuper.userEventTriggered(ctx, evt);\n\t}",
"@Override\n public void mouseClicked(MouseEvent evt) {\n if (evt.getButton() == MouseEvent.BUTTON1 && parent.getExtendedState() == JFrame.ICONIFIED) {\n MensajeTrayIcon(\"Modulo Envio ejecutandose en segundo plano\", TrayIcon.MessageType.INFO);\n }\n }",
"protected void notifyUser()\n {\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n if(e.getActionCommand() == \"Iniciar sesión\" ){\n this.mostrarDatosUsuario();\n this.entrar();\n }\n if(e.getActionCommand() == \"Registrate\" ){\n JOptionPane.showMessageDialog(null, \"Oprimió botón registrarse\" , \"Advertencia\", 1);\n }\n if(e.getActionCommand() == \"¿Olvidaste tu contraseña?\" ){\n JOptionPane.showMessageDialog(null, \"Oprimió botón recuperar contraseña\" , \"Advertencia\", 1);\n }\n if(e.getSource() == logintemplate.getBVerContraseña()){\n JOptionPane.showMessageDialog(null, \"Oprimido botón ver contraseña\" , \"Advertencia\", 1);\n }\n if(e.getSource() == logintemplate.getBVerMas()){\n JOptionPane.showMessageDialog(null, \"Oprimido botón ver mas\" , \"Advertencia\", 1);\n }\n }",
"public void consulterEvent() {\n\t\t\n\t}",
"private void teclouEnter() {\n //menu principal\n if (this.getFocusOwner() == listaMenuPrincipal) {\n if (listaMenuPrincipal.getSelectedIndex() == 0 || listaMenuPrincipal.getSelectedIndex() == 1) {\n LoginGerenteSupervisor janelaLoginGerenteSupervisor = new LoginGerenteSupervisor(this, true);\n janelaLoginGerenteSupervisor.setLocationRelativeTo(null);\n janelaLoginGerenteSupervisor.setVisible(true);\n //supervisor\n if (listaMenuPrincipal.getSelectedIndex() == 0) {\n if (janelaLoginGerenteSupervisor.loginSupervisor(true)) {\n panelSubMenu.setVisible(true);\n ((CardLayout) panelCard.getLayout()).show(panelCard, \"cardSupervisor\");\n listaSubMenuSupervisor.requestFocus();\n listaSubMenuSupervisor.setSelectedIndex(0);\n }\n }\n //gerente\n if (listaMenuPrincipal.getSelectedIndex() == 1) {\n if (janelaLoginGerenteSupervisor.loginGerente(true)) {\n panelSubMenu.setVisible(true);\n ((CardLayout) panelCard.getLayout()).show(panelCard, \"cardGerente\");\n listaSubMenuGerente.requestFocus();\n listaSubMenuGerente.setSelectedIndex(0);\n }\n }\n }\n //saida temporaria\n if (listaMenuPrincipal.getSelectedIndex() == 2) {\n if ((SessaoUsuario.statusCaixa == SC_ABERTO)) {\n int escolha = JOptionPane.showOptionDialog(this, \"Deseja fechar o caixa temporariamente?\", \"Pergunta do Sistema\",\n JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE,\n null, opcoesResposta, null);\n if (escolha == JOptionPane.YES_OPTION) {\n try {\n NfceControllerGenerico<NfceMovimentoVO> movimentoController = new NfceControllerGenerico<>();\n SessaoUsuario.movimento.setStatusMovimento(\"T\");\n SessaoUsuario.usuario = null;\n movimentoController.atualizar(SessaoUsuario.movimento);\n\n telaPadrao();\n\n MovimentoAberto ma = new MovimentoAberto(this, true);\n ma.setLocationRelativeTo(null);\n ma.setVisible(true);\n telaPadrao();\n } catch (Exception ex) {\n JOptionPane.showMessageDialog(this, \"Erro ao registrar a saída temporária.\\n\" + ex.getMessage(), \"Aviso do Sistema\", JOptionPane.ERROR_MESSAGE);\n }\n }\n } else {\n JOptionPane.showMessageDialog(this, \"Status do caixa não permite saída temporária.\", \"Aviso do Sistema\", JOptionPane.WARNING_MESSAGE);\n }\n }\n }\n //menu principal - submenu supervisor\n if (this.getFocusOwner() == listaSubMenuSupervisor) {\n //inicia movimento\n if (listaSubMenuSupervisor.getSelectedIndex() == 0) {\n iniciaMovimento();\n }\n //encerra movimento\n if (listaSubMenuSupervisor.getSelectedIndex() == 1) {\n encerraMovimento();\n }\n //suprimento\n if (listaSubMenuSupervisor.getSelectedIndex() == 3) {\n suprimento();\n }\n //sangria\n if (listaSubMenuSupervisor.getSelectedIndex() == 4) {\n sangria();\n }\n\n }\n //menu principal - submenu gerente\n if (this.getFocusOwner() == listaSubMenuGerente) {\n //inicia movimento\n if (listaSubMenuGerente.getSelectedIndex() == 0) {\n iniciaMovimento();\n }\n //encerra movimento\n if (listaSubMenuGerente.getSelectedIndex() == 1) {\n encerraMovimento();\n }\n //suprimento\n if (listaSubMenuGerente.getSelectedIndex() == 3) {\n suprimento();\n }\n //sangria\n if (listaSubMenuGerente.getSelectedIndex() == 4) {\n sangria();\n }\n }\n //menu operacoes\n if (this.getFocusOwner() == listaMenuOperacoes) {\n //carrega dav\n if (listaMenuOperacoes.getSelectedIndex() == 0) {\n if (SessaoUsuario.statusCaixa == SC_ABERTO) {\n CarregaOrcamento janelaCarregaOrcamento = new CarregaOrcamento(this, true);\n janelaCarregaOrcamento.setLocationRelativeTo(null);\n janelaCarregaOrcamento.setVisible(true);\n if (!janelaCarregaOrcamento.cancelado) {\n dav = janelaCarregaOrcamento.getOrcamento();\n if (dav != null) {\n fechaMenuOperacoes();\n try {\n carregaDAV();\n } catch (Exception e) {\n JOptionPane.showMessageDialog(this, \"Erro ao carregar o orçamento.\\n\" + e.getMessage(), \"Erro do Sistema\", JOptionPane.ERROR_MESSAGE);\n }\n }\n }\n } else {\n JOptionPane.showMessageDialog(this, \"Já existe uma venda em andamento.\", \"Aviso do Sistema\", JOptionPane.INFORMATION_MESSAGE);\n }\n }\n\n //seleciona certificado digital\n if (listaMenuOperacoes.getSelectedIndex() == 1) {\n if (SessaoUsuario.statusCaixa != SC_VENDA_EM_ANDAMENTO) {\n selecionaCertificado();\n } else {\n JOptionPane.showMessageDialog(this, \"Existe uma venda em andamento.\", \"Aviso do Sistema\", JOptionPane.INFORMATION_MESSAGE);\n }\n }\n\n //consulta status serviço\n if (listaMenuOperacoes.getSelectedIndex() == 2) {\n SessaoUsuario.statusServico();\n }\n\n }\n }",
"@Override\n public void onClick(ClickEvent event) {\n String mobileNr = content.getLoginView().getMobilenrTxtBox().getText();\n String password = content.getLoginView().getPasswordTxtBox().getText();\n\n // RPC authenticating user method\n motionCBSTestService.authorizeUser(mobileNr, password, new AsyncCallback<User>() {\n\n @Override\n public void onFailure(Throwable caught) {\n Window.alert(\"Der skete en fejl\");\n }\n\n @Override\n public void onSuccess(User user) {\n\n // Failed to match input with User in database\n if (user == null) {\n Window.alert(\"Wrong password or mobile number!\");\n } else if (user.getIsApproved() != true) {\n Window.alert(\"User not approved!\");\n } else\n\n\n\n // Here we check the type and if they are type 1 we go to admin view and the other way around\n if (user.getType() == 1) {\n adminController.loadUser(user);\n content.changeView(content.getMainAdminView());\n } else if (user.getType() == 2) {\n userController.loadUser(user);\n content.changeView(content.getMainUserView());\n }\n\n // Clearing the text fields (mobileNr & password) from the login screen\n content.getLoginView().clearTextBoxFields();\n }\n });\n }",
"@FXML private void manejadorBotonAceptar() {\n\t\tif (this.validarDatos()) {\n\t\t\tif (this.opcion == CREAR) {\n\t\t\t\tthis.usuario.setUsuario(this.campoTextoNombreUsuario.getText());\n\t\t\t\tthis.usuario.setContrasena(this.campoContrasena.getText());\n\t\t\t\tthis.usuario.setCorreoElectronico(this.campoCorreo.getText());\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Bloqueado\")\n\t\t\t\t\tthis.usuario.setStatus(0);\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Activo\")\n\t\t\t\t\tthis.usuario.setStatus(1);\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Baja\")\n\t\t\t\t\tthis.usuario.setStatus(2);\n\t\t\t\tthis.usuario.setGrupoUsuarioFk(listaGrupoUsuario.get(comboGrupoUsuario.getSelectionModel().getSelectedIndex()).getSysPk());\n\t\t\t\tthis.usuario.setEmpleadoFK(EmpleadoDAO.readEmpleadoPorNombre(this.mainApp.getConnection(), comboEmpleados.getSelectionModel().getSelectedItem()).getSysPK());\n\n\t\t\t\tif (UsuarioDAO.crear(this.mainApp.getConnection(), this.usuario)) {\n\t\t\t\t\tmanejadorBotonCerrar();\n\t\t\t\t\tNotificacion.dialogoAlerta(AlertType.INFORMATION, \"\", \"El registro se creo correctamente\");\n\t\t\t\t} else {\n\t\t\t\t\tNotificacion.dialogoAlerta(AlertType.INFORMATION, \"\", \"No se pudo crear el registro\");\n\t\t\t\t}//FIN IF-ELSE\n\t\t\t} else if (this.opcion == EDITAR) {\n\t\t\t\tthis.usuario.setUsuario(this.campoTextoNombreUsuario.getText());\n\t\t\t\tthis.usuario.setContrasena(this.campoContrasena.getText());\n\t\t\t\tthis.usuario.setCorreoElectronico(this.campoCorreo.getText());\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Bloqueado\")\n\t\t\t\t\tthis.usuario.setStatus(0);\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Activo\")\n\t\t\t\t\tthis.usuario.setStatus(1);\n\t\t\t\tif (comboStatus.getSelectionModel().getSelectedItem() == \"Baja\")\n\t\t\t\t\tthis.usuario.setStatus(2);\n\t\t\t\tthis.usuario.setGrupoUsuarioFk(listaGrupoUsuario.get(comboGrupoUsuario.getSelectionModel().getSelectedIndex()).getSysPk());\n\t\t\t\tthis.usuario.setEmpleadoFK(EmpleadoDAO.readEmpleadoPorNombre(this.mainApp.getConnection(), comboEmpleados.getSelectionModel().getSelectedItem()).getSysPK());\n\n\t\t\t\tif (UsuarioDAO.update(this.mainApp.getConnection(), this.usuario)) {\n\t\t\t\t\tmanejadorBotonCerrar();\n\t\t\t\t\tNotificacion.dialogoAlerta(AlertType.INFORMATION, \"\", \"El registro se modifico correctamente\");\n\t\t\t\t} else {\n\t\t\t\t\tNotificacion.dialogoAlerta(AlertType.INFORMATION, \"\", \"No se pudo modificar el registro, revisa la información sea correcta\");\n\t\t\t\t}//FIN IF-ELSE\n\t\t\t} else if (this.opcion == VER) {\n\t\t\t\tmanejadorBotonCerrar();\n\t\t\t}//FIN IF ELSE\n\t\t}//FIN METODO\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);\n\n cadastro = menu.findItem(R.id.action_cadastrar);\n vinte = menu.findItem(R.id.action_vinte_mais);\n mDataUser = FirebaseDatabase.getInstance().getReference().child(\"usuario\");\n\n if (mAuth.getCurrentUser() != null) {\n\n mDataUser.child(user.getUid()).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n String codi = dataSnapshot.getKey();\n String NomeMenu = dataSnapshot.child(\"nome\").getValue().toString();\n String EmailMenu = dataSnapshot.child(\"email\").getValue().toString();\n String imgMenu = dataSnapshot.child(\"imagem\").getValue().toString();\n String func = dataSnapshot.child(\"funcao\").getValue().toString();\n\n txtNome.setText(NomeMenu);\n if (func.toString().equals(\"vendedor\")){\n Intent intent = new Intent(MainActivity.this, TelaInicial.class);\n intent.putExtra(\"idForne\", NomeMenu);\n intent.putExtra(\"user_id\", codi);\n startActivity(intent);\n finish();\n //carregar(NomeMenu);\n //carregarDialog(NomeMenu);\n }\n\n if (func.toString().equals(\"admin\")){\n cadastro.setVisible(true);\n vinte.setVisible(true);\n carregarUsuarios();\n\n }else {\n cadastro.setVisible(false);\n vinte.setVisible(false);\n }\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n\n }\n\n return true;\n }",
"protected void onUserSettingsChanged(@Observes UserSettingsChangedEvent usc)\n {\n loadMenu();\n }",
"@Override\n\tpublic void doUser(UserInfo ui) {\n\n\t}",
"private void controladorUser(Controlador controlador){\n this.contUserCrearProyecto = controlador.getUserCrearProyecto();\n inicioUser.setControlCrearProyecto(contUserCrearProyecto);\n \n this.contUserCrearColectivo = controlador.getUserCrearColectivo();\n inicioUser.setControlCrearColectivo(contUserCrearColectivo);\n\n this.contInformes = controlador.getInformes();\n inicioUser.setControlSolicitarInformes(contInformes); \n \n this.contFiltrar = controlador.getFiltrar();\n inicioUser.setControlFiltrar(contFiltrar);\n\n this.contLimpiar = controlador.getLimpiarFiltro();\n inicioUser.setControlLimpiarFiltro(contLimpiar);\n }",
"public boolean didUserClick(){\n return userClick;\n }",
"@Override\n\tprotected void onResume()\n\t{\n\t\tsuper.onResume();\n\t\tAirtalkeeUserInfo.getInstance().setOnUserInfoListener(this);\n\t\tcheckBrodcast();\n\t}",
"@Override\n\t\t\t\t\tpublic void onEvent(Event event) throws Exception {\n\t\t\t\t\t\tMessagebox.Button button = (Messagebox.Button) event.getData();\n\t\t\t\t\t\tif (button == Messagebox.Button.YES) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tanalista.setiEstatus(EstatusPersonaFactory.getEstatusActivo());\n\t\t\t\t\t\t\t\t//EL METODO DICE ACTUTALIZARPERSONA\n\t\t\t\t\t\t\t\tsMaestros.acutalizarPersona(analista);\n\t\t\t\t\t\t\t\tcambiarAnalistas(0, null, null);\n\t\t\t\t\t\t\t\tnotifyChange(\"analistas\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void notifyPrivilege() {\n try {\n if (getClientInterface() != null)\n getClientInterface().notifyPrivilege();\n }\n catch (RemoteException e) {\n System.out.println(\"remote sending privilege error\");\n }\n }",
"@Override\n public void onClick(View view) {\n registerUser();\n\n\n }",
"@Override\r\n public void onClick(View v) {\n userLogin();\r\n }",
"@Override\r\n\t\t\t\t\tpublic void onLoginedNotify() {\n\t\t\t\t\t\tTypeSDKLogger.d( \"onLoginedNotify\");\r\n\t\t\t\t\t\thaimaLogout();\r\n\t\t\t\t\t\thaimaLogin();\r\n\t\t\t\t\t}",
"@Override\n public void trigger() {\n output.addNewEvent(\"Suspender Assinante \" + subscriber.getId() + \" da Central \" + central.getId());\n this.sucess = this.network.suspendSubscriberFromCentral(this.subscriber.getId(), this.central.getId());\n if (sucess) {\n output.addNewSignal(\"Assinante \" + this.subscriber.getId() + \" suspendida da Central \" + central.getId());\n } else {\n output.addNewSignal(\"Assinante \" + this.subscriber.getId() + \" não está conectado ou ativo à Central \" + central.getId());\n }\n }",
"@Override\n\tprotected boolean needUser(String eventName)\n\t{\n\t\treturn false;\n\t}",
"@Override\n protected void onStart() {\n checkUserStatus();\n super.onStart();\n }",
"private void LoginOwner() {\n Transaksi.setEnabled(false);\n Transaksi.setVisible(false);\n }",
"public void changerJoueur() {\r\n\t\t\r\n\t}",
"@Override\n public void onClick(View v) {\n requestPermissions((SireController) view.getContext(),false);\n }",
"@EventListener(condition = \"#event.domainObject.new\")\n\tpublic void onApplicationEventControllRights(DomainObjectStoreEvent<Task> event) {\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\ttask.setIsCheck(false);\n\t\t} else {\n\t\t\ttask.setIsCheck(true);\n\t\t}\n\t}",
"public void selecao () {}",
"@Override\n public void onApplicationEvent(ContextRefreshedEvent event) {\n\n //Prevent double bootstrap\n String systemUserName = \"user\";\n if (userRepository.findUserByName(systemUserName).isPresent()) {\n return;\n }\n\n User user = user(systemUserName, \"password\", asList(\"ROLE_USER\"));\n user.addCharacter(\"Avicus\");\n\n user(\"admin\", \"password\", asList(\"ROLE_USER\", \"ROLE_ADMIN\"));\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString ev = e.getActionCommand();\n\t\tif(ev.equals(\"Buscar Influyentes\")) {\n\t\t\tprincipal.buscarInfluyentes();\n\n\t\t}\n\t\telse if(ev.equals(\"Nivel De Alcance\")){\n\t\t\tprincipal.nivelDeAlcance();\n\t\t}\n\t\t\t\t\n\t\t\n\t}",
"public void registro(View v) {\n\t\tsubeUsuario();\n\t\tif (userId == -1) { // si es nuevo\n\t\t\tfinish(); // hay que dejar que el server devuelva el id y leerlo\n\t\t}\n\t}",
"protected void agregarUbicacion(){\n\n\n\n }",
"@Override\n protected void onStart() {\n checkUserStatus();\n\n super.onStart();\n }",
"@Override\n /**\n * Método que se centra en el campo email cuando se entra en el LoginView\n */\n public void enter(ViewChangeEvent event) {\n user.focus();\n }",
"@Override\n public void doAction(User user) {\n }",
"@Override\n public void run() {\n User user = new UserSessionDataSource(MainActivity.this).SelectTableUser();\n Grua grua = new GruaSessionDataSource(MainActivity.this).SelectTableUser();\n if(user.getId() == -1)\n return;\n Toast.makeText(getApplicationContext(),\"Entrando en modo desconectado\", Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(MainActivity.this, InitActivity.class);\n intent.putExtra(Register.JSON_USER, user.toJSON());\n intent.putExtra(Register.JSON_GRUA, grua.toJSON());\n startActivity(intent);\n }",
"@FXML\n\tpublic void disableMyUser(ActionEvent event) {\n\t\tif (!txtDisableMyUser.getText().isEmpty()) {\n\t\t\tSystemUser user = restaurant.returnUser(txtDisableMyUser.getText());\n\n\t\t\tif (user != null) {\n\t\t\t\ttry {\n\t\t\t\t\tuser.setCondition(Condition.INACTIVE);\n\t\t\t\t\trestaurant.saveUsersData();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"Tu usuario ha sido deshabilitado\");\n\t\t\t\t\tdialog.setTitle(\"Usuario Deshabilitado\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t\ttxtDisableMyUser.setText(\"\");\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\t\tdialog.setContentText(\"No se ha podido guardar el nuevo estado del usuario\");\n\t\t\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\t\t\tdialog.show();\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tDialog<String> dialog = createDialog();\n\t\t\t\tdialog.setContentText(\"Este usuario no existe\");\n\t\t\t\tdialog.setTitle(\"Error, usuario inexistente\");\n\t\t\t\tdialog.show();\n\t\t\t}\n\n\t\t} else {\n\t\t\tDialog<String> dialog = createDialog();\n\t\t\tdialog.setContentText(\"Todos los campos deben de ser llenados\");\n\t\t\tdialog.setTitle(\"Error al guardar datos\");\n\t\t\tdialog.show();\n\t\t}\n\t}",
"@Listen(\"onChange = #txtUsuario; onOK = #txtUsuario\")\r\n\tpublic void buscarPorLogin() {\r\n\t\tUsuario usuario = servicioUsuario.buscarPorLogin(txtUsuario.getValue());\r\n\t\tif (usuario != null)\r\n\t\t\tllenarCamposUser(usuario);\r\n\t\telse {\r\n\t\t\tmsj.mensajeAlerta(Mensaje.noHayRegistros);\r\n\t\t\tidUser = \"TODOS\";\r\n\t\t\ttxtUsuario.setValue(\"TODOS\");\r\n\t\t\tlblUsuario.setValue(\"TODOS\");\r\n\t\t\ttxtUsuario.setFocus(true);\r\n\t\t}\r\n\t}",
"@Override\n\t\tpublic void onCancel() {\n\t\t\tonLoginFinished(getErrorJsonbject(DOMException.CODE_USER_CANCEL, DOMException.MSG_USER_CANCEL), false);\n\t\t}",
"@Override\n public void mouseClicked(MouseEvent e) {\n if (userList.getSelectedIndex() < 0) {\n userList.setSelectedIndex(0);\n }\n String selectedItem = (String) userList.getSelectedValue();\n // load entry data from db\n currentUser = (DBUser) DBHandler.getSingleObject(\n \"FROM DBUser WHERE xname='\" + selectedItem + \"'\");\n // fill gui elements with data\n loadUserDetails(currentUser);\n // enable control buttons\n enableButtons(true);\n }",
"public static void tener_Usuario_activo() {\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='username']\").typeKeys(\"ocastro\");\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='password']\").setText(\"bogota2016\");\n\t\t\t\tdesktop.<DomButton>find(\"//BrowserApplication//BrowserWindow//input[@id='loginbtn']\").click();\n\t\t\t\t//end recording\n\t\t\t\tSerenity.takeScreenshot();\n\t}",
"@Override\n\t\t\t\t\tpublic void onEvent(Event event) throws Exception {\n\t\t\t\t\t\tMessagebox.Button button = (Messagebox.Button) event.getData();\n\t\t\t\t\t\tif (button == Messagebox.Button.YES) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tanalista.setiEstatus(EstatusPersonaFactory.getEstatusInactivo());\n\t\t//\t\t\t\tEL METODO DICE ACTUTALIZARPERSONA\n\t\t\t\t\t\tsMaestros.acutalizarPersona(analista);\n\t\t\t\t\t\tcambiarAnalistas(0, null, null);\n\t\t\t\t\t\tnotifyChange(\"analistas\");\n\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\t\t\tif (sTransaccion.validarAnalistaEnRequerimientos(analista)){\n//\t\t\t\t\t\t\t\t\t\t\tanalista.setiEstatus(EstatusPersonaFactory.getEstatusInactivo());\n//\t\t\t\t\t\t\t\t\t\t\t//EL METODO DICE ACTUTALIZARPERSONA\n//\t\t\t\t\t\t\t\t\t\t\tsMaestros.acutalizarPersona(analista);\n//\t\t\t\t\t\t\t\t\t\t\tcambiarAnalistas(0, null, null);\n//\t\t\t\t\t\t\t\t\t\t\tnotifyChange(\"analistas\");\n//\t\t\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t\t\t\telse\n//\t\t\t\t\t\t\t\t\t\t\tmostrarMensaje(\"Informacion\", \"No se Puede eliminar el analista, esta asignado a un requerimiento que esta activo\", Messagebox.EXCLAMATION, null, null, null);\n//\t\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\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}",
"public void notifyJoueurActif();",
"public void recuperandoDadosUsuarioescolhido(){\n Bundle bundle = getIntent().getExtras();\n if (bundle != null){\n if (bundle.containsKey(\"usuarioSelecionado\")){\n dadosDoUsuario = (Usuario) bundle.getSerializable(\"usuarioSelecionado\");\n }\n }\n\n // Configurando Toolbar\n\n toolbar.setTitle(dadosDoUsuario.getNome());\n setSupportActionBar(toolbar);\n getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n\n // Configurando Imagem\n if (dadosDoUsuario.getFoto() != null){\n if (!dadosDoUsuario.getFoto().isEmpty()){\n Uri url = Uri.parse(dadosDoUsuario.getFoto());\n Glide.with(getApplicationContext()).load(url).into(civFotoPerfil);\n }\n }\n\n // Configurando Seguidores Postagens e Seguindo\n\n //stPublicacao = String.valueOf(dadosDoUsuario.getPublicacoes());\n stSeguidores = String.valueOf(dadosDoUsuario.getSeguidores());\n stSeguindo = String.valueOf(dadosDoUsuario.getSeguindo());\n\n tvSeguindo.setText(stSeguindo);\n tvSeguidores.setText(stSeguidores);\n //tvPublicacao.setText(stPublicacao);\n\n // Configurando Referencia postagens Usuario Escolhido\n postagensUsuarioRef = ConfiguracaoFirebase.getFirebaseDatabase()\n .child(\"postagens\")\n .child(dadosDoUsuario.getId());\n\n // Inicializa o Universal Image Loader\n inicializarImageLoader();\n // Recupera as Postagens do nosso Banco de Dados\n carregarFotosPostagem();\n }",
"@Override\n public void beforePhase(PhaseEvent pe) {\n\n AccessController accessController = (AccessController) FacesUtils.getManagedObject(\"access\");\n accessController.doSecurity();\n }",
"@Override\n public void onClick(View v) {\n if (!validateInternetOn()) {\n return;\n }\n\n CsTigoApplication.getUserphoneHelper().deleteAll();\n ServiceEventEntity eventUpdate = CsTigoApplication.getServiceEventHelper().findByServiceCodServiceEventCod(\n 0, \"userphone.update\");\n\n Notifier.info(getClass(),\n \"Validando informacion antes de enviar mensaje.\");\n\n Notifier.info(getClass(),\n \"Se obtiene patron de mensajes y se crea el mensaje de texto\");\n String msg = MessageFormat.format(\n eventUpdate.getMessagePattern(),\n eventUpdate.getService().getServicecod());\n\n Notifier.info(getClass(),\n \"Se crean los datos de la entidad a ser enviada.\");\n\n entity = new PermissionService();\n entity.setServiceCod(eventUpdate.getService().getServicecod());\n entity.setEvent(eventUpdate.getServiceEventCod());\n entity.setRequiresLocation(eventUpdate.getRequiresLocation());\n\n Notifier.info(getClass(), \"Se creo la entidad a ser enviada\");\n\n endUserMark(msg,\n (GsmCellLocation) telephonyManager.getCellLocation());\n\n }",
"public void fechar() {\n\n try {\n geraLog.criaLog(codigoUsuario, \"Principal\", \"Fez Logoff do Sistema\");\n } catch (IOException ex) {\n Logger.getLogger(JfLogin.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);\n this.dispose();\n\n }",
"private void eventoSuperficie(){\n s1.setChecked(true);\n s2.setChecked(false);\n s3.setChecked(false);\n esquema.setImageDrawable(getResources().getDrawable(R.drawable.np3));\n PosicionBarrasReactor.setPosicionActual(PosicionBarrasReactor.SUPERFICIE);\n }",
"public void react()\r\n {\r\n backButton.setOnAction(e -> {\r\n //powrot do panelu uzytkownika\r\n Main.userPanel = new UserPanel();\r\n Main.userPanel.show();\r\n });\r\n }",
"@Override\n public void onClick(View view) {\n getUserRequest();\n }",
"@Override\n public void onUserClicked(Users users) {\n\n }",
"private void logUser() {\n }",
"@Override\n public void nickChanged(NickChangeEvent e) {\n synchronized (this.scheduledLogons) {\n AutoLogonRunnable alr = this.scheduledLogons.get(e.getOldUser().getNickName());\n \n if (alr != null) {\n alr.cancel();\n this.scheduledLogons.remove(e.getOldUser().getNickName());\n logger.debug(\"Auto logon for \" + e.getOldUser() + \" canceled\");\n }\n \n User u = this.userManager.getUser(e.getNewUser().getNickName());\n if (u != null && !this.userManager.isSignedOn(u)) {\n this.scheduleAutoLogon(e.getNewUser().getNickName());\n }\n }\n }",
"@Override\n protected boolean isCalledForCurrentUserLocked() {\n return true;\n }",
"@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tUser myUser = new User();\r\n\t\t\t\tmyUsers.add(myUser);\r\n\t\t\t\tSystem.out.println(\"guest added\");\r\n\t\t\t\t\r\n\t\t\t}",
"public void onDocumentoSubidoEventListener(DocumentoSubidoEvent event){}",
"public void handleUserSwtiched(int newUserId) {\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent(view.getContext(), PollCreationActivity.class);\n Bundle b = new Bundle();\n b.putSerializable(Constants.UserBundleKey, currentUser);\n intent.putExtras(b);\n startActivity(intent);\n }",
"@Override\n\tpublic void execute() {\n\t\tsecurity.on();\n\t}",
"@Override\n public void trigger() {\n output.addNewEvent(\"Assinante \" + subscriberReconnect.getId() + \" deseja reconectar sua última ligação\");\n if (this.subscriberReconnect.isFree()) {\n takePhone();\n reestablishConnection();\n }\n }",
"public VistaPrincipal(ControlUsuarios _controlador, String _nombreUsuario) {\n initComponents();\n this.setResizable(false);\n this.nombreUsuario = _nombreUsuario;\n this.controlador = _controlador;\n actualizarVista(nombreUsuario);\n addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent e) {\n acaba();\n }\n });\n imagenBotonNotificaciones = new ImageIcon(RUTA_RECURSOS+\"iconNotif.png\");\n imagenBotonAmigo = new ImageIcon(RUTA_RECURSOS+\"addFriend.png\");\n imagenConectado = new ImageIcon(RUTA_RECURSOS+\"puntoVerde.png\");\n imagenNoConectado = new ImageIcon(RUTA_RECURSOS+\"puntoRojo.png\");\n imagenEnJuego = new ImageIcon(RUTA_RECURSOS+\"puntoAzul.png\");\n botonNotificaciones.setIcon(imagenBotonNotificaciones);\n botonAgregarAmigo.setIcon(imagenBotonAmigo);\n seleccionConectados.addItemListener(this);\n listaAmigos.addListSelectionListener(this);\n }",
"@Override\n public void onClick(View v) {\n loginUser(\"999999\");\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(parentAct,UserSetingActivity.class);\n\t\t\t\tparentAct.startActivity(intent);\n\t\t\t}",
"@Override\n public void onLoggedInVerified(User user) {\n bakery.toastShort(user.getEmail());\n loadTaskActivity();\n }",
"@Override\n\tpublic void emprestimo(Livros livro, Usuarios usuario) {\n\t\t\n\t}",
"@Override\n public void onClick(View view) {\n registerUser();\n }",
"@Override\n public void onPermissionGranted() {\n }",
"private void completeTodoMenu(User u) {\n\t\t\n\t}",
"@Override\n\t\t\t\t\t\tpublic void onInvateComplet() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}",
"public void actionPerformed(ActionEvent evento) {\n\t\tif (evento.getSource() == janelaBanList.getMenuSair()) {\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\r\n\t\t// Caso o evento tenha ocorrido no botao Configurações.\r\n\t\telse if (evento.getSource() == janelaBanList.getMenuAlternarConta()) {\r\n\t\t\tnew JanelaAlternarConta(janelaBanList);\r\n\t\t}\r\n\r\n\t\t// Caso o evento tenha ocorrido no botao Banir.\r\n\t\telse if (evento.getSource() == janelaBanList.getBotaoBanir()) {\r\n\t\t\tbanirUsuario();\r\n\t\t}\r\n\t\t\r\n\t\t// Caso o evento tenha ocorrido no menu Desbanir.\r\n\t\telse if (evento.getSource() == janelaBanList.getMenuDesbanir()) {\r\n\t\t\tdesbanirUsuario();\r\n\t\t}\r\n\t}"
] | [
"0.6629634",
"0.6332593",
"0.62818086",
"0.61787415",
"0.6164076",
"0.6136444",
"0.61157435",
"0.60633475",
"0.6013103",
"0.5991281",
"0.5989825",
"0.5985694",
"0.5975104",
"0.5939385",
"0.59242034",
"0.59242034",
"0.5917717",
"0.59035414",
"0.5896876",
"0.58365273",
"0.58269536",
"0.5806805",
"0.57794285",
"0.57790035",
"0.57730937",
"0.5771714",
"0.57691276",
"0.5764309",
"0.5764309",
"0.5744125",
"0.5741948",
"0.57404524",
"0.57398283",
"0.57253504",
"0.5714903",
"0.57120436",
"0.5711172",
"0.5704696",
"0.5696697",
"0.56804234",
"0.56770724",
"0.5673272",
"0.56668466",
"0.566603",
"0.56501734",
"0.5645288",
"0.5641765",
"0.56254447",
"0.5623815",
"0.5620471",
"0.56175303",
"0.5606916",
"0.56035113",
"0.5585849",
"0.55850303",
"0.5576816",
"0.55733883",
"0.5561464",
"0.5556538",
"0.55555594",
"0.55516535",
"0.55458915",
"0.554415",
"0.5543262",
"0.5542847",
"0.55378485",
"0.55361193",
"0.55265933",
"0.5526393",
"0.55175704",
"0.55148906",
"0.55126673",
"0.5510386",
"0.551024",
"0.5508357",
"0.5508335",
"0.5507467",
"0.55057114",
"0.55055994",
"0.55053234",
"0.55007136",
"0.5499893",
"0.54950637",
"0.549283",
"0.5490301",
"0.5489828",
"0.5484718",
"0.54816806",
"0.5469538",
"0.546423",
"0.54620504",
"0.5455817",
"0.545579",
"0.54540104",
"0.5450969",
"0.5443881",
"0.54436725",
"0.54435194",
"0.54416007",
"0.5441502",
"0.54405916"
] | 0.0 | -1 |
recibe el archivo, obtiene un stream de datos y convierte este a un workbook | public Workbook readFromMultiparFile(MultipartFile file) throws Exception {
try {
InputStream is = file.getInputStream();
Workbook workbook = StreamingReader.builder().rowCacheSize(100).bufferSize(4096).open(is);
return workbook;
} catch (Exception ex) {
log.error(ex.getMessage());
throw new Exception(ex);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<StockTransaction> readStream(String fileName) throws IOException {\n FileInputStream fileInputStream = new FileInputStream(fileName);\n HSSFWorkbook workbook = new HSSFWorkbook(fileInputStream);\n HSSFSheet sheet = workbook.getSheetAt(0);\n Iterator rowIterator = sheet.rowIterator();\n List<StockTransaction> transactionList = new ArrayList<StockTransaction>();\n\n if(rowIterator.hasNext()){\n // ignoring the headers\n rowIterator.next();\n }\n\n while(rowIterator.hasNext()){\n HSSFRow row = (HSSFRow) rowIterator.next();\n Iterator cellIterator = row.cellIterator();\n try{\n HSSFCell cell = (HSSFCell) cellIterator.next();\n int stockId = (int)cell.getNumericCellValue();\n String transactionType = ((HSSFCell) cellIterator.next()).getRichStringCellValue().getString();\n String companyName = ((HSSFCell) cellIterator.next()).getRichStringCellValue().getString();\n int quantity = (int)((HSSFCell) cellIterator.next()).getNumericCellValue();\n\n if(transactionType.equalsIgnoreCase(\"Buy\")){\n transactionList.add(new StockTransaction(StockTransaction.TransactionType.BUY, quantity, new Stock(stockId, companyName)));\n }else{\n transactionList.add(new StockTransaction(StockTransaction.TransactionType.SELL, quantity, new Stock(stockId, companyName)));\n }\n\n }catch (Exception ex){\n ex.printStackTrace();\n }\n }\n\n return transactionList;\n }",
"public void streamData(String pathToFile) throws IOException;",
"void readExcel(File existedFile) throws Exception;",
"InputStream getDataStream();",
"protected InputStream getInputStream() throws IOException\n\t {\n\t FileInputStream fin = new FileInputStream(fFilename);\n\t BufferedInputStream bin = new BufferedInputStream(fin);\n\t return bin;\n\t }",
"public java.io.InputStream getBinaryStream(int columnIndex)\n throws SQLException\n {\n return m_rs.getBinaryStream(columnIndex);\n }",
"public FileInputStream getFileInputStream(){\n\t\t//String filePath=System.getProperty((\"user.dir\")+\"\\\\src\\\\test\\\\java\\\\data\\\\userData.xlsx\");\n\t\tString filePath=System.getProperty(\"user.dir\")+\"/src/test/java/data/userData.xlsx\";\n\t\t//String filePath=System.getProperty((\"user.dir\")+\"src/test/java/data/userData.xlsx\");\n\t\tFile srcFile=new File(filePath);\n\t\ttry {\n\t\t\tfis=new FileInputStream(srcFile);\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"Test Data file not found.terminating process!! :Check file path of test data file\");\n\t\t}\n\n\t\treturn fis;\n\t}",
"public static void outputData(HSSFWorkbook workbook, String fileName) {\n \ttry {\n\t\t\tfileName = URLEncoder.encode(fileName + \".xls\", \"utf-8\");\n\t\t} catch (UnsupportedEncodingException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n ServletActionContext.getResponse().setHeader(\"Cache-Control\", \"\");\n ServletActionContext.getResponse().setContentType(\n \"application/data;charset=UTF-8\");\n ServletActionContext.getResponse().setHeader(\"Content-Disposition\",\n \"attachment; filename=\" + fileName);\n OutputStream out = null;\n try {\n out = new BufferedOutputStream(ServletActionContext.getResponse()\n .getOutputStream());\n workbook.write(out); // 输出文件\n out.flush();\n }\n catch (IOException e) {\n log.error(e.toString());\n }\n finally {\n FileUtils.close(out);\n }\n }",
"public InputStream getBinaryStream(int columnIndex) throws SQLException {\n\n try {\n debugCodeCall(\"getBinaryStream\", columnIndex);\n return get(columnIndex).getInputStream();\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"private byte[] getStreamArquivo(File arquivo) throws IOException\n\t{\n\t\t/* Define o tamanho do buffer a ser lido do arquivo (max 32kb),\n\t\t * faz a criacao de um buffer em memoria para ir armazenando os dados\n\t\t * lidos e entao apos a leitura faz o envio dos dados para o GPP\n\t\t */\n\t\tint sizeBuffer = Integer.parseInt(getPropriedade(\"ordemVoucher.tamanhoBufferArquivos\"));\n\t\tFileInputStream fileInput = new FileInputStream(arquivo);\n\t\tByteArrayOutputStream bufferArquivo = new ByteArrayOutputStream();\n\n\t\tbyte[] data = new byte[sizeBuffer];\n\t\tint count=0;\n\t\twhile ( (count = fileInput.read(data)) != -1 )\n\t\t\tbufferArquivo.write(data,0,count);\n\t\t\n\t\treturn bufferArquivo.toByteArray();\n\t}",
"private InputStream openContentStream(String selectedTableName, String fileName, Template template) {\n\t\t\n\t\tProjectUtils projectUtils = new ProjectUtils();\n\t\tIProject proj = projectUtils.getProject(selection);\n\t\t\n\t\t\n\t\tUtils utils = new Utils();\n\t\t\n\t\tutils.getSourceFolder(proj);\n\t\t\n\t\t\n\t\t\n Map<String, Object> mapRoot = new HashMap<String, Object>();\n mapRoot.put(\"package\", \"br.pacote.kkk\");\n mapRoot.put(\"classname\", fileName);\n mapRoot.put(\"tablename\", selectedTableName.substring(0, 1).toUpperCase() + selectedTableName.substring(1).toLowerCase());\n \n \n\t\t\n\t\t\n\t\tParseTemplate parseTemplate = new ParseTemplate();\n\t\tString sourceCode = null;\n\t\ttry {\n\t\t\tsourceCode = parseTemplate.loadTemplateFromFile(utils.PluginPath()+\"/templates\", template.getTemplatefile(), mapRoot);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn new ByteArrayInputStream(sourceCode.getBytes());\n\t}",
"@Override\n public InputStream openStream() throws IOException\n {\n return new FileInputStream(temp);\n }",
"public byte[] readJobExportFile(String fileName) {\n\n\t\tString filePath = env.getProperty(\"export.file.path\");\n\t\t// filePath += \"/\" + fileName +\".xlsx\";\n\n\t\tfilePath += \"/\" + fileName + \".xlsx\";\n\n\t\t// log.debug(\"PATH OF THE READ EXPORT FILE*********\"+filePath);\n\t\tFile file = new File(filePath);\n\t\t// log.debug(\"NAME OF THE READ EXPORT FILE*********\"+file);\n\n\t\tFileInputStream fileInputStream = null;\n\t\tbyte job_excelData[] = null;\n\n\t\ttry {\n\n\t\t\tFile readJobFile = new File(filePath);\n\t\t\tjob_excelData = new byte[(int) readJobFile.length()];\n\n\t\t\t// read file into bytes[]\n\t\t\tfileInputStream = new FileInputStream(file);\n\t\t\tfileInputStream.read(job_excelData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (fileInputStream != null) {\n\t\t\t\ttry {\n\t\t\t\t\tfileInputStream.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\treturn job_excelData;\n\n\t}",
"@Override\r\n public void execute(Workbook workbook) {\n InputStream fileStream = this.getResourceStream(\"xlsx/Employee absence schedule.xlsx\");\r\n workbook.open(fileStream);\r\n }",
"public static void demo3() throws IOException, Exception {\n\n // HSSFWorkbook, File\n NPOIFSFileSystem fs = new NPOIFSFileSystem(new File(\"file.xls\"));\n HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot(), true);\n fs.close();\n\n // HSSFWorkbook, InputStream, needs more memory\n NPOIFSFileSystem fs2 = new NPOIFSFileSystem(new FileInputStream(\"MyExcel.xlsx\"));\n HSSFWorkbook wb2 = new HSSFWorkbook(fs2.getRoot(), true);\n\n // XSSFWorkbook, File\n OPCPackage pkg = OPCPackage.open(new File(\"file.xlsx\"));\n XSSFWorkbook wb3 = new XSSFWorkbook(pkg);\n pkg.close();\n\n // XSSFWorkbook, InputStream, needs more memory\n OPCPackage pkg2 = OPCPackage.open(new FileInputStream(\"MyExcel.xlsx\"));\n XSSFWorkbook wb4 = new XSSFWorkbook(pkg);\n pkg.close();\n }",
"public default InputStream getBinaryStream() throws JdbxException\n\t{\n\t\treturn get(GetAccessors.BINARYTREAM);\n\t}",
"public void testExportToStream() throws FileNotFoundException {\n List<SheetDataDto> data = new ArrayList<SheetDataDto>();\n RowDataDto headerRow = new RowDataDto();\n headerRow.getCells().add(new CellDataDto(\"Col 1\", CellDataTypeEnum.TEXT));\n headerRow.getCells().add(new CellDataDto(\"Col 2\", CellDataTypeEnum.TEXT));\n headerRow.getCells().add(new CellDataDto(\"Col 3\", CellDataTypeEnum.TEXT));\n headerRow.getCells().add(new CellDataDto(\"Col 4\", CellDataTypeEnum.TEXT));\n\n SheetDataDto sheet1 = new SheetDataDto();\n sheet1.setName(\"First sheet\");\n sheet1.setHeaderRow(headerRow);\n\n RowDataDto row1 = new RowDataDto();\n row1.getCells().add(new CellDataDto(1d, CellDataTypeEnum.NUMBER));\n row1.getCells().add(new CellDataDto(\"IF(A2 > 0, \\\"1\\\", \\\"0\\\")\", CellDataTypeEnum.FORMULAR));\n row1.getCells().add(new CellDataDto(\"123456789\", CellDataTypeEnum.NUMBER));\n row1.getCells().add(new CellDataDto(new Date(), CellDataTypeEnum.DATE));\n\n sheet1.getRows().add(row1);\n data.add(sheet1);\n\n OutputStream out1 = new FileOutputStream(new File(\"t2-out.xls\"));\n excelExportingService.exportToExcel(null, out1, data, ExcelFormatTypeEnum.XLS);\n\n InputStream in2 = getClass().getResourceAsStream(\"/exportData/t2-in.xlsx\");\n OutputStream out2 = new FileOutputStream(new File(\"t2-out.xlsx\"));\n sheet1.setName(\"Append Sheet\");\n sheet1.setSheetIndex(0);\n excelExportingService.exportToExcel(in2, out2, data, ExcelFormatTypeEnum.XLSX);\n }",
"public void getExportedBookDataXlsFileByUser(){\n File mPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS);\n //String pathName = mPath.getPath() + \"/\" + \"sample_wordbook_daum.xls\";\n //Manager_SystemControl.saveFileFromInputStream(databaseInputStream,pathName);\n\n final Manager_FileDialog managerFileDialog = new Manager_FileDialog(this, mPath, \".xls\");\n managerFileDialog.addFileListener(new Manager_FileDialog.FileSelectedListener() {\n public void fileSelected(File file) {\n managerFileDialog.removeFileListener(this);\n new LoadDaumXlsFile(WordListActivity.this,file.getPath()).execute();\n }\n });\n managerFileDialog.showDialog();\n }",
"public static void main(String[] args) throws IOException {\nFileInputStream f=new FileInputStream(\"D:\\\\AccuSelenium\\\\Ram\\\\TEST\\\\TestData\\\\LoginData.xls\");\nHSSFWorkbook w=new HSSFWorkbook(f);\nHSSFSheet s=w.getSheet(\"sheet1\");\nSystem.out.println(s.getRow(1));\n}",
"public InputStream getBinaryStream(String columnName) throws SQLException {\n\n try {\n debugCodeCall(\"getBinaryStream\", columnName);\n return get(columnName).getInputStream();\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public String read_XL_Data(String path,String sheet,int row,int cell) throws EncryptedDocumentException, FileNotFoundException, IOException \r\n{\r\n\tString data=\"\";\r\n\r\n\tWorkbook wb = WorkbookFactory.create(new FileInputStream(path));\r\n\tdata=wb.getSheet(sheet).getRow(row).getCell(cell).toString();\r\n\t\r\n\treturn data;\r\n}",
"public FileData export() {\n\t\ttry(Workbook workbook = createWorkbook();\n\t\t\tByteArrayOutputStream outputStream = new ByteArrayOutputStream();) {\n\t\t\tsheet = workbook.createSheet();\n\t\t\tcreateRows();\n\t\t\tworkbook.write(outputStream);\n\t\t\treturn getExportedFileData(outputStream.toByteArray());\n\t\t} catch (IOException ex) {\n\t\t\tthrow new RuntimeException(\"error while exporting file\",ex);\n\t\t}\n\t}",
"private InputStream getFileFromResourceAsStream(String fileName) {\n\n // The class loader that loaded the class\n ClassLoader classLoader = getClass().getClassLoader();\n InputStream inputStream = classLoader.getResourceAsStream(fileName);\n\n // the stream holding the file content\n if (inputStream == null) {\n throw new IllegalArgumentException(\"file not found! \" + fileName);\n } else {\n return inputStream;\n }\n\n }",
"public void guardarArchivoXLS(HSSFWorkbook libro)\r\n {\r\n JFileChooser fileChooserAlumnos = new JFileChooser();\r\n \r\n //filtro para ver solo archivos .xls\r\n fileChooserAlumnos.addChoosableFileFilter(new FileNameExtensionFilter(\"todos los archivos *.XLS\", \"xls\",\"XLS\"));\r\n int seleccion = fileChooserAlumnos.showSaveDialog(null);\r\n \r\n try{\r\n \t//comprueba si ha presionado el boton de aceptar\r\n if (seleccion == JFileChooser.APPROVE_OPTION){\r\n File archivoJFileChooser = fileChooserAlumnos.getSelectedFile();\r\n FileOutputStream archivo = new FileOutputStream(archivoJFileChooser+\".xls\");\r\n libro.write(archivo); \r\n JOptionPane.showMessageDialog(null,\"Se guardó correctamente el archivo\", \"Guardado exitoso!\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n }catch (Exception e){\r\n JOptionPane.showMessageDialog(null,\"Error al guardar el archivo!\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }",
"public void updateBinaryStream(String columnName, InputStream x) throws SQLException {\n\n updateBinaryStream(columnName, x, -1);\n }",
"public static List<InputDto> readXLSXFile(File file) throws Exception {\n List<InputDto> inputDtos = new ArrayList<>();\n\n Integer i = 0;\n InputStream ExcelFileToRead = new FileInputStream(file);\n XSSFWorkbook wb = new XSSFWorkbook(ExcelFileToRead);\n\n XSSFWorkbook test = new XSSFWorkbook();\n\n XSSFSheet sheet = wb.getSheetAt(0);\n XSSFRow row;\n XSSFCell cell;\n\n Iterator rows = sheet.rowIterator();\n// ss = new String[sheet.getLastRowNum()];\n sheet.getLastRowNum();\n while (rows.hasNext()) {\n InputDto input = new InputDto();\n row = (XSSFRow) rows.next();\n Iterator cells = row.cellIterator();\n if (row.getRowNum() == 0) {\n continue; //just skip the rows if row number is 0 or 1\n }\n String s = \"\";\n while (cells.hasNext()) {\n cell = (XSSFCell) cells.next();\n\n if (cell.getCellType() == HSSFCell.CELL_TYPE_STRING) {\n// System.out.print(cell.getStringCellValue() + \" \");\n s += cell.getStringCellValue().trim() + \"|\";\n } else if (cell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC) {\n// System.out.print(cell.getNumericCellValue() + \" \");\n s += cell.getRawValue().trim() + \"|\";\n } else if (cell.getCellType() == HSSFCell.CELL_TYPE_BLANK) {\n// System.out.print(cell.getNumericCellValue() + \" \");\n s += cell.getStringCellValue().trim() + \"|\";\n }\n /*else {\n //U Can Handel Boolean, Formula, Errors\n }*/\n }\n if (!s.equals(\"\") && s.split(\"\\\\|\").length == 8) {\n input.setLoadName(s.split(\"\\\\|\")[6]);\n input.setLoadSize(s.split(\"\\\\|\")[1]);\n input.setLoadDate(s.split(\"\\\\|\")[0]);\n input.setLoadPath(s.split(\"\\\\|\")[4]);\n input.setLoadType(s.split(\"\\\\|\")[2]);\n input.setCicsName(s.split(\"\\\\|\")[5]);\n input.setRowId(s.split(\"\\\\|\")[7]);\n System.out.println(input.getRowId());\n inputDtos.add(input);\n// ss[i] = s;\n\n } else {\n throw new Exception(\"EXCEL DATA IS NOT COMPELETED\");\n }\n i++;\n }\n\n return inputDtos;\n }",
"public java.io.InputStream getBinaryStream(String columnName)\n throws SQLException\n {\n return m_rs.getBinaryStream(columnName);\n }",
"public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {\n\n updateBinaryStream(columnIndex, x, -1);\n }",
"private Workbook getWorkBook(String filename) throws java.io.IOException {\n CurrentFileName = filename;\n FileInputStream file = new FileInputStream(new File(filename));\n\n if (filename.endsWith(\".xlsx\") || filename.endsWith(\".xlsm\")) {\n return new XSSFWorkbook(file);\n\n } else if (filename.endsWith(\".xls\")) {\n return new HSSFWorkbook(file);\n }\n\n throw new IllegalArgumentException(filename + \" is not an Excel file\");\n\n }",
"public byte[] readEmployeeExportExcelFile(String fileName) {\n\n\t\tString filePath = env.getProperty(\"export.file.path\");\n\t\t// filePath += \"/\" + fileName +\".xlsx\";\n\n\t\tfilePath += \"/\" + fileName + \".xlsx\";\n\n\t\t// log.debug(\"PATH OF THE READ EXPORT FILE*********\"+filePath);\n\t\tFile file = new File(filePath);\n\t\t// log.debug(\"NAME OF THE READ EXPORT FILE*********\"+file);\n\n\t\tFileInputStream fileInputStream = null;\n\t\tbyte emp_excelData[] = null;\n\n\t\ttry {\n\n\t\t\tFile readFile = new File(filePath);\n\t\t\temp_excelData = new byte[(int) readFile.length()];\n\n\t\t\t// read file into bytes[]\n\t\t\tfileInputStream = new FileInputStream(file);\n\t\t\tfileInputStream.read(emp_excelData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (fileInputStream != null) {\n\t\t\t\ttry {\n\t\t\t\t\tfileInputStream.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\treturn emp_excelData;\n\n\t}",
"public void intializeExcel(String path) throws Exception{\n//\t\topen a input stream\n\t\t fis = new FileInputStream(path);\n\n\t\t//create a workbook object\n\t\t wb = new XSSFWorkbook(fis);\n\t\t\n\t}",
"public void setWorkbook(Workbook workbook){\n this.workbook = workbook;\n }",
"private InputStream openContentStream() {\n\t\tString contents =\n\t\t\t\"This is the initial file contents for *.opera file that should be word-sorted in the Preview page of the multi-page editor\";\n\t\treturn new ByteArrayInputStream(contents.getBytes());\n\t}",
"public static void read(String path) throws IOException {\r\n File inputWorkbook = new File(path);\r\n Workbook w;\r\n WorkbookSettings ws=new WorkbookSettings();\r\n ws.setEncoding(\"Cp1252\");\t\t\t// encoder so that special characters remains the same\r\n Cell c1,c2,c3,c4,c5;\r\n int s1;\r\n String s2,s3,s4,s5;\r\n try {\r\n w = Workbook.getWorkbook(inputWorkbook,ws);\r\n // Get the first sheet\r\n Sheet sheet = w.getSheet(0);\r\n \r\n for(int i=0;i<sheet.getRows();i++){\t\t\t// iteration contiues untill the last row\r\n \tc1=sheet.getCell(0,i);\t\t\t\t\t// fetch data from cell of 0th column and ith row\r\n \ts1=Integer.parseInt(c1.getContents());\r\n \tc2=sheet.getCell(1, i);\r\n \ts2=c2.getContents();\r\n \tc3=sheet.getCell(2, i);\r\n \ts3=c3.getContents();\r\n \tc4=sheet.getCell(3, i);\r\n \ts4=c4.getContents();\r\n \tc5=sheet.getCell(4, i);\r\n \ts5=c5.getContents();\r\n // \tSystem.out.println(s1+\"\\t\"+s2+\"\\t\"+s3+\"\\t\"+s4+\"\\t\"+s5);\r\n \tOperations.add(s1, s2, s3, s4, s5);\r\n \t\r\n }\r\n JOptionPane.showMessageDialog(null,\"Inserted Successfully\");\r\n\r\n } catch (Exception e) {\r\n \tJOptionPane.showMessageDialog(null,\"Error :: \\n\"+e.getMessage());\r\n }\r\n }",
"public void analizarArchivo(){\n\t\ttry{\n\t\t\twhile((caracter = inputStream.read())!=-1){\n\t\t\t\testado = analizador.analizarSimbolo(caracter);\n\t\t\t\t//outputStream.write(analizador.simbolo);\n\t\t\t\thistoriaStream.write(formatoEstado(estado));\n\t\t\t\tif(estado == 18 ){//La palabra es web o ebay\n\t\t\t\t\toutputStream.write(\"Auto: Línea [\"+analizador.numero_lineas+\"] Palabra: ebay \\n\");\n\t\t\t\t}else if(estado == 146){\n\t\t\t\t\toutputStream.write(\"Auto: Línea [\"+analizador.numero_lineas+\"] Palabra: web \\n\");\n\t\t\t\t}\n\t\t\t\tif(analizador.isPalabra == true || analizador.isLinea == true){\n\t\t\t\t\thistoriaStream.write(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"Num. palabras: \"+analizador.numero_palabras+\" Numero líneas: \"+analizador.numero_lineas+\" Numero correctas: \"+analizador.numero_correctas);\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public InputStream getStream() {\n final CircularByteBuffer cbb = new CircularByteBuffer(1024);\n new Thread(\n new Runnable(){\n public void run(){\n ZipOutputStream zos = new ZipOutputStream(cbb.getOutputStream());\n Utils.zipDir(getVolume(), requestedDirectory.getPath(), zos);\n\n try {\n if (zos != null) {\n zos.flush();\n zos.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n ).start();\n\n return cbb.getInputStream();\n }",
"public InputStream readFile( String fileName, FileType type );",
"public InputStream readDocumentAsStream(String path) ;",
"public FileOutputStream generateFinance14Report(List<Finance14Dto> Finance14DtoList,String fileName) throws IOException, ClassNotFoundException, SQLException {\n\t\tFile file=new File(fileName);\n\n\t\tString sheetName = \"Sheet1\";// name of sheet\n\n//\t\tResultSet resultSet = getDatabase(villageId,yearmonth);\n\t\tXSSFWorkbook workbook = new XSSFWorkbook(); \n\t XSSFSheet spreadsheet = workbook\n\t \t .createSheet(sheetName);\n\t \t XSSFRow row=spreadsheet.createRow(1);\n\t \t /* XSSFRow row1 = spreadsheet.createRow(2);*/\n\t \t XSSFCell cell;\n\t \t cell=row.createCell(1);\n\t \t cell.setCellValue(\"vid\");\n\t \t cell=row.createCell(2);\n\t \t cell.setCellValue(\"month\");\n\t \t cell=row.createCell(3);\n\t \t cell.setCellValue(\"year\");\n\t \t cell=row.createCell(4);\n\t \t cell.setCellValue(\"Total work\");\n\t \t cell=row.createCell(5);\n\t \t cell.setCellValue(\"Works approved\");\n\t \t cell=row.createCell(6);\n\t \t cell.setCellValue(\"Project not started\");\n\t \t cell=row.createCell(7);\n\t \t cell.setCellValue(\"Progress\");\n\t \t cell=row.createCell(8);\n\t \t cell.setCellValue(\"Completed\");\n\t \t cell=row.createCell(9);\n\t \t cell.setCellValue(\"Grant allocated\");\n\t \t cell=row.createCell(10);\n\t \t cell.setCellValue(\"Amount spent\");\n\t \t /* cell=row.createCell(11);\n\t \t cell.setCellValue(\"entry date\");*/\n\t \t \n\t \t int i=2;\n\t \t for(Finance14Dto finance14Dto:Finance14DtoList)\n//\t \t while(resultSet.next())\n\t \t {\n\t \t row=spreadsheet.createRow(i);\n\t \t /* row1=spreadsheet.createRow(i+1);*/\n\t \t cell=row.createCell(1);\n\t \t cell.setCellValue(finance14Dto.getVillageId());\n\t \t cell=row.createCell(2);\n\t \t cell.setCellValue(finance14Dto.getMonth());\n\t \t cell=row.createCell(3);\n\t \t cell.setCellValue(finance14Dto.getYear());\n//\t \t /* spreadsheet.addMergedRegion(new CellRangeAddress(3, 3, 4, 4));*/\n\t \t cell=row.createCell(4);\n\t \t cell.setCellValue(finance14Dto.getTotalWork());\n\t \t cell=row.createCell(5);\n\t \t cell.setCellValue(finance14Dto.getWorksApproved());\n\t \t cell=row.createCell(6);\n\t \t cell.setCellValue(finance14Dto.getProjectNotStarted());\n\t \t cell=row.createCell(7);\n\t \t cell.setCellValue(finance14Dto.getProgress());\n\t \t cell=row.createCell(8);\n\t \t cell.setCellValue(finance14Dto.getCompleted());\n\t \t cell=row.createCell(9);\n\t \t cell.setCellValue(finance14Dto.getGrantAllocated());\n\t \t cell=row.createCell(10);\n\t \t cell.setCellValue(finance14Dto.getAmountSpent());\n\t \t /*cell=row.createCell(11);\n\t \t cell.setCellValue(finance14Dto.getEntryDate());*/\n\t \t i++;\n\t \t }\n\t \t FileOutputStream out = new FileOutputStream(\n\t \t file);\n\t \t workbook.write(out);\n\t \t out.close();\n\t \t System.out.println(\n\t \t \"exceldatabase.xlsx written successfully\");\n\t \t \n\t \treturn out;\n\t}",
"@Override\n\tpublic void run() {\n\t\tHSSFWorkbook wb = null;\n\t\tHSSFWorkbook outWb = new HSSFWorkbook();\n\t\ttry {\n\t\t\twb = new HSSFWorkbook(new FileInputStream(options.getInputFile()));\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tif(wb != null) {\n\t\t\tHSSFSheet newSheet = outWb.createSheet(\"copy\");\n\t\t\t// copy sheet from original file\n\t\t\tExcelUtil.copySheets(newSheet, wb.getSheetAt(0));\n\t\t\tgroupRows(newSheet);\n\t\t\tList<Integer> errorRows = processData(newSheet);\n\t\t\tcreateReport(outWb, errorRows);\n\t\t\t\n\t\t\t\t\t\t\n\t\t}\n\t\t\n\t\t// write file\n\t\tFileOutputStream fileOut = null;\n\t\ttry {\n\t\t\tfileOut = new FileOutputStream(\"workbook.xls\");\n\t\t\toutWb.write(fileOut);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally {\t\t\t \n\t\t try {\n\t\t\t\tfileOut.close();\n\t\t\t} catch (IOException 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\t\n\t}",
"public void descargarArchivo()throws SQLException, IOException {\n //conexion con el resultset\n st = cn.createStatement();\n\n // consulta de descarga el getId es la variable que utilizo para ubicarme en la base de datos\n ResultSet rs = st.executeQuery(\"select anexo_justi, nombre FROM anexoitem where iditem=\"+rt.getId());\ntry {\n \nrs.next();\n// pone en la variable el nombre del archivo de la base de datos\nnombre= rs.getString(\"nombre\");\n// inserta la ruta completa\nFile file = new File(rt.getPath()+nombre);\n// salida del archivo de flujo\nFileOutputStream output = new FileOutputStream(file);\nBlob archivo = rs.getBlob(1);\nInputStream inStream = archivo.getBinaryStream();\n// almacenamiento del tamaño y descarga byte a byte\nint length= -1;\nint size = (int) archivo.length();\nbyte[] buffer = new byte[size];\nwhile ((length = inStream.read(buffer)) != -1) {\noutput.write(buffer, 0, length);\nJOptionPane.showMessageDialog(null,\"El archivo se descargo correctamente\");\n// output.flush();\n\n}\n// inStream.close();\noutput.close();\n} catch (Exception ioe) {\nthrow new IOException(ioe.getMessage());\n}\n}",
"private InputStream getFileFromResourceAsStream(String fileName) {\n ClassLoader classLoader = getClass().getClassLoader();\n InputStream inputStream = classLoader.getResourceAsStream(fileName);\n\n // the stream holding the file content\n if (inputStream == null) {\n throw new IllegalArgumentException(\"file not found! \" + fileName);\n } else {\n return inputStream;\n }\n }",
"public void descargarArchivoVeri()throws SQLException, IOException {\n //conexion con el resultset\n st = cn.createStatement();\n\n // consulta de descarga el getId es la variable que utilizo para ubicarme en la base de datos\n ResultSet rs = st.executeQuery(\"select anexo_veri, nombre FROM anexoverificacion where idverificacion=\"+rt.getId());\ntry {\n \nrs.next();\n// pone en la variable el nombre del archivo de la base de datos\nnombre= rs.getString(\"nombre\");\n// inserta la ruta completa\nFile file = new File(rt.getPath()+nombre);\n// salida del archivo de flujo\nFileOutputStream output = new FileOutputStream(file);\nBlob archivo = rs.getBlob(1);\nInputStream inStream = archivo.getBinaryStream();\n// almacenamiento del tamaño y descarga byte a byte\nint length= -1;\nint size = (int) archivo.length();\nbyte[] buffer = new byte[size];\nwhile ((length = inStream.read(buffer)) != -1) {\noutput.write(buffer, 0, length);\nJOptionPane.showMessageDialog(null,\"El archivo se descargo correctamente\");\n// output.flush();\n\n}\n// inStream.close();\noutput.close();\n} catch (Exception ioe) {\nthrow new IOException(ioe.getMessage());\n}\n}",
"public final InputStream getInStream(String filename) throws IOException {\n\t\tint pos = filename.indexOf(\".bin\");\n\t\tsendMessage((pos > -1) ? filename.substring(0, pos) : filename);\n\t\treturn getInStreamImpl(filename);\n\t}",
"public static void main(String[] args) throws UnsupportedEncodingException, FileNotFoundException {\n InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(\"riddles.xls\");\n\t\t\n InputStream is = new FileInputStream(new File(\"C:\\\\Users\\\\sean\\\\workspace\\\\mlymoon\\\\src\\\\main\\\\resources\\\\riddles.xls\"));\n\t\tExcelUtil eu = new ExcelUtil();\n List<Object> ls = eu.importDataFromExcel(new Item(), in, \"riddles.xls\");\n for(Object item : ls){\n \t Item i = (Item) item;\n \t System.out.println(i.getAnswer()+\"##\"+i.getConundrum());\n }\n String[] excelHeader = { \"所属区域(地市)\", \"机房\", \"机架资源情况\", \n \t \"\", \"端口资源情况\", \"机位资源情况\", \"\", \"\", \"设备资源情况\", \n \t \"\", \"\", \"IP资源情况\", \"\", \"\", \"\", \"\", \"网络设备数\" };\n /*ApplicationContext context = \n\t new ClassPathXmlApplicationContext(\"appContext.xml\");\n\t CustomerService customerService = context.getBean(\"customerService\",CustomerService.class);\n List<Customer> customers=customerService.findAll(null, null);\n FileOutputStream fout = new FileOutputStream(\"I:/students.xls\"); \n\t\tExcelUtil eu = new ExcelUtil();\n\t\teu.exportDataToExcel(customers, excelHeader, \"dddddd\", fout);*/\n\t}",
"protected abstract InputStream getInStreamImpl(String filename) throws IOException;",
"private void gerarArquivoExcel() {\n\t\tFile currDir = getPastaParaSalvarArquivo();\n\t\tString path = currDir.getAbsolutePath();\n\t\t// Adiciona ao nome da pasta o nome do arquivo que desejamos utilizar\n\t\tString fileLocation = path.substring(0, path.length()) + \"/relatorio.xls\";\n\t\t\n\t\t// mosta o caminho que exportamos na tela\n\t\ttextField.setText(fileLocation);\n\n\t\t\n\t\t// Criação do arquivo excel\n\t\ttry {\n\t\t\t\n\t\t\t// Diz pro excel que estamos usando portguês\n\t\t\tWorkbookSettings ws = new WorkbookSettings();\n\t\t\tws.setLocale(new Locale(\"pt\", \"BR\"));\n\t\t\t// Cria uma planilha\n\t\t\tWritableWorkbook workbook = Workbook.createWorkbook(new File(fileLocation), ws);\n\t\t\t// Cria uma pasta dentro da planilha\n\t\t\tWritableSheet sheet = workbook.createSheet(\"Pasta 1\", 0);\n\n\t\t\t// Cria um cabeçario para a Planilha\n\t\t\tWritableCellFormat headerFormat = new WritableCellFormat();\n\t\t\tWritableFont font = new WritableFont(WritableFont.ARIAL, 16, WritableFont.BOLD);\n\t\t\theaderFormat.setFont(font);\n\t\t\theaderFormat.setBackground(Colour.LIGHT_BLUE);\n\t\t\theaderFormat.setWrap(true);\n\n\t\t\tLabel headerLabel = new Label(0, 0, \"Nome\", headerFormat);\n\t\t\tsheet.setColumnView(0, 60);\n\t\t\tsheet.addCell(headerLabel);\n\n\t\t\theaderLabel = new Label(1, 0, \"Idade\", headerFormat);\n\t\t\tsheet.setColumnView(0, 40);\n\t\t\tsheet.addCell(headerLabel);\n\n\t\t\t// Cria as celulas com o conteudo\n\t\t\tWritableCellFormat cellFormat = new WritableCellFormat();\n\t\t\tcellFormat.setWrap(true);\n\n\t\t\t// Conteudo tipo texto\n\t\t\tLabel cellLabel = new Label(0, 2, \"Elcio Bonitão\", cellFormat);\n\t\t\tsheet.addCell(cellLabel);\n\t\t\t// Conteudo tipo número (usar jxl.write... para não confundir com java.lang.number...)\n\t\t\tjxl.write.Number cellNumber = new jxl.write.Number(1, 2, 49, cellFormat);\n\t\t\tsheet.addCell(cellNumber);\n\n\t\t\t// Não esquecer de escrever e fechar a planilha\n\t\t\tworkbook.write();\n\t\t\tworkbook.close();\n\n\t\t} catch (IOException e1) {\n\t\t\t// Imprime erro se não conseguir achar o arquivo ou pasta para gravar\n\t\t\te1.printStackTrace();\n\t\t} catch (WriteException e) {\n\t\t\t// exibe erro se acontecer algum tipo de celula de planilha inválida\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"@Override\n\tpublic Integer obtenerTamanioFilasArchivoExcel(final InputStream inputStreamArchivo) throws SICException {\n\t\tInteger tamanio = null;\n\t\tWorkbook workbook = null;\n\t\tSheet sheet = null;\n\t\ttry {\n\t\t\tif (inputStreamArchivo != null) {\n\t\t\t\tworkbook = WorkbookFactory.create(inputStreamArchivo);\n\t\t\t\tif (workbook != null) {\n\t\t\t\t\tsheet = workbook.getSheetAt(0);\n\t\t\t\t\ttamanio = sheet.getLastRowNum();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLOG_SICV2.error(\"Error al obtener el tamanio de las filas del archivo. {}\", e.getMessage());\n\t\t\tthrow new SICException(\"Error al obtener el tamanio de las filas del archivo. {}\", e.getMessage());\n\t\t}\n\t\treturn tamanio;\n\t}",
"public static void Read() throws IOException {\n\t\tFile file = new File(\"C:\\\\Users\\\\villu\\\\Documents\\\\Book12.xlsx\");\n\t\tFileInputStream excel= new FileInputStream(file);\n\t\tXSSFWorkbook workbook= new XSSFWorkbook(excel);\n\t\tXSSFSheet sheet= workbook.getSheetAt(0);\n\t\tIterator<Row> rowIterator=sheet.iterator();\n\t\twhile(rowIterator.hasNext()) {\n\t\t\tRow rowvalue=rowIterator.next();\n\t\t\tIterator<Cell> columnIterator=rowvalue.cellIterator();\n\t\t\tint i = 1;\n\t\t\twhile(columnIterator.hasNext()) \n\t\t\t{\n\t\t\t\tif(i==1) {\n\t\t\t\t\tFirst_Name.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==2)\n\t\t\t\t{\n\t\t\t\t\tMiddle_Name.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==3)\n\t\t\t\t{\n\t\t\t\t\tLast_Name.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==4)\n\t\t\t\t{\n\t\t\t\t\tUser_Name.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==5)\n\t\t\t\t{\n\t\t\t\t\tEmployee_Id.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==6)\n\t\t\t\t{\n\t\t\t\t\tPassword.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse if(i==7)\n\t\t\t\t{\n\t\t\t\t\tGender.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tMarital_Status.add(columnIterator.next().toString());\n\t\t\t\t\t}\n\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t}workbook.close();\n\t\n}",
"public ByteArrayOutputStream TransfomForWS(ByteArrayInputStream fileData) throws ParserConfigurationException{\r\n\t\tByteArrayOutputStream resultData=new ByteArrayOutputStream();\r\n\t\tfinal InputStream xslStream = XSLTLoader.class.getClassLoader().getResourceAsStream(this.xslStyleSheet);\r\n\t\tfinal TransformerFactory f = TransformerFactory.newInstance();\r\n\t\t\r\n\t\t\r\n\t\t final DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();\r\n\t\t \r\n\t\tf.setURIResolver(new URIResolver() {\r\n\r\n\t\t\tpublic Source resolve(String href, String base) throws TransformerException {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tClassLoader cl = this.getClass().getClassLoader();\r\n\t\t\t\t\tjava.io.InputStream in = cl.getResourceAsStream(href);\r\n\r\n\t\t\t\t InputSource xslInputSource = new InputSource(in);\r\n\t\t\t\t Document xslDoc;\r\n\t\t\t\t\txslDoc = dBuilder.parse(xslInputSource);\r\n\t\t\t\t\tDOMSource xslDomSource = new DOMSource(xslDoc);\r\n\t\t\t\t xslDomSource.setSystemId(\"xslt/\" + href);\r\n\t\t\t\t return xslDomSource;\r\n\t\t\t\t} catch (SAXException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t});\r\n\t\tTransformer transformer=null;\r\n\t\ttry {\r\n\t\t\ttransformer = f.newTransformer(new StreamSource(xslStream));\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\ttransformer.transform(new StreamSource(fileData), new StreamResult(resultData));\r\n\t\t} catch (TransformerException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn resultData;\r\n\t}",
"private String[] readFile(InputStream stream) throws StorageException {\r\n try {\r\n return readFile(new BufferedReader(new InputStreamReader(stream)));\r\n } catch (Exception exception) {\r\n throw new StorageException(\"Cannot read file \");\r\n }\r\n }",
"public static void demoReadAll(){\n try{\n //Read entire file bytes. Return in byte format. Don't need to close() after use. \n byte[] b = Files.readAllBytes(Paths.get(\"country.txt\"));\n String s = new String(b);\n System.out.println(s);\n }\n catch(IOException e){\n e.printStackTrace();\n }\n }",
"@Override\n\tpublic void loadData() throws FileNotFoundException {\n\t\tthis.getPromoShare();\n\t}",
"FileObject getFile();",
"FileObject getFile();",
"public InputStream getStream();",
"public ByteArrayInputStream loadFile(MultipartFile file) {\n\t\tlong heapSize = Runtime.getRuntime().totalMemory(); \n\n\t\t// Get maximum size of heap in bytes. The heap cannot grow beyond this size.// Any attempt will result in an OutOfMemoryException.\n\t\tlong heapMaxSize = Runtime.getRuntime().maxMemory();\n\n\t\t // Get amount of free memory within the heap in bytes. This size will increase // after garbage collection and decrease as new objects are created.\n\t\tlong heapFreeSize = Runtime.getRuntime().freeMemory(); \n\t\t\n\t\tSystem.out.println(\"heap Size = \"+heapSize);\n\t\tSystem.out.println(\"heap max size = \"+heapMaxSize);\n\t\tSystem.out.println(\"heap free size = \"+heapFreeSize);\n\n\t\tArrayList<MaterialData> material_datas = new ArrayList<MaterialData>();\n\n//\t\t 1. Read all data convert them into material object\n\t\ttry {\n\t\t\tmaterial_datas = parseExcelFile(file.getInputStream());\n//\t\t\t\tSystem.out.println(lst_data.toString());\n\t\t} catch (IOException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\n//\t\t\t 2. Process and Store the result data into output excel \n\t\ttry {\n\t\t\tByteArrayInputStream in = ClassificationDataToExcel(material_datas);\n\t\t\treturn in;\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\n\t}",
"void writeExcel(File newFile) throws Exception;",
"public static void main(String[] args) {\n String filePath=\"C:\\\\down\\\\gogo.xls\";\r\n \r\n HSSFWorkbook workbook = new HSSFWorkbook(); // 새 엑셀 생성\r\n HSSFSheet sheet = workbook.createSheet(\"sheet1\"); // 새 시트(Sheet) 생성\r\n HSSFRow row = sheet.createRow(0); // 엑셀의 행은 0번부터 시작\r\n HSSFCell cell = row.createCell(0); // 행의 셀은 0번부터 시작\r\n cell.setCellValue(\"data\"); //생성한 셀에 데이터 삽입\r\n try {\r\n FileOutputStream fileoutputstream = new FileOutputStream(\"C:\\\\down\\\\gogo.xls\");\r\n workbook.write(fileoutputstream);\r\n fileoutputstream.close();\r\n System.out.println(\"엑셀파일생성성공\");\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n System.out.println(\"엑셀파일생성실패\");\r\n }\r\n\r\n}",
"public String ReadFile(String sFilePath) throws Exception {\n File f = null;\n FileInputStream fstream = null;\n String stemp = \"\";\n try {\n //getting file oject\n f = new File(sFilePath);\n //get object for fileinputstream\n fstream = new FileInputStream(f);\n //getting byte array length\n byte data[] = new byte[fstream.available()];\n //getting file stream data into byte array\n fstream.read(data);\n //storing byte array data into String\n stemp = new String(data);\n return stemp;\n } catch (Exception e) {\n throw new Exception(\"ReadFile : \" + e.toString());\n } finally {\n try {\n fstream.close();\n } catch (Exception e) {\n }\n }\n }",
"public ArrayList<String> getData(String testcaseName) throws IOException\n{\n//fileInputStream argument\nArrayList<String> a=new ArrayList<String>();\n\nFileInputStream fis=new FileInputStream(\"D://TestCases.xlsx\");\nXSSFWorkbook workbook=new XSSFWorkbook(fis);\n\nint sheets=workbook.getNumberOfSheets();\n}",
"private void openWorkbook(File file) throws FileNotFoundException,\n IOException {\n try (FileInputStream fis = new FileInputStream(file)) {\n this.workbook = WorkbookFactory.create(fis);\n this.evaluator = this.workbook.getCreationHelper().createFormulaEvaluator();\n this.formatter = new DataFormatter(true);\n }\n }",
"public void readBinary(RandomAccessFile stream) {\r\n\t\t\r\n\t\t// Create a byte array for all the string fields with the max length\r\n\t\tbyte[] dateByte = new byte[dateLength];\r\n\t\tbyte[] stratumByte = new byte[stratumLength];\r\n\t\tbyte[] raceOtherByte = new byte[raceOtherLength];\r\n\t\tbyte[] diagOtherByte = new byte[diagOtherLength];\r\n\t\tbyte[] narr1Byte = new byte[narr1Length];\r\n\t\tbyte[] narr2Byte = new byte[narr2Length];\r\n\t\t\r\n\t\t// Read the fields from Binary file\r\n\t\ttry {\r\n\t\t\tcpscCase = stream.readInt();\r\n\t\t\tstream.readFully(dateByte);\r\n\t\t\ttrmt_date = new String(dateByte);\r\n\t\t\tpsu = stream.readInt();\r\n\t\t\tweight = stream.readDouble();\r\n\t\t\tstream.readFully(stratumByte);\r\n\t\t\tstratum = new String(stratumByte);\r\n\t\t\tage = stream.readInt();\r\n\t\t\tsex = stream.readInt();\r\n\t\t\trace = stream.readInt();\r\n\t\t\tstream.readFully(raceOtherByte);\r\n\t\t\trace_other = new String(raceOtherByte);\r\n\t\t\tdiag = stream.readInt();\r\n\t\t\tstream.readFully(diagOtherByte);\r\n\t\t\tdiag_other = new String(diagOtherByte);\r\n\t\t\tbody_part = stream.readInt();\r\n\t\t\tdisposition = stream.readInt();\r\n\t\t\tlocation = stream.readInt();\r\n\t\t\tfmv = stream.readInt();\r\n\t\t\tprod1 = stream.readInt();\r\n\t\t\tprod2 = stream.readInt();\r\n\t\t\tstream.readFully(narr1Byte);\r\n\t\t\tnarr1 = new String(narr1Byte);\r\n\t\t\tstream.readFully(narr2Byte);\r\n\t\t\tnarr2 = new String(narr2Byte);\r\n\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"private FileInputStream getStreamFromPath(Context context, String fileName) {\n ParcelFileDescriptor parcelFileDesc = null;\n FileInputStream inputStream = null;\n try {\n inputStream = new FileInputStream(new File(fileName));\n if (0 != 0) {\n try {\n parcelFileDesc.close();\n } catch (IOException e) {\n Log.e(TAG, \"parcelFileDesc error!\");\n }\n }\n } catch (FileNotFoundException e2) {\n Log.e(TAG, \"getStreamFromPath FileNotFoundException.\");\n if (0 != 0) {\n parcelFileDesc.close();\n }\n } catch (Throwable th) {\n if (0 != 0) {\n try {\n parcelFileDesc.close();\n } catch (IOException e3) {\n Log.e(TAG, \"parcelFileDesc error!\");\n }\n }\n throw th;\n }\n return inputStream;\n }",
"public void downloadFile(ObjectInputStream inputStream) {\r\n\t \tFileEvent fileEvent = null;\r\n\t \ttry {\r\n\t \tfileEvent = (FileEvent) inputStream.readObject();\r\n\t if (fileEvent.getStatus().equalsIgnoreCase(\"Error\")) {\r\n\t System.out.println(\"Error occurred ..So exiting\");\r\n\t System.exit(0);\r\n\t }\r\n\t String outputFile = fileEvent.getDestinationDirectory() + fileEvent.getFilename();\r\n\t if (!new File(fileEvent.getDestinationDirectory()).exists()) {\r\n\t new File(fileEvent.getDestinationDirectory()).mkdirs();\r\n\t }\r\n\t File dstFile = new File(outputFile);\r\n\t FileOutputStream fileOutputStream = new FileOutputStream(dstFile);\r\n\t fileOutputStream.write(fileEvent.getFileData());\r\n\t fileOutputStream.flush();\r\n\t fileOutputStream.close();\r\n\t System.out.println(\"Output file : \" + outputFile + \" is successfully saved \");\r\n\t Thread.sleep(3000);\r\n\t System.exit(0);\r\n\t \r\n\t } catch (ClassCastException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tList<String> serverFiles = (List<String>) fileEvent;\r\n\t\t\t\tSystem.out.println(serverFiles);\r\n\t\t\t} catch (IOException e) {\r\n\t e.printStackTrace();\r\n\t } catch (ClassNotFoundException e) {\r\n\t e.printStackTrace();\r\n\t } catch (InterruptedException e) {\r\n\t e.printStackTrace();\r\n\t }\r\n\t }",
"private InputStream openContentStream() {\n\t\t// ok, where do we dump our layers to?\n\t\tfinal ByteArrayOutputStream bos = new ByteArrayOutputStream();\n\n\t\t// hmm, now actually output the layers\n\t\tDebriefEclipseXMLReaderWriter.exportThis(_myNewLayers, bos);\n\n\t\t// and return our OS as an IS\n\t\treturn new ByteArrayInputStream(bos.toByteArray());\n\t}",
"public byte[] loadData(FileWindow window)\n\t\t{\n\t\t\tbyte[] result = null;\n\t\t\tFileChannel channel = getFileChannel(false);\n\t\t\tif (channel != null)\n\t\t\t{\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(window.getFilePartSize());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tchannel.read(buffer, window.getFilePartOffset());\n\t\t\t\t\tif (buffer.hasArray())\n\t\t\t\t\t{\n\t\t\t\t\t\tresult = buffer.array();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (IOException e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Error reading from file channel \" + channel, e);\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tIOUtils.closeQuietly(channel);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}",
"private void recibirArchivo() {\n \t int tam;\r\n \t try {\r\n \t\t String nombreArchivo = dis.readUTF().toString(); \r\n \t \r\n\t // Obtenemos el tamaño del archivo\r\n\t tam = dis.readInt(); \r\n\t\r\n\t // System.out.println( \"Recibiendo archivo \"+nombreArchivo );\r\n\t \r\n\t // Creamos flujo de salida, este flujo nos sirve para \r\n\t // indicar donde guardaremos el archivo\r\n\t fos = new FileOutputStream( \"C:\\\\Users\\\\feder\\\\\"+nombreArchivo );\r\n\t out = new BufferedOutputStream( fos );\r\n\t in = new BufferedInputStream( socket.getInputStream() );\r\n\t\r\n\t // Creamos el array de bytes para leer los datos del archivo\r\n\t byte[] buffer = new byte[ tam ];\r\n\t\r\n\t // Obtenemos el archivo mediante la lectura de bytes enviados\r\n\t for( int i = 0; i < buffer.length; i++ )\r\n\t {\r\n\t buffer[ i ] = ( byte )in.read( ); \r\n\t }\r\n\t\r\n\t // Escribimos el archivo \r\n\t out.write( buffer ); \r\n\t\r\n\t // System.out.println( \"Archivo Recibido \"+nombreArchivo );\r\n\t \r\n\t }\r\n\t catch( Exception e )\r\n\t {\r\n\t System.out.println( \"Recibir: \"+e.toString() ); \r\n\t }\r\n }",
"public InputStream downloadStream(String stageName, String sourceFileName,\n boolean decompress) throws SnowflakeSQLException\n\n {\n logger.debug(\"download data to stream: stageName={}\" +\n \", sourceFileName={}\",\n stageName, sourceFileName);\n\n if (stageName == null || stageName.isEmpty())\n {\n throw new SnowflakeSQLException(SqlState.INTERNAL_ERROR,\n ErrorCode.INTERNAL_ERROR.getMessageCode(),\n \"stage name is null or empty\");\n }\n\n if (sourceFileName == null || sourceFileName.isEmpty())\n {\n throw new SnowflakeSQLException(SqlState.INTERNAL_ERROR,\n ErrorCode.INTERNAL_ERROR.getMessageCode(),\n \"source file name is null or empty\");\n }\n\n SnowflakeStatementV1 stmt = new SnowflakeStatementV1(this);\n\n StringBuilder getCommand = new StringBuilder();\n\n getCommand.append(\"get \");\n\n if (!stageName.startsWith(\"@\"))\n {\n getCommand.append(\"@\");\n }\n\n getCommand.append(stageName);\n\n getCommand.append(\"/\");\n\n if (sourceFileName.startsWith(\"/\"))\n {\n sourceFileName = sourceFileName.substring(1);\n }\n\n getCommand.append(sourceFileName);\n\n //this is a fake path, used to form Get query and retrieve stage info,\n //no file will be downloaded to this location\n getCommand.append(\" file:///tmp/ /*jdbc download stream*/\");\n\n\n SnowflakeFileTransferAgent transferAgent =\n new SnowflakeFileTransferAgent(getCommand.toString(), sfSession,\n stmt.getSfStatement());\n\n InputStream stream = transferAgent.downloadStream(sourceFileName);\n\n if (decompress)\n {\n try\n {\n return new GZIPInputStream(stream);\n } catch (IOException ex)\n {\n throw new SnowflakeSQLException(SqlState.INTERNAL_ERROR,\n ErrorCode.INTERNAL_ERROR.getMessageCode(),\n ex.getMessage());\n }\n }\n else\n {\n return stream;\n }\n }",
"public static void main(String args,String flag, InputStream object) \r\n {\r\n \t//flag=\"senderIdandPassword\";\r\n try\r\n {\r\n \t//File f=new File(args);\r\n \t \r\n // FileInputStream file = new FileInputStream(f);\r\n //Create Workbook instance holding reference to .xlsx file\r\n XSSFWorkbook workbook = new XSSFWorkbook(object);\r\n \r\n //Get first/desired sheet from the workbook\r\n XSSFSheet sheet = workbook.getSheetAt(0);\r\n \r\n //Iterate through each rows one by one\r\n Iterator<Row> rowIterator = sheet.iterator();\r\n if(flag.equals(\"receiverfile\"))\r\n getEmailidsforsend(rowIterator);\r\n if(flag.equals(\"senderIdandPassword\"))\r\n getEmailidsandpaswordforsend(rowIterator);\r\n \r\n //file.close();\r\n } \r\n catch (Exception e) \r\n {\r\n e.printStackTrace();\r\n }\r\n }",
"private IntStream createStream() {\n DataInputStream dataInputStream = null;\n try {\n dataInputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(fileName)));\n } catch (FileNotFoundException e) {\n System.out.println(\"File not found\");\n }\n DataInputStream finalDin = dataInputStream;\n return IntStream.generate(() -> {\n try {\n assert finalDin != null;\n return finalDin.readInt();\n } catch (IOException e) {\n System.out.println(\"Stream problem\");\n }\n return 0;\n })\n .limit(20);\n }",
"public FileHandleStatus updateFileByStream(String fileId, String fileName,\n InputStream stream) throws IOException {\n return updateFileByStream(fileId, fileName, stream, ContentType.DEFAULT_BINARY);\n }",
"public void processInput(Exchange exchange) {\n String fileName = (String) exchange.getIn().getHeaders().get(Exchange.FILE_NAME);\n logger.info(\"fileProcessing:{}\",fileName);\n try {\n List<DailyReconcilationRecord> dailyReconcilationRecordList = (List<DailyReconcilationRecord>)exchange.getIn().getBody();\n try (XSSFWorkbook xssfWorkbook = new XSSFWorkbook()) {\n XSSFSheet lasSheet = xssfWorkbook.createSheet(ReCAPConstants.DAILY_RR_LAS);\n xssfWorkbook.setSheetOrder(ReCAPConstants.DAILY_RR_LAS, 0);\n int i = 0;\n setColumnWidthForSheet(lasSheet);\n CellStyle cellStyle = xssfWorkbook.createCellStyle();\n cellStyle.setAlignment(HorizontalAlignment.LEFT);\n logger.info(\"started creating las sheet\");\n for (DailyReconcilationRecord dailyReconcilationRecord : dailyReconcilationRecordList) {\n XSSFRow row = lasSheet.createRow(i);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getRequestId(), 0);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getBarcode(), 1);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getCustomerCode(), 2);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getStopCode(), 3);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getPatronId(), 4);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getCreateDate(), 5);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getLastUpdatedDate(), 6);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getRequestingInst(), 7);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getOwningInst(), 8);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getDeliveryMethod(), 9);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getStatus(), 10);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getErrorCode(), 11);\n createCell(xssfWorkbook, row,cellStyle, dailyReconcilationRecord.getErrorNote(), 12);\n i++; \n }\n logger.info(\"completed creating las sheet\");\n Sheet readLasSheet = xssfWorkbook.getSheetAt(0);\n XSSFSheet scsbSheet = xssfWorkbook.createSheet(ReCAPConstants.DAILY_RR_SCSB);\n xssfWorkbook.setSheetOrder(ReCAPConstants.DAILY_RR_SCSB, 1);\n createHeader(scsbSheet);\n XSSFCellStyle dateCellStyle = getXssfCellStyleForDate(xssfWorkbook);\n logger.info(\"started creating scsb sheet\");\n for (int j = 1; j <= readLasSheet.getLastRowNum(); j++) {\n readValuesFromLasSheet(xssfWorkbook, readLasSheet, scsbSheet, dateCellStyle, j);\n }\n logger.info(\"completed creating scsb sheet\");\n compareLasAndScsbSheets(xssfWorkbook,cellStyle);\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(ReCAPConstants.DAILY_RR_FILE_DATE_FORMAT);\n FileOutputStream fileOutputStream = new FileOutputStream(filePath + \"/\" + ReCAPConstants.DAILY_RR + simpleDateFormat.format(new Date()) + \".xlsx\");\n xssfWorkbook.write(fileOutputStream);\n fileOutputStream.flush();\n fileOutputStream.close();\n logger.info(\"total number of sheets created {}\",xssfWorkbook.getNumberOfSheets());\n camelContext.startRoute(ReCAPConstants.DAILY_RR_FS_ROUTE_ID);\n logger.info(\"started \"+ReCAPConstants.DAILY_RR_FS_ROUTE_ID);\n }\n }\n catch (Exception e){\n logger.error(ReCAPConstants.LOG_ERROR + e);\n }\n logger.info(\"fileProcessed:{}\",fileName);\n }",
"public void updateBinaryStream(String columnName, InputStream x, long length) throws SQLException {\n\n try {\n if (isDebugEnabled()) {\n debugCode(\"updateBinaryStream(\" + quote(columnName) + \", x, \" + length + \"L);\");\n }\n checkClosed();\n Value v = conn.createBlob(x, length);\n update(columnName, v);\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public static void readfile() throws IOException {\n\t\t\n String excelFilePath = \"D:\\\\Docs\\\\Study Docs\\\\11th Semester\\\\CSE400\\\\Works\\\\Database\\\\StudentInfo.xlsx\";\n FileInputStream inputStream = new FileInputStream(new File(excelFilePath));\n \n Workbook workbook = new XSSFWorkbook(inputStream);\n Sheet firstSheet = workbook.getSheetAt(0);\n Iterator<Row> iterator = firstSheet.iterator();\n int flag=0;\n \n while (iterator.hasNext()) {\n Row nextRow = iterator.next();\n Iterator<Cell> cellIterator = nextRow.cellIterator();\n int c=0;\n String cid=\"\",sid=\"\";\n \n while (cellIterator.hasNext()) {\n Cell cell = cellIterator.next();\n if(c==0){//If it is first value\n \tsid=cell.getStringCellValue();\n \tc=1;\n }\n else{//If it is second value\n \tcid=cell.getStringCellValue();\n }\n }\n if(insert_data(sid,cid)==false) flag=1;//Insert to MSaccess\n //System.out.println(sid+\" \"+cid);\n }\n \n workbook.close();\n inputStream.close();\n if(flag==0)JOptionPane.showMessageDialog(null, \"All value imported successfully.\");\n else JOptionPane.showMessageDialog(null, \"Value importing was interrupted.\");\n }",
"public File getDataFile();",
"public void readAndWrite() throws Exception {\r\n File reportExcelFile = new File(reportFileName);\r\n if (!reportExcelFile.exists()) {\r\n throw new FileNotFoundException(\r\n \"Report Excel file not found in path.\");\r\n }\r\n\r\n File resultExcelFile = new File(resultFileName);\r\n if (!resultExcelFile.exists()) {\r\n throw new FileNotFoundException(\r\n \"Expected Result Excel file not found in path.\");\r\n }\r\n\r\n ReadResultExcelFile.getInstance().preCheckExcelXLSFile(reportExcelFile,\r\n reportFileMapIndex, true);\r\n ReadResultExcelFile.getInstance().preCheckExcelXLSFile(resultExcelFile,\r\n resultFileMapIndex, false);\r\n\r\n ReadResultExcelFile.getInstance().getResultExcelXLSData(\r\n resultExcelFile, resultFileMapIndex);\r\n writeColumnHeader();\r\n ReadResultExcelFile.getInstance().generateExcelFromReportData(\r\n reportExcelFile, resultExcelFile, reportFileMapIndex);\r\n\r\n }",
"public List<List<String>> readXlsx(InputStream is) throws IOException {\n\t\tSystem.out.println(\"read excel 2010\");\n\t\tXSSFWorkbook xssfWorkbook = new XSSFWorkbook(is);\n\t\tList<List<String>> list = new ArrayList<List<String>>();\n\t\t// Read the Sheet\n\t\tfor (int numSheet = 0; numSheet < xssfWorkbook.getNumberOfSheets(); numSheet++) {\n\t\t\tXSSFSheet xssfSheet = xssfWorkbook.getSheetAt(numSheet);\n\t\t\tif (xssfSheet == null) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t// Read the Row\n\t\t\tfor (int rowNum = 1; rowNum <= xssfSheet.getLastRowNum(); rowNum++) {\n\t\t\t\tXSSFRow xssfRow = xssfSheet.getRow(rowNum);\n\t\t\t\tif (xssfRow != null) {\n\t\t\t\t\tList<String> rowList = new ArrayList<String>();\n\t\t\t\t\tfor(int cellNum=0;cellNum<xssfRow.getLastCellNum();cellNum++){\n\t\t\t\t\t\trowList.add(getValue(xssfRow.getCell(cellNum)));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tlist.add(rowList);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}",
"public static void readFromExcel_ApachePOI(String testCase) throws Exception{\n\t\tString fileName = \"TestData.xlsx\";\n\t\tString SAMPLE_XLSX_FILE_PATH = System.getProperty(\"user.dir\")+\"\\\\src\\\\test\\\\resources\\\\TestData\\\\TestData.xlsx\";\n\t\tFile file = new File(SAMPLE_XLSX_FILE_PATH);\n\t\tFileInputStream inputStream = new FileInputStream(file);\n\t\tWorkbook workbook = null;\n\t\tString fileExtensionName = fileName.substring(fileName.indexOf(\".\"));\n\t\t\n\t if(fileExtensionName.equals(\".xlsx\")){\n\n\n\t \tworkbook = new XSSFWorkbook(inputStream);\n\n\t }\n\n\t //Check condition if the file is xls file\n\n\t else if(fileExtensionName.equals(\".xls\")){\n\n\t //If it is xls file then create object of HSSFWorkbook class\n\n\t \tworkbook = new HSSFWorkbook(inputStream);\n\n\t }\n\t\t//System.out.println(\"Reading from right sheet\"); \n\t\tSheet sheet = workbook.getSheet(\"TestSheet\");\n\t\tfor(int i = 0;i<sheet.getLastRowNum();i++) {\n\t\t\tif(testCase.equalsIgnoreCase(sheet.getRow(i).getCell(0).getStringCellValue())) {\n\t\t\t\tRow row = sheet.getRow(i);\n\t\t\t\tString userID = row.getCell(1).getStringCellValue();\n\t\t\t\tint pwd = (int) row.getCell(2).getNumericCellValue();\n\t\t\t}\n\t\t}\n\t\tRow row = sheet.getRow(1);\n\t\tCell cell = row.getCell(0);\n\t\tString testCaseName = cell.getStringCellValue();\n\t\tString userID = row.getCell(1).getStringCellValue();\n\t\tint pwd = (int) row.getCell(2).getNumericCellValue();\n\t\tSystem.out.println(testCaseName);\n\t\tSystem.out.println(userID);\n\t\tSystem.out.println(pwd);\n\t\t\t\n\t\tworkbook.close();\n\t}",
"public static void main(String[] args) throws Exception {\n File source= new File(\"C:/Development/DataFiles/LoginData.xlsx\");\r\n FileInputStream fis = new FileInputStream(source);\r\n XSSFWorkbook wb = new XSSFWorkbook(fis);\r\n\tXSSFSheet sh = wb.getSheetAt(0);\r\n//\tString data0= sh.getRow(1).getCell(1).getStringCellValue();\r\n//\tSystem.out.println( data0);\r\n\tint rowcount=sh.getLastRowNum();\r\n\t//string colcount=sh.col\r\n\t//System.out.println( colcount);\r\n/*\tfor (int i=0;i<=rowcount;i++)\r\n\t{\r\n\t\tString data1= sh.getRow(i).getCell(0).getStringCellValue();\r\n\t\tif (data1==\"end\")\r\n\t\t\t{\r\n\t\t\t\t\tsh.getRow(i+1);\r\n\t\t\t}\r\n\t\t\r\n\t\tSystem.out.println(data1);\r\n\t\tSystem.out.println();\r\n\t}*/\r\n\t\r\n\tfor (@SuppressWarnings(\"rawtypes\") org.apache.poi.ss.usermodel.Sheet sh1 : wb ) {\r\n for (Row row : sh) {\r\n for (Cell cell : row) {\r\n // Do something here\r\n }\r\n }\r\n }\r\n\twb.close();\r\n\t}",
"public Workbook readFileExcel(String filePathName) {\n InputStream inp = null;\n try {\n inp = new FileInputStream(filePathName);\n workbook = WorkbookFactory.create(inp);\n } catch (FileNotFoundException ex) {\n logger.error(ex);\n } catch (Exception ex) {\n logger.error(ex);\n } finally {\n try {\n inp.close();\n } catch (IOException ex) {\n logger.error(ex);\n }\n }\n return workbook;\n }",
"private OSPARRecords parseExcelFile(String excelFilePath) {\n\n\t\ttry {\n\n\t\t\tGsonBuilder builder = new GsonBuilder();\n\t\t\tbuilder.setPrettyPrinting();\n\t\t\tGson gson = builder.create();\n\t\t\t\n\t\t\t\n\t\t\tOSPARRecords or = new OSPARRecords();\n\n\t\t\tFile file = new File(excelFilePath);\n\t\t\tFileInputStream inputStream = new FileInputStream(new File(excelFilePath));\n\n\t\t\tWorkbook workbook = new HSSFWorkbook(inputStream);\n\t\t\tSheet firstSheet = workbook.getSheetAt(0);\n\n\t\t\tint row = 0;\n\n\t\t\tDataFormatter formatter = new DataFormatter();\n\t\t\t\n\t\t\t\n\t\t\twhile (true) {\n\t\t\t\tRow nextRow = firstSheet.getRow(row);\n\n\t\t\t\tif (nextRow == null) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tString value=nextRow.getCell(0)+\"\";\n\t\t\t\t\n\t\t\t\tif (value.equals(\"\")) {\n\t\t\t\t\t\n\t\t\t\t\tString v3=nextRow.getCell(3)+\"\";\n\t\t\t\t\t\n\t\t\t\t\tif (!v3.equals(\"Source/Reference\")) {\n\t\t\t\t\t\tSystem.out.println(excelFilePath+\"\\t\"+or.CasNo+\"\\t\"+v3+\"\\t\"+value);\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\trow++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (value.equals(\"null\")) break;\n\t\t\t\t\n\t\t\t\tfloat fvalue=Float.parseFloat(value);\n\t\t\t\tDecimalFormat decform=new DecimalFormat(\"0.0\");\n\t\t\t\tString svalue=decform.format(fvalue);\n\t\t\t\t\n//\t\t\t\tSystem.out.println(or.CasNo+\"\\t\"+svalue);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tdata_field df = createDataField(nextRow);\n\t\t\t\t\n\t\t\t\tif (df.Value.equals(\"\") && df.Source_Reference.equals(\"\")) {\n\t\t\t\t\trow++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t\tif (svalue.equals(\"0.0\")) \n\t\t\t\t\tor.Name=df.Value;\n\t\t\t\tif (svalue.equals(\"1.1\"))\n\t\t\t\t\tor.CasNo=convertCAS(df.Value);\n\t\t\t\tif (svalue.equals(\"1.2\"))\n\t\t\t\t\tor.EINECS=df.Value;\n\t\t\t\tif (svalue.equals(\"1.3\"))\n\t\t\t\t\tor.Synonym=df.Value;\n\t\t\t\tif (svalue.equals(\"1.4\"))\n\t\t\t\t\tor.Group_Function=df.Value;\n\t\t\t\tif (svalue.equals(\"1.5\"))\n\t\t\t\t\tor.Initial_Selection=df.Value;\n\t\t\t\tif (svalue.equals(\"1.6\"))\n\t\t\t\t\tor.Prioritized_For_Action=df.Value;\n\n\t\t\t\tif (svalue.equals(\"2.1\"))\n\t\t\t\t\tor.Molecular_weight.add(df);\n\t\t\t\tif (svalue.equals(\"2.2\"))\n\t\t\t\t\tor.Water_Solubility.add(df);\n\t\t\t\tif (svalue.equals(\"2.3\"))\n\t\t\t\t\tor.Vapor_Pressure.add(df);\n\n\t\t\t\tif (svalue.equals(\"3.1\"))\n\t\t\t\t\tor.Abiotic_OH_Oxidation_t1_2_d.add(df);\n\t\t\t\tif (svalue.equals(\"3.2\"))\n\t\t\t\t\tor.Photolysis_t1_2_d.add(df);\n\t\t\t\tif (svalue.equals(\"3.3\"))\n\t\t\t\t\tor.Ready_Biodegradability.add(df);\n\t\t\t\tif (svalue.equals(\"3.4\"))\n\t\t\t\t\tor.Halflife.add(df);\n\t\t\t\tif (svalue.equals(\"3.5\"))\n\t\t\t\t\tor.Inherent_Biodegradability.add(df);\n\t\t\t\tif (svalue.equals(\"3.6\"))\n\t\t\t\t\tor.Biodeg_QSAR.add(df);\n\t\t\t\t\n\t\t\t\tif (svalue.equals(\"4.1\"))\n\t\t\t\t\tor.logKow.add(df);\n\t\t\t\tif (svalue.equals(\"4.2\"))\n\t\t\t\t\tor.Bcf.add(df);\n\n\t\t\t\tif (svalue.equals(\"5.1\"))\n\t\t\t\t\tor.Acute_toxicity_algae.add(df);\n\t\t\t\tif (svalue.equals(\"5.2\"))\n\t\t\t\t\tor.Acute_toxicity_daphnia.add(df);\n\t\t\t\tif (svalue.equals(\"5.3\"))\n\t\t\t\t\tor.Acute_toxicity_fish.add(df);\n\t\t\t\tif (svalue.equals(\"5.4\"))\n\t\t\t\t\tor.Chronic_toxicity_daphnia.add(df);\n\t\t\t\tif (svalue.equals(\"5.5\"))\n\t\t\t\t\tor.Chronic_toxicity_fish.add(df);\n\t\t\t\tif (svalue.equals(\"5.6\"))\n\t\t\t\t\tor.Aquatox_QSAR.add(df);\n\t\t\t\tif (svalue.equals(\"5.7\"))\n\t\t\t\t\tor.Aquatic_toxicity_Other.add(df);\n\n\n\t\t\t\tif (svalue.equals(\"6.1\"))\n\t\t\t\t\tor.Acute_toxicity.add(df);\n\t\t\t\tif (svalue.equals(\"6.2\"))\n\t\t\t\t\tor.Carcinogenicity.add(df);\n\t\t\t\tif (svalue.equals(\"6.3\"))\n\t\t\t\t\tor.Chronic_toxicity.add(df);\n\t\t\t\tif (svalue.equals(\"6.4\"))\n\t\t\t\t\tor.Mutagenicity.add(df);\n\t\t\t\tif (svalue.equals(\"6.5\"))\n\t\t\t\t\tor.Reprotoxicity.add(df);\n\n\n\t\t\t\tif (svalue.equals(\"7.1\"))\n\t\t\t\t\tor.Production_Volume.add(df);\n\t\t\t\tif (svalue.equals(\"7.2\"))\n\t\t\t\t\tor.Use_Industry_Category.add(df);\n\t\t\t\tif (svalue.equals(\"7.3\"))\n\t\t\t\t\tor.Use_in_articles.add(df);\n\t\t\t\tif (svalue.equals(\"7.4\"))\n\t\t\t\t\tor.Environm_Occur_Measured.add(df);\n\t\t\t\tif (svalue.equals(\"7.5\"))\n\t\t\t\t\tor.Environm_Occur_Modelled.add(df);\n\n\t\t\t\tif (svalue.equals(\"8.1\"))\n\t\t\t\t\tor.Dir_67_548_EEC_Classification.add(df);\n\t\t\t\tif (svalue.equals(\"8.2\"))\n\t\t\t\t\tor.Reg_793_93_EEC_Existing_substances.add(df);\n\t\t\t\tif (svalue.equals(\"8.3\"))\n\t\t\t\t\tor.Dir_2000_60_EEC_WFD.add(df);\n\t\t\t\tif (svalue.equals(\"8.4\"))\n\t\t\t\t\tor.Dir_76_769_EEC_M_U.add(df);\n\t\t\t\tif (svalue.equals(\"8.5\"))\n\t\t\t\t\tor.Dir_76_464_EEC_water.add(df);\n\t\t\t\tif (svalue.equals(\"8.6\"))\n\t\t\t\t\tor.Dir_91_414_EEC_ppp.add(df);\n\t\t\t\tif (svalue.equals(\"8.7\"))\n\t\t\t\t\tor.Dir_98_8_EEC_biocid.add(df);\n\n\t\t\t\tif (svalue.equals(\"9.1\"))\n\t\t\t\t\tor.Hazard_assessment_OECD.add(df);\n\t\t\t\tif (svalue.equals(\"9.2\"))\n\t\t\t\t\tor.Other_risk_assessments.add(df);\n\n\t\t\t\trow++;\n\n\t\t\t}\n\n\t\t\tinputStream.close();\n\t\t\treturn or;\n\t\t\t\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"public void readXlsx(String year, String month) throws IOException {\n XSSFWorkbook xssfWorkbook;\n XSSFSheet sheet;\n File dir = new File(\"C:\\\\Munka\\\\\" + year.trim() + month.trim());\n File[] directoryListing = dir.listFiles();\n if (directoryListing != null) {\n for (File xlsxFile : directoryListing) {\n try (InputStream fileInputStream = new FileInputStream(xlsxFile)) {\n xssfWorkbook = new XSSFWorkbook(fileInputStream);\n sheet = xssfWorkbook.getSheetAt(0);\n iterateXlsRow(sheet);\n } catch (NullPointerException e) {\n System.out.println(\"Hiba történt!\");\n }\n }\n }\n this.directory = month;\n this.year = year;\n }",
"public static InputStream asInputStream(DataFile df) {\n return new DFInputStream(df);\n }",
"public static File createStatisticsFile(User currentUser){\n\t\t\n\t\t//TODO WHOLE APP TO USE ONE HREF.\n\t\t//final String href = \"http://localhost:9000/\";\n\t\t\n\t\ttry {\n\t\t\t// creates the \"excel sheet\" with its name;\n\t\t\tHSSFWorkbook workbook = new HSSFWorkbook();\n\t HSSFSheet sheet = workbook.createSheet(\"Statistics\"); \n\t String fileName = UUID.randomUUID().toString().replace(\"-\", \"\") + \".xls\";\n\t // creates the folder with the file name; \n\t new File(statsFilePath).mkdirs();\n\t File statisticFile = new File(statsFilePath +fileName);\n\t \n\t applyTheStringViewForStats(currentUser);\n\t\t\t \n\t //SETTING STYLE\n\t HSSFCellStyle style = workbook.createCellStyle();\n\t style.setBorderTop((short) 6); \n\t style.setBorderBottom((short) 1); \n\t style.setFillBackgroundColor(HSSFColor.GREY_80_PERCENT.index);\n\t style.setFillForegroundColor(HSSFColor.GREY_80_PERCENT.index);\n\t style.setFillPattern(HSSFColor.GREY_80_PERCENT.index);\n\t \n\t HSSFFont font = workbook.createFont();\n\t font.setFontName(HSSFFont.FONT_ARIAL);\n\t font.setFontHeightInPoints((short) 10);\n\t font.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);\n\t font.setColor(HSSFColor.BLACK.index);\t \n\t style.setFont(font);\n\t style.setWrapText(true);\n\t \n\t //Header cells (the first header row) and added style !\n\t HSSFRow rowhead= sheet.createRow((short)0);\n\t \n\t HSSFCell bitpikId = rowhead.createCell(0);\n\t bitpikId.setCellValue(new HSSFRichTextString(\"BitPik id\"));\n\t bitpikId.setCellStyle(style);\n\t \n\t HSSFCell productName = rowhead.createCell(1);\n\t productName.setCellValue(new HSSFRichTextString(\"Ime proizvoda\"));\n\t productName.setCellStyle(style);\n\t \n\t HSSFCell productPrice = rowhead.createCell(2);\n\t productPrice.setCellValue(new HSSFRichTextString(\"Cijena\"));\n\t productPrice.setCellStyle(style);\n\t \n\t HSSFCell publishedDate = rowhead.createCell(3);\n\t publishedDate.setCellValue(new HSSFRichTextString(\"Datum objave\"));\n\t publishedDate.setCellStyle(style); \n\t \n\t HSSFCell isSold = rowhead.createCell(4);\n\t isSold.setCellValue(new HSSFRichTextString(\"Prodat artikal\"));\n\t isSold.setCellStyle(style); \n\t \n\t HSSFCell isSpecial = rowhead.createCell(5);\n\t isSpecial.setCellValue(new HSSFRichTextString(\"Izdvojen\"));\n\t isSpecial.setCellStyle(style); \n\t \n\t HSSFCell noOfClicks = rowhead.createCell(6);\n\t noOfClicks.setCellValue(new HSSFRichTextString(\"Br. pregleda\"));\n\t noOfClicks.setCellStyle(style); \n\t \n\t HSSFCell noOfComments = rowhead.createCell(7);\n\t noOfComments.setCellValue(new HSSFRichTextString(\"Br. komentara\"));\n\t noOfComments.setCellStyle(style);\n\t \n\t rowhead.setHeight((short)20);\n\t //Creating rows for each product from the list allProducts. \n\t // starting from the row (number 1.) - we generate each cell with its value;\n\t int rowIndex = 1;\n\t \n\t for (Product product: allProducts){\n\t\t \tHSSFRow row= sheet.createRow(rowIndex);\n\t\t \trow.createCell(0).setCellValue(product.id);\n\t\t row.createCell(1).setCellValue(product.name);\n\t\t row.createCell(2).setCellValue(product.price);\n\t\t row.createCell(3).setCellValue(product.publishedDate); \t \n\t\t row.createCell(4).setCellValue(product.statsProducts.isItSold); \t\n\t\t row.createCell(5).setCellValue(product.statsProducts.isItSpecial); \n\t\t \n\t\t row.createCell(6).setCellValue(product.statsProducts.noOfClicksS); \t\n\t\t Logger.info(\"noOfclicks Prod.\" +product.name + \" je > \" +product.statsProducts.noOfClicksS);\n\t\t row.createCell(7).setCellValue(product.statsProducts.noOfComments); \n\t\t Logger.info(\"noOfcomments Prod.\" +product.name + \" je > \" +product.statsProducts.noOfClicksS);\n\t\t rowIndex++;\n\t }\n\t \n\t //rowhead.setRowStyle(style);\n\t //auto-sizing all of the columns in the sheet generated;\n\t for(int i=0; i<8; i++){\n\t \t sheet.autoSizeColumn((short) i);\t\n\t }\t \n\t \n\t // putting the File in FileOutPutStream();\n\t FileOutputStream fileOut = new FileOutputStream(statisticFile);\n\t workbook.write(fileOut);\n\t fileOut.flush();\n\t fileOut.close();\n\t workbook.close();\n\t \n\t return statisticFile;\n\t \n\t\t} catch (FileNotFoundException e) {\n\t\t\tLogger.error(\"Statistic file exception \", e );\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tLogger.error(\"IO exception\", e);\n\t\t} \n\t\treturn null;\n\t}",
"public InputStream getInputStream() throws IOException {\r\n if (!connected)\r\n connect();\r\n\r\n return zipFile.getInputStream(zipEntry);\r\n }",
"protected InputStream loadFile(String zipPath) throws Exception {\n\t\treturn Files.newInputStream(Paths.get(zipPath));\n\t}",
"public List<Stock> readFile() throws IOException\n {\n \t //System.out.println(\"hhh\");\n \t //List<Stock> listStock = mapper.readValue(file, new TypeReference<List<Stock>>() {});\n \t \n \t List<Stock> listStock = mapper.readValue(file, new TypeReference<List<Stock>>(){});\n \t\n\t\treturn listStock;\n }",
"private InputStream readFromSd() {\n\t\tString fileName = \"exchange_rates.xml\";\n\t\tFileInputStream stream = null;\n\t\tFile sdCard = android.os.Environment.getExternalStorageDirectory(); \n\t\tFile dir = new File (sdCard.getAbsolutePath() + \"/Android/data/com.douchedata.exchange/files/\");\n\t\tLog.v(\"sd\", dir.getAbsolutePath());\n\t\tFile file = new File(dir, fileName);\n\n\t\tif (dir.exists() == false) {\n\t\t\tdir.mkdirs();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tif (file.exists())\n\t\t\t\tstream = new FileInputStream(file);\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn stream;\n\t}",
"void bukaXoxo(){\r\n FileInputStream xx = null;\r\n try {\r\n xx = new FileInputStream(\"xoxo.xml\");\r\n // harus diingat objek apa yang dahulu disimpan di file \r\n // program untuk membaca harus sinkron dengan program\r\n // yang dahulu digunakan untuk menyimpannya\r\n int isi;\r\n char charnya;\r\n String stringnya;\r\n // isi file dikembalikan menjadi string\r\n stringnya =\"\";\r\n while ((isi = xx.read()) != -1) {\r\n charnya= (char) isi;\r\n stringnya = stringnya + charnya;\r\n } \r\n // string isi file dikembalikan menjadi larik double\r\n resi = (String) xstream.fromXML(stringnya);\t \r\n }\r\n catch (Exception e){\r\n System.err.println(\"test: \"+e.getMessage());\r\n }\r\n finally{\r\n if(xx != null){\r\n try{\r\n xx.close();\r\n }\r\n catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n } \r\n } \r\n \r\n }",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"protected abstract InputStream getFile(final String path);",
"static Multimap<String, String> readELSXFile(String excelFileLoc, String sheetName) throws Exception {\n logger.info(\"Start executing readELSXFile method !!!\");\n\n Multimap<String, String> returnMap = ArrayListMultimap.create();\n Multimap<String, String> tags_to_select = ArrayListMultimap.create();\n Multimap<String, String> manaraFileFixSchemaMultiMap = LinkedListMultimap.create();\n Multimap<String, String> tags_wd_alias_lst = ArrayListMultimap.create();\n InputStream is = new FileInputStream(new File(excelFileLoc));\n\n Workbook workbook = StreamingReader.builder()\n .rowCacheSize(100) // number of rows to keep in memory (defaults to 10)\n .bufferSize(4096) // buffer size to use when reading InputStream to file (defaults to 1024)\n .open(is); // InputStream or File for XLSX file (required)\n\n // TODO: 12/11/2017 handle exception if sheet not present java.lang.NullPointerException\n Sheet sheet = workbook.getSheet(sheetName);\n// Printing process sheet name\n String sheetNm = sheet.getSheetName();\n logger.info(\"WorkBook/Sheet Name : \" + sheetNm);\n if (sheetNm.equals(\"TagNameAliases\")) {\n logger.info(\"Reading TagNameAliases sheet !!!!!!!\");\n for (Row r : sheet) {\n List<String> row = new ArrayList();\n for (Cell c : r) {\n String colVal = c.getStringCellValue();\n// TODO: do we have to take care for the empty/null values coming from columns or we can use directly add command\n if (colVal != null || colVal.length() > 0)\n row.add(colVal);\n else\n row.add(\"\");\n }\n// Removing the header from the excel read\n if (!row.get(0).equals(\"TagNameId\") && !row.get(1).equals(\"TagNameAlias\"))\n tags_wd_alias_lst.put(row.get(0), row.get(1));\n }\n returnMap = tags_wd_alias_lst;\n }\n\n if (sheetNm.equals(\"WWApp_Tags_to_select\")) {\n logger.info(\"Reading WWApp_Tags_to_select sheet !!!!!!!\");\n for (Row r : sheet) {\n List<String> row = new ArrayList();\n for (Cell c : r) {\n String colVal = c.getStringCellValue();\n if (colVal != null || colVal.length() > 0)\n row.add(colVal);\n else\n row.add(\"\");\n }\n if (row.size() == 31) {\n if (row.get(0).equals(\"Manara\") && row.get(28).equals(\"Diagnostic\")) {\n tags_to_select.put(row.get(30), row.get(4));\n }\n }\n }\n returnMap = tags_to_select;\n }\n if (sheetNm.equals(\"TagNames\")) {\n logger.info(\"Reading TagNames sheet !!!!!!!\");\n for (Row r : sheet) {\n List<String> row = new ArrayList();\n for (Cell c : r) {\n String colVal = c.getStringCellValue().replaceAll(\"\\\"\", \"\");\n if (colVal != null || colVal.length() > 0)\n row.add(colVal);\n else\n row.add(\"\");\n }\n if (!row.get(0).equals(\"TagNameId\") && !row.get(1).equals(\"Name\"))\n manaraFileFixSchemaMultiMap.put(row.get(0), row.get(1));\n else {\n// THIS HAS TO BE CHECKED\n manaraFileFixSchemaMultiMap.put(\"0\", \"Timestamp(+11:00)\");\n }\n }\n returnMap = manaraFileFixSchemaMultiMap;\n }\n return returnMap;\n }",
"InputStream openStream() throws IOException;",
"public InputStream getData() throws java.io.IOException {\n \t\tInputStream is;\n \t\tis = new BufferedInputStream(new GZIPInputStream(new FileInputStream(\n \t\t\t\tdataFile)));\n \t\tis.skip(this.dataOffset);\n \n \t\treturn is;\n \t}",
"public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {\n\n try {\n if (isDebugEnabled()) {\n debugCode(\"updateBinaryStream(\" + columnIndex + \", x, \" + length + \"L);\");\n }\n checkClosed();\n Value v = conn.createBlob(x, length);\n update(columnIndex, v);\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"public static void main(String[] args) throws IOException {\n\t\tFile file = new File(\"C:\\\\Users\\\\Leonardo\\\\git\\\\repository5\\\\HandleExcelWithApachePoi\\\\src\\\\arquivo_excel.xls\");\r\n\t\t\r\n\t\tif (!file.exists()) {\r\n\t\t\tfile.createNewFile();\r\n\t\t}\r\n\t\t\r\n\t\tPessoa p1 = new Pessoa();\r\n\t\tp1.setEmail(\"pessoa1@gmail.com\");\r\n\t\tp1.setIdade(50);\r\n\t\tp1.setNome(\"Ricardo Edigio\");\r\n\t\t\r\n\t\tPessoa p2 = new Pessoa();\r\n\t\tp2.setEmail(\"pessoa2@gmail.com\");\r\n\t\tp2.setIdade(40);\r\n\t\tp2.setNome(\"Marcos Tadeu\");\r\n\t\t\r\n\t\tPessoa p3 = new Pessoa();\r\n\t\tp3.setEmail(\"pessoa3@gmail.com\");\r\n\t\tp3.setIdade(30);\r\n\t\tp3.setNome(\"Maria Julia\");\r\n\t\t\r\n\t\tList<Pessoa> pessoas = new ArrayList<Pessoa>();\r\n\t\tpessoas.add(p1);\r\n\t\tpessoas.add(p2);\r\n\t\tpessoas.add(p3);\r\n\t\t\r\n\t\t\r\n\t\tHSSFWorkbook hssfWorkbook = new HSSFWorkbook(); /*escrever na planilha*/\r\n\t\tHSSFSheet linhasPessoa = hssfWorkbook.createSheet(\"Planilha de pessoas\"); /*criar planilha*/\r\n\t\t\r\n\t\tint nlinha = 0;\r\n\t\tfor (Pessoa p : pessoas) {\r\n\t\t\tRow linha = linhasPessoa.createRow(nlinha ++); /*criando a linha na planilha*/\r\n\t\t\t\r\n\t\t\tint celula = 0;\r\n\t\t\t\r\n\t\t\tCell celNome = linha.createCell(celula ++); /*celula 1*/\r\n\t\t\tcelNome.setCellValue(p.getNome());\r\n\t\t\t\r\n\t\t\tCell celEmail = linha.createCell(celula ++); /*celula 2*/\r\n\t\t\tcelEmail.setCellValue(p.getEmail());\r\n\t\t\t\r\n\t\t\tCell celIdade = linha.createCell(celula ++); /*celula 3*/\r\n\t\t\tcelIdade.setCellValue(p.getIdade());\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tFileOutputStream saida = new FileOutputStream(file);\r\n\t\thssfWorkbook.write(saida);\r\n\t\t\r\n\t\tsaida.flush();\r\n\t\tsaida.close();\r\n\t\t\r\n\t\tSystem.out.println(\"Planilha Criada com Sucesso!\");\r\n\t\t\r\n\t}",
"public String[][] excelData(String fileName) throws IOException {\n\t\tXSSFWorkbook wb= new XSSFWorkbook(\"./data/\"+fileName+\".xlsx\");\r\n\t\t\r\n\t\t\r\n\t\t//Step2-Get in to the worksheet\r\n\t\t\r\n\t\tXSSFSheet ws=wb.getSheet(\"Sheet1\");\r\n\t\t\r\n\t\t\r\n\t\tint rowcount=ws.getLastRowNum();//excluding first row\r\n\t\tSystem.out.println(rowcount);\r\n\t\t\r\n\t\t//int incFR=ws.getPhysicalNumberOfRows();//includes first row\r\n\t\t\r\n\t\tshort cellCount = ws.getRow(0).getLastCellNum();\r\n\t\tString[][] data=new String[rowcount][cellCount];\r\n\t\t\r\n\t\tfor(int i=1;i<=rowcount;i++) {//rows\r\n\t\t\tfor(int j=0;j<cellCount;j++) {//column\r\n\t\t\t\t\r\n\t\t\t\tString cellValue = ws.getRow(i).getCell(j).getStringCellValue();\r\n\t\t\t\tdata[i-1][j]=cellValue;\r\n\t\t\t\t//System.out.println(cellValue);\r\n\t\t\t\t\r\n\t\t\t}\t\r\n\t\t}\r\n\t\t\r\n\t\twb.close();\r\n\t\treturn data;\r\n\r\n\t}"
] | [
"0.59711933",
"0.5566506",
"0.5433086",
"0.53472257",
"0.53029174",
"0.52755964",
"0.52656096",
"0.52524567",
"0.52391213",
"0.5219124",
"0.5216483",
"0.5196235",
"0.5192977",
"0.5160764",
"0.5138339",
"0.5133919",
"0.5131232",
"0.5103538",
"0.5102338",
"0.50816196",
"0.50719595",
"0.50613403",
"0.50507224",
"0.5045422",
"0.50300735",
"0.50105375",
"0.50084853",
"0.4995849",
"0.49814627",
"0.4961117",
"0.49469337",
"0.4945469",
"0.49411052",
"0.4918457",
"0.49035916",
"0.4897582",
"0.48917183",
"0.48807478",
"0.48702085",
"0.4867838",
"0.48634955",
"0.48598212",
"0.48389882",
"0.48282868",
"0.48268923",
"0.48194185",
"0.478256",
"0.47819006",
"0.47778317",
"0.47736588",
"0.47644484",
"0.47642893",
"0.47607544",
"0.47584316",
"0.47584316",
"0.47566783",
"0.47527698",
"0.47446945",
"0.47387433",
"0.4735985",
"0.4734169",
"0.47292525",
"0.4725084",
"0.47198194",
"0.47190213",
"0.47172686",
"0.4717106",
"0.47073197",
"0.47045112",
"0.47029522",
"0.46977627",
"0.46972457",
"0.46969864",
"0.4696164",
"0.4691439",
"0.4690373",
"0.46805075",
"0.46802762",
"0.4677708",
"0.46769843",
"0.46694702",
"0.46693608",
"0.46631408",
"0.46586516",
"0.46573472",
"0.465718",
"0.46569705",
"0.4654477",
"0.46500167",
"0.46496317",
"0.46485335",
"0.46485335",
"0.46485335",
"0.4645842",
"0.46421713",
"0.46413836",
"0.46404254",
"0.4628278",
"0.46228603",
"0.4622094"
] | 0.54153496 | 3 |
Constructs a new SADIOutputPortContextualView. | public SADIOutputPortContextualView(SADIActivityOutputPort outputPort) {
this.outputPort = outputPort;
initView();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"OutputPort createOutputPort();",
"public OutputPort(final Controller controller, final PortEntity portEntity)\n {\n super(controller, portEntity);\n }",
"public static OutputActionCase ofToSALOutputAction(Action action) {\n\n OutputActionBuilder outputAction = new OutputActionBuilder();\n PortAction port = action.getAugmentation(PortAction.class);\n if (port != null) {\n outputAction.setOutputNodeConnector(new Uri(port.getPort().getValue().toString()));\n } else {\n logger.error(\"Provided action is not OF Output action, no associated port found!\");\n }\n\n MaxLengthAction length = action.getAugmentation(MaxLengthAction.class);\n if (length != null) {\n outputAction.setMaxLength(length.getMaxLength());\n } else {\n logger.error(\"Provided action is not OF Output action, no associated length found!\");\n }\n\n return new OutputActionCaseBuilder().setOutputAction(outputAction.build()).build();\n }",
"public CharArrayOutPort() {\n super((Writer) null, false, CharArrayInPort.stringPath);\n }",
"public PortView getOutPortViewAt(int x, int y) {\r\n \t\treturn (PortView) graph.getGraphLayoutCache().getMapping(graph.getOutPortAt(x, y), false);\r\n \t}",
"public EasyAnimatorViewImplOut(String input) {\n this.input = input;\n }",
"public ATOutput () throws CGException {\n vdm_init_ATOutput();\n }",
"OutputDecl createOutputDecl();",
"public final void rule__AstOutputPattern__PortAssignment_0_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24688:1: ( ( ( RULE_ID ) ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24689:1: ( ( RULE_ID ) )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24689:1: ( ( RULE_ID ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24690:1: ( RULE_ID )\n {\n before(grammarAccess.getAstOutputPatternAccess().getPortAstPortCrossReference_0_0_0()); \n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24691:1: ( RULE_ID )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:24692:1: RULE_ID\n {\n before(grammarAccess.getAstOutputPatternAccess().getPortAstPortIDTerminalRuleCall_0_0_0_1()); \n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__AstOutputPattern__PortAssignment_0_049578); \n after(grammarAccess.getAstOutputPatternAccess().getPortAstPortIDTerminalRuleCall_0_0_0_1()); \n\n }\n\n after(grammarAccess.getAstOutputPatternAccess().getPortAstPortCrossReference_0_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"public XMLOutputFactoryImpl() {\n }",
"public TcpIpOutputStream(String host, int port) throws IOException {\n pipedInputStream = new PipedInputStream();\n super.connect(pipedInputStream);\n Thread.UncaughtExceptionHandler uncaughtException = (Thread t, Throwable e) -> {\n Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, e.getMessage(),e);\n };\n\n\n Runnable runnablePrint = () -> {\n\n try (Socket socket = new Socket(host,port)) {\n\n OutputStream outputStream = socket.getOutputStream();\n\n\n byte[] buf = new byte[1024];\n while(true) {\n int n = pipedInputStream.read(buf);\n if( n < 0 ) break;\n outputStream.write(buf,0,n);\n }\n } catch (Exception ex) {\n throw new RuntimeException(ex);\n }\n\n };\n\n threadPrint = new Thread(runnablePrint);\n threadPrint.setUncaughtExceptionHandler(uncaughtException);\n threadPrint.start();\n\n\n }",
"public OutputDecorator getOutputDecorator()\n/* */ {\n/* 675 */ return this._outputDecorator;\n/* */ }",
"public InternalInformationPortController() {\r\n\t\t\r\n\t}",
"OutputDeviations createOutputDeviations();",
"protected static <T> ServiceOutBuilder<T> doPipeServiceOut() {\n\t\treturn new ServiceOutBuilder<>();\n\t}",
"@JsonCreator\r\n\tpublic ModbusInputOutputPort(@JsonProperty(\"id\") Integer id) {\r\n\t\tsuper(id);\r\n\t}",
"InputPort createInputPort();",
"protected static IOutputEnvView setTheEnv(IOutputEnvView outEnvView ){\n\t\t\treturn outEnvView;\n\t\t}",
"private ViewFactory() {}",
"protected OutputStream _createDataOutputWrapper(DataOutput out)\n/* */ {\n/* 1520 */ return new DataOutputAsStream(out);\n/* */ }",
"public PortletContext() {\n }",
"public ProfitDistribTpViewImpl() {\n }",
"public OutSupport() {\n super();\n }",
"public XMLOutputter() {\r\n }",
"@Override\r\n protected ReturnCode_t onInitialize() {\r\n addOutPort(\"Octet\", m_OctetOut);\r\n addOutPort(\"Short\", m_ShortOut);\r\n addOutPort(\"Long\", m_LongOut);\r\n addOutPort(\"Float\", m_FloatOut);\r\n addOutPort(\"Double\", m_DoubleOut);\r\n addOutPort(\"OctetSeq\", m_OctetSeqOut);\r\n addOutPort(\"ShortSeq\", m_ShortSeqOut);\r\n addOutPort(\"LongSeq\", m_LongSeqOut);\r\n addOutPort(\"FloatSeq\", m_FloatSeqOut);\r\n addOutPort(\"DoubleSeq\", m_DoubleSeqOut);\r\n seqOutView.init(\"SeqOut\");\r\n return super.onInitialize();\r\n }",
"@Override\r\n\tpublic String getOutputPhaseId() {\r\n\t\treturn \"UCF Document\";\r\n\t}",
"public SSDI_AMImpl() {\n }",
"public SchemaPort(SchemaPortWrapper spwrapper) {\n\t\tthis.loc = new XYLocation(spwrapper.getXOffset(), spwrapper.getYOffset());\n\t\tthis.name = new Caseless(spwrapper.getName());\n\t\tthis.mappedto = new Caseless(spwrapper.getMapping());\n\t\tthis.portindex = spwrapper.getPortindex();\n\t}",
"public JsonFactory setOutputDecorator(OutputDecorator d)\n/* */ {\n/* 682 */ this._outputDecorator = d;\n/* 683 */ return this;\n/* */ }",
"public PContext() {\r\n\t\tthis(new PDirective(), null, null);\r\n\t}",
"@SuppressWarnings(\"all\")\r\npublic interface IPrivateTestCompView {\r\n\r\n /**\r\n * Provides access to the generic API of this controller.\r\n */\r\n IWDViewController wdGetAPI();\r\n\r\n\r\n /**\r\n * Interface for the node 'Context'.\r\n *\r\n * singleton = true, cardinality = _1_1, selection = _1_1\r\n */\r\n public static class IContextNode extends DataNode\r\n {\r\n private static final long serialVersionUID = 0xe1858c566a31a187L;\r\n \r\n private InternalTestCompView gen_delegate;\r\n\r\n IContextNode(InternalTestCompView delegate, IGCINodeInfo nodeInfo, Node parent) {\r\n super(nodeInfo, parent);\r\n gen_delegate = delegate;\r\n }\r\n\r\n protected com.sap.tc.webdynpro.progmodel.context.Node createNode(IGCINodeInfo nodeInfo, com.sap.tc.webdynpro.progmodel.context.Node parentNode, com.sap.tc.webdynpro.progmodel.context.NodeElement parentElement) {\r\n if (nodeInfo == gen_delegate.infoContext)\r\n return new IPrivateTestCompView.IContextNode(gen_delegate, nodeInfo, parentNode);\r\n return super.createNode(nodeInfo, parentNode, parentElement);\r\n }\r\n\r\n protected com.sap.tc.webdynpro.progmodel.context.NodeElement doCreateElement(IGCINodeInfo nodeInfo, Object reference) {\r\n if (nodeInfo == gen_delegate.infoContext) {\r\n return new IPrivateTestCompView.IContextElement(gen_delegate, nodeInfo);\r\n }\r\n return super.doCreateElement(nodeInfo, reference);\r\n }\r\n\r\n // ---- typed accessors --------------------------------------------------\r\n\r\n /**\r\n * Provides access to the generic context API as described by IWDContext.\r\n */\r\n public IWDContext wdGetAPI() {\r\n return getContext();\r\n }\r\n\r\n /**\r\n * Creates a new element for this node. The element is <b>not</b> bound \r\n * to the node. Use {@link #bind(IContextElement)} or \r\n * {@link IWDNode#bind(Collection)} to bind it or {@link IWDNode#addElement(IWDNodeElement)}\r\n * to add it to the node. Alternatively use {@link #createAndAndContextElement()}.\r\n * @return an element for this node\r\n */\r\n public IPrivateTestCompView.IContextElement createContextElement() {\r\n return (IPrivateTestCompView.IContextElement)createElement();\r\n }\r\n\r\n /**\r\n * Creates a new <b>bound</b> element for this node.\r\n * @return an element for this node\r\n */\r\n public IPrivateTestCompView.IContextElement createAndAddContextElement() {\r\n return (IPrivateTestCompView.IContextElement)createAndAddElement();\r\n }\r\n\r\n /**\r\n * Binds a single IContextElement to the node.\r\n * @param element a node element for this node\r\n */\r\n public void bind(IPrivateTestCompView.IContextElement element) {\r\n bind(element == null ? java.util.Collections.EMPTY_LIST : java.util.Collections.singletonList(element));\r\n }\r\n\r\n /** \r\n * Returns the element at the lead selection.\r\n * @return the element at the lead selection or <code>null</code> if the\r\n * lead selection is not set\r\n */\r\n public IPrivateTestCompView.IContextElement currentContextElement() {\r\n return (IPrivateTestCompView.IContextElement) getCurrentElement();\r\n }\r\n\r\n // ---- hooks ------------------------------------------------------------\r\n\r\n // ---- child nodes ------------------------------------------------------------\r\n\r\n }\r\n\r\n /**\r\n * Interface for the elements of the node Context.\r\n */\r\n public static class IContextElement extends com.sap.tc.webdynpro.progmodel.context.DataNodeElement\r\n {\r\n private static final long serialVersionUID = 0x5302b028140d40caL;\r\n \r\n private InternalTestCompView gen_delegate;\r\n\r\n IContextElement(InternalTestCompView delegate, com.sap.tc.webdynpro.progmodel.gci.IGCINodeInfo info) {\r\n super(info);\r\n gen_delegate = delegate;\r\n }\r\n\r\n }\r\n\r\n /**\r\n * Returns the context root node.\r\n * @return the context root node.\r\n */\r\n IContextNode wdGetContext();\r\n\r\n /** Enumeration of all available action event handlers. */\r\n public final class WDActionEventHandler extends com.sap.tc.webdynpro.progmodel.gci.impl.GCIActionEventHandlerEnum\r\n {\r\n private static final long serialVersionUID = 0x6af834242c1f560L;\r\n\r\n private WDActionEventHandler(String value, boolean isValidating, Object[] declaredParameters) {\r\n super(value, isValidating, declaredParameters);\r\n }\r\n }\r\n\r\n /**\r\n * Creates a new action for this controller.\r\n * @param eventHandler is the action's event handler with an appropriate signature\r\n * @param text is the text displayed in the UI element triggering this action\r\n */\r\n IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);\r\n\r\n /**\r\n * Creates a new action with the given name for this controller.\r\n * @param eventHandler is the action's event handler with an appropriate signature\r\n * @param name is the action's name\r\n * @param text is the text displayed in the UI element triggering this action\r\n */\r\n IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);\r\n\r\n}",
"public SynopticView() {\n\t\tsuper();\n\t}",
"private SSLEepGet(I2PAppContext ctx, String outputFile, OutputStream outputStream, String url, SSLState state) {\n // we're using this constructor:\n // public EepGet(I2PAppContext ctx, boolean shouldProxy, String proxyHost, int proxyPort, int numRetries, long minSize, long maxSize, String outputFile, OutputStream outputStream, String url, boolean allowCaching, String etag, String postData) {\n super(ctx, false, null, -1, 0, -1, -1, outputFile, outputStream, url, true, null, null);\n _proxyType = ProxyType.NONE;\n if (state != null && state.context != null)\n _sslContext = state.context;\n else\n _sslContext = initSSLContext();\n if (_sslContext == null)\n _log.error(\"Failed to initialize custom SSL context, using default context\");\n }",
"@Override\n\t\tpublic int buildBasicPort() {\n\t\t\treturn buildPort();\n\t\t}",
"public VectorOutput () { }",
"public View emitAsView() {\n return view;\n }",
"public final void rule__AstOutputPattern__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14824:1: ( ( ( rule__AstOutputPattern__PortAssignment_0_0 ) ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14825:1: ( ( rule__AstOutputPattern__PortAssignment_0_0 ) )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14825:1: ( ( rule__AstOutputPattern__PortAssignment_0_0 ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14826:1: ( rule__AstOutputPattern__PortAssignment_0_0 )\n {\n before(grammarAccess.getAstOutputPatternAccess().getPortAssignment_0_0()); \n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14827:1: ( rule__AstOutputPattern__PortAssignment_0_0 )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:14827:2: rule__AstOutputPattern__PortAssignment_0_0\n {\n pushFollow(FOLLOW_rule__AstOutputPattern__PortAssignment_0_0_in_rule__AstOutputPattern__Group_0__0__Impl29954);\n rule__AstOutputPattern__PortAssignment_0_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAstOutputPatternAccess().getPortAssignment_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"public void completeOutputPortSettings(int newPortCount) {\n\t\tchangeOutPortCount(newPortCount);\n\t\tfor (int i = 0; i < (newPortCount); i++) {\n\t\t\tPort outPort = new Port(Constants.OUTPUT_SOCKET_TYPE + (i), Constants.OUTPUT_SOCKET_TYPE\n\t\t\t\t\t+ (i), this, newPortCount, PortTypeEnum.OUT, (i), isAllowMultipleLinksForPort(\"out0\"), \n\t\t\t\t\tisLinkMandatoryForPort(\"out0\"), PortAlignmentEnum.RIGHT);\n\t\t\tports.put(Constants.OUTPUT_SOCKET_TYPE + (i), outPort);\n\t\t\tfirePropertyChange(\"Component:add\", null, outPort);\n\t\t}\n\t}",
"public UseCaseDslFactoryImpl()\n {\n super();\n }",
"public View() {\n // (this constructor is here just for the javadoc tag)\n }",
"private View() {}",
"public OriDestEOImpl() {\n }",
"@Override\n public void spool(OutputContext outputContext) throws IOException {\n // spool properties\n super.spool(outputContext);\n // spool data\n try {\n OutputStream out = outputContext.getOutputStream();\n if (out != null && exists()) {\n getRepositorySession().exportSystemView(item.getPath(), out, false, true);\n }\n } catch (PathNotFoundException e) {\n log.error(\"Error while spooling resource content: \" + e.getMessage());\n } catch (RepositoryException e) {\n log.error(\"Error while spooling resource content: \" + e.getMessage());\n }\n }",
"private Output() {}",
"public ImsTransformer() {\n\n }",
"IFMLPort createIFMLPort();",
"public svaviewadaptor(Context context, int resource, ArrayList<svaview> objects) {\n super(context, resource, objects);\n\n this.context = context;\n this.svalist = objects;\n }",
"public interface SpoutFactory {\n public IRichSpout create(Namespace namespace, Config conf);\n}",
"public PipedOutputStream() {\n }",
"public MyViewCLI(InputStreamReader in, OutputStreamWriter out, Controller controller) {\r\n\t\tcli = new CLI(in, out, controller);\r\n\t\tthis.controller = controller;\r\n\t}",
"public GeneralViewControl() {\r\n }",
"public EasyAnimatorSVGViewImpl(Appendable output, int width, int height) throws\n IllegalArgumentException {\n super(output);\n if (width <= 0 || height <= 0) {\n throw new IllegalArgumentException(\"Width and height have to be greater than 0.\");\n }\n this.myStringBuilder = new StringBuilder(); // StringBuilder that gathers all input from model\n // and converts it to svg code as a String.\n this.height = height;\n this.width = width;\n this.initScene();\n }",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-09-03 14:59:52.264 -0400\", hash_original_method = \"994F669A59E4B3A0EE398298B336F810\", hash_generated_method = \"2BEECC6B96D4108E92CF5063E98986E9\")\n \npublic ProxyOutputStream(OutputStream proxy) {\r\n super(proxy);\r\n // the proxy is stored in a protected superclass variable named 'out'\r\n }",
"private PortView getTargetPortAt(final Point2D point) {\n return GraphComponent.this.getPortViewAt(point.getX(), point.getY());\r\n }",
"FaultMediatorOutputConnector getOutputConnector();",
"PortDefinition createPortDefinition();",
"public final void rule__AstConnection__OutPortAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:23069:1: ( ( RULE_ID ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:23070:1: ( RULE_ID )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:23070:1: ( RULE_ID )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:23071:1: RULE_ID\n {\n before(grammarAccess.getAstConnectionAccess().getOutPortIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__AstConnection__OutPortAssignment_146234); \n after(grammarAccess.getAstConnectionAccess().getOutPortIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"Port createPort();",
"Port createPort();",
"public PrintStreamCommandOutput()\n {\n this( System.out );\n }",
"@Override\n\tprotected DnD createInteraction() {\n\t\treturn new DnD();\n\t}",
"public PContext(PDirective directive) {\r\n\t\tthis(directive, null, null);\r\n\t}",
"public ExportIdentificationDescTask(DataAccessController controller, String outputFilePath) {\r\n super(controller);\r\n this.outputFilePath = outputFilePath;\r\n this.setName(DEFAULT_TASK_TITLE);\r\n this.setDescription(DEFAULT_TASK_DESCRIPTION);\r\n }",
"public Odi11AgentImpl() {\n }",
"final public x10.io.OutputStreamWriter x10$io$OutputStreamWriter$$init$S(final x10.core.io.OutputStream out) {\n {\n \n //#line 41 \"/home/induk/workspace/x10-2.4.3-src/x10.runtime/src-x10/x10/io/OutputStreamWriter.x10\"\n final x10.io.Writer this$91109 = this;\n \n //#line 41 \"/home/induk/workspace/x10-2.4.3-src/x10.runtime/src-x10/x10/io/OutputStreamWriter.x10\"\n \n \n //#line 17 \"/home/induk/workspace/x10-2.4.3-src/x10.runtime/src-x10/x10/io/OutputStreamWriter.x10\"\n final x10.io.OutputStreamWriter this$91123 = this;\n \n //#line 42 \"/home/induk/workspace/x10-2.4.3-src/x10.runtime/src-x10/x10/io/OutputStreamWriter.x10\"\n this.out = ((x10.core.io.OutputStream)(out));\n }\n return this;\n }",
"public IPDStrategy()\n {\n name = \"IPD Strategy\";\n }",
"Output(Res r){\n this.r = r;\n }",
"private void packetOut(PacketContext context, PortNumber portNumber) {\n context.treatmentBuilder().setOutput(portNumber);\n context.send();\n }",
"public Builder setDestinationPort(int value) {\n \n destinationPort_ = value;\n onChanged();\n return this;\n }",
"public MyDslFactoryImpl()\n {\n super();\n }",
"public Container2DImpl() {\n\t\tthis(100, 100);\n\t}",
"public SapFactoryImpl() {\n super();\n }",
"public APSixNumberPwdInputBox(android.content.Context r4, android.util.AttributeSet r5) {\n /*\n r3 = this;\n r3.<init>(r4, r5)\n java.util.HashMap r0 = new java.util.HashMap\n r0.<init>()\n r3.d = r0\n r0 = 0\n r3.e = r0\n r0 = 16\n r3.h = r0\n java.lang.String r1 = \"\"\n r3.j = r1\n java.lang.String r1 = \"\"\n r3.k = r1\n r3.a(r4)\n r1 = 0\n int[] r2 = com.ali.user.mobile.security.ui.R.styleable.R // Catch:{ Exception -> 0x003b, all -> 0x0033 }\n android.content.res.TypedArray r4 = r4.obtainStyledAttributes(r5, r2) // Catch:{ Exception -> 0x003b, all -> 0x0033 }\n int r5 = com.ali.user.mobile.security.ui.R.styleable.S // Catch:{ Exception -> 0x003c, all -> 0x0031 }\n int r5 = r4.getInt(r5, r0) // Catch:{ Exception -> 0x003c, all -> 0x0031 }\n r3.h = r5 // Catch:{ Exception -> 0x003c, all -> 0x0031 }\n if (r4 == 0) goto L_0x0042\n r4.recycle()\n return\n L_0x0031:\n r5 = move-exception\n goto L_0x0035\n L_0x0033:\n r5 = move-exception\n r4 = r1\n L_0x0035:\n if (r4 == 0) goto L_0x003a\n r4.recycle()\n L_0x003a:\n throw r5\n L_0x003b:\n r4 = r1\n L_0x003c:\n if (r4 == 0) goto L_0x0042\n r4.recycle()\n return\n L_0x0042:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ali.user.mobile.ui.widget.APSixNumberPwdInputBox.<init>(android.content.Context, android.util.AttributeSet):void\");\n }",
"public ServiceOut<T> build() {\n\t\t\tServiceOut<T> serviceOut = new ServiceOut<>();\n\t\t\tserviceOut.setValue(value);\n\t\t\tserviceOut.setErrors(errors);\n\t\t\treturn serviceOut;\n\t\t}",
"public OutputStream getOutputStream() throws IOException {\n \t\t \tOutputStream stream = new RSuiteOutputStream();\r\n \t\t \r\n \t\t \tClassLoader saved = Thread.currentThread().getContextClassLoader();\r\n\t\t\ttry {\r\n\t\t\t\t Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());\r\n\t\t\t\t \r\n\t\t\t\t log.println(\"CREATED RSUITE OUTPUT STREAM.\");\t\t\t\t \r\n\t\t\t\t log.println(\"RETURNING RSUITE OUTPUT STREAM TO OXYGEN...\");\r\n\t\t\t}\r\n\t\t\tcatch(Throwable t){\r\n\t\t\t\tif (log != null) t.printStackTrace(log);\r\n\t\t\t}\r\n\t\t\tfinally{\r\n\t\t\t\tThread.currentThread().setContextClassLoader(saved);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn stream;\r\n\t\t}",
"public PerpetualSyslogSnmpAdaptor(Integer port) \n {\n super(port);\n lServer=PerpetualManagementAgent.getInstance().getMBeanServer();\n init();\n }",
"public BaseSubscriber() {//(IView view) {\n // this.view = view;\n }",
"protected StreamPrintService(OutputStream out) {\n this.outStream = out;\n }",
"public OutputStream openOutputStream() throws IOException {\n // TODO: this mode is not set yet.\n // \tif ((parent.mode & Connector.WRITE) == 0)\n // \t\tthrow new IOException(\"read-only connection\");\n ensureOpen();\n ensureNotDone();\n\n if (outputStreamOpened)\n throw new IOException(\"no more output streams available\");\n\n if (privateOutput == null) {\n // there are 3 bytes operation headers and 3 bytes body headers //\n privateOutput = new PrivateOutputStream(this, maxPacketSize - 6);\n }\n\n outputStreamOpened = true;\n\n return privateOutput;\n }",
"public TaskInstanceView(TaskInstanceView source) {\n if (source.TaskInstanceIndex != null) {\n this.TaskInstanceIndex = new Long(source.TaskInstanceIndex);\n }\n if (source.TaskInstanceState != null) {\n this.TaskInstanceState = new String(source.TaskInstanceState);\n }\n if (source.ExitCode != null) {\n this.ExitCode = new Long(source.ExitCode);\n }\n if (source.StateReason != null) {\n this.StateReason = new String(source.StateReason);\n }\n if (source.ComputeNodeInstanceId != null) {\n this.ComputeNodeInstanceId = new String(source.ComputeNodeInstanceId);\n }\n if (source.CreateTime != null) {\n this.CreateTime = new String(source.CreateTime);\n }\n if (source.LaunchTime != null) {\n this.LaunchTime = new String(source.LaunchTime);\n }\n if (source.RunningTime != null) {\n this.RunningTime = new String(source.RunningTime);\n }\n if (source.EndTime != null) {\n this.EndTime = new String(source.EndTime);\n }\n if (source.RedirectInfo != null) {\n this.RedirectInfo = new RedirectInfo(source.RedirectInfo);\n }\n if (source.StateDetailedReason != null) {\n this.StateDetailedReason = new String(source.StateDetailedReason);\n }\n }",
"protected void addIcpPortPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors\n\t\t\t\t.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),\n\t\t\t\t\t\tgetResourceLocator(), getString(\"_UI_WebsphereServerTask_icpPort_feature\"),\n\t\t\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\", \"_UI_WebsphereServerTask_icpPort_feature\",\n\t\t\t\t\t\t\t\t\"_UI_WebsphereServerTask_type\"),\n\t\t\t\t\t\tServerPackage.Literals.WEBSPHERE_SERVER_TASK__ICP_PORT, true, false, false,\n\t\t\t\t\t\tItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\n\t}",
"public TestIntermediarySpout(String name, String namespace, String streamId) {\r\n super(name, namespace, true);\r\n this.streamId = streamId;\r\n }",
"@Override // com.flurry.sdk.AbstractC0185l2\n /* renamed from: a */\n public final /* synthetic */ void mo105a(OutputStream outputStream, C0114e0 e0Var) {\n C0114e0 e0Var2 = e0Var;\n if (outputStream != null && e0Var2 != null) {\n C0116a aVar = new C0116a(this, outputStream);\n aVar.writeShort(e0Var2.f357a.length);\n aVar.write(e0Var2.f357a);\n aVar.writeShort(0);\n aVar.flush();\n }\n }",
"private String createConvID(int port, String ipAddress) {\n\n\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tsb.append(port+ipAddress);\n\n\t\treturn sb.toString();\n\t}",
"DynamicPort createDynamicPort();",
"public Builder setS1Port(int value) {\n copyOnWrite();\n instance.setS1Port(value);\n return this;\n }",
"public C23317d() {\n }",
"public Builder clearDestinationPort() {\n \n destinationPort_ = 0;\n onChanged();\n return this;\n }",
"public OutputPortTest(String name) {\n\t\tsuper(name);\n\t}",
"public Dto() {\n \t\n }",
"public ResolverSrdiMsgImpl() {\r\n }",
"private InteractiveQueryServer createInteractiveQueryServer(int port, TBaseProcessor processor) {\n interactiveQueryServer = Optional.of(new InteractiveQueryServer(port, processor));\n return interactiveQueryServer.get();\n }",
"OutputsDeclRule createOutputsDeclRule();",
"public T caseOutputInterface(OutputInterface object)\n {\n return null;\n }",
"ViewComponent createViewComponent();",
"public AccessibleContext getAccessibleContext() {\n/* 1423 */ if (this.accessibleContext == null) {\n/* 1424 */ this.accessibleContext = new AccessibleJScrollPane();\n/* */ }\n/* 1426 */ return this.accessibleContext;\n/* */ }",
"private Views() {\n }",
"public AddendumValidationViewImpl() {\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 }",
"protected IOContext _createContext(Object srcRef, boolean resourceManaged)\n/* */ {\n/* 1513 */ return new IOContext(_getBufferRecycler(), srcRef, resourceManaged);\n/* */ }"
] | [
"0.5403399",
"0.4689704",
"0.46547604",
"0.46481085",
"0.46368188",
"0.4533869",
"0.45319378",
"0.44397032",
"0.44061685",
"0.4392842",
"0.43677288",
"0.43488276",
"0.43123126",
"0.43051693",
"0.42943296",
"0.42657176",
"0.4260903",
"0.42547405",
"0.42509934",
"0.4241888",
"0.42251244",
"0.4179237",
"0.4177713",
"0.41674942",
"0.4138211",
"0.41370475",
"0.41366732",
"0.41243964",
"0.4122164",
"0.41213343",
"0.41010082",
"0.40878755",
"0.4078456",
"0.40717512",
"0.40677804",
"0.40591267",
"0.40490898",
"0.40473598",
"0.4032045",
"0.40278217",
"0.40277845",
"0.40240058",
"0.40194052",
"0.40180573",
"0.3997055",
"0.39961472",
"0.39855453",
"0.39748582",
"0.39739427",
"0.3966933",
"0.39525297",
"0.39460817",
"0.39408964",
"0.39364395",
"0.39360407",
"0.39302072",
"0.39278936",
"0.3921722",
"0.3921722",
"0.39147258",
"0.3912267",
"0.3912052",
"0.3911812",
"0.390816",
"0.39060405",
"0.3902516",
"0.38938606",
"0.38748515",
"0.38741788",
"0.3870809",
"0.38645208",
"0.38633838",
"0.38599908",
"0.38499177",
"0.38471088",
"0.3845713",
"0.3845706",
"0.38434416",
"0.383839",
"0.38380614",
"0.38346484",
"0.38334045",
"0.38209227",
"0.3820785",
"0.3819836",
"0.3819652",
"0.38097802",
"0.37995055",
"0.37960535",
"0.37947533",
"0.37889484",
"0.37888923",
"0.37879714",
"0.37850788",
"0.37800828",
"0.37794194",
"0.3778201",
"0.3776011",
"0.37683153",
"0.37668127"
] | 0.8155736 | 0 |
TODO Autogenerated method stub | public static void main(String[] args) {
main_client client=new main_client();
client.setLocationRelativeTo(null);
client.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
client.setTitle("二手低价商品推荐系统");
client.setVisible(true);
} | {
"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 |
Gets the AAE011 value for this KA04View. | public String getAAE011() {
return AAE011;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAAE100() {\n return AAE100;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"String getEACCode();",
"public boolean getAA() {\n return AA;\n }",
"public int getAno() {\n\t\t\treturn ano;\n\t\t}",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String getAKA065() {\n return AKA065;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public String getBKA001() {\n return BKA001;\n }",
"gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa getAa();",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"@Field(1) \n\tpublic ValuedEnum<D2D1_ALPHA_MODE> alphaMode() {\n\t\treturn this.io.getEnumField(this, 1);\n\t}",
"public int getA() {\n\t\treturn 0;\n\t}",
"public int getAtk() {\n return atk;\n }",
"public final int mo132050a() {\n if (this.f111985b == null) {\n return 0;\n }\n switch (C32688c.f111986a[this.f111985b.ordinal()]) {\n case 1:\n return 0;\n case 2:\n return 1;\n case 3:\n case 4:\n return 2;\n default:\n return 0;\n }\n }",
"public BigDecimal getACCRUAL_AMT() {\r\n return ACCRUAL_AMT;\r\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (aabbValueBuilder_ == null) {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n } else {\n if (typeCase_ == 12) {\n return aabbValueBuilder_.getMessage();\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }\n }",
"public int getAODC() {\n return aodc;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"int getACMode();",
"public int getAid() {\n return instance.getAid();\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public int getAODE() {\n return aode;\n }",
"public void setAOA(float AOA);",
"public int getAtk(){\n return atk;\n }",
"public int getE04(final int digitNumber);",
"int getAtk();",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public String getAccessionNumber() {\n return aao.getAccessionNumber();\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public final int a() {\n return this.f26928e != -1 ? this.f26928e : f.a(this.f26924a);\n }",
"public Long getAc() {\n return ac;\n }",
"public static final float getAR() {\r\n\t\treturn A_R;\r\n\t}",
"public double getAlpha() {\n return alpha;\n }",
"public String get_sequence() {\n return m_aa_sequence;\n }",
"@Basic\n\tpublic double getAy() {\n\t\treturn this.ay;\n\t}",
"public ID getActionCodeRXA() { \r\n\t\tID retVal = this.getTypedField(21, 0);\r\n\t\treturn retVal;\r\n }",
"public static int offset_amtype() {\n return (16 / 8);\n }",
"public int mo23310ma() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13711Jb)).intValue();\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public int getA() {\n\t\treturn a;\n\t}",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"@javax.persistence.Column(name = \"athlete_code\", nullable = false)\n\tpublic java.lang.Integer getAthleteCode() {\n\t\treturn getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE);\n\t}",
"public java.lang.String getAsapcata() {\n return asapcata;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public double getAlpha()\n {\n return alpha;\n }",
"public Float getAnswr() {\r\n return answr;\r\n }",
"public int getAid() {\n return aid_;\n }",
"public int getAno(){\n return ano;\n }",
"public int getOamIndex() {\n return this.oamIndex;\n }",
"public int getAdc ()\n {\n return adc_;\n }",
"public int getAid() {\n\t\treturn aid;\n\t}",
"public YangUInt8 getCriticalAbateValue() throws JNCException {\n YangUInt8 criticalAbate = (YangUInt8)getValue(\"critical-abate\");\n if (criticalAbate == null) {\n criticalAbate = new YangUInt8(\"85\"); // default\n }\n return criticalAbate;\n }",
"public String getATR() {\n\t\tif (cardacos3 == null)\n\t\t\treturn null;\n\t\tATR atr = cardacos3.getATR();\n\t\tbyte[] atr_bytes = atr.getBytes();\n\t\tString atr_hex = HelpersFunctions.bytesToHex(atr_bytes);\n\t\treturn atr_hex;\n\t}",
"public String getDESC_ARAB() {\r\n return DESC_ARAB;\r\n }",
"public String getAwbNbr() {\n return _awbNbr;\n }",
"public int getAId() {\n return instance.getAId();\n }",
"public int m2704e() {\n return ((Integer) this.f2439a.m2666a(ea.bq)).intValue();\n }",
"public java.lang.String getAUART() {\n return AUART;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int getCardVal(boolean aceIsOne) {\n\t\tint val = (this.getCardNum()-1)/4 + 2;\n\t\tif(val==14 && aceIsOne)\n\t\t\tval = 1;\n\t\telse if(val > 10 && val < 14)\n\t\t\tval = 10;\n\t\telse if(val == 14)\n\t\t\tval = 11;\n\t\t\n\t\treturn val;\n\t}",
"public Integer getAid() {\n return aid;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public int getATB() {\n\t\treturn ATB;\n\t}",
"public abstract java.lang.Long getAcma_id();"
] | [
"0.7027365",
"0.69635564",
"0.6710314",
"0.66743815",
"0.6272933",
"0.6213532",
"0.60989124",
"0.6089183",
"0.6065162",
"0.6059414",
"0.59902173",
"0.59581757",
"0.5930698",
"0.5852954",
"0.58489037",
"0.58424455",
"0.5794407",
"0.57922965",
"0.57904786",
"0.57604265",
"0.5742546",
"0.5735608",
"0.56892043",
"0.5682263",
"0.5663577",
"0.56296134",
"0.56206024",
"0.5609093",
"0.5565964",
"0.55424476",
"0.54889333",
"0.54758424",
"0.54701203",
"0.54701203",
"0.54588914",
"0.54213995",
"0.54208446",
"0.54074436",
"0.53852195",
"0.53446627",
"0.533671",
"0.5329235",
"0.53198355",
"0.5314588",
"0.5314257",
"0.5314257",
"0.5301068",
"0.5296401",
"0.52816254",
"0.52691144",
"0.52508104",
"0.5226671",
"0.5219336",
"0.52083284",
"0.52079374",
"0.51929235",
"0.517888",
"0.517627",
"0.51645017",
"0.51591",
"0.5158952",
"0.5155467",
"0.51550496",
"0.51466244",
"0.514327",
"0.5140159",
"0.51367325",
"0.5121527",
"0.5120378",
"0.51162887",
"0.51160324",
"0.5104802",
"0.5103457",
"0.50874126",
"0.50726676",
"0.50610423",
"0.505208",
"0.5044161",
"0.50386465",
"0.50373936",
"0.50349593",
"0.50347775",
"0.5027761",
"0.50269127",
"0.5021952",
"0.50210935",
"0.5014556",
"0.5013646",
"0.5013624",
"0.5008791",
"0.5007742",
"0.5001945",
"0.4991196",
"0.4990689",
"0.4987971",
"0.49853286",
"0.4974627",
"0.49729967",
"0.49554226",
"0.49517375"
] | 0.7999497 | 0 |
Sets the AAE011 value for this KA04View. | public void setAAE011(String AAE011) {
this.AAE011 = AAE011;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAAE011() {\n return AAE011;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAOA(float AOA);",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setNumAyuAtracc(int num);",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"A6E(int i) {\n this.A00 = i;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAno( int ano ){\n this.ano = ano;\n }",
"public Builder setSampleAes(\n com.google.cloud.video.livestream.v1.Encryption.SampleAesEncryption.Builder\n builderForValue) {\n if (sampleAesBuilder_ == null) {\n encryptionMode_ = builderForValue.build();\n onChanged();\n } else {\n sampleAesBuilder_.setMessage(builderForValue.build());\n }\n encryptionModeCase_ = 5;\n return this;\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"@Override\r\n\t\tpublic void setAO(int address, int value) throws IOServiceException {\n\r\n\t\t}",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAlpha(double aAlpha);",
"public String getAKA103() {\n return AKA103;\n }",
"public void setAcr(String acr) {\n this.acr = acr;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"private void setAlphaInfo(com.whensunset.wsvideoeditorsdk.model.YuvAlphaType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n alphaInfo_ = value.getNumber();\n }",
"public void setAlpha(double alpha);",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAttVCA(int att){\n\t\t\n\t\tsuper.setAttVCA((att == 0)? 1 : att );\n\t}",
"public boolean getAA() {\n return AA;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public void setAttribute11(String value)\n {\n setAttributeInternal(ATTRIBUTE11, value);\n }",
"public void setAttribute11(String value) {\n setAttributeInternal(ATTRIBUTE11, value);\n }",
"public void setAttribute11(String value) {\n setAttributeInternal(ATTRIBUTE11, value);\n }",
"public void setAttribute11(String value) {\n setAttributeInternal(ATTRIBUTE11, value);\n }",
"public void setAceCount(int aceCount){\n this.aceCount = aceCount;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public static void setEnaSpec(ArrayList<PCSpec> enaSpec) {\r\n PCCTRL.enaSpec = enaSpec;\r\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public abstract void setAcma_id(java.lang.Long newAcma_id);",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setEpaCertNo(String aEpaCertNo) {\n epaCertNo = aEpaCertNo;\n }",
"public Builder setSampleAes(\n com.google.cloud.video.livestream.v1.Encryption.SampleAesEncryption value) {\n if (sampleAesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n encryptionMode_ = value;\n onChanged();\n } else {\n sampleAesBuilder_.setMessage(value);\n }\n encryptionModeCase_ = 5;\n return this;\n }",
"public final void mo75262ac() {\n super.mo75262ac();\n m110455aC();\n m110453aA();\n m110465az();\n }",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"void xsetNcbi8Aa(org.apache.xmlbeans.XmlInteger ncbi8Aa);",
"public Builder setE(int value) {\n bitField0_ |= 0x00000001;\n e_ = value;\n onChanged();\n return this;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public Builder setAes128(\n com.google.cloud.video.livestream.v1.Encryption.Aes128Encryption.Builder builderForValue) {\n if (aes128Builder_ == null) {\n encryptionMode_ = builderForValue.build();\n onChanged();\n } else {\n aes128Builder_.setMessage(builderForValue.build());\n }\n encryptionModeCase_ = 4;\n return this;\n }",
"public Builder setAlphaInfoValue(int value) {\n copyOnWrite();\n instance.setAlphaInfoValue(value);\n return this;\n }",
"public void setMeanAnamoly0(double value) {\n this.meanAnamoly0 = value;\n }",
"public final void A0e() {\n /*\n r5 = this;\n X.03P r0 = r5.A0I\n android.telephony.TelephonyManager r0 = r0.A0F()\n r4 = 1\n r3 = 0\n if (r0 == 0) goto L_0x0012\n int r2 = r0.getSimState()\n r0 = 5\n r1 = 1\n if (r2 == r0) goto L_0x0013\n L_0x0012:\n r1 = 0\n L_0x0013:\n boolean r0 = X.AnonymousClass04j.A02(r5)\n if (r0 == 0) goto L_0x0020\n r0 = 2131888480(0x7f120960, float:1.9411597E38)\n r5.A0h(r0, r4)\n return\n L_0x0020:\n if (r1 != 0) goto L_0x0029\n r0 = 2131888482(0x7f120962, float:1.94116E38)\n r5.A0h(r0, r4)\n return\n L_0x0029:\n android.widget.TextView r2 = r5.A05\n X.01X r1 = r5.A01\n r0 = 2131888475(0x7f12095b, float:1.9411586E38)\n java.lang.String r0 = r1.A06(r0)\n r2.setText(r0)\n r5.A0b()\n X.3Gl r2 = new X.3Gl\n r2.<init>(r5)\n r5.A0C = r2\n X.00T r1 = r5.A0D\n java.lang.Void[] r0 = new java.lang.Void[r3]\n r1.ANC(r2, r0)\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.payments.ui.IndiaUpiDeviceBindActivity.A0e():void\");\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void mo25051a(float volume) {\n if (this.f16595O != volume) {\n this.f16595O = volume;\n m18356s();\n }\n }",
"public void setEasNumber(java.lang.String easNumber) {\n this.easNumber = easNumber;\n }",
"@ZAttr(id=659)\n public void setACE(String[] zimbraACE) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraACE, zimbraACE);\n getProvisioning().modifyAttrs(this, attrs);\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public final void mo9017e() {\n if (this.f8026d != null) {\n this.f8026d.mo8926a(false);\n }\n }",
"public void setAlto(Number value)\n {\n setAttributeInternal(ALTO, value);\n }",
"static void cma_with_acc(String passed){\n\t\tint val = hexa_to_deci(registers.get('A'));\n\t\tString bin = Integer.toBinaryString(val);\n\t\tfor(int i=bin.length();i<8;i++)\n\t\t\tbin = \"0\"+bin;\n\t\tval=0;\n\t\tfor(int i=7;i>=0;i--)\n\t\t\tif(bin.charAt(i)=='0')\n\t\t\t\tval+=(Math.pow(2,7-i));\n\t\tregisters.put('A',decimel_to_hexa_8bit(val));\n\t}",
"public String getAAE036() {\n return AAE036;\n }",
"public Builder setAois(\n int index, com.example.grpc.SimpleServiceOuterClass.Aois value) {\n if (aoisBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAoisIsMutable();\n aois_.set(index, value);\n onChanged();\n } else {\n aoisBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public boolean getAA() {\n return AA;\n }",
"public synchronized void mo21776A() {\n if (this.f24512O) {\n if (this.f24532d.mo21907B()) {\n this.f24532d.f24702bZ = true;\n } else {\n this.f24512O = false;\n }\n }\n }",
"@ZAttr(id=659)\n public Map<String,Object> setACE(String[] zimbraACE, Map<String,Object> attrs) {\n if (attrs == null) attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraACE, zimbraACE);\n return attrs;\n }",
"public static void m23002a(C7838e eVar, C7041a aVar) {\n eVar.f16941V = aVar;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"private void m13709a() {\n this.f11100s = 0;\n this.f11103v = 0;\n }",
"public void setObstaculo(int avenida, int calle);",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void buttonAC (View view){\n resultView.setText(\"0\");\n result = 0;\n expressionView.setText(\"\");\n result = 0;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public final void mo4458a(C1205a c1205a) {\n }"
] | [
"0.6890385",
"0.6540533",
"0.6151974",
"0.60061604",
"0.5910631",
"0.5788649",
"0.5770213",
"0.57635516",
"0.5411668",
"0.53807145",
"0.5358636",
"0.53565454",
"0.5340585",
"0.51887304",
"0.51851714",
"0.51805866",
"0.5177233",
"0.51572263",
"0.5152938",
"0.5152938",
"0.5132479",
"0.5128012",
"0.5123941",
"0.51128834",
"0.5093375",
"0.50913095",
"0.5084585",
"0.5037889",
"0.5003265",
"0.5001375",
"0.49962962",
"0.49593514",
"0.49140888",
"0.48977426",
"0.4881451",
"0.48714405",
"0.48573494",
"0.48207375",
"0.4805475",
"0.47954208",
"0.4783276",
"0.47779334",
"0.47722366",
"0.47696954",
"0.47526884",
"0.47300726",
"0.47166416",
"0.4713059",
"0.47060278",
"0.46992397",
"0.4696401",
"0.46945384",
"0.46802452",
"0.4678807",
"0.46775672",
"0.46541372",
"0.464636",
"0.464636",
"0.464636",
"0.46231315",
"0.46195933",
"0.4613268",
"0.460535",
"0.45927116",
"0.45908192",
"0.4584604",
"0.45826828",
"0.45791766",
"0.45790976",
"0.45635775",
"0.45576873",
"0.4557037",
"0.4552582",
"0.45522186",
"0.45499516",
"0.45414907",
"0.45400557",
"0.45154917",
"0.4514891",
"0.4509121",
"0.4506095",
"0.45023948",
"0.44997227",
"0.4495777",
"0.44926608",
"0.44904426",
"0.4487068",
"0.44830757",
"0.44793242",
"0.44777644",
"0.44763947",
"0.44750518",
"0.44644007",
"0.44639957",
"0.44578484",
"0.44507468",
"0.44492587",
"0.4448378",
"0.4433417",
"0.44316265"
] | 0.8143405 | 0 |
Gets the AAE036 value for this KA04View. | public String getAAE036() {
return AAE036;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public int m2704e() {\n return ((Integer) this.f2439a.m2666a(ea.bq)).intValue();\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public int getAtk() {\n return atk;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public int getAid() {\n return instance.getAid();\n }",
"public boolean getAA() {\n return AA;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public int getAId() {\n return instance.getAId();\n }",
"@Basic\n\tpublic double getAy() {\n\t\treturn this.ay;\n\t}",
"public BigDecimal getACCRUAL_AMT() {\r\n return ACCRUAL_AMT;\r\n }",
"public int getAtk(){\n return atk;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int getAno() {\n\t\t\treturn ano;\n\t\t}",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public Number getAlto()\n {\n return (Number)getAttributeInternal(ALTO);\n }",
"public String getEadid() {\n return this.eadid;\n }",
"public int getPesoA() \r\n\t\t{\r\n\t\t\treturn PesoA;\r\n\t\t}",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public int getAid() {\n return aid_;\n }",
"public boolean getAA() {\n return AA;\n }",
"public Long getAc() {\n return ac;\n }",
"public int getAid() {\n\t\treturn aid;\n\t}",
"public Point3D getA() {\r\n return a;\r\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public C11450r m38663a() {\n return this.f31348a;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public Integer getAid() {\n return aid;\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public Point getA() {\n\t\treturn a;\n\t}",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"public double getAlpha() {\n return alpha;\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public int getAcreage() {\n\t\treturn acreage;\n\t}",
"public int getAId() {\n return aId_;\n }",
"public abstract java.lang.Long getAcma_id();",
"public int getA() {\n\t\treturn a;\n\t}",
"public String m3140a() {\n return this.f2413g;\n }",
"public static final float getAD() {\r\n\t\treturn A_D;\r\n\t}",
"public String getAzione() {\n return azione;\n }",
"public int getA() {\n\t\treturn 0;\n\t}",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public long getEulaId() {\n return eulaId;\n }",
"public String m14035a() {\n this.f18047c.m14047a(str, list);\n return this.f18047c.m14049b(true);\n }",
"public int mo3836t() {\n return this.f1467ap;\n }",
"final int m29996a() {\n return this.f25150a;\n }",
"public double getA() {\n return a;\n }",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"public String mo1238a() {\n return this.f900a.mo1218a_();\n }",
"public java.lang.CharSequence getVar36() {\n return var36;\n }",
"public Number getDotaId() {\n return (Number)getAttributeInternal(DOTAID);\n }",
"public double getAlpha()\n {\n return alpha;\n }",
"public java.lang.CharSequence getVar36() {\n return var36;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public final int mo5173a() {\n return Math.round(this.f9481c);\n }",
"public final int a() {\n return this.f26928e != -1 ? this.f26928e : f.a(this.f26924a);\n }",
"public final A mo131916a() {\n return this.f111800a;\n }",
"@javax.persistence.Column(name = \"athlete_code\", nullable = false)\n\tpublic java.lang.Integer getAthleteCode() {\n\t\treturn getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE);\n\t}",
"public int getA() {\n\t\treturn this.height*this.width;\n\t}",
"public int mo25060a() {\n return this.f14804f;\n }",
"public java.lang.String getEasNumber() {\n return easNumber;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public long m2699Z() {\n return ((Long) this.f2439a.m2666a(ea.dx)).longValue();\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public float getA() {\n return a;\n }",
"public long getaNum() {\n return aNum;\n }",
"public int mo1950a() {\n return this.f1924a;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public int mo23310ma() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13711Jb)).intValue();\n }",
"public final int mo7474a() {\n return this.f6017b;\n }"
] | [
"0.7158266",
"0.64708364",
"0.6378665",
"0.63777107",
"0.61811244",
"0.6145736",
"0.6107873",
"0.6067566",
"0.59375525",
"0.58586884",
"0.5846749",
"0.57928866",
"0.5756828",
"0.573619",
"0.568018",
"0.5662318",
"0.56472534",
"0.56355333",
"0.56355333",
"0.5553184",
"0.5529829",
"0.5510591",
"0.5510591",
"0.55033225",
"0.5491243",
"0.54837644",
"0.5462345",
"0.5436856",
"0.54360926",
"0.54057133",
"0.5401639",
"0.5401384",
"0.5389255",
"0.53789115",
"0.5378079",
"0.5376482",
"0.53700453",
"0.535125",
"0.5350807",
"0.53389263",
"0.53303957",
"0.53105515",
"0.5309533",
"0.530717",
"0.5295736",
"0.5292744",
"0.52788043",
"0.5257278",
"0.5255295",
"0.5250786",
"0.523987",
"0.5238142",
"0.52318966",
"0.52226686",
"0.5220256",
"0.5216227",
"0.5215771",
"0.52145195",
"0.5212917",
"0.5211377",
"0.52104485",
"0.52050203",
"0.5202955",
"0.51933867",
"0.51922184",
"0.51896554",
"0.51869255",
"0.51743907",
"0.51738524",
"0.5157585",
"0.51451665",
"0.51447266",
"0.5141682",
"0.51414",
"0.5136631",
"0.5135304",
"0.51311713",
"0.51287943",
"0.51275873",
"0.5120025",
"0.51168805",
"0.51147884",
"0.5114429",
"0.5110728",
"0.51093715",
"0.51049554",
"0.51029",
"0.510133",
"0.51002806",
"0.50921535",
"0.5091436",
"0.5091332",
"0.50842386",
"0.50812113",
"0.50802207",
"0.5074973",
"0.50710183",
"0.5068989",
"0.506789",
"0.506716"
] | 0.79294485 | 0 |
Sets the AAE036 value for this KA04View. | public void setAAE036(String AAE036) {
this.AAE036 = AAE036;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAAE036() {\n return AAE036;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setAOA(float AOA);",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar36(java.lang.CharSequence value) {\n validate(fields()[37], value);\n this.var36 = value;\n fieldSetFlags()[37] = true;\n return this;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"public void setAlto(Number value)\n {\n setAttributeInternal(ALTO, value);\n }",
"public String getAKA063() {\n return AKA063;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public abstract void setAcma_id(java.lang.Long newAcma_id);",
"public void setAceCount(int aceCount){\n this.aceCount = aceCount;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setEta(double newEta) {\n\t\teta = newEta;\n\t}",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void setA(double value) {\n this.a = value;\n }",
"public baconhep.TTau.Builder setEta(float value) {\n validate(fields()[1], value);\n this.eta = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);",
"public void setVar36(java.lang.CharSequence value) {\n this.var36 = value;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public void setCurrentAlloment(int value) {\n this.currentAlloment = value;\n }",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"public Builder setA(float value) {\n bitField0_ |= 0x00000001;\n a_ = value;\n onChanged();\n return this;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public void setEta(java.lang.Float value) {\n this.eta = value;\n }",
"A6E(int i) {\n this.A00 = i;\n }",
"protected void setAy(double ay) {\n\t\tif (isValidAy(ay))\n\t\t\tthis.ay = ay;\t\t\n\t\telse \n\t\t\tthis.ay = 0;\t\t\n\t}",
"public void setAlpha(double aAlpha);",
"public String getAAE011() {\n return AAE011;\n }",
"public Builder setSampleAes(\n com.google.cloud.video.livestream.v1.Encryption.SampleAesEncryption.Builder\n builderForValue) {\n if (sampleAesBuilder_ == null) {\n encryptionMode_ = builderForValue.build();\n onChanged();\n } else {\n sampleAesBuilder_.setMessage(builderForValue.build());\n }\n encryptionModeCase_ = 5;\n return this;\n }",
"public void setNumAyuAtracc(int num);",
"public void setAno( int ano ){\n this.ano = ano;\n }",
"public void setAcreage(int acreage) {\n\t\tthis.acreage = acreage;\n\t}",
"public final void mT__36() throws RecognitionException {\n try {\n int _type = T__36;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:36:7: ( '=' )\n // InternalVizualizer.g:36:9: '='\n {\n match('='); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"public final void mo68345a() {\n MarginLayoutParams marginLayoutParams = (MarginLayoutParams) this.f70292i.getLayoutParams();\n marginLayoutParams.leftMargin = (int) C9738o.m28708b(this.f70272a, 0.0f);\n this.f70292i.setLayoutParams(marginLayoutParams);\n m87592f(false);\n }",
"public final void set(AxisAngle4f a1) {\n\tsetFromAxisAngle(a1.x, a1.y, a1.z, a1.angle);\n }",
"public void setDotaId(Number value) {\n setAttributeInternal(DOTAID, value);\n }",
"public void setMeanAnamoly0(double value) {\n this.meanAnamoly0 = value;\n }",
"public void setACCRUAL_AMT(BigDecimal ACCRUAL_AMT) {\r\n this.ACCRUAL_AMT = ACCRUAL_AMT;\r\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"public void setA(double a){\n this.a=a;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public void setEdad(int value) {\n this.edad = value;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setBeta(double aBeta);",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"public double getAKA104() {\n return AKA104;\n }",
"public void setAlpha(double alpha);",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public final void set(AxisAngle4d a1) {\n\tsetFromAxisAngle(a1.x, a1.y, a1.z, a1.angle);\n }",
"private void setAlphaInfo(com.whensunset.wsvideoeditorsdk.model.YuvAlphaType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n alphaInfo_ = value.getNumber();\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public void setMeanAnamoly(double value) {\n this.meanAnamoly = value;\n }",
"public void mo3638a(Context context, DigitsException digitsException) {\n this.f13251o.m13882f();\n this.f13250n.m13882f();\n super.mo3638a(context, digitsException);\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public boolean getAA() {\n return AA;\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setApId(long value) {\n this.apId = value;\n }",
"public void setAid(Integer aid) {\n this.aid = aid;\n }",
"private void m13733c(C3637a c3637a) throws ParserException {\n DrmInitData drmInitData;\n m13712a(c3637a, this.f11090i, this.f11086e, this.f11096o);\n if (this.f11089h != null) {\n drmInitData = null;\n } else {\n drmInitData = m13706a(c3637a.aR);\n }\n if (drmInitData != null) {\n int size = this.f11090i.size();\n for (int i = 0; i < size; i++) {\n ((C2085b) this.f11090i.valueAt(i)).m7465a(drmInitData);\n }\n }\n if (this.f11107z != -9223372036854775807L) {\n c3637a = this.f11090i.size();\n for (int i2 = 0; i2 < c3637a; i2++) {\n ((C2085b) this.f11090i.valueAt(i2)).m7464a(this.f11107z);\n }\n this.f11107z = -9223372036854775807L;\n }\n }",
"public static void m23002a(C7838e eVar, C7041a aVar) {\n eVar.f16941V = aVar;\n }",
"public void setAceptarKeyLikeTabKey(boolean aceptarKeyLikeTabKey) {\r\n\t\tboolean oldValue = fieldAceptarKeyLikeTabKey;\r\n\t\tfieldAceptarKeyLikeTabKey = aceptarKeyLikeTabKey;\r\n\t\tfirePropertyChange(\"aceptarKeyLikeTabKey\", new Boolean(oldValue), new Boolean(aceptarKeyLikeTabKey));\r\n\t}",
"public Builder setAid(int value) {\n copyOnWrite();\n instance.setAid(value);\n return this;\n }",
"public final void mo9234a(View view, C37138a c37138a) {\n AppMethodBeat.m2504i(2013);\n int[] a = C16896c.this.mo26234a(C16896c.this.aiB.getLayoutManager(), view);\n int i = a[0];\n int i2 = a[1];\n int ca = mo65816ca(Math.max(Math.abs(i), Math.abs(i2)));\n if (ca > 0) {\n c37138a.mo59203a(i, i2, ca, this.f16584Sf);\n }\n AppMethodBeat.m2505o(2013);\n }"
] | [
"0.68097275",
"0.6120288",
"0.59531707",
"0.5918522",
"0.5776716",
"0.5765567",
"0.57591397",
"0.55079556",
"0.5401725",
"0.5363326",
"0.53215325",
"0.52329034",
"0.5209249",
"0.5179728",
"0.517456",
"0.5148951",
"0.514838",
"0.5129925",
"0.51237524",
"0.5108275",
"0.5083123",
"0.50420713",
"0.50003296",
"0.49868265",
"0.49762708",
"0.49726087",
"0.49667755",
"0.49608594",
"0.49437836",
"0.49293706",
"0.4919433",
"0.4919433",
"0.48809016",
"0.48674735",
"0.48552403",
"0.4842175",
"0.48392317",
"0.48256743",
"0.48185736",
"0.48060808",
"0.4792502",
"0.4778707",
"0.47564077",
"0.47535822",
"0.4732641",
"0.47251073",
"0.47190264",
"0.47147933",
"0.46976203",
"0.4696117",
"0.46743888",
"0.46718198",
"0.46676958",
"0.4665643",
"0.46646821",
"0.46548283",
"0.4624639",
"0.46145648",
"0.46132463",
"0.4610691",
"0.46103618",
"0.46053904",
"0.45994067",
"0.45967034",
"0.45959413",
"0.45947123",
"0.4591672",
"0.45795968",
"0.45654067",
"0.45647618",
"0.45584387",
"0.45555675",
"0.45494935",
"0.45456097",
"0.4541767",
"0.45398894",
"0.4536635",
"0.4521958",
"0.45171544",
"0.4504568",
"0.45030507",
"0.44983968",
"0.44915754",
"0.44896612",
"0.44878754",
"0.44756815",
"0.44756496",
"0.4464597",
"0.44484603",
"0.44421136",
"0.44367677",
"0.44317746",
"0.4422119",
"0.44170916",
"0.44151452",
"0.44067067",
"0.44044626",
"0.44003844",
"0.44002533",
"0.43985587"
] | 0.81133413 | 0 |
Gets the AAE100 value for this KA04View. | public String getAAE100() {
return AAE100;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA100() {\n return AKA100;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public Double getTVA()\n {\n return (20.0/100.0);\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"int getAlphaOff(){\n return getPercentageValue(\"alphaOff\");\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String getBAA001() {\n return BAA001;\n }",
"@Basic\n\tpublic double getAy() {\n\t\treturn this.ay;\n\t}",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public boolean getAA() {\n return AA;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public int getAno() {\n\t\t\treturn ano;\n\t\t}",
"int getAlpha(){\n return getPercentageValue(\"alpha\"); \n }",
"public int getPesoA() \r\n\t\t{\r\n\t\t\treturn PesoA;\r\n\t\t}",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public BigDecimal getACCRUAL_AMT() {\r\n return ACCRUAL_AMT;\r\n }",
"gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa getAa();",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public boolean getAA() {\n return AA;\n }",
"public int getA() {\n\t\treturn 0;\n\t}",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public java.lang.String getAUART() {\n return AUART;\n }",
"public double getAlpha() {\n return alpha;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public int getA() {\n\t\treturn a;\n\t}",
"public int getAtk() {\n return atk;\n }",
"public void setAOA(float AOA);",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }",
"public double getAlpha()\n {\n return alpha;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public int getAODC() {\n return aodc;\n }",
"public int getAtk(){\n return atk;\n }",
"public int getAcreage() {\n\t\treturn acreage;\n\t}",
"public double getA() {\n return a;\n }",
"public Number getAlto()\n {\n return (Number)getAttributeInternal(ALTO);\n }",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public Point getA() {\n\t\treturn a;\n\t}",
"@javax.persistence.Column(name = \"athlete_code\", nullable = false)\n\tpublic java.lang.Integer getAthleteCode() {\n\t\treturn getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE);\n\t}",
"public double getTotalAbsencePercentage() {\n return totalAbsencePercentageProperty.get();\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"double effective_aoa () {\n if (current_part == strut)\n return current_part.aoa;\n else if (// false && // DEBUG aft problems...\n current_part == stab && stab_aoa_correction) {\n // stab is in downwash from main wing and sees some down stream.\n double wing_Cl0 = 0.4; // very typical, true for Aquila, NACA 3412 63-412 etc\n // the following is from \"General aviation aicraft design, Appendix C1\"\n double wing_Cl = wing.cl;\n double div = Math.PI * wing.span/wing.chord;\n double corrected_aoa = craft_pitch * (1 - 2 * wing_Cl / div) - \n 2 * wing_Cl0 / div - wing.aoa + current_part.aoa;\n // double correction = corrected_aoa - (current_part.aoa + craft_pitch);\n // System.out.println(\"-- correction: \" + correction);\n return Math.min(aoa_max, Math.max(aoa_min, corrected_aoa));\n } else\n return Math.min(aoa_max, Math.max(aoa_min, current_part.aoa + craft_pitch));\n }",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"String getEACCode();",
"public int getEva(){\n return eva;\n }",
"public double getAnomalyScore() {\n\t\treturn anomalyScore;\n\t}",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (aabbValueBuilder_ == null) {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n } else {\n if (typeCase_ == 12) {\n return aabbValueBuilder_.getMessage();\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public double getValueOfEDFA() {\n\t\treturn valueOfEDFA;\n\t}",
"public double getAlpha();",
"public double getAlpha();",
"public int m5042a() {\n return this.f3983a;\n }",
"public int getA() {\n\t\treturn this.height*this.width;\n\t}",
"public int getAno(){\n return ano;\n }",
"public org.chartacaeli.model.CatalogADC5109 getCatalogADC5109() {\n return this.catalogADC5109;\n }",
"int getAtk();",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"public java.lang.String getVAL_AREA() {\r\n return VAL_AREA;\r\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public float getA() {\n return a;\n }",
"public double getIntAnual() {\n return intAnual;\n }",
"public final synchronized long m100o() {\n if (this.f99K <= 0) {\n this.f99K = C0048a.m297h();\n }\n return this.f99K;\n }",
"public String getEadid() {\n return this.eadid;\n }",
"public float getAlpha() {\n \t\treturn alpha;\n\t}",
"public double getAlpha()\n\t{\n\t\treturn Math.toRadians(alpha);\n\t}",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public float getA() {\r\n return a;\r\n }",
"double getAlpha() {\n return alpha;\n }",
"public org.chartacaeli.model.CatalogADC6049 getCatalogADC6049() {\n return this.catalogADC6049;\n }",
"public org.chartacaeli.model.CatalogADC7118 getCatalogADC7118() {\n return this.catalogADC7118;\n }",
"public int getAODE() {\n return aode;\n }",
"public SimpleDoubleProperty getTotalAbsencePercentageProperty() {\n return totalAbsencePercentageProperty;\n }",
"public Integer getBaselineForEarnedValue()\r\n {\r\n return (m_baselineForEarnedValue);\r\n }",
"public char getGradeLetter() {\n\t\t\n\t\t// get the current overall grade\n\t\tdouble overallAverage = averages[OVERALL];\n\t\t\n\t\t// check its value and return the correct letter\n\t\tif (overallAverage < 60) \n\t\t\treturn 'F';\n\t\telse if (overallAverage < 70) \n\t\t\treturn 'D';\n\t\telse if (overallAverage < 80) \n\t\t\treturn 'C';\n\t\telse if (overallAverage < 90) \n\t\t\treturn 'B';\n\t\telse\n\t\t\treturn 'A';\n\t}",
"public int mo1950a() {\n return this.f1924a;\n }",
"public int getAid() {\n return instance.getAid();\n }"
] | [
"0.7049836",
"0.69300455",
"0.68553185",
"0.67474526",
"0.65159076",
"0.6409221",
"0.6331697",
"0.6247769",
"0.61912507",
"0.6136381",
"0.5951653",
"0.58894765",
"0.5871431",
"0.58486927",
"0.5828305",
"0.5818265",
"0.5686336",
"0.5670258",
"0.5670258",
"0.5668592",
"0.5663488",
"0.56318563",
"0.5627793",
"0.56075084",
"0.560098",
"0.559641",
"0.5585637",
"0.55823",
"0.5580614",
"0.557602",
"0.55709827",
"0.554548",
"0.552913",
"0.55228806",
"0.55228806",
"0.5520327",
"0.55129457",
"0.550795",
"0.55010355",
"0.5498246",
"0.5428054",
"0.53962857",
"0.5388118",
"0.5362201",
"0.53611636",
"0.5349477",
"0.5336379",
"0.5326885",
"0.5326244",
"0.5309592",
"0.5301677",
"0.52964103",
"0.5286567",
"0.5276521",
"0.5276022",
"0.52738833",
"0.5262766",
"0.5261583",
"0.52534705",
"0.5238856",
"0.52280915",
"0.5221671",
"0.5218134",
"0.52078307",
"0.5197396",
"0.5185419",
"0.5183447",
"0.518142",
"0.5167658",
"0.5167404",
"0.5156667",
"0.5147437",
"0.5147192",
"0.514702",
"0.514702",
"0.51324373",
"0.51283336",
"0.51268804",
"0.51049674",
"0.51019955",
"0.510189",
"0.50956047",
"0.5094273",
"0.50745815",
"0.5073621",
"0.5073585",
"0.5073519",
"0.507179",
"0.5070914",
"0.50531363",
"0.50522316",
"0.50494367",
"0.50480527",
"0.50464505",
"0.5042146",
"0.5041415",
"0.5029696",
"0.50292313",
"0.50288147",
"0.5025947"
] | 0.79476094 | 0 |
Sets the AAE100 value for this KA04View. | public void setAAE100(String AAE100) {
this.AAE100 = AAE100;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAOA(float AOA);",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setTotalAbsencePercentage(double totalAbsencePercentage) {\n //this.totalAbsencePercentageProperty.set(Math.round(totalAbsencePercentage * 100.0) / 100.0);\n this.totalAbsencePercentageProperty.set(totalAbsencePercentage);\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setAlpha(double aAlpha);",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar100(java.lang.Integer value) {\n validate(fields()[101], value);\n this.var100 = value;\n fieldSetFlags()[101] = true;\n return this;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setAlpha(double alpha);",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public static void setEnaSpec(ArrayList<PCSpec> enaSpec) {\r\n PCCTRL.enaSpec = enaSpec;\r\n }",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setAlto(Number value)\n {\n setAttributeInternal(ALTO, value);\n }",
"public void setACCRUAL_AMT(BigDecimal ACCRUAL_AMT) {\r\n this.ACCRUAL_AMT = ACCRUAL_AMT;\r\n }",
"public void setEpaCertNo(String aEpaCertNo) {\n epaCertNo = aEpaCertNo;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setMeanAnamoly0(double value) {\n this.meanAnamoly0 = value;\n }",
"public void setAlpha(int a)\n { \n alpha = (float) a / 100.0F;\n repaint();\n }",
"public void setAlerta(int _alerta) {\r\n\t\tthis.alerta = _alerta;\r\n\t}",
"public void setMeanAnamoly(double value) {\n this.meanAnamoly = value;\n }",
"public void setPesoA(int pesoA) \r\n\t\t{\r\n\t\t\tPesoA = pesoA;\r\n\t\t}",
"public void setECapacity(double argECapacity) {\n eCapacity = argECapacity;\n }",
"public void setFECHACRREVAL(int value) {\n this.fechacrreval = value;\n }",
"public void setA(double value) {\n this.a = value;\n }",
"public void setAno( int ano ){\n this.ano = ano;\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"@Override\r\n\t\tpublic void setAO(int address, int value) throws IOServiceException {\n\r\n\t\t}",
"public void setBaselineForEarnedValue(Integer baselineForEarnedValue)\r\n {\r\n m_baselineForEarnedValue = baselineForEarnedValue;\r\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public void setAODC(final double aod) {\n // The value is given as a floating number in the navigation message\n this.aodc = (int) aod;\n }",
"public void setAcreage(int acreage) {\n\t\tthis.acreage = acreage;\n\t}",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"public void setVar100(java.lang.Integer value) {\n this.var100 = value;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAOC(AOC aoc) {\n\t\tthis.aoc = aoc;\n\t}",
"public void setNumAyuAtracc(int num);",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"A6E(int i) {\n this.A00 = i;\n }",
"public void azzera() { setEnergia(0.0); }",
"protected void setAy(double ay) {\n\t\tif (isValidAy(ay))\n\t\t\tthis.ay = ay;\t\t\n\t\telse \n\t\t\tthis.ay = 0;\t\t\n\t}",
"public void setAlpha(float alpha) {\n\t\tthis.alpha = alpha;\n\t}",
"public Builder setAabbValue(\n godot.wire.Wire.AABB.Builder builderForValue) {\n if (aabbValueBuilder_ == null) {\n type_ = builderForValue.build();\n onChanged();\n } else {\n aabbValueBuilder_.setMessage(builderForValue.build());\n }\n typeCase_ = 12;\n return this;\n }",
"public void setAODE(final double aod) {\n // The value is given as a floating number in the navigation message\n this.aode = (int) aod;\n }",
"public Builder setAlphaInfoValue(int value) {\n copyOnWrite();\n instance.setAlphaInfoValue(value);\n return this;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public Builder setE(int value) {\n bitField0_ |= 0x00000001;\n e_ = value;\n onChanged();\n return this;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public static void setEnaComp(ArrayList<Component> enaComp) {\r\n PCCTRL.enaComp = enaComp;\r\n }",
"public Builder setA(float value) {\n bitField0_ |= 0x00000001;\n a_ = value;\n onChanged();\n return this;\n }",
"public void setATA_CD( String aTA_CD ) {\n ATA_CD = aTA_CD;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void mo98a(ah ahVar) {\n super.mo98a(ahVar);\n m24192d(ahVar);\n }",
"public void setEta(double newEta) {\n\t\teta = newEta;\n\t}",
"public void setAUART(java.lang.String AUART) {\n this.AUART = AUART;\n }",
"public void setAttVCA(int att){\n\t\t\n\t\tsuper.setAttVCA((att == 0)? 1 : att );\n\t}",
"public String getAAE036() {\n return AAE036;\n }",
"public Builder setSampleAes(\n com.google.cloud.video.livestream.v1.Encryption.SampleAesEncryption.Builder\n builderForValue) {\n if (sampleAesBuilder_ == null) {\n encryptionMode_ = builderForValue.build();\n onChanged();\n } else {\n sampleAesBuilder_.setMessage(builderForValue.build());\n }\n encryptionModeCase_ = 5;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar91(java.lang.Integer value) {\n validate(fields()[92], value);\n this.var91 = value;\n fieldSetFlags()[92] = true;\n return this;\n }",
"public void setAdc(ADC newValue) {\n ADC oldValue = getAdc();\n if (oldValue != newValue) {\n _adc = newValue;\n firePropertyChange(AltairConstants.ADC_PROP, oldValue, newValue);\n }\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setTrueAnamoly(double value) {\n this.trueAnamoly = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar97(java.lang.Integer value) {\n validate(fields()[98], value);\n this.var97 = value;\n fieldSetFlags()[98] = true;\n return this;\n }",
"public void setA(double a){\n this.a=a;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setCriticalAbateValue(YangUInt8 criticalAbateValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"critical-abate\",\n criticalAbateValue,\n childrenNames());\n }",
"public void setAceCount(int aceCount){\n this.aceCount = aceCount;\n }"
] | [
"0.6891822",
"0.6701332",
"0.64172655",
"0.63421893",
"0.6310495",
"0.61581236",
"0.6010584",
"0.5754625",
"0.5753015",
"0.55792123",
"0.55223125",
"0.5490375",
"0.54604506",
"0.5442819",
"0.5432558",
"0.5391107",
"0.5384976",
"0.5291447",
"0.5291447",
"0.52757037",
"0.5256887",
"0.5241251",
"0.52223146",
"0.5136062",
"0.50656044",
"0.50584376",
"0.50469506",
"0.50131154",
"0.5006267",
"0.50040996",
"0.49620113",
"0.49595752",
"0.49379778",
"0.4931046",
"0.49206427",
"0.49145353",
"0.48918897",
"0.48878917",
"0.48801824",
"0.48798785",
"0.48795512",
"0.4875458",
"0.4868552",
"0.4863382",
"0.4855318",
"0.48314202",
"0.48273873",
"0.4819164",
"0.481848",
"0.4800873",
"0.4797426",
"0.47942835",
"0.47888148",
"0.47802418",
"0.4775281",
"0.4765855",
"0.47647995",
"0.47635314",
"0.47600612",
"0.47316378",
"0.47301367",
"0.472951",
"0.47220877",
"0.47168767",
"0.47119573",
"0.47059587",
"0.46944684",
"0.46895248",
"0.46864945",
"0.46763834",
"0.46617514",
"0.46587402",
"0.4655134",
"0.4652043",
"0.46442708",
"0.46377045",
"0.46375594",
"0.46167502",
"0.46164533",
"0.46142408",
"0.4613839",
"0.46115586",
"0.46097022",
"0.4602794",
"0.46023282",
"0.4601631",
"0.45927626",
"0.45866436",
"0.45651045",
"0.45559862",
"0.45404527",
"0.45397452",
"0.45381075",
"0.45225468",
"0.45185542",
"0.45169193",
"0.45134455",
"0.45099002",
"0.450892",
"0.45069975"
] | 0.800589 | 0 |
Gets the AAE140 value for this KA04View. | public String getAAE140() {
return AAE140;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public java.lang.Float getVar140() {\n return var140;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public java.lang.Float getVar140() {\n return var140;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int mo25060a() {\n return this.f14804f;\n }",
"public final A mo131916a() {\n return this.f111800a;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public long mo41164a() {\n return this.f25421c.get();\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public String m15120a() {\n return (String) this.f13489a.mo23039a(C7196pb.f13872r);\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public final String m45a() {\r\n return this.f16a;\r\n }",
"public String m3144e() {\n return this.f2411e;\n }",
"public RelativeLayout mo5604a() {\n return this.f14283a;\n }",
"public int m2704e() {\n return ((Integer) this.f2439a.m2666a(ea.bq)).intValue();\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public final int a() {\n return this.f26928e != -1 ? this.f26928e : f.a(this.f26924a);\n }",
"public java.lang.String getVAL_AREA() {\r\n return VAL_AREA;\r\n }",
"final int m29996a() {\n return this.f25150a;\n }",
"public int getAODC() {\n return aodc;\n }",
"public final int mo19167a() {\n return zam.f54891a.mo3214a();\n }",
"public final KeyPair a() {\n return this.f14146a;\n }",
"public C11450r m38663a() {\n return this.f31348a;\n }",
"public long mo42394a() {\n return this.f12812a;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public Object mo3768C() {\n return this.f1468aq;\n }",
"public CharSequence mo27004d() {\n return this.f24571k;\n }",
"public long mo42950a() {\n return this.f12176a;\n }",
"public int mo3840v() {\n return this.f1463al + this.f1439N;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public final int mo114176a() {\n return this.f118838f * 1000;\n }",
"public final int mo7474a() {\n return this.f6017b;\n }",
"public String m14035a() {\n this.f18047c.m14047a(str, list);\n return this.f18047c.m14049b(true);\n }",
"public final int mo14849a() {\n return this.f6607g;\n }",
"public static final float getAD() {\r\n\t\treturn A_D;\r\n\t}",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public final String mo41500a() {\n return this.f25737b;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public double getValueOfEDFA() {\n\t\treturn valueOfEDFA;\n\t}",
"public int getAODE() {\n return aode;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public double getAngle()\n {\n return (AngleAverage);\n }",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public java.lang.CharSequence getVar144() {\n return var144;\n }",
"public String mo13870a() {\n return this.f5076b;\n }",
"public String getPra4() {\n return pra4;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public java.lang.CharSequence getVar144() {\n return var144;\n }",
"public double getA() {\n return a;\n }",
"public String mo23344a() {\n return this.f13985l;\n }",
"C4580e<C1513g> m18493a() {\n return this.f16503a;\n }",
"public String getAgcData ()\n\t{\n\t\tString agcData = getContent().substring(OFF_ID27_AGC_DATA, OFF_ID27_AGC_DATA + LEN_ID27_AGC_DATA) ;\n\t\treturn (agcData);\n\t}",
"public final int mo123469a() {\n return this.f124085a.f123814a.f124113b;\n }",
"public e e() {\n return this.f5638g;\n }",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"public ArrayList<ConstraintAnchor> mo3769D() {\n return this.f1427B;\n }",
"public int mo23298ga() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13914zb)).intValue();\n }",
"public int mo31043a() {\n return this.f21113a;\n }",
"public Point3D getA() {\r\n return a;\r\n }",
"public String mo43850a() {\n String str = this.f42896a;\n return str != null ? str : \"\";\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String m13409a() {\n return this.f12818b;\n }",
"public final String mo13147a() {\n return this.f6797e;\n }",
"public final int mo5173a() {\n return Math.round(this.f9481c);\n }",
"public double getTrueAnamoly() {\n return trueAnamoly;\n }",
"public org.chartacaeli.model.CatalogADC7118 getCatalogADC7118() {\n return this.catalogADC7118;\n }",
"public long mo41884a() {\n return this.f35352b;\n }",
"public double getAlpha() {\n return alpha;\n }",
"public String mo9488a() {\n return UMCCDBUtils.m2039a(this.f1513b);\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public final String mo64254a() {\n return this.f41347a;\n }",
"public final int mo2206a() {\n int a = C0455e.m1393a();\n new StringBuilder(f773z[12]).append(a);\n ac.m1576a();\n return a;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public long mo25145a() {\n long positionUs = this.f18883c;\n if (!this.f18882b) {\n return positionUs;\n }\n long elapsedSinceBaseMs = this.f18881a.mo26036a() - this.f18884d;\n C8438u uVar = this.f18885e;\n if (uVar.f18483b == 1.0f) {\n return positionUs + C8275d.m19230a(elapsedSinceBaseMs);\n }\n return positionUs + uVar.mo25864a(elapsedSinceBaseMs);\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"@java.lang.Override\n public float getA() {\n return a_;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public Point getA() {\n\t\treturn a;\n\t}",
"public final String mo16635a() {\n return this.f52931a;\n }",
"public String mo81400k() {\n return this.f58081m;\n }",
"private float m80086a() {\n ViewConfiguration mViewConfiguration = this.f64326a.getMViewConfiguration();\n C7573i.m23582a((Object) mViewConfiguration, \"mViewConfiguration\");\n return (float) mViewConfiguration.getScaledMinimumFlingVelocity();\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public int mo25072g() {\n return this.f14802d;\n }"
] | [
"0.69314003",
"0.662568",
"0.65700805",
"0.6492577",
"0.64256334",
"0.60468256",
"0.60339016",
"0.60154927",
"0.5856548",
"0.58180565",
"0.5785857",
"0.57793665",
"0.5768342",
"0.5763266",
"0.576307",
"0.56905705",
"0.56880075",
"0.5644316",
"0.56423825",
"0.56277394",
"0.56042564",
"0.56036836",
"0.5601241",
"0.559425",
"0.5588656",
"0.55665636",
"0.5548372",
"0.55479985",
"0.554425",
"0.553586",
"0.55349255",
"0.5523816",
"0.5522452",
"0.55219066",
"0.5518376",
"0.54901356",
"0.548274",
"0.5467554",
"0.54605645",
"0.54599816",
"0.5458267",
"0.5453969",
"0.54414535",
"0.5424836",
"0.54241455",
"0.542206",
"0.54088604",
"0.54050535",
"0.5403643",
"0.5401065",
"0.53940535",
"0.5393346",
"0.5393346",
"0.53864574",
"0.5386294",
"0.53859574",
"0.53815573",
"0.5378664",
"0.5378609",
"0.53780794",
"0.5376615",
"0.5360846",
"0.5344956",
"0.534401",
"0.53436726",
"0.53395253",
"0.53335273",
"0.53327066",
"0.53326845",
"0.5327662",
"0.53244543",
"0.5324342",
"0.5323142",
"0.5322663",
"0.53176326",
"0.5317015",
"0.53157955",
"0.5313787",
"0.53091747",
"0.5305775",
"0.5301821",
"0.5299086",
"0.529802",
"0.529385",
"0.5293364",
"0.5291489",
"0.52867794",
"0.5286589",
"0.5286426",
"0.52829087",
"0.52815694",
"0.52798265",
"0.52782315",
"0.5274833",
"0.52740747",
"0.5273251",
"0.52675694",
"0.52663255",
"0.5265442",
"0.52650434"
] | 0.8003021 | 0 |
Sets the AAE140 value for this KA04View. | public void setAAE140(String AAE140) {
this.AAE140 = AAE140;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAAE140() {\n return AAE140;\n }",
"public void setAOA(float AOA);",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar140(java.lang.Float value) {\n validate(fields()[141], value);\n this.var140 = value;\n fieldSetFlags()[141] = true;\n return this;\n }",
"public void setVar140(java.lang.Float value) {\n this.var140 = value;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public final void set(AxisAngle4f a1) {\n\tsetFromAxisAngle(a1.x, a1.y, a1.z, a1.angle);\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public final void set(AxisAngle4d a1) {\n\tsetFromAxisAngle(a1.x, a1.y, a1.z, a1.angle);\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void mo2185a() {\n C0320g.f1380r = new C0316a();\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public static void m23002a(C7838e eVar, C7041a aVar) {\n eVar.f16941V = aVar;\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public void setAODC(final double aod) {\n // The value is given as a floating number in the navigation message\n this.aodc = (int) aod;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"protected void mo3350a() {\n super.a();\n this.f9051o = new YAxis(AxisDependency.LEFT);\n this.f9052p = new YAxis(AxisDependency.RIGHT);\n this.f9055s = new C3281g(this.Q);\n this.f9056t = new C3281g(this.Q);\n this.f9053q = new C3269t(this.Q, this.f9051o, this.f9055s);\n this.f9054r = new C3269t(this.Q, this.f9052p, this.f9056t);\n this.f9057u = new C2005q(this.Q, this.H, this.f9055s);\n setHighlighter(new C3210b(this));\n this.M = new C3284a(this, this.Q.m15881p(), 3.0f);\n this.f9043g = new Paint();\n this.f9043g.setStyle(Style.FILL);\n this.f9043g.setColor(Color.rgb(240, 240, 240));\n this.f9044h = new Paint();\n this.f9044h.setStyle(Style.STROKE);\n this.f9044h.setColor(ViewCompat.MEASURED_STATE_MASK);\n this.f9044h.setStrokeWidth(C3283i.m15928a(1.0f));\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar170(java.lang.CharSequence value) {\n validate(fields()[171], value);\n this.var170 = value;\n fieldSetFlags()[171] = true;\n return this;\n }",
"public final void mo1641b() {\n super.mo1641b();\n this.f1472a = 0.0f;\n }",
"public void mo26989a() {\n if (m32692m()) {\n C4187x.m14354a(this.f24563c, C4187x.m14403r(this.f24562b.getEditText()), 0, C4187x.m14402q(this.f24562b.getEditText()), 0);\n }\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar144(java.lang.CharSequence value) {\n validate(fields()[145], value);\n this.var144 = value;\n fieldSetFlags()[145] = true;\n return this;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setAODE(final double aod) {\n // The value is given as a floating number in the navigation message\n this.aode = (int) aod;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"public void setAlpha(double aAlpha);",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public void setTrueAnamoly(double value) {\n this.trueAnamoly = value;\n }",
"public Builder setA(float value) {\n bitField0_ |= 0x00000001;\n a_ = value;\n onChanged();\n return this;\n }",
"public void setEnvelope() {\n this.envelope = new Envelope(this.roomCards.get(0), this.weaponCards.get(0), this.suspectCards.get(0));\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar113(java.lang.Float value) {\n validate(fields()[114], value);\n this.var113 = value;\n fieldSetFlags()[114] = true;\n return this;\n }",
"public java.lang.Float getVar140() {\n return var140;\n }",
"public final void mo9234a(View view, C37138a c37138a) {\n AppMethodBeat.m2504i(2013);\n int[] a = C16896c.this.mo26234a(C16896c.this.aiB.getLayoutManager(), view);\n int i = a[0];\n int i2 = a[1];\n int ca = mo65816ca(Math.max(Math.abs(i), Math.abs(i2)));\n if (ca > 0) {\n c37138a.mo59203a(i, i2, ca, this.f16584Sf);\n }\n AppMethodBeat.m2505o(2013);\n }",
"public void mo3609a() {\n this.f18079a.m14050a();\n }",
"public void mo4354a() {\n this.f3151a = 0;\n this.f3152b = false;\n this.f3153c = false;\n this.f3154d = false;\n }",
"public final void mo9764A() {\n int i = this.f9080g + this.f9081h;\n this.f9080g = i;\n int i2 = this.f9084k + i;\n int i3 = this.f9085l;\n if (i2 > i3) {\n int i4 = i2 - i3;\n this.f9081h = i4;\n this.f9080g = i - i4;\n return;\n }\n this.f9081h = 0;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"public void mo55177a() {\n C3767w0.m1812b().mo55894a(this.f1470a, this.f1471b, C3615m3.this.f1442a);\n AnalyticsBridge.getInstance().reportSetCustomParameterEvent(this.f1470a);\n }",
"public void setVar144(java.lang.CharSequence value) {\n this.var144 = value;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public java.lang.Float getVar140() {\n return var140;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder clearVar140() {\n var140 = null;\n fieldSetFlags()[141] = false;\n return this;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"private void m20469a() {\n this.f16565a.f16545b = 3;\n this.f16565a.m20454g();\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public final void mo4425a() {\n boolean z = true;\n int i = this.f1102b.f1100a.getResources().getConfiguration().orientation;\n PurchaseActivity purchaseActivity = this.f1102b.f1100a;\n C1033g c1033g = this.f1101a;\n if (i != 1) {\n z = false;\n }\n PurchaseActivity.m791a(purchaseActivity, c1033g, z);\n }",
"public static void m23005a(C7838e eVar, C7084v vVar) {\n eVar.f16942W = vVar;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public final void mo31316a() {\n if (this.f14057b != null && !this.f14056a.mo18605c()) {\n mo31317a(true);\n }\n }",
"public C1647a mo17608a(@NonNull Transformation agVar) {\n if (agVar == null) {\n throw new IllegalArgumentException(\"Transformation must not be null.\");\n } else if (agVar.mo17274a() == null) {\n throw new IllegalArgumentException(\"Transformation key must not be null.\");\n } else {\n if (this.f2627o == null) {\n this.f2627o = new ArrayList(2);\n }\n this.f2627o.add(agVar);\n return this;\n }\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setAlpha(double alpha);",
"public final void mo39748p() {\n if (this.f40704E == null) {\n C15593cd.m50346a(this.f40707H.f44224a, this.f40705F, \"aes2\");\n this.f40704E = C15593cd.m50345a(this.f40707H.f44224a);\n this.f40707H.mo41452a(\"native:view_show\", this.f40704E);\n }\n HashMap hashMap = new HashMap(1);\n hashMap.put(C38347c.f99551f, this.f40721c.f45677a);\n mo39809a(\"onshow\", (Map<String, ?>) hashMap);\n }",
"public void mo55177a() {\n C3767w0.m1812b().mo55895a((HashMap<String, Object>) this.f1473a, C3615m3.this.f1442a);\n AnalyticsBridge.getInstance().reportSetCustomParametersEvent(this.f1473a);\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setVar170(java.lang.CharSequence value) {\n this.var170 = value;\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public final synchronized void mo39717a(anv anv) {\n this.f40731m = anv;\n requestLayout();\n }",
"public void mo1323a(ac acVar, View view) {\n this.f15139b.f19007j = c4812u.m27910m();\n C4592k.m25308b(this.f15139b.f18999b, c4812u);\n }",
"public final void mo4359a() {\n this.f21374b.position(this.f21375c + m27210d());\n }",
"public void mo130017a() {\n this.f109119k = 0;\n mo130020b();\n }",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"public void mo14592a() {\n if (this.f60320b != null) {\n this.f60320b.mo14592a();\n }\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public final void mo1281a() {\n this.f1998g = 0;\n this.f1999h = 0;\n this.f2000i = false;\n }",
"public void m7463a() {\n this.f5790b.m7525a();\n this.f5793e = 0;\n this.f5795g = 0;\n this.f5794f = 0;\n this.f5796h = 0;\n }",
"public final void mo5021a() {\n this.f2434k = null;\n }",
"public void mo55462a() {\n C3615m3.this.f1448g.mo55369a(this.f1459a);\n C3615m3.this.f1448g.mo55371a(C3552h2.m914h().mo55455c());\n }",
"public void setA(double value) {\n this.a = value;\n }",
"private void m13709a() {\n this.f11100s = 0;\n this.f11103v = 0;\n }",
"protected void mo5419a() {\n C1924i c1924i = (C1924i) this.f;\n if (c1924i.m4489A()) {\n this.c.mo5501a(c1924i);\n return;\n }\n throw new IllegalStateException(\"ad is not ready or already displayed\");\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public final void mo68345a() {\n MarginLayoutParams marginLayoutParams = (MarginLayoutParams) this.f70292i.getLayoutParams();\n marginLayoutParams.leftMargin = (int) C9738o.m28708b(this.f70272a, 0.0f);\n this.f70292i.setLayoutParams(marginLayoutParams);\n m87592f(false);\n }",
"public void mo75192a() {\n AppMethodBeat.m2504i(65565);\n this.f17955a.setLength(0);\n this.f17956b.setText(\"\");\n this.f17957c.setText(\"\");\n AppMethodBeat.m2505o(65565);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar174(java.lang.Double value) {\n validate(fields()[175], value);\n this.var174 = value;\n fieldSetFlags()[175] = true;\n return this;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public final void mo3704f() {\n this.f1880a.f1299i = null;\n this.f1880a.f1302l = 0;\n super.mo3704f();\n }",
"public void mo55462a() {\n C3615m3.this.f1448g.mo55371a(C3552h2.m914h().mo55455c());\n }",
"public final void mo14974a(View view) {\n this.f11699c.mo17796f(view);\n }",
"public final void mo4359a() {\n this.f20660b.position((int) (this.f20666h - this.f20662d));\n }",
"public void mo11152a() {\n C11993b.m48031a(this, false, 1, null);\n }",
"public void mo12738a() {\n this.f13704e = false;\n }",
"public final void mo61319a(C2541a c2541a) {\n this.jbg = c2541a;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar112(java.lang.Double value) {\n validate(fields()[113], value);\n this.var112 = value;\n fieldSetFlags()[113] = true;\n return this;\n }",
"public final void mo6627a() {\n this.f5601w.invalidate();\n }",
"public void setAngle(double a) {\n\t\tangle= a;\n\t}",
"public void setAngle( double a ) { angle = a; }",
"private final void m46517V() {\n if (this.f40707H != null) {\n C15600ck ckVar = this.f40707H.f44224a;\n if (!(ckVar == null || C14793ay.m42898d().mo39086a() == null)) {\n C14793ay.m42898d().mo39086a().mo41449a(ckVar);\n }\n }\n }",
"public final A mo131916a() {\n return this.f111800a;\n }",
"public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }",
"public static void m21207a(C6947a aVar, C6960e eVar) {\n aVar.f15454W = eVar;\n }",
"void m6860a(Confidence confidence) {\n this.f5235f = confidence;\n }"
] | [
"0.6912367",
"0.63407797",
"0.60228115",
"0.5953884",
"0.5905013",
"0.577892",
"0.55645174",
"0.5523597",
"0.5439555",
"0.5392357",
"0.5374522",
"0.537314",
"0.5232989",
"0.52304125",
"0.51861",
"0.5130797",
"0.5118823",
"0.51059735",
"0.5096394",
"0.5068692",
"0.5030051",
"0.5025054",
"0.4992761",
"0.49683547",
"0.49428442",
"0.49396086",
"0.49332276",
"0.49299747",
"0.4913779",
"0.4909739",
"0.49096915",
"0.49077603",
"0.48995978",
"0.48975274",
"0.489697",
"0.48807138",
"0.48800385",
"0.4875155",
"0.4870255",
"0.48623008",
"0.4862176",
"0.48502856",
"0.48456523",
"0.48382857",
"0.48296943",
"0.4825543",
"0.48107028",
"0.48088762",
"0.479919",
"0.47876832",
"0.47853783",
"0.47834104",
"0.47804147",
"0.47752613",
"0.4758971",
"0.4750111",
"0.4740234",
"0.47325054",
"0.4731488",
"0.47296757",
"0.4727482",
"0.47198993",
"0.47169685",
"0.4716776",
"0.4716488",
"0.47153026",
"0.47110444",
"0.4710815",
"0.47030553",
"0.47015965",
"0.46923518",
"0.46804294",
"0.4676357",
"0.4673954",
"0.4662948",
"0.46609557",
"0.46580726",
"0.46572286",
"0.46511877",
"0.46486494",
"0.464769",
"0.4641604",
"0.46320722",
"0.46313763",
"0.46289286",
"0.4627441",
"0.46269235",
"0.46220517",
"0.4619491",
"0.46162522",
"0.4615884",
"0.461014",
"0.4604886",
"0.46018317",
"0.46014237",
"0.4596505",
"0.45939243",
"0.45839646",
"0.45834324",
"0.4581917"
] | 0.7954118 | 0 |
Gets the AKA063 value for this KA04View. | public String getAKA063() {
return AKA063;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String m8253a() {\n return this.f7006a;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public int getAtk() {\n return atk;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public boolean getAA() {\n return AA;\n }",
"public int getKAId() {\n return this.id;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int getAtk(){\n return atk;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public final String mo4925a() {\n return this.f2365a;\n }",
"public final int getSarakeMuuttujatAihe() {\r\n return sarakeMuuttujatAihe;\r\n }",
"public boolean getAA() {\n return AA;\n }",
"public double calcKa() {\n return 0;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public C2652a m51827a() {\n return C13395h.m51825a(this.f42518a, this.f42519b, this.f42520c, this.f42521d, this.f42522e, this.f42523f, this.f42524g, this.f42525h, this.f42526i, this.f42527j);\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String mo1238a() {\n return this.f900a.mo1218a_();\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public String getADM() {\n return ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.prefix\"))) + ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.access-denied\")));\n }",
"public double getKhuyenmai() {\n return khuyenmai;\n }",
"public String KaToMa(double ka) {\n // ma = 1000000*ka\n double ma = 1000000*ka;\n return check_after_decimal_point(ma);\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public int mo25006a() {\n int i = this.f16512l;\n if (i == -1) {\n return -1;\n }\n int i2 = this.f16513m;\n if (i2 == -1) {\n return -1;\n }\n return i * i2;\n }",
"public long m2684K() {\n return ((Long) this.f2439a.m2666a(ea.cu)).longValue();\n }",
"public final int mo5173a() {\n return Math.round(this.f9481c);\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public CharSequence mo27004d() {\n return this.f24571k;\n }",
"String m6857a() {\n return this.f5237h;\n }",
"public String mo3824n() {\n return this.f1471at;\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public final String mo132052c() {\n MtopConfig aVar = this.f111984a;\n return aVar != null ? aVar.f112130a : \"\";\n }",
"public String getAmplitud() {\r\n return amplitud;\r\n }",
"public C8438u mo25060e() {\n return this.f16581A;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String mo43850a() {\n String str = this.f42896a;\n return str != null ? str : \"\";\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String m13685a() {\n return this.f11895a;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public final TextView m62337b() {\n return this.f51845b;\n }",
"public float getATKMultiplier() {\n\t\treturn ATKMultiplier;\n\t}",
"public final String mo64254a() {\n return this.f41347a;\n }",
"public Long getKinkenriyou06() {\r\n return kinkenriyou06;\r\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public String KaToDaa(double ka) {\n // dal = 100*ka\n double daa = 100*ka;\n return check_after_decimal_point(daa);\n }",
"public final C1580b mo7062A() {\n return this.f4966h;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public String mo7562iu() {\n m3981iw();\n if (this.f3568qK == null) {\n return null;\n }\n return this.f3568qK.getId();\n }",
"public String mo23344a() {\n return this.f13985l;\n }",
"public Locale mo126a() {\n return this.f48s;\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String MaToKa(double ma) {\n // ka = ma/1000000\n double ka = ma/1000000;\n return check_after_decimal_point(ka);\n }",
"public ao m50838a() {\n return m50836b();\n }",
"public String m3144e() {\n return this.f2411e;\n }",
"public final String mo15029a() {\n return this.f6006a;\n }",
"public double getMon603a5() {\r\n\t\treturn mon603a5;\r\n\t}",
"int getAtk();",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public long mo41164a() {\n return this.f25421c.get();\n }"
] | [
"0.7287899",
"0.7114921",
"0.70225245",
"0.6900536",
"0.6620592",
"0.65615755",
"0.6501872",
"0.6394821",
"0.6358335",
"0.6303318",
"0.6129535",
"0.60427874",
"0.59507567",
"0.5946784",
"0.5839928",
"0.579145",
"0.57800466",
"0.57757384",
"0.57728666",
"0.57618165",
"0.57394284",
"0.5698846",
"0.56923974",
"0.5632285",
"0.56136876",
"0.5593691",
"0.55510443",
"0.55478466",
"0.5516441",
"0.5515752",
"0.5499991",
"0.54745924",
"0.54670316",
"0.5464541",
"0.5450459",
"0.5432927",
"0.5427676",
"0.5426856",
"0.541092",
"0.53981215",
"0.5397516",
"0.53795916",
"0.53640795",
"0.5361298",
"0.5355284",
"0.5336172",
"0.53191614",
"0.5317539",
"0.5317377",
"0.5315172",
"0.53141654",
"0.529478",
"0.52944815",
"0.5271748",
"0.5269039",
"0.5258707",
"0.52554876",
"0.5251047",
"0.52427435",
"0.52280253",
"0.5227013",
"0.5225878",
"0.5220993",
"0.52155656",
"0.5215185",
"0.5211832",
"0.5207229",
"0.5204321",
"0.5200705",
"0.51963514",
"0.51948977",
"0.5189238",
"0.5184222",
"0.51786137",
"0.51765585",
"0.5175175",
"0.5167987",
"0.5163351",
"0.51588064",
"0.51585305",
"0.51555365",
"0.5154339",
"0.51534307",
"0.5148908",
"0.5146417",
"0.51463145",
"0.5145044",
"0.51414436",
"0.51380265",
"0.5136713",
"0.51291937",
"0.51206714",
"0.51203436",
"0.51083827",
"0.5107731",
"0.51051724",
"0.50931203",
"0.5093117",
"0.5091956",
"0.50880075"
] | 0.822888 | 0 |
Sets the AKA063 value for this KA04View. | public void setAKA063(String AKA063) {
this.AKA063 = AKA063;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public String KaToMa(double ka) {\n // ma = 1000000*ka\n double ma = 1000000*ka;\n return check_after_decimal_point(ma);\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public void setAkku(String inMemoryEntry);",
"public double getAKA104() {\n return AKA104;\n }",
"public static void m2518a() {\n aje.m2409a(\"TinkMac\", new akc());\n aiq.m2375a(f1953b);\n }",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void mo1063a() {\n C0253b.m1817c(C0253b.f1698b);\n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void mo25062g() {\n if (this.f16607aa) {\n this.f16607aa = false;\n this.f16605Y = 0;\n reset();\n }\n }",
"public C8438u mo25147a(C8438u playbackParameters) {\n if (this.f18882b) {\n mo26153a(mo25145a());\n }\n this.f18885e = playbackParameters;\n return playbackParameters;\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public void setAlpha(double aAlpha);",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setAlpha(double alpha);",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public void setNumAyuAtracc(int num);",
"public void mo75192a() {\n AppMethodBeat.m2504i(65565);\n this.f17955a.setLength(0);\n this.f17956b.setText(\"\");\n this.f17957c.setText(\"\");\n AppMethodBeat.m2505o(65565);\n }",
"public String MaToKa(double ma) {\n // ka = ma/1000000\n double ka = ma/1000000;\n return check_after_decimal_point(ka);\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public void setMA_CHUYENNGANH( String MA_CHUYENNGANH )\n {\n this.MA_CHUYENNGANH = MA_CHUYENNGANH;\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public com.example.DNSLog.Builder clearAA() {\n fieldSetFlags()[17] = false;\n return this;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setSuppressAlpha(boolean suppressAlpha) {\n/* 106 */ this.suppressAlpha = suppressAlpha;\n/* */ }",
"public void mo25055a(C8125j audioAttributes) {\n if (!this.f16628v.equals(audioAttributes)) {\n this.f16628v = audioAttributes;\n if (!this.f16607aa) {\n reset();\n this.f16605Y = 0;\n }\n }\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public void setMon603a6(double mon603a6) {\r\n\t\tthis.mon603a6 = mon603a6;\r\n\t}",
"public String KaToDaa(double ka) {\n // dal = 100*ka\n double daa = 100*ka;\n return check_after_decimal_point(daa);\n }",
"public void m6259a(C2411k c2411k) {\n if (this.f5893a.f5894a == null || this.f5893a.f5894a.get() == null) {\n this.f5893a.f5894a = new WeakReference(new C24381(this));\n }\n ((AudioManager) this.f5893a.getContext().getApplicationContext().getSystemService(\"audio\")).requestAudioFocus((OnAudioFocusChangeListener) this.f5893a.f5894a.get(), 3, 1);\n }",
"public void setAOA(float AOA);",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public C8438u mo25072a(C8438u playbackParameters) {\n this.f16634b.mo25170a(playbackParameters.f18485d);\n return new C8438u(this.f16635c.mo25179b(playbackParameters.f18483b), this.f16635c.mo25177a(playbackParameters.f18484c), playbackParameters.f18485d);\n }",
"private void setAlphaInfo(com.whensunset.wsvideoeditorsdk.model.YuvAlphaType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n alphaInfo_ = value.getNumber();\n }",
"public void m6255a(C2406c c2406c) {\n ((AudioManager) this.f5888a.getContext().getApplicationContext().getSystemService(\"audio\")).abandonAudioFocus(this.f5888a.f5894a == null ? null : (OnAudioFocusChangeListener) this.f5888a.f5894a.get());\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"public void mo26993a(CharSequence charSequence) {\n mo26996b();\n this.f24571k = charSequence;\n this.f24573m.setText(charSequence);\n if (this.f24569i != 1) {\n this.f24570j = 1;\n }\n m32685a(this.f24569i, this.f24570j, m32689a(this.f24573m, charSequence));\n }",
"public final void mo75262ac() {\n super.mo75262ac();\n m110455aC();\n m110453aA();\n m110465az();\n }",
"public void setAlto(Number value)\n {\n setAttributeInternal(ALTO, value);\n }",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public float getATKMultiplier() {\n\t\treturn ATKMultiplier;\n\t}",
"public final void mo61319a(C2541a c2541a) {\n this.jbg = c2541a;\n }",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}",
"public final void rule__NoteLetter__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:780:1: ( ( 'C' ) | ( 'D' ) | ( 'E' ) | ( 'F' ) | ( 'G' ) | ( 'A' ) | ( 'B' ) )\n int alt6=7;\n switch ( input.LA(1) ) {\n case 18:\n {\n alt6=1;\n }\n break;\n case 19:\n {\n alt6=2;\n }\n break;\n case 20:\n {\n alt6=3;\n }\n break;\n case 21:\n {\n alt6=4;\n }\n break;\n case 22:\n {\n alt6=5;\n }\n break;\n case 23:\n {\n alt6=6;\n }\n break;\n case 24:\n {\n alt6=7;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 6, 0, input);\n\n throw nvae;\n }\n\n switch (alt6) {\n case 1 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:781:1: ( 'C' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:781:1: ( 'C' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:782:1: 'C'\n {\n before(grammarAccess.getNoteLetterAccess().getCKeyword_0()); \n match(input,18,FOLLOW_18_in_rule__NoteLetter__Alternatives1656); \n after(grammarAccess.getNoteLetterAccess().getCKeyword_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:789:6: ( 'D' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:789:6: ( 'D' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:790:1: 'D'\n {\n before(grammarAccess.getNoteLetterAccess().getDKeyword_1()); \n match(input,19,FOLLOW_19_in_rule__NoteLetter__Alternatives1676); \n after(grammarAccess.getNoteLetterAccess().getDKeyword_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:797:6: ( 'E' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:797:6: ( 'E' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:798:1: 'E'\n {\n before(grammarAccess.getNoteLetterAccess().getEKeyword_2()); \n match(input,20,FOLLOW_20_in_rule__NoteLetter__Alternatives1696); \n after(grammarAccess.getNoteLetterAccess().getEKeyword_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:805:6: ( 'F' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:805:6: ( 'F' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:806:1: 'F'\n {\n before(grammarAccess.getNoteLetterAccess().getFKeyword_3()); \n match(input,21,FOLLOW_21_in_rule__NoteLetter__Alternatives1716); \n after(grammarAccess.getNoteLetterAccess().getFKeyword_3()); \n\n }\n\n\n }\n break;\n case 5 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:813:6: ( 'G' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:813:6: ( 'G' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:814:1: 'G'\n {\n before(grammarAccess.getNoteLetterAccess().getGKeyword_4()); \n match(input,22,FOLLOW_22_in_rule__NoteLetter__Alternatives1736); \n after(grammarAccess.getNoteLetterAccess().getGKeyword_4()); \n\n }\n\n\n }\n break;\n case 6 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:821:6: ( 'A' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:821:6: ( 'A' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:822:1: 'A'\n {\n before(grammarAccess.getNoteLetterAccess().getAKeyword_5()); \n match(input,23,FOLLOW_23_in_rule__NoteLetter__Alternatives1756); \n after(grammarAccess.getNoteLetterAccess().getAKeyword_5()); \n\n }\n\n\n }\n break;\n case 7 :\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:829:6: ( 'B' )\n {\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:829:6: ( 'B' )\n // ../ufscar.Compiladores2.ui/src-gen/ufscar/compiladores2/ui/contentassist/antlr/internal/InternalMusy.g:830:1: 'B'\n {\n before(grammarAccess.getNoteLetterAccess().getBKeyword_6()); \n match(input,24,FOLLOW_24_in_rule__NoteLetter__Alternatives1776); \n after(grammarAccess.getNoteLetterAccess().getBKeyword_6()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getADM() {\n return ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.prefix\"))) + ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.access-denied\")));\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public final C9224a m38666c(Number number) {\n this.f31348a.f37235c = number;\n return this;\n }",
"static void setLetterChoice(boolean isLetterChoice)\r\n {\r\n\tConfiguration.isLetterChoice = isLetterChoice;\r\n }"
] | [
"0.73311484",
"0.65273774",
"0.64776576",
"0.62805736",
"0.6076643",
"0.60463816",
"0.58214235",
"0.5819526",
"0.5801521",
"0.56385314",
"0.5580369",
"0.55747783",
"0.55373347",
"0.54994965",
"0.5450694",
"0.53348345",
"0.5312667",
"0.5295676",
"0.5243319",
"0.5215126",
"0.5180854",
"0.5166552",
"0.5156582",
"0.5140693",
"0.5128485",
"0.51249737",
"0.5063495",
"0.50437015",
"0.5034248",
"0.49942982",
"0.4944822",
"0.4927441",
"0.4916047",
"0.49003118",
"0.4897037",
"0.48869127",
"0.48765612",
"0.48719662",
"0.48698652",
"0.4868944",
"0.48638028",
"0.48589733",
"0.48523247",
"0.48174417",
"0.48105937",
"0.48029694",
"0.47747603",
"0.47646788",
"0.4758322",
"0.4757008",
"0.47280517",
"0.47083604",
"0.47047913",
"0.4693786",
"0.46878633",
"0.4683137",
"0.468069",
"0.4678983",
"0.46758664",
"0.4670224",
"0.4665973",
"0.46589062",
"0.4647432",
"0.4643304",
"0.4638016",
"0.46376482",
"0.4636277",
"0.463513",
"0.46160796",
"0.46150166",
"0.4604092",
"0.4603154",
"0.4598387",
"0.45909497",
"0.458994",
"0.45817915",
"0.45757237",
"0.45711994",
"0.45607984",
"0.45559207",
"0.45485252",
"0.45452315",
"0.45451435",
"0.45420027",
"0.45379505",
"0.45361173",
"0.45353448",
"0.45321375",
"0.45278412",
"0.45266393",
"0.45182216",
"0.45174015",
"0.45110992",
"0.45072287",
"0.45028576",
"0.44867897",
"0.4484535",
"0.44840777",
"0.4483534",
"0.4476938"
] | 0.78499633 | 0 |
Gets the AKA065 value for this KA04View. | public String getAKA065() {
return AKA065;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA063() {\n return AKA063;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public int getAtk() {\n return atk;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public int getAtk(){\n return atk;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public int getKAId() {\n return this.id;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"int getAtk();",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public double calcKa() {\n return 0;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public final int getSarakeMuuttujatAihe() {\r\n return sarakeMuuttujatAihe;\r\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public Long getKinkenriyou06() {\r\n return kinkenriyou06;\r\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public String getKazeikbn() {\r\n return kazeikbn;\r\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public final int mo5173a() {\n return Math.round(this.f9481c);\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public String m8253a() {\n return this.f7006a;\n }",
"public String getCusBak() {\r\n return cusBak;\r\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getAisle() {\n return this.aisle;\n }",
"public C2652a m51827a() {\n return C13395h.m51825a(this.f42518a, this.f42519b, this.f42520c, this.f42521d, this.f42522e, this.f42523f, this.f42524g, this.f42525h, this.f42526i, this.f42527j);\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public double getMw_kDa() {\n return mw_kDa;\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String getAzione() {\n return azione;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"String getCADENA_TRAMA();",
"public float getATKMultiplier() {\n\t\treturn ATKMultiplier;\n\t}",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public java.lang.CharSequence getKullaniciAdi() {\n return kullanici_adi;\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public java.lang.CharSequence getKullaniciAdi() {\n return kullanici_adi;\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public final int mo2206a() {\n int a = C0455e.m1393a();\n new StringBuilder(f773z[12]).append(a);\n ac.m1576a();\n return a;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public java.lang.String getAsapcata() {\n return asapcata;\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public ShareAKeyCallParm getaKeyCallMsg() {\n\t\treturn aKeyCallMsg;\n\t}",
"private int m26064a(View view, C17487am c17487am) {\n AppMethodBeat.m2504i(2019);\n int bf = c17487am.mo31893bf(view) - this.sDo.cGd();\n AppMethodBeat.m2505o(2019);\n return bf;\n }",
"public String KaToDaa(double ka) {\n // dal = 100*ka\n double daa = 100*ka;\n return check_after_decimal_point(daa);\n }",
"public Long getKinkenriyou17() {\r\n return kinkenriyou17;\r\n }"
] | [
"0.7285227",
"0.71396166",
"0.7106397",
"0.69135875",
"0.6767404",
"0.6756232",
"0.6712395",
"0.67007196",
"0.6537013",
"0.6486492",
"0.62781376",
"0.61668694",
"0.611123",
"0.6040909",
"0.593292",
"0.59105706",
"0.5893213",
"0.588206",
"0.5839538",
"0.58161944",
"0.5789178",
"0.5744533",
"0.5702847",
"0.5613963",
"0.56031525",
"0.5600629",
"0.555597",
"0.5547084",
"0.5542918",
"0.55381584",
"0.55352646",
"0.55346835",
"0.5513329",
"0.5448532",
"0.542828",
"0.54185295",
"0.54114985",
"0.535695",
"0.5331201",
"0.5322685",
"0.5308805",
"0.5304664",
"0.52823234",
"0.52782774",
"0.52641803",
"0.5263585",
"0.525887",
"0.52497977",
"0.52465177",
"0.522409",
"0.5218388",
"0.51898515",
"0.518854",
"0.51782936",
"0.51710904",
"0.51666015",
"0.5164561",
"0.5163688",
"0.51476336",
"0.5132959",
"0.5128644",
"0.51220566",
"0.51220566",
"0.511325",
"0.5111238",
"0.51048595",
"0.50990033",
"0.5094282",
"0.5087498",
"0.5082119",
"0.5081559",
"0.50702",
"0.50675774",
"0.5062429",
"0.5059327",
"0.5052506",
"0.50520414",
"0.50519264",
"0.50507253",
"0.5049251",
"0.50447875",
"0.50424004",
"0.5032138",
"0.5029551",
"0.5029551",
"0.5027276",
"0.5023515",
"0.5016626",
"0.50018287",
"0.49929917",
"0.4991353",
"0.4991069",
"0.4987322",
"0.49859467",
"0.49827397",
"0.4980531",
"0.49737257",
"0.49673566",
"0.49589315",
"0.49552658"
] | 0.79852456 | 0 |
Sets the AKA065 value for this KA04View. | public void setAKA065(String AKA065) {
this.AKA065 = AKA065;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public boolean getAA() {\n return AA;\n }",
"public tr.com.siparis.sistemi.kafka.model.Kullanici.Builder setKullaniciAdi(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.kullanici_adi = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setAOA(float AOA);",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public void mo1063a() {\n C0253b.m1817c(C0253b.f1698b);\n }",
"public com.example.DNSLog.Builder clearAA() {\n fieldSetFlags()[17] = false;\n return this;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void mo55177a() {\n C3767w0.m1812b().mo55895a((HashMap<String, Object>) this.f1473a, C3615m3.this.f1442a);\n AnalyticsBridge.getInstance().reportSetCustomParametersEvent(this.f1473a);\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public final boolean mo35111a(C45718aa c45718aa) {\n AppMethodBeat.m2504i(123646);\n if (c45718aa.aQo() == null || ((C38595ab) c45718aa.aQo()).getInputId() != this.hKt) {\n AppMethodBeat.m2505o(123646);\n return false;\n }\n AppMethodBeat.m2505o(123646);\n return true;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public static void m2518a() {\n aje.m2409a(\"TinkMac\", new akc());\n aiq.m2375a(f1953b);\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setNumAyuAtracc(int num);",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public void mo5115a(C0353a c0353a) {\n f784b = c0353a;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public void tarjoaKaakao(automaatti ja, KaakaoTarjoilu ct) {\n\t\tif (ja.getKaakao() < 10) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Raaka-aine loppu. Täytä säiliö!\", \"Virhe!\", JOptionPane.ERROR_MESSAGE);\n\t\t} else {\n\t\t\tct.setVisible(true);\n\t}}",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public final void zzaka() {\n zza(zzbwn.zzfur);\n }",
"public void setKullaniciAdi(java.lang.CharSequence value) {\n this.kullanici_adi = value;\n }",
"public void setAkku(String inMemoryEntry);",
"public int getKAId() {\n return this.id;\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void setAncho(double ancho) {\r\n\t\tthis.ancho = ancho;\r\n\t}",
"public MSGappedDictionaryPSM aaSet(AminoAcidSet aaSet)\t{ this.aaSet = aaSet; return this;}",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void setAncho(int ancho) {\n\t\tthis.ancho = ancho;\n\t}",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public final void mo60146a(View view) {\n super.mo60146a(view);\n DataCenter dataCenter = this.f60922e;\n if (dataCenter != null) {\n C25638a aVar = (C25638a) dataCenter.mo60135a(\"ad_feed_video_params\");\n if (aVar != null) {\n mo66457a(aVar);\n }\n }\n }",
"public void setKdKelas(java.lang.CharSequence value) {\n this.kd_kelas = value;\n }",
"public C1647a mo17608a(@NonNull Transformation agVar) {\n if (agVar == null) {\n throw new IllegalArgumentException(\"Transformation must not be null.\");\n } else if (agVar.mo17274a() == null) {\n throw new IllegalArgumentException(\"Transformation key must not be null.\");\n } else {\n if (this.f2627o == null) {\n this.f2627o = new ArrayList(2);\n }\n this.f2627o.add(agVar);\n return this;\n }\n }",
"public void set_a_key(int selected_user_key) {\n switch (selected_user_key) {\n case 0:\n DES_key = key_k0;\n break;\n case 3:\n DES_key = key_k3;\n break;\n case 5:\n DES_key = key_k5;\n break;\n case 6:\n DES_key = key_k6;\n break;\n case 9:\n DES_key = key_k9;\n break;\n case 10:\n DES_key = key_k10;\n break;\n case 12:\n DES_key = key_k12;\n break;\n case 15:\n DES_key = key_k15;\n break;\n case 16:\n DES_key = key_user;\n break;\n // default: DES_key = key_Schneier;\n }\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public final void mo9234a(View view, C37138a c37138a) {\n AppMethodBeat.m2504i(2013);\n int[] a = C16896c.this.mo26234a(C16896c.this.aiB.getLayoutManager(), view);\n int i = a[0];\n int i2 = a[1];\n int ca = mo65816ca(Math.max(Math.abs(i), Math.abs(i2)));\n if (ca > 0) {\n c37138a.mo59203a(i, i2, ca, this.f16584Sf);\n }\n AppMethodBeat.m2505o(2013);\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public int getAtk() {\n return atk;\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public int getAtk(){\n return atk;\n }",
"public void setMon603a6(double mon603a6) {\r\n\t\tthis.mon603a6 = mon603a6;\r\n\t}",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public Builder setA(float value) {\n bitField0_ |= 0x00000001;\n a_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou06(Long kinkenriyou06) {\r\n this.kinkenriyou06 = kinkenriyou06;\r\n }",
"public final void mo68345a() {\n MarginLayoutParams marginLayoutParams = (MarginLayoutParams) this.f70292i.getLayoutParams();\n marginLayoutParams.leftMargin = (int) C9738o.m28708b(this.f70272a, 0.0f);\n this.f70292i.setLayoutParams(marginLayoutParams);\n m87592f(false);\n }",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}"
] | [
"0.7109193",
"0.7021145",
"0.66316766",
"0.6579225",
"0.65685993",
"0.6368782",
"0.6228469",
"0.6228043",
"0.605667",
"0.59153944",
"0.5864487",
"0.5853991",
"0.5820258",
"0.5817356",
"0.56708586",
"0.56566566",
"0.56413734",
"0.5565994",
"0.5519967",
"0.54259354",
"0.5375799",
"0.53421074",
"0.53215826",
"0.5313898",
"0.5262754",
"0.5251949",
"0.5184275",
"0.5130309",
"0.5102317",
"0.5077493",
"0.50635266",
"0.5003372",
"0.49639267",
"0.49551404",
"0.49541157",
"0.49450812",
"0.48967043",
"0.48786288",
"0.48632464",
"0.4861149",
"0.48531023",
"0.48478755",
"0.48442057",
"0.48344022",
"0.48187563",
"0.48182723",
"0.48177427",
"0.4810226",
"0.47987914",
"0.478233",
"0.47777382",
"0.47516152",
"0.47507507",
"0.4716941",
"0.47146288",
"0.47074792",
"0.47074792",
"0.47035939",
"0.47028816",
"0.46953815",
"0.46887302",
"0.468667",
"0.46776465",
"0.4677466",
"0.4629189",
"0.46272212",
"0.4621587",
"0.46172118",
"0.4610899",
"0.46065432",
"0.46019828",
"0.46002147",
"0.4590497",
"0.45814794",
"0.4577405",
"0.4564962",
"0.45594928",
"0.4558235",
"0.45565397",
"0.45560017",
"0.4553967",
"0.4553903",
"0.4553664",
"0.45452195",
"0.454112",
"0.45226055",
"0.45195302",
"0.45189598",
"0.45156312",
"0.45140687",
"0.4513677",
"0.44897714",
"0.4474245",
"0.44691473",
"0.44678524",
"0.4467326",
"0.44672987",
"0.44669223",
"0.44642636",
"0.44619182"
] | 0.7688157 | 0 |
Gets the AKA066 value for this KA04View. | public String getAKA066() {
return AKA066;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public int getAtk() {\n return atk;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public int getAtk(){\n return atk;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public double calcKa() {\n return 0;\n }",
"public int getKAId() {\n return this.id;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"int getAtk();",
"public String getBKA260() {\n return BKA260;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public ShareAKeyCallParm getaKeyCallMsg() {\n\t\treturn aKeyCallMsg;\n\t}",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public C2652a m51827a() {\n return C13395h.m51825a(this.f42518a, this.f42519b, this.f42520c, this.f42521d, this.f42522e, this.f42523f, this.f42524g, this.f42525h, this.f42526i, this.f42527j);\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public final int getSarakeMuuttujatAihe() {\r\n return sarakeMuuttujatAihe;\r\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public final KeyPair a() {\n return this.f14146a;\n }",
"public java.lang.CharSequence getKullaniciAdi() {\n return kullanici_adi;\n }",
"public String m8253a() {\n return this.f7006a;\n }",
"public String retA()\n\t{\n\t\treturn answers[correctAns]; \t\n\t}",
"String getCADENA_TRAMA();",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public String getMn007() {\n return mn007;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public java.lang.CharSequence getKullaniciAdi() {\n return kullanici_adi;\n }",
"public java.lang.CharSequence getKdKelas() {\n return kd_kelas;\n }",
"public java.lang.CharSequence getKdKelas() {\n return kd_kelas;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"private int m26064a(View view, C17487am c17487am) {\n AppMethodBeat.m2504i(2019);\n int bf = c17487am.mo31893bf(view) - this.sDo.cGd();\n AppMethodBeat.m2505o(2019);\n return bf;\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (aabbValueBuilder_ == null) {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n } else {\n if (typeCase_ == 12) {\n return aabbValueBuilder_.getMessage();\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public int mo25006a() {\n int i = this.f16512l;\n if (i == -1) {\n return -1;\n }\n int i2 = this.f16513m;\n if (i2 == -1) {\n return -1;\n }\n return i * i2;\n }",
"public long m2684K() {\n return ((Long) this.f2439a.m2666a(ea.cu)).longValue();\n }",
"public java.lang.String getAsapcata() {\n return asapcata;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"protected String toAfk() {\n return cfg.getString(\"Messages.+afk\");\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public String getCusBak() {\r\n return cusBak;\r\n }",
"public String getKeff() {\r\n if (isSetKeff()) {\r\n return getAttribute(MEConstants.keff);\r\n }\r\n return \"\";\r\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public String getADM() {\n return ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.prefix\"))) + ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(this.getConfig().getString(\"config.messages.access-denied\")));\n }",
"public int getCastraveti() {\n\t\treturn castraveti;\n\t}",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public String getKazeikbn() {\r\n return kazeikbn;\r\n }",
"public Causa getCausa() {\n return causa.get();\n }",
"public C11450r m38663a() {\n return this.f31348a;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public String m3140a() {\n return this.f2413g;\n }"
] | [
"0.73197156",
"0.7155021",
"0.7071707",
"0.6875726",
"0.68120944",
"0.67607474",
"0.67465955",
"0.6579472",
"0.6481509",
"0.6456238",
"0.6158953",
"0.59382206",
"0.5871167",
"0.5847632",
"0.58151937",
"0.57540584",
"0.57388294",
"0.56937385",
"0.5687385",
"0.56750435",
"0.5659309",
"0.5656266",
"0.56454796",
"0.5638731",
"0.56211597",
"0.5525715",
"0.55083644",
"0.5506517",
"0.5468785",
"0.54564995",
"0.5428504",
"0.54243493",
"0.5408186",
"0.5397646",
"0.5388546",
"0.53696966",
"0.53598684",
"0.53349227",
"0.5326943",
"0.53162855",
"0.529262",
"0.5252142",
"0.5249894",
"0.52448434",
"0.5223419",
"0.5218325",
"0.5212418",
"0.52066535",
"0.5191005",
"0.5180284",
"0.5176708",
"0.51655906",
"0.5122654",
"0.5121379",
"0.50989467",
"0.5068348",
"0.50651985",
"0.506398",
"0.50265366",
"0.5023087",
"0.50226897",
"0.5013994",
"0.50107664",
"0.5009002",
"0.5008307",
"0.50058866",
"0.49941128",
"0.49915415",
"0.49892956",
"0.49756023",
"0.49576157",
"0.49350795",
"0.4932639",
"0.49299204",
"0.49197406",
"0.49180707",
"0.49162164",
"0.49157956",
"0.49154493",
"0.4900957",
"0.4899459",
"0.4897264",
"0.48957017",
"0.48919314",
"0.48870653",
"0.48795846",
"0.48773658",
"0.48742563",
"0.48653674",
"0.4863221",
"0.4862803",
"0.48606",
"0.48599887",
"0.48574692",
"0.48550624",
"0.48533908",
"0.48526895",
"0.4841006",
"0.4835758",
"0.4833399"
] | 0.82237095 | 0 |
Sets the AKA066 value for this KA04View. | public void setAKA066(String AKA066) {
this.AKA066 = AKA066;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public double getAKA104() {\n return AKA104;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public tr.com.siparis.sistemi.kafka.model.Kullanici.Builder setKullaniciAdi(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.kullanici_adi = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public com.example.DNSLog.Builder clearAA() {\n fieldSetFlags()[17] = false;\n return this;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setAkku(String inMemoryEntry);",
"public void setAOA(float AOA);",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public void setKdKelas(java.lang.CharSequence value) {\n this.kd_kelas = value;\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setMeanAnamoly0(double value) {\n this.meanAnamoly0 = value;\n }",
"public void setKullaniciAdi(java.lang.CharSequence value) {\n this.kullanici_adi = value;\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void addPenaltyA(View view) {\n scoreTeamA = scoreTeamA + 3;\n displayForTeamA(scoreTeamA);\n }",
"public static void m2518a() {\n aje.m2409a(\"TinkMac\", new akc());\n aiq.m2375a(f1953b);\n }",
"public void setNumAyuAtracc(int num);",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setAceCount(int aceCount){\n this.aceCount = aceCount;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void m6255a(C2406c c2406c) {\n ((AudioManager) this.f5888a.getContext().getApplicationContext().getSystemService(\"audio\")).abandonAudioFocus(this.f5888a.f5894a == null ? null : (OnAudioFocusChangeListener) this.f5888a.f5894a.get());\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public void setaKeyCallMsg(ShareAKeyCallParm aKeyCallMsg) {\n\t\tthis.aKeyCallMsg = aKeyCallMsg;\n\t}",
"public void addTryA(View view) {\n scoreTeamA = scoreTeamA + 5;\n displayForTeamA(scoreTeamA);\n }",
"public Builder setAabbValue(godot.wire.Wire.AABB value) {\n if (aabbValueBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n type_ = value;\n onChanged();\n } else {\n aabbValueBuilder_.setMessage(value);\n }\n typeCase_ = 12;\n return this;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public void mo1063a() {\n C0253b.m1817c(C0253b.f1698b);\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public final void mo99817a() {\n new C10741a(this).mo25653a(getResources().getString(R.string.e9k)).mo25660b(this.f104219i.getMvAlgorithmHint()).mo25654a(getResources().getString(R.string.afn), (OnClickListener) null).mo25656a().mo25638b().show();\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setKeyAimUp(KeyCode aimUp) {\n this.aimUp = aimUp;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public Builder setExplicitLac(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n explicitLac_ = value;\n onChanged();\n return this;\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setMeanAnamoly(double value) {\n this.meanAnamoly = value;\n }",
"public void setAttVCA(int att){\n\t\t\n\t\tsuper.setAttVCA((att == 0)? 1 : att );\n\t}",
"public MSGappedDictionaryPSM aaSet(AminoAcidSet aaSet)\t{ this.aaSet = aaSet; return this;}",
"public void mo1323a(ac acVar, View view) {\n this.f15139b.f19007j = c4812u.m27910m();\n C4592k.m25308b(this.f15139b.f18999b, c4812u);\n }",
"public Value.Builder setKdKelas(java.lang.CharSequence value) {\n validate(fields()[0], value);\n this.kd_kelas = value;\n fieldSetFlags()[0] = true;\n return this;\n }",
"public void m6259a(C2411k c2411k) {\n if (this.f5893a.f5894a == null || this.f5893a.f5894a.get() == null) {\n this.f5893a.f5894a = new WeakReference(new C24381(this));\n }\n ((AudioManager) this.f5893a.getContext().getApplicationContext().getSystemService(\"audio\")).requestAudioFocus((OnAudioFocusChangeListener) this.f5893a.f5894a.get(), 3, 1);\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public String getBKA246() {\n return BKA246;\n }",
"private void m27466c() {\n switch (this.f25258E) {\n case 1:\n this.f25288c.setTextAlign(Align.LEFT);\n return;\n case 2:\n this.f25288c.setTextAlign(Align.RIGHT);\n return;\n default:\n this.f25288c.setTextAlign(Align.CENTER);\n return;\n }\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public double calcKa() {\n return 0;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }"
] | [
"0.7390062",
"0.6641946",
"0.65369636",
"0.6386523",
"0.62315655",
"0.62223005",
"0.61669105",
"0.60596126",
"0.6038766",
"0.5851775",
"0.5808828",
"0.5759566",
"0.5718313",
"0.57069093",
"0.5698257",
"0.5604184",
"0.55654097",
"0.5547521",
"0.55473167",
"0.5480737",
"0.5407328",
"0.53755647",
"0.5156566",
"0.51349926",
"0.51217186",
"0.510876",
"0.51076317",
"0.5097578",
"0.5089821",
"0.50840425",
"0.5028452",
"0.50172627",
"0.5016492",
"0.49595886",
"0.49533412",
"0.4914047",
"0.49051532",
"0.48779416",
"0.48774192",
"0.48701334",
"0.48629424",
"0.48595282",
"0.48235294",
"0.4814038",
"0.47963598",
"0.478069",
"0.4772388",
"0.47597495",
"0.47482374",
"0.47396922",
"0.47349194",
"0.47206432",
"0.47069925",
"0.4691598",
"0.46725726",
"0.4666053",
"0.46660116",
"0.4655749",
"0.4653729",
"0.46508428",
"0.46458036",
"0.46398276",
"0.46287274",
"0.4624464",
"0.46216527",
"0.46087453",
"0.45970425",
"0.4589707",
"0.4585656",
"0.45810854",
"0.45756015",
"0.45753124",
"0.4572401",
"0.45686764",
"0.45665297",
"0.4563504",
"0.45527828",
"0.45507097",
"0.4544721",
"0.45437416",
"0.4539752",
"0.45346382",
"0.45318216",
"0.45306414",
"0.44874462",
"0.4482858",
"0.4481419",
"0.44806835",
"0.44709906",
"0.4469811",
"0.4469811",
"0.44644752",
"0.4443984",
"0.44402403",
"0.44316593",
"0.443145",
"0.44311774",
"0.44270778",
"0.44203717",
"0.4405289"
] | 0.8073716 | 0 |
Gets the AKA068 value for this KA04View. | public double getAKA068() {
return AKA068;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int getAtk() {\n return atk;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public int getAtk(){\n return atk;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public int getKAId() {\n return this.id;\n }",
"int getAtk();",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getKeff() {\r\n if (isSetKeff()) {\r\n return getAttribute(MEConstants.keff);\r\n }\r\n return \"\";\r\n }",
"public String m8253a() {\n return this.f7006a;\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public Long getKinkenriyou06() {\r\n return kinkenriyou06;\r\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public String m13685a() {\n return this.f11895a;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public double calcKa() {\n return 0;\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"private int m14928a() {\n return this.f11153a;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public final int mo7474a() {\n return this.f6017b;\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public final int mo2206a() {\n int a = C0455e.m1393a();\n new StringBuilder(f773z[12]).append(a);\n ac.m1576a();\n return a;\n }",
"public final amg mo10649a() {\n return this.zzffb == null ? amg.m2741c() : this.zzffb;\n }",
"public ShareAKeyCallParm getaKeyCallMsg() {\n\t\treturn aKeyCallMsg;\n\t}",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public ao m50838a() {\n return m50836b();\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public long m2684K() {\n return ((Long) this.f2439a.m2666a(ea.cu)).longValue();\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public Long getKinkenriyou07() {\r\n return kinkenriyou07;\r\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public int m2676C() {\n return ((Integer) this.f2439a.m2666a(ea.cb)).intValue();\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public C2652a m51827a() {\n return C13395h.m51825a(this.f42518a, this.f42519b, this.f42520c, this.f42521d, this.f42522e, this.f42523f, this.f42524g, this.f42525h, this.f42526i, this.f42527j);\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public int mo27008h() {\n TextView textView = this.f24577q;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }",
"public String mo3824n() {\n return this.f1471at;\n }",
"public String mo13870a() {\n return this.f5076b;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public final TextView m62337b() {\n return this.f51845b;\n }",
"public long getLetterId() {\n return letterId_;\n }",
"public long getLetterId() {\n return letterId_;\n }",
"public String m50407k() {\n String w = m50429w();\n if (!TextUtils.isEmpty(w)) {\n TextView textView = this.f30731b0;\n CardEditText cardEditText = this.f30729a0;\n m50376a(textView, cardEditText, cardEditText, w);\n }\n return w;\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public long getLetterId() {\n return letterId_;\n }",
"public long getLetterId() {\n return letterId_;\n }"
] | [
"0.74737996",
"0.724692",
"0.7190595",
"0.7075588",
"0.7066717",
"0.70215756",
"0.69904876",
"0.6846473",
"0.68119466",
"0.66866267",
"0.66158825",
"0.6150541",
"0.61470926",
"0.60584325",
"0.60293627",
"0.5965144",
"0.59352636",
"0.58931744",
"0.5875868",
"0.5858722",
"0.5820637",
"0.5792512",
"0.5774035",
"0.57694644",
"0.5768268",
"0.57533884",
"0.5752782",
"0.5749624",
"0.5686725",
"0.566126",
"0.5637046",
"0.56355435",
"0.5628135",
"0.5615039",
"0.5609555",
"0.5578283",
"0.5573473",
"0.5556141",
"0.5516745",
"0.5514132",
"0.5513464",
"0.5504415",
"0.54934007",
"0.54756284",
"0.54658556",
"0.546325",
"0.5463212",
"0.54559326",
"0.54213023",
"0.54188246",
"0.54175717",
"0.53907865",
"0.5378976",
"0.5377535",
"0.5372219",
"0.534835",
"0.53373045",
"0.53299546",
"0.53164953",
"0.529727",
"0.5294295",
"0.52936816",
"0.52879775",
"0.527109",
"0.5269035",
"0.52612764",
"0.52481323",
"0.52431107",
"0.5230095",
"0.52266824",
"0.5216273",
"0.52129155",
"0.5203984",
"0.52036375",
"0.5198883",
"0.51875937",
"0.51831245",
"0.516211",
"0.5159565",
"0.5157595",
"0.5150762",
"0.51398075",
"0.51341933",
"0.51333827",
"0.51331884",
"0.51238465",
"0.51196814",
"0.5117455",
"0.5116283",
"0.5106181",
"0.5102084",
"0.50939804",
"0.5093381",
"0.5082706",
"0.50786996",
"0.50786996",
"0.5076908",
"0.5075454",
"0.50710773",
"0.50710773"
] | 0.75378543 | 0 |
Sets the AKA068 value for this KA04View. | public void setAKA068(double AKA068) {
this.AKA068 = AKA068;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void m6259a(C2411k c2411k) {\n if (this.f5893a.f5894a == null || this.f5893a.f5894a.get() == null) {\n this.f5893a.f5894a = new WeakReference(new C24381(this));\n }\n ((AudioManager) this.f5893a.getContext().getApplicationContext().getSystemService(\"audio\")).requestAudioFocus((OnAudioFocusChangeListener) this.f5893a.f5894a.get(), 3, 1);\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public int setKeff(String keff) {\r\n return setAttribute(MEConstants.keff, keff);\r\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public void setAkku(String inMemoryEntry);",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }",
"public tr.com.siparis.sistemi.kafka.model.Kullanici.Builder setKullaniciAdi(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.kullanici_adi = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public String getBKA260() {\n return BKA260;\n }",
"public void m6255a(C2406c c2406c) {\n ((AudioManager) this.f5888a.getContext().getApplicationContext().getSystemService(\"audio\")).abandonAudioFocus(this.f5888a.f5894a == null ? null : (OnAudioFocusChangeListener) this.f5888a.f5894a.get());\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setKinkenriyou06(Long kinkenriyou06) {\r\n this.kinkenriyou06 = kinkenriyou06;\r\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public static void m2518a() {\n aje.m2409a(\"TinkMac\", new akc());\n aiq.m2375a(f1953b);\n }",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public void mo14068C() {\n this.f15664t0.onExitDiscoverMode();\n this.f15643Y.setTranslationY(0.0f);\n this.f15643Y.setAlpha(1.0f);\n this.f15637S.setTranslationX(0.0f);\n this.f15637S.setAlpha(1.0f);\n this.f15641W.setTranslationX(0.0f);\n this.f15641W.setAlpha(1.0f);\n this.f15639U.setAlpha(1.0f);\n this.f15648d0.mo22797a();\n this.f15646b0.setVisibility(8);\n this.f15643Y.setVisibility(0);\n this.f15637S.setVisibility(0);\n this.f15641W.setVisibility(0);\n this.f15639U.setVisibility(0);\n m17129H();\n this.f15651g0 = false;\n ((MeUserManager) this.f15668x0.get()).mo8754a(false);\n }",
"private void m3207a(View view, C0898a c0898a) {\n int[] iArr = new int[2];\n m3206a(view, c0898a.width, c0898a.height, iArr);\n m3205a(view, iArr[0], iArr[1], c0898a.f2297c, c0898a.f2298d, c0898a.f2299e);\n }",
"public void mo1063a() {\n C0253b.m1817c(C0253b.f1698b);\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public void mo65708a(Aweme aweme) {\n if (aweme != null) {\n if (this.f73959s) {\n C28510y.m93718a((View) this.mCoverView);\n }\n this.f73950g = aweme;\n this.f73948e = System.currentTimeMillis();\n mo71540w();\n m91736J();\n mo56928d();\n this.mWidgetContainer.setVisibility(0);\n m91746d(aweme);\n if (this.f73959s) {\n m91741a((View) this.mCoverView);\n }\n }\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public int getAtk() {\n return atk;\n }",
"public int getKAId() {\n return this.id;\n }",
"public boolean getAA() {\n return AA;\n }",
"public void mo55177a() {\n C3767w0.m1812b().mo55895a((HashMap<String, Object>) this.f1473a, C3615m3.this.f1442a);\n AnalyticsBridge.getInstance().reportSetCustomParametersEvent(this.f1473a);\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public final void mo86008a(OnTextChangeListener cVar) {\n C32569u.m150519b(cVar, C6969H.m41409d(\"G658AC60EBA3EAE3B\"));\n this.f62190d = cVar;\n }",
"public void apkk() {\n\t\tthis.apkInfo = new apkinfo();\n\t\tthis.apkInfo.selectAPKInput();\n\t}",
"public void mo75192a() {\n AppMethodBeat.m2504i(65565);\n this.f17955a.setLength(0);\n this.f17956b.setText(\"\");\n this.f17957c.setText(\"\");\n AppMethodBeat.m2505o(65565);\n }",
"public void setAOA(float AOA);",
"public void mo21808a(KeyEvent keyEvent) {\n char unicodeChar = (char) keyEvent.getUnicodeChar();\n char c = (unicodeChar == 0 || unicodeChar == 65535) ? 65535 : unicodeChar;\n int keyCode = keyEvent.getKeyCode();\n int action = keyEvent.getAction();\n int i = action == 0 ? 1 : action == 1 ? 2 : 0;\n C7009b bVar = new C7009b(keyEvent, keyEvent.getEventTime(), i, 0, c, keyCode, keyEvent.getRepeatCount() > 0);\n mo21813a((C7008a) bVar);\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void setKdKelas(java.lang.CharSequence value) {\n this.kd_kelas = value;\n }",
"protected void mo3575b(gc gcVar) {\n super.mo3575b(gcVar);\n boolean isHorizontale = this.this$0.b.isHorizontale();\n if ((isHorizontale && C0727l.m3092b(gcVar.getAnchorOptions(), 8)) || (!isHorizontale && C0727l.m3092b(gcVar.getAnchorOptions(), 7))) {\n this.f3906c = true;\n gcVar.addChampListener(this);\n }\n }",
"private final void m695a(akx akx) {\n ajf ajf = this.f528m;\n if (akx == ajf.f445c) {\n ajf.f446d = null;\n ajf.f445c = null;\n ajf.f447e = true;\n }\n m705b(akx);\n akx.mo365m();\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void mo206a(C0066ay ayVar) {\n this.f261e.mo138a(ayVar);\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"private void m13085a() {\n DisplayMetrics displayMetrics = getResources().getDisplayMetrics();\n this.f12281d = new Paint();\n this.f12281d.setColor(this.f12278a);\n this.f12281d.setAntiAlias(true);\n this.f12281d.setTextSize(displayMetrics.scaledDensity * ((float) this.f12279b));\n }",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"public int getAtk(){\n return atk;\n }",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public void setKeyAimDown(KeyCode aimDown) {\n this.aimDown = aimDown;\n }"
] | [
"0.68828833",
"0.6747616",
"0.65652287",
"0.6526839",
"0.64786506",
"0.6455372",
"0.64070374",
"0.6342792",
"0.6317151",
"0.6285569",
"0.6180939",
"0.61450714",
"0.6138116",
"0.6073173",
"0.60222816",
"0.60170627",
"0.5948557",
"0.58432794",
"0.57929605",
"0.57164294",
"0.5677852",
"0.55507296",
"0.5514943",
"0.5502801",
"0.5407417",
"0.5358745",
"0.5353723",
"0.5327152",
"0.5307289",
"0.519372",
"0.5190839",
"0.5138413",
"0.5130903",
"0.5130625",
"0.5126094",
"0.5118614",
"0.51059914",
"0.50937605",
"0.50815916",
"0.5054042",
"0.5032217",
"0.5025413",
"0.5008809",
"0.49973595",
"0.49917054",
"0.498487",
"0.49162614",
"0.49003953",
"0.48829156",
"0.48818022",
"0.4879223",
"0.48723286",
"0.48596525",
"0.4859394",
"0.48555517",
"0.48516506",
"0.48500222",
"0.48183385",
"0.48182225",
"0.48075727",
"0.48075476",
"0.47942093",
"0.47804296",
"0.47802675",
"0.4768843",
"0.47645134",
"0.47511002",
"0.4726157",
"0.47235522",
"0.47177365",
"0.47106624",
"0.4710661",
"0.47042146",
"0.4701294",
"0.46973294",
"0.4695336",
"0.46935374",
"0.46920547",
"0.46863848",
"0.46854085",
"0.46839175",
"0.4681469",
"0.4678597",
"0.46704078",
"0.4668902",
"0.46674484",
"0.46545997",
"0.46496946",
"0.46452355",
"0.46450865",
"0.46425623",
"0.46420372",
"0.46262118",
"0.46247992",
"0.46214354",
"0.4612453",
"0.46113706",
"0.46113253",
"0.46106976",
"0.4610419"
] | 0.7708791 | 0 |
Gets the AKA069 value for this KA04View. | public double getAKA069() {
return AKA069;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int getAtk() {\n return atk;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public int getAtk(){\n return atk;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"int getAtk();",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public int getKAId() {\n return this.id;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String m8253a() {\n return this.f7006a;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public double calcKa() {\n return 0;\n }",
"public final int mo7474a() {\n return this.f6017b;\n }",
"public final int mo2206a() {\n int a = C0455e.m1393a();\n new StringBuilder(f773z[12]).append(a);\n ac.m1576a();\n return a;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String m9848a() {\n return this.f8666b;\n }",
"public String m13685a() {\n return this.f11895a;\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String getPra3() {\n return pra3;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"private int m14928a() {\n return this.f11153a;\n }",
"public java.lang.String getAsapcata() {\n return asapcata;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getKeff() {\r\n if (isSetKeff()) {\r\n return getAttribute(MEConstants.keff);\r\n }\r\n return \"\";\r\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public Long getKinkenriyou06() {\r\n return kinkenriyou06;\r\n }",
"public ShareAKeyCallParm getaKeyCallMsg() {\n\t\treturn aKeyCallMsg;\n\t}",
"public String getKazeikbn() {\r\n return kazeikbn;\r\n }",
"public String getAisle() {\n return this.aisle;\n }",
"public String getMn007() {\n return mn007;\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public String getUserPreference(String aKey) {\r\n\t\tString result = null;\r\n\t\tif (this.getUserPreferences().containsKey(aKey)) {\r\n\t\t\tresult = this.getUserPreferences().get(aKey);\r\n\t\t}\r\n\t\treturn result;\r\n\t}",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public Integer getAid() {\n return aid;\n }",
"public static int m37637a(AbstractC6151au auVar) {\n try {\n if (AuthConfigManager.m38491b()) {\n return 4;\n }\n if (auVar != null && !auVar.mo41518i()) {\n return 1;\n }\n return 2 == (!AuthConfigManager.m38485a() ? (char) 1 : 2) ? 2 : 1;\n } catch (Throwable th) {\n SDKLogHandler.m37519b(th, \"htu\", \"gt\");\n }\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public int getAid() {\n return aid_;\n }",
"public final KeyPair a() {\n return this.f14146a;\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public static String getAlexaAppId() {\n return properties.getProperty(\"AlexaAppId\");\n }",
"public double getMon603a() {\r\n\t\treturn this.mon603a;\r\n\t}",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }"
] | [
"0.72569263",
"0.71251273",
"0.7082691",
"0.70559686",
"0.6985622",
"0.6954442",
"0.68961143",
"0.6822311",
"0.66194373",
"0.6440047",
"0.6239299",
"0.61114097",
"0.60664725",
"0.59119946",
"0.5887117",
"0.58574206",
"0.58150494",
"0.57817566",
"0.57773495",
"0.5737183",
"0.573194",
"0.5701992",
"0.56858265",
"0.5675026",
"0.56746674",
"0.5668299",
"0.5658845",
"0.56294745",
"0.5572469",
"0.5566612",
"0.55490136",
"0.5535729",
"0.552278",
"0.55147654",
"0.5496589",
"0.54856664",
"0.5482341",
"0.5481498",
"0.5466109",
"0.54659027",
"0.5432981",
"0.54015625",
"0.5369953",
"0.5360674",
"0.53551716",
"0.53451777",
"0.53323966",
"0.53009504",
"0.5299657",
"0.52917105",
"0.52792287",
"0.52580774",
"0.52580774",
"0.52516836",
"0.52377474",
"0.5233871",
"0.52294534",
"0.5219372",
"0.52059245",
"0.52047855",
"0.5198291",
"0.51900864",
"0.5186742",
"0.5173204",
"0.5167161",
"0.5167161",
"0.5140242",
"0.5136901",
"0.5134368",
"0.51260394",
"0.51238114",
"0.51200163",
"0.5119686",
"0.5115124",
"0.51094717",
"0.5098078",
"0.5094885",
"0.5086953",
"0.5078513",
"0.5074624",
"0.50716573",
"0.50687224",
"0.5059457",
"0.5040995",
"0.50363356",
"0.50347275",
"0.50303054",
"0.50249094",
"0.50209343",
"0.50179094",
"0.5012527",
"0.500751",
"0.5006283",
"0.49948353",
"0.49742296",
"0.4965965",
"0.49540138",
"0.49472633",
"0.49351913",
"0.49273148"
] | 0.7436916 | 0 |
Sets the AKA069 value for this KA04View. | public void setAKA069(double AKA069) {
this.AKA069 = AKA069;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setAOA(float AOA);",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public tr.com.siparis.sistemi.kafka.model.Kullanici.Builder setKullaniciAdi(java.lang.CharSequence value) {\n validate(fields()[1], value);\n this.kullanici_adi = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}",
"public void setAncho(int ancho) {\n\t\tthis.ancho = ancho;\n\t}",
"public void setMon603a6(double mon603a6) {\r\n\t\tthis.mon603a6 = mon603a6;\r\n\t}",
"public int setKeff(String keff) {\r\n return setAttribute(MEConstants.keff, keff);\r\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void setAkku(String inMemoryEntry);",
"public String getBKA001() {\n return BKA001;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void apkk() {\n\t\tthis.apkInfo = new apkinfo();\n\t\tthis.apkInfo.selectAPKInput();\n\t}",
"public String getBKA247() {\n return BKA247;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setMon603a14(double mon603a14) {\r\n\t\tthis.mon603a14 = mon603a14;\r\n\t}",
"public void mo13026a() {\n C0837c.C0838a aVar = C0837c.f761k;\n Context context = this.f1030a;\n Intrinsics.checkNotNullParameter(context, \"context\");\n C0837c.C0838a.m368a(aVar, context, (List) null, 2);\n TimeKeyParams a = TimeKeyParams.Companion.mo60138a(this.f1030a);\n C0878g.m459a(this.f1030a, a.getNotificationChannelId(), a.getNotificationTitle(), a.getStartNotification(), a.getIconId());\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void mo55177a() {\n C3767w0.m1812b().mo55895a((HashMap<String, Object>) this.f1473a, C3615m3.this.f1442a);\n AnalyticsBridge.getInstance().reportSetCustomParametersEvent(this.f1473a);\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public void setAncho(double ancho) {\r\n\t\tthis.ancho = ancho;\r\n\t}",
"public void setAid(Integer aid) {\n this.aid = aid;\n }",
"public void setFA(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localFATracker = true;\r\n } else {\r\n localFATracker = false;\r\n \r\n }\r\n \r\n this.localFA=param;\r\n \r\n\r\n }",
"public com.example.DNSLog.Builder clearAA() {\n fieldSetFlags()[17] = false;\n return this;\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void m6559a() {\n setAutoStart(false);\n setDuration(AdError.NETWORK_ERROR_CODE);\n setRepeatCount(-1);\n setRepeatDelay(0);\n setRepeatMode(1);\n this.f5069f.f5051a = MaskAngle.CW_0;\n this.f5069f.f5059i = MaskShape.LINEAR;\n this.f5069f.f5053c = 0.5f;\n this.f5069f.f5054d = 0;\n this.f5069f.f5055e = 0;\n this.f5069f.f5056f = 0.0f;\n this.f5069f.f5057g = 1.0f;\n this.f5069f.f5058h = 1.0f;\n this.f5069f.f5052b = 20.0f;\n this.f5070g = new C1868b();\n setBaseAlpha(0.3f);\n m6556g();\n }",
"public Builder setA(float value) {\n bitField0_ |= 0x00000001;\n a_ = value;\n onChanged();\n return this;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void setMon603a7(double mon603a7) {\r\n\t\tthis.mon603a7 = mon603a7;\r\n\t}",
"public void setMon603a11(double mon603a11) {\r\n\t\tthis.mon603a11 = mon603a11;\r\n\t}",
"public void setKullaniciAdi(java.lang.CharSequence value) {\n this.kullanici_adi = value;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setMon603a1(double mon603a1) {\r\n\t\tthis.mon603a1 = mon603a1;\r\n\t}",
"public void setNumAyuAtracc(int num);",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setMon603a15(double mon603a15) {\r\n\t\tthis.mon603a15 = mon603a15;\r\n\t}",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"public final void mo68345a() {\n MarginLayoutParams marginLayoutParams = (MarginLayoutParams) this.f70292i.getLayoutParams();\n marginLayoutParams.leftMargin = (int) C9738o.m28708b(this.f70272a, 0.0f);\n this.f70292i.setLayoutParams(marginLayoutParams);\n m87592f(false);\n }",
"public String getAAE100() {\n return AAE100;\n }",
"@Override\r\n\tpublic void setApple(Apple a) {\n\t\tthis.a = a;\r\n\t}",
"public void setA ( boolean a ) {\n\n\tthis.a = a;\n }",
"public void setKinkenriyou06(Long kinkenriyou06) {\r\n this.kinkenriyou06 = kinkenriyou06;\r\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void mo5115a(C0353a c0353a) {\n f784b = c0353a;\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public void setAncho(Integer ancho) {\r\n this.ancho = ancho;\r\n }",
"public void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);",
"public String getAaa022() {\r\n return aaa022;\r\n }"
] | [
"0.7024159",
"0.65313417",
"0.64897853",
"0.64828175",
"0.6392469",
"0.63095045",
"0.6235536",
"0.6171758",
"0.6061126",
"0.60300565",
"0.5915735",
"0.5902835",
"0.5882559",
"0.5867352",
"0.5858395",
"0.5774124",
"0.5752934",
"0.5729874",
"0.57026875",
"0.5690928",
"0.54761755",
"0.547033",
"0.53424144",
"0.5219015",
"0.5180562",
"0.5166459",
"0.514845",
"0.5146615",
"0.51166624",
"0.5112451",
"0.5078731",
"0.507341",
"0.5064183",
"0.5052439",
"0.50133055",
"0.5002106",
"0.4984621",
"0.49840063",
"0.49795526",
"0.4967277",
"0.49632242",
"0.49090034",
"0.48734605",
"0.48734605",
"0.48689327",
"0.48660988",
"0.48347792",
"0.48235208",
"0.48113212",
"0.4807504",
"0.47888586",
"0.47835064",
"0.47671482",
"0.47643986",
"0.47539964",
"0.47537944",
"0.47321308",
"0.47274426",
"0.47186235",
"0.47057784",
"0.46945205",
"0.46939284",
"0.46867976",
"0.46844283",
"0.4666712",
"0.465918",
"0.46512607",
"0.46377072",
"0.46316898",
"0.46199006",
"0.4618992",
"0.46149823",
"0.45933715",
"0.45883545",
"0.45749396",
"0.4571887",
"0.45713773",
"0.45677614",
"0.4549757",
"0.45425716",
"0.4521929",
"0.45198068",
"0.45150325",
"0.45147088",
"0.4512619",
"0.45055202",
"0.4504089",
"0.44965965",
"0.4495765",
"0.4493654",
"0.44785756",
"0.44734183",
"0.44660515",
"0.4454218",
"0.44521987",
"0.4450212",
"0.44465268",
"0.44426167",
"0.4436865",
"0.44329324"
] | 0.7564729 | 0 |
Gets the AKA100 value for this KA04View. | public String getAKA100() {
return AKA100;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public int getAtk(){\n return atk;\n }",
"public int getAtk() {\n return atk;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"int getAtk();",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public double calcKa() {\n return 0;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public boolean getAA() {\n return AA;\n }",
"int getAlpha(){\n return getPercentageValue(\"alpha\"); \n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"int getAlphaOff(){\n return getPercentageValue(\"alphaOff\");\n }",
"public String DaaToKa(double daa) {\n // ka = daa/100\n double ka = daa/100;\n return check_after_decimal_point(ka);\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public Double getTVA()\n {\n return (20.0/100.0);\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public String KaToDaa(double ka) {\n // dal = 100*ka\n double daa = 100*ka;\n return check_after_decimal_point(daa);\n }",
"public int getKAId() {\n return this.id;\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public String MaToKa(double ma) {\n // ka = ma/1000000\n double ka = ma/1000000;\n return check_after_decimal_point(ka);\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String retA()\n\t{\n\t\treturn answers[correctAns]; \t\n\t}",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public double getAlpha() {\n return alpha;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public float getATKMultiplier() {\n\t\treturn ATKMultiplier;\n\t}",
"public String getAmplitud() {\r\n return amplitud;\r\n }",
"public double getAlpha()\n {\n return alpha;\n }",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public double getAncho() {\r\n\t\treturn ancho;\r\n\t}",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public String getMn007() {\n return mn007;\n }",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"public Long getKinkenriyou01() {\r\n return kinkenriyou01;\r\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public Integer getAncho() {\r\n return ancho;\r\n }",
"String getCADENA_TRAMA();",
"public int koko() {\n return this.arvoja;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public int getLevel() {\n if ( air != null )\n return air.sampleRSSI(CC1000Radio.this);\n else return ADC.VBG_LEVEL; // return a default value of some sort\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public String KaToMa(double ka) {\n // ma = 1000000*ka\n double ma = 1000000*ka;\n return check_after_decimal_point(ma);\n }",
"public int mo1950a() {\n return this.f1924a;\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public double getAlpha();",
"public double getAlpha();",
"@Override\n public int getAsuLevel() {\n // ASU ranges from 0 to 31 - TS 27.007 Sec 8.5\n // asu = 0 (-113dB or less) is very weak\n // signal, its better to show 0 bars to the user in such cases.\n // asu = 99 is a special case, where the signal strength is unknown.\n int level = mSignalStrength;\n if (DBG) log(\"getAsuLevel=\" + level);\n return level;\n }",
"public int getKapitelValue() {\n\t\tint absvalue = 0;\n\t\tMatcher m = kapitelPattern.matcher(getId());\n\t\tif (m.find()) {\n\t\t\ttry {\n\t\t\t\t int whole = Integer.parseInt(m.group(1));\n\t\t\t\t int radix = Integer.parseInt(m.group(2));\n\t\t\t\t absvalue = whole * 1000 + radix;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tLogger.getLogger(this.getClass())\n\t\t\t\t\t.error(\"Kapitelnummer der Gefaehrdung ist kein Float.\", e);\n\t\t\t}\n\t\t}\n\t\treturn absvalue;\n\t\n\t}",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"public BigDecimal getACCRUAL_AMT() {\r\n return ACCRUAL_AMT;\r\n }"
] | [
"0.78233063",
"0.74736035",
"0.736516",
"0.7344965",
"0.6978645",
"0.67692745",
"0.6751061",
"0.6671666",
"0.6588376",
"0.6553401",
"0.6512422",
"0.631051",
"0.6274149",
"0.62236917",
"0.6147127",
"0.6094691",
"0.6014192",
"0.5986436",
"0.59586173",
"0.5916587",
"0.5903351",
"0.58682597",
"0.5863731",
"0.5854013",
"0.581087",
"0.580606",
"0.57734954",
"0.5758691",
"0.57574695",
"0.5747196",
"0.57197416",
"0.56900287",
"0.56698984",
"0.5667316",
"0.5638953",
"0.5625746",
"0.56227696",
"0.5579568",
"0.5568566",
"0.55669135",
"0.5554859",
"0.5552247",
"0.55169994",
"0.551438",
"0.55027163",
"0.55025184",
"0.5499137",
"0.548849",
"0.5459273",
"0.54462385",
"0.54111826",
"0.5339761",
"0.5320772",
"0.5318197",
"0.5314067",
"0.52976876",
"0.52767706",
"0.5264854",
"0.52636594",
"0.52501136",
"0.5239777",
"0.5239777",
"0.52315235",
"0.5213995",
"0.5209232",
"0.5198392",
"0.51933056",
"0.51796407",
"0.51698947",
"0.5159365",
"0.51571083",
"0.51494205",
"0.51494205",
"0.51476157",
"0.51435304",
"0.51400316",
"0.513542",
"0.5135039",
"0.5128489",
"0.511722",
"0.5114165",
"0.51137555",
"0.5111801",
"0.5106429",
"0.5104947",
"0.5102758",
"0.51014113",
"0.5096849",
"0.5095166",
"0.50849813",
"0.5077886",
"0.5069248",
"0.5059612",
"0.50580144",
"0.50580144",
"0.5049519",
"0.50478965",
"0.5046364",
"0.502645",
"0.5025398"
] | 0.8178996 | 0 |
Sets the AKA100 value for this KA04View. | public void setAKA100(String AKA100) {
this.AKA100 = AKA100;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAOA(float AOA);",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void SetLearnRate (double alpha) { this.alpha = alpha; }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setNumAyuAtracc(int num);",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setAlpha(double aAlpha);",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setAlpha(double alpha);",
"private void setA(float dA) {\n EditText field = (EditText) findViewById(R.id.valA);\n SeekBar sb = (SeekBar) findViewById(R.id.seekA);\n\n a = dA;\n if (a <= 0) {\n a = 0.001f;\n }\n\n field.setText(String.valueOf(a));\n if (a * 1000 - 1 <= sb.getMax()) {\n sb.setProgress((int)(a * 1000 - 1));\n }\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"public void displayForPlayerA(int score) {\n scoreViewPlayerA.setText(String.valueOf(score));\n }",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public void displayForTeamA(int scoreA) {\r\n TextView scoreView = (TextView) findViewById(R.id.team_a_score);\r\n scoreView.setText(String.valueOf(scoreA));\r\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void addPenaltyA(View view) {\n scoreTeamA = scoreTeamA + 3;\n displayForTeamA(scoreTeamA);\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public void setScore(int paScore) {\n this.score = paScore;\n }",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public void setAlerta(int _alerta) {\r\n\t\tthis.alerta = _alerta;\r\n\t}",
"public String getBKA260() {\n return BKA260;\n }",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public void setAlto(Number value)\n {\n setAttributeInternal(ALTO, value);\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public void setMajorAbateValue(YangUInt8 majorAbateValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"major-abate\",\n majorAbateValue,\n childrenNames());\n }",
"public Builder setAlphaInfoValue(int value) {\n copyOnWrite();\n instance.setAlphaInfoValue(value);\n return this;\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setMajorAbateValue(short majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"private void displayTeamA_score(int score) {\n TextView teamA_scoreView = findViewById(R.id.teamA_score_textView);\n teamA_scoreView.setText(String.valueOf(score));\n }",
"public String DaaToKa(double daa) {\n // ka = daa/100\n double ka = daa/100;\n return check_after_decimal_point(ka);\n }",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"public void displayTriesForPlayerA(int score) {\n triesViewPlayerA.setText(String.valueOf(score));\n }",
"public void setAncho(int ancho) {\n\t\tthis.ancho = ancho;\n\t}",
"public void home_score(int score1){\n homeSore.setText(String.valueOf(score1));\n }",
"public void setAwayScore(int a);",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void hitAlienScore() {\r\n //Add 5 to the score\r\n score += 5;\r\n System.out.println(\"Current Score = \"+score);\r\n }",
"public void setAkku(String inMemoryEntry);",
"public void teamA(int score) {\r\n TextView scoreView = (TextView) findViewById(R.id.teamA);\r\n scoreView.setText(String.valueOf(score));\r\n }",
"public void displayScoreA (int score){\n\n TextView scoreA = (TextView)findViewById(R.id.team_a_score);\n scoreA.setText(String.valueOf(score));\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public void displayForTeamA(int score) {\n TextView scoreView = findViewById(R.id.team_a_score);\n scoreView.setText(String.valueOf(score));\n }",
"public void displayForTeamA(int score) {\n TextView scoreView = findViewById(R.id.team_a_score);\n scoreView.setText(String.valueOf(score));\n }",
"public String MaToKa(double ma) {\n // ka = ma/1000000\n double ka = ma/1000000;\n return check_after_decimal_point(ka);\n }",
"public void addTryA(View view) {\n scoreTeamA = scoreTeamA + 5;\n displayForTeamA(scoreTeamA);\n }"
] | [
"0.7367858",
"0.71414965",
"0.6887551",
"0.6858876",
"0.660573",
"0.6576502",
"0.6468502",
"0.6394761",
"0.63884455",
"0.62641734",
"0.62067586",
"0.61339086",
"0.5857327",
"0.5716781",
"0.56623614",
"0.5654542",
"0.5646451",
"0.5614797",
"0.56082267",
"0.5581384",
"0.554461",
"0.55363125",
"0.5523617",
"0.55203146",
"0.5453849",
"0.5425993",
"0.5392756",
"0.5391793",
"0.5383119",
"0.5327924",
"0.5313592",
"0.52636814",
"0.5257285",
"0.525352",
"0.5223909",
"0.52159953",
"0.521347",
"0.5212021",
"0.5192188",
"0.51816857",
"0.51764864",
"0.5175627",
"0.51625234",
"0.51363015",
"0.5125947",
"0.5117045",
"0.5117045",
"0.5106138",
"0.5102576",
"0.50934786",
"0.5071794",
"0.50647104",
"0.50601304",
"0.5055055",
"0.50502783",
"0.50292605",
"0.5016365",
"0.5009045",
"0.49704918",
"0.49669704",
"0.4940337",
"0.49378297",
"0.4936458",
"0.49051023",
"0.4889118",
"0.4877842",
"0.48673978",
"0.48671126",
"0.48640546",
"0.48619363",
"0.48516792",
"0.48483464",
"0.4842676",
"0.48349333",
"0.48288435",
"0.48262805",
"0.4814783",
"0.4813785",
"0.48071703",
"0.47981167",
"0.47939205",
"0.47863978",
"0.47837648",
"0.47707772",
"0.4764117",
"0.47574955",
"0.4752778",
"0.47470623",
"0.47412816",
"0.47411752",
"0.47226655",
"0.4718774",
"0.47162044",
"0.47091964",
"0.4707103",
"0.47056264",
"0.46934605",
"0.46934605",
"0.4683636",
"0.46718493"
] | 0.7877578 | 0 |
Gets the AKA101 value for this KA04View. | public String getAKA101() {
return AKA101;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public int getAtk() {\n return atk;\n }",
"public boolean getAA() {\n return AA;\n }",
"public int getAtk(){\n return atk;\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public boolean getAA() {\n return AA;\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public int getKAId() {\n return this.id;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"int getAtk();",
"public Long getKinkenriyou01() {\r\n return kinkenriyou01;\r\n }",
"public String getAwbNbr() {\n return _awbNbr;\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public String mo10149a() {\n return this.f8352a.mo10139a();\n }",
"public String retA()\n\t{\n\t\treturn answers[correctAns]; \t\n\t}",
"public String m7901a() {\n return this.f6688a;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String suaTaiKhoan(){\n\t\ttaiKhoanDao.suaTaiKhoan(ttCaNhan);\r\n\t\t\r\n\t\t//kiem tra quyen dang nhap\r\n\t\tint kt=kiemTraquyenDN();\r\n\t\tif(kt==1){\r\n\t\t\treturn \"QLTaiKhoan_Admin?faces-redirect=true\";\r\n\t\t}else if(kt==3){\r\n\t\t\treturn \"QLTaiKhoan_NV?faces-redirect=true\";\r\n\t\t}else{\r\n\t\t\treturn \"QLTaiKhoan_NVDH?faces-redirect=true\";\r\n\t\t}\r\n\t}",
"public String getAmplitud() {\r\n return amplitud;\r\n }",
"public String mo10149a() {\n return C1561ah.m7141b(this.f8344a);\n }",
"public int getLevel() {\n if ( air != null )\n return air.sampleRSSI(CC1000Radio.this);\n else return ADC.VBG_LEVEL; // return a default value of some sort\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public String getAisle() {\n return this.aisle;\n }",
"public OctetString getMsg1015()\n {\n\treturn this.msg1015;\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public double getAlpha() {\n return alpha;\n }",
"public OctetString getMsg1001()\n {\n\treturn this.msg1001;\n }",
"public double calcKa() {\n return 0;\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"int getAlpha(){\n return getPercentageValue(\"alpha\"); \n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public Long getKinkenriyou11() {\r\n return kinkenriyou11;\r\n }",
"public MusicCategoryTabView mo31847qK(int i) {\n return ((C7301c) this.dAK.get(i)).axs();\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public Integer getAncho() {\r\n return ancho;\r\n }",
"public final double getAlpha() {\n\t\treturn alpha;\n\t}",
"public YangUInt8 getMajorAbateValue() throws JNCException {\n YangUInt8 majorAbate = (YangUInt8)getValue(\"major-abate\");\n if (majorAbate == null) {\n majorAbate = new YangUInt8(\"75\"); // default\n }\n return majorAbate;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"@Override\n public int getAlpha() {\n return mAlpha;\n }",
"public double getAlpha()\n {\n return alpha;\n }",
"public int mo23310ma() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13711Jb)).intValue();\n }",
"public org.chartacaeli.model.CatalogADC7118 getCatalogADC7118() {\n return this.catalogADC7118;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}",
"private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }",
"public ShareAKeyCallParm getaKeyCallMsg() {\n\t\treturn aKeyCallMsg;\n\t}",
"public String getMn007() {\n return mn007;\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public String getKanm() {\r\n return kanm;\r\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public final String mo19901a() {\n return C5880u.m18936a(C7906v.a11y_purchasesuccess_setupprofiles);\n }",
"public String getPra1() {\n return pra1;\n }"
] | [
"0.7513987",
"0.7489102",
"0.74449646",
"0.6820147",
"0.6659161",
"0.6477785",
"0.63570344",
"0.6338907",
"0.62476605",
"0.6188308",
"0.6122073",
"0.60899305",
"0.6087641",
"0.6052751",
"0.60440755",
"0.597823",
"0.59057516",
"0.590434",
"0.589245",
"0.57620245",
"0.57222223",
"0.56481755",
"0.5646892",
"0.5637999",
"0.5637336",
"0.56279397",
"0.56208295",
"0.5604222",
"0.5553126",
"0.553185",
"0.55289185",
"0.5516132",
"0.5499004",
"0.54881185",
"0.54633015",
"0.54363424",
"0.5426474",
"0.5384204",
"0.5368979",
"0.53353584",
"0.53307503",
"0.53069025",
"0.52610457",
"0.52493864",
"0.52463263",
"0.5234559",
"0.52264726",
"0.5212167",
"0.52016234",
"0.51912516",
"0.51819956",
"0.5170659",
"0.51663566",
"0.51634455",
"0.51492023",
"0.51223385",
"0.51201326",
"0.51104504",
"0.51104504",
"0.50977975",
"0.5075232",
"0.50583017",
"0.50439876",
"0.5027908",
"0.5027908",
"0.502384",
"0.5013313",
"0.5012687",
"0.50094867",
"0.5006681",
"0.4989387",
"0.49855644",
"0.4980799",
"0.49796394",
"0.49737385",
"0.49722123",
"0.49700552",
"0.4964459",
"0.4935158",
"0.49338204",
"0.4933695",
"0.49329954",
"0.4931751",
"0.4929387",
"0.4928255",
"0.4927915",
"0.4924901",
"0.49246824",
"0.49239385",
"0.4923555",
"0.49231103",
"0.49230838",
"0.49219298",
"0.49177605",
"0.4913665",
"0.49090165",
"0.48956448",
"0.48942465",
"0.48932016",
"0.48812008"
] | 0.8119963 | 0 |
Sets the AKA101 value for this KA04View. | public void setAKA101(String AKA101) {
this.AKA101 = AKA101;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA101() {\n return AKA101;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setNumAyuAtracc(int num);",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setAOA(float AOA);",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setKinkenriyou01(Long kinkenriyou01) {\r\n this.kinkenriyou01 = kinkenriyou01;\r\n }",
"public void SetLearnRate (double alpha) { this.alpha = alpha; }",
"public void setMajorAbateValue(short majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setAlpha(double alpha);",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public void setAwbNbr(String awbNbr) {\n _awbNbr = awbNbr;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAlpha(double aAlpha);",
"public void setOn(int on) {\r\n\t\tonkey = on;\r\n\t}",
"public void setAncho(int ancho) {\n\t\tthis.ancho = ancho;\n\t}",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public Builder setAlphaInfoValue(int value) {\n copyOnWrite();\n instance.setAlphaInfoValue(value);\n return this;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setAlerta(int _alerta) {\r\n\t\tthis.alerta = _alerta;\r\n\t}",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar101(java.lang.Boolean value) {\n validate(fields()[102], value);\n this.var101 = value;\n fieldSetFlags()[102] = true;\n return this;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setCriticalAbateValue(short criticalAbateValue)\n throws JNCException {\n setCriticalAbateValue(new YangUInt8(criticalAbateValue));\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}",
"public void setMajorAbateValue(YangUInt8 majorAbateValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"major-abate\",\n majorAbateValue,\n childrenNames());\n }",
"public void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);",
"public Builder setLetters(\n int index, com.vine.vinemars.net.pb.SocialMessage.LetterObj.Builder builderForValue) {\n ensureLettersIsMutable();\n letters_.set(index, builderForValue.build());\n\n return this;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"@Override\n\tpublic void setXacnhan(long xacnhan) {\n\t\t_phieugiahan.setXacnhan(xacnhan);\n\t}",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setControlNumberLevel1(java.lang.String value) {\n validate(fields()[5], value);\n this.controlNumberLevel1 = value;\n fieldSetFlags()[5] = true;\n return this;\n }",
"private View m4011k(C0820v vVar, C0788a0 a0Var) {\n if (this.f3143x) {\n return m4004h(vVar, a0Var);\n }\n return m4001f(vVar, a0Var);\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setEncodingAlpha(boolean encodeAlpha);",
"public String suaTaiKhoan(){\n\t\ttaiKhoanDao.suaTaiKhoan(ttCaNhan);\r\n\t\t\r\n\t\t//kiem tra quyen dang nhap\r\n\t\tint kt=kiemTraquyenDN();\r\n\t\tif(kt==1){\r\n\t\t\treturn \"QLTaiKhoan_Admin?faces-redirect=true\";\r\n\t\t}else if(kt==3){\r\n\t\t\treturn \"QLTaiKhoan_NV?faces-redirect=true\";\r\n\t\t}else{\r\n\t\t\treturn \"QLTaiKhoan_NVDH?faces-redirect=true\";\r\n\t\t}\r\n\t}",
"public String getBKA247() {\n return BKA247;\n }",
"public void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"private void setAlphaInfo(com.whensunset.wsvideoeditorsdk.model.YuvAlphaType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n alphaInfo_ = value.getNumber();\n }",
"public void setAkku(String inMemoryEntry);",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public void setVar101(java.lang.Boolean value) {\n this.var101 = value;\n }",
"public void setMon603a11(double mon603a11) {\r\n\t\tthis.mon603a11 = mon603a11;\r\n\t}",
"public final void mo99817a() {\n new C10741a(this).mo25653a(getResources().getString(R.string.e9k)).mo25660b(this.f104219i.getMvAlgorithmHint()).mo25654a(getResources().getString(R.string.afn), (OnClickListener) null).mo25656a().mo25638b().show();\n }",
"public Builder setLetters(\n int index, com.vine.vinemars.net.pb.SocialMessage.LetterObj value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureLettersIsMutable();\n letters_.set(index, value);\n\n return this;\n }"
] | [
"0.72051805",
"0.70273316",
"0.6735175",
"0.6461429",
"0.64580107",
"0.6448069",
"0.63618684",
"0.6342553",
"0.6099604",
"0.5767331",
"0.56877667",
"0.56706595",
"0.5576313",
"0.54994416",
"0.5449989",
"0.54348046",
"0.54269385",
"0.54189324",
"0.54004395",
"0.53900504",
"0.53814065",
"0.5350281",
"0.5332774",
"0.5295465",
"0.5284973",
"0.5251164",
"0.5226722",
"0.52024156",
"0.5198968",
"0.519026",
"0.5170494",
"0.5144492",
"0.51410234",
"0.5134638",
"0.50954527",
"0.5019189",
"0.50095206",
"0.5006649",
"0.49961144",
"0.4994684",
"0.49774107",
"0.49350217",
"0.49350217",
"0.49322718",
"0.49275222",
"0.49155557",
"0.49102223",
"0.48942485",
"0.48862344",
"0.48815948",
"0.48730826",
"0.48594713",
"0.48580417",
"0.48542807",
"0.48442417",
"0.4836772",
"0.48283517",
"0.48138663",
"0.48028702",
"0.47881556",
"0.47725502",
"0.4756861",
"0.4755362",
"0.47442082",
"0.4742322",
"0.47320092",
"0.47213462",
"0.47148243",
"0.47039613",
"0.46909162",
"0.4686857",
"0.46578273",
"0.4657532",
"0.46509442",
"0.46351084",
"0.4634938",
"0.46312267",
"0.46311256",
"0.46209005",
"0.46208215",
"0.46148857",
"0.46143985",
"0.46013674",
"0.45907187",
"0.458747",
"0.4586688",
"0.45802295",
"0.45787877",
"0.45727944",
"0.45417756",
"0.45408472",
"0.45407918",
"0.4539278",
"0.45383388",
"0.4522422",
"0.4520203",
"0.45197967",
"0.45188972",
"0.45183668",
"0.45180097"
] | 0.7803889 | 0 |
Gets the AKA102 value for this KA04View. | public String getAKA102() {
return AKA102;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public int getAtk() {\n return atk;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public int getAtk(){\n return atk;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public int getKAId() {\n return this.id;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"int getAtk();",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public int getAmplifier()\r\n/* 75: */ {\r\n/* 76: 75 */ return this.amplifier;\r\n/* 77: */ }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public Long getKinkenriyou01() {\r\n return kinkenriyou01;\r\n }",
"public double calcKa() {\n return 0;\n }",
"public MusicCategoryTabView mo31847qK(int i) {\n return ((C7301c) this.dAK.get(i)).axs();\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public String mo21088a() {\n return this.f10537x;\n }",
"public String mo10149a() {\n return this.f8352a.mo10139a();\n }",
"public String retA()\n\t{\n\t\treturn answers[correctAns]; \t\n\t}",
"public String m7901a() {\n return this.f6688a;\n }",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public String getMn007() {\n return mn007;\n }",
"public int mo23310ma() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13711Jb)).intValue();\n }",
"public String getPra3() {\n return pra3;\n }",
"private int m14928a() {\n return this.f11153a;\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public String mo1238a() {\n return this.f900a.mo1218a_();\n }",
"public Integer getAncho() {\r\n return ancho;\r\n }",
"public String getKanm() {\r\n return kanm;\r\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public String getAwbNbr() {\n return _awbNbr;\n }",
"public ao m50838a() {\n return m50836b();\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public double getMon603a() {\r\n\t\treturn this.mon603a;\r\n\t}",
"public String mo10149a() {\n return C1561ah.m7141b(this.f8344a);\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"public String MaToKa(double ma) {\n // ka = ma/1000000\n double ka = ma/1000000;\n return check_after_decimal_point(ka);\n }",
"public String getAzione() {\n return azione;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public int mo3103a() {\n if (this.f2605a == -1 && VERSION.SDK_INT >= 23) {\n return m2626a((Icon) this.f2606b);\n }\n if (this.f2605a == 2) {\n return this.f2609e;\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"called getResId() on \");\n sb.append(this);\n throw new IllegalStateException(sb.toString());\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public int getA() {\n\t\treturn a;\n\t}",
"public String getA() {\r\n return a;\r\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }"
] | [
"0.7834679",
"0.7793689",
"0.76296777",
"0.7080737",
"0.66960204",
"0.6684847",
"0.6666859",
"0.65457934",
"0.64582133",
"0.6405631",
"0.6403446",
"0.637602",
"0.62232983",
"0.62198687",
"0.61926776",
"0.6145364",
"0.6128811",
"0.6071173",
"0.6033398",
"0.60310715",
"0.5919322",
"0.58558047",
"0.58429694",
"0.5840368",
"0.57875204",
"0.5750882",
"0.5739479",
"0.57130367",
"0.571249",
"0.56653684",
"0.5613044",
"0.5603338",
"0.55852497",
"0.5578765",
"0.5570986",
"0.5561831",
"0.5550885",
"0.55461943",
"0.5517475",
"0.5517196",
"0.55110073",
"0.5492726",
"0.53923106",
"0.5375728",
"0.5360208",
"0.5314725",
"0.52616525",
"0.5246863",
"0.5239404",
"0.5233813",
"0.5233813",
"0.5215454",
"0.5194143",
"0.51854897",
"0.51854897",
"0.5156076",
"0.51386476",
"0.51373035",
"0.5126038",
"0.5123958",
"0.51220936",
"0.51194525",
"0.51120067",
"0.5096709",
"0.5085441",
"0.50823313",
"0.5081755",
"0.50787145",
"0.507494",
"0.5074538",
"0.50713515",
"0.506908",
"0.5059625",
"0.50496393",
"0.50442815",
"0.5039228",
"0.5036974",
"0.5036927",
"0.5022317",
"0.5022146",
"0.5020387",
"0.5014138",
"0.50128424",
"0.50098765",
"0.50088733",
"0.50026995",
"0.4986156",
"0.49860695",
"0.49571884",
"0.49565",
"0.4954684",
"0.49497247",
"0.494468",
"0.4943432",
"0.4942865",
"0.49413192",
"0.49364084",
"0.4934886",
"0.4930399",
"0.4926577"
] | 0.805379 | 0 |
Sets the AKA102 value for this KA04View. | public void setAKA102(String AKA102) {
this.AKA102 = AKA102;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setAOA(float AOA);",
"public double getAKA069() {\n return AKA069;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void mo1323a(ac acVar, View view) {\n this.f15139b.f19007j = c4812u.m27910m();\n C4592k.m25308b(this.f15139b.f18999b, c4812u);\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void setNumAyuAtracc(int num);",
"private void setAlphaInfo(com.whensunset.wsvideoeditorsdk.model.YuvAlphaType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n alphaInfo_ = value.getNumber();\n }",
"public boolean getAA() {\n return AA;\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);",
"public void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);",
"public void setAAE036(String AAE036) {\n this.AAE036 = AAE036;\n }",
"public void addConversionA(View view) {\n scoreTeamA = scoreTeamA + 2;\n displayForTeamA(scoreTeamA);\n }",
"public void setAlpha(double alpha);",
"public void setAkku(String inMemoryEntry);",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}",
"public void setAncho(int ancho) {\n\t\tthis.ancho = ancho;\n\t}",
"public void setAlpha(double aAlpha);",
"public void setOn(int on) {\r\n\t\tonkey = on;\r\n\t}",
"public void apkk() {\n\t\tthis.apkInfo = new apkinfo();\n\t\tthis.apkInfo.selectAPKInput();\n\t}",
"public void displayForTeamA(int scoreA) {\r\n TextView scoreView = (TextView) findViewById(R.id.team_a_score);\r\n scoreView.setText(String.valueOf(scoreA));\r\n }",
"public void setKinkenriyou01(Long kinkenriyou01) {\r\n this.kinkenriyou01 = kinkenriyou01;\r\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setAid(Integer aid) {\n this.aid = aid;\n }",
"public void setVar153(java.lang.CharSequence value) {\n this.var153 = value;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public Builder setAlphaInfoValue(int value) {\n copyOnWrite();\n instance.setAlphaInfoValue(value);\n return this;\n }",
"public static /* synthetic */ void m125936a(Topic topic, DetailInfo axVar, ExtraInfo bjVar) {\n axVar.mo125533a().f106957t = 6574;\n axVar.mo125533a().f106947j = ZA.m91651i();\n axVar.mo125533a().f106949l = C31346k.EnumC31349c.Answer;\n axVar.mo125533a().f106952o = C25382r.m123889a(new C25382r.AbstractC25387e() {\n /* class com.zhihu.android.topic.platfrom.p1960c.p1961a.p1962a.$$Lambda$a$06n9TSxP_t9dmHGrv251NPC13k */\n\n @Override // com.zhihu.android.topic.p1945h.C25382r.AbstractC25387e\n public final String get() {\n return Topic.this.f40366id;\n }\n });\n }",
"public void setVar108(java.lang.CharSequence value) {\n this.var108 = value;\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar241(java.lang.Integer value) {\n validate(fields()[242], value);\n this.var241 = value;\n fieldSetFlags()[242] = true;\n return this;\n }",
"private void updateAmplificationValue() {\n ((TextView) findViewById(R.id.zoomUpDownText)).setText(String.valueOf(curves[0].getCurrentAmplification()));\n }",
"public void setAttVCA(int att){\n\t\t\n\t\tsuper.setAttVCA((att == 0)? 1 : att );\n\t}",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setVar261(java.lang.CharSequence value) {\n this.var261 = value;\n }",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}"
] | [
"0.7397997",
"0.72188944",
"0.7107348",
"0.70027584",
"0.68906313",
"0.68212163",
"0.6670612",
"0.65943235",
"0.63491565",
"0.61655366",
"0.61088026",
"0.58868086",
"0.58137155",
"0.5720882",
"0.57027435",
"0.5691891",
"0.56795853",
"0.56541306",
"0.55637115",
"0.5540138",
"0.55358464",
"0.5522881",
"0.54999274",
"0.54787004",
"0.5477325",
"0.54770327",
"0.5432711",
"0.53898114",
"0.53802353",
"0.5373799",
"0.5315993",
"0.5314635",
"0.52878577",
"0.5276386",
"0.5190711",
"0.5178668",
"0.516834",
"0.5167118",
"0.51649964",
"0.5141248",
"0.50649184",
"0.50357485",
"0.50308466",
"0.50194573",
"0.5019328",
"0.50177974",
"0.50091463",
"0.4989189",
"0.49844018",
"0.49731126",
"0.49731126",
"0.49613708",
"0.49457648",
"0.4943746",
"0.49374267",
"0.49306318",
"0.49214506",
"0.49010256",
"0.4876218",
"0.48659757",
"0.48521578",
"0.48451924",
"0.48173586",
"0.4792563",
"0.4787667",
"0.47764602",
"0.4775888",
"0.47620526",
"0.47424346",
"0.47363704",
"0.473076",
"0.4726652",
"0.47236416",
"0.47198159",
"0.47114792",
"0.470101",
"0.47006705",
"0.468671",
"0.46827015",
"0.46713537",
"0.46605676",
"0.46567637",
"0.46522486",
"0.46471888",
"0.46425492",
"0.46414787",
"0.4638479",
"0.46359935",
"0.463551",
"0.46325764",
"0.46152753",
"0.46080798",
"0.4604871",
"0.45935938",
"0.45871562",
"0.45868662",
"0.45853478",
"0.45829183",
"0.4582272",
"0.4578696"
] | 0.74465704 | 0 |
Gets the AKA103 value for this KA04View. | public String getAKA103() {
return AKA103;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public int getAtk() {\n return atk;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public int getAtk(){\n return atk;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public int mo3103a() {\n if (this.f2605a == -1 && VERSION.SDK_INT >= 23) {\n return m2626a((Icon) this.f2606b);\n }\n if (this.f2605a == 2) {\n return this.f2609e;\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"called getResId() on \");\n sb.append(this);\n throw new IllegalStateException(sb.toString());\n }",
"public int getKAId() {\n return this.id;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public double getMon603a() {\r\n\t\treturn this.mon603a;\r\n\t}",
"public String getAAE036() {\n return AAE036;\n }",
"public String getPra3() {\n return pra3;\n }",
"public double getMon603a3() {\r\n\t\treturn mon603a3;\r\n\t}",
"public double getMon603a11() {\r\n\t\treturn mon603a11;\r\n\t}",
"public MusicCategoryTabView mo31847qK(int i) {\n return ((C7301c) this.dAK.get(i)).axs();\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public int getAncho() {\n\t\treturn ancho;\n\t}",
"public double calcKa() {\n return 0;\n }",
"int getAtk();",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public static int m37637a(AbstractC6151au auVar) {\n try {\n if (AuthConfigManager.m38491b()) {\n return 4;\n }\n if (auVar != null && !auVar.mo41518i()) {\n return 1;\n }\n return 2 == (!AuthConfigManager.m38485a() ? (char) 1 : 2) ? 2 : 1;\n } catch (Throwable th) {\n SDKLogHandler.m37519b(th, \"htu\", \"gt\");\n }\n }",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public int mo27008h() {\n TextView textView = this.f24577q;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public org.chartacaeli.model.CatalogADC7118 getCatalogADC7118() {\n return this.catalogADC7118;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public CharSequence mo845a(C0151a aVar) {\n if (aVar == null || !aVar.mo613a()) {\n return getTitle();\n }\n return getTitleCondensed();\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public double getMon603a1() {\r\n\t\treturn mon603a1;\r\n\t}",
"private int m14928a() {\n return this.f11153a;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public java.lang.CharSequence getVar153() {\n return var153;\n }",
"public java.lang.CharSequence getVar153() {\n return var153;\n }",
"public org.chartacaeli.model.CatalogADC5109 getCatalogADC5109() {\n return this.catalogADC5109;\n }",
"public String KaToHa(double ka) {\n // ha = 10*ka\n double ha = 10*ka;\n return check_after_decimal_point(ha);\n }",
"public double getMon603a13() {\r\n\t\treturn mon603a13;\r\n\t}",
"public int m5042a() {\n return this.f3983a;\n }",
"public long getVisaCaseNumber() {\n return visaCaseNumber;\n }",
"public double getMon603a16() {\r\n\t\treturn mon603a16;\r\n\t}",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public double getMon603a15() {\r\n\t\treturn mon603a15;\r\n\t}",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public double getMon603a14() {\r\n\t\treturn mon603a14;\r\n\t}",
"public int getCxlangue() {\r\r\r\r\r\r\r\n return cxlangue;\r\r\r\r\r\r\r\n }",
"public String getMn003() {\n return mn003;\n }",
"@JsonGetter(\"countryCodeA3\")\r\n public String getCountryCodeA3 ( ) { \r\n return this.countryCodeA3;\r\n }",
"public double getMon603a5() {\r\n\t\treturn mon603a5;\r\n\t}",
"public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }",
"public double getMon603a10() {\r\n\t\treturn mon603a10;\r\n\t}",
"String getCADENA_TRAMA();",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public double getKControl(int index) {\n return this.kControl[index];\n }",
"public final String m103r() {\n if (this.f102N == null) {\n synchronized (this.ab) {\n if (this.f102N == null) {\n this.f102N = C0048a.m259a(this.f139z, \"ro.board.platform\");\n }\n }\n }\n return this.f102N;\n }",
"public Integer getAid() {\n return aid;\n }",
"public double getMon603a7() {\r\n\t\treturn mon603a7;\r\n\t}",
"public Integer getAncho() {\r\n return ancho;\r\n }",
"public int mo27005e() {\n TextView textView = this.f24573m;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }"
] | [
"0.7363114",
"0.7273253",
"0.70409524",
"0.700338",
"0.6604069",
"0.6576497",
"0.656499",
"0.6529686",
"0.6373663",
"0.62491465",
"0.59386647",
"0.5878189",
"0.57960206",
"0.5765821",
"0.57435435",
"0.572908",
"0.5720749",
"0.5617024",
"0.56131434",
"0.56081027",
"0.55544394",
"0.55448467",
"0.5541737",
"0.55381477",
"0.5490763",
"0.54768336",
"0.54589075",
"0.54423994",
"0.5406681",
"0.5403527",
"0.53893",
"0.53512335",
"0.534923",
"0.53490376",
"0.5324072",
"0.53008044",
"0.530057",
"0.52798855",
"0.52599686",
"0.5258196",
"0.52488244",
"0.5244357",
"0.52236176",
"0.5216389",
"0.5199385",
"0.51956856",
"0.51910484",
"0.5189819",
"0.5173582",
"0.5167862",
"0.51665044",
"0.5163384",
"0.5160827",
"0.5154277",
"0.51389277",
"0.51371795",
"0.5129231",
"0.5109559",
"0.5109559",
"0.5086953",
"0.5069769",
"0.50564086",
"0.5054613",
"0.50449723",
"0.50411105",
"0.5038748",
"0.5038182",
"0.50285",
"0.5027512",
"0.50221825",
"0.5015351",
"0.50151265",
"0.501294",
"0.501294",
"0.4983767",
"0.4982194",
"0.49718446",
"0.4962172",
"0.49614817",
"0.49613807",
"0.49550486",
"0.49527663",
"0.49521673",
"0.4946617",
"0.49452275",
"0.49419606",
"0.4941547",
"0.49335387",
"0.49321312",
"0.49317518",
"0.4926844",
"0.49222335",
"0.49218616",
"0.4906902",
"0.4906792",
"0.49019957",
"0.4896303",
"0.48904857",
"0.48899657",
"0.48836145"
] | 0.8049781 | 0 |
Sets the AKA103 value for this KA04View. | public void setAKA103(String AKA103) {
this.AKA103 = AKA103;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA103() {\n return AKA103;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void mo1323a(ac acVar, View view) {\n this.f15139b.f19007j = c4812u.m27910m();\n C4592k.m25308b(this.f15139b.f18999b, c4812u);\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setMon603a11(double mon603a11) {\r\n\t\tthis.mon603a11 = mon603a11;\r\n\t}",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setAttVCA(int att){\n\t\t\n\t\tsuper.setAttVCA((att == 0)? 1 : att );\n\t}",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setMon603a14(double mon603a14) {\r\n\t\tthis.mon603a14 = mon603a14;\r\n\t}",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setMon603a3(double mon603a3) {\r\n\t\tthis.mon603a3 = mon603a3;\r\n\t}",
"public void setMon603a1(double mon603a1) {\r\n\t\tthis.mon603a1 = mon603a1;\r\n\t}",
"public void setMon603a10(double mon603a10) {\r\n\t\tthis.mon603a10 = mon603a10;\r\n\t}",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void mo5115a(C0353a c0353a) {\n f784b = c0353a;\n }",
"public void setMon603a13(double mon603a13) {\r\n\t\tthis.mon603a13 = mon603a13;\r\n\t}",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar263(java.lang.Boolean value) {\n validate(fields()[264], value);\n this.var263 = value;\n fieldSetFlags()[264] = true;\n return this;\n }",
"public void setNumAyuAtracc(int num);",
"public void setAOA(float AOA);",
"public void setVar153(java.lang.CharSequence value) {\n this.var153 = value;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public void setMon603a15(double mon603a15) {\r\n\t\tthis.mon603a15 = mon603a15;\r\n\t}",
"public void setMon603a5(double mon603a5) {\r\n\t\tthis.mon603a5 = mon603a5;\r\n\t}",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setMon603a12(double mon603a12) {\r\n\t\tthis.mon603a12 = mon603a12;\r\n\t}",
"public void setMon603a7(double mon603a7) {\r\n\t\tthis.mon603a7 = mon603a7;\r\n\t}",
"public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar103(java.lang.Double value) {\n validate(fields()[104], value);\n this.var103 = value;\n fieldSetFlags()[104] = true;\n return this;\n }",
"public void setAcadController(AcademicsController acadCtrl) {\n\t\tthis.acadCtrl = acadCtrl;\n\t}",
"public void setMon603a4(double mon603a4) {\r\n\t\tthis.mon603a4 = mon603a4;\r\n\t}",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setMon603a16(double mon603a16) {\r\n\t\tthis.mon603a16 = mon603a16;\r\n\t}",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String CaToKa(double ca) {\n // ka = ca/100000\n double ka = ca/100000;\n return check_after_decimal_point(ka);\n }",
"public void setCriticalAbateValue(short criticalAbateValue)\n throws JNCException {\n setCriticalAbateValue(new YangUInt8(criticalAbateValue));\n }",
"public static int m37637a(AbstractC6151au auVar) {\n try {\n if (AuthConfigManager.m38491b()) {\n return 4;\n }\n if (auVar != null && !auVar.mo41518i()) {\n return 1;\n }\n return 2 == (!AuthConfigManager.m38485a() ? (char) 1 : 2) ? 2 : 1;\n } catch (Throwable th) {\n SDKLogHandler.m37519b(th, \"htu\", \"gt\");\n }\n }",
"public String AToKa(double a) {\n // ka = a/1000\n double ka = a/1000;\n return check_after_decimal_point(ka);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar153(java.lang.CharSequence value) {\n validate(fields()[154], value);\n this.var153 = value;\n fieldSetFlags()[154] = true;\n return this;\n }",
"public void setAid(Integer aid) {\n this.aid = aid;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public MusicCategoryTabView mo31847qK(int i) {\n return ((C7301c) this.dAK.get(i)).axs();\n }",
"public void setSuppressAlpha(boolean suppressAlpha) {\n/* 106 */ this.suppressAlpha = suppressAlpha;\n/* */ }",
"public void setMon603a8(double mon603a8) {\r\n\t\tthis.mon603a8 = mon603a8;\r\n\t}",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar81(java.lang.CharSequence value) {\n validate(fields()[82], value);\n this.var81 = value;\n fieldSetFlags()[82] = true;\n return this;\n }",
"public void setATC(java.lang.String ATC) {\n this.ATC = ATC;\n }",
"public void setVar263(java.lang.Boolean value) {\n this.var263 = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar241(java.lang.Integer value) {\n validate(fields()[242], value);\n this.var241 = value;\n fieldSetFlags()[242] = true;\n return this;\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"private View m4011k(C0820v vVar, C0788a0 a0Var) {\n if (this.f3143x) {\n return m4004h(vVar, a0Var);\n }\n return m4001f(vVar, a0Var);\n }",
"public final void mo9234a(View view, C37138a c37138a) {\n AppMethodBeat.m2504i(2013);\n int[] a = C16896c.this.mo26234a(C16896c.this.aiB.getLayoutManager(), view);\n int i = a[0];\n int i2 = a[1];\n int ca = mo65816ca(Math.max(Math.abs(i), Math.abs(i2)));\n if (ca > 0) {\n c37138a.mo59203a(i, i2, ca, this.f16584Sf);\n }\n AppMethodBeat.m2505o(2013);\n }",
"public void setKinkenriyou03(Long kinkenriyou03) {\r\n this.kinkenriyou03 = kinkenriyou03;\r\n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public void addThreeForTeamK (View v) {\n kScore = kScore +3;\n displayForTeamK(kScore);\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public void setAcr(String acr) {\n this.acr = acr;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public Builder setExplicitLac(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n explicitLac_ = value;\n onChanged();\n return this;\n }",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}"
] | [
"0.70312524",
"0.6920051",
"0.68700737",
"0.6569764",
"0.6474409",
"0.6421105",
"0.63100386",
"0.6239573",
"0.6204736",
"0.60146314",
"0.57918555",
"0.5710983",
"0.55487955",
"0.553608",
"0.5450556",
"0.5374243",
"0.53196776",
"0.53191835",
"0.531128",
"0.5310308",
"0.5249567",
"0.5232505",
"0.5213492",
"0.5209363",
"0.5206484",
"0.51747745",
"0.5165499",
"0.51357764",
"0.51253337",
"0.5115629",
"0.5104258",
"0.5093887",
"0.5084853",
"0.50731254",
"0.5071454",
"0.5000866",
"0.49534154",
"0.49305466",
"0.49134955",
"0.49052733",
"0.48945472",
"0.48921436",
"0.48845944",
"0.48471937",
"0.48321494",
"0.48297954",
"0.4816056",
"0.48133203",
"0.4803212",
"0.479625",
"0.47939286",
"0.47847474",
"0.4777894",
"0.4775467",
"0.4744459",
"0.4740857",
"0.4736615",
"0.4736491",
"0.47158918",
"0.4715275",
"0.47146443",
"0.47093934",
"0.47053367",
"0.4703409",
"0.4680749",
"0.467679",
"0.46754202",
"0.4664784",
"0.4659707",
"0.46577525",
"0.4643985",
"0.46207345",
"0.46150282",
"0.4608239",
"0.45950213",
"0.45944402",
"0.45918235",
"0.45912912",
"0.4583771",
"0.45804626",
"0.45798633",
"0.45780465",
"0.4577679",
"0.4574154",
"0.45734602",
"0.4569606",
"0.45685503",
"0.4566153",
"0.45633748",
"0.45617798",
"0.45576727",
"0.45511198",
"0.45511025",
"0.45422426",
"0.4526827",
"0.4522932",
"0.45187053",
"0.45151624",
"0.4514688",
"0.4508568"
] | 0.76164997 | 0 |
Gets the AKA104 value for this KA04View. | public double getAKA104() {
return AKA104;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public int getAtk() {\n return atk;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public int getAtk(){\n return atk;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public int getKAId() {\n return this.id;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public int getAlphaInfoValue() {\n return alphaInfo_;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"int getAtk();",
"public Long getKinkenriyou04() {\r\n return kinkenriyou04;\r\n }",
"public final TextView m62336a() {\n return this.f51844a;\n }",
"public String m3140a() {\n return this.f2413g;\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public Integer getAid() {\n return aid;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public org.chartacaeli.model.CatalogADC7118 getCatalogADC7118() {\n return this.catalogADC7118;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String getPra4() {\n return pra4;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public String getKakarinm() {\r\n return kakarinm;\r\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public int mo5156a() {\n int i = this.f3127d;\n return i != -1 ? i : AudioAttributesCompat.m3774a(false, this.f3126c, this.f3124a);\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public int getAid() {\n return aid_;\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public org.chartacaeli.model.CatalogADC6049 getCatalogADC6049() {\n return this.catalogADC6049;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public double getMon603a4() {\r\n\t\treturn mon603a4;\r\n\t}",
"public org.chartacaeli.model.CatalogADC5109 getCatalogADC5109() {\n return this.catalogADC5109;\n }",
"public int getAid() {\n\t\treturn aid;\n\t}",
"protected String getZKasseId() {\n return bc.Z_KASSE_ID;\n }",
"public boolean getAA() {\n return AA;\n }",
"public double getMon603a16() {\r\n\t\treturn mon603a16;\r\n\t}",
"public int getAtk()\r\n {\r\n return attack;\r\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String HaToKa(double ha) {\n // ka = ha/10\n double ka = ha/10;\n return check_after_decimal_point(ka);\n }",
"public String m2674A() {\n return (String) this.f2439a.m2666a(ea.bW);\n }",
"private View m4011k(C0820v vVar, C0788a0 a0Var) {\n if (this.f3143x) {\n return m4004h(vVar, a0Var);\n }\n return m4001f(vVar, a0Var);\n }",
"public Number getAncho()\n {\n return (Number)getAttributeInternal(ANCHO);\n }",
"public en m38217a() {\n return this.f31270a;\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public String m7901a() {\n return this.f6688a;\n }",
"public double calcKa() {\n return 0;\n }",
"public org.chartacaeli.model.CatalogADC1239H getCatalogADC1239H() {\n return this.catalogADC1239H;\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public int getAp(){\n\t\treturn ap;\n\t}",
"public CharSequence mo845a(C0151a aVar) {\n if (aVar == null || !aVar.mo613a()) {\n return getTitle();\n }\n return getTitleCondensed();\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public String m15120a() {\n return (String) this.f13489a.mo23039a(C7196pb.f13872r);\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public final int mo19167a() {\n return zam.f54891a.mo3214a();\n }",
"public ao m50838a() {\n return m50836b();\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public int getAid() {\n return instance.getAid();\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public final int m29259a() {\n return this.zzdlw;\n }",
"public String mo10149a() {\n return this.f8352a.mo10139a();\n }",
"public double getMon603a() {\r\n\t\treturn this.mon603a;\r\n\t}",
"public int mo1950a() {\n return this.f1924a;\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public int getAdc ()\n {\n return adc_;\n }",
"public double getMon603a14() {\r\n\t\treturn mon603a14;\r\n\t}",
"public String mo3824n() {\n return this.f1471at;\n }",
"public int mo5647ac() {\n if (this.f1670do == null) {\n return 0;\n }\n C0871m c0871m = (C0871m) this.f1670do;\n return (c0871m.f2174S == 1 && C0659bf.m1548c(true) == null) ? 2 : C0671bk.m1588a(getContext(), c0871m, this.f1682ds);\n }"
] | [
"0.7709343",
"0.74682695",
"0.7333907",
"0.72186023",
"0.6941713",
"0.6731068",
"0.66572577",
"0.6526981",
"0.651279",
"0.6497301",
"0.6291956",
"0.6164894",
"0.60821706",
"0.6050779",
"0.6005197",
"0.6003875",
"0.59889704",
"0.59565264",
"0.59405565",
"0.58964115",
"0.58405536",
"0.5805692",
"0.57720715",
"0.5749834",
"0.5720518",
"0.5701997",
"0.56513244",
"0.5639551",
"0.5605354",
"0.5589132",
"0.557767",
"0.5525573",
"0.55234075",
"0.5512185",
"0.5501127",
"0.55002266",
"0.5499333",
"0.54992497",
"0.5488727",
"0.54792184",
"0.5466362",
"0.5451298",
"0.54387707",
"0.54272324",
"0.54260695",
"0.5414905",
"0.540976",
"0.540976",
"0.5405286",
"0.53916997",
"0.5383306",
"0.53765386",
"0.53558236",
"0.535324",
"0.5340627",
"0.53401077",
"0.5338231",
"0.53285617",
"0.5326692",
"0.5326692",
"0.53147703",
"0.5311975",
"0.5309042",
"0.530447",
"0.53011113",
"0.52822644",
"0.5281241",
"0.52788764",
"0.52751267",
"0.5270369",
"0.5269391",
"0.52685803",
"0.5267121",
"0.5264233",
"0.52587867",
"0.52570516",
"0.5255964",
"0.52479315",
"0.52399886",
"0.5235458",
"0.5229317",
"0.5224197",
"0.52111036",
"0.51976204",
"0.5190437",
"0.5189194",
"0.5188764",
"0.5188336",
"0.5185324",
"0.51842284",
"0.5180629",
"0.5172106",
"0.51695406",
"0.5166789",
"0.5163448",
"0.51615524",
"0.5158458",
"0.5152233",
"0.5152058",
"0.5151252"
] | 0.7644679 | 1 |
Sets the AKA104 value for this KA04View. | public void setAKA104(double AKA104) {
this.AKA104 = AKA104;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public final void mo118216a(C47008ac acVar) {\n this.f120644b = acVar;\n m146984b(acVar);\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public String getAKA066() {\n return AKA066;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setKakaricd(String kakaricd) {\r\n this.kakaricd = kakaricd;\r\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public final void mo5343a(View view, C0275kc kcVar) {\n mo5347a(kcVar, this.f9708a.mo5202b(view), view);\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public void mo1323a(ac acVar, View view) {\n this.f15139b.f19007j = c4812u.m27910m();\n C4592k.m25308b(this.f15139b.f18999b, c4812u);\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setLetterValue(AVT v)\n {\n m_lettervalue_avt = v;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public String KaToA(double ka) {\n // a = 1000*ka\n double a = 1000*ka;\n return check_after_decimal_point(a);\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"private View m4011k(C0820v vVar, C0788a0 a0Var) {\n if (this.f3143x) {\n return m4004h(vVar, a0Var);\n }\n return m4001f(vVar, a0Var);\n }",
"public void setAid(Integer aid) {\n this.aid = aid;\n }",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public void setMon603a4(double mon603a4) {\r\n\t\tthis.mon603a4 = mon603a4;\r\n\t}",
"public void setAcr(String acr) {\n this.acr = acr;\n }",
"public void setAcadController(AcademicsController acadCtrl) {\n\t\tthis.acadCtrl = acadCtrl;\n\t}",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setNumAyuAtracc(int num);",
"public final void mo41681a(C15824kr krVar) throws RemoteException {\n if (krVar.f44552d != null) {\n krVar.f44552d.mo41468a(this.f44538a);\n }\n }",
"public static void m10220a() {\n zzawb.m10214a(\"TinkMac\", new ii());\n zzavo.m10184a(f9059b);\n }",
"protected void m3601a(en enVar) throws RemoteException {\n try {\n enVar.m3053e((C0128d) this);\n } catch (IllegalStateException e) {\n m3243x(2001);\n }\n }",
"public final synchronized void mo39717a(anv anv) {\n this.f40731m = anv;\n requestLayout();\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setKinkenriyou04(Long kinkenriyou04) {\r\n this.kinkenriyou04 = kinkenriyou04;\r\n }",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"protected void m3591a(en enVar) throws RemoteException {\n try {\n enVar.m3051a(applicationId, false, (C0128d) this);\n } catch (IllegalStateException e) {\n m3243x(2001);\n }\n }",
"public final void m50001a(dc dcVar) {\n this.f40981a.f34271a.a(dcVar);\n }",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public void setAAE140(String AAE140) {\n this.AAE140 = AAE140;\n }",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public void mo98a(ah ahVar) {\n super.mo98a(ahVar);\n m24192d(ahVar);\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }",
"public void setApId(long value) {\n this.apId = value;\n }",
"public String KaToCa(double ka) {\n // ca = 100000*ka\n double ca = 100000*ka;\n return check_after_decimal_point(ca);\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setMon603a14(double mon603a14) {\r\n\t\tthis.mon603a14 = mon603a14;\r\n\t}",
"public void setAOA(float AOA);",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public String getBKA001() {\n return BKA001;\n }",
"public void setMon603a16(double mon603a16) {\r\n\t\tthis.mon603a16 = mon603a16;\r\n\t}",
"public String getAAE140() {\n return AAE140;\n }",
"public void setMajorAbateValue(short majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public void mo34123a(C12314c cVar) {\n if (C12347d.m55464a(this.f38169N, cVar)) {\n this.f38169N = cVar;\n this.f38170a.mo34123a((C12314c) this);\n }\n }",
"void setAlpha(double alpha) {\n this.alpha = alpha;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public int getKAId() {\n return this.id;\n }",
"public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }",
"public final synchronized void mo39715a(C14836c cVar) {\n this.f40729k = cVar;\n }",
"public void setMida(int mida) {\r\n\t\tthis.mida = mida;\r\n\t}",
"public void setMon603a(double mon603a) {\r\n\t\tthis.mon603a = mon603a;\r\n\t}",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"protected void m3603a(en enVar) throws RemoteException {\n try {\n enVar.m3049a(\"\", (C0128d) this);\n } catch (IllegalStateException e) {\n m3243x(2001);\n }\n }",
"public void mo206a(C0066ay ayVar) {\n this.f261e.mo138a(ayVar);\n }",
"public void setAncho(Number value)\n {\n setAttributeInternal(ANCHO, value);\n }",
"public void setKakarinm(String kakarinm) {\r\n this.kakarinm = kakarinm;\r\n }",
"public void setKinkenriyou03(Long kinkenriyou03) {\r\n this.kinkenriyou03 = kinkenriyou03;\r\n }",
"public final synchronized void mo39719a(C15630dn dnVar) {\n this.f40700A = dnVar;\n }",
"public void apkk() {\n\t\tthis.apkInfo = new apkinfo();\n\t\tthis.apkInfo.selectAPKInput();\n\t}",
"public void setATKMultiplier(float aTKMultiplier) {\n\t\tATKMultiplier = aTKMultiplier;\n\t}",
"public void setKinkenriyou01(Long kinkenriyou01) {\r\n this.kinkenriyou01 = kinkenriyou01;\r\n }",
"public void setAlphaFactor(double a) {\r\n\t\t_alphaFactor = a;\r\n\t}",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"protected void m3589a(en enVar) throws RemoteException {\n try {\n enVar.m3050a(namespace, message, (C0128d) this);\n } catch (IllegalArgumentException e) {\n m3243x(2001);\n } catch (IllegalStateException e2) {\n m3243x(2001);\n }\n }",
"public int getAtk() {\n return atk;\n }",
"@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }"
] | [
"0.6846132",
"0.680527",
"0.6593381",
"0.6591834",
"0.65833014",
"0.6500711",
"0.6379971",
"0.6250125",
"0.6224186",
"0.61943173",
"0.60576916",
"0.564437",
"0.56266016",
"0.5590061",
"0.55754966",
"0.5575307",
"0.5516991",
"0.54976636",
"0.54915714",
"0.5483771",
"0.5409028",
"0.5363614",
"0.5318381",
"0.53044504",
"0.5300859",
"0.52555245",
"0.52119976",
"0.52082366",
"0.51992434",
"0.51966095",
"0.5194089",
"0.51869214",
"0.5175864",
"0.5144671",
"0.5097214",
"0.50793546",
"0.5074324",
"0.50688213",
"0.50494057",
"0.5026785",
"0.499125",
"0.4991055",
"0.49835467",
"0.49800295",
"0.49704945",
"0.49605444",
"0.49593863",
"0.49509975",
"0.49382532",
"0.49320516",
"0.49167317",
"0.48915493",
"0.48905063",
"0.48899004",
"0.48878467",
"0.48849878",
"0.4884415",
"0.48624656",
"0.48579416",
"0.48462757",
"0.4838638",
"0.48374337",
"0.48358348",
"0.48298913",
"0.482126",
"0.48129624",
"0.48098236",
"0.4808981",
"0.48087144",
"0.48077527",
"0.48010334",
"0.4799977",
"0.47932494",
"0.47925103",
"0.47880423",
"0.4785079",
"0.47833613",
"0.47607744",
"0.47549266",
"0.4748721",
"0.47455195",
"0.47443444",
"0.47394207",
"0.47329238",
"0.47329238",
"0.47237694",
"0.4696094",
"0.46956047",
"0.46932426",
"0.46887118",
"0.46875882",
"0.46872243",
"0.46839258",
"0.46760607",
"0.46705595",
"0.46693474",
"0.46688518",
"0.4663715",
"0.46581244",
"0.46575314"
] | 0.7643481 | 0 |
Gets the BAA001 value for this KA04View. | public String getBAA001() {
return BAA001;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKA001() {\n return BKA001;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public boolean getAA() {\n return AA;\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (aabbValueBuilder_ == null) {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n } else {\n if (typeCase_ == 12) {\n return aabbValueBuilder_.getMessage();\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAwbNbr() {\n return _awbNbr;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getAAE140() {\n return AAE140;\n }",
"public String getBENEF_ACC() {\r\n return BENEF_ACC;\r\n }",
"@java.lang.Override\n public godot.wire.Wire.AABBOrBuilder getAabbValueOrBuilder() {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }",
"public int getATB() {\n\t\treturn ATB;\n\t}",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public godot.wire.Wire.AABB.Builder getAabbValueBuilder() {\n return getAabbValueFieldBuilder().getBuilder();\n }",
"godot.wire.Wire.AABB getAabbValue();",
"public String getBKC098() {\n return BKC098;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public int aa() {\n return this.am * 121064660;\n }",
"@java.lang.Override\n public godot.wire.Wire.AABBOrBuilder getAabbValueOrBuilder() {\n if ((typeCase_ == 12) && (aabbValueBuilder_ != null)) {\n return aabbValueBuilder_.getMessageOrBuilder();\n } else {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }\n }",
"public java.lang.String getUserDefined01() {\n return userDefined01;\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public BigDecimal getACC_BR() {\r\n return ACC_BR;\r\n }",
"public String getAAE036() {\n return AAE036;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"float getBatt();",
"private com.google.protobuf.SingleFieldBuilderV3<\n godot.wire.Wire.AABB, godot.wire.Wire.AABB.Builder, godot.wire.Wire.AABBOrBuilder> \n getAabbValueFieldBuilder() {\n if (aabbValueBuilder_ == null) {\n if (!(typeCase_ == 12)) {\n type_ = godot.wire.Wire.AABB.getDefaultInstance();\n }\n aabbValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n godot.wire.Wire.AABB, godot.wire.Wire.AABB.Builder, godot.wire.Wire.AABBOrBuilder>(\n (godot.wire.Wire.AABB) type_,\n getParentForChildren(),\n isClean());\n type_ = null;\n }\n typeCase_ = 12;\n onChanged();;\n return aabbValueBuilder_;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public int getBNumber(){\n\t\t return B_number;\n\t}",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public int acab()\n\t\t{\n\t\t\treturn this.acabe;\n\t\t}",
"public String getMn004() {\n return mn004;\n }",
"public Bina getBina() {\r\n\t\treturn bina;\r\n\t}",
"public int getA() {\n\t\treturn 0;\n\t}",
"public C1614a m9004b() {\n for (Entry value : this.f7524c.entrySet()) {\n C1614a c1614a = (C1614a) value.getValue();\n if (c1614a.m8737c() == 4) {\n return c1614a;\n }\n }\n return null;\n }",
"public double getB1() {\n return B1;\n }",
"public int getA() {\n\t\treturn this.A;\n\t}",
"public String m7901a() {\n return this.f6688a;\n }",
"public String getBand() {\n return _avTable.get(ATTR_BAND);\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public String get_sequence() {\n return m_aa_sequence;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public String mo10149a() {\n return C1561ah.m7141b(this.f8344a);\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public YangUInt8 getMajorAbateValue() throws JNCException {\n YangUInt8 majorAbate = (YangUInt8)getValue(\"major-abate\");\n if (majorAbate == null) {\n majorAbate = new YangUInt8(\"75\"); // default\n }\n return majorAbate;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public final int mo132050a() {\n if (this.f111985b == null) {\n return 0;\n }\n switch (C32688c.f111986a[this.f111985b.ordinal()]) {\n case 1:\n return 0;\n case 2:\n return 1;\n case 3:\n case 4:\n return 2;\n default:\n return 0;\n }\n }",
"public int getB() {\n\t\treturn b;\n\t}",
"String getCADENA_TRAMA();",
"public final b a() {\n return this.f2081b;\n }",
"public java.lang.String getBNAMD() {\n return BNAMD;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public int getB() {\r\n\t\treturn b;\r\n\t}",
"public String m5043b() {\n return this.f3984b;\n }",
"public Float getT1B11djam() {\r\n return t1B11djam;\r\n }",
"public int mo1950a() {\n return this.f1924a;\n }",
"public int getA() {\n return a_;\n }",
"public int getA() {\n return a_;\n }",
"public String getMn009() {\n return mn009;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public Float getT1B11ysAm() {\r\n return t1B11ysAm;\r\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public final zzbdo m9018a() {\n return (zzbdo) this.f8226a.getValue();\n }",
"public String m14035a() {\n this.f18047c.m14047a(str, list);\n return this.f18047c.m14049b(true);\n }",
"public BigDecimal getCOVERING_ACC_BR() {\r\n return COVERING_ACC_BR;\r\n }",
"public java.lang.String getUserDefined04() {\n return userDefined04;\n }",
"public int getAAALethalityRate() {\n return aaaLethalityRate;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public Float getT1B11sjam() {\r\n return t1B11sjam;\r\n }",
"public double getNota1B() {\r\n return nota1B;\r\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getB() {\n return b;\n }",
"public String mo10149a() {\n return this.f8352a.mo10139a();\n }",
"godot.wire.Wire.AABBOrBuilder getAabbValueOrBuilder();"
] | [
"0.7674846",
"0.67409915",
"0.67157334",
"0.66348004",
"0.64647824",
"0.64439243",
"0.63718575",
"0.6285",
"0.62742275",
"0.6210037",
"0.6160615",
"0.61583257",
"0.60964566",
"0.6081612",
"0.60185003",
"0.5970387",
"0.590586",
"0.58801895",
"0.58774084",
"0.5833591",
"0.5821907",
"0.5731442",
"0.5729466",
"0.5715587",
"0.571239",
"0.56433177",
"0.5575005",
"0.5547553",
"0.55465835",
"0.5533914",
"0.55084825",
"0.5496821",
"0.54496855",
"0.5441413",
"0.54010487",
"0.53933084",
"0.5381661",
"0.5358193",
"0.53448915",
"0.533641",
"0.53199434",
"0.5307208",
"0.5293853",
"0.5289227",
"0.52751434",
"0.52715623",
"0.5243504",
"0.52326506",
"0.5215322",
"0.5210922",
"0.5187314",
"0.5186448",
"0.5175073",
"0.5161379",
"0.5149813",
"0.5144944",
"0.5132924",
"0.512183",
"0.51146215",
"0.51062995",
"0.5095513",
"0.5093274",
"0.50671333",
"0.50601214",
"0.50459135",
"0.50459135",
"0.50459135",
"0.5043693",
"0.5033195",
"0.5028842",
"0.5028842",
"0.5028842",
"0.5024578",
"0.5011637",
"0.50101966",
"0.50080365",
"0.49998176",
"0.49997407",
"0.49973232",
"0.49965006",
"0.49900234",
"0.49798974",
"0.49790058",
"0.49790058",
"0.49784362",
"0.49699652",
"0.49508283",
"0.49503663",
"0.49486655",
"0.4940613",
"0.49367148",
"0.49351296",
"0.49320903",
"0.49318707",
"0.492678",
"0.49260345",
"0.4916835",
"0.4916561",
"0.49125287",
"0.4911389"
] | 0.8034843 | 0 |
Sets the BAA001 value for this KA04View. | public void setBAA001(String BAA001) {
this.BAA001 = BAA001;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void setATB(int i) {\n\t\tthis.ATB = i;\n\t}",
"void setAa(gov.nih.nlm.ncbi.www.CodeBreakDocument.CodeBreak.Aa aa);",
"public void setAaa022(String aaa022) {\r\n this.aaa022 = aaa022;\r\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public Builder setAabbValue(\n godot.wire.Wire.AABB.Builder builderForValue) {\n if (aabbValueBuilder_ == null) {\n type_ = builderForValue.build();\n onChanged();\n } else {\n aabbValueBuilder_.setMessage(builderForValue.build());\n }\n typeCase_ = 12;\n return this;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public void setBina(Bina bina) {\r\n\t\tthis.bina = bina;\r\n\t}",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public void setAOA(float AOA);",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public void setAwbNbr(String awbNbr) {\n _awbNbr = awbNbr;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"public Builder setAabbValue(godot.wire.Wire.AABB value) {\n if (aabbValueBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n type_ = value;\n onChanged();\n } else {\n aabbValueBuilder_.setMessage(value);\n }\n typeCase_ = 12;\n return this;\n }",
"public void setBENEF_ACC(String BENEF_ACC) {\r\n this.BENEF_ACC = BENEF_ACC == null ? null : BENEF_ACC.trim();\r\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"@java.lang.Override\n public boolean hasAabbValue() {\n return typeCase_ == 12;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar81(java.lang.CharSequence value) {\n validate(fields()[82], value);\n this.var81 = value;\n fieldSetFlags()[82] = true;\n return this;\n }",
"public Builder setB21(boolean value) {\n bitField0_ |= 0x00100000;\n b21_ = value;\n onChanged();\n return this;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setBackground(float[] rvba_01){\n\t\tswingComponent.setBackground(new Color(rvba_01[R_INDEX], rvba_01[G_INDEX], rvba_01[B_INDEX], rvba_01[A_INDEX]));\n\t}",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"private void setBId(int value) {\n \n bId_ = value;\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"public boolean getAA() {\n return AA;\n }",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"public String getAaa022() {\r\n return aaa022;\r\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setBand(String value) {\n _avTable.set(ATTR_BAND, value);\n }",
"@java.lang.Override\n public godot.wire.Wire.AABB getAabbValue() {\n if (typeCase_ == 12) {\n return (godot.wire.Wire.AABB) type_;\n }\n return godot.wire.Wire.AABB.getDefaultInstance();\n }",
"public void setCriarBAK(boolean pCriarBAK) throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_SetCriarBAK(getHandle(), pCriarBAK);\n checkResult(ret);\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public void setAAALethalityRate(int value) {\n this.aaaLethalityRate = value;\n }",
"public Builder setAbiId(int value) {\n\n abiId_ = value;\n onChanged();\n return this;\n }",
"public void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);",
"public void setMajorAbateValue(String majorAbateValue) throws JNCException {\n setMajorAbateValue(new YangUInt8(majorAbateValue));\n }",
"public void setBeacon(int beaconVal) {\n \tthis.beacon = beaconVal;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"private void setB(float dB) {\n EditText field = (EditText) findViewById(R.id.valB);\n SeekBar sb = (SeekBar) findViewById(R.id.seekB);\n\n b = dB;\n if (b < 1) {\n b = 1.0f;\n } else if (b > 2) {\n b = 2.0f;\n }\n\n field.setText(String.valueOf(b));\n\n if ((b - 1) * 100 <= sb.getMax()) {\n sb.setProgress((int)((b - 1) * 100));\n }\n }",
"public void setUserDefined01(java.lang.String userDefined01) {\n this.userDefined01 = userDefined01;\n }",
"public godot.wire.Wire.AABB.Builder getAabbValueBuilder() {\n return getAabbValueFieldBuilder().getBuilder();\n }",
"void xsetNcbi8Aa(org.apache.xmlbeans.XmlInteger ncbi8Aa);",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public void setIdBoleta(int value) {\n this.idBoleta = value;\n }",
"public Builder setB19(boolean value) {\n bitField0_ |= 0x00040000;\n b19_ = value;\n onChanged();\n return this;\n }",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public com.example.DNSLog.Builder clearAA() {\n fieldSetFlags()[17] = false;\n return this;\n }",
"public void setBP_BankAccount(MBPBankAccount ba) {\n log.fine(\"\" + ba);\n if (ba == null) {\n return;\n }\n setC_BPartner_ID(ba.getC_BPartner_ID());\n setAccountAddress(ba.getA_Name(), ba.getA_Street(), ba.getA_City(),\n ba.getA_State(), ba.getA_Zip(), ba.getA_Country());\n setA_EMail(ba.getA_EMail());\n setA_Ident_DL(ba.getA_Ident_DL());\n setA_Ident_SSN(ba.getA_Ident_SSN());\n //\tCC\n if (ba.getCreditCardType() != null) {\n setCreditCardType(ba.getCreditCardType());\n }\n if (ba.getCreditCardNumber() != null) {\n setCreditCardNumber(ba.getCreditCardNumber());\n }\n if (ba.getCreditCardExpMM() != 0) {\n setCreditCardExpMM(ba.getCreditCardExpMM());\n }\n if (ba.getCreditCardExpYY() != 0) {\n setCreditCardExpYY(ba.getCreditCardExpYY());\n }\n if (ba.getCreditCardVV() != null) {\n setCreditCardVV(ba.getCreditCardVV());\n }\n //\tBank\n if (ba.getAccountNo() != null) {\n setAccountNo(ba.getAccountNo());\n }\n if (ba.getRoutingNo() != null) {\n setRoutingNo(ba.getRoutingNo());\n }\n }",
"public final void mo61319a(C2541a c2541a) {\n this.jbg = c2541a;\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public String getAKA066() {\n return AKA066;\n }",
"public Builder setOneof1809(int value) {\n hugeOneofCase_ = 1809;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setBNumber(int B_numberIn){\n\t\tB_number = B_numberIn;\n\t}",
"public Builder setOneof1801(int value) {\n hugeOneofCase_ = 1801;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1709(int value) {\n hugeOneofCase_ = 1709;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1905(int value) {\n hugeOneofCase_ = 1905;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void mo3351a(C0510b c0510b) {\n this.f3365g = c0510b;\n }",
"public void setNumAyuAtracc(int num);",
"public Builder setOneof1909(int value) {\n hugeOneofCase_ = 1909;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setNumb(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n numb_ = value;\n onChanged();\n return this;\n }",
"private void aretes_aB(){\n\t\tthis.cube[22] = this.cube[12]; \n\t\tthis.cube[12] = this.cube[48];\n\t\tthis.cube[48] = this.cube[39];\n\t\tthis.cube[39] = this.cube[3];\n\t\tthis.cube[3] = this.cube[22];\n\t}",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public Builder setOneof1805(int value) {\n hugeOneofCase_ = 1805;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1903(int value) {\n hugeOneofCase_ = 1903;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"void xsetNcbieaa(org.apache.xmlbeans.XmlInteger ncbieaa);",
"public Builder clearAabbValue() {\n if (aabbValueBuilder_ == null) {\n if (typeCase_ == 12) {\n typeCase_ = 0;\n type_ = null;\n onChanged();\n }\n } else {\n if (typeCase_ == 12) {\n typeCase_ = 0;\n type_ = null;\n }\n aabbValueBuilder_.clear();\n }\n return this;\n }"
] | [
"0.78734654",
"0.70244247",
"0.6728989",
"0.6266056",
"0.6222218",
"0.62109303",
"0.5969591",
"0.5940555",
"0.59206414",
"0.5900682",
"0.574459",
"0.57224816",
"0.5451941",
"0.54387563",
"0.53739905",
"0.53596115",
"0.53500015",
"0.5312666",
"0.5311454",
"0.5278365",
"0.5251673",
"0.523589",
"0.52267295",
"0.522227",
"0.5218945",
"0.5213555",
"0.5213555",
"0.5212799",
"0.5196431",
"0.51606435",
"0.5138152",
"0.5128814",
"0.5128814",
"0.51274776",
"0.5108207",
"0.5080272",
"0.50770694",
"0.5067886",
"0.50663847",
"0.5063335",
"0.5061277",
"0.5049017",
"0.5026174",
"0.49897826",
"0.49685484",
"0.49611253",
"0.49360284",
"0.49297902",
"0.49208286",
"0.4901089",
"0.48987272",
"0.48963758",
"0.4890955",
"0.48773843",
"0.48691395",
"0.48661032",
"0.4849436",
"0.48241338",
"0.47937065",
"0.47877714",
"0.47869995",
"0.47707182",
"0.47703305",
"0.47565106",
"0.47448334",
"0.473648",
"0.47348112",
"0.47302258",
"0.47264257",
"0.47014144",
"0.469764",
"0.46948153",
"0.4691459",
"0.46895275",
"0.46680263",
"0.4666697",
"0.46585995",
"0.4656209",
"0.4654279",
"0.46536186",
"0.46503678",
"0.46435007",
"0.46409494",
"0.46143466",
"0.4613387",
"0.4611477",
"0.46100396",
"0.4607592",
"0.4600974",
"0.46005937",
"0.45984387",
"0.45926782",
"0.45919567",
"0.45773673",
"0.45772025",
"0.45708105",
"0.45671138",
"0.4564944",
"0.45629695",
"0.4562892"
] | 0.8140146 | 0 |
Gets the BKA001 value for this KA04View. | public String getBKA001() {
return BKA001;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBAA001() {\n return BAA001;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public Long getKinkenriyou01() {\r\n return kinkenriyou01;\r\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getAwbNbr() {\n return _awbNbr;\n }",
"public int getBNumber(){\n\t\t return B_number;\n\t}",
"public String getAAE011() {\n return AAE011;\n }",
"public String getAAE100() {\n return AAE100;\n }",
"public int getB() {\n\t\treturn b;\n\t}",
"public int getB() {\r\n\t\treturn b;\r\n\t}",
"public int getkValue() {\n return kValue;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public int bikeNum(){\n return bike;\n }",
"public double getB1() {\n return B1;\n }",
"public String getAaa023() {\r\n return aaa023;\r\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public Bina getBina() {\r\n\t\treturn bina;\r\n\t}",
"public java.lang.String getUserDefined01() {\n return userDefined01;\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getMn008() {\n return mn008;\n }",
"public int getAtk(){\n return atk;\n }",
"public String getMn004() {\n return mn004;\n }",
"public Long getKinkenriyou04() {\r\n return kinkenriyou04;\r\n }",
"public int getBulanLahir() {\r\n return bulanLahir;\r\n }",
"public String getKazeikbn() {\r\n return kazeikbn;\r\n }",
"public String getB() {\n return b;\n }",
"int getAtk();",
"public Float getT1B111i() {\r\n return t1B111i;\r\n }",
"public Float getT1B11djam() {\r\n return t1B11djam;\r\n }",
"public String getBakCode1() {\n return bakCode1;\n }",
"public double getNota1B() {\r\n return nota1B;\r\n }",
"public String getMn009() {\n return mn009;\n }",
"public Float getT1B112i() {\r\n return t1B112i;\r\n }",
"public int getAtk() {\n return atk;\n }",
"public String getMn007() {\n return mn007;\n }",
"public double getBungaBank() {\n return this.bungaBank;\n }",
"public Float getT1B11sjam() {\r\n return t1B11sjam;\r\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public double getB_() {\n\t\treturn b_;\n\t}",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public boolean getAA() {\n return AA;\n }",
"public String getMn003() {\n return mn003;\n }",
"public String getMn005() {\n return mn005;\n }",
"public String getBENEF_ACC() {\r\n return BENEF_ACC;\r\n }",
"public short getKcp94V05NoOfTiers1()\n {\n return kcp94V05NoOfTiers1;\n }",
"public int getVelocidadBala() {\n return velocidadBala;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public boolean getAA() {\n return AA;\n }",
"public Long getKinkenriyou07() {\r\n return kinkenriyou07;\r\n }",
"public C1614a m9004b() {\n for (Entry value : this.f7524c.entrySet()) {\n C1614a c1614a = (C1614a) value.getValue();\n if (c1614a.m8737c() == 4) {\n return c1614a;\n }\n }\n return null;\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public int getValueOfBonus() {\n return valueOfBonus;\n }",
"public String getCusBak() {\r\n return cusBak;\r\n }",
"public String mo10149a() {\n return C1561ah.m7141b(this.f8344a);\n }",
"public int mo1533b() {\n return this.f15725b;\n }",
"public int mo81401l() {\n return this.f58082n;\n }",
"public int m1255b() {\n return this.f778c;\n }",
"public double getB() {\n return b;\n }",
"public String getDatakbn() {\r\n return datakbn;\r\n }",
"public String getNUM_BICO() {\n return NUM_BICO;\n }",
"public String getJP_BankAccount_Value();",
"private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public String getBak() {\r\n return bak;\r\n }",
"public double getKControl(int index) {\n return this.kControl[index];\n }",
"public BigDecimal getACC_BR() {\r\n return ACC_BR;\r\n }",
"public double getValue() {\n return 0.05;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"int getVbNum();",
"public String m5043b() {\n return this.f3984b;\n }"
] | [
"0.75318986",
"0.69970053",
"0.68691903",
"0.66416717",
"0.66406184",
"0.6506235",
"0.638385",
"0.61561865",
"0.6102337",
"0.6005318",
"0.594105",
"0.59326804",
"0.5901324",
"0.5818996",
"0.5814485",
"0.5783209",
"0.5763533",
"0.57461095",
"0.57185966",
"0.57076555",
"0.5698042",
"0.5697829",
"0.5681247",
"0.55787677",
"0.55641574",
"0.5539042",
"0.55345654",
"0.54990226",
"0.54926324",
"0.5492026",
"0.54806495",
"0.54633635",
"0.54633635",
"0.54633635",
"0.5462949",
"0.5462949",
"0.5462949",
"0.54608923",
"0.54508847",
"0.54464906",
"0.54340416",
"0.5427617",
"0.5413413",
"0.54083186",
"0.54058653",
"0.5397995",
"0.53848433",
"0.5365388",
"0.5361981",
"0.5344654",
"0.5344503",
"0.534427",
"0.5343127",
"0.5338995",
"0.53349274",
"0.5333187",
"0.53272015",
"0.5317699",
"0.52879655",
"0.5269101",
"0.5266291",
"0.52653426",
"0.5264123",
"0.5260804",
"0.5259078",
"0.5250538",
"0.52475834",
"0.52448225",
"0.52396107",
"0.5238737",
"0.5238276",
"0.52343327",
"0.52341485",
"0.521372",
"0.52066886",
"0.5193107",
"0.5192356",
"0.51783615",
"0.5173991",
"0.51688963",
"0.51677305",
"0.5165429",
"0.51623917",
"0.51544094",
"0.51542675",
"0.5152278",
"0.5142544",
"0.51421505",
"0.5141433",
"0.51377124",
"0.51335865",
"0.5131844",
"0.51309574",
"0.51298034",
"0.51267457",
"0.51244897",
"0.5117873",
"0.5116076",
"0.5112477",
"0.51106393"
] | 0.80591273 | 0 |
Sets the BKA001 value for this KA04View. | public void setBKA001(String BKA001) {
this.BKA001 = BKA001;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);",
"public void setBina(Bina bina) {\r\n\t\tthis.bina = bina;\r\n\t}",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public void setKinkenriyou01(Long kinkenriyou01) {\r\n this.kinkenriyou01 = kinkenriyou01;\r\n }",
"public Builder setB21(boolean value) {\n bitField0_ |= 0x00100000;\n b21_ = value;\n onChanged();\n return this;\n }",
"public Builder setNumb(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n numb_ = value;\n onChanged();\n return this;\n }",
"public void setKazeikbn(String kazeikbn) {\r\n this.kazeikbn = kazeikbn;\r\n }",
"public void setATB(int i) {\n\t\tthis.ATB = i;\n\t}",
"@Generated(hash = 1549336661)\n public void setNoteBK(NoteBK noteBK) {\n synchronized (this) {\n this.noteBK = noteBK;\n NoteBK_ID = noteBK == null ? null : noteBK.get_ID();\n noteBK__resolvedKey = NoteBK_ID;\n }\n }",
"public void setJP_BranchName_Kana_Line (String JP_BranchName_Kana_Line);",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar81(java.lang.CharSequence value) {\n validate(fields()[82], value);\n this.var81 = value;\n fieldSetFlags()[82] = true;\n return this;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"private void setBId(int value) {\n \n bId_ = value;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public void SetB(byte num) {\r\n\t\tm_numB = num;\r\n\t}",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public void setAAE011(String AAE011) {\n this.AAE011 = AAE011;\n }",
"@Test\n\tpublic void testSetBehandelCode(){\n\t\tint expResult = 002;\n\t\tinstance.setBehandelCode(002);\n\t\tassertTrue(expResult == instance.getBehandelCode());\n\t}",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public void setBunga(int tipeBunga){\n }",
"public Builder setB19(boolean value) {\n bitField0_ |= 0x00040000;\n b19_ = value;\n onChanged();\n return this;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public void setORM_Markamarca1(orm.Marka value) {\r\n\t\tthis.markamarca1 = value;\r\n\t}",
"public com.example.DNSLog.Builder setAA(boolean value) {\n validate(fields()[17], value);\n this.AA = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"public Builder setOneof1001(int value) {\n hugeOneofCase_ = 1001;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public void setBNumber(int B_numberIn){\n\t\tB_number = B_numberIn;\n\t}",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public void setAaa023(String aaa023) {\r\n this.aaa023 = aaa023;\r\n }",
"public Builder setOneof1905(int value) {\n hugeOneofCase_ = 1905;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setCriarBAK(boolean pCriarBAK) throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_SetCriarBAK(getHandle(), pCriarBAK);\n checkResult(ret);\n }",
"public Builder setOneof1801(int value) {\n hugeOneofCase_ = 1801;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setB23(boolean value) {\n bitField0_ |= 0x00400000;\n b23_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1908(int value) {\n hugeOneofCase_ = 1908;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void SetBilangan(int i){\n\t\tTkn=TipeToken.Bilangan;\n\t\tTipeBilangan = Tipe._int;\n\t\tVal.I = i;\n\t}",
"public void setMA_KHOA( String MA_KHOA )\n {\n this.MA_KHOA = MA_KHOA;\n }",
"public Builder setOneof1909(int value) {\n hugeOneofCase_ = 1909;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setB24(boolean value) {\n bitField0_ |= 0x00800000;\n b24_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1901(int value) {\n hugeOneofCase_ = 1901;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setIdBoleta(int value) {\n this.idBoleta = value;\n }",
"public Builder setOneof1809(int value) {\n hugeOneofCase_ = 1809;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1901(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1901_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1805(int value) {\n hugeOneofCase_ = 1805;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"private void setB(float dB) {\n EditText field = (EditText) findViewById(R.id.valB);\n SeekBar sb = (SeekBar) findViewById(R.id.seekB);\n\n b = dB;\n if (b < 1) {\n b = 1.0f;\n } else if (b > 2) {\n b = 2.0f;\n }\n\n field.setText(String.valueOf(b));\n\n if ((b - 1) * 100 <= sb.getMax()) {\n sb.setProgress((int)((b - 1) * 100));\n }\n }",
"public Builder setOneof1192(int value) {\n hugeOneofCase_ = 1192;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n b_ = value;\n onChanged();\n return this;\n }",
"public void setIsDefault(Byte value) {\n set(3, value);\n }",
"public Builder setField1001Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1001_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1609(int value) {\n hugeOneofCase_ = 1609;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setMajinB(boolean majinB) {\n\t\tMajinB = majinB;\n\t}",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public Builder setField1101(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1101_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1903(int value) {\n hugeOneofCase_ = 1903;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1709(int value) {\n hugeOneofCase_ = 1709;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setUserDefined01(java.lang.String userDefined01) {\n this.userDefined01 = userDefined01;\n }",
"public Builder setLoadBalancer(\n com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.Builder builderForValue) {\n if (loadBalancerBuilder_ == null) {\n stepInfo_ = builderForValue.build();\n onChanged();\n } else {\n loadBalancerBuilder_.setMessage(builderForValue.build());\n }\n stepInfoCase_ = 16;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar92(java.lang.Boolean value) {\n validate(fields()[93], value);\n this.var92 = value;\n fieldSetFlags()[93] = true;\n return this;\n }",
"public void setValue( String value )\n\t{\n//\t\tbyte[] bytes = value.getBytes(StandardCharsets.US_ASCII);\n//\t\tint max = Math.min( 11, value.length() );\n//\t\tfor( int i = 0; i < max; i++ )\n//\t\t\tthis.markingData.get(i).setValue( bytes[i] );\n//\t\t\n\t\t\n\t\tbyte[] bytes = value.getBytes(StandardCharsets.US_ASCII);\n\t\tint max = Math.min( 11, value.length() );\n\t\tfor( int i = 0; i < 11; i++ )\n\t\t{\n\t\t\tif( i >= max )\n\t\t\t\tthis.markingData.get(i).setValue( (byte)0 );\n\t\t\telse\n\t\t\t\tthis.markingData.get(i).setValue( bytes[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"public void setTallaNbr(String value) {\n setAttributeInternal(TALLANBR, value);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar101(java.lang.Boolean value) {\n validate(fields()[102], value);\n this.var101 = value;\n fieldSetFlags()[102] = true;\n return this;\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public void setAAE100(String AAE100) {\n this.AAE100 = AAE100;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public Builder setOneof1948(int value) {\n hugeOneofCase_ = 1948;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setAwbNbr(String awbNbr) {\n _awbNbr = awbNbr;\n }",
"public Builder setOneof1181(int value) {\n hugeOneofCase_ = 1181;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1919(int value) {\n hugeOneofCase_ = 1919;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof2492(int value) {\n hugeOneofCase_ = 2492;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1808(int value) {\n hugeOneofCase_ = 1808;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1818(int value) {\n hugeOneofCase_ = 1818;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setBand(String value) {\n _avTable.set(ATTR_BAND, value);\n }"
] | [
"0.7607578",
"0.7271125",
"0.6672845",
"0.64279956",
"0.6345263",
"0.6327798",
"0.63273567",
"0.58466566",
"0.58254164",
"0.5739288",
"0.5739288",
"0.56299114",
"0.56158334",
"0.5559223",
"0.5520261",
"0.55131143",
"0.550448",
"0.54748654",
"0.54731417",
"0.54617673",
"0.54369295",
"0.5431716",
"0.5403034",
"0.53442913",
"0.5296736",
"0.52848285",
"0.5270381",
"0.52432626",
"0.5216073",
"0.52053434",
"0.5201657",
"0.51770097",
"0.51703846",
"0.5163256",
"0.5144749",
"0.5139622",
"0.5099143",
"0.5090184",
"0.50802183",
"0.50742966",
"0.50718135",
"0.50707793",
"0.50707793",
"0.5069067",
"0.50682366",
"0.5068048",
"0.5034874",
"0.5023093",
"0.50091755",
"0.49923268",
"0.49919465",
"0.49797335",
"0.49791667",
"0.49714398",
"0.49632114",
"0.49592677",
"0.49168584",
"0.49098125",
"0.4897388",
"0.48952386",
"0.48940283",
"0.4890367",
"0.4889181",
"0.4877048",
"0.48672357",
"0.48652634",
"0.48650405",
"0.48565972",
"0.48533675",
"0.48263842",
"0.48246148",
"0.4820003",
"0.48195386",
"0.48177713",
"0.4810353",
"0.48015234",
"0.47991887",
"0.4795523",
"0.47941205",
"0.4792479",
"0.47833258",
"0.47734737",
"0.477104",
"0.47682723",
"0.47646457",
"0.4762957",
"0.47620258",
"0.475976",
"0.47563615",
"0.47561243",
"0.47511968",
"0.47439545",
"0.47431886",
"0.47407013",
"0.47399476",
"0.47391784",
"0.47370973",
"0.4736926",
"0.4735599",
"0.47344086"
] | 0.8289914 | 0 |
Gets the BKA246 value for this KA04View. | public String getBKA246() {
return BKA246;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKA247() {\n return BKA247;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public boolean getB24() {\n return b24_;\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String m5043b() {\n return this.f3984b;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public boolean getB24() {\n return b24_;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public Long getKinkenriyou24() {\r\n return kinkenriyou24;\r\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public int getKapitelValue() {\n\t\tint absvalue = 0;\n\t\tMatcher m = kapitelPattern.matcher(getId());\n\t\tif (m.find()) {\n\t\t\ttry {\n\t\t\t\t int whole = Integer.parseInt(m.group(1));\n\t\t\t\t int radix = Integer.parseInt(m.group(2));\n\t\t\t\t absvalue = whole * 1000 + radix;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tLogger.getLogger(this.getClass())\n\t\t\t\t\t.error(\"Kapitelnummer der Gefaehrdung ist kein Float.\", e);\n\t\t\t}\n\t\t}\n\t\treturn absvalue;\n\t\n\t}",
"public String getAKA101() {\n return AKA101;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\r\n\t\treturn b;\r\n\t}",
"public BigDecimal gettBlkr() {\n return tBlkr;\n }",
"public int getB() {\n\t\treturn b;\n\t}",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public int m1255b() {\n return this.f778c;\n }",
"public String m3146g() {\n return this.f2415i;\n }",
"public final Integer mo58724c() {\n return this.f107195a;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public int getkValue() {\n return kValue;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public Long getKinkenriyou04() {\r\n return kinkenriyou04;\r\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public String getBak() {\r\n return bak;\r\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public int mo31044b() {\n return this.f21114b;\n }",
"public String m9124j() {\r\n return this.f6009c;\r\n }",
"public Long getKinkenriyou17() {\r\n return kinkenriyou17;\r\n }",
"public int getAtk(){\n return atk;\n }",
"public Long getKinkenriyou07() {\r\n return kinkenriyou07;\r\n }",
"public Map<String, String> mo4738b() {\n return this.f1128f;\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public int bikeNum(){\n return bike;\n }",
"public String m21433b() {\n return this.f18788f;\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public Long getKinkenriyou25() {\r\n return kinkenriyou25;\r\n }",
"public final Map<K, V> b() {\n return this.f24654d;\n }",
"public final String mo4926b() {\n return this.f2366b;\n }",
"public C40994w getValue() {\n return videoRecordNewActivity.f107324j;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public int getAtk() {\n return atk;\n }",
"public String mo1932b() {\r\n return this.f6251e;\r\n }",
"private final int m136460b() {\n return DisplayUtils.m87171b(getContext(), mo118763m() ? 20.0f : 12.0f);\n }",
"public final int mo67192wE() {\n return this.bJz[0];\n }",
"public double getKhuyenmai() {\n return khuyenmai;\n }",
"public int getBNumber(){\n\t\t return B_number;\n\t}",
"public String getVATNumber() {\n if (isVATRegistered) {\n return \"BG\" + this.eik;\n }\n return \"\";\n }",
"public Long getKinkenriyou12() {\r\n return kinkenriyou12;\r\n }",
"public double mo21089b() {\n return this.f10538y;\n }",
"public C8438u mo25164e() {\n return this.f18885e;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public Long getKinkenriyou11() {\r\n return kinkenriyou11;\r\n }",
"public String getB() {\n return b;\n }",
"public Long getKinkenriyou06() {\r\n return kinkenriyou06;\r\n }",
"public int m12824k() {\n return this.f10120g;\n }",
"public BigInteger getKeyBI() {\n return new BigInteger(this.getEncoded());\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public double getB_() {\n\t\treturn b_;\n\t}",
"public Long getKinkenriyou14() {\r\n return kinkenriyou14;\r\n }",
"public Long getKinkenriyou19() {\r\n return kinkenriyou19;\r\n }",
"public Long getKinkenriyou18() {\r\n return kinkenriyou18;\r\n }",
"public long m2684K() {\n return ((Long) this.f2439a.m2666a(ea.cu)).longValue();\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"public int mo25062b() {\n return this.f14803e;\n }",
"public int mo1533b() {\n return this.f15725b;\n }",
"public final String mo64254a() {\n return this.f41347a;\n }",
"public int m2710k() {\n return ((Integer) this.f2439a.m2666a(ea.aW)).intValue();\n }",
"public String mo3824n() {\n return this.f1471at;\n }",
"public Long getKinkenriyou15() {\r\n return kinkenriyou15;\r\n }",
"public String mo40059b() {\n return this.f24519a;\n }",
"public String getKazeikbn() {\r\n return kazeikbn;\r\n }",
"public double getB() {\n return b;\n }",
"public Long getKinkenriyou23() {\r\n return kinkenriyou23;\r\n }",
"public String getValue() {\r\n\t\tAllowedKey tp = this.getAllowedKey();\r\n\t\tKeyMask km = this.getKeyMask();\r\n\r\n\t\tif (tp == TextFieldExt.AllowedKey.AK_SOLO_NUMEROS) {\r\n\t\t\tif (km == TextFieldExt.KeyMask.KM_Moneda)\r\n\t\t\t\treturn StringTools.parseFromQuantityToNumber(this.getText().trim());\r\n\t\t\telse {\r\n\t\t\t\tif (km == TextFieldExt.KeyMask.KM_Numero)\r\n\t\t\t\t\treturn StringTools.parseFromQuantityToNumber(this.getText().trim());\r\n\t\t\t\telse\r\n\t\t\t\t\treturn this.getText().trim();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (tp == TextFieldExt.AllowedKey.AK_NUMEROS_CON_FRACCION) {\r\n\t\t\t\tif (km == TextFieldExt.KeyMask.KM_Moneda)\r\n\t\t\t\t\treturn StringTools.parseFromQuantityToNumber(this.getText().trim());\r\n\t\t\t\telse {\r\n\t\t\t\t\tif (km == TextFieldExt.KeyMask.KM_Numero)\r\n\t\t\t\t\t\treturn StringTools.parseFromQuantityToNumber(this.getText().trim());\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\treturn this.getText().trim();\r\n\t\t\t\t}\r\n\t\t\t} else\r\n\t\t\t\treturn this.getText().trim();\r\n\t\t}\r\n\t}",
"public A mo9868b() {\n return this.f2527b;\n }",
"int getAtk();"
] | [
"0.730167",
"0.6555432",
"0.6425115",
"0.63926303",
"0.6200422",
"0.6187694",
"0.6115202",
"0.60956967",
"0.6075724",
"0.6044719",
"0.6030262",
"0.602507",
"0.60090065",
"0.6007094",
"0.6004615",
"0.60039705",
"0.6003494",
"0.5995396",
"0.59947366",
"0.59593844",
"0.595911",
"0.59497243",
"0.59177077",
"0.59134513",
"0.5841733",
"0.5831643",
"0.58210826",
"0.58179533",
"0.5811577",
"0.5811577",
"0.5811577",
"0.5799648",
"0.5799648",
"0.5799648",
"0.57764065",
"0.5769449",
"0.57684016",
"0.5765456",
"0.5761558",
"0.57532376",
"0.57215047",
"0.57054126",
"0.5704885",
"0.5700546",
"0.56827873",
"0.56789994",
"0.5676492",
"0.5675256",
"0.56660837",
"0.56609446",
"0.5653466",
"0.5648372",
"0.5646001",
"0.5645458",
"0.5643535",
"0.56417",
"0.5639896",
"0.5629133",
"0.56236935",
"0.5623297",
"0.5622483",
"0.5621566",
"0.56182027",
"0.560848",
"0.56045306",
"0.56034976",
"0.55974954",
"0.55923223",
"0.55863863",
"0.5582554",
"0.5582072",
"0.55766785",
"0.55747783",
"0.5574318",
"0.55737436",
"0.55712533",
"0.5566931",
"0.5558643",
"0.5555402",
"0.5553731",
"0.5552941",
"0.5547791",
"0.5541768",
"0.55410117",
"0.55357623",
"0.5534102",
"0.55336505",
"0.55333805",
"0.5528958",
"0.5527522",
"0.55162716",
"0.55132294",
"0.55114377",
"0.5508682",
"0.5508168",
"0.55050474",
"0.55036706",
"0.5502488",
"0.54998046",
"0.5496547"
] | 0.7518514 | 0 |
Sets the BKA246 value for this KA04View. | public void setBKA246(String BKA246) {
this.BKA246 = BKA246;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public Builder setB24(boolean value) {\n bitField0_ |= 0x00800000;\n b24_ = value;\n onChanged();\n return this;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"@Generated(hash = 1549336661)\n public void setNoteBK(NoteBK noteBK) {\n synchronized (this) {\n this.noteBK = noteBK;\n NoteBK_ID = noteBK == null ? null : noteBK.get_ID();\n noteBK__resolvedKey = NoteBK_ID;\n }\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public Builder setB23(boolean value) {\n bitField0_ |= 0x00400000;\n b23_ = value;\n onChanged();\n return this;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar24(java.lang.Integer value) {\n validate(fields()[25], value);\n this.var24 = value;\n fieldSetFlags()[25] = true;\n return this;\n }",
"public void setKinkenriyou24(Long kinkenriyou24) {\r\n this.kinkenriyou24 = kinkenriyou24;\r\n }",
"public Builder setB25(boolean value) {\n bitField0_ |= 0x01000000;\n b25_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1924(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1924_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou09(Long kinkenriyou09) {\r\n this.kinkenriyou09 = kinkenriyou09;\r\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public Builder setField1924Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1924_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB19(boolean value) {\n bitField0_ |= 0x00040000;\n b19_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar246(java.lang.Double value) {\n validate(fields()[247], value);\n this.var246 = value;\n fieldSetFlags()[247] = true;\n return this;\n }",
"public void SetB(byte num) {\r\n\t\tm_numB = num;\r\n\t}",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"private void setBId(int value) {\n \n bId_ = value;\n }",
"public void setKinkenriyou07(Long kinkenriyou07) {\r\n this.kinkenriyou07 = kinkenriyou07;\r\n }",
"public Builder setField1948(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1948_ = value;\n onChanged();\n return this;\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setKazeikbn(String kazeikbn) {\r\n this.kazeikbn = kazeikbn;\r\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public Builder setField1948Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1948_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou17(Long kinkenriyou17) {\r\n this.kinkenriyou17 = kinkenriyou17;\r\n }",
"public void setKinkenriyou25(Long kinkenriyou25) {\r\n this.kinkenriyou25 = kinkenriyou25;\r\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public void setB(double value) {\n this.b = value;\n }",
"public void setATB(int i) {\n\t\tthis.ATB = i;\n\t}",
"public Builder setField1248Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1248_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof2448(int value) {\n hugeOneofCase_ = 2448;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1424Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1424_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar242(java.lang.CharSequence value) {\n validate(fields()[243], value);\n this.var242 = value;\n fieldSetFlags()[243] = true;\n return this;\n }",
"public boolean getB24() {\n return b24_;\n }",
"public Builder setField1524Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1524_ = value;\n onChanged();\n return this;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public Builder clearB24() {\n bitField0_ = (bitField0_ & ~0x00800000);\n b24_ = false;\n onChanged();\n return this;\n }",
"public Builder setField1248(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1248_ = value;\n onChanged();\n return this;\n }",
"public boolean getB24() {\n return b24_;\n }",
"public void setKinkenriyou19(Long kinkenriyou19) {\r\n this.kinkenriyou19 = kinkenriyou19;\r\n }",
"public Builder setField1624(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1624_ = value;\n onChanged();\n return this;\n }",
"public final void mo27566a(C5482b bVar) {\n this.f17646c = bVar;\n }",
"public Builder setB22(boolean value) {\n bitField0_ |= 0x00200000;\n b22_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1748Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1748_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou14(Long kinkenriyou14) {\r\n this.kinkenriyou14 = kinkenriyou14;\r\n }",
"public Builder setB21(boolean value) {\n bitField0_ |= 0x00100000;\n b21_ = value;\n onChanged();\n return this;\n }",
"public void setB(double b){\n this.b=b;\n }",
"public Builder setField1224Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1224_ = value;\n onChanged();\n return this;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public void setKinkenriyou06(Long kinkenriyou06) {\r\n this.kinkenriyou06 = kinkenriyou06;\r\n }",
"public void setB_(double b_) {\n\t\tthis.b_ = b_;\n\t}",
"public void setKinkenriyou03(Long kinkenriyou03) {\r\n this.kinkenriyou03 = kinkenriyou03;\r\n }",
"public void setKinkenriyou16(Long kinkenriyou16) {\r\n this.kinkenriyou16 = kinkenriyou16;\r\n }",
"public Builder setField1148Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1148_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou11(Long kinkenriyou11) {\r\n this.kinkenriyou11 = kinkenriyou11;\r\n }",
"public void setKinkenriyou01(Long kinkenriyou01) {\r\n this.kinkenriyou01 = kinkenriyou01;\r\n }",
"public Builder setField1246Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1246_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1239Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1239_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou04(Long kinkenriyou04) {\r\n this.kinkenriyou04 = kinkenriyou04;\r\n }",
"public void setKinkenriyou12(Long kinkenriyou12) {\r\n this.kinkenriyou12 = kinkenriyou12;\r\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"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 setKinkenriyou15(Long kinkenriyou15) {\r\n this.kinkenriyou15 = kinkenriyou15;\r\n }",
"public Builder setB27(boolean value) {\n bitField0_ |= 0x04000000;\n b27_ = value;\n onChanged();\n return this;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setKinkenriyou18(Long kinkenriyou18) {\r\n this.kinkenriyou18 = kinkenriyou18;\r\n }",
"public void setKinkenriyou23(Long kinkenriyou23) {\r\n this.kinkenriyou23 = kinkenriyou23;\r\n }",
"public Builder setField1148(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1148_ = value;\n onChanged();\n return this;\n }",
"public Builder setNumb(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n numb_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou21(Long kinkenriyou21) {\r\n this.kinkenriyou21 = kinkenriyou21;\r\n }",
"public void setVar24(java.lang.Integer value) {\n this.var24 = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar243(java.lang.CharSequence value) {\n validate(fields()[244], value);\n this.var243 = value;\n fieldSetFlags()[244] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar249(java.lang.Integer value) {\n validate(fields()[250], value);\n this.var249 = value;\n fieldSetFlags()[250] = true;\n return this;\n }",
"public Builder setField1424(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1424_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar188(java.lang.CharSequence value) {\n validate(fields()[189], value);\n this.var188 = value;\n fieldSetFlags()[189] = true;\n return this;\n }",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public void setKinkenriyou22(Long kinkenriyou22) {\r\n this.kinkenriyou22 = kinkenriyou22;\r\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public Builder setField1224(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1224_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof2492(int value) {\n hugeOneofCase_ = 2492;\n hugeOneof_ = value;\n onChanged();\n return this;\n }"
] | [
"0.71386474",
"0.6502444",
"0.63541865",
"0.6092921",
"0.6060674",
"0.60046256",
"0.5991739",
"0.59176564",
"0.58098614",
"0.5788692",
"0.575342",
"0.5746621",
"0.5740099",
"0.5702095",
"0.56229",
"0.55681336",
"0.5561038",
"0.5561038",
"0.5519561",
"0.54975754",
"0.54893315",
"0.548902",
"0.54872805",
"0.5483789",
"0.54437435",
"0.53884584",
"0.53856623",
"0.5375693",
"0.53708035",
"0.53538084",
"0.5351385",
"0.533434",
"0.52851194",
"0.5282584",
"0.52729005",
"0.5263591",
"0.52383775",
"0.52252734",
"0.52202624",
"0.52158743",
"0.52157074",
"0.52039295",
"0.5196808",
"0.5170692",
"0.51590496",
"0.51565135",
"0.51548606",
"0.5146888",
"0.51402724",
"0.51328886",
"0.51314527",
"0.5116873",
"0.51157945",
"0.511483",
"0.51104337",
"0.51045376",
"0.51041526",
"0.51006246",
"0.50976294",
"0.50911593",
"0.5090705",
"0.5090481",
"0.50894094",
"0.5087194",
"0.50760084",
"0.5073675",
"0.5073393",
"0.5071512",
"0.5068808",
"0.5066828",
"0.50620735",
"0.5057466",
"0.50502175",
"0.50488865",
"0.50426376",
"0.5041693",
"0.5040645",
"0.50384355",
"0.5036984",
"0.5035604",
"0.5026988",
"0.5024586",
"0.50196993",
"0.50168175",
"0.5014605",
"0.50073326",
"0.5004848",
"0.5001435",
"0.49963075",
"0.499503",
"0.49882784",
"0.4984617",
"0.49751884",
"0.49751198",
"0.49680054",
"0.49658597",
"0.49639016",
"0.49612582",
"0.49591434",
"0.4957689"
] | 0.76378226 | 0 |
Gets the BKA247 value for this KA04View. | public String getBKA247() {
return BKA247;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKA246() {\n return BKA246;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public String getAKA066() {\n return AKA066;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String m9848a() {\n return this.f8666b;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public String m5043b() {\n return this.f3984b;\n }",
"public java.lang.Double getVar247() {\n return var247;\n }",
"public java.lang.Double getVar247() {\n return var247;\n }",
"public int m1255b() {\n return this.f778c;\n }",
"public int m2710k() {\n return ((Integer) this.f2439a.m2666a(ea.aW)).intValue();\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public int getkValue() {\n return kValue;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public Map<String, String> mo4738b() {\n return this.f1128f;\n }",
"public int mo25062b() {\n return this.f14803e;\n }",
"public int mo1533b() {\n return this.f15725b;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public boolean getB24() {\n return b24_;\n }",
"public String m21433b() {\n return this.f18788f;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public int getAtk(){\n return atk;\n }",
"public iw m38474a() {\n return this.f31308a;\n }",
"public Long getKinkenriyou17() {\r\n return kinkenriyou17;\r\n }",
"public boolean getB24() {\n return b24_;\n }",
"public int getAtk() {\n return atk;\n }",
"public C8438u mo25164e() {\n return this.f18885e;\n }",
"public long mo25074b() {\n return this.f16634b.mo25171h();\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public C40994w getValue() {\n return videoRecordNewActivity.f107324j;\n }",
"public Long getKinkenriyou07() {\r\n return kinkenriyou07;\r\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }",
"int getAtk();",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public int mo23298ga() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13914zb)).intValue();\n }",
"public final TextView m62337b() {\n return this.f51845b;\n }",
"public String m3146g() {\n return this.f2415i;\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public int m2704e() {\n return ((Integer) this.f2439a.m2666a(ea.bq)).intValue();\n }",
"public final Integer mo58724c() {\n return this.f107195a;\n }",
"public Long getKinkenriyou24() {\r\n return kinkenriyou24;\r\n }",
"public int mo31044b() {\n return this.f21114b;\n }",
"public A mo9868b() {\n return this.f2527b;\n }",
"public int getKapitelValue() {\n\t\tint absvalue = 0;\n\t\tMatcher m = kapitelPattern.matcher(getId());\n\t\tif (m.find()) {\n\t\t\ttry {\n\t\t\t\t int whole = Integer.parseInt(m.group(1));\n\t\t\t\t int radix = Integer.parseInt(m.group(2));\n\t\t\t\t absvalue = whole * 1000 + radix;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tLogger.getLogger(this.getClass())\n\t\t\t\t\t.error(\"Kapitelnummer der Gefaehrdung ist kein Float.\", e);\n\t\t\t}\n\t\t}\n\t\treturn absvalue;\n\t\n\t}",
"public int mo284b() {\n return this.f267e;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public double mo21089b() {\n return this.f10538y;\n }",
"public int getB() {\r\n\t\treturn b;\r\n\t}",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public int getB() {\n\t\treturn b;\n\t}",
"public int mo23287b() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13790ac)).intValue();\n }",
"public int mo38492a() {\n return this.f27233b;\n }",
"public int m12824k() {\n return this.f10120g;\n }",
"public String mo1932b() {\r\n return this.f6251e;\r\n }",
"public int mo5157b() {\n return this.f3125b;\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public int mo615a() {\n return this.f444a;\n }",
"public final Map<Integer, C2168bw> mo33703c() {\n return this.f1705f;\n }",
"public Long getKinkenriyou04() {\r\n return kinkenriyou04;\r\n }",
"public double getKhuyenmai() {\n return khuyenmai;\n }",
"public int m5042a() {\n return this.f3983a;\n }",
"public int mo7808a() {\n return this.f5848f;\n }",
"public int getAlphaInfoValue() {\n return instance.getAlphaInfoValue();\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"public String mo9272b() {\n return this.f1309f;\n }",
"public String mo15799hq() {\n return this.f3884JK;\n }",
"public final int mo67192wE() {\n return this.bJz[0];\n }",
"public int mo8444b() {\n return this.f6812a;\n }",
"public synchronized int mo38105b() {\n return this.f34205s.mo38174b(Integer.MAX_VALUE);\n }",
"public BigDecimal gettBlkr() {\n return tBlkr;\n }",
"public int mo21874p() {\n return this.f24518U;\n }"
] | [
"0.6957809",
"0.67593336",
"0.6658251",
"0.65357184",
"0.63828063",
"0.62645",
"0.6233379",
"0.6209384",
"0.62065846",
"0.6094154",
"0.6060797",
"0.605233",
"0.60495704",
"0.6006521",
"0.6006013",
"0.5997786",
"0.59552145",
"0.5954334",
"0.59404385",
"0.5932461",
"0.5898285",
"0.58856344",
"0.587429",
"0.58607495",
"0.5853183",
"0.58377206",
"0.5821604",
"0.5818045",
"0.580512",
"0.57809275",
"0.5774015",
"0.577267",
"0.5771138",
"0.576464",
"0.5740052",
"0.5705939",
"0.5704674",
"0.57029",
"0.57026464",
"0.5694813",
"0.5691345",
"0.56786007",
"0.5671276",
"0.56707126",
"0.5664016",
"0.56613046",
"0.56573135",
"0.5656159",
"0.56497866",
"0.5645173",
"0.5643078",
"0.5643078",
"0.5643078",
"0.56372243",
"0.56365776",
"0.5626384",
"0.5626384",
"0.5626384",
"0.56215423",
"0.561865",
"0.5609638",
"0.560845",
"0.560495",
"0.5593756",
"0.5590164",
"0.5589765",
"0.5582647",
"0.5571933",
"0.55685264",
"0.5568018",
"0.55677164",
"0.5563715",
"0.55602205",
"0.5555415",
"0.55502254",
"0.5549601",
"0.55487496",
"0.5547333",
"0.55345607",
"0.5530136",
"0.5528851",
"0.5526133",
"0.5520566",
"0.55198777",
"0.5519103",
"0.5517286",
"0.5515255",
"0.55151755",
"0.5503661",
"0.5501897",
"0.54907584",
"0.54904413",
"0.5490307",
"0.5489974",
"0.54849356",
"0.5483579",
"0.5483173",
"0.54788226",
"0.5477687",
"0.5477005"
] | 0.7658623 | 0 |
Sets the BKA247 value for this KA04View. | public void setBKA247(String BKA247) {
this.BKA247 = BKA247;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar247(java.lang.Double value) {\n validate(fields()[248], value);\n this.var247 = value;\n fieldSetFlags()[248] = true;\n return this;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar242(java.lang.CharSequence value) {\n validate(fields()[243], value);\n this.var242 = value;\n fieldSetFlags()[243] = true;\n return this;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar24(java.lang.Integer value) {\n validate(fields()[25], value);\n this.var24 = value;\n fieldSetFlags()[25] = true;\n return this;\n }",
"public Builder setB24(boolean value) {\n bitField0_ |= 0x00800000;\n b24_ = value;\n onChanged();\n return this;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"@Generated(hash = 1549336661)\n public void setNoteBK(NoteBK noteBK) {\n synchronized (this) {\n this.noteBK = noteBK;\n NoteBK_ID = noteBK == null ? null : noteBK.get_ID();\n noteBK__resolvedKey = NoteBK_ID;\n }\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public Builder setField1748Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1748_ = value;\n onChanged();\n return this;\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar87(java.lang.Integer value) {\n validate(fields()[88], value);\n this.var87 = value;\n fieldSetFlags()[88] = true;\n return this;\n }",
"public Builder setB25(boolean value) {\n bitField0_ |= 0x01000000;\n b25_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar243(java.lang.CharSequence value) {\n validate(fields()[244], value);\n this.var243 = value;\n fieldSetFlags()[244] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar258(java.lang.Integer value) {\n validate(fields()[259], value);\n this.var258 = value;\n fieldSetFlags()[259] = true;\n return this;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar188(java.lang.CharSequence value) {\n validate(fields()[189], value);\n this.var188 = value;\n fieldSetFlags()[189] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar278(java.lang.CharSequence value) {\n validate(fields()[279], value);\n this.var278 = value;\n fieldSetFlags()[279] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar244(java.lang.Integer value) {\n validate(fields()[245], value);\n this.var244 = value;\n fieldSetFlags()[245] = true;\n return this;\n }",
"public void setVar247(java.lang.Double value) {\n this.var247 = value;\n }",
"public Builder setB27(boolean value) {\n bitField0_ |= 0x04000000;\n b27_ = value;\n onChanged();\n return this;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"public final void mo27566a(C5482b bVar) {\n this.f17646c = bVar;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar248(java.lang.Float value) {\n validate(fields()[249], value);\n this.var248 = value;\n fieldSetFlags()[249] = true;\n return this;\n }",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public Builder setField1747Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1747_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar108(java.lang.CharSequence value) {\n validate(fields()[109], value);\n this.var108 = value;\n fieldSetFlags()[109] = true;\n return this;\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar81(java.lang.CharSequence value) {\n validate(fields()[82], value);\n this.var81 = value;\n fieldSetFlags()[82] = true;\n return this;\n }",
"public Builder setField1748(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1748_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"public Builder setA(int value) {\n \n a_ = value;\n onChanged();\n return this;\n }",
"private void m6584A() {\n this.f5414ea = C1387D.m6761a();\n if (this.f5414ea) {\n this.f5405Y.setParameters(\"audio_recordaec_enable=1\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_on_selector);\n return;\n }\n this.f5405Y.setParameters(\"audio_recordaec_enable=0\");\n this.f5410ca.setImageResource(R.drawable.btn_aec_off_selector);\n }",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public Builder setField1725Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1725_ = value;\n onChanged();\n return this;\n }",
"private void setAlphaInfoValue(int value) {\n alphaInfo_ = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar249(java.lang.Integer value) {\n validate(fields()[250], value);\n this.var249 = value;\n fieldSetFlags()[250] = true;\n return this;\n }",
"public void setJP_BankName_Kana_Line (String JP_BankName_Kana_Line);",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public Builder setField1708Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1708_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1738Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1738_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar187(java.lang.Integer value) {\n validate(fields()[188], value);\n this.var187 = value;\n fieldSetFlags()[188] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar288(java.lang.CharSequence value) {\n validate(fields()[289], value);\n this.var288 = value;\n fieldSetFlags()[289] = true;\n return this;\n }",
"public Builder setField1248Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1248_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1788Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1788_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1247Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1247_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1524Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1524_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou07(Long kinkenriyou07) {\r\n this.kinkenriyou07 = kinkenriyou07;\r\n }",
"public void setAKA103(String AKA103) {\n this.AKA103 = AKA103;\n }",
"public Builder setField1787Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1787_ = value;\n onChanged();\n return this;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public Builder setField1726Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1726_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar272(java.lang.Boolean value) {\n validate(fields()[273], value);\n this.var272 = value;\n fieldSetFlags()[273] = true;\n return this;\n }",
"public Builder setField1847Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1847_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar88(java.lang.Integer value) {\n validate(fields()[89], value);\n this.var88 = value;\n fieldSetFlags()[89] = true;\n return this;\n }",
"public final void mo4842a(C0510j jVar) {\n this.f2229c = jVar;\n }",
"public Builder setField1742Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1742_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1792Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1792_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar254(java.lang.Boolean value) {\n validate(fields()[255], value);\n this.var254 = value;\n fieldSetFlags()[255] = true;\n return this;\n }",
"public Builder setField1807Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1807_ = value;\n onChanged();\n return this;\n }",
"public void setKhuyenmai(double aKhuyenmai) {\n khuyenmai = aKhuyenmai;\n }",
"public Builder setField1778Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1778_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1784Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1784_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1707Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1707_ = value;\n onChanged();\n return this;\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar47(java.lang.Boolean value) {\n validate(fields()[48], value);\n this.var47 = value;\n fieldSetFlags()[48] = true;\n return this;\n }",
"public Builder setField1744Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1744_ = value;\n onChanged();\n return this;\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar268(java.lang.Integer value) {\n validate(fields()[269], value);\n this.var268 = value;\n fieldSetFlags()[269] = true;\n return this;\n }",
"public Builder setField1624(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1624_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1706Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1706_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou17(Long kinkenriyou17) {\r\n this.kinkenriyou17 = kinkenriyou17;\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar245(java.lang.Boolean value) {\n validate(fields()[246], value);\n this.var245 = value;\n fieldSetFlags()[246] = true;\n return this;\n }",
"public Builder setField1776Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1776_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar25(java.lang.Integer value) {\n validate(fields()[26], value);\n this.var25 = value;\n fieldSetFlags()[26] = true;\n return this;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public Builder setField1147Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1147_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1727Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1727_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1749Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1749_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1754Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1754_ = value;\n onChanged();\n return this;\n }"
] | [
"0.66904974",
"0.65194476",
"0.63765347",
"0.6351827",
"0.5851577",
"0.58321315",
"0.5823567",
"0.579486",
"0.57943463",
"0.57716364",
"0.57301885",
"0.5717952",
"0.5646653",
"0.5632166",
"0.561589",
"0.56111264",
"0.5597083",
"0.5550969",
"0.5550969",
"0.5539267",
"0.5527072",
"0.5475476",
"0.5462006",
"0.5460072",
"0.5456323",
"0.54295915",
"0.54228336",
"0.5418897",
"0.53984255",
"0.5361048",
"0.53408253",
"0.53201735",
"0.5299604",
"0.52979255",
"0.5295775",
"0.52947277",
"0.52893424",
"0.52882886",
"0.52754223",
"0.5260655",
"0.5254877",
"0.5253068",
"0.5246938",
"0.522683",
"0.52242285",
"0.520671",
"0.5206589",
"0.5201441",
"0.5191887",
"0.51914406",
"0.51910627",
"0.51910627",
"0.5186993",
"0.5182264",
"0.51764774",
"0.5164759",
"0.5164381",
"0.5159724",
"0.5156194",
"0.5150023",
"0.5147859",
"0.51467365",
"0.5132821",
"0.5126608",
"0.51244295",
"0.5119981",
"0.51191926",
"0.5117928",
"0.51154864",
"0.5111543",
"0.51025796",
"0.50999576",
"0.5098966",
"0.5098223",
"0.5097227",
"0.5092047",
"0.5073765",
"0.50720716",
"0.50718445",
"0.5066233",
"0.5066132",
"0.50656193",
"0.50568753",
"0.505687",
"0.5053357",
"0.5050553",
"0.50483274",
"0.50445765",
"0.50424755",
"0.50396895",
"0.50380766",
"0.50375766",
"0.5037391",
"0.50371224",
"0.50357467",
"0.50241476",
"0.5022951",
"0.5020571",
"0.5020278",
"0.5015095"
] | 0.76602685 | 0 |
Gets the BKA260 value for this KA04View. | public String getBKA260() {
return BKA260;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"public String mo81400k() {\n return this.f58081m;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public int m2710k() {\n return ((Integer) this.f2439a.m2666a(ea.aW)).intValue();\n }",
"public C0088i mo285c() {\n return this.f268f;\n }",
"public java.lang.CharSequence getVar260() {\n return var260;\n }",
"public long mo23260B() {\n return ((Long) this.f13965a.mo23249a(C7196pb.f13678Cd)).longValue();\n }",
"public int mo25060a() {\n return this.f14804f;\n }",
"public java.lang.CharSequence getVar260() {\n return var260;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public final int mo71885j() {\n Pair pair = this.f152266k;\n if (pair != null) {\n return ((bmhs) pair.second).f129484c;\n }\n return 16;\n }",
"public double mo21089b() {\n return this.f10538y;\n }",
"private final int m136460b() {\n return DisplayUtils.m87171b(getContext(), mo118763m() ? 20.0f : 12.0f);\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public C40994w getValue() {\n return videoRecordNewActivity.f107324j;\n }",
"public final amg mo10649a() {\n return this.zzffb == null ? amg.m2741c() : this.zzffb;\n }",
"public int mo23280V() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13764V)).intValue();\n }",
"public int mo284b() {\n return this.f267e;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public int mo7810c() {\n return this.f5850h;\n }",
"public C0065c mo283a() {\n return this.f266d;\n }",
"public String m3147h() {\n return this.f2416j;\n }",
"public final String mo7103b() {\n return this.f4980h;\n }",
"public int m2676C() {\n return ((Integer) this.f2439a.m2666a(ea.cb)).intValue();\n }",
"public String mo15799hq() {\n return this.f3884JK;\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public final int mo34009k() {\n return this.f7226f;\n }",
"public long mo41164a() {\n return this.f25421c.get();\n }",
"public int m2692S() {\n return ((Integer) this.f2439a.m2666a(ea.cK)).intValue();\n }",
"public int mo8857b() {\n return this.f8070a;\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public int mo31044b() {\n return this.f21114b;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public final Map<Integer, C2168bw> mo33703c() {\n return this.f1705f;\n }",
"public long mo25074b() {\n return this.f16634b.mo25171h();\n }",
"public final int mo114176a() {\n return this.f118838f * 1000;\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public CharSequence mo27004d() {\n return this.f24571k;\n }",
"public final int mo5380m() {\n RecyclerView recyclerView = this.f9709b;\n C0261jp jpVar = recyclerView != null ? recyclerView.f1067g : null;\n if (jpVar == null) {\n return 0;\n }\n return jpVar.mo2794a();\n }",
"public String mo9260i() {\n return this.f1300c;\n }",
"public int mo1533b() {\n return this.f15725b;\n }",
"public int mo38499c() {\n return this.f27232a;\n }",
"public String mo35055c() {\n return this.f30704i;\n }",
"public String mo13870a() {\n return this.f5076b;\n }",
"public int mo12196h() {\n return this.f10961p.f11005m;\n }",
"public C8438u mo25060e() {\n return this.f16581A;\n }",
"public final zzazo m29261b() {\n return this.zzdps == null ? zzazo.m29263c() : this.zzdps;\n }",
"public int m12824k() {\n return this.f10120g;\n }",
"public char mo853d() {\n return this.f619n.mo826p() ? this.f615j : this.f613h;\n }",
"public final String mo76423a() {\n return (String) f52018c.getValue(this, f52016a[0]);\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public C4124b mo650a() {\n return this.f602B;\n }",
"public C0100n mo249a() {\n return this.f282e;\n }",
"public BaseKeyframeAnimation<?, Float> mo10481b() {\n return this.f5014g;\n }",
"public int mo5157b() {\n return this.f3125b;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public long m2684K() {\n return ((Long) this.f2439a.m2666a(ea.cu)).longValue();\n }",
"public String mo10149a() {\n return this.f8346a;\n }",
"public C1115i mo9338a() {\n return C1115i.f2688J;\n }",
"public final String mo4926b() {\n return this.f2366b;\n }",
"public String getAKA101() {\n return AKA101;\n }",
"public int m2695V() {\n return ((Integer) this.f2439a.m2666a(ea.cN)).intValue();\n }",
"public C3750h mo23053b() {\n return this.f12740b;\n }",
"public BaseKeyframeAnimation<?, Float> mo10482c() {\n return this.f5015h;\n }",
"public final Integer mo58724c() {\n return this.f107195a;\n }",
"public final String mo132051b() {\n MtopConfig aVar = this.f111984a;\n return aVar != null ? aVar.f112137h : \"\";\n }",
"public String mo9272b() {\n return this.f1309f;\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public int m1255b() {\n return this.f778c;\n }",
"public String mo13874b() {\n return this.f5086l;\n }",
"public String m50407k() {\n String w = m50429w();\n if (!TextUtils.isEmpty(w)) {\n TextView textView = this.f30731b0;\n CardEditText cardEditText = this.f30729a0;\n m50376a(textView, cardEditText, cardEditText, w);\n }\n return w;\n }",
"public int getKapitelValue() {\n\t\tint absvalue = 0;\n\t\tMatcher m = kapitelPattern.matcher(getId());\n\t\tif (m.find()) {\n\t\t\ttry {\n\t\t\t\t int whole = Integer.parseInt(m.group(1));\n\t\t\t\t int radix = Integer.parseInt(m.group(2));\n\t\t\t\t absvalue = whole * 1000 + radix;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tLogger.getLogger(this.getClass())\n\t\t\t\t\t.error(\"Kapitelnummer der Gefaehrdung ist kein Float.\", e);\n\t\t\t}\n\t\t}\n\t\treturn absvalue;\n\t\n\t}",
"public synchronized int mo38105b() {\n return this.f34205s.mo38174b(Integer.MAX_VALUE);\n }",
"public int mo25062b() {\n return this.f14803e;\n }",
"public double getKControl(int index) {\n return this.kControl[index];\n }",
"public int getkValue() {\n return kValue;\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public Integer mo13270A() {\n DmcVideoMeta dmcVideoMeta = this.f9144g0;\n if (dmcVideoMeta != null) {\n UserMediaMeta X = dmcVideoMeta.mo13065X();\n if (X != null) {\n return X.mo13224A();\n }\n }\n return null;\n }",
"public A mo9868b() {\n return this.f2527b;\n }",
"public java.lang.Integer getVar240() {\n return var240;\n }",
"public int mo7198i() {\n return C2029r.m7986a(this.f4623d);\n }"
] | [
"0.65904707",
"0.65651226",
"0.64903677",
"0.64019793",
"0.63251454",
"0.6309227",
"0.6295144",
"0.6283147",
"0.62595874",
"0.62584114",
"0.6174256",
"0.6159299",
"0.6158626",
"0.61270326",
"0.6119233",
"0.6104617",
"0.6083329",
"0.60787797",
"0.60764",
"0.6044108",
"0.60318846",
"0.60318106",
"0.60071826",
"0.6002949",
"0.59728837",
"0.59355557",
"0.59334224",
"0.5933104",
"0.592816",
"0.59250295",
"0.59250164",
"0.59034187",
"0.589016",
"0.58899695",
"0.5881876",
"0.5869113",
"0.58580077",
"0.5844044",
"0.5840828",
"0.58254486",
"0.58176076",
"0.5816855",
"0.57990694",
"0.57955337",
"0.5792355",
"0.5787495",
"0.57846665",
"0.5779783",
"0.57732606",
"0.5770151",
"0.575358",
"0.5753555",
"0.5751244",
"0.5749258",
"0.5745617",
"0.57442045",
"0.5735928",
"0.5734939",
"0.5726857",
"0.57163095",
"0.5716053",
"0.57155997",
"0.5715427",
"0.5715209",
"0.5712105",
"0.5711773",
"0.56972337",
"0.5692345",
"0.56912905",
"0.5689418",
"0.5687532",
"0.56865716",
"0.5683022",
"0.5678969",
"0.56772274",
"0.5665682",
"0.5664015",
"0.56618845",
"0.5658418",
"0.5648286",
"0.5647346",
"0.56460786",
"0.5642309",
"0.5642131",
"0.56384563",
"0.5638063",
"0.56325537",
"0.5630097",
"0.56271523",
"0.56242585",
"0.5623735",
"0.56195563",
"0.5619289",
"0.5613735",
"0.5613194",
"0.56074697",
"0.56023115",
"0.5602289",
"0.5601544",
"0.559899"
] | 0.76475143 | 0 |
Sets the BKA260 value for this KA04View. | public void setBKA260(String BKA260) {
this.BKA260 = BKA260;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKA260() {\n return BKA260;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar260(java.lang.CharSequence value) {\n validate(fields()[261], value);\n this.var260 = value;\n fieldSetFlags()[261] = true;\n return this;\n }",
"public void setVar260(java.lang.CharSequence value) {\n this.var260 = value;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar170(java.lang.CharSequence value) {\n validate(fields()[171], value);\n this.var170 = value;\n fieldSetFlags()[171] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar269(java.lang.CharSequence value) {\n validate(fields()[270], value);\n this.var269 = value;\n fieldSetFlags()[270] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar258(java.lang.Integer value) {\n validate(fields()[259], value);\n this.var258 = value;\n fieldSetFlags()[259] = true;\n return this;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar259(java.lang.Integer value) {\n validate(fields()[260], value);\n this.var259 = value;\n fieldSetFlags()[260] = true;\n return this;\n }",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public Builder setField1050Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1050_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou09(Long kinkenriyou09) {\r\n this.kinkenriyou09 = kinkenriyou09;\r\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }",
"@Override\n public void setAtk(int atk) {\n this.atk = atk;\n }",
"public void setKinkenriyou16(Long kinkenriyou16) {\r\n this.kinkenriyou16 = kinkenriyou16;\r\n }",
"public Builder setField1660Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1660_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar280(java.lang.Integer value) {\n validate(fields()[281], value);\n this.var280 = value;\n fieldSetFlags()[281] = true;\n return this;\n }",
"public Builder setField1600Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1600_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar268(java.lang.Integer value) {\n validate(fields()[269], value);\n this.var268 = value;\n fieldSetFlags()[269] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar26(java.lang.CharSequence value) {\n validate(fields()[27], value);\n this.var26 = value;\n fieldSetFlags()[27] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar240(java.lang.Integer value) {\n validate(fields()[241], value);\n this.var240 = value;\n fieldSetFlags()[241] = true;\n return this;\n }",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public kb m10920a() {\n this.f7512d /= 2;\n this.f7513e--;\n kb kbVar = new kb(this.f7521m, this.f7509a, this.f7510b, this.f7511c + this.f7512d, this.f7512d, this.f7513e);\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n if (this.f7517i != null) {\n this.f7517i.f7516h = kbVar;\n }\n kbVar.f7517i = this.f7517i;\n this.f7517i = kbVar;\n kbVar.f7516h = this;\n return kbVar;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar180(java.lang.CharSequence value) {\n validate(fields()[181], value);\n this.var180 = value;\n fieldSetFlags()[181] = true;\n return this;\n }",
"public Builder setOneof2609(int value) {\n hugeOneofCase_ = 2609;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar219(java.lang.Double value) {\n validate(fields()[220], value);\n this.var219 = value;\n fieldSetFlags()[220] = true;\n return this;\n }",
"public void setVar170(java.lang.CharSequence value) {\n this.var170 = value;\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar250(java.lang.Integer value) {\n validate(fields()[251], value);\n this.var250 = value;\n fieldSetFlags()[251] = true;\n return this;\n }",
"public Builder setField1660(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1660_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder clearVar260() {\n var260 = null;\n fieldSetFlags()[261] = false;\n return this;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar80(java.lang.CharSequence value) {\n validate(fields()[81], value);\n this.var80 = value;\n fieldSetFlags()[81] = true;\n return this;\n }",
"public void setVar269(java.lang.CharSequence value) {\n this.var269 = value;\n }",
"public void setKinkenriyou17(Long kinkenriyou17) {\r\n this.kinkenriyou17 = kinkenriyou17;\r\n }",
"public void setKinkenriyou15(Long kinkenriyou15) {\r\n this.kinkenriyou15 = kinkenriyou15;\r\n }",
"public Builder setField1626Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1626_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1690Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1690_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1100Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1100_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1760Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1760_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar90(java.lang.CharSequence value) {\n validate(fields()[91], value);\n this.var90 = value;\n fieldSetFlags()[91] = true;\n return this;\n }",
"public void setKinkenriyou07(Long kinkenriyou07) {\r\n this.kinkenriyou07 = kinkenriyou07;\r\n }",
"public void mo9258g() {\n this.f1301l = EncodingUtils.m1912b(this.f1301l, 0);\n }",
"public Builder setField1400Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1400_ = value;\n onChanged();\n return this;\n }",
"public void setKControl(double[] kControl) {\n this.kControl = kControl;\n }",
"public void setKiloWatts(int kiloWatts){\n\tthis.kiloWatts=kiloWatts;\n}",
"public void mo1280a() {\n this.f9468a.m3526a(this);\n }",
"public void setKControl(int index, double newKControl) {\n this.kControl[index] = newKControl;\n }",
"public static void set100(){\n driver.findElement(By.tagName(\"html\")).sendKeys(Keys.chord(Keys.CONTROL, \"0\"));\n }",
"public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar210(java.lang.Double value) {\n validate(fields()[211], value);\n this.var210 = value;\n fieldSetFlags()[211] = true;\n return this;\n }",
"void setCap(int cap);",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar263(java.lang.Boolean value) {\n validate(fields()[264], value);\n this.var263 = value;\n fieldSetFlags()[264] = true;\n return this;\n }",
"public void setKcp94V05NoOfTiers1( short value )\n {\n this.kcp94V05NoOfTiers1 = value;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public Builder setField1440Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1440_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar91(java.lang.Integer value) {\n validate(fields()[92], value);\n this.var91 = value;\n fieldSetFlags()[92] = true;\n return this;\n }",
"public Builder setField1659Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1659_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar288(java.lang.CharSequence value) {\n validate(fields()[289], value);\n this.var288 = value;\n fieldSetFlags()[289] = true;\n return this;\n }",
"public void mo75192a() {\n AppMethodBeat.m2504i(65565);\n this.f17955a.setLength(0);\n this.f17956b.setText(\"\");\n this.f17957c.setText(\"\");\n AppMethodBeat.m2505o(65565);\n }",
"public Builder setField1695Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1695_ = value;\n onChanged();\n return this;\n }",
"void setCHVNumber(int number)\r\n {\r\n number_of_CHV = number;\r\n }",
"public Builder setField1650Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1650_ = value;\n onChanged();\n return this;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar188(java.lang.CharSequence value) {\n validate(fields()[189], value);\n this.var188 = value;\n fieldSetFlags()[189] = true;\n return this;\n }",
"public void mo14476c() {\n super.mo14476c();\n this.f10138c = 0.0f;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar290(java.lang.Boolean value) {\n validate(fields()[291], value);\n this.var290 = value;\n fieldSetFlags()[291] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar96(java.lang.Integer value) {\n validate(fields()[97], value);\n this.var96 = value;\n fieldSetFlags()[97] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar261(java.lang.CharSequence value) {\n validate(fields()[262], value);\n this.var261 = value;\n fieldSetFlags()[262] = true;\n return this;\n }",
"public Builder setField1680(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1680_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof2608(int value) {\n hugeOneofCase_ = 2608;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar88(java.lang.Integer value) {\n validate(fields()[89], value);\n this.var88 = value;\n fieldSetFlags()[89] = true;\n return this;\n }",
"public void setVar240(java.lang.Integer value) {\n this.var240 = value;\n }",
"public void mo25064i() {\n if (this.f16593M == 1) {\n this.f16593M = 2;\n }\n }",
"public void mo1951a(ct ctVar) throws cf {\r\n if (ctVar.f6485b == (byte) 2) {\r\n this.f6480o = ctVar;\r\n } else {\r\n m10261a(ctVar, (byte) -1);\r\n }\r\n }",
"public Builder setB27(boolean value) {\n bitField0_ |= 0x04000000;\n b27_ = value;\n onChanged();\n return this;\n }",
"public final void mo92079K() {\n if (this.f94799au != null) {\n this.f94531Q = C21115b.m71197a().getCurUser();\n m116777o(this.f94531Q);\n mo92055i(this.f94531Q);\n if (C21115b.m71197a().shouldRefresh() || this.f94802ax) {\n m116773T();\n }\n this.f94802ax = false;\n }\n }",
"public void mo13884e(int i) {\n this.f5085k = i;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar160(java.lang.Integer value) {\n validate(fields()[161], value);\n this.var160 = value;\n fieldSetFlags()[161] = true;\n return this;\n }",
"public Builder clearB26() {\n bitField0_ = (bitField0_ & ~0x02000000);\n b26_ = false;\n onChanged();\n return this;\n }",
"public final void mo25950n() {\n this.f29075b = true;\n }",
"public Builder setField1692Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1692_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou26(Long kinkenriyou26) {\r\n this.kinkenriyou26 = kinkenriyou26;\r\n }",
"public void setKinkenriyou25(Long kinkenriyou25) {\r\n this.kinkenriyou25 = kinkenriyou25;\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar216(java.lang.CharSequence value) {\n validate(fields()[217], value);\n this.var216 = value;\n fieldSetFlags()[217] = true;\n return this;\n }",
"public void mo21797V() {\n this.f24532d.mo21926U();\n }"
] | [
"0.6725264",
"0.66527164",
"0.6341792",
"0.60255563",
"0.60252786",
"0.5931546",
"0.5760259",
"0.5758621",
"0.57446504",
"0.5717504",
"0.5658316",
"0.5636923",
"0.5597446",
"0.551249",
"0.54479235",
"0.54356736",
"0.5412402",
"0.5394816",
"0.53826034",
"0.5359834",
"0.53318006",
"0.5290637",
"0.5288039",
"0.5281274",
"0.5278823",
"0.5267716",
"0.5260691",
"0.5237735",
"0.52236545",
"0.51949066",
"0.51922876",
"0.5187067",
"0.5183055",
"0.51758593",
"0.5149968",
"0.51476157",
"0.514027",
"0.5127523",
"0.51268226",
"0.5124711",
"0.5123558",
"0.51200956",
"0.5106546",
"0.5101336",
"0.50943416",
"0.5081107",
"0.507919",
"0.50693345",
"0.50678444",
"0.50626445",
"0.50548214",
"0.50536835",
"0.50533736",
"0.50474006",
"0.504357",
"0.50411445",
"0.5040908",
"0.5036228",
"0.50302523",
"0.50278974",
"0.50215137",
"0.50203747",
"0.5014352",
"0.5013829",
"0.5010458",
"0.5007903",
"0.500272",
"0.49918953",
"0.49898964",
"0.49875325",
"0.49850664",
"0.49779335",
"0.49775228",
"0.49759912",
"0.49752945",
"0.4972862",
"0.49722382",
"0.49708733",
"0.4965979",
"0.4964573",
"0.49595204",
"0.4958124",
"0.49551865",
"0.49506712",
"0.49506462",
"0.49491388",
"0.49488497",
"0.4948123",
"0.4939253",
"0.49389514",
"0.49277514",
"0.49233973",
"0.4922614",
"0.49185213",
"0.49175847",
"0.49149042",
"0.49140847",
"0.4905394",
"0.49048236",
"0.49045518"
] | 0.80475014 | 0 |
Gets the BKC097 value for this KA04View. | public String getBKC097() {
return BKC097;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKC098() {\n return BKC098;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public ByteBuffer mo12193e() {\n return this.f10948c;\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public C1697ap mo7098g() {\n return C1698a.f5333a;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public String m5043b() {\n return this.f3984b;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public final int mo1309b() {\n m2025d();\n return this.f2309d;\n }",
"public String getWhbz() {\n return whbz;\n }",
"public final String mo7103b() {\n return this.f4980h;\n }",
"public String bkD() {\n return CommonUtils.g(CommonUtils.cz(this.nP.getContext()));\n }",
"public double getKControl(int index) {\n return this.kControl[index];\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public String getAKA102() {\n return AKA102;\n }",
"public BigDecimal getACC_BR() {\r\n return ACC_BR;\r\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public final Map<Integer, C2168bw> mo33703c() {\n return this.f1705f;\n }",
"public String getDatakbn() {\r\n return datakbn;\r\n }",
"public String getAKA065() {\n return AKA065;\n }",
"public int getkValue() {\n return kValue;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public String getAKA063() {\n return AKA063;\n }",
"public final ByteBuffer mo28134c() {\n return this.f18502d;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public String getWhbzmc() {\n return whbzmc;\n }",
"public final int mo67192wE() {\n return this.bJz[0];\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public java.lang.String getC660000025()\n {\n return this.c660000025;\n }",
"public boolean getB26() {\n return b26_;\n }",
"public boolean getB26() {\n return b26_;\n }",
"public String getNGAYCAP_CCHN()\n {\n return this.NGAYCAP_CCHN;\n }",
"public int m2676C() {\n return ((Integer) this.f2439a.m2666a(ea.cb)).intValue();\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public String m50407k() {\n String w = m50429w();\n if (!TextUtils.isEmpty(w)) {\n TextView textView = this.f30731b0;\n CardEditText cardEditText = this.f30729a0;\n m50376a(textView, cardEditText, cardEditText, w);\n }\n return w;\n }",
"public String getMA_KHOA()\n {\n return this.MA_KHOA;\n }",
"public java.lang.String getC660000024()\n {\n return this.c660000024;\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public int mo23298ga() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13914zb)).intValue();\n }",
"private final int m136460b() {\n return DisplayUtils.m87171b(getContext(), mo118763m() ? 20.0f : 12.0f);\n }",
"public ByteBuffer mo38276a() {\n return this.f27042e;\n }",
"public short getKcp94V05NoOfTiers1()\n {\n return kcp94V05NoOfTiers1;\n }",
"public double mo21089b() {\n return this.f10538y;\n }",
"public String getKhShb() {\n return khShb;\n }",
"public C0018g mo129c() {\n return this.f52w;\n }",
"public int mo25062b() {\n return this.f14803e;\n }",
"public String getCapCode() {\n return capCode;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public BigDecimal gettBlkr() {\n return tBlkr;\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public String getBzdw() {\n return bzdw;\n }",
"public String getCap() {\n return cap;\n }",
"public String mo15799hq() {\n return this.f3884JK;\n }",
"public String mo9272b() {\n return this.f1309f;\n }",
"public final zzbgz mo39472k() {\n return this.f40721c;\n }",
"public String getCHEQUE_BANK() {\r\n return CHEQUE_BANK;\r\n }",
"public String m2697X() {\n return (String) this.f2439a.m2666a(ea.dw);\n }",
"public BigDecimal getACC_CY() {\r\n return ACC_CY;\r\n }",
"public final int m35973b() {\n return this.f29941b;\n }",
"public int mo23308la() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13716Kb)).intValue();\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public C1614a m9004b() {\n for (Entry value : this.f7524c.entrySet()) {\n C1614a c1614a = (C1614a) value.getValue();\n if (c1614a.m8737c() == 4) {\n return c1614a;\n }\n }\n return null;\n }",
"public double getBCM(){\r\n\t\treturn bcm;\r\n\t}",
"public final String mo4926b() {\n return this.f2366b;\n }",
"public String mo9498c() {\n return UMCCDBUtils.m2039a(this.f1514c);\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public java.lang.CharSequence getVar152() {\n return var152;\n }",
"public String mo38497b() {\n return this.f27234c;\n }",
"public Integer getSsbkbm() {\n return ssbkbm;\n }",
"public int getB() {\n return b_;\n }",
"public int getB() {\n return b_;\n }"
] | [
"0.7268773",
"0.7110033",
"0.68242234",
"0.6739965",
"0.63997835",
"0.6356003",
"0.6301968",
"0.6297799",
"0.6066769",
"0.59871227",
"0.57909745",
"0.5715965",
"0.56394494",
"0.558281",
"0.5561835",
"0.55609834",
"0.5557796",
"0.5554873",
"0.5550414",
"0.5545404",
"0.55319935",
"0.55305356",
"0.5525734",
"0.552353",
"0.5515057",
"0.5510021",
"0.5508957",
"0.5508845",
"0.5504412",
"0.55006874",
"0.548015",
"0.5477804",
"0.54755104",
"0.54516655",
"0.54513615",
"0.5450767",
"0.5445114",
"0.5432092",
"0.5431776",
"0.54248214",
"0.5407073",
"0.5402491",
"0.53980744",
"0.5388577",
"0.53641397",
"0.5356311",
"0.535387",
"0.5353093",
"0.5353059",
"0.5352004",
"0.5346095",
"0.5336348",
"0.5334373",
"0.5327822",
"0.53242445",
"0.5317165",
"0.5315298",
"0.5314111",
"0.5309271",
"0.5307663",
"0.53016657",
"0.5296114",
"0.52953595",
"0.52871436",
"0.52850693",
"0.52832705",
"0.5280732",
"0.5280475",
"0.52697",
"0.526699",
"0.5260958",
"0.5259978",
"0.52578104",
"0.5249218",
"0.5248744",
"0.5245572",
"0.5245165",
"0.52441996",
"0.5242786",
"0.5234625",
"0.5234094",
"0.52327925",
"0.5231536",
"0.5231536",
"0.5231536",
"0.5231536",
"0.5231536",
"0.5231536",
"0.5231536",
"0.5231536",
"0.52274764",
"0.5225588",
"0.52188396",
"0.52165776",
"0.5216535",
"0.52163714",
"0.521489",
"0.5213877",
"0.5213676",
"0.5213676"
] | 0.7369063 | 0 |
Sets the BKC097 value for this KA04View. | public void setBKC097(String BKC097) {
this.BKC097 = BKC097;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public Builder setField1609Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1609_ = value;\n onChanged();\n return this;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setVar198(java.lang.CharSequence value) {\n this.var198 = value;\n }",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public void setKinkenriyou09(Long kinkenriyou09) {\r\n this.kinkenriyou09 = kinkenriyou09;\r\n }",
"public Builder setField1209Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1209_ = value;\n onChanged();\n return this;\n }",
"public void setCHUNGCHI_KHAC( String CHUNGCHI_KHAC )\n {\n this.CHUNGCHI_KHAC = CHUNGCHI_KHAC;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public void setVar152(java.lang.CharSequence value) {\n this.var152 = value;\n }",
"public void SetB(byte num) {\r\n\t\tm_numB = num;\r\n\t}",
"public String getBKA246() {\n return BKA246;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar258(java.lang.Integer value) {\n validate(fields()[259], value);\n this.var258 = value;\n fieldSetFlags()[259] = true;\n return this;\n }",
"public Builder setField1609(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1609_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar188(java.lang.CharSequence value) {\n validate(fields()[189], value);\n this.var188 = value;\n fieldSetFlags()[189] = true;\n return this;\n }",
"public final void mo6073a(C0937c c0937c) {\n this.f2339b = c0937c;\n }",
"public void setACC_CY(BigDecimal ACC_CY) {\r\n this.ACC_CY = ACC_CY;\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar97(java.lang.Integer value) {\n validate(fields()[98], value);\n this.var97 = value;\n fieldSetFlags()[98] = true;\n return this;\n }",
"public Builder setField1709Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1709_ = value;\n onChanged();\n return this;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar126(java.lang.CharSequence value) {\n validate(fields()[127], value);\n this.var126 = value;\n fieldSetFlags()[127] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar26(java.lang.CharSequence value) {\n validate(fields()[27], value);\n this.var26 = value;\n fieldSetFlags()[27] = true;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar189(java.lang.CharSequence value) {\n validate(fields()[190], value);\n this.var189 = value;\n fieldSetFlags()[190] = true;\n return this;\n }",
"public Builder setField1698Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1698_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1298Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1298_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar198(java.lang.CharSequence value) {\n validate(fields()[199], value);\n this.var198 = value;\n fieldSetFlags()[199] = true;\n return this;\n }",
"public Builder setOneof1609(int value) {\n hugeOneofCase_ = 1609;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar87(java.lang.Integer value) {\n validate(fields()[88], value);\n this.var87 = value;\n fieldSetFlags()[88] = true;\n return this;\n }",
"public Builder setField1297Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1297_ = value;\n onChanged();\n return this;\n }",
"public void setVar189(java.lang.CharSequence value) {\n this.var189 = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar117(java.lang.CharSequence value) {\n validate(fields()[118], value);\n this.var117 = value;\n fieldSetFlags()[118] = true;\n return this;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setMaKH(int maKH) {\n this.maKH = maKH;\n }",
"@Override\n public void btPutChar(int value) {\n }",
"public void setAKA102(String AKA102) {\n this.AKA102 = AKA102;\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public Builder setField1197Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1197_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1016Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1016_ = value;\n onChanged();\n return this;\n }",
"public void setKcp94V05NoOfTiers1( short value )\n {\n this.kcp94V05NoOfTiers1 = value;\n }",
"public Builder setField1798Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1798_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar107(java.lang.CharSequence value) {\n validate(fields()[108], value);\n this.var107 = value;\n fieldSetFlags()[108] = true;\n return this;\n }",
"public void mo9258g() {\n this.f1301l = EncodingUtils.m1912b(this.f1301l, 0);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar108(java.lang.CharSequence value) {\n validate(fields()[109], value);\n this.var108 = value;\n fieldSetFlags()[109] = true;\n return this;\n }",
"public void setCap(String aCap) {\n cap = aCap;\n }",
"public void setVar117(java.lang.CharSequence value) {\n this.var117 = value;\n }",
"public Builder setField1295Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1295_ = value;\n onChanged();\n return this;\n }",
"public void setAKA063(String AKA063) {\n this.AKA063 = AKA063;\n }",
"public void setCriteria(Byte value) {\n set(12, value);\n }",
"public void setKControl(double[] kControl) {\n this.kControl = kControl;\n }",
"public void setKiloWatts(int kiloWatts){\n\tthis.kiloWatts=kiloWatts;\n}",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"void setCap(int cap);",
"public Builder setField1198Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1198_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1152Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1152_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar92(java.lang.Boolean value) {\n validate(fields()[93], value);\n this.var92 = value;\n fieldSetFlags()[93] = true;\n return this;\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public void setACC_BR(BigDecimal ACC_BR) {\r\n this.ACC_BR = ACC_BR;\r\n }",
"public void setVar191(java.lang.Boolean value) {\n this.var191 = value;\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"public void setVar108(java.lang.CharSequence value) {\n this.var108 = value;\n }",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public boolean getB26() {\n return b26_;\n }",
"public void setAKA065(String AKA065) {\n this.AKA065 = AKA065;\n }",
"public final void setWindk(java.math.BigDecimal windk)\n\t{\n\t\tsetWindk(getContext(), windk);\n\t}",
"public Builder setField1409Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1409_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1276Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1276_ = value;\n onChanged();\n return this;\n }",
"public kb m10922b(kb kbVar) {\n if (this.f7517i != kbVar) {\n return kbVar.m10922b(this);\n }\n this.f7512d *= 2;\n this.f7513e++;\n this.f7515g.restore();\n this.f7515g.save();\n this.f7514f.left = 0;\n this.f7514f.top = this.f7511c;\n this.f7514f.right = this.f7521m.f7499c;\n this.f7514f.bottom = this.f7511c + this.f7512d;\n this.f7515g.clipRect(this.f7514f);\n this.f7517i = kbVar.f7517i;\n if (kbVar.f7517i == null) {\n return this;\n }\n kbVar.f7517i.f7516h = this;\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar98(java.lang.CharSequence value) {\n validate(fields()[99], value);\n this.var98 = value;\n fieldSetFlags()[99] = true;\n return this;\n }",
"public void setCriarBAK(boolean pCriarBAK) throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_SetCriarBAK(getHandle(), pCriarBAK);\n checkResult(ret);\n }",
"public void setVar188(java.lang.CharSequence value) {\n this.var188 = value;\n }",
"public boolean getB26() {\n return b26_;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public void setDatakbn(String datakbn) {\r\n this.datakbn = datakbn;\r\n }",
"public void setVar98(java.lang.CharSequence value) {\n this.var98 = value;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar96(java.lang.Integer value) {\n validate(fields()[97], value);\n this.var96 = value;\n fieldSetFlags()[97] = true;\n return this;\n }",
"public Builder setField1076Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1076_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1226Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1226_ = value;\n onChanged();\n return this;\n }",
"public void setKControl(int index, double newKControl) {\n this.kControl[index] = newKControl;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar191(java.lang.Boolean value) {\n validate(fields()[192], value);\n this.var191 = value;\n fieldSetFlags()[192] = true;\n return this;\n }",
"public Builder setField1697Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1697_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1309Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1309_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1176Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1176_ = value;\n onChanged();\n return this;\n }",
"public void setAKA101(String AKA101) {\n this.AKA101 = AKA101;\n }"
] | [
"0.7209112",
"0.6950828",
"0.6757021",
"0.62836784",
"0.61563456",
"0.59816533",
"0.58754677",
"0.5830131",
"0.5736626",
"0.55906314",
"0.5428255",
"0.538125",
"0.5339936",
"0.5273612",
"0.5199555",
"0.5092601",
"0.5089649",
"0.50819975",
"0.5043769",
"0.4999384",
"0.49941805",
"0.49791953",
"0.49757525",
"0.4966705",
"0.4966705",
"0.49645978",
"0.49639535",
"0.49543956",
"0.4950563",
"0.49425924",
"0.4942075",
"0.49388808",
"0.4936165",
"0.49253908",
"0.4916992",
"0.49169314",
"0.49019563",
"0.490018",
"0.4892965",
"0.48883286",
"0.48851162",
"0.48793122",
"0.48774952",
"0.48766512",
"0.4860101",
"0.48594433",
"0.48529384",
"0.48512986",
"0.48451242",
"0.48396033",
"0.48082012",
"0.4805351",
"0.48036006",
"0.47980532",
"0.47971022",
"0.47964776",
"0.4767619",
"0.4765778",
"0.4765341",
"0.47636434",
"0.47628132",
"0.47612",
"0.4756281",
"0.47553486",
"0.47523153",
"0.47515407",
"0.4750282",
"0.47451976",
"0.47411734",
"0.47391596",
"0.47345555",
"0.47330537",
"0.47298533",
"0.47294956",
"0.47265935",
"0.47248927",
"0.47237065",
"0.471825",
"0.47161636",
"0.47147048",
"0.47053212",
"0.47046512",
"0.47043064",
"0.47025007",
"0.46966252",
"0.46949285",
"0.46934858",
"0.4693282",
"0.46813634",
"0.46809778",
"0.46805862",
"0.46781546",
"0.4676292",
"0.46740338",
"0.46737295",
"0.4672025",
"0.46663156",
"0.46659738",
"0.46626964",
"0.4659992"
] | 0.793933 | 0 |
Gets the BKC098 value for this KA04View. | public String getBKC098() {
return BKC098;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getBKC099() {\n return BKC099;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public String bkD() {\n return CommonUtils.g(CommonUtils.cz(this.nP.getContext()));\n }",
"public String getNGAYCAP_CCHN()\n {\n return this.NGAYCAP_CCHN;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public C1697ap mo7098g() {\n return C1698a.f5333a;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public BigDecimal getACC_BR() {\r\n return ACC_BR;\r\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"public BigDecimal getACC_CY() {\r\n return ACC_CY;\r\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public java.lang.String getC660000025()\n {\n return this.c660000025;\n }",
"public Integer getBcId() {\n return bcId;\n }",
"public double mo21089b() {\n return this.f10538y;\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public String m5043b() {\n return this.f3984b;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public C0285h m1184y() {\n return this.kg;\n }",
"public final int mo1309b() {\n m2025d();\n return this.f2309d;\n }",
"public java.lang.String getC660000024()\n {\n return this.c660000024;\n }",
"public BigDecimal getCOVERING_ACC_BR() {\r\n return COVERING_ACC_BR;\r\n }",
"public final Map<Integer, C1844cm> mo34040c() {\n return this.f589f;\n }",
"public Boolean getC12() {\n\t\treturn c12;\n\t}",
"public java.lang.String getC8()\n {\n return this.c8;\n }",
"public int getkValue() {\n return kValue;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public Long getKinkenriyou08() {\r\n return kinkenriyou08;\r\n }",
"public Long getKinkenriyou05() {\r\n return kinkenriyou05;\r\n }",
"public BigDecimal gettBlkr() {\n return tBlkr;\n }",
"public String getCcbh() {\n return ccbh;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public double getKD() {\n return _kD;\n }",
"public String getcBz() {\n return cBz;\n }",
"public String getcBz() {\n return cBz;\n }",
"public String getcBz() {\n return cBz;\n }",
"public BigDecimal getCHARGE_CODE() {\r\n return CHARGE_CODE;\r\n }",
"public Boolean getC9() {\n\t\treturn c9;\n\t}",
"public String mo9498c() {\n return UMCCDBUtils.m2039a(this.f1514c);\n }",
"public String getBzcz() {\n return bzcz;\n }",
"public BigDecimal getACC_CIF() {\r\n return ACC_CIF;\r\n }",
"public final ByteBuffer mo28134c() {\n return this.f18502d;\n }",
"public double getBCM(){\r\n\t\treturn bcm;\r\n\t}",
"public int getKcp13V05NoOfDiaries()\n {\n return kcp13V05NoOfDiaries;\n }",
"public String getDatakbn() {\r\n return datakbn;\r\n }",
"public int mo31044b() {\n return this.f21114b;\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public Boolean getC10() {\n\t\treturn c10;\n\t}",
"public String getAKA103() {\n return AKA103;\n }",
"public final String mo132052c() {\n MtopConfig aVar = this.f111984a;\n return aVar != null ? aVar.f112130a : \"\";\n }",
"public String getZcbh() {\n return zcbh;\n }",
"public java.lang.CharSequence getVar98() {\n return var98;\n }",
"public final String mo7103b() {\n return this.f4980h;\n }",
"private final int m136460b() {\n return DisplayUtils.m87171b(getContext(), mo118763m() ? 20.0f : 12.0f);\n }",
"public int mo23298ga() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13914zb)).intValue();\n }",
"protected String getZKasseId() {\n return bc.Z_KASSE_ID;\n }",
"public java.lang.String getC660000021()\n {\n return this.c660000021;\n }",
"public final Map<Integer, C2168bw> mo33703c() {\n return this.f1705f;\n }",
"public String getBzdw() {\n return bzdw;\n }",
"public double getKControl(int index) {\n return this.kControl[index];\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public BigDecimal getBRANCH_CODE() {\r\n return BRANCH_CODE;\r\n }",
"public String mo81400k() {\n return this.f58081m;\n }",
"public java.lang.CharSequence getVar98() {\n return var98;\n }",
"public String getKakaricd() {\r\n return kakaricd;\r\n }",
"public BigDecimal getGL_CODE() {\r\n return GL_CODE;\r\n }",
"public BigDecimal getGL_CODE() {\r\n return GL_CODE;\r\n }",
"public BigDecimal getGL_CODE() {\r\n return GL_CODE;\r\n }",
"public final String mo132051b() {\n MtopConfig aVar = this.f111984a;\n return aVar != null ? aVar.f112137h : \"\";\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public BigDecimal getACC_GL() {\r\n return ACC_GL;\r\n }",
"public Long getKinkenriyou03() {\r\n return kinkenriyou03;\r\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public String getCHEQUE_BANK() {\r\n return CHEQUE_BANK;\r\n }",
"public final zzbgz mo39472k() {\n return this.f40721c;\n }",
"public short getKcp94V05NoOfTiers1()\n {\n return kcp94V05NoOfTiers1;\n }",
"public int m2676C() {\n return ((Integer) this.f2439a.m2666a(ea.cb)).intValue();\n }",
"public String getCB_IND() {\r\n return CB_IND;\r\n }"
] | [
"0.7634434",
"0.71584153",
"0.7028035",
"0.67783517",
"0.66095227",
"0.652274",
"0.64702237",
"0.6352799",
"0.62605625",
"0.62388915",
"0.6008064",
"0.59760803",
"0.5960665",
"0.5889856",
"0.58442354",
"0.57988024",
"0.57894075",
"0.57702124",
"0.5758247",
"0.57567066",
"0.5750242",
"0.5722623",
"0.57141954",
"0.570547",
"0.56880414",
"0.56815803",
"0.5678421",
"0.5663983",
"0.5656841",
"0.5652809",
"0.56505835",
"0.56414795",
"0.56393397",
"0.56357133",
"0.56336033",
"0.563319",
"0.5629441",
"0.55971485",
"0.5594438",
"0.5575868",
"0.5570218",
"0.5563788",
"0.5560373",
"0.5548954",
"0.5534572",
"0.55321",
"0.5529905",
"0.5529905",
"0.5529905",
"0.5528451",
"0.552445",
"0.55244154",
"0.5515696",
"0.55066556",
"0.5506201",
"0.55003005",
"0.54859906",
"0.54837555",
"0.5479986",
"0.54788256",
"0.5469883",
"0.5467189",
"0.54452175",
"0.54435414",
"0.544253",
"0.5441662",
"0.5439336",
"0.5438388",
"0.5437342",
"0.5432842",
"0.5429688",
"0.54265964",
"0.54243904",
"0.54235166",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5422464",
"0.5421749",
"0.5415071",
"0.5407949",
"0.5402465",
"0.5402465",
"0.5402465",
"0.53940153",
"0.53928727",
"0.53910774",
"0.53873533",
"0.5385774",
"0.5384476",
"0.53759164",
"0.5373778",
"0.5372134",
"0.5372031",
"0.5367661",
"0.5366474"
] | 0.80386585 | 0 |
Sets the BKC098 value for this KA04View. | public void setBKC098(String BKC098) {
this.BKC098 = BKC098;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public double getBKC099() {\n return BKC099;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public void setACC_CY(BigDecimal ACC_CY) {\r\n this.ACC_CY = ACC_CY;\r\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public Builder setField1198Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1198_ = value;\n onChanged();\n return this;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public Builder setField1298Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1298_ = value;\n onChanged();\n return this;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"public void setKacd(String kacd) {\r\n this.kacd = kacd;\r\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1194Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1194_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou09(Long kinkenriyou09) {\r\n this.kinkenriyou09 = kinkenriyou09;\r\n }",
"public void setKinkenriyou08(Long kinkenriyou08) {\r\n this.kinkenriyou08 = kinkenriyou08;\r\n }",
"public Builder setField1184Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1184_ = value;\n onChanged();\n return this;\n }",
"public void setVar198(java.lang.CharSequence value) {\n this.var198 = value;\n }",
"public Builder setField1498Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1498_ = value;\n onChanged();\n return this;\n }",
"public void mo3351a(C0510b c0510b) {\n this.f3365g = c0510b;\n }",
"public void setACC_BR(BigDecimal ACC_BR) {\r\n this.ACC_BR = ACC_BR;\r\n }",
"public void setCOVERING_ACC_BR(BigDecimal COVERING_ACC_BR) {\r\n this.COVERING_ACC_BR = COVERING_ACC_BR;\r\n }",
"public void setVar98(java.lang.CharSequence value) {\n this.var98 = value;\n }",
"public Builder setField1198(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1198_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou05(Long kinkenriyou05) {\r\n this.kinkenriyou05 = kinkenriyou05;\r\n }",
"public Builder setField1192Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1192_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1098Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1098_ = value;\n onChanged();\n return this;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public void setC9(Boolean c9) {\n\t\tthis.c9 = c9;\n\t}",
"public Builder setField1698Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1698_ = value;\n onChanged();\n return this;\n }",
"public void setKControl(double[] kControl) {\n this.kControl = kControl;\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"public void setsBlkr(BigDecimal sBlkr) {\n this.sBlkr = sBlkr;\n }",
"public void setC12(Boolean c12) {\n\t\tthis.c12 = c12;\n\t}",
"public void setACC_CIF(BigDecimal ACC_CIF) {\r\n this.ACC_CIF = ACC_CIF;\r\n }",
"public Builder setField1184(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1184_ = value;\n onChanged();\n return this;\n }",
"public void setNGAYCAP_CCHN( String NGAYCAP_CCHN )\n {\n this.NGAYCAP_CCHN = NGAYCAP_CCHN;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar98(java.lang.CharSequence value) {\n validate(fields()[99], value);\n this.var98 = value;\n fieldSetFlags()[99] = true;\n return this;\n }",
"public void setC10(Boolean c10) {\n\t\tthis.c10 = c10;\n\t}",
"public Builder setField1195Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1195_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1298(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1298_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1295Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1295_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1398Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1398_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1209Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1209_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1492Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1492_ = value;\n onChanged();\n return this;\n }",
"public void setACC_GL(BigDecimal ACC_GL) {\r\n this.ACC_GL = ACC_GL;\r\n }",
"public final void mo6073a(C0937c c0937c) {\n this.f2339b = c0937c;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar92(java.lang.Boolean value) {\n validate(fields()[93], value);\n this.var92 = value;\n fieldSetFlags()[93] = true;\n return this;\n }",
"public Builder setField1294Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1294_ = value;\n onChanged();\n return this;\n }",
"public void setBcId(Integer bcId) {\n this.bcId = bcId;\n }",
"public Builder setField1698(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1698_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1092Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1092_ = value;\n onChanged();\n return this;\n }",
"public void setCriarBAK(boolean pCriarBAK) throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_SetCriarBAK(getHandle(), pCriarBAK);\n checkResult(ret);\n }",
"public Builder setField1598Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1598_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1094Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1094_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1292Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1292_ = value;\n onChanged();\n return this;\n }",
"public final synchronized void mo39723b(C14836c cVar) {\n this.f40709J = cVar;\n }",
"public void setCHUNGCHI_KHAC( String CHUNGCHI_KHAC )\n {\n this.CHUNGCHI_KHAC = CHUNGCHI_KHAC;\n }",
"public void SetB(byte num) {\r\n\t\tm_numB = num;\r\n\t}",
"public Builder setField1208Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1208_ = value;\n onChanged();\n return this;\n }",
"public String getNGAYCAP_CCHN()\n {\n return this.NGAYCAP_CCHN;\n }",
"public Builder setField1409Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1409_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1196Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1196_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1898Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1898_ = value;\n onChanged();\n return this;\n }",
"public void setCOVERING_ACC_CY(BigDecimal COVERING_ACC_CY) {\r\n this.COVERING_ACC_CY = COVERING_ACC_CY;\r\n }",
"public Builder setField1154Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1154_ = value;\n onChanged();\n return this;\n }",
"public void mo9258g() {\n this.f1301l = EncodingUtils.m1912b(this.f1301l, 0);\n }",
"public Builder setField1798Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1798_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1084Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1084_ = value;\n onChanged();\n return this;\n }",
"public void setVar108(java.lang.CharSequence value) {\n this.var108 = value;\n }",
"private void m3207a(View view, C0898a c0898a) {\n int[] iArr = new int[2];\n m3206a(view, c0898a.width, c0898a.height, iArr);\n m3205a(view, iArr[0], iArr[1], c0898a.f2297c, c0898a.f2298d, c0898a.f2299e);\n }",
"public final void setWindk(java.math.BigDecimal windk)\n\t{\n\t\tsetWindk(getContext(), windk);\n\t}",
"public Builder setField1084(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1084_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1194(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1194_ = value;\n onChanged();\n return this;\n }",
"public void mo21808a(KeyEvent keyEvent) {\n char unicodeChar = (char) keyEvent.getUnicodeChar();\n char c = (unicodeChar == 0 || unicodeChar == 65535) ? 65535 : unicodeChar;\n int keyCode = keyEvent.getKeyCode();\n int action = keyEvent.getAction();\n int i = action == 0 ? 1 : action == 1 ? 2 : 0;\n C7009b bVar = new C7009b(keyEvent, keyEvent.getEventTime(), i, 0, c, keyCode, keyEvent.getRepeatCount() > 0);\n mo21813a((C7008a) bVar);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar188(java.lang.CharSequence value) {\n validate(fields()[189], value);\n this.var188 = value;\n fieldSetFlags()[189] = true;\n return this;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public Builder setField1190Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1190_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1284Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1284_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1098(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1098_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1152Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1152_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1290Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1290_ = value;\n onChanged();\n return this;\n }",
"public final void mo21972a(C8853b bVar) {\n if (bVar != null) {\n this.f24197b.setText(bVar.f24087b);\n this.f24198c.setText(m26583b(bVar));\n SpannableString c = m26584c(bVar);\n switch (bVar.f24089d) {\n case 1:\n case 2:\n this.f24199d.setText(c);\n this.f24199d.setVisibility(0);\n return;\n default:\n this.f24199d.setVisibility(8);\n return;\n }\n }\n }",
"public void setCOVERING_ACC_GL(BigDecimal COVERING_ACC_GL) {\r\n this.COVERING_ACC_GL = COVERING_ACC_GL;\r\n }",
"public void mo23525c(C4892c cVar) {\n if (this.bdv != null) {\n this.bdv.mo25354b(cVar);\n }\n }",
"public Builder setField1054Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1054_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1192(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1192_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou03(Long kinkenriyou03) {\r\n this.kinkenriyou03 = kinkenriyou03;\r\n }"
] | [
"0.754537",
"0.7388135",
"0.7299451",
"0.65891033",
"0.6484664",
"0.61179113",
"0.61132085",
"0.60550463",
"0.5846589",
"0.57254744",
"0.56489706",
"0.55433273",
"0.55090594",
"0.55062795",
"0.54886174",
"0.54449713",
"0.5434682",
"0.538519",
"0.5358819",
"0.53230655",
"0.5308985",
"0.5303534",
"0.5281972",
"0.52729875",
"0.52660054",
"0.5258624",
"0.52325356",
"0.52309084",
"0.5212863",
"0.52119374",
"0.52053624",
"0.5165111",
"0.5153665",
"0.5142647",
"0.51406324",
"0.51396936",
"0.5138449",
"0.51014215",
"0.50871503",
"0.50864667",
"0.50774187",
"0.5068267",
"0.50496846",
"0.5044313",
"0.5043827",
"0.5043079",
"0.50392956",
"0.5035437",
"0.5034637",
"0.50231576",
"0.5021954",
"0.5020071",
"0.50191617",
"0.50160897",
"0.50156796",
"0.50107455",
"0.50078356",
"0.5005403",
"0.50037813",
"0.4998973",
"0.49944794",
"0.49893737",
"0.49887156",
"0.4985455",
"0.4985218",
"0.4984893",
"0.49842852",
"0.49816108",
"0.49804354",
"0.49789676",
"0.49736792",
"0.49727637",
"0.49708658",
"0.49629772",
"0.495127",
"0.49494576",
"0.49448776",
"0.4936933",
"0.49282515",
"0.49253583",
"0.4919699",
"0.4916674",
"0.49038982",
"0.4900974",
"0.48981786",
"0.489776",
"0.48907027",
"0.4890572",
"0.4887296",
"0.48814356",
"0.48757654",
"0.48724103",
"0.48724103",
"0.48712698",
"0.48697174",
"0.4867765",
"0.4861306",
"0.48574364",
"0.4857014",
"0.48564738"
] | 0.8310747 | 0 |
Gets the BKC099 value for this KA04View. | public double getBKC099() {
return BKC099;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBKC098() {\n return BKC098;\n }",
"public void setBKC099(double BKC099) {\n this.BKC099 = BKC099;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public final int mo1309b() {\n m2025d();\n return this.f2309d;\n }",
"public BigDecimal getACC_BR() {\r\n return ACC_BR;\r\n }",
"public double getAKA068() {\n return AKA068;\n }",
"public String bkD() {\n return CommonUtils.g(CommonUtils.cz(this.nP.getContext()));\n }",
"private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }",
"public String mo42396b() {\n return this.f12824g;\n }",
"public double getAKA104() {\n return AKA104;\n }",
"public String m9124j() {\r\n return this.f6009c;\r\n }",
"public String m5043b() {\n return this.f3984b;\n }",
"public String m3141b() {\n return this.f2414h;\n }",
"public final String mo14850b() {\n return this.f6608h;\n }",
"private final int m136460b() {\n return DisplayUtils.m87171b(getContext(), mo118763m() ? 20.0f : 12.0f);\n }",
"public double getAKA069() {\n return AKA069;\n }",
"public int mo3767B() {\n return this.f1440O;\n }",
"public String mo9272b() {\n return this.f1309f;\n }",
"public final Map<Integer, C1844cm> mo34040c() {\n return this.f589f;\n }",
"public Integer getAaa021() {\r\n return aaa021;\r\n }",
"public int getkValue() {\n return kValue;\n }",
"public float mo518c() {\n return this.f410k;\n }",
"public String getBzcz() {\n return bzcz;\n }",
"public int mo31044b() {\n return this.f21114b;\n }",
"public Integer getCharNum() {\n return charNum;\n }",
"public java.lang.String getC660000024()\n {\n return this.c660000024;\n }",
"public String getMn009() {\n return mn009;\n }",
"public String mo9253c() {\n return this.f1298a;\n }",
"public String m3142c() {\n return this.f2408b;\n }",
"public String getNGAYCAP_CCHN()\n {\n return this.NGAYCAP_CCHN;\n }",
"public String mo3900c() {\n return this.f771c;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public String getCapCode() {\n return capCode;\n }",
"public final int getB() {\n\t\treturn blue;\n\t}",
"public java.lang.String getC660000021()\n {\n return this.c660000021;\n }",
"public final String mo4926b() {\n return this.f2366b;\n }",
"public char getValue() {\n return value;\n }",
"public final Integer A00() {\n char c;\n Integer num;\n if (this.A00 == null) {\n String str = this.A04;\n int hashCode = str.hashCode();\n if (hashCode == 3599307) {\n c = 2;\n } else if (hashCode == 697547724) {\n c = 0;\n } else if (hashCode == 1901043637) {\n c = 1;\n }\n c = 65535;\n if (c == 0) {\n num = Constants.ZERO;\n } else if (c == 1) {\n num = Constants.ONE;\n } else if (c != 2) {\n num = Constants.A0N;\n } else {\n num = Constants.A0C;\n }\n this.A00 = num;\n }\n return this.A00;\n }",
"public int mo27008h() {\n TextView textView = this.f24577q;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }",
"public String getAKA100() {\n return AKA100;\n }",
"public double getBCM(){\r\n\t\treturn bcm;\r\n\t}",
"public String getAKA066() {\n return AKA066;\n }",
"public int mo23290ca() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13777Ya)).intValue();\n }",
"public String getMA_CHUYENNGANH()\n {\n return this.MA_CHUYENNGANH;\n }",
"public Long getKinkenriyou09() {\r\n return kinkenriyou09;\r\n }",
"public java.lang.String getBnft_case_num() {\n\t\treturn bnft_case_num;\n\t}",
"public double mo21089b() {\n return this.f10538y;\n }",
"public String m7905b() {\n return this.f6689b;\n }",
"public java.lang.String getC660000025()\n {\n return this.c660000025;\n }",
"public int m2675B() {\n return ((Integer) this.f2439a.m2666a(ea.ca)).intValue();\n }",
"public AVT getLetterValue()\n {\n return m_lettervalue_avt;\n }",
"public String mo3897b() {\n return this.f770b;\n }",
"public String getMn010() {\n return mn010;\n }",
"public char getValue()\n\t{\n\t\treturn value;\n\t}",
"public Float getT1B11djam() {\r\n return t1B11djam;\r\n }",
"public BigDecimal gettBlkr() {\n return tBlkr;\n }",
"public final Map<Integer, C2168bw> mo33703c() {\n return this.f1705f;\n }",
"public String getAKA103() {\n return AKA103;\n }",
"public BigDecimal getsBlkr() {\n return sBlkr;\n }",
"public C1697ap mo7098g() {\n return C1698a.f5333a;\n }",
"public String getKacd() {\r\n return kacd;\r\n }",
"public BigDecimal getACC_CY() {\r\n return ACC_CY;\r\n }",
"public Pm4411BS getPm4411BS() {\r\n\t\treturn pm4411BS;\r\n\t}",
"public String getAKA102() {\n return AKA102;\n }",
"public int m2676C() {\n return ((Integer) this.f2439a.m2666a(ea.cb)).intValue();\n }",
"public BigDecimal getCHARGE_CODE() {\r\n return CHARGE_CODE;\r\n }",
"public short getKcp94V05NoOfTiers1()\n {\n return kcp94V05NoOfTiers1;\n }",
"public int mo7809b() {\n return this.f5849g;\n }",
"public Integer getColorCd() {\n\t\treturn colorCd;\n\t}",
"public String mo9498c() {\n return UMCCDBUtils.m2039a(this.f1514c);\n }",
"@Override\n\t\tpublic char[] getPrintChars() {\n\t\t\tif(this.color == RedBlackTree.BLACK){\n\t\t\t\tString intString = data.toString()+\"(B)\";\n\t\t\t\treturn intString.toCharArray();\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tString intString = data.toString()+\"(R)\";\n\t\t\t\treturn intString.toCharArray();\n\t\t\t}\n\t\t\t\n\t\t}",
"public java.lang.String getZzCode() {\r\n return zzCode;\r\n }",
"public String getMn008() {\n return mn008;\n }",
"public int getBNumber(){\n\t\t return B_number;\n\t}",
"public final String mo7103b() {\n return this.f4980h;\n }",
"public BigDecimal getActiveViewCpm() {\r\n return activeViewCpm;\r\n }",
"public String getAAE011() {\n return AAE011;\n }",
"public BigDecimal getCOVERING_ACC_BR() {\r\n return COVERING_ACC_BR;\r\n }",
"public Boolean getC9() {\n\t\treturn c9;\n\t}",
"public int mo23289c() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13795bc)).intValue();\n }",
"public String getValueCd() {\n return this.valueCd;\n }",
"public int mo23306ka() {\n return ((Integer) this.f13965a.mo23249a(C7196pb.f13706Ib)).intValue();\n }",
"public final int mo5176b() {\n return Math.round(this.f9482d);\n }",
"public int mo9732a() {\n return this.f9084k + this.f9082i;\n }",
"public String mo1932b() {\r\n return this.f5998g;\r\n }",
"public char charValue() {\n return value;\n }",
"public int mo25062b() {\n return this.f14803e;\n }",
"public final String mo132051b() {\n MtopConfig aVar = this.f111984a;\n return aVar != null ? aVar.f112137h : \"\";\n }",
"public String getVATNumber() {\n if (isVATRegistered) {\n return \"BG\" + this.eik;\n }\n return \"\";\n }",
"public String getBENEF_ACC() {\r\n return BENEF_ACC;\r\n }",
"public String getCHUNGCHI_KHAC()\n {\n return this.CHUNGCHI_KHAC;\n }",
"public String getCB_IND() {\r\n return CB_IND;\r\n }",
"public String mo21088a() {\n return this.f10537x;\n }",
"public String m21433b() {\n return this.f18788f;\n }"
] | [
"0.73169804",
"0.6991613",
"0.6589126",
"0.6586623",
"0.65092885",
"0.64347726",
"0.6224775",
"0.61608016",
"0.6065439",
"0.5965507",
"0.5943374",
"0.59141445",
"0.59041387",
"0.5781674",
"0.57771045",
"0.5741177",
"0.57099134",
"0.5678724",
"0.565962",
"0.5653865",
"0.5623339",
"0.56031066",
"0.55947214",
"0.55808073",
"0.55761945",
"0.5548276",
"0.5548122",
"0.5543873",
"0.5521753",
"0.55215645",
"0.55113006",
"0.55076283",
"0.5506297",
"0.5503266",
"0.5500426",
"0.5485702",
"0.5484206",
"0.5476503",
"0.54655147",
"0.5463689",
"0.5460999",
"0.5460005",
"0.5459204",
"0.54586524",
"0.5454283",
"0.54516757",
"0.5450893",
"0.54483116",
"0.54455423",
"0.54426485",
"0.5440183",
"0.54279536",
"0.5426292",
"0.54242593",
"0.5420886",
"0.54140717",
"0.5408809",
"0.5408495",
"0.54073405",
"0.5407057",
"0.54063123",
"0.54021454",
"0.54016477",
"0.53983736",
"0.53983486",
"0.53951013",
"0.53917",
"0.5391066",
"0.53908515",
"0.53900373",
"0.53894985",
"0.5388559",
"0.53817767",
"0.53793466",
"0.5371211",
"0.5370921",
"0.5368747",
"0.53614855",
"0.53595424",
"0.53585255",
"0.5357574",
"0.5356949",
"0.535067",
"0.5344541",
"0.533865",
"0.53379095",
"0.53345406",
"0.5330749",
"0.5327882",
"0.5326156",
"0.5326013",
"0.53245676",
"0.5322093",
"0.5307682",
"0.5307476",
"0.5306909",
"0.5305846",
"0.5305464",
"0.530305",
"0.53026813"
] | 0.8127373 | 0 |
Sets the BKC099 value for this KA04View. | public void setBKC099(double BKC099) {
this.BKC099 = BKC099;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getBKC099() {\n return BKC099;\n }",
"public void setBKC098(String BKC098) {\n this.BKC098 = BKC098;\n }",
"public void setBKC097(String BKC097) {\n this.BKC097 = BKC097;\n }",
"public String getBKC098() {\n return BKC098;\n }",
"public String getBKC097() {\n return BKC097;\n }",
"public void setBKA001(String BKA001) {\n this.BKA001 = BKA001;\n }",
"public String getBKA001() {\n return BKA001;\n }",
"public void setBAA001(String BAA001) {\n this.BAA001 = BAA001;\n }",
"@Override\n public void btPutChar(int value) {\n }",
"public void setBKA260(String BKA260) {\n this.BKA260 = BKA260;\n }",
"public void setBKA247(String BKA247) {\n this.BKA247 = BKA247;\n }",
"public void setBKA246(String BKA246) {\n this.BKA246 = BKA246;\n }",
"public void setAKA068(double AKA068) {\n this.AKA068 = AKA068;\n }",
"public Builder setB26(boolean value) {\n bitField0_ |= 0x02000000;\n b26_ = value;\n onChanged();\n return this;\n }",
"public void SetB(byte num) {\r\n\t\tm_numB = num;\r\n\t}",
"public void setBikeNum(int NewValue){\n bike = NewValue;\n }",
"public Builder setNumb(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n numb_ = value;\n onChanged();\n return this;\n }",
"public String getBAA001() {\n return BAA001;\n }",
"public void setAKA104(double AKA104) {\n this.AKA104 = AKA104;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n \n b_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1609(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1609_ = value;\n onChanged();\n return this;\n }",
"public void mo9258g() {\n this.f1301l = EncodingUtils.m1912b(this.f1301l, 0);\n }",
"public String getBKA246() {\n return BKA246;\n }",
"public void setVBat(float vBat) {\r\n this.vBat = vBat;\r\n }",
"public String getBKA260() {\n return BKA260;\n }",
"public String getBKA247() {\n return BKA247;\n }",
"public Builder setOneof1609(int value) {\n hugeOneofCase_ = 1609;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setB(int value) {\n bitField0_ |= 0x00000001;\n b_ = value;\n onChanged();\n return this;\n }",
"public void setCharNum(Integer charNum) {\n this.charNum = charNum;\n }",
"public void setBlncInch(Number value) {\n setAttributeInternal(BLNCINCH, value);\n }",
"public void setMerkki(char merkki){\r\n this.merkki = merkki; \r\n }",
"public Builder setField1209Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1209_ = value;\n onChanged();\n return this;\n }",
"public void setC9(Boolean c9) {\n\t\tthis.c9 = c9;\n\t}",
"public void setACC_BR(BigDecimal ACC_BR) {\r\n this.ACC_BR = ACC_BR;\r\n }",
"public Builder setField1609Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1609_ = value;\n onChanged();\n return this;\n }",
"public void setVar108(java.lang.CharSequence value) {\n this.var108 = value;\n }",
"public Builder setOneof1909(int value) {\n hugeOneofCase_ = 1909;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void mo3351a(C0510b c0510b) {\n this.f3365g = c0510b;\n }",
"public Builder setOneof1809(int value) {\n hugeOneofCase_ = 1809;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public final void mo6073a(C0937c c0937c) {\n this.f2339b = c0937c;\n }",
"public Builder setField1209(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1209_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof1709(int value) {\n hugeOneofCase_ = 1709;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setKinkenriyou09(Long kinkenriyou09) {\r\n this.kinkenriyou09 = kinkenriyou09;\r\n }",
"public void setAKA069(double AKA069) {\n this.AKA069 = AKA069;\n }",
"void setCHVNumber(int number)\r\n {\r\n number_of_CHV = number;\r\n }",
"public void setNumDigits(int digits) {\r\n \r\n //Set Value\r\n numDigits = digits;\r\n \r\n }",
"public Builder setOneof1209(int value) {\n hugeOneofCase_ = 1209;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setChallanNo(Number value) {\n setAttributeInternal(CHALLANNO, value);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar88(java.lang.Integer value) {\n validate(fields()[89], value);\n this.var88 = value;\n fieldSetFlags()[89] = true;\n return this;\n }",
"public void setVar198(java.lang.CharSequence value) {\n this.var198 = value;\n }",
"public void setBNumber(int B_numberIn){\n\t\tB_number = B_numberIn;\n\t}",
"public void mo14476c() {\n super.mo14476c();\n this.f10138c = 0.0f;\n }",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setControlNumber(java.lang.String value) {\n validate(fields()[4], value);\n this.controlNumber = value;\n fieldSetFlags()[4] = true;\n return this;\n }",
"public final void mo5360b(View view, C0275kc kcVar) {\n C0206ho hoVar = this.f9708a;\n int a = hoVar.f9491a.mo5192a(view);\n if (a >= 0) {\n if (hoVar.f9492b.mo5188d(a)) {\n hoVar.mo5207d(view);\n }\n hoVar.f9491a.mo5193a(a);\n }\n kcVar.mo5394a(view);\n }",
"public Builder setField1809(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1809_ = value;\n onChanged();\n return this;\n }",
"public void setCR(int cR)\r\n/* 44: */ {\r\n/* 45: 44 */ this.CR = cR;\r\n/* 46: */ }",
"public Builder setField1909(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1909_ = value;\n onChanged();\n return this;\n }",
"public Builder setOneof2709(int value) {\n hugeOneofCase_ = 2709;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1192Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1192_ = value;\n onChanged();\n return this;\n }",
"public void setAKA100(String AKA100) {\n this.AKA100 = AKA100;\n }",
"public final void beK() {\n AppMethodBeat.i(88975);\n if (this.kaS.aZV().vTW != null && this.kaS.aZV().vTW.size() > 0) {\n tm tmVar = (tm) this.kaS.aZV().vTW.get(0);\n if (this.iPD != null) {\n this.iPD.setText(tmVar.title);\n }\n if (this.ksp != null) {\n if (TextUtils.isEmpty(tmVar.kbW)) {\n this.ksp.setVisibility(8);\n } else {\n this.ksp.setText(tmVar.kbW);\n }\n }\n if (this.ksq != null) {\n if (TextUtils.isEmpty(tmVar.kbX)) {\n this.ksq.setVisibility(8);\n } else {\n this.ksq.setText(tmVar.kbX);\n AppMethodBeat.o(88975);\n return;\n }\n }\n }\n AppMethodBeat.o(88975);\n }",
"public Builder setOneof2409(int value) {\n hugeOneofCase_ = 2409;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setCriarBAK(boolean pCriarBAK) throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_SetCriarBAK(getHandle(), pCriarBAK);\n checkResult(ret);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar91(java.lang.Integer value) {\n validate(fields()[92], value);\n this.var91 = value;\n fieldSetFlags()[92] = true;\n return this;\n }",
"public Builder setOneof1309(int value) {\n hugeOneofCase_ = 1309;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar96(java.lang.Integer value) {\n validate(fields()[97], value);\n this.var96 = value;\n fieldSetFlags()[97] = true;\n return this;\n }",
"public Builder setField1809Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1809_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1194Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1194_ = value;\n onChanged();\n return this;\n }",
"public void setAKA066(String AKA066) {\n this.AKA066 = AKA066;\n }",
"public void mo21808a(KeyEvent keyEvent) {\n char unicodeChar = (char) keyEvent.getUnicodeChar();\n char c = (unicodeChar == 0 || unicodeChar == 65535) ? 65535 : unicodeChar;\n int keyCode = keyEvent.getKeyCode();\n int action = keyEvent.getAction();\n int i = action == 0 ? 1 : action == 1 ? 2 : 0;\n C7009b bVar = new C7009b(keyEvent, keyEvent.getEventTime(), i, 0, c, keyCode, keyEvent.getRepeatCount() > 0);\n mo21813a((C7008a) bVar);\n }",
"public void setVar98(java.lang.CharSequence value) {\n this.var98 = value;\n }",
"public final int mo1309b() {\n m2025d();\n return this.f2309d;\n }",
"public Builder setOneof2909(int value) {\n hugeOneofCase_ = 2909;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1292Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1292_ = value;\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar92(java.lang.Boolean value) {\n validate(fields()[93], value);\n this.var92 = value;\n fieldSetFlags()[93] = true;\n return this;\n }",
"public j$a m18294a(char value) {\n return m18291b(String.valueOf(value));\n }",
"public Builder setOneof1409(int value) {\n hugeOneofCase_ = 1409;\n hugeOneof_ = value;\n onChanged();\n return this;\n }",
"public void setAaa021(Integer aaa021) {\r\n this.aaa021 = aaa021;\r\n }",
"public Builder setField1296Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1296_ = value;\n onChanged();\n return this;\n }",
"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 Builder setField1709Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1709_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1092Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1092_ = value;\n onChanged();\n return this;\n }",
"public void SetA(byte num) {\r\n\t\tm_numA = num;\r\n\t}",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar108(java.lang.CharSequence value) {\n validate(fields()[109], value);\n this.var108 = value;\n fieldSetFlags()[109] = true;\n return this;\n }",
"public void setACC_CY(BigDecimal ACC_CY) {\r\n this.ACC_CY = ACC_CY;\r\n }",
"public Builder setField1196Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1196_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1299Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1299_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1298Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1298_ = value;\n onChanged();\n return this;\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"private void m9504b() {\n if (TextUtils.isEmpty(this.f8196e)) {\n this.f8192a.setVisibility(8);\n } else {\n this.f8192a.setText(this.f8196e);\n this.f8192a.setVisibility(0);\n }\n if (!TextUtils.isEmpty(this.f8197f)) {\n this.f8193b.setHint(this.f8197f);\n }\n if (!TextUtils.isEmpty(this.f8201j)) {\n this.f8194c.setText(this.f8201j);\n }\n if (!TextUtils.isEmpty(this.f8202k)) {\n this.f8195d.setText(this.f8202k);\n }\n this.f8193b.setFilters(new InputFilter[]{new LengthFilter(this.f8200i)});\n if (!this.f8198g) {\n this.f8193b.setOnEditorActionListener(new C17981(this));\n }\n }",
"public Builder setField1198Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1198_ = value;\n onChanged();\n return this;\n }",
"public void setValue(char value)\n\t{\n\t\tthis.value = value;\n\t}",
"public Builder setField1409Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1409_ = value;\n onChanged();\n return this;\n }",
"public void setVar89(java.lang.CharSequence value) {\n this.var89 = value;\n }",
"public Builder setField1509Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1509_ = value;\n onChanged();\n return this;\n }",
"public Builder setField1309(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1309_ = value;\n onChanged();\n return this;\n }",
"public Builder setC(int value) {\n bitField0_ |= 0x00000001;\n c_ = value;\n onChanged();\n return this;\n }",
"public void setActiveViewCpm(BigDecimal activeViewCpm) {\r\n this.activeViewCpm = activeViewCpm;\r\n }",
"public Builder setField1409(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n field1409_ = value;\n onChanged();\n return this;\n }"
] | [
"0.70318",
"0.69929266",
"0.6492564",
"0.6339261",
"0.58949214",
"0.58672845",
"0.5564927",
"0.54378694",
"0.54359293",
"0.5388262",
"0.53867394",
"0.5352369",
"0.531769",
"0.53031576",
"0.51616174",
"0.51431495",
"0.513387",
"0.51319927",
"0.5113378",
"0.5110798",
"0.5110798",
"0.50888413",
"0.50872546",
"0.5086609",
"0.50775605",
"0.5071527",
"0.50682116",
"0.50242835",
"0.49872783",
"0.49843243",
"0.49803564",
"0.49733797",
"0.49732",
"0.49588284",
"0.49464196",
"0.49399996",
"0.4926502",
"0.4913649",
"0.48756325",
"0.4868839",
"0.48659426",
"0.4855507",
"0.48447028",
"0.48384598",
"0.48306507",
"0.48088917",
"0.480343",
"0.48000622",
"0.47845283",
"0.47797763",
"0.47711083",
"0.47676873",
"0.47600508",
"0.47598308",
"0.4750302",
"0.47494492",
"0.47457713",
"0.47436875",
"0.47422326",
"0.47314087",
"0.47286493",
"0.47214884",
"0.4721008",
"0.4710925",
"0.47099224",
"0.4709577",
"0.47092795",
"0.47063026",
"0.47046196",
"0.46930832",
"0.46833208",
"0.4671243",
"0.4671076",
"0.467102",
"0.46690676",
"0.46626756",
"0.4659853",
"0.4654969",
"0.46549025",
"0.4650528",
"0.4648424",
"0.4648365",
"0.46459094",
"0.46426234",
"0.46416324",
"0.46384215",
"0.46296993",
"0.4614628",
"0.46138355",
"0.461349",
"0.46127015",
"0.46123967",
"0.4604945",
"0.4602868",
"0.45975858",
"0.45944548",
"0.45928776",
"0.45897338",
"0.45893216",
"0.45887867"
] | 0.8202134 | 0 |
Return type metadata object | public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataType getType();",
"public MetadataType getType() {\n return type;\n }",
"public MilanoTypeMetadata.TypeMetadata getMetadata()\n {\n if (typeMetadata == null) {\n return null;\n }\n\n return typeMetadata;\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }",
"public Metadata getMetadata( MetadataType type )\n\t{\n\t\tfor( Metadata metadata: mMetadata )\n\t\t{\n\t\t\tif( metadata.getMetadataType() == type )\n\t\t\t{\n\t\t\t\treturn metadata;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn null;\n\t}",
"Metadata getMetaData();",
"public List<TypeMetadata> getTypeMetadata() {\n return types;\n }",
"@Override\n public Class<? extends Metadata> getMetadataType() {\n throw new RuntimeException( \"Not yet implemented.\" );\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 MetaData getMetaData();",
"private Class<?> getType(final Object metadata, final ValueNode node) throws ParseException {\n if (node.type != null) {\n return readType(node);\n }\n Class type;\n if (metadata instanceof ReferenceSystemMetadata || metadata instanceof Period || metadata instanceof AbstractTimePosition || metadata instanceof Instant) {\n final Method getter = ReflectionUtilities.getGetterFromName(node.name, metadata.getClass());\n return getter.getReturnType();\n } else {\n type = standard.asTypeMap(metadata.getClass(), KeyNamePolicy.UML_IDENTIFIER, TypeValuePolicy.ELEMENT_TYPE).get(node.name);\n }\n final Class<?> special = specialized.get(type);\n if (special != null) {\n return special;\n }\n return type;\n }",
"public Map<String, Variant<?>> GetMetadata();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public String getType();",
"public TypeSummary getTypeSummary() {\r\n return type;\r\n }",
"String provideType();",
"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 Type getType();",
"@Override\n public String toString() {\n return metaObject.getType().toString();\n }",
"public String metadataClass() {\n return this.metadataClass;\n }",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"Type getType();",
"abstract public Type getType();",
"public String type();",
"private String getType(){\r\n return type;\r\n }",
"protected abstract String getType();",
"Coding getType();",
"@Override\n TypeInformation<T> getProducedType();",
"type getType();",
"TypeDefinition createTypeDefinition();",
"abstract public String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract String getType();",
"public abstract Type getType();",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"String getTypeAsString();",
"public gov.niem.niem.structures._2_0.MetadataType getMetadata()\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.niem.niem.structures._2_0.MetadataType target = null;\n target = (gov.niem.niem.structures._2_0.MetadataType)get_store().find_element_user(METADATA$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }",
"TypeRef getType();",
"String getMetadataClassName();"
] | [
"0.7969707",
"0.7373198",
"0.7358018",
"0.7090138",
"0.67353225",
"0.67259765",
"0.66725683",
"0.65644145",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6510972",
"0.648206",
"0.6352795",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.6329532",
"0.62937546",
"0.6285329",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.628487",
"0.627527",
"0.6265675",
"0.6235292",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6227797",
"0.6221452",
"0.6209023",
"0.6196509",
"0.61801785",
"0.6180045",
"0.6168281",
"0.61679584",
"0.6166462",
"0.6161522",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6146188",
"0.6141369",
"0.6140734",
"0.6133515",
"0.61228573",
"0.6116976",
"0.6111749"
] | 0.0 | -1 |
/ if over existing ids it just shows 0 anyway | public void setStatus(int status) {
this.status = (byte) status;
refreshStatus();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int intValue(int numId) {\n return 0;\n }",
"static Integer generateID() {\n int count = 0;\n for (int i = 1; i-1 <= setOfAssignedIDs.size(); i++) {\n count++;\n if (setOfAssignedIDs.size() == 0) {\n return 1;\n }\n\n else if (setOfAssignedIDs.contains(i)) {\n continue;\n }\n\n else {\n return count;\n }\n\n }\n return count;\n }",
"int getOtherIdsCount();",
"@Override\n\tpublic double setId() {\n\t\treturn 0;\n\t}",
"@Override\n public double numValue(int numId) {\n return 0;\n }",
"int getIdsCount();",
"int getListSnIdCount();",
"private Integer getNewId(){\n List<Integer> allIds = new ArrayList<>();\n for (T entity : allEntities) {\n allIds.add(entity.getId());\n }\n return allIds.size() > 0 ? Collections.max(allIds) + 1 : 1;\n }",
"int getSrcIdCount();",
"private void setId() {\n id = count++;\n }",
"private boolean checkId() {\n int sum = 0;\n int id;\n\n try\n {\n id = Integer.parseInt(ID.getText().toString());\n }\n catch (Exception e)\n {\n return false;\n }\n\n if (id >= 1000000000)\n return false;\n\n for (int i = 1; id > 0; i = (i % 2) + 1) {\n int digit = (id % 10) * i;\n sum += digit / 10 + digit % 10;\n\n id=id/10;\n }\n\n if (sum % 10 != 0)\n return false;\n\n return true;\n }",
"public static void resetIdCounter(){\n idCounter = 0;\n }",
"public int getOtherIdsCount() {\n return otherIds_.size();\n }",
"private void filter(IdentifierRecord id) {\n IdentifierRecord record = idMap.get(id.getInternalId());\n if (record != null) {\n int compare =\n HashConverter.getSha1(id.getId()).compareTo(HashConverter.getSha1(record.getId()));\n if (compare < 0) {\n incMetrics(IDENTICAL_GBIF_OBJECTS_COUNT);\n idMap.put(id.getInternalId(), id);\n idInvalidMap.put(record.getId(), record);\n } else {\n incMetrics(DUPLICATE_GBIF_IDS_COUNT);\n idInvalidMap.put(id.getId(), id);\n }\n log.error(\n \"GBIF ID collision, gbifId - {}, occurrenceId - {}\", id.getInternalId(), id.getId());\n } else {\n incMetrics(UNIQUE_GBIF_IDS_COUNT);\n idMap.put(id.getInternalId(), id);\n }\n }",
"@Override\n\t\tpublic long getId() {\n\t\t\treturn 0;\n\t\t}",
"public int counter (){\n return currentID;\n }",
"public static void main(String[] args) {\n Integer[] arr = {0,1,2};\n HashSet<Integer> IDs = new HashSet<>(Arrays.asList(arr));\n //books.forEach(e-> IDs.add(e.getId()));\n int i=-1;\n while(i<Integer.MAX_VALUE){\n if (!IDs.contains(++i)) {\n System.out.println(i);\n break;\n }\n }\n System.out.println(-1);\n }",
"private synchronized int generateItemID(){\r\n\t\tint i;\r\n\t\tfor(i = 1; items.containsKey(i) || finishedItems.containsKey(i);i++);\r\n\t\treturn i;\r\n\t}",
"private void clearId() {\n \n id_ = 0;\n }",
"public synchronized int ret(int id) {\n\t\tfor (Record r : record) {\n\t\t\tif (r.ID == id) {\n\t\t\t\trecord.remove(r);\n\t\t\t\tString name = r.book;\n\t\t\t\tfor (Book b : inventory) {\n\t\t\t\t\tif (b.name.equals(name)) {\n\t\t\t\t\t\tb.quantity++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn id;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}",
"private void updateClickCount(int[] ID) {\r\n\t\tif (gameBoard.getIdValue(ID) != 0) {\r\n\t\t\tclickCounter += 1;\r\n\t\t} // do nothing\r\n\t}",
"public boolean IDUsed(int id){\n for (int i = 0 ; i< IDList.size();i++){\n if (IDList.get(i) == id){\n return true;\n }\n }\n return false;\n }",
"@Override\r\n public int hashCode() {\n return id % 10;\r\n }",
"void initListRemainingId();",
"public int getOtherIdsCount() {\n return otherIds_.size();\n }",
"private void clearOtherId() {\n \n otherId_ = 0;\n }",
"private static Integer generateID() {\n Integer uniqueID = -1;\n while (setOfIDs.contains(uniqueID) || !Employee.isPositive(uniqueID)) {\n uniqueID += 1;\n }\n return uniqueID;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"public int getFirstEmptyID() {\n\t\tArrayList<Integer> IDS = new ArrayList<Integer>();\n\n\t\t// Get all gameID's\n\t\ttry {\n\n\t\t\tResultSet result = dC.select(\"SELECT idspel FROM spel\", null);\n\n\t\t\twhile (result.next()) {\n\t\t\t\tif (result != null) {\n\t\t\t\t\tIDS.add(Integer.parseInt(result.getString(ID_GAME)));\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Return int\n\t\tint resultInt = 0;\n\t\tboolean numberExists = false;\n\n\t\tfor (int j = 1; j < IDS.size() + 1; j++) {\n\n\t\t\tnumberExists = false;\n\t\t\tfor (int a = 0; a < IDS.size(); a++) {\n\n\t\t\t\tif (j == IDS.get(a)) {\n\t\t\t\t\tnumberExists = true;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\t// Save the number if it not exist yet\n\t\t\tif (!numberExists) {\n\t\t\t\tresultInt = j;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tint counter = 1;\n\t\twhile (resultInt == 0) {\n\t\t\tString[] params = { Integer.toString(counter) };\n\t\t\t\n\t\t\t// Check if gameID exists\n\t\t\tResultSet result = dC.select(\"SELECT EXISTS(SELECT * FROM spel WHERE idspel = ?)\", params);\n\n\t\t\ttry {\n\t\t\t\twhile (result.next()) {\n\t\t\t\t\tString resultString;\n\n\t\t\t\t\tresultString = result.getString(BOOLEAN_POSITION);\n\n\t\t\t\t\tif (resultString.equals(FALSE)) {\n\t\t\t\t\t\tresultInt = counter;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t\tcounter++;\n\t\t}\n\n\t\treturn resultInt;\n\n\t}",
"private void clearId() {\n \n id_ = 0;\n }",
"@Override\n public String getNewId()throws DVDLibraryPersistenceException{\n \n int intId = 0;\n for (String key : dvds.keySet()){\n if (Integer.valueOf(key) > intId){\n intId = Integer.valueOf(key);\n }\n }\n return String.valueOf(intId + 1);\n }",
"public int hashCode(){\r\n \tif (id != null){\r\n \t\treturn id.hashCode();\r\n \t}\r\n \treturn 0;\r\n }",
"@Override\n public int hashCode() {\n final int prime = 31;\n int result = 1;\n result = prime * result + id; \n return result;\n }",
"public static int countEquivalentIDs(java.lang.String id) { throw new RuntimeException(\"Stub!\"); }",
"long getNoId();",
"@Override\n\tpublic int getCount() {\n\t\treturn idValues.size();\n\t}",
"@Override\n public int hashCode() {\n int hash = 0;\n hash += (id != null ? id.hashCode() : 0);\n return hash;\n }",
"@Override\n public int hashCode() {\n int hash = 0;\n hash += (id != null ? id.hashCode() : 0);\n return hash;\n }",
"@Override\n\tpublic double getResult(String id) {\n\t\treturn 0;\n\t}",
"public static void adjustIDCount(int id) {\r\n\t\tif (IDCount < id) {\r\n\t\t\tIDCount = id + 1;\r\n\t\t}\r\n\t}",
"@Override\r\n \tpublic int hashCode() {\n \t\treturn id.hashCode();\r\n \t}",
"public void resetAllIdCounts() {\n \t\tthis.userCounterIdCounter = 0;\n \t\tthis.questionIdCounter = 0;\n \t\tthis.answerIdCounter = 0;\n \t\tthis.commentIdCounter = 0;\n \t}",
"@Override\n public int hashCode() {\n return (id == null) ? 0 : id.hashCode();\n }",
"private void assignMissingResidueIds() {\n \t\tfor (Atom atom: atomVector) {\n \t\t\tif (atom.residue_id == Integer.MIN_VALUE) {\n \t\t\t\tatom.residue_id = atom.authorResidue_id;\n \t\t\t\tatom.nonpolymer = true;\n \t\t\t}\n \t\t}\n \t}",
"private void clearSrcId() {\n srcId_ = emptyIntList();\n }",
"boolean hasStableIds();",
"@Override\n\t\t\tpublic int compare(int[] o1, int[] o2) {\n\t\t\t\treturn 0;\n\t\t\t}",
"@Override\n public long getCountWithName(String studentId) {\n return 0;\n }",
"@Override\n public int hashCode() {\n final int prime = 31;\n int result = 1;\n result = prime * result + ((id == null) ? 0 : id.hashCode());\n return result;\n }",
"@Override\n\tpublic int findIdPosition(Object arg0) {\n\t\treturn 0;\n\t}",
"@Override\n public int hashCode() {\n final int prime = 31;\n int result = 1;\n result = prime * result + id;\n return result;\n }",
"private static int validateId(Artist[] painterObject, int arrayCount) {\n\t\tboolean flag = true;\n\t\tSystem.out.println(\"Enter painter id:\");\n\t\tint id = AllValidationChecks.positiveIntegerCheck();\n\t\tfor (int i = 0; i < arrayCount; i++) {\n\t\t\tif (id == painterObject[i].getId()) {\n\t\t\t\tflag = false;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\treturn id;\n\t\t} else {\n\t\t\tSystem.out.println(\"id already exists\");\n\t\t\treturn validateId(painterObject, arrayCount);\n\t\t}\n\t}",
"int getOtherIds(int index);",
"int getMissingCount();",
"@Override\n public boolean hasStableIds() {\n return true;\n }",
"@Override\r\n public int hashCode() {\r\n final int prime = 31;\r\n int result = 1;\r\n result = prime * result + id;\r\n return result;\r\n }",
"@Override\r\n\tpublic long getTotal() {\n\t\treturn 0;\r\n\t}",
"public int countByid_(long id_);",
"public void can_counter()\n {\n candidate_count=0;\n for (HashMap.Entry<String,Candidate> set : allCandidates.entrySet())\n {\n candidate_count++;\n }\n }",
"@Override\n public int hashCode() {\n return Objects.hashCode(getId());\n }",
"@Override\n\tpublic int getID() {\n\t\treturn 0;\n\t}",
"int getIDS(String ids) throws IOException {\n String lines=\"\";\n String aux;\n int i = 0, j = 0, k = 0;\n\n BufferedReader br = new BufferedReader(new FileReader(ids)); /* Read all file adding to string */\n try {\n StringBuilder sb = new StringBuilder();\n String line = br.readLine();\n while (line != null) {\n sb.append(line);\n sb.append(System.lineSeparator());\n line = br.readLine();\n }\n lines = sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n br.close();\n }\n\n /* Add each each id to array and get the number of ids */\n i = lines.indexOf(\"id#:[\");\n k = lines.indexOf(\"]\");\n while (i >= 0) {\n /* AllPos[j] = Integer.parseInt(lines.substring(i+5,k));*/\n attrib_int(j, Integer.parseInt(lines.substring(i+5,k)));\n lines = lines.substring(k+1);\n i = lines.indexOf(\"id#:[\");\n if (i>=0)\n {\n aux = lines.substring(i);\n k = aux.indexOf(\"]\") + i;\n }\n j++;\n\n }\n ids_quantity=j;\n return (0);\n }",
"@Override\n public Long call() {\n long id0 = InstanceIdentifier.INSTANCE.getId(ref);\n ref.hashCode();\n long id1 = InstanceIdentifier.INSTANCE.getId(ref);\n ref.toString();\n long id2 = InstanceIdentifier.INSTANCE.getId(ref);\n ref.equals(ref);\n long id3 = InstanceIdentifier.INSTANCE.getId(ref);\n if (!(id0 == id1 && id1 == id2 && id2 == id3)) {\n\n return (long) -1;\n }\n\n return Long.valueOf(id0);\n }",
"public void resetIds()\r\n {\r\n this.ids = null;\r\n }",
"private void getLastId() {\n for (int i = 0; i < remindersTable.getRowCount(); i++) {\n if (parseInt(remindersTable.getValueAt(i, 7).toString()) > maxId) {\n maxId = parseInt(remindersTable.getValueAt(i, 7).toString());\n }\n }\n }",
"@Override\r\n public int hashCode() {\r\n int hash = 0;\r\n hash += (this.id != null ? this.id.hashCode() : 0);\r\n return hash;\r\n }",
"private void clearAId() {\n \n aId_ = 0;\n }",
"@Test\r\n\tpublic void testGetId() {\r\n\t\tassertEquals(1, breaku1.getId());\r\n\t\tassertEquals(2, externu1.getId());\r\n\t\tassertEquals(3, meetingu1.getId());\r\n\t\tassertEquals(4, teachu1.getId());\r\n\t}",
"@Override\r\n\tpublic int getResult() {\n\t\treturn 0;\r\n\t}",
"public int hashCode() {\r\n \tif (id != null){\r\n \t\treturn id.hashCode();\r\n \t}\r\n \treturn 0;\r\n }",
"public void resetInfoIds()\n\t{\n\t\tthis.resetSuggestedIds();\n\t\tthis.resetFreeIds();\n\t}",
"@Override\n public int hashCode() {\n return this.id;\n }",
"@Override\r\n\t\tpublic int count() {\n\t\t\treturn 0;\r\n\t\t}",
"int count() {\n\t\tArrayList<Integer> checked = new ArrayList<Integer>();\r\n\t\tint count = 0;\r\n\t\tfor (int x = 0; x < idNode.length; x++) {// Order of N2\r\n\t\t\tint rootX = getRoot(x);\r\n\t\t\tif (!checked.contains(rootX)) {// Order of N Access of Array\r\n\r\n\t\t\t\tSystem.out.println(\"root x is \" + rootX);\r\n\t\t\t\tcount++;\r\n\t\t\t\tchecked.add(rootX);// N Access of Array\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t}",
"public int generateId(){\n return repository.getCount()+1;\n }",
"public int count () {\n return member_id_list.length;\r\n }",
"private int containsHiddenNotes(HashSet<String> selectedIds) {\n\t\t\tint countOfHiddens = 0;\n\t\t\tint countOfShowed = 0;\n\t\t\tfor (String s : selectedIds) {\n\t\t\t\tif (s.startsWith(\"_\")) {\n\t\t\t\t\tcountOfHiddens++;\n\t\t\t\t} else\n\t\t\t\t\tcountOfShowed++;\n\t\t\t}\n\t\t\tif (countOfHiddens == 0 && countOfShowed > 0) {\n\t\t\t\treturn 1;\n\t\t\t} else if (countOfHiddens > 0 && countOfShowed == 0) {\n\t\t\t\treturn 2;\n\t\t\t} else {\n\t\t\t\treturn 0;\n\t\t\t}\n\n\t\t}",
"private int nextValidID() {\n return nextId++;\n }",
"@Override\n public int hashCode() {\n return this.id.hashCode();\n }",
"@Override\n public int hashCode() {\n \n final int code = 24;\n int result = 1;\n result = code * result + ((id == null) ? 0 : id.hashCode());\n return result;\n }",
"@Override\n public int hashCode() {\n return Objects.hash(id);\n }",
"private void resetIdsToFind()\r\n\t{\r\n\t\t/*\r\n\t\t * Reset all lists of given search items to empty lists, indicating full\r\n\t\t * search without filtering, if no search items are added.\r\n\t\t */\r\n\t\tsetSpectrumIdsTarget(new ArrayList<String>());\r\n\t}",
"private Vector<Integer> matchCheckPoint(List<Point> a) {\t\t\t\n\t\tVector<Integer> iDS= new Vector<>();\n\t\tfor(Point p :a) {\n\t\t\tif(!getAsphalt(p.x, p.y,this.trk).isIdDefalt()) {\n\t\t\t\tiDS.add(getAsphalt(p.x, p.y,this.trk).getId());\n\t\t\t}\n\t\t}\n\t\treturn iDS;\n\t}",
"public int getIndexNumber(){\n return id;\r\n }",
"@Override\r\n\tpublic int hashCode() {\n\t\treturn id;\r\n\t}",
"@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + id;\n\t\treturn result;\n\t}",
"@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + id;\n\t\treturn result;\n\t}",
"@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + id;\n\t\treturn result;\n\t}",
"private void calculateIdf(){\r\n\t\tIdf = new HashMap<>();\r\n\t\tOcc = new HashMap<>();\r\n\t\t\r\n\t\tfor (Entry<String, Document> doc : Docs.entrySet()){\r\n\t\t\tdoc.getValue().wordSet.forEach(word -> {\r\n\t\t\t\tdouble count = Idf.containsKey(word) ? Idf.get(word) : 0;\r\n \tIdf.put(word, count+1);\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\tdoc.getValue().words.forEach((w, o) -> words.add(w));\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tfor (Entry<String, Double> e : new HashMap<>(Idf).entrySet()){\r\n\t\t\tIdf.put(e.getKey(),\r\n\t\t\t\t\tMath.log(Idf.keySet().size() / e.getValue()));\r\n\t\t}\r\n\t}",
"public int antalNuller(ArrayList<Integer> list) {\r\n int nuller = 0;\r\n for (int i : list) {\r\n if (i == 0) {\r\n nuller++;\r\n }\r\n }\r\n return nuller;\r\n }",
"int getParentIdCount();",
"@Override\n\tpublic int getCount() {\n\t\treturn id.size();\n\t}",
"public DDCountInversion(){\n\t\tnumeros = new ArrayList<Integer>();\n\t}",
"private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }",
"public int generateUID() {\n if(mdb == null) {\n return -1;\n }\n TreeSet<Integer> sortedSet = new TreeSet<Integer>();\n Set<String> players = mdb.getKeys(false);\n for (String player : players) {\n List<Integer> messageids = mdb.getIntegerList(player + \".messageids\");\n if (messageids != null) {\n // add all messageids found for this player to our ordered set\n sortedSet.addAll(messageids);\n }\n }\n // make sure we don't enter negative number territory\n for(int i=Courier.MIN_ID; i<Courier.MAX_ID; i++) {\n if(sortedSet.add(i)) {\n // i wasn't in the set\n return i;\n }\n }\n return -1;\n }"
] | [
"0.6540421",
"0.63399535",
"0.6271744",
"0.6172217",
"0.61070555",
"0.6003876",
"0.5749363",
"0.5742283",
"0.57340425",
"0.57131183",
"0.57086456",
"0.56757134",
"0.56707835",
"0.56645775",
"0.56607646",
"0.56486446",
"0.56467575",
"0.5616084",
"0.5611443",
"0.56034976",
"0.5600764",
"0.5590335",
"0.55868644",
"0.5581049",
"0.55431026",
"0.5542783",
"0.5539487",
"0.55029297",
"0.55029297",
"0.55029297",
"0.55029297",
"0.55029297",
"0.55029297",
"0.55029297",
"0.55013525",
"0.549679",
"0.54865706",
"0.54753035",
"0.54628146",
"0.54555017",
"0.5447167",
"0.5444846",
"0.54350984",
"0.54038304",
"0.5400796",
"0.5400599",
"0.5393241",
"0.53907865",
"0.5389305",
"0.5383159",
"0.5381308",
"0.53766173",
"0.5372163",
"0.53644115",
"0.53593326",
"0.5347654",
"0.53253686",
"0.5321012",
"0.53209656",
"0.5320252",
"0.53145885",
"0.53145564",
"0.53098804",
"0.5309363",
"0.53093326",
"0.5297347",
"0.5294749",
"0.5293606",
"0.5292241",
"0.5291953",
"0.52917844",
"0.5285798",
"0.52819246",
"0.5279314",
"0.5272327",
"0.5270537",
"0.5270296",
"0.5267324",
"0.5264768",
"0.5260134",
"0.5256254",
"0.5255543",
"0.5239999",
"0.5239813",
"0.52302545",
"0.5222282",
"0.52203023",
"0.5213774",
"0.5202448",
"0.5199053",
"0.5194688",
"0.5190317",
"0.5190317",
"0.5190317",
"0.5189976",
"0.5186224",
"0.5180782",
"0.5175016",
"0.51735985",
"0.5168339",
"0.5168277"
] | 0.0 | -1 |
>>> dim1 will store the result after calculation | abstract void findArea(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int dim(){\n\t\treturn dimx*dimy;\n\t}",
"int dim() {\r\n\t\treturn dimt * dimx * dimy;\r\n\t}",
"@Override\n\tvoid findArea(double dim1) {\n\t\t\n\t}",
"private int getSumD1(int[][] a) {\n int sum = 0;\n for (int j = 0; j < a.length; j++) {\n sum += a[j][j];\n }\n return sum;\n }",
"private int getSumD2(int[][] a) {\n int sum = 0;\n\n int jd1 = 0;\n int jd2 = a.length - 1;\n while (jd1 < a.length) {\n sum += a[jd1][jd2];\n jd2--;\n jd1++;\n }\n return sum;\n }",
"public int getXD1 ()\n\t{\n\t\treturn xDimension1;\n\t}",
"public int getDimension() {\n \treturn dim;\n }",
"int dimensionality();",
"BigInteger getDimension();",
"public Matrix calculate();",
"@Override\n\tboolean computeDimensions() {\n\t\treturn true;\n\t}",
"private double calcB1() {\n double[] dataX = dsX.getDataX();\n double[] dataY = dsY.getDataY();\n double sumX = 0;\n double sumY = 0;\n double sumXY = 0;\n double sumXsq = 0;\n\n for (int i = 0; i < dataX.length; i++) {\n sumX += dataX[i];\n sumY += dataY[i];\n sumXY += dataX[i] * dataY[i];\n sumXsq += Math.pow(dataX[i], 2);\n }\n return (((dataX.length * sumXY) - (sumX * sumY)) / ((dataX.length * sumXsq) - (Math.pow(sumX, 2))));\n }",
"int getDimX(){\n\t\treturn dimx;\n\t}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private double[][] a2() {\n double[][] r = a;\n for (int j = 0; j < nBinVars; j++) {\n final int v = intVars[j];\n if (existsBinConstraint(v)) {\n LOG.debug(\"existsBinConstraint\", v);\n this.nBinVars2--;\n continue;\n }\n double[] constraint = new double[n];\n constraint[v - 1] = 1d;\n r = Maths.append(r, constraint);\n }\n return r;\n }",
"Dimension dimension();",
"public int getXD2 ()\n\t{\n\t\treturn xDimension2;\n\t}",
"@Override\n\tvoid findArea(double dim1, double dim2) {\n\t\tSystem.out.println(\"The area of Triangle: \"+(0.5*dim1*dim2));\n\t}",
"public final int dimension() { return _N; }",
"@Override\n\tpublic int getDimension() {\n\t\treturn 1;\n\t}",
"@Override\n\tpublic int getDimension() {\n\t\treturn 1;\n\t}",
"@Override\r\n\tpublic double calculate() {\n\t\treturn n1 * n2;\r\n\t}",
"@Override\r\n\tpublic double calculate() {\n\t\treturn n1 / n2;\r\n\t}",
"@Override\r\n\tpublic double calculate() {\n\r\n\t\treturn n1 + n2;\r\n\t}",
"public int getDimX ()\n {\n return m_dim_x;\n }",
"public abstract int getDimension();",
"public long[] dimensions()\n\t{\n\t\tint dimcount=multimemory.dims.length;\n\t\tlong[] o=new long[dimcount];\n\t\tfor (int i=0; i<o.length; i++)\n\t\t{\n\t\t\to[i]=multimemory.dims[i];\n\t\t\t\n\t\t}\n\t\t\n\t\treturn o;\n\t}",
"public int geomDim();",
"public long[][] getS1() {\n\t\treturn S1;\n\t}",
"public Unit<Dimensionless> one() {return one;}",
"public void dim(int value) {\n\n\t}",
"public static int answerQuery(int row1, int col1,\n int row2, int col2, int[][] preprocess) {\n int res = preprocess[row2][col2];\n\n if (row1 > 0) {\n res -= preprocess[row1 - 1][col2];\n }\n if (col1 > 0) {\n res -= preprocess[row2][col1 - 1];\n }\n if (row1 > 0 && col1 > 0) {\n res += preprocess[row1 - 1][col1 - 1];\n }\n return res;\n }",
"public Matrix extract(){\r\n\t\t\r\n\t\tDouble[][] newVal = new Double[col][row - 1];\r\n\t\t\r\n\t\tfor(Double[] row: AllVal){\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"int numberOfDimensions();",
"Dimension[] getDimension()\n\t\t{\n\t\t\treturn d;\n\t\t}",
"Dimension getDimensions();",
"public int getRealDim(int dim) {\r\n if (zoomFactor == 1.0 || dim == 0) return dim;\r\n return (int)((double)dim/zoomFactor);\r\n }",
"@Override\n\tvoid FindPerimeter(double dim1, double dim2) {\n\t\t\n\t}",
"public int dimensions() {\n\t\treturn dim;\n\t}",
"Dimension getDimension();",
"public int[] getDimensions(){\n int[] m={columnas*dimensionCasilla,filas*dimensionCasilla};\n return m;\n }",
"public void redimensionar() {\n\t\tthis.numCub *= 1.5;\n\t}",
"public default int getDimension() {\n\t\treturn 1;\n\t}",
"@Override\n\tvoid FindPerimeter(double dim1) {\n\t\tSystem.out.println(\"The perimeter of Triangle: \"+(3*dim1));\n\t}",
"double area() {\n System.out.println(\"Inside Area for Triangle.\");\n return dim1 * dim2 / 2;\n }",
"public double get(int arg0, int arg1) {\n\t\tif (arg0 < arg1 + hbw_ + 1 && arg1 < arg0 + hbw_ + 1) {\n\t\t\tif (arg0 <= arg1)\n\t\t\t\treturn mat_[arg0][arg1 - arg0];\n\t\t\telse\n\t\t\t\treturn mat_[arg1][arg0 - arg1];\n\t\t}\n\t\treturn 0.0;\n\t}",
"public int getDimX() {\r\n return dimX;\r\n }",
"public int getYD1 ()\n\t{\n\t\treturn yDimension1;\n\t}",
"@Override\r\n\tpublic double calculate() {\n\t\treturn n1 - n2;\r\n\t}",
"public float[] compute() {\r\n clearCache(); // unnecessary if already called when changing inputs\r\n float[] res = new float[neurons[neurons.length - 1].length];\r\n for (int i = 0; i < neurons[neurons.length - 1].length; i++) {\r\n res[i] = neurons[neurons.length - 1][i].compute();\r\n }\r\n return res;\r\n }",
"public double getSumX() { \n\t\treturn sumX1; \n\t}",
"private int[][] convertToTwnDimensionMatrix(int[] oneDimensionMatrix, int varNum)\r\n\t{\r\n\t\t// oneDimensionMatrix: the one dimension matrix that you want to convert:\r\n\t\t// matrixSize: the size (equals to the row or the column length) of the two dimension matrix of the result\r\n\t\tint[][] result = new int[varNum][varNum];\r\n\t\t\r\n\t\tfor (int m = 0; m < varNum; m++)\r\n\t\t{\r\n\t\t\tfor (int n = 0; n < varNum; n++)\r\n\t\t\t{\r\n\t\t\t\tresult[m][n] = oneDimensionMatrix[m*varNum + n];\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t return result;\r\n\t}",
"double[][][] getReduced(){\n \n return A4;\n }",
"public void updateDimensions() {\n }",
"void example2() {\n\t\t\n\t\tIndexedDataSource<HighPrecisionMember> list = ArrayDataSource.construct(G.HP, 1234);\n\t\t\n\t\t// fill the list with values\n\t\t\n\t\tFill.compute(G.HP, G.HP.unity(), list);\n\t\t\n\t\t// then calculate a result\n\n\t\tHighPrecisionMember result = G.HP.construct();\n\t\t\n\t\tSum.compute(G.HP, list, result); // result should equal 1234\n\t}",
"public double getIterate() {\n\treturn d1;\n }",
"public static int[] reduce (int []n1) {\n\t\tfor (int i = 0; i < n1.length; i++) {\n\t\t\tif (n1[i] != 0) {\n\t\t\t\tif (i == 0) return copy(n1);\n\t\t\t\t\n\t\t\t\tint []newVal = new int[n1.length-i];\n\t\t\t\textract(newVal,0,n1,i,n1.length-i);\n\t\t\t\treturn newVal;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// just zero.\n\t\treturn new int[]{0};\n\t}",
"public int getDimension() {\n return 0;\n }",
"protected float compute(){\n float result = 0f;\n String[] post = in2post(this.arr);\n result = post2ans(post);\n return result;\n }",
"private static void calc2(int[] darr) {\n\t\tdarr[2]=100;\n\t}",
"static float calculateNewVInOneDimension(float v, float v2, float m, float m2) {\n return ((v * (m - m2) + 2 * m2 * v2) / (m + m2));\n }",
"public double getX1()\n\t{\n\t\treturn this.x[1];\n\t}",
"@Override\n\tpublic D3int getDim() {\n\t\treturn myDim;\n\t}",
"private double getProblemDimensionality(){\n return this.dropPoints.size();\n }",
"public Matrix getValue();",
"public String getDimension()\r\n/* 277: */ {\r\n/* 278:341 */ return this.dimension;\r\n/* 279: */ }",
"public float getCurrentDimValue() {\n\t\treturn currentDimValue;\n\t}",
"public void determined0d1() {\n\n\t\tint upperBound = (int) (Math.log(this.numNVertices + this.numWVertices)); // pg 184 in paper\n\n\t\tthis.d0 = upperBound / 2;\n\t\tthis.d1 = upperBound;\n\n\t}",
"int[] shape(){\n int[] dimensions = new int[2];\n dimensions[0] = this.rows;\n dimensions[1] = this.cols;\n return dimensions;\n }",
"public static int sum1( int[][] a )\n {\n\t int sum = 0;\t\t\t\t\t\t\t\t\t//initiate variable to hold value of sum \n\n\t for (int i = 0; i < a.length; i++) {\t\t\t//iterate over each array\n\n\t\t for (int n = 0; n < a[i].length; n++) {\t//iterate over the contents of each array\n\t\t\t sum += a[i][n];\t\t\t\t\t\t//add each value to the sum variable\n\t\t }\n\n\t }\n\n\t return sum;\t\t\t\t\t\t\t\t\t//return said sum variable\n }",
"private int getResult() {\n ArrayList<Character> operanzi = new ArrayList<Character>();\n ArrayList<Character> operatori = new ArrayList<Character>();\n for(int i = 1; i <= n; i++){\n // System.out.println(i);\n if ((expr[i] == 'T' ) || (expr[i] == 'F'))\n operanzi.add(expr[i]);\n else \n operatori.add(expr[i]);\n }\n System.out.println(operanzi.get(0));\n int n1 = operanzi.size();\n System.out.println(n1);\n long [][] T = new long[n1][n1];\n long [][] F = new long[n1][n1];\n\n for (int i = 0; i < operanzi.size(); i++) {\n \n if (operanzi.get(i) == 'T') {\n T[i][i] = 1;\n F[i][i] = 0;\n } else if (operanzi.get(i) == 'F') {\n T[i][i] = 0;\n F[i][i] = 1;\n }\n }\n long aux=0;\n for (int l=1; l<n1; ++l) \n { \n for (int i=0, j=l; j<n1; ++i, ++j) \n { \n T[i][j] = F[i][j] = 0; \n for (int g=0; g<l; g++) \n { \n int k = i + g; \n long total_i_k = evaluate(T[i][k],F[i][k],'+'); \n long total_k_j = evaluate(T[k+1][j] , F[k+1][j],'+'); \n long total = evaluate(total_i_k,total_k_j,'*');\n if (operatori.get(k) == '&') \n { \n aux = evaluate(T[i][k],T[k+1][j],'*');\n T[i][j] = evaluate(T[i][j],aux,'+'); \n \n\n F[i][j] = evaluate( F[i][j],evaluate(total,aux,'-'),'+'); \n } \n if (operatori.get(k) == '|') \n { \n aux = evaluate(F[i][k],F[k+1][j],'*');\n F[i][j] = evaluate(F[i][j],aux,'+'); \n \n T[i][j] =evaluate( T[i][j],evaluate(total, aux,'-'),'+'); \n } \n if (operatori.get(k) == '^') \n { \n aux = evaluate(F[i][k],T[k+1][j],'*');\n long aux1= evaluate(T[i][k],F[k+1][j],'*');\n T[i][j] = evaluate( T[i][j],evaluate( aux , aux1,'+'),'+'); \n aux = evaluate(T[i][k],T[k+1][j],'*');\n aux1 = evaluate(F[i][k],F[k+1][j],'*');\n F[i][j] = evaluate( F[i][j],evaluate(aux,aux1,'+'),'+');\n } \n } \n } \n } \n return (int)T[0][n1-1]; \n }",
"public short[][] getIntensity(){ return intensity; }",
"public void Sumatoria()\n {\n for (int i = 0; i < vector1.length; i++) {\n sumatoria[i]=vector1[i]+vector2[i];\n }\n }",
"double area() {\nSystem.out.println(\"Inside Area for Rectangle.\");\nreturn dim1 * dim2;\n}",
"public double measure(int[] y1, int[] y2);",
"public double getSumXX() { \n\t\treturn sumX1X1; \n\t}",
"public void setX1()\n\t{\n\t\tthis.x[1] = this.x[0] - (this.length)/2;\n\t}",
"public long dimCount()\n\t{\n\t\treturn (long)multimemory.dims.length;\n\t}",
"public abstract Collection<T> getSecondDimension();",
"public static void main(String[] args) {\n\n// --> 4\n// int[][] arcustom ={{1,2,3}, 4>3 i = i + 1\n// {4,5,6}, 4 < 6 j = j-1\n // {7,8,9}}; -----> n+n = 2n\n//// // Important question\n// ----> n^2\n//\n// printWave(arcustom);\n//\n// int [][] ar = new int[4][2];\n//\n// for (int i = 0; i <ar.length ; i++) {\n// for (int j = 0; j < ar[i].length ; j++) {\n//\n// System.out.println(ar[i][j]);\n// }\n// }\n//\n// System.out.println();\n// System.out.println();\n//\n int [][] ar1 = new int[4][];\n\n ar1[0] = new int[6];\n ar1[1] =new int[5];\n ar1[2] = new int [3];\n ar1[3] = new int[2];\n\n\n for (int i = 0; i <ar1.length ; i++) {\n for (int j = 0; j < ar1[i].length ; j++) {\n\n System.out.print(ar1[i][j] + \" \");\n }\n System.out.println();\n }\n }",
"public static long[] dims(long... dim)\n {\n return dim;\n }",
"private int[] convertToOneDimensionMatrix(int[][] twoDimensionMatrix, int varNum)\r\n\t{\r\n\t // twoDimensionMatrix: the two dimension matrix that you want to convert\r\n\t\t// varNum: the size (equals to the row or the column length) of the two dimension matrix \r\n\t\t\r\n\t\t// length: the total number of units of the two dimension matrix that you want to convert:\r\n\t\tint length = varNum * varNum;\r\n\t\t\r\n\t\t// tempArrayList: store the result in the format of ArrayList, then convert it to int[]:\r\n\t\tArrayList <Integer> tempArrayList = new ArrayList<Integer>();\r\n\t\t\r\n\t\t// result (one dimensional)\r\n\t\tint[] result = new int[length];\r\n\t\t\r\n\t\tfor(int m = 0; m < varNum; m++)\r\n\t\t{\r\n\t\t\tfor(int n = 0; n < varNum; n++)\r\n\t\t\t{\r\n\t\t\t\ttempArrayList.add(twoDimensionMatrix[m][n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\t// convert the tempArrayList to int[]:\r\n\t\tfor (int i = 0; i < tempArrayList.size(); i++)\r\n\t\t{\r\n\t\t\tresult[i] = tempArrayList.get(i);\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t\t\r\n\t}",
"double area() {\nSystem.out.println(\"Inside Area for Rectangle.\");\nreturn dim1 * dim2;\n }",
"public static int numDimensions_data() {\n return 1;\n }",
"public static Long sum(MultiDimensionArray mArray, int[] lengthOfDeminsion) { \n // Time complexity: O(n)\n // Space complexity: O(1)\n\t \n \tif(lengthOfDeminsion == null || lengthOfDeminsion.length == 0){\n \t\treturn (long) 0;\n \t}\n \t\n \tlong sum = 0;\n \t//Initialize an array to store the indexOfDimension\n \tint[] iod = new int[lengthOfDeminsion.length];\n \t\n \t/*It's easy to imagine that we should use a loop that has variable number of levels (not sure if it's allowed in java) \n \tBut we can calculate the multiplication of the domain from each level \n \tThen map the index back using only one variable.*/\n \tint mul = 1;\n \tfor(int i = 0; i < lengthOfDeminsion.length; i++){\n \t\tmul = mul * lengthOfDeminsion[i];\n \t}\n \tfor(int i = 0; i < mul; i++){\n \t\tint temp = mul;\n \t\tfor(int j = 0; j < lengthOfDeminsion.length; j++){\n \t\t\tiod[j] = i * lengthOfDeminsion[j] / temp % lengthOfDeminsion[j];\n \t\t\ttemp = temp / lengthOfDeminsion[j];\n \t\t}\n \t\tsum = sum + getValue(iod);\n \t}\n \treturn sum; \t\n }",
"private static void sum(int[][] first, int[][] second) {\r\n\t\tint row = first.length;\r\n\t\tint column = first[0].length;\r\n\t\tint[][] sum = new int[row][column];\r\n\r\n\t\tfor (int r = 0; r < row; r++) {\r\n\t\t\tfor (int c = 0; c < column; c++) {\r\n\t\t\t\tsum[r] = first[r] + second[r];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"\\nSum of Matrices:\\n\");\r\n\t\tprint2dArray(sum);\r\n\t}",
"Matrix sumRows(){\n Matrix matrix_to_return = new Matrix(1, this.cols);\n double[][] tmp = this.asArray();\n int k=0;\n for(int i=0; i<this.cols; i++){\n for(int j=0; j<this.rows; j++) {\n matrix_to_return.data[k] += tmp[j][i];\n }\n k++;\n }\n return matrix_to_return;\n }",
"private double dist(double [] v1, double [] v2){\n \t\tdouble sum=0;\n \t\tfor (int i=0; i<nDimensions; i++){\n \t\t\tdouble d = v1[i]-v2[i];\n \t\t\tsum += d*d;\n \t\t}\n \t\treturn Math.sqrt(sum);\n \t}",
"public static int[] dims(int... dim)\n {\n return dim;\n }",
"public void addArrayDimension() {\r\n\t\ttheArrayDimension++;\r\n\t}",
"int calculate() {\n return getSum() + b1;\n }",
"public float getX1() {\r\n return (b + 3*a)/3;\r\n }",
"@Override\n\t// For extra credit\n\tpublic long analyzeInverse(double[][] m1, double[][] m2) \n\t{\n\t\t// TODO Auto-generated method stub\n\t\treturn 0;\n\t}",
"public static int numDimensions_entries_receiveEst() {\n return 1;\n }",
"public double getSumXY() { \n\t\treturn sumX1Y; \n\t}",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int N = in.nextInt();\n //System.out.println(N);\n int[][] array = new int[N][N];\n for(int i = 0 ; i < N ; i++){\n for(int j =0 ; j < N; j++){\n int val = in.nextInt();\n array[i][j] = val; \n } \n }\n int sum1 = 0;\n for(int i = 0 ; i < N ; i++){\n sum1+= array[i][i];\n }\n //System.out.println(sum1);\n int sum2 = 0;\n int tempCol =N-1;\n for(int i =0 ; i < N ; i++){\n sum2+= array[i][tempCol];\n tempCol--;\n }\n //System.out.println(sum2);\n sum1 = Math.abs(sum1-sum2);\n System.out.println(sum1);\n }",
"private int dimPowerOfTwo(int dim) {\r\n\r\n if (dim <= 4) {\r\n return 4;\r\n } else if (dim <= 8) {\r\n return 8;\r\n } else if (dim <= 16) {\r\n return 16;\r\n } else if (dim <= 32) {\r\n return 32;\r\n } else if (dim <= 64) {\r\n return 64;\r\n } else if (dim <= 128) {\r\n return 128;\r\n } else if (dim <= 256) {\r\n return 256;\r\n } else if (dim <= 512) {\r\n return 512;\r\n } else if (dim <= 1024) {\r\n return 1024;\r\n } else if (dim <= 2048) {\r\n return 2048;\r\n } else if (dim <= 4096) {\r\n return 4096;\r\n } else if (dim <= 8192) {\r\n return 8192;\r\n } else if (dim <= 16384) {\r\n return 16384;\r\n } else if (dim <= 32768) {\r\n return 32768;\r\n } else {\r\n return 65536;\r\n }\r\n }",
"private static long mapType1QuantValues(long entries, long dimension) {\n return (long) Math.floor(Math.pow(entries, 1.d / dimension));\n }",
"int getDimY(){\n\t\treturn dimy;\n\t}",
"abstract int calculateMinimumSize(int axis);",
"private int[] getMeasures(ImageData input, boolean byRows) {\n int[] result = new int[2];\n\n if (byRows) {\n result[0] = input.measures.width;\n result[1] = input.measures.height;\n } else {\n result[0] = input.measures.height;\n result[1] = input.measures.width;\n }\n\n return result;\n }"
] | [
"0.6419811",
"0.62664014",
"0.6106295",
"0.6095831",
"0.5981493",
"0.5936308",
"0.5752175",
"0.5733635",
"0.5692362",
"0.5683349",
"0.5591833",
"0.55750656",
"0.5572818",
"0.55075604",
"0.5483838",
"0.54816484",
"0.5472118",
"0.54718757",
"0.54529005",
"0.54457057",
"0.54457057",
"0.54326874",
"0.5412051",
"0.5389622",
"0.53801835",
"0.5378216",
"0.535118",
"0.53449786",
"0.53341305",
"0.53080505",
"0.53033316",
"0.5301858",
"0.5297232",
"0.529444",
"0.52894133",
"0.52838415",
"0.52788323",
"0.52647734",
"0.52606994",
"0.5245482",
"0.5241423",
"0.5240838",
"0.5240654",
"0.52352923",
"0.5225997",
"0.5225099",
"0.52223194",
"0.5218128",
"0.521694",
"0.51998484",
"0.5197313",
"0.5188959",
"0.5187864",
"0.518319",
"0.51812774",
"0.5177526",
"0.5163831",
"0.5158662",
"0.5149246",
"0.5143874",
"0.5142078",
"0.51335436",
"0.5127354",
"0.5125134",
"0.5120716",
"0.51204485",
"0.51161116",
"0.511358",
"0.51065546",
"0.50798553",
"0.50752926",
"0.5069374",
"0.50493544",
"0.50454956",
"0.50394946",
"0.5038485",
"0.5035481",
"0.5020537",
"0.50205064",
"0.5019193",
"0.50185555",
"0.5015236",
"0.50105023",
"0.5000566",
"0.49992424",
"0.4995336",
"0.49927765",
"0.49922958",
"0.49885553",
"0.4988516",
"0.49720973",
"0.49659786",
"0.4957883",
"0.49551272",
"0.4955098",
"0.49536294",
"0.49477747",
"0.49457115",
"0.49449664",
"0.493135",
"0.49297345"
] | 0.0 | -1 |
>>> This is the abstract method to calculate Area of the Figure | abstract void findPerimeter(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract double calculateArea();",
"public abstract double calculateArea();",
"public abstract double computeArea();",
"public abstract float calArea();",
"abstract double area();",
"abstract double area();",
"abstract double area();",
"abstract double area();",
"public abstract double getArea();",
"public abstract double getArea();",
"public abstract double getArea();",
"@Override\r\n\tpublic void calcArea() {\n\t\t\r\n\t}",
"double calculateArea();",
"public abstract double calcBaseArea();",
"@Override\r\n public double calculateArea() {\n double area = 0;\r\n return area;\r\n }",
"public abstract float getArea();",
"public abstract float area();",
"@Override\n\tpublic void calcularArea() {\n\t\t\n\t}",
"double getArea();",
"double getArea();",
"public double getArea();",
"public double getArea();",
"public double getArea();",
"public void claShapeArea(){\r\n\t\tshape.calArea();\r\n\t}",
"public double area();",
"void calculateArea() {\n this.setArea(this.getArea()/2);\n }",
"public double calculateArea(){\r\n\t\treturn this.getSide()*this.getSide();\r\n}",
"@Override\r\n public double area() {\n return height*width;\r\n }",
"static Double computeArea() {\n // Area is height x width\n Double area = height * width;\n return area;\n }",
"@Override\n\tpublic double calculateArea() {\n\t\treturn Shape.PI * r*r;\n\t}",
"public double area() \n {\n double area = 0;\n for (Line2D line : lines) \n {\n area += line.getP1().getX() * line.getP2().getY();\n area -= line.getP2().getX() * line.getP1().getY();\n }\n area /= 2.0;\n return Math.abs(area);\n }",
"double area();",
"@Override\r\n\tpublic double getArea() {\n\t\treturn (this.base * this.height)/2;\r\n\t}",
"@Override\n double areaFigure() {\n if (!isRealFigure()) {\n return -1;\n }\n //When the triangular prism is real\n double faceArea = (getA() + getB() + getC()) * getD();\n return faceArea + 2 * super.areaFigure();\n }",
"public double area(){\n return (base*height) / 2;\n }",
"public double calculateArea()\n {\n return (Math.PI * radius) * (Math.PI * radius);\n }",
"@Override\n public double getArea() {\n return width * width;\n }",
"@Override\n\tpublic void computeArea() {\n\t\tthis.area = length * length;\t\t\t\t\n\t}",
"@Override\r\n\tpublic double area() {\r\n\r\n\t\treturn this.sideA*this.sideB;\r\n\t}",
"protected double getArea()\r\n {\r\n return ( side * side ) / 2;\r\n }",
"@Override\n\tpublic double getArea() {\n\t\tdouble p = getPerimeter() / 2;\n\t\tdouble s = p * ((p - side1) * (p - side2) * (p - side3));\n\t\tdouble Area = Math.sqrt(s);\n\t\treturn Area;\n\t}",
"@Override\n\tpublic double computeArea()\n\t{\n\t\treturn\n\t\t\t\tthis.length * this.width;\n\t}",
"@Override\n void calculateArea() {\n float area = (float) (0.5 * bottom * height);\n System.out.println(\"Area is \" + area);\n }",
"public double computeArea() {\n\t\treturn 0;\n\t}",
"@Override\n public double getArea() {\n return this.length*this.width; //To change body of generated methods, choose Tools | Templates.\n }",
"public double Area() {\r\n \treturn(getLength() * getWidth());\r\n }",
"@Override\r\n\tpublic double getArea() {\n\t\tdouble Area1 = ((super.getLength() * height));\r\n\t\tdouble Area2 = ((super.getWidth() * height));\r\n\t\treturn (Area1 * 2 + Area2 * 2 + super.getArea() * 2);\r\n\t\t\r\n\t}",
"public double calcArea()\n\t{\n\t\treturn (double) oneside * oneside;\n\t}",
"@Override\n public double area() {\n return width * length;\n }",
"public double calculateArea() {\r\n return PI * radius * radius;\r\n }",
"@Override\n public double getArea() {\n double s = (a + b + c) / 2;\n return Math.sqrt(s * (s - a) * (s - b) * (s - c));\n }",
"@Override\n\tpublic double area() {\n\t\treturn getBase()*getAltura();\n\t}",
"@Override\n public double getArea() {\n double area = this.length*this.width;\n return area;\n }",
"@Override\n\tpublic double getArea() {\n\t\treturn height * width;\n\t}",
"Double getAreaValue();",
"@Override\n\tpublic double getArea() {\n\t\treturn (2 + 2 * (Math.sqrt(2))) * side * side; // JA\n\t}",
"@Override\n\tpublic double area() {\n\t\treturn Shape.PI*radius*radius;\n\t}",
"public double getArea(){\n return 3.14 * radius * radius;\n }",
"public float area() {\n return (getBase() * getAltura() )/ 2;\n }",
"public double getArea()\r\n\t{\r\n\t\treturn(super.getHeight()*super.getWidth());\r\n\t}",
"@Override\n public double area() {\n double P = this.perimeter() / 2;\n double result = Math.sqrt(P * (P - side1) * (P - side2) * (P - side3));\n return result;\n }",
"double getArea() {\n return width * height;\n }",
"@Override\n\tpublic double area() {\n\t\treturn edge*edge;\n\t}",
"public void calArea()\n {\n //Start of the formula\n for(int i = 0; i < sides-1; i++)\n {\n area += (poly[i].getX()*poly[i+1].getY())-(poly[i].getY()*poly[i+1].getX());\n }\n\n //half the total calculation\n area = area/2;\n\n //if area is negative times by -1\n if(area <= 0)\n {\n area = area*-1;\n }\n }",
"public double area(){\r\n\t\treturn this.base()*this.altezza();\r\n\t}",
"public double computeArea()\n {\n int len = _points.size();\n Point p1 = _points.get(len - 1);\n\n double area = 0.0;\n\n // Compute based on Green's Theorem.\n for(int i = 0; i < len; i++)\n {\n Point p2 = _points.get(i);\n area += (p2.x + p1.x)*(p2.y - p1.y);\n p1 = p2; // Shift p2 to p1.\n }\n\n return -area / 2.0;\n }",
"@Override\n\tpublic double getArea() {\n\t\treturn width * length;\n\t}",
"public double calcArea() {\r\n\t\tdouble area = length * width;\r\n\t\treturn area;\r\n\t}",
"private void getArea() {\n\t\tdouble a = 0;\n\t\tint n = points.length;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\ta += (points[i-1].x + points[i].x) * (points[i-1].y - points[i].y);\n\t\t}\n\t\t// process last segment if ring is not closed\n\t\tif (!points[0].equals(points[n-1])) {\n\t\t\ta += (points[n-1].x + points[0].x) * (points[n-1].y - points[0].y);\n\t\t}\n\t\tarea = Math.abs(a / 2);\n\t}",
"@Override\n\tpublic double getArea() {\n\t\treturn (0.5*this.base*this.height);\n\t}",
"public float area() {\n return (base * haltura / 2);\r\n }",
"public double area() {\n\t\treturn width * height;\n\t}",
"@Override\n public double area()\n {\n\treturn (double) length * width;\n }",
"@Override\n\tpublic double getArea() {\n\t\treturn width*length;\n\t}",
"@Override\n\tpublic double getArea() {\n\t\treturn width*length;\n\t}",
"public int area() {\n \tarea = width()*height();\n }",
"@Override\r\n\tpublic double getArea() {\r\n\t\treturn width * height;\r\n\t}",
"@Override\r\n\tpublic double getArea() {\r\n\t\treturn width * height;\r\n\t}",
"public double getArea()\n {\n return area;\n }",
"@Override\n\tpublic double getArea() {\n\t\treturn Math.pow(getSide(), 2) * this.N / 4 * (Math.tan(Math.toRadians(180 / this.N)));\n\t}",
"@Override\n public double obtenerArea(){\n return c.obtenerArea() * 4;\n }",
"@Override\n\tpublic double area() {\n\t\t// TODO Auto-generated method stub\n\t\treturn 0;\n\t}",
"public double getArea(){\n double p = (side1 + side2 + side3) / 2;\n return Math.sqrt(p * (p - side1) * (p - side2) * (p - side3));\n }",
"@Override\r\n public double getArea() {\r\n return (0.5 * (base * height));\r\n }",
"public double area(){\n\t\tdouble area=length*width;\r\n\t\treturn area;\r\n\t}",
"double area() {\n System.out.println(\"Inside Area for Rectangle.\");\n return dim1 * dim2;\n }",
"public void getArea() {\n\t\ts = (double) (a + b + c) / 2;\n\t\tarea = Math.sqrt(s * (s - a) * (s - b) * (s - c));\n\t\tSystem.out.println(\"Area: \" + area);\n\t}",
"@Override\r\n\tpublic double area() {\n\t\treturn pi*this.radi*this.radi;\r\n\t}",
"public double getArea() {\n\t\treturn super.getArea()*height;\r\n\t}",
"public double getArea() {\n return ((this.xR - this.xL) * (this.yT - this.yD));\n }",
"public double Area() {\n return OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_Area(swigCPtr, this);\n }",
"@Override\n public double getArea() {\n return (int) this.radiusX * (int) this.radiusY * Math.PI;\n }",
"double area() {\n System.out.println(\"Inside Area for Triangle.\");\n return dim1 * dim2 / 2;\n }",
"public double area()\r\n {\r\n float dx = tr.getX() - bl.getX();\r\n float dy = tr.getY() - bl.getY();\r\n return dx*dy;\r\n }",
"public double calcularArea() {\n\t\treturn base * altura;\n\t}",
"public abstract int getArea();",
"public double getArea() {\n\t\treturn 4.0 * Math.PI * this.radius * this.radius;\n\t}",
"public double getArea() { return Math.sqrt(s * (s - d12) * (s - d23) * (s - d31)); }",
"@Override\n\tpublic double getArea()\n\t{\n\t\treturn isAtivado() ? calculaArea(getDiametro()) : 0.0;\n\t}",
"@Override\n\tpublic double area() {\n\t\t\n\t\tdouble area = (Math.PI * Math.pow(radius, 2));\n\t\treturn area;\n\t\t\n\t}",
"public double area() {\n return (width * height);\n }"
] | [
"0.8596207",
"0.8596207",
"0.8524962",
"0.8491335",
"0.8276293",
"0.8276293",
"0.8276293",
"0.8276293",
"0.8254061",
"0.8254061",
"0.8254061",
"0.8203313",
"0.81502026",
"0.81315064",
"0.8082862",
"0.8064283",
"0.8035457",
"0.8031976",
"0.7943611",
"0.7943611",
"0.7933832",
"0.7933832",
"0.7933832",
"0.7853149",
"0.78060067",
"0.77833456",
"0.77506936",
"0.7639576",
"0.7602578",
"0.759954",
"0.75462997",
"0.7532456",
"0.7517014",
"0.7513735",
"0.7506075",
"0.7490313",
"0.7482813",
"0.74718964",
"0.7471721",
"0.7466639",
"0.74574625",
"0.7433139",
"0.74259615",
"0.7419349",
"0.74050456",
"0.7404902",
"0.73851234",
"0.73850054",
"0.7370651",
"0.7368467",
"0.73618734",
"0.7357015",
"0.7347982",
"0.7337252",
"0.7328856",
"0.7324805",
"0.731841",
"0.73046184",
"0.73027533",
"0.7301388",
"0.7298489",
"0.72828734",
"0.7281333",
"0.72809964",
"0.72673786",
"0.7267144",
"0.72646",
"0.7262699",
"0.7260952",
"0.7253773",
"0.7253745",
"0.7253701",
"0.7237587",
"0.7235372",
"0.7235372",
"0.723441",
"0.7228527",
"0.7228527",
"0.72198236",
"0.7217683",
"0.72161317",
"0.7214437",
"0.7212211",
"0.7207994",
"0.7207591",
"0.72042674",
"0.72041035",
"0.71917707",
"0.7190689",
"0.71863663",
"0.7181991",
"0.71797067",
"0.7177766",
"0.71744555",
"0.7164578",
"0.7161205",
"0.7161034",
"0.7159721",
"0.7158054",
"0.7157531",
"0.7149264"
] | 0.0 | -1 |
123 123 0xff 0xff 0o44 0o44 0b1010 ob111 123.45 123e5 123e5 | @Override
public NumberExpr parse(ModuleState state, ASTNode parent) {
var s = state.tokens.value().toLowerCase();
state.tokens.next();
boolean neg = s.startsWith("-");
if(neg) s = s.substring(1);
if(s.length()>1) {
if(s.startsWith("0x")) {
this.value = Long.parseLong(s.substring(2), 16);
} else if(s.startsWith("0o")) {
this.value = Long.parseLong(s.substring(2), 8);
} else if(s.startsWith("0b")) {
this.value = Long.parseLong(s.substring(2), 2);
} else if(s.contains(".")) {
this.value = Double.parseDouble(s);
} else if(s.contains("e")) {
/* scientific notation */
this.value = Double.parseDouble(s);
} else {
this.value = Long.parseLong(s);
}
} else {
/* Single digit must be an int */
this.value = Integer.parseInt(s);
}
if(neg) this.value = -this.value;
parent.add(this);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract byte[] mo32305a(String str);",
"C12000e mo41091f(String str);",
"@Test\n @Tag(\"bm1000\")\n public void testFFFFF800() {\n CuteNetlibCase.doTest(\"FFFFF800.SIF\", \"555679.5648174941\", \"1858776.4328128027\", NumberContext.of(7, 4));\n }",
"void mo30633b(int i, String str, byte[] bArr);",
"void mo8445a(int i, String str, int i2, byte[] bArr);",
"public abstract byte read_octet();",
"int mo9702b(String str, String str2, float f);",
"short getDP1( byte[] buffer, short offset );",
"@Test\n public void decodeStringDelta()\n {\n {\n final BinaryEncoder encoder = new BinaryEncoder(0, 16, 1.0);\n assertEquals(3.0, encoder.decode(\"0011\"), 0.0);\n }\n\n {\n final BinaryEncoder encoder = new BinaryEncoder(0, 16, 2.0);\n assertEquals(0.0, encoder.decode(\"0001\"), 2.0);\n }\n\n {\n final BinaryEncoder encoder = new BinaryEncoder(0, 16, 0.5);\n assertEquals(3.0, encoder.decode(\"00110\"), 0.0);\n }\n }",
"@Test\n @Tag(\"bm1000\")\n public void testKB2() {\n CuteNetlibCase.doTest(\"KB2.SIF\", \"-1.74990012991E+03\", \"0.0\", NumberContext.of(7, 4));\n }",
"@Override\n\tpublic void interpretBytes() {\n\t\t\n\t}",
"private static String m2380a(byte[] bArr, byte[] bArr2) {\n byte[] bArr3 = new byte[(((bArr.length + 2) / 3) * 4)];\n int length = bArr.length - (bArr.length % 3);\n int i = 0;\n for (int i2 = 0; i2 < length; i2 += 3) {\n int i3 = i + 1;\n bArr3[i] = bArr2[(bArr[i2] & 255) >> 2];\n int i4 = i3 + 1;\n int i5 = i2 + 1;\n bArr3[i3] = bArr2[((bArr[i2] & 3) << 4) | ((bArr[i5] & 255) >> 4)];\n int i6 = i4 + 1;\n int i7 = i2 + 2;\n bArr3[i4] = bArr2[((bArr[i5] & 15) << 2) | ((bArr[i7] & 255) >> 6)];\n i = i6 + 1;\n bArr3[i6] = bArr2[bArr[i7] & 63];\n }\n switch (bArr.length % 3) {\n case 1:\n int i8 = i + 1;\n bArr3[i] = bArr2[(bArr[length] & 255) >> 2];\n int i9 = i8 + 1;\n bArr3[i8] = bArr2[(bArr[length] & 3) << 4];\n int i10 = i9 + 1;\n bArr3[i9] = 61;\n bArr3[i10] = 61;\n break;\n case 2:\n int i11 = i + 1;\n bArr3[i] = bArr2[(bArr[length] & 255) >> 2];\n int i12 = i11 + 1;\n int i13 = length + 1;\n bArr3[i11] = bArr2[((bArr[length] & 3) << 4) | ((bArr[i13] & 255) >> 4)];\n int i14 = i12 + 1;\n bArr3[i12] = bArr2[(bArr[i13] & 15) << 2];\n bArr3[i14] = 61;\n break;\n }\n try {\n return new String(bArr3, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n throw new AssertionError(e);\n }\n }",
"byte mo30283c();",
"private static boolean m66062a(String str, int i, int i2, byte[] bArr, int i3) {\n int i4 = i3;\n while (i < i2) {\n if (i4 == bArr.length) {\n return false;\n }\n if (i4 != i3) {\n if (str.charAt(i) != '.') {\n return false;\n }\n i++;\n }\n int i5 = i;\n int i6 = 0;\n while (i5 < i2) {\n char charAt = str.charAt(i5);\n if (charAt < '0' || charAt > '9') {\n break;\n } else if (i6 == 0 && i != i5) {\n return false;\n } else {\n i6 = ((i6 * 10) + charAt) - 48;\n if (i6 > 255) {\n return false;\n }\n i5++;\n }\n }\n if (i5 - i == 0) {\n return false;\n }\n int i7 = i4 + 1;\n bArr[i4] = (byte) i6;\n i4 = i7;\n i = i5;\n }\n if (i4 != i3 + 4) {\n return false;\n }\n return true;\n }",
"C12000e mo41087c(String str);",
"String shortRead();",
"byte[] mo38566a();",
"ByteOrder byteOrder();",
"public static String convert(byte[] bytes) {\n/* 34 */ StringBuffer sb = new StringBuffer(bytes.length * 2);\n/* 35 */ for (int i = 0; i < bytes.length; i++) {\n/* 36 */ sb.append(hexs[bytes[i] >> 4 & 0xF]);\n/* 37 */ sb.append(hexs[bytes[i] & 0xF]);\n/* */ } \n/* 39 */ return sb.toString();\n/* */ }",
"public abstract void mo4360a(byte b);",
"public static String a(byte paramByte) {\n/* 65 */ return \"\" + a[(paramByte & 0xF0) >>> 4] + a[paramByte & 0xF];\n/* */ }",
"@Test\n public void decodeString()\n {\n final BinaryEncoder encoder = new BinaryEncoder(16);\n assertThat(encoder.decode(\"0011\"), is(3.0));\n }",
"private String processBytes(String bytes){\n Pattern p = Pattern.compile(\"170-180\");\r\n Matcher m = p.matcher(bytes);\r\n //find two bounds\r\n int posi[] = new int[2];\r\n for(int i=0;i<2;i++){\r\n if(m.find()) posi[i] = m.start();\r\n }\r\n //Cut string\r\n return bytes.substring(posi[0], posi[1]);\r\n }",
"short getDQ1( byte[] buffer, short offset );",
"C2451d mo3408a(C2457e c2457e);",
"public void printBuffer(byte[] buf, int len) {\n byte b;\n Integer myInt = new Integer(0);\n int theInt = 0;\n System.err.println(\"buffer: \");\n edu.hkust.clap.monitor.Monitor.loopBegin(141);\nfor (int i = 0; i < len; i++) { \nedu.hkust.clap.monitor.Monitor.loopInc(141);\n{\n b = buf[i];\n if (!Character.isISOControl((char) b)) {\n Character ch = new Character((char) b);\n System.err.print(\" \" + ch.charValue() + \" \");\n } else {\n theInt = 0xff & b;\n if (theInt < 16) {\n System.err.print(\"0\" + myInt.toHexString(theInt) + \" \");\n } else {\n System.err.print(myInt.toHexString(theInt) + \" \");\n }\n }\n }} \nedu.hkust.clap.monitor.Monitor.loopEnd(141);\n\n System.err.print(\"\\n\");\n }",
"@Test(timeout = 4000)\n public void test077() throws Throwable {\n byte[] byteArray0 = new byte[1];\n ValueLobDb valueLobDb0 = ValueLobDb.createSmallLob(1459, byteArray0, (byte)0);\n Reader reader0 = valueLobDb0.getReader();\n StreamTokenizer streamTokenizer0 = new StreamTokenizer(reader0);\n streamTokenizer0.nval = 32768.0;\n String string0 = SQLUtil.renderNumber(streamTokenizer0);\n assertEquals(\"32768\", string0);\n }",
"@Test\n\tpublic void testBytesToHexStringForSrcMode() throws Exception {\n//TODO: Test goes here... \n\t}",
"int readS16BE(String name)\n throws IOException, EOFException;",
"public static String printBinary (String n){\n\t\tint intPart = Integer.parseInt(n.substring(0, n.indexOf(\".\")));\n\t\tdouble decPart = Double.parseDouble(n.substring(n.indexOf(\".\")));\n\t\tString iPart = \"\";\n\t\tint bit;\n\t\twhile(intPart > 0){\n\t\t\tbit = intPart %2; //take mod result as the last digit.\n\t\t\tintPart >>= 1;\n\t\t\tiPart = bit + iPart;\n\t\t}\n\t\t\n\t\tString dPart = \"\";\n\t\tdouble val;\n\t\twhile (decPart > 0) {//any left over value?\n\t\t\tif(dPart.length() > 32) return \"Error\";//too long to represent\n\t\t\tval = decPart * 2;\n\t\t\tif(val >= 1) {\n\t\t\t\tdecPart = val - 1;\n\t\t\t\tdPart += 1;\n\t\t\t} else {\n\t\t\t\tdecPart = val;\n\t\t\t\tdPart += 0;\n\t\t\t}\n\t\t}\n\t\treturn iPart + \".\" + dPart;\n\t}",
"float mo56157b();",
"private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }",
"com.google.protobuf.ByteString getE();",
"java.lang.String getField1128();",
"java.lang.String getField1110();",
"public static String encode(byte[] binaryData) {\n \n if (binaryData == null)\n return null;\n \n int lengthDataBits = binaryData.length*EIGHTBIT;\n if (lengthDataBits == 0) {\n return \"\";\n }\n \n int fewerThan24bits = lengthDataBits%TWENTYFOURBITGROUP;\n int numberTriplets = lengthDataBits/TWENTYFOURBITGROUP;\n int numberQuartet = fewerThan24bits != 0 ? numberTriplets+1 : numberTriplets;\n int numberLines = (numberQuartet-1)/19+1;\n char encodedData[] = null;\n \n encodedData = new char[numberQuartet*4+numberLines];\n \n byte k=0, l=0, b1=0,b2=0,b3=0;\n \n int encodedIndex = 0;\n int dataIndex = 0;\n int i = 0;\n if (fDebug) {\n System.out.println(\"number of triplets = \" + numberTriplets );\n }\n \n for (int line = 0; line < numberLines-1; line++) {\n for (int quartet = 0; quartet < 19; quartet++) {\n b1 = binaryData[dataIndex++];\n b2 = binaryData[dataIndex++];\n b3 = binaryData[dataIndex++];\n \n if (fDebug) {\n System.out.println( \"b1= \" + b1 +\", b2= \" + b2 + \", b3= \" + b3 );\n }\n \n l = (byte)(b2 & 0x0f);\n k = (byte)(b1 & 0x03);\n \n byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);\n \n byte val2 = ((b2 & SIGN)==0)?(byte)(b2>>4):(byte)((b2)>>4^0xf0);\n byte val3 = ((b3 & SIGN)==0)?(byte)(b3>>6):(byte)((b3)>>6^0xfc);\n \n if (fDebug) {\n System.out.println( \"val2 = \" + val2 );\n System.out.println( \"k4 = \" + (k<<4));\n System.out.println( \"vak = \" + (val2 | (k<<4)));\n }\n \n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val1 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val2 | ( k<<4 )];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ (l <<2 ) | val3 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ b3 & 0x3f ];\n \n i++;\n }\n encodedData[encodedIndex++] = 0xa;\n }\n \n for (; i<numberTriplets; i++) {\n b1 = binaryData[dataIndex++];\n b2 = binaryData[dataIndex++];\n b3 = binaryData[dataIndex++];\n \n if (fDebug) {\n System.out.println( \"b1= \" + b1 +\", b2= \" + b2 + \", b3= \" + b3 );\n }\n \n l = (byte)(b2 & 0x0f);\n k = (byte)(b1 & 0x03);\n \n byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);\n \n byte val2 = ((b2 & SIGN)==0)?(byte)(b2>>4):(byte)((b2)>>4^0xf0);\n byte val3 = ((b3 & SIGN)==0)?(byte)(b3>>6):(byte)((b3)>>6^0xfc);\n \n if (fDebug) {\n System.out.println( \"val2 = \" + val2 );\n System.out.println( \"k4 = \" + (k<<4));\n System.out.println( \"vak = \" + (val2 | (k<<4)));\n }\n \n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val1 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val2 | ( k<<4 )];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ (l <<2 ) | val3 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ b3 & 0x3f ];\n }\n \n // form integral number of 6-bit groups\n if (fewerThan24bits == EIGHTBIT) {\n b1 = binaryData[dataIndex];\n k = (byte) ( b1 &0x03 );\n if (fDebug) {\n System.out.println(\"b1=\" + b1);\n System.out.println(\"b1<<2 = \" + (b1>>2) );\n }\n byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val1 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ k<<4 ];\n encodedData[encodedIndex++] = PAD;\n encodedData[encodedIndex++] = PAD;\n } else if (fewerThan24bits == SIXTEENBIT) {\n b1 = binaryData[dataIndex];\n b2 = binaryData[dataIndex +1 ];\n l = ( byte ) ( b2 &0x0f );\n k = ( byte ) ( b1 &0x03 );\n \n byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);\n byte val2 = ((b2 & SIGN)==0)?(byte)(b2>>4):(byte)((b2)>>4^0xf0);\n \n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val1 ];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ val2 | ( k<<4 )];\n encodedData[encodedIndex++] = lookUpBase64Alphabet[ l<<2 ];\n encodedData[encodedIndex++] = PAD;\n }\n \n //encodedData[encodedIndex] = 0xa;\n \n return new String(encodedData);\n }",
"@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000T\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\t\\n\\u0002\\b\\u0007\\n\\u0002\\u0010\\u000b\\n\\u0002\\b\\u0005\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0003\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0003\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0005\\n\\u0002\\u0010 \\n\\u0002\\b\\u0003\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\n\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\bv\\u0018\\u00002\\u00020\\u0001:\\u0004./01J\\b\\u0010,\\u001a\\u00020\\u000fH&J\\b\\u0010-\\u001a\\u00020\\u000fH&R\\u0014\\u0010\\u0002\\u001a\\u0004\\u0018\\u00010\\u0003X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u0004\\u0010\\u0005R\\u0012\\u0010\\u0006\\u001a\\u00020\\u0007X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\b\\u0010\\tR\\u0014\\u0010\\n\\u001a\\u0004\\u0018\\u00010\\u0003X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u000b\\u0010\\u0005R\\u0014\\u0010\\f\\u001a\\u0004\\u0018\\u00010\\u0003X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\r\\u0010\\u0005R\\u0012\\u0010\\u000e\\u001a\\u00020\\u000fX\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u000e\\u0010\\u0010R\\u0012\\u0010\\u0011\\u001a\\u00020\\u000fX\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u0011\\u0010\\u0010R\\u0014\\u0010\\u0012\\u001a\\u0004\\u0018\\u00010\\u0003X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u0013\\u0010\\u0005R\\u0014\\u0010\\u0014\\u001a\\u0004\\u0018\\u00010\\u0015X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u0016\\u0010\\u0017R\\u0014\\u0010\\u0018\\u001a\\u0004\\u0018\\u00010\\u0019X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u001a\\u0010\\u001bR\\u0014\\u0010\\u001c\\u001a\\u0004\\u0018\\u00010\\u001dX\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b\\u001e\\u0010\\u001fR\\u0014\\u0010 \\u001a\\u0004\\u0018\\u00010\\u0003X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b!\\u0010\\u0005R\\u0018\\u0010\\\"\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030#X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b$\\u0010%R\\u0014\\u0010&\\u001a\\u0004\\u0018\\u00010\\'X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b(\\u0010)R\\u0018\\u0010*\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030#X\\u00a6\\u0004\\u00a2\\u0006\\u0006\\u001a\\u0004\\b+\\u0010%\\u0082\\u0001\\u000223\\u00a8\\u00064\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent;\", \"Lcom/stripe/android/model/StripeModel;\", \"clientSecret\", \"\", \"getClientSecret\", \"()Ljava/lang/String;\", \"created\", \"\", \"getCreated\", \"()J\", \"description\", \"getDescription\", \"id\", \"getId\", \"isConfirmed\", \"\", \"()Z\", \"isLiveMode\", \"lastErrorMessage\", \"getLastErrorMessage\", \"nextActionData\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"getNextActionData\", \"()Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"nextActionType\", \"Lcom/stripe/android/model/StripeIntent$NextActionType;\", \"getNextActionType\", \"()Lcom/stripe/android/model/StripeIntent$NextActionType;\", \"paymentMethod\", \"Lcom/stripe/android/model/PaymentMethod;\", \"getPaymentMethod\", \"()Lcom/stripe/android/model/PaymentMethod;\", \"paymentMethodId\", \"getPaymentMethodId\", \"paymentMethodTypes\", \"\", \"getPaymentMethodTypes\", \"()Ljava/util/List;\", \"status\", \"Lcom/stripe/android/model/StripeIntent$Status;\", \"getStatus\", \"()Lcom/stripe/android/model/StripeIntent$Status;\", \"unactivatedPaymentMethods\", \"getUnactivatedPaymentMethods\", \"requiresAction\", \"requiresConfirmation\", \"NextActionData\", \"NextActionType\", \"Status\", \"Usage\", \"Lcom/stripe/android/model/PaymentIntent;\", \"Lcom/stripe/android/model/SetupIntent;\", \"payments-core_release\"})\npublic abstract interface StripeIntent extends com.stripe.android.model.StripeModel {\n \n /**\n * Unique identifier for the object.\n */\n @org.jetbrains.annotations.Nullable()\n public abstract java.lang.String getId();\n \n /**\n * Time at which the object was created. Measured in seconds since the Unix epoch.\n */\n public abstract long getCreated();\n \n /**\n * An arbitrary string attached to the object. Often useful for displaying to users.\n */\n @org.jetbrains.annotations.Nullable()\n public abstract java.lang.String getDescription();\n \n /**\n * Has the value true if the object exists in live mode or the value false if the object exists\n * in test mode.\n */\n public abstract boolean isLiveMode();\n \n /**\n * The expanded [PaymentMethod] represented by [paymentMethodId].\n */\n @org.jetbrains.annotations.Nullable()\n public abstract com.stripe.android.model.PaymentMethod getPaymentMethod();\n \n @org.jetbrains.annotations.Nullable()\n public abstract java.lang.String getPaymentMethodId();\n \n /**\n * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use.\n */\n @org.jetbrains.annotations.NotNull()\n public abstract java.util.List<java.lang.String> getPaymentMethodTypes();\n \n @org.jetbrains.annotations.Nullable()\n public abstract com.stripe.android.model.StripeIntent.NextActionType getNextActionType();\n \n @org.jetbrains.annotations.Nullable()\n public abstract java.lang.String getClientSecret();\n \n @org.jetbrains.annotations.Nullable()\n public abstract com.stripe.android.model.StripeIntent.Status getStatus();\n \n @org.jetbrains.annotations.Nullable()\n public abstract com.stripe.android.model.StripeIntent.NextActionData getNextActionData();\n \n /**\n * Whether confirmation has succeeded and all required actions have been handled.\n */\n public abstract boolean isConfirmed();\n \n @org.jetbrains.annotations.Nullable()\n public abstract java.lang.String getLastErrorMessage();\n \n /**\n * Payment types that have not been activated in livemode, but have been activated in testmode.\n */\n @org.jetbrains.annotations.NotNull()\n public abstract java.util.List<java.lang.String> getUnactivatedPaymentMethods();\n \n public abstract boolean requiresAction();\n \n public abstract boolean requiresConfirmation();\n \n /**\n * Type of the next action to perform.\n */\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u0012\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0010\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\f\\b\\u0086\\u0001\\u0018\\u0000 \\u000e2\\b\\u0012\\u0004\\u0012\\u00020\\u00000\\u0001:\\u0001\\u000eB\\u000f\\b\\u0002\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0004J\\b\\u0010\\u0007\\u001a\\u00020\\u0003H\\u0016R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0005\\u0010\\u0006j\\u0002\\b\\bj\\u0002\\b\\tj\\u0002\\b\\nj\\u0002\\b\\u000bj\\u0002\\b\\fj\\u0002\\b\\r\\u00a8\\u0006\\u000f\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionType;\", \"\", \"code\", \"\", \"(Ljava/lang/String;ILjava/lang/String;)V\", \"getCode\", \"()Ljava/lang/String;\", \"toString\", \"RedirectToUrl\", \"UseStripeSdk\", \"DisplayOxxoDetails\", \"AlipayRedirect\", \"BlikAuthorize\", \"WeChatPayRedirect\", \"Companion\", \"payments-core_release\"})\n public static enum NextActionType {\n /*public static final*/ RedirectToUrl /* = new RedirectToUrl(null) */,\n /*public static final*/ UseStripeSdk /* = new UseStripeSdk(null) */,\n /*public static final*/ DisplayOxxoDetails /* = new DisplayOxxoDetails(null) */,\n /*public static final*/ AlipayRedirect /* = new AlipayRedirect(null) */,\n /*public static final*/ BlikAuthorize /* = new BlikAuthorize(null) */,\n /*public static final*/ WeChatPayRedirect /* = new WeChatPayRedirect(null) */;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String code = null;\n @org.jetbrains.annotations.NotNull()\n public static final com.stripe.android.model.StripeIntent.NextActionType.Companion Companion = null;\n \n NextActionType(java.lang.String code) {\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getCode() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u001a\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0002\\b\\u0080\\u0003\\u0018\\u00002\\u00020\\u0001B\\u0007\\b\\u0002\\u00a2\\u0006\\u0002\\u0010\\u0002J\\u0019\\u0010\\u0003\\u001a\\u0004\\u0018\\u00010\\u00042\\b\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0006H\\u0000\\u00a2\\u0006\\u0002\\b\\u0007\\u00a8\\u0006\\b\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionType$Companion;\", \"\", \"()V\", \"fromCode\", \"Lcom/stripe/android/model/StripeIntent$NextActionType;\", \"code\", \"\", \"fromCode$payments_core_release\", \"payments-core_release\"})\n public static final class Companion {\n \n private Companion() {\n super();\n }\n \n @org.jetbrains.annotations.Nullable()\n public final com.stripe.android.model.StripeIntent.NextActionType fromCode$payments_core_release(@org.jetbrains.annotations.Nullable()\n java.lang.String code) {\n return null;\n }\n }\n }\n \n /**\n * - [The Intent State Machine - Intent statuses](https://stripe.com/docs/payments/intents#intent-statuses)\n * - [PaymentIntent.status API reference](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status)\n * - [SetupIntent.status API reference](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-status)\n */\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u0012\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0010\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\r\\b\\u0086\\u0001\\u0018\\u0000 \\u000f2\\b\\u0012\\u0004\\u0012\\u00020\\u00000\\u0001:\\u0001\\u000fB\\u000f\\b\\u0002\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0004J\\b\\u0010\\u0007\\u001a\\u00020\\u0003H\\u0016R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0005\\u0010\\u0006j\\u0002\\b\\bj\\u0002\\b\\tj\\u0002\\b\\nj\\u0002\\b\\u000bj\\u0002\\b\\fj\\u0002\\b\\rj\\u0002\\b\\u000e\\u00a8\\u0006\\u0010\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$Status;\", \"\", \"code\", \"\", \"(Ljava/lang/String;ILjava/lang/String;)V\", \"getCode\", \"()Ljava/lang/String;\", \"toString\", \"Canceled\", \"Processing\", \"RequiresAction\", \"RequiresConfirmation\", \"RequiresPaymentMethod\", \"Succeeded\", \"RequiresCapture\", \"Companion\", \"payments-core_release\"})\n public static enum Status {\n /*public static final*/ Canceled /* = new Canceled(null) */,\n /*public static final*/ Processing /* = new Processing(null) */,\n /*public static final*/ RequiresAction /* = new RequiresAction(null) */,\n /*public static final*/ RequiresConfirmation /* = new RequiresConfirmation(null) */,\n /*public static final*/ RequiresPaymentMethod /* = new RequiresPaymentMethod(null) */,\n /*public static final*/ Succeeded /* = new Succeeded(null) */,\n /*public static final*/ RequiresCapture /* = new RequiresCapture(null) */;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String code = null;\n @org.jetbrains.annotations.NotNull()\n public static final com.stripe.android.model.StripeIntent.Status.Companion Companion = null;\n \n Status(java.lang.String code) {\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getCode() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u001a\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0002\\b\\u0080\\u0003\\u0018\\u00002\\u00020\\u0001B\\u0007\\b\\u0002\\u00a2\\u0006\\u0002\\u0010\\u0002J\\u0019\\u0010\\u0003\\u001a\\u0004\\u0018\\u00010\\u00042\\b\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0006H\\u0000\\u00a2\\u0006\\u0002\\b\\u0007\\u00a8\\u0006\\b\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$Status$Companion;\", \"\", \"()V\", \"fromCode\", \"Lcom/stripe/android/model/StripeIntent$Status;\", \"code\", \"\", \"fromCode$payments_core_release\", \"payments-core_release\"})\n public static final class Companion {\n \n private Companion() {\n super();\n }\n \n @org.jetbrains.annotations.Nullable()\n public final com.stripe.android.model.StripeIntent.Status fromCode$payments_core_release(@org.jetbrains.annotations.Nullable()\n java.lang.String code) {\n return null;\n }\n }\n }\n \n /**\n * See [setup_intent.usage](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-usage) and\n * [Reusing Cards](https://stripe.com/docs/payments/cards/reusing-cards).\n */\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u0012\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0010\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\t\\b\\u0086\\u0001\\u0018\\u0000 \\u000b2\\b\\u0012\\u0004\\u0012\\u00020\\u00000\\u0001:\\u0001\\u000bB\\u000f\\b\\u0002\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0004J\\b\\u0010\\u0007\\u001a\\u00020\\u0003H\\u0016R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0005\\u0010\\u0006j\\u0002\\b\\bj\\u0002\\b\\tj\\u0002\\b\\n\\u00a8\\u0006\\f\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$Usage;\", \"\", \"code\", \"\", \"(Ljava/lang/String;ILjava/lang/String;)V\", \"getCode\", \"()Ljava/lang/String;\", \"toString\", \"OnSession\", \"OffSession\", \"OneTime\", \"Companion\", \"payments-core_release\"})\n public static enum Usage {\n /*public static final*/ OnSession /* = new OnSession(null) */,\n /*public static final*/ OffSession /* = new OffSession(null) */,\n /*public static final*/ OneTime /* = new OneTime(null) */;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String code = null;\n @org.jetbrains.annotations.NotNull()\n public static final com.stripe.android.model.StripeIntent.Usage.Companion Companion = null;\n \n Usage(java.lang.String code) {\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getCode() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u001a\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0002\\b\\u0080\\u0003\\u0018\\u00002\\u00020\\u0001B\\u0007\\b\\u0002\\u00a2\\u0006\\u0002\\u0010\\u0002J\\u0019\\u0010\\u0003\\u001a\\u0004\\u0018\\u00010\\u00042\\b\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0006H\\u0000\\u00a2\\u0006\\u0002\\b\\u0007\\u00a8\\u0006\\b\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$Usage$Companion;\", \"\", \"()V\", \"fromCode\", \"Lcom/stripe/android/model/StripeIntent$Usage;\", \"code\", \"\", \"fromCode$payments_core_release\", \"payments-core_release\"})\n public static final class Companion {\n \n private Companion() {\n super();\n }\n \n @org.jetbrains.annotations.Nullable()\n public final com.stripe.android.model.StripeIntent.Usage fromCode$payments_core_release(@org.jetbrains.annotations.Nullable()\n java.lang.String code) {\n return null;\n }\n }\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000&\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0007\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\b6\\u0018\\u00002\\u00020\\u0001:\\u0006\\u0003\\u0004\\u0005\\u0006\\u0007\\bB\\u0007\\b\\u0004\\u00a2\\u0006\\u0002\\u0010\\u0002\\u0082\\u0001\\u0006\\t\\n\\u000b\\f\\r\\u000e\\u00a8\\u0006\\u000f\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"Lcom/stripe/android/model/StripeModel;\", \"()V\", \"AlipayRedirect\", \"BlikAuthorize\", \"DisplayOxxoDetails\", \"RedirectToUrl\", \"SdkData\", \"WeChatPayRedirect\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$DisplayOxxoDetails;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$RedirectToUrl;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$AlipayRedirect;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$BlikAuthorize;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$WeChatPayRedirect;\", \"payments-core_release\"})\n public static abstract class NextActionData implements com.stripe.android.model.StripeModel {\n \n private NextActionData() {\n super();\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u00004\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\r\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001B\\'\\u0012\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\n\\b\\u0002\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u0005\\u0012\\n\\b\\u0002\\u0010\\u0006\\u001a\\u0004\\u0018\\u00010\\u0005\\u00a2\\u0006\\u0002\\u0010\\u0007J\\t\\u0010\\r\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u000b\\u0010\\u000e\\u001a\\u0004\\u0018\\u00010\\u0005H\\u00c6\\u0003J\\u000b\\u0010\\u000f\\u001a\\u0004\\u0018\\u00010\\u0005H\\u00c6\\u0003J+\\u0010\\u0010\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u00032\\n\\b\\u0002\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u00052\\n\\b\\u0002\\u0010\\u0006\\u001a\\u0004\\u0018\\u00010\\u0005H\\u00c6\\u0001J\\t\\u0010\\u0011\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\u0013\\u0010\\u0012\\u001a\\u00020\\u00132\\b\\u0010\\u0014\\u001a\\u0004\\u0018\\u00010\\u0015H\\u00d6\\u0003J\\t\\u0010\\u0016\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\t\\u0010\\u0017\\u001a\\u00020\\u0005H\\u00d6\\u0001J\\u0019\\u0010\\u0018\\u001a\\u00020\\u00192\\u0006\\u0010\\u001a\\u001a\\u00020\\u001b2\\u0006\\u0010\\u001c\\u001a\\u00020\\u0003H\\u00d6\\u0001R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\b\\u0010\\tR\\u0013\\u0010\\u0006\\u001a\\u0004\\u0018\\u00010\\u0005\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\n\\u0010\\u000bR\\u0013\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u0005\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\f\\u0010\\u000b\\u00a8\\u0006\\u001d\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$DisplayOxxoDetails;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"expiresAfter\", \"\", \"number\", \"\", \"hostedVoucherUrl\", \"(ILjava/lang/String;Ljava/lang/String;)V\", \"getExpiresAfter\", \"()I\", \"getHostedVoucherUrl\", \"()Ljava/lang/String;\", \"getNumber\", \"component1\", \"component2\", \"component3\", \"copy\", \"describeContents\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class DisplayOxxoDetails extends com.stripe.android.model.StripeIntent.NextActionData {\n \n /**\n * The timestamp after which the OXXO expires.\n */\n private final int expiresAfter = 0;\n \n /**\n * The OXXO number.\n */\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String number = null;\n \n /**\n * URL of a webpage containing the voucher for this OXXO payment.\n */\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String hostedVoucherUrl = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.DisplayOxxoDetails> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.DisplayOxxoDetails copy(int expiresAfter, @org.jetbrains.annotations.Nullable()\n java.lang.String number, @org.jetbrains.annotations.Nullable()\n java.lang.String hostedVoucherUrl) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public DisplayOxxoDetails() {\n super();\n }\n \n public DisplayOxxoDetails(int expiresAfter, @org.jetbrains.annotations.Nullable()\n java.lang.String number, @org.jetbrains.annotations.Nullable()\n java.lang.String hostedVoucherUrl) {\n super();\n }\n \n /**\n * The timestamp after which the OXXO expires.\n */\n public final int component1() {\n return 0;\n }\n \n /**\n * The timestamp after which the OXXO expires.\n */\n public final int getExpiresAfter() {\n return 0;\n }\n \n /**\n * The OXXO number.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component2() {\n return null;\n }\n \n /**\n * The OXXO number.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getNumber() {\n return null;\n }\n \n /**\n * URL of a webpage containing the voucher for this OXXO payment.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component3() {\n return null;\n }\n \n /**\n * URL of a webpage containing the voucher for this OXXO payment.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getHostedVoucherUrl() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.DisplayOxxoDetails> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.DisplayOxxoDetails createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.DisplayOxxoDetails[] newArray(int size) {\n return null;\n }\n }\n }\n \n /**\n * Contains instructions for authenticating by redirecting your customer to another\n * page or application.\n */\n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000:\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\t\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001B\\u0017\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\b\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u0005\\u00a2\\u0006\\u0002\\u0010\\u0006J\\t\\u0010\\u000b\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u000b\\u0010\\f\\u001a\\u0004\\u0018\\u00010\\u0005H\\u00c6\\u0003J\\u001f\\u0010\\r\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u00032\\n\\b\\u0002\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u0005H\\u00c6\\u0001J\\t\\u0010\\u000e\\u001a\\u00020\\u000fH\\u00d6\\u0001J\\u0013\\u0010\\u0010\\u001a\\u00020\\u00112\\b\\u0010\\u0012\\u001a\\u0004\\u0018\\u00010\\u0013H\\u00d6\\u0003J\\t\\u0010\\u0014\\u001a\\u00020\\u000fH\\u00d6\\u0001J\\t\\u0010\\u0015\\u001a\\u00020\\u0005H\\u00d6\\u0001J\\u0019\\u0010\\u0016\\u001a\\u00020\\u00172\\u0006\\u0010\\u0018\\u001a\\u00020\\u00192\\u0006\\u0010\\u001a\\u001a\\u00020\\u000fH\\u00d6\\u0001R\\u0013\\u0010\\u0004\\u001a\\u0004\\u0018\\u00010\\u0005\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0007\\u0010\\bR\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\t\\u0010\\n\\u00a8\\u0006\\u001b\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$RedirectToUrl;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"url\", \"Landroid/net/Uri;\", \"returnUrl\", \"\", \"(Landroid/net/Uri;Ljava/lang/String;)V\", \"getReturnUrl\", \"()Ljava/lang/String;\", \"getUrl\", \"()Landroid/net/Uri;\", \"component1\", \"component2\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class RedirectToUrl extends com.stripe.android.model.StripeIntent.NextActionData {\n \n /**\n * The URL you must redirect your customer to in order to authenticate.\n */\n @org.jetbrains.annotations.NotNull()\n private final android.net.Uri url = null;\n \n /**\n * If the customer does not exit their browser while authenticating, they will be redirected\n * to this specified URL after completion.\n */\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String returnUrl = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.RedirectToUrl> CREATOR = null;\n \n /**\n * Contains instructions for authenticating by redirecting your customer to another\n * page or application.\n */\n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.RedirectToUrl copy(@org.jetbrains.annotations.NotNull()\n android.net.Uri url, @org.jetbrains.annotations.Nullable()\n java.lang.String returnUrl) {\n return null;\n }\n \n /**\n * Contains instructions for authenticating by redirecting your customer to another\n * page or application.\n */\n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n /**\n * Contains instructions for authenticating by redirecting your customer to another\n * page or application.\n */\n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n /**\n * Contains instructions for authenticating by redirecting your customer to another\n * page or application.\n */\n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public RedirectToUrl(@org.jetbrains.annotations.NotNull()\n android.net.Uri url, @org.jetbrains.annotations.Nullable()\n java.lang.String returnUrl) {\n super();\n }\n \n /**\n * The URL you must redirect your customer to in order to authenticate.\n */\n @org.jetbrains.annotations.NotNull()\n public final android.net.Uri component1() {\n return null;\n }\n \n /**\n * The URL you must redirect your customer to in order to authenticate.\n */\n @org.jetbrains.annotations.NotNull()\n public final android.net.Uri getUrl() {\n return null;\n }\n \n /**\n * If the customer does not exit their browser while authenticating, they will be redirected\n * to this specified URL after completion.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component2() {\n return null;\n }\n \n /**\n * If the customer does not exit their browser while authenticating, they will be redirected\n * to this specified URL after completion.\n */\n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getReturnUrl() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.RedirectToUrl> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.RedirectToUrl createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.RedirectToUrl[] newArray(int size) {\n return null;\n }\n }\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000<\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0004\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\r\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0003\\b\\u0081\\b\\u0018\\u0000 \\\"2\\u00020\\u0001:\\u0001\\\"B#\\b\\u0010\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\u0006\\u0010\\u0004\\u001a\\u00020\\u0003\\u0012\\n\\b\\u0002\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0006B+\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\b\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u0003\\u0012\\u0006\\u0010\\u0004\\u001a\\u00020\\b\\u0012\\n\\b\\u0002\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\u0002\\u0010\\tJ\\t\\u0010\\u0010\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u000b\\u0010\\u0011\\u001a\\u0004\\u0018\\u00010\\u0003H\\u00c6\\u0003J\\t\\u0010\\u0012\\u001a\\u00020\\bH\\u00c6\\u0003J\\u000b\\u0010\\u0013\\u001a\\u0004\\u0018\\u00010\\u0003H\\u00c6\\u0003J5\\u0010\\u0014\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u00032\\n\\b\\u0002\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u00032\\b\\b\\u0002\\u0010\\u0004\\u001a\\u00020\\b2\\n\\b\\u0002\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0003H\\u00c6\\u0001J\\t\\u0010\\u0015\\u001a\\u00020\\u0016H\\u00d6\\u0001J\\u0013\\u0010\\u0017\\u001a\\u00020\\u00182\\b\\u0010\\u0019\\u001a\\u0004\\u0018\\u00010\\u001aH\\u00d6\\u0003J\\t\\u0010\\u001b\\u001a\\u00020\\u0016H\\u00d6\\u0001J\\t\\u0010\\u001c\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\u0019\\u0010\\u001d\\u001a\\u00020\\u001e2\\u0006\\u0010\\u001f\\u001a\\u00020 2\\u0006\\u0010!\\u001a\\u00020\\u0016H\\u00d6\\u0001R\\u0013\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\n\\u0010\\u000bR\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\f\\u0010\\u000bR\\u0013\\u0010\\u0005\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\r\\u0010\\u000bR\\u0011\\u0010\\u0004\\u001a\\u00020\\b\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u000e\\u0010\\u000f\\u00a8\\u0006#\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$AlipayRedirect;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"data\", \"\", \"webViewUrl\", \"returnUrl\", \"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V\", \"authCompleteUrl\", \"Landroid/net/Uri;\", \"(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Ljava/lang/String;)V\", \"getAuthCompleteUrl\", \"()Ljava/lang/String;\", \"getData\", \"getReturnUrl\", \"getWebViewUrl\", \"()Landroid/net/Uri;\", \"component1\", \"component2\", \"component3\", \"component4\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"Companion\", \"payments-core_release\"})\n public static final class AlipayRedirect extends com.stripe.android.model.StripeIntent.NextActionData {\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String data = null;\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String authCompleteUrl = null;\n @org.jetbrains.annotations.NotNull()\n private final android.net.Uri webViewUrl = null;\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String returnUrl = null;\n @org.jetbrains.annotations.NotNull()\n private static final com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect.Companion Companion = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect copy(@org.jetbrains.annotations.NotNull()\n java.lang.String data, @org.jetbrains.annotations.Nullable()\n java.lang.String authCompleteUrl, @org.jetbrains.annotations.NotNull()\n android.net.Uri webViewUrl, @org.jetbrains.annotations.Nullable()\n java.lang.String returnUrl) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public AlipayRedirect(@org.jetbrains.annotations.NotNull()\n java.lang.String data, @org.jetbrains.annotations.Nullable()\n java.lang.String authCompleteUrl, @org.jetbrains.annotations.NotNull()\n android.net.Uri webViewUrl, @org.jetbrains.annotations.Nullable()\n java.lang.String returnUrl) {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component1() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getData() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component2() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getAuthCompleteUrl() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final android.net.Uri component3() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final android.net.Uri getWebViewUrl() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component4() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getReturnUrl() {\n return null;\n }\n \n public AlipayRedirect(@org.jetbrains.annotations.NotNull()\n java.lang.String data, @org.jetbrains.annotations.NotNull()\n java.lang.String webViewUrl, @org.jetbrains.annotations.Nullable()\n java.lang.String returnUrl) {\n super();\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.AlipayRedirect[] newArray(int size) {\n return null;\n }\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u0014\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0002\\b\\u0082\\u0003\\u0018\\u00002\\u00020\\u0001B\\u0007\\b\\u0002\\u00a2\\u0006\\u0002\\u0010\\u0002J\\u0012\\u0010\\u0003\\u001a\\u0004\\u0018\\u00010\\u00042\\u0006\\u0010\\u0005\\u001a\\u00020\\u0004H\\u0002\\u00a8\\u0006\\u0006\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$AlipayRedirect$Companion;\", \"\", \"()V\", \"extractReturnUrl\", \"\", \"data\", \"payments-core_release\"})\n static final class Companion {\n \n private Companion() {\n super();\n }\n \n /**\n * The alipay data string is formatted as query parameters.\n * When authenticate is complete, we make a request to the\n * return_url param, as a hint to the backend to ping Alipay for\n * the updated state\n */\n private final java.lang.String extractReturnUrl(java.lang.String data) {\n return null;\n }\n }\n }\n \n /**\n * When confirming a [PaymentIntent] or [SetupIntent] with the Stripe SDK, the Stripe SDK\n * depends on this property to invoke authentication flows. The shape of the contents is subject\n * to change and is only intended to be used by the Stripe SDK.\n */\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000\\u0016\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0003\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\b6\\u0018\\u00002\\u00020\\u0001:\\u0002\\u0003\\u0004B\\u0007\\b\\u0004\\u00a2\\u0006\\u0002\\u0010\\u0002\\u0082\\u0001\\u0002\\u0005\\u0006\\u00a8\\u0006\\u0007\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"()V\", \"Use3DS1\", \"Use3DS2\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS1;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2;\", \"payments-core_release\"})\n public static abstract class SdkData extends com.stripe.android.model.StripeIntent.NextActionData {\n \n private SdkData() {\n super();\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u00004\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0006\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001B\\r\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0004J\\t\\u0010\\u0007\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u0013\\u0010\\b\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u0003H\\u00c6\\u0001J\\t\\u0010\\t\\u001a\\u00020\\nH\\u00d6\\u0001J\\u0013\\u0010\\u000b\\u001a\\u00020\\f2\\b\\u0010\\r\\u001a\\u0004\\u0018\\u00010\\u000eH\\u00d6\\u0003J\\t\\u0010\\u000f\\u001a\\u00020\\nH\\u00d6\\u0001J\\t\\u0010\\u0010\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\u0019\\u0010\\u0011\\u001a\\u00020\\u00122\\u0006\\u0010\\u0013\\u001a\\u00020\\u00142\\u0006\\u0010\\u0015\\u001a\\u00020\\nH\\u00d6\\u0001R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0005\\u0010\\u0006\\u00a8\\u0006\\u0016\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS1;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData;\", \"url\", \"\", \"(Ljava/lang/String;)V\", \"getUrl\", \"()Ljava/lang/String;\", \"component1\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class Use3DS1 extends com.stripe.android.model.StripeIntent.NextActionData.SdkData {\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String url = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS1> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS1 copy(@org.jetbrains.annotations.NotNull()\n java.lang.String url) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public Use3DS1(@org.jetbrains.annotations.NotNull()\n java.lang.String url) {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component1() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getUrl() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS1> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS1 createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS1[] newArray(int size) {\n return null;\n }\n }\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000<\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0003\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\r\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0003\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001:\\u0001!B%\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\u0006\\u0010\\u0004\\u001a\\u00020\\u0003\\u0012\\u0006\\u0010\\u0005\\u001a\\u00020\\u0003\\u0012\\u0006\\u0010\\u0006\\u001a\\u00020\\u0007\\u00a2\\u0006\\u0002\\u0010\\bJ\\t\\u0010\\u000f\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\t\\u0010\\u0010\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\t\\u0010\\u0011\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\t\\u0010\\u0012\\u001a\\u00020\\u0007H\\u00c6\\u0003J1\\u0010\\u0013\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u00032\\b\\b\\u0002\\u0010\\u0004\\u001a\\u00020\\u00032\\b\\b\\u0002\\u0010\\u0005\\u001a\\u00020\\u00032\\b\\b\\u0002\\u0010\\u0006\\u001a\\u00020\\u0007H\\u00c6\\u0001J\\t\\u0010\\u0014\\u001a\\u00020\\u0015H\\u00d6\\u0001J\\u0013\\u0010\\u0016\\u001a\\u00020\\u00172\\b\\u0010\\u0018\\u001a\\u0004\\u0018\\u00010\\u0019H\\u00d6\\u0003J\\t\\u0010\\u001a\\u001a\\u00020\\u0015H\\u00d6\\u0001J\\t\\u0010\\u001b\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\u0019\\u0010\\u001c\\u001a\\u00020\\u001d2\\u0006\\u0010\\u001e\\u001a\\u00020\\u001f2\\u0006\\u0010 \\u001a\\u00020\\u0015H\\u00d6\\u0001R\\u0011\\u0010\\u0006\\u001a\\u00020\\u0007\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\t\\u0010\\nR\\u0011\\u0010\\u0004\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u000b\\u0010\\fR\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\r\\u0010\\fR\\u0011\\u0010\\u0005\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u000e\\u0010\\f\\u00a8\\u0006\\\"\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData;\", \"source\", \"\", \"serverName\", \"transactionId\", \"serverEncryption\", \"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2$DirectoryServerEncryption;\", \"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2$DirectoryServerEncryption;)V\", \"getServerEncryption\", \"()Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2$DirectoryServerEncryption;\", \"getServerName\", \"()Ljava/lang/String;\", \"getSource\", \"getTransactionId\", \"component1\", \"component2\", \"component3\", \"component4\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"DirectoryServerEncryption\", \"payments-core_release\"})\n public static final class Use3DS2 extends com.stripe.android.model.StripeIntent.NextActionData.SdkData {\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String source = null;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String serverName = null;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String transactionId = null;\n @org.jetbrains.annotations.NotNull()\n private final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption serverEncryption = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2 copy(@org.jetbrains.annotations.NotNull()\n java.lang.String source, @org.jetbrains.annotations.NotNull()\n java.lang.String serverName, @org.jetbrains.annotations.NotNull()\n java.lang.String transactionId, @org.jetbrains.annotations.NotNull()\n com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption serverEncryption) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public Use3DS2(@org.jetbrains.annotations.NotNull()\n java.lang.String source, @org.jetbrains.annotations.NotNull()\n java.lang.String serverName, @org.jetbrains.annotations.NotNull()\n java.lang.String transactionId, @org.jetbrains.annotations.NotNull()\n com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption serverEncryption) {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component1() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getSource() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component2() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getServerName() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component3() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getTransactionId() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption component4() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption getServerEncryption() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2 createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2[] newArray(int size) {\n return null;\n }\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000<\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0010\\u000e\\n\\u0002\\b\\u0002\\n\\u0002\\u0010 \\n\\u0002\\b\\u000e\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0003\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001B-\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u0012\\u0006\\u0010\\u0004\\u001a\\u00020\\u0003\\u0012\\f\\u0010\\u0005\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030\\u0006\\u0012\\b\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\u0002\\u0010\\bJ\\t\\u0010\\u000f\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\t\\u0010\\u0010\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u000f\\u0010\\u0011\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030\\u0006H\\u00c6\\u0003J\\u000b\\u0010\\u0012\\u001a\\u0004\\u0018\\u00010\\u0003H\\u00c6\\u0003J9\\u0010\\u0013\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u00032\\b\\b\\u0002\\u0010\\u0004\\u001a\\u00020\\u00032\\u000e\\b\\u0002\\u0010\\u0005\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030\\u00062\\n\\b\\u0002\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u0003H\\u00c6\\u0001J\\t\\u0010\\u0014\\u001a\\u00020\\u0015H\\u00d6\\u0001J\\u0013\\u0010\\u0016\\u001a\\u00020\\u00172\\b\\u0010\\u0018\\u001a\\u0004\\u0018\\u00010\\u0019H\\u00d6\\u0003J\\t\\u0010\\u001a\\u001a\\u00020\\u0015H\\u00d6\\u0001J\\t\\u0010\\u001b\\u001a\\u00020\\u0003H\\u00d6\\u0001J\\u0019\\u0010\\u001c\\u001a\\u00020\\u001d2\\u0006\\u0010\\u001e\\u001a\\u00020\\u001f2\\u0006\\u0010 \\u001a\\u00020\\u0015H\\u00d6\\u0001R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\t\\u0010\\nR\\u0011\\u0010\\u0004\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u000b\\u0010\\nR\\u0013\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\f\\u0010\\nR\\u0017\\u0010\\u0005\\u001a\\b\\u0012\\u0004\\u0012\\u00020\\u00030\\u0006\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\r\\u0010\\u000e\\u00a8\\u0006!\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$SdkData$Use3DS2$DirectoryServerEncryption;\", \"Landroid/os/Parcelable;\", \"directoryServerId\", \"\", \"dsCertificateData\", \"rootCertsData\", \"\", \"keyId\", \"(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V\", \"getDirectoryServerId\", \"()Ljava/lang/String;\", \"getDsCertificateData\", \"getKeyId\", \"getRootCertsData\", \"()Ljava/util/List;\", \"component1\", \"component2\", \"component3\", \"component4\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class DirectoryServerEncryption implements android.os.Parcelable {\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String directoryServerId = null;\n @org.jetbrains.annotations.NotNull()\n private final java.lang.String dsCertificateData = null;\n @org.jetbrains.annotations.NotNull()\n private final java.util.List<java.lang.String> rootCertsData = null;\n @org.jetbrains.annotations.Nullable()\n private final java.lang.String keyId = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption copy(@org.jetbrains.annotations.NotNull()\n java.lang.String directoryServerId, @org.jetbrains.annotations.NotNull()\n java.lang.String dsCertificateData, @org.jetbrains.annotations.NotNull()\n java.util.List<java.lang.String> rootCertsData, @org.jetbrains.annotations.Nullable()\n java.lang.String keyId) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public DirectoryServerEncryption(@org.jetbrains.annotations.NotNull()\n java.lang.String directoryServerId, @org.jetbrains.annotations.NotNull()\n java.lang.String dsCertificateData, @org.jetbrains.annotations.NotNull()\n java.util.List<java.lang.String> rootCertsData, @org.jetbrains.annotations.Nullable()\n java.lang.String keyId) {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component1() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getDirectoryServerId() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String component2() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.lang.String getDsCertificateData() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.util.List<java.lang.String> component3() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final java.util.List<java.lang.String> getRootCertsData() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String component4() {\n return null;\n }\n \n @org.jetbrains.annotations.Nullable()\n public final java.lang.String getKeyId() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.SdkData.Use3DS2.DirectoryServerEncryption[] newArray(int size) {\n return null;\n }\n }\n }\n }\n }\n \n @kotlinx.parcelize.Parcelize()\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000.\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u00c7\\u0002\\u0018\\u00002\\u00020\\u0001B\\u0007\\b\\u0002\\u00a2\\u0006\\u0002\\u0010\\u0002J\\t\\u0010\\u0003\\u001a\\u00020\\u0004H\\u00d6\\u0001J\\u0013\\u0010\\u0005\\u001a\\u00020\\u00062\\b\\u0010\\u0007\\u001a\\u0004\\u0018\\u00010\\bH\\u0096\\u0002J\\b\\u0010\\t\\u001a\\u00020\\u0004H\\u0016J\\u0019\\u0010\\n\\u001a\\u00020\\u000b2\\u0006\\u0010\\f\\u001a\\u00020\\r2\\u0006\\u0010\\u000e\\u001a\\u00020\\u0004H\\u00d6\\u0001\\u00a8\\u0006\\u000f\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$BlikAuthorize;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"()V\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class BlikAuthorize extends com.stripe.android.model.StripeIntent.NextActionData {\n @org.jetbrains.annotations.NotNull()\n public static final com.stripe.android.model.StripeIntent.NextActionData.BlikAuthorize INSTANCE = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.BlikAuthorize> CREATOR = null;\n \n private BlikAuthorize() {\n super();\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.BlikAuthorize> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.BlikAuthorize createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.BlikAuthorize[] newArray(int size) {\n return null;\n }\n }\n }\n \n @kotlinx.parcelize.Parcelize()\n @androidx.annotation.RestrictTo(value = {androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP})\n @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {\"\\u0000:\\n\\u0002\\u0018\\u0002\\n\\u0002\\u0018\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0006\\n\\u0002\\u0010\\b\\n\\u0000\\n\\u0002\\u0010\\u000b\\n\\u0000\\n\\u0002\\u0010\\u0000\\n\\u0002\\b\\u0002\\n\\u0002\\u0010\\u000e\\n\\u0000\\n\\u0002\\u0010\\u0002\\n\\u0000\\n\\u0002\\u0018\\u0002\\n\\u0002\\b\\u0002\\b\\u0087\\b\\u0018\\u00002\\u00020\\u0001B\\r\\u0012\\u0006\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\u0002\\u0010\\u0004J\\t\\u0010\\u0007\\u001a\\u00020\\u0003H\\u00c6\\u0003J\\u0013\\u0010\\b\\u001a\\u00020\\u00002\\b\\b\\u0002\\u0010\\u0002\\u001a\\u00020\\u0003H\\u00c6\\u0001J\\t\\u0010\\t\\u001a\\u00020\\nH\\u00d6\\u0001J\\u0013\\u0010\\u000b\\u001a\\u00020\\f2\\b\\u0010\\r\\u001a\\u0004\\u0018\\u00010\\u000eH\\u00d6\\u0003J\\t\\u0010\\u000f\\u001a\\u00020\\nH\\u00d6\\u0001J\\t\\u0010\\u0010\\u001a\\u00020\\u0011H\\u00d6\\u0001J\\u0019\\u0010\\u0012\\u001a\\u00020\\u00132\\u0006\\u0010\\u0014\\u001a\\u00020\\u00152\\u0006\\u0010\\u0016\\u001a\\u00020\\nH\\u00d6\\u0001R\\u0011\\u0010\\u0002\\u001a\\u00020\\u0003\\u00a2\\u0006\\b\\n\\u0000\\u001a\\u0004\\b\\u0005\\u0010\\u0006\\u00a8\\u0006\\u0017\"}, d2 = {\"Lcom/stripe/android/model/StripeIntent$NextActionData$WeChatPayRedirect;\", \"Lcom/stripe/android/model/StripeIntent$NextActionData;\", \"weChat\", \"Lcom/stripe/android/model/WeChat;\", \"(Lcom/stripe/android/model/WeChat;)V\", \"getWeChat\", \"()Lcom/stripe/android/model/WeChat;\", \"component1\", \"copy\", \"describeContents\", \"\", \"equals\", \"\", \"other\", \"\", \"hashCode\", \"toString\", \"\", \"writeToParcel\", \"\", \"parcel\", \"Landroid/os/Parcel;\", \"flags\", \"payments-core_release\"})\n public static final class WeChatPayRedirect extends com.stripe.android.model.StripeIntent.NextActionData {\n @org.jetbrains.annotations.NotNull()\n private final com.stripe.android.model.WeChat weChat = null;\n public static final android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.WeChatPayRedirect> CREATOR = null;\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.StripeIntent.NextActionData.WeChatPayRedirect copy(@org.jetbrains.annotations.NotNull()\n com.stripe.android.model.WeChat weChat) {\n return null;\n }\n \n @java.lang.Override()\n public boolean equals(@org.jetbrains.annotations.Nullable()\n java.lang.Object other) {\n return false;\n }\n \n @java.lang.Override()\n public int hashCode() {\n return 0;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public java.lang.String toString() {\n return null;\n }\n \n public WeChatPayRedirect(@org.jetbrains.annotations.NotNull()\n com.stripe.android.model.WeChat weChat) {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.WeChat component1() {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n public final com.stripe.android.model.WeChat getWeChat() {\n return null;\n }\n \n @java.lang.Override()\n public int describeContents() {\n return 0;\n }\n \n @java.lang.Override()\n public void writeToParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel parcel, int flags) {\n }\n \n @kotlin.Metadata(mv = {1, 5, 1}, k = 3)\n public static final class Creator implements android.os.Parcelable.Creator<com.stripe.android.model.StripeIntent.NextActionData.WeChatPayRedirect> {\n \n public Creator() {\n super();\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.WeChatPayRedirect createFromParcel(@org.jetbrains.annotations.NotNull()\n android.os.Parcel in) {\n return null;\n }\n \n @org.jetbrains.annotations.NotNull()\n @java.lang.Override()\n public final com.stripe.android.model.StripeIntent.NextActionData.WeChatPayRedirect[] newArray(int size) {\n return null;\n }\n }\n }\n }\n}",
"public void encodeBinary(Buf out)\n {\n out.u2(val.length()+1);\n for (int i=0; i<val.length(); ++i)\n out.u1(val.charAt(i));\n out.u1(0);\n }",
"private byte[] toByteArray(String s)\r\n\t\t{\n\t\t\tlong l = 0;\r\n\t\t\tif (s.startsWith(\"0x\") || s.startsWith(\"0X\")) {\r\n\t\t\t\tfinal byte[] d = new byte[(s.length() - 1) / 2];\r\n\t\t\t\tint k = (s.length() & 0x01) != 0 ? 3 : 4;\r\n\t\t\t\tfor (int i = 2; i < s.length(); i = k, k += 2)\r\n\t\t\t\t\td[(i - 1) / 2] = (byte) Short.parseShort(s.substring(i, k), 16);\r\n\t\t\t\treturn d;\r\n\t\t\t}\r\n\t\t\telse if (s.length() > 1 && s.startsWith(\"0\"))\r\n\t\t\t\tl = Long.parseLong(s, 8);\r\n\t\t\telse if (s.startsWith(\"b\"))\r\n\t\t\t\tl = Long.parseLong(s.substring(1), 2);\r\n\t\t\telse\r\n\t\t\t\tl = Long.parseLong(s);\r\n\t\t\tint i = 0;\r\n\t\t\tfor (long test = l; test != 0; test /= 0x100)\r\n\t\t\t\t++i;\r\n\t\t\tfinal byte[] d = new byte[i == 0 ? 1 : i];\r\n\t\t\tfor (; i-- > 0; l /= 0x100)\r\n\t\t\t\td[i] = (byte) (l & 0xff);\r\n\t\t\treturn d;\r\n\t\t}",
"java.lang.String getField1281();",
"@Test\n @Tag(\"bm1000\")\n public void testADLITTLE() {\n CuteNetlibCase.doTest(\"ADLITTLE.SIF\", \"225494.96316238036\", null, NumberContext.of(7, 4));\n }",
"C1111j mo5881f(String str);",
"long mo1685a(C2369e c2369e);",
"java.lang.String getField1648();",
"public abstract void mo9798a(byte b);",
"@Test\n public void decodeDouble()\n {\n final double[] array = new double[4];\n array[0] = 0;\n array[1] = 0;\n array[2] = 1;\n array[3] = 1;\n\n final BinaryEncoder encoder = new BinaryEncoder(16);\n assertEquals(3.0, encoder.decode(array), 0.0);\n }",
"int mo1684a(byte[] bArr, int i, int i2);",
"private static String FloatToBinaryString(float data){\n int intData = Float.floatToIntBits(data);\n return String.format(\"%32s\", Integer.toBinaryString(intData)).replace(' ', '0');\n }",
"@Test void byteLarge() {\n\t\tbyte[] data = new byte[100];\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tdata[i] = (byte)(100 + i);\n\t\t}\n\t\tAztecCode marker = new AztecEncoder().\n\t\t\t\taddUpper(\"A\").addBytes(data, 1, 99).addLower(\"a\").fixate();\n\n\t\t// clear the old data\n\t\tclearMarker(marker);\n\n\t\tassertTrue(new AztecDecoder().process(marker));\n\n\t\tassertEquals('A', marker.message.charAt(0));\n\t\tfor (int i = 1; i < 100; i++) {\n\t\t\tassertEquals(100 + i, (int)marker.message.charAt(i));\n\t\t}\n\t\tassertEquals('a', marker.message.charAt(100));\n\t}",
"void mo4520a(byte[] bArr);",
"private byte m684d(byte b) {\n byte b2 = (byte) (b & TType.f577m);\n switch (b2) {\n case 0:\n return 0;\n case 1:\n case 2:\n return 2;\n case 3:\n return 3;\n case 4:\n return 6;\n case 5:\n return 8;\n case 6:\n return 10;\n case TApplicationException.f455h:\n return 4;\n case 8:\n return 11;\n case 9:\n return TType.f577m;\n case 10:\n return TType.f576l;\n case ReportPolicy.QUASI_REALTIME_POLICY /*{ENCODED_INT: 11}*/:\n return TType.f575k;\n case 12:\n return 12;\n default:\n throw new TProtocolException(\"don't know what type: \" + ((int) b2));\n }\n }",
"private String BtaOneConversion() {\n int reading = (raw[25] & 0xFF) + ((raw[26] & 0x03) << 8);\n\n Map<String, BigDecimal> variables = new HashMap<String, BigDecimal>();\n variables.put(\"x\", new BigDecimal(reading));\n BigDecimal result = b1Conv.eval(variables);\n return result.setScale(3, RoundingMode.UP) + \"\";\n }",
"void mo12206a(byte[] bArr);",
"public abstract float mo70722e(String str);",
"private byte m10269d(byte b) throws cz {\r\n switch ((byte) (b & 15)) {\r\n case (byte) 0:\r\n return (byte) 0;\r\n case (byte) 1:\r\n case (byte) 2:\r\n return (byte) 2;\r\n case (byte) 3:\r\n return (byte) 3;\r\n case (byte) 4:\r\n return (byte) 6;\r\n case (byte) 5:\r\n return (byte) 8;\r\n case (byte) 6:\r\n return (byte) 10;\r\n case (byte) 7:\r\n return (byte) 4;\r\n case (byte) 8:\r\n return (byte) 11;\r\n case (byte) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r\n return df.f6528l;\r\n case (byte) 11:\r\n return df.f6527k;\r\n case (byte) 12:\r\n return (byte) 12;\r\n default:\r\n throw new cz(\"don't know what type: \" + ((byte) (b & 15)));\r\n }\r\n }",
"private String MiniTwoConversion() {\n int reading = ((raw[23] & 0xC0) >> 6) + ((raw[24] & 0xFF) << 2);\n\n Map<String, BigDecimal> variables = new HashMap<String, BigDecimal>();\n variables.put(\"x\", new BigDecimal(reading));\n BigDecimal result = m2Conv.eval(variables);\n return result.setScale(3, RoundingMode.UP) + \"\";\n }",
"public static void srs_print_bytes(String tag, ByteBuffer bb, int size) {\n StringBuilder sb = new StringBuilder();\n int i = 0;\n int bytes_in_line = 16;\n int max = bb.remaining();\n for (i = 0; i < size && i < max; i++) {\n sb.append(String.format(\"0x%s \", Integer.toHexString(bb.get(i) & 0xFF)));\n if (((i + 1) % bytes_in_line) == 0) {\n Log.i(tag, String.format(\"%03d-%03d: %s\", i / bytes_in_line * bytes_in_line, i, sb.toString()));\n sb = new StringBuilder();\n }\n }\n if (sb.length() > 0) {\n Log.i(tag, String.format(\"%03d-%03d: %s\", size / bytes_in_line * bytes_in_line, i - 1, sb.toString()));\n }\n }",
"public static double teraBytesToBits(double num) { return (num*8*Math.exp(12)); }",
"static int beautifulBinaryString(String b) {\n int index = b.indexOf(\"010\", 0) ;\n int change = 0;\n while (index != -1) {\n change++;\n index = b.indexOf(\"010\", index + 3) ;\n }\n return change;\n }",
"@Test\n public void testByteArray2Integer() {\n System.out.println(\"byteArray2Integer\");\n SntParser instance = new SntParser();\n byte[] array = {0x20, 0x00, 0x30, 0x34};\n int start = 0;\n int length = 3;\n int expResult = 0x200030;\n int result = byteArray2Integer(array, start, length);\n assertEquals(expResult, result);\n }",
"@Test\n public void testBytes() {\n byte[] bytes = new byte[]{ 4, 8, 16, 32, -128, 0, 0, 0 };\n ParseEncoder encoder = PointerEncoder.get();\n JSONObject json = ((JSONObject) (encoder.encode(bytes)));\n ParseDecoder decoder = ParseDecoder.get();\n byte[] bytesAgain = ((byte[]) (decoder.decode(json)));\n Assert.assertEquals(8, bytesAgain.length);\n Assert.assertEquals(4, bytesAgain[0]);\n Assert.assertEquals(8, bytesAgain[1]);\n Assert.assertEquals(16, bytesAgain[2]);\n Assert.assertEquals(32, bytesAgain[3]);\n Assert.assertEquals((-128), bytesAgain[4]);\n Assert.assertEquals(0, bytesAgain[5]);\n Assert.assertEquals(0, bytesAgain[6]);\n Assert.assertEquals(0, bytesAgain[7]);\n }",
"public void mo9824b(String str) {\n int i;\n int i2;\n try {\n int length = str.length() * 3;\n int i3 = C3670m.m8671i(length);\n int i4 = i3 + length;\n if (i4 > this.f9107e) {\n byte[] bArr = new byte[length];\n int a = C3700r1.m8885a(str, bArr, 0, length);\n mo9814c(a);\n mo9826b(bArr, 0, a);\n return;\n }\n if (i4 > this.f9107e - this.f9108f) {\n mo9827i();\n }\n int i5 = C3670m.m8671i(str.length());\n i = this.f9108f;\n if (i5 == i3) {\n int i6 = i + i5;\n this.f9108f = i6;\n int a2 = C3700r1.m8885a(str, this.f9106d, i6, this.f9107e - i6);\n this.f9108f = i;\n i2 = (a2 - i) - i5;\n mo9820l(i2);\n this.f9108f = a2;\n } else {\n i2 = C3700r1.m8884a((CharSequence) str);\n mo9820l(i2);\n this.f9108f = C3700r1.m8885a(str, this.f9106d, this.f9108f, i2);\n }\n this.f9109g += i2;\n } catch (C3703c e) {\n this.f9109g -= this.f9108f - i;\n this.f9108f = i;\n throw e;\n } catch (ArrayIndexOutOfBoundsException e2) {\n throw new C3674d(e2);\n } catch (C3703c e3) {\n mo9808a(str, e3);\n }\n }",
"byte getEByte();",
"byte decodeByte();",
"static String OIDtoString(byte[] buffer, int offset, int length) {\n StringBuffer result;\n int end;\n int t;\n int x;\n int y;\n\n if (length == 0) {\n return \"\";\n }\n\n result = new StringBuffer(40);\n\n end = offset + length;\n\n /*\n * first byte (t) always represents the first 2 values (x, y).\n * t = (x * 40) + y;\n */\n t = buffer[offset++] & 0xff;\n x = t / 40;\n y = t - (x * 40);\n\n result.append(x);\n result.append('.');\n result.append(y);\n\n x = 0;\n while (offset < end) {\n // 7 bit per byte, bit 8 = 0 means the end of a value\n x = x << 7;\n\n t = buffer[offset++];\n if (t >= 0) {\n x += t;\n result.append('.');\n result.append(x);\n x = 0;\n } else {\n x += t & 0x7f;\n }\n }\n\n return result.toString();\n }",
"protected abstract int decodeLength ();",
"java.lang.String getNumb();",
"private byte[] magSerializedForm() {\n int len = mag.length;\n\n int bitLen = (len == 0 ? 0 : ((len - 1) << 5) + bitLengthForInt(mag[0]));\n int byteLen = (bitLen + 7) >>> 3;\n byte[] result = new byte[byteLen];\n\n for (int i = byteLen - 1, bytesCopied = 4, intIndex = len - 1, nextInt = 0;\n i >= 0; i--) {\n if (bytesCopied == 4) {\n nextInt = mag[intIndex--];\n bytesCopied = 1;\n } else {\n nextInt >>>= 8;\n bytesCopied++;\n }\n result[i] = (byte)nextInt;\n }\n return result;\n }",
"@Test\n public void testBytesToHexString() {\n String testHex = ByteUtils.bytesToHexString(testBytes); \n assertEquals(testHex.length(), testBytes.length * 2);\n }",
"int retrieveString(byte s[]);",
"public static String canonicalDecomposeWithSingleQuotation(String paramString)\n/* */ {\n/* 2506 */ char[] arrayOfChar1 = paramString.toCharArray();\n/* 2507 */ int i = 0;\n/* 2508 */ int j = arrayOfChar1.length;\n/* 2509 */ Object localObject1 = new char[arrayOfChar1.length * 3];\n/* 2510 */ int k = 0;\n/* 2511 */ int m = localObject1.length;\n/* */ \n/* 2513 */ char[] arrayOfChar2 = new char[3];\n/* */ \n/* */ \n/* */ \n/* 2517 */ int i2 = 4;\n/* */ \n/* */ \n/* 2520 */ int i6 = (char)indexes[8];\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 2527 */ int i1 = 0xFF00 | i2;\n/* 2528 */ int i3 = 0;\n/* 2529 */ int i8 = 0;\n/* 2530 */ long l = 0L;\n/* 2531 */ int i5 = 0;\n/* 2532 */ int i10 = 0;\n/* */ int i9;\n/* 2534 */ int i7 = i9 = -1;\n/* */ for (;;) {\n/* 2536 */ int n = i;\n/* */ \n/* 2538 */ while ((i != j) && (((i5 = arrayOfChar1[i]) < i6) || \n/* */ \n/* 2540 */ (((l = getNorm32(i5)) & i1) == 0L) || ((i5 >= 44032) && (i5 <= 55203))))\n/* */ {\n/* */ \n/* 2543 */ i8 = 0;\n/* 2544 */ i++;\n/* */ }\n/* */ \n/* */ int i4;\n/* 2548 */ if (i != n) {\n/* 2549 */ i4 = i - n;\n/* 2550 */ if (k + i4 <= m) {\n/* 2551 */ System.arraycopy(arrayOfChar1, n, localObject1, k, i4);\n/* */ }\n/* */ \n/* 2554 */ k += i4;\n/* 2555 */ i3 = k;\n/* */ }\n/* */ \n/* */ \n/* 2559 */ if (i == j) {\n/* */ break;\n/* */ }\n/* */ \n/* 2563 */ i++;\n/* */ char c2;\n/* 2565 */ if (isNorm32Regular(l)) {\n/* 2566 */ c2 = '\\000';\n/* 2567 */ i4 = 1;\n/* */ \n/* */ }\n/* 2570 */ else if ((i != j) && \n/* 2571 */ (Character.isLowSurrogate(c2 = arrayOfChar1[i]))) {\n/* 2572 */ i++;\n/* 2573 */ i4 = 2;\n/* 2574 */ l = getNorm32FromSurrogatePair(l, c2);\n/* */ } else {\n/* 2576 */ c2 = '\\000';\n/* 2577 */ i4 = 1;\n/* 2578 */ l = 0L;\n/* */ }\n/* */ \n/* */ char[] arrayOfChar3;\n/* */ char c1;\n/* 2583 */ if ((l & i2) == 0L)\n/* */ {\n/* 2585 */ i7 = i9 = (int)(0xFF & l >> 8);\n/* 2586 */ arrayOfChar3 = null;\n/* 2587 */ i10 = -1;\n/* */ } else {\n/* 2589 */ localObject2 = new DecomposeArgs(null);\n/* */ \n/* */ \n/* 2592 */ i10 = decompose(l, i2, (DecomposeArgs)localObject2);\n/* 2593 */ arrayOfChar3 = extraData;\n/* 2594 */ i4 = ((DecomposeArgs)localObject2).length;\n/* 2595 */ i7 = ((DecomposeArgs)localObject2).cc;\n/* 2596 */ i9 = ((DecomposeArgs)localObject2).trailCC;\n/* 2597 */ if (i4 == 1)\n/* */ {\n/* 2599 */ c1 = arrayOfChar3[i10];\n/* 2600 */ c2 = '\\000';\n/* 2601 */ arrayOfChar3 = null;\n/* 2602 */ i10 = -1;\n/* */ }\n/* */ }\n/* */ \n/* 2606 */ if (k + i4 * 3 >= m)\n/* */ {\n/* 2608 */ localObject2 = new char[m * 2];\n/* 2609 */ System.arraycopy(localObject1, 0, localObject2, 0, k);\n/* 2610 */ localObject1 = localObject2;\n/* 2611 */ m = localObject1.length;\n/* */ }\n/* */ \n/* */ \n/* 2615 */ Object localObject2 = k;\n/* 2616 */ if (arrayOfChar3 == null)\n/* */ {\n/* 2618 */ if (needSingleQuotation(c1))\n/* */ {\n/* */ \n/* 2621 */ localObject1[(k++)] = 39;\n/* 2622 */ localObject1[(k++)] = c1;\n/* 2623 */ localObject1[(k++)] = 39;\n/* 2624 */ i9 = 0;\n/* 2625 */ } else if ((i7 != 0) && (i7 < i8))\n/* */ {\n/* */ \n/* 2628 */ k += i4;\n/* 2629 */ i9 = insertOrdered((char[])localObject1, i3, localObject2, k, c1, c2, i7);\n/* */ }\n/* */ else\n/* */ {\n/* 2633 */ localObject1[(k++)] = c1;\n/* 2634 */ if (c2 != 0) {\n/* 2635 */ localObject1[(k++)] = c2;\n/* */ }\n/* */ \n/* */ }\n/* */ \n/* */ }\n/* 2641 */ else if (needSingleQuotation(arrayOfChar3[i10])) {\n/* 2642 */ localObject1[(k++)] = 39;\n/* 2643 */ localObject1[(k++)] = arrayOfChar3[(i10++)];\n/* 2644 */ localObject1[(k++)] = 39;\n/* 2645 */ i4--;\n/* */ do {\n/* 2647 */ localObject1[(k++)] = arrayOfChar3[(i10++)];\n/* 2648 */ i4--; } while (i4 > 0);\n/* */ }\n/* 2650 */ else if ((i7 != 0) && (i7 < i8)) {\n/* 2651 */ k += i4;\n/* 2652 */ i9 = mergeOrdered((char[])localObject1, i3, localObject2, arrayOfChar3, i10, i10 + i4);\n/* */ }\n/* */ else\n/* */ {\n/* */ do {\n/* 2657 */ localObject1[(k++)] = arrayOfChar3[(i10++)];\n/* 2658 */ i4--; } while (i4 > 0);\n/* */ }\n/* */ \n/* */ \n/* 2662 */ i8 = i9;\n/* 2663 */ if (i8 == 0) {\n/* 2664 */ i3 = k;\n/* */ }\n/* */ }\n/* 2667 */ return new String((char[])localObject1, 0, k);\n/* */ }",
"@Test\n public void testFromBytes() throws Exception {\n assertEquals(\"1 a\", undertest2.fromBytes(intsToBytes(0), 0, 3));\n // 16->0b00001000->0b001 => 0b00->0->\"1\", 0b1->1->\"b\"\n assertEquals(\"1 b\", undertest2.fromBytes(intsToBytes(16), 2, 5));\n // 8->0b00010000->0b100 => 0b10->1->\"2\", 0b0->0->\"a\"\n assertEquals(\"2 a\", undertest2.fromBytes(intsToBytes(8), 3, 6));\n // 32->0b00000100->0b010 => 0b01->2->\"3\", 0b0->0->\"a\"\n assertEquals(\"3 a\", undertest2.fromBytes(intsToBytes(32), 4, 7));\n // 8->0b00010000->0b000 => 0b00->0->\"1\", 0b0->0->\"a\"\n assertEquals(\"1 a\", undertest2.fromBytes(intsToBytes(8), 0, 3));\n // 255->0b11111111->0b111 => 0b11->3->\"4\", 0b1->1->\"b\"\n assertEquals(\"4 b\", undertest2.fromBytes(intsToBytes(255), 0, 3));\n }",
"String getFloatingPointEncoding();",
"java.lang.String getField1072();",
"public static String nthrt(String bytes,int size, int value){\n if(value==1||value==0||size<1||size>bytes.length()||!Cript2010x8b.USEPOWNTHRT) return bytes; \n String out=\"\"; \n int max=bytes.length()/size; \n if(bytes.length()%size!=0) \n max++; \n for(int i=0;i<max;i++){ \n String subStr=\"\"; \n for(int l=0;l<size;l++) \n try{ \n subStr+=bytes.charAt(i*size+(size-l-1)); \n }catch(Exception e){ \n String bug=bytes.substring(i*size); \n bug=addLong(bug,1,value); \n return out+bug; \n } \n BigInteger current=strToBInt(subStr); \n int exiter=0;\n while(Operations.nthRootFloor(current, value).pow(value).compareTo(current)!=0){ \n if(exiter>66) break;\n current=current.add(BigInteger.valueOf(2).pow(8*size)); \n exiter++;\n } \n current=Operations.nthRootFloor(current, value); \n exiter=0;\n while(current.compareTo(BigInteger.valueOf(2).pow(8*size))>0){if(exiter>66) break;current=current.add(BigInteger.valueOf(2).pow(8*size).negate());exiter++;} \n exiter=0;\n while(current.compareTo(BigInteger.ZERO)<0){if(exiter>66) break;current=current.add(BigInteger.valueOf(2).pow(8*size));exiter++;} \n \n out+=BintToStr(current,size); \n } \n return out; \n }",
"short getP( byte[] buffer, short offset );",
"public abstract String visualize(byte input);",
"private final com.google.android.play.p179a.p352a.ae m28545b(com.google.protobuf.nano.a r8) {\n /*\n r7 = this;\n r6 = 1048576; // 0x100000 float:1.469368E-39 double:5.180654E-318;\n L_0x0002:\n r0 = r8.a();\n switch(r0) {\n case 0: goto L_0x000f;\n case 8: goto L_0x0010;\n case 18: goto L_0x001d;\n case 24: goto L_0x002a;\n case 34: goto L_0x0037;\n case 42: goto L_0x0044;\n case 50: goto L_0x0051;\n case 58: goto L_0x005e;\n case 66: goto L_0x006b;\n case 74: goto L_0x0078;\n case 82: goto L_0x0086;\n case 90: goto L_0x0094;\n case 98: goto L_0x00a2;\n case 106: goto L_0x00b0;\n case 114: goto L_0x00be;\n case 122: goto L_0x00cc;\n case 130: goto L_0x00dc;\n case 138: goto L_0x00eb;\n case 144: goto L_0x00fa;\n case 152: goto L_0x0108;\n case 160: goto L_0x0117;\n case 168: goto L_0x0126;\n default: goto L_0x0009;\n };\n L_0x0009:\n r0 = super.m4918a(r8, r0);\n if (r0 != 0) goto L_0x0002;\n L_0x000f:\n return r7;\n L_0x0010:\n r0 = r8.j();\n r7.f30754b = r0;\n r0 = r7.f30753a;\n r0 = r0 | 1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x001d:\n r0 = r8.f();\n r7.f30755c = r0;\n r0 = r7.f30753a;\n r0 = r0 | 2;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x002a:\n r0 = r8.i();\n r7.f30757e = r0;\n r0 = r7.f30753a;\n r0 = r0 | 8;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0037:\n r0 = r8.f();\n r7.f30758f = r0;\n r0 = r7.f30753a;\n r0 = r0 | 16;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0044:\n r0 = r8.f();\n r7.f30759g = r0;\n r0 = r7.f30753a;\n r0 = r0 | 32;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0051:\n r0 = r8.f();\n r7.f30762j = r0;\n r0 = r7.f30753a;\n r0 = r0 | 256;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x005e:\n r0 = r8.f();\n r7.f30763k = r0;\n r0 = r7.f30753a;\n r0 = r0 | 512;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x006b:\n r0 = r8.f();\n r7.f30760h = r0;\n r0 = r7.f30753a;\n r0 = r0 | 64;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0078:\n r0 = r8.f();\n r7.f30761i = r0;\n r0 = r7.f30753a;\n r0 = r0 | 128;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0086:\n r0 = r8.f();\n r7.f30764l = r0;\n r0 = r7.f30753a;\n r0 = r0 | 1024;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0094:\n r0 = r8.f();\n r7.f30765m = r0;\n r0 = r7.f30753a;\n r0 = r0 | 2048;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00a2:\n r0 = r8.f();\n r7.f30766n = r0;\n r0 = r7.f30753a;\n r0 = r0 | 4096;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00b0:\n r0 = r8.f();\n r7.f30767o = r0;\n r0 = r7.f30753a;\n r0 = r0 | 8192;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00be:\n r0 = r8.f();\n r7.f30768p = r0;\n r0 = r7.f30753a;\n r0 = r0 | 16384;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00cc:\n r0 = r8.f();\n r7.f30769q = r0;\n r0 = r7.f30753a;\n r1 = 32768; // 0x8000 float:4.5918E-41 double:1.61895E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00dc:\n r0 = r8.f();\n r7.f30770r = r0;\n r0 = r7.f30753a;\n r1 = 65536; // 0x10000 float:9.18355E-41 double:3.2379E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00eb:\n r0 = r8.f();\n r7.f30771s = r0;\n r0 = r7.f30753a;\n r1 = 131072; // 0x20000 float:1.83671E-40 double:6.47582E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00fa:\n r0 = r8.j();\n r7.f30756d = r0;\n r0 = r7.f30753a;\n r0 = r0 | 4;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0108:\n r0 = r8.i();\n r7.f30772t = r0;\n r0 = r7.f30753a;\n r1 = 262144; // 0x40000 float:3.67342E-40 double:1.295163E-318;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0117:\n r0 = r8.e();\n r7.f30773u = r0;\n r0 = r7.f30753a;\n r1 = 524288; // 0x80000 float:7.34684E-40 double:2.590327E-318;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0126:\n r1 = r7.f30753a;\n r1 = r1 | r6;\n r7.f30753a = r1;\n r1 = r8.o();\n r2 = r8.i();\t Catch:{ IllegalArgumentException -> 0x0151 }\n switch(r2) {\n case 0: goto L_0x015a;\n case 1: goto L_0x015a;\n case 2: goto L_0x015a;\n default: goto L_0x0136;\n };\t Catch:{ IllegalArgumentException -> 0x0151 }\n L_0x0136:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r4 = 48;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r4 = \" is not a valid enum PairedDeviceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0151 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0151 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0151 }\n L_0x0151:\n r2 = move-exception;\n r8.e(r1);\n r7.m4918a(r8, r0);\n goto L_0x0002;\n L_0x015a:\n r7.f30774v = r2;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r7.f30753a;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r2 | r6;\n r7.f30753a = r2;\t Catch:{ IllegalArgumentException -> 0x0151 }\n goto L_0x0002;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.ae.b(com.google.protobuf.nano.a):com.google.android.play.a.a.ae\");\n }",
"@Test(timeout = 4000)\n public void test075() throws Throwable {\n int int0 = JavaCharStream.hexval('b');\n assertEquals(11, int0);\n }",
"@Test(timeout = 4000)\n public void test032() throws Throwable {\n StringReader stringReader0 = new StringReader(\"sJNE2{bNqL3eJqA\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 0, 1, 0);\n String string0 = javaCharStream0.GetImage();\n assertEquals(\"\", string0);\n }",
"private static String m66046a(byte[] bArr) {\n int i = 0;\n int i2 = 0;\n int i3 = -1;\n int i4 = 0;\n while (i2 < bArr.length) {\n int i5 = i2;\n while (i5 < 16 && bArr[i5] == 0 && bArr[i5 + 1] == 0) {\n i5 += 2;\n }\n int i6 = i5 - i2;\n if (i6 > i4 && i6 >= 4) {\n i3 = i2;\n i4 = i6;\n }\n i2 = i5 + 2;\n }\n C13887c cVar = new C13887c();\n while (i < bArr.length) {\n if (i == i3) {\n cVar.writeByte(58);\n i += i4;\n if (i == 16) {\n cVar.writeByte(58);\n }\n } else {\n if (i > 0) {\n cVar.writeByte(58);\n }\n cVar.m59547e((long) (((bArr[i] & 255) << 8) | (bArr[i + 1] & 255)));\n i += 2;\n }\n }\n return cVar.mo43923w();\n }",
"private static String decodeStringFromBuffer(StringBuffer buf)\n {\n String returnValue = null;\n\n if (buf != null)\n {\n StringBuffer decodedBuffer = new StringBuffer();\n char[] pair = new char[2];\n\n // get the char equivelant of each number pair + 32\n for (int numberPair = 0; numberPair < buf.length() - 1;\n numberPair += 2)\n {\n buf.getChars(numberPair, numberPair + 2, pair, 0);\n int ascii;\n\n try\n {\n ascii = Integer.valueOf(new String(pair)).intValue() + 32;\n }\n catch (NumberFormatException e)\n {\n return null;\n }\n decodedBuffer.append((char) ascii);\n }\n returnValue = decodedBuffer.toString();\n }\n return returnValue;\n }",
"@Test\n @Tag(\"bm1000\")\n public void testBOEING2() {\n CuteNetlibCase.doTest(\"BOEING2.SIF\", \"-3.1501872802E+02\", \"-73.36896910872208\", NumberContext.of(7, 4));\n }",
"void mo1751a(byte[] bArr);",
"private String pedometerConversion() {\n return (record[20] & 255) + \"\";\n }",
"byte mo25264b(int i);",
"public static void main(String[] args) {\n byte contohByte = 100;\n short contohShort = 10000;\n int contohInt = 32000;\n long contohLong = 12000000;\n long contohLong2 = 120000000L;\n\n float contohFloat = 3.14F;\n double contohDouble = 3.12345667;\n\n int desimalInt = 43;\n int hexadecimalInt = 0x123fa;\n int binaryInt = 0b00010001;\n\n\n\n }",
"public static void main(String[] args) {\n\t\tfloat f1=100.0f;\r\n\t\tbyte b1=80;\r\n\t\tchar c='o';\r\n\t\tString s1=\"123\";\r\n\t\tf1=(int)f1<<2;\r\n\t\tb1=(byte)(b1<<2);\r\n\t\t//s1=s1<<2;\r\n\t\tc=(char)(c<<2);//位运算符的操作数只能是整形和字符型\r\n\t\tSystem.out.println(f1);\r\n\t\tSystem.out.println(b1);\r\n\t\tSystem.out.println(c);\r\n\t}",
"@Test void byteSmall() {\n\t\tAztecCode marker = new AztecEncoder().\n\t\t\t\taddUpper(\"A\").addBytes(new byte[]{1, 100, (byte)200}, 0, 3).addLower(\"a\").fixate();\n\n\t\t// clear the old data\n\t\tclearMarker(marker);\n\n\t\tassertTrue(new AztecDecoder().process(marker));\n\n\t\tassertEquals('A', marker.message.charAt(0));\n\t\tassertEquals(1, (int)marker.message.charAt(1));\n\t\tassertEquals(100, (int)marker.message.charAt(2));\n\t\tassertEquals(200, (int)marker.message.charAt(3));\n\t\tassertEquals('a', marker.message.charAt(4));\n\t}",
"C3579d mo19708e(String str) throws IOException;",
"java.lang.String getField1305();",
"private String toHex(byte[] data) {\r\n char[] chars = new char[data.length * 2];\r\n for (int i = 0; i < data.length; i++) {\r\n chars[i * 2] = HEX_DIGITS[(data[i] >> 4) & 0xf];\r\n chars[i * 2 + 1] = HEX_DIGITS[data[i] & 0xf];\r\n }\r\n return new String(chars);\r\n}",
"private void convertToNum(String s)\n\t{\n\t\tchar charArray[] = s.toCharArray();\n\t\tmyMessage = new BigInteger[(int)Math.ceil(s.length()/(double)BLOCK_SIZE)];\n\t\tfor(int i = 0; i < myMessage.length; i++)\n\t\t{\n\t\t\tString chars = \"\";\n\t\t\tfor(int j = 0; j < BLOCK_SIZE; j++)\n\t\t\t{\n\t\t\t\tif(charArray.length > j+(i*BLOCK_SIZE))\n\t\t\t\t{\n\t\t\t\t\tchars += (int)charArray[j+(i*BLOCK_SIZE)];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tchars += \"256\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tmyMessage[i] = new BigInteger(chars);\n\t\t}\n\t}",
"static StringBuilder convert_to_binary(String msg) {\n byte[] bytes = msg.getBytes();\r\n StringBuilder binary = new StringBuilder();\r\n for (byte b : bytes) {\r\n int val = b;\r\n for (int i = 0; i < 8; i++) {\r\n binary.append((val & 128) == 0 ? 0 : 1);\r\n val <<= 1;\r\n }\r\n binary.append(\"\");\r\n }\r\n return binary;\r\n }",
"com.google.protobuf.ByteString\n getField1322Bytes();",
"public abstract byte[] parse(String input);",
"@Test(timeout = 4000)\n public void test072() throws Throwable {\n int int0 = JavaCharStream.hexval('e');\n assertEquals(14, int0);\n }",
"private static String m21386a(int i) {\n StringBuilder sb = new StringBuilder();\n sb.append(i & 255);\n String str = \".\";\n sb.append(str);\n sb.append((i >> 8) & 255);\n sb.append(str);\n sb.append((i >> 16) & 255);\n sb.append(str);\n sb.append((i >> 24) & 255);\n return sb.toString();\n }",
"protected String decodeByteWithParity(String given) {\n if (given == null || given.length() != 4) {\n return \"\";\n }\n if (given.charAt(3) == '?') {\n return given.substring(0, 3);\n }\n boolean parityActual = false;\n String result = given.substring(0, 3);\n for (char c : result.toCharArray()) {\n if (c == '1') {\n parityActual = !parityActual;\n }\n }\n boolean parityExpected = given.charAt(3) == '1';\n return parityExpected == parityActual ?\n result.replaceAll(\"\\\\?\", \"0\") :\n result.replaceAll(\"\\\\?\", \"1\");\n }",
"private static byte[] addLengthOctet(String s)\n {\n byte buf[], buf2[];\n\n buf = s.getBytes();\n buf2 = new byte[buf.length + 1];\n System.arraycopy(buf, 0, buf2, 1, buf.length);\n buf2[0] = (byte)buf.length;\n\n return buf2;\n }",
"byte[] mo12209b(int i);"
] | [
"0.5884337",
"0.5874205",
"0.58304787",
"0.57441217",
"0.5697094",
"0.5598319",
"0.5591876",
"0.5585339",
"0.5537564",
"0.5523326",
"0.551075",
"0.5471713",
"0.54603463",
"0.5431093",
"0.5421226",
"0.5419736",
"0.54016423",
"0.53960854",
"0.5393284",
"0.53889656",
"0.5381783",
"0.53762954",
"0.53716475",
"0.5371493",
"0.53711313",
"0.5330485",
"0.53299296",
"0.53213936",
"0.52952534",
"0.52946",
"0.52702814",
"0.52692497",
"0.5263108",
"0.5256328",
"0.52406377",
"0.5240404",
"0.52396685",
"0.5232911",
"0.52323157",
"0.5221156",
"0.52209014",
"0.52129906",
"0.52121586",
"0.5208659",
"0.5201489",
"0.51948494",
"0.51933664",
"0.5191982",
"0.5186626",
"0.5181255",
"0.51780885",
"0.51701903",
"0.51688766",
"0.51652014",
"0.51521707",
"0.5136626",
"0.5135652",
"0.513538",
"0.51331913",
"0.51290405",
"0.5124414",
"0.5122057",
"0.5118438",
"0.51177293",
"0.5114152",
"0.5112883",
"0.51096934",
"0.5104541",
"0.5103465",
"0.5103326",
"0.5101205",
"0.50986403",
"0.509819",
"0.50817823",
"0.5079398",
"0.5079183",
"0.5078352",
"0.50762504",
"0.50723195",
"0.5067816",
"0.506529",
"0.50651747",
"0.5065151",
"0.5063645",
"0.50613046",
"0.5060407",
"0.50545496",
"0.50536597",
"0.50502574",
"0.5048017",
"0.50367135",
"0.50346303",
"0.5029932",
"0.50286853",
"0.5026832",
"0.50168884",
"0.5010021",
"0.5005648",
"0.50020266",
"0.50006175",
"0.4988303"
] | 0.0 | -1 |
/ NEAREST NEIGHBOR query | private String getq_nn(String object_type, ArrayList<String> other_param) {
String txt = "";
String building_id = null;
int k = 0;
String query = null;
try {
building_id = other_param.get(0);
k = Integer.parseInt(other_param.get(1));
} catch(Exception e) {
e.printStackTrace();
txt += "Invalid parameters!";
}
if(object_type.equals("building")) {
query = "SELECT b1.b_id as id, glength( LineStringFromWKB(LineString( " +
"Centroid(b1.pol), b2.center))) as dist " +
"FROM building b1, (SELECT b_id, Centroid(pol) as center " +
"FROM building " +
"WHERE b_id='"+ building_id +"' ) as b2 " +
"WHERE b1.b_id <> b2.b_id " +
"AND b1.fire=0 " +
"ORDER BY dist ASC " +
"LIMIT "+ k +";";
}
else if(object_type.equals("firehydrant")) {
query = "SELECT h.h_id as id, glength( LineStringFromWKB(LineString( " +
"geo, b.center))) as dist " +
"FROM hydrant h, (SELECT b_id, Centroid(pol) as center " +
"FROM building " +
"WHERE b_id='"+ building_id +"' ) as b " +
"ORDER BY dist ASC " +
"LIMIT "+ k +";";
}
else if(object_type.equals("firebuilding")) {
query = "SELECT b1.b_id as id, glength( LineStringFromWKB(LineString( " +
"Centroid(b1.pol), b2.center))) as dist " +
"FROM building b1, (SELECT b_id, Centroid(pol) as center " +
"FROM building " +
"WHERE b_id='"+ building_id +"' ) as b2 " +
"WHERE b1.b_id <> b2.b_id " +
"AND b1.fire=1 " +
"ORDER BY dist ASC " +
"LIMIT "+ k +";";
}
else { txt += "Invalid parameters!"; }
if(query != null) {
try {
ResultSet rs = this.exec_query(query);
while(rs.next()) {
txt += "\n" + rs.getString("id");
}
} catch (SQLException e) {
System.out.println("SQL Error!");
e.printStackTrace();
}
}
this.txt_area.append(txt);
return txt;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testLateralNeighbors() {\n\t\tPosition left = new Position(0,0);\n\t\tPosition right = new Position(1,0);\n\n\t\tint distance = euclideanSquaredMetric.calculateCost(left, right);\n\t\tassertEquals(lateralDistanceWeight, distance);\n\n\t\tPosition top = new Position(0,0);\n\t\tPosition bottom = new Position(0,1);\n\n\t\tdistance = euclideanSquaredMetric.calculateCost(top, bottom);\n\t\tassertEquals(lateralDistanceWeight, distance);\n\t}",
"private static int query(int[] segtree, int l, int r, int ns, int ne, int index) {\n if (ns >= l && ne <= r) {\n // complete overlap\n return segtree[index];\n } else if (ns > r || ne < l) {\n // no overlap\n return Integer.MAX_VALUE;\n } else {\n int mid = (ns + ne) / 2;\n int leftAns = query(segtree, l, r, ns, mid, 2 * index);\n int rightAns = query(segtree, l, r, mid + 1, ne, 2 * index + 1);\n return Math.min(leftAns, rightAns);\n }\n }",
"private Set<Cell> findShortestRoad(Set<Cell> b, Land land) {\n\t\tfor (Cell cell : b) {\n\t\t\tif (isNextToRoad(cell.i, cell.j, land))\n\t\t\t\treturn new HashSet<Cell>();\n\t\t}\n\t\t\n\t\tSet<Cell> output = new HashSet<Cell>();\n\t\tboolean[][] checked = new boolean[land.side][land.side];\n\t\tQueue<Cell> queue = new LinkedList<Cell>();\n\t\t// add border cells that don't have a road currently\n\t\t// dummy cell to serve as road connector to perimeter cells\n\t\tCell source = new Cell(Integer.MAX_VALUE, Integer.MAX_VALUE);\n\t\tfor (int z = 0; z < land.side; z++) {\n\t\t\tif (b.contains(new Cell(0, z)) || b.contains(new Cell(z, 0)) || b.contains(new Cell(land.side - 1, z))\n\t\t\t\t\t|| b.contains(new Cell(z, land.side - 1)))\n\t\t\t\treturn output;\n\t\t\tif (land.unoccupied(0, z))\n\t\t\t\tqueue.add(new Cell(0, z, source));\n\t\t\tif (land.unoccupied(z, 0))\n\t\t\t\tqueue.add(new Cell(z, 0, source));\n\t\t\tif (land.unoccupied(z, land.side - 1))\n\t\t\t\tqueue.add(new Cell(z, land.side - 1, source));\n\t\t\tif (land.unoccupied(land.side - 1, z))\n\t\t\t\tqueue.add(new Cell(land.side - 1, z, source));\n\t\t}\n\t\t// add cells adjacent to current road cells\n\t\tfor (Cell p : road_cells) {\n\t\t\tfor (Cell q : p.neighbors()) {\n\t\t\t\tif (!road_cells.contains(q) && land.unoccupied(q) && !b.contains(q))\n\t\t\t\t\tqueue.add(new Cell(q.i, q.j, p)); // use tail field of cell\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// to keep track of\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// previous road cell\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// during the search\n\t\t\t}\n\t\t}\n\t\twhile (!queue.isEmpty()) {\n\t\t\tCell p = queue.remove();\n\t\t\tchecked[p.i][p.j] = true;\n\t\t\tfor (Cell x : p.neighbors()) {\n\t\t\t\tif (b.contains(x)) { // trace back through search tree to find\n\t\t\t\t\t\t\t\t\t\t// path\n\t\t\t\t\tCell tail = p;\n\t\t\t\t\twhile (!b.contains(tail) && !road_cells.contains(tail) && !tail.equals(source)) {\n\t\t\t\t\t\toutput.add(new Cell(tail.i, tail.j));\n\t\t\t\t\t\ttail = tail.previous;\n\t\t\t\t\t}\n\t\t\t\t\tif (!output.isEmpty())\n\t\t\t\t\t\treturn output;\n\t\t\t\t} else if (!checked[x.i][x.j] && land.unoccupied(x.i, x.j)) {\n\t\t\t\t\tx.previous = p;\n\t\t\t\t\tqueue.add(x);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\tif (output.isEmpty() && queue.isEmpty())\n\t\t\treturn null;\n\t\telse\n\t\t\treturn output;\n\t}",
"private Point backtrack(Point p){\n\t\t// coordinates of the point\n\t\tint x = (int)p.getX();\n\t\tint y = (int)p.getY();\n\t\t// neigh hold the return value\n\t\tPoint neigh= p;\n\t\t// the lowest score\n\t\tint score=10000;\n\t\t// look at all the neighbor and compare them\n\t\tif(x>0\t && topology[x-1][y]>=0){\n\t\t\tscore = topology[x-1][y];\n\t\t\tneigh = new Point(x-1,y);\n\t\t}\n\t\tif(x<row-1 && topology[x+1][y]>=0 && score > topology[x+1][y]) {\n\t\t\tscore = topology[x+1][y];\n\t\t\tneigh = new Point(x+1,y);\n\t\t}\n\t\tif(y<col-1 && topology[x][y+1]>=0 && score > topology[x][y+1]) {\n\t\t\tscore = topology[x][y+1];\n\t\t\tneigh = new Point(x,y+1);\n\t\t}\n\t\tif(y>0 && topology[x][y-1]>=0 && score > topology[x][y-1]) {\n\t\t\tscore = topology[x][y-1];\n\t\t\tneigh = new Point(x,y-1);\n\t\t}\n\t\treturn neigh;\n\t}",
"public int getOptimalNumNearest();",
"public Point[] nearestPair() {\n\t\t\tPoint[] Answer = new Point[2];\n\t\t\tif (this.size<2)\treturn null; //step 1\n\t\t\tif (this.size==2){\n\t\t\t\tAnswer[0]=this.minx.getData();\n\t\t\t\tAnswer[1]=this.maxx.getData();\n\t\t\t\treturn Answer;\t\t\t\n\t\t\t}\n\t\t\tdouble MinDistance=-1; // for sure it will be change in the next section, just for avoid warrning.\n\t\t\tdouble MinDistanceInStrip=-1;\n\t\t\tPoint[] MinPointsLeft = new Point[2];\n\t\t\tPoint[] MinPointsRight = new Point[2];\n\t\t\tPoint[] MinPointsInStrip = new Point[2]; // around the median\n\t\t\tboolean LargestAxis = getLargestAxis(); //step 2\n\t\t\tContainer median = getMedian(LargestAxis); //step 3\n\t\t\tif (LargestAxis){// step 4 - calling the recursive function nearestPairRec\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(this.minx.getData().getX(), median.getData().getX(),LargestAxis), LargestAxis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(median.getNextX().getData().getX(), this.maxx.getData().getX(),LargestAxis), LargestAxis);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(this.miny.getData().getY(), median.getData().getY(),LargestAxis), LargestAxis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(median.getNextY().getData().getY(), this.maxy.getData().getY(),LargestAxis), LargestAxis);\n\t\t\t}\n\t\t\t//step 5\n\t\t\tif (MinPointsLeft!=null && MinPointsRight!=null){\n\t\t\t\tif (Distance(MinPointsLeft[0], MinPointsLeft[1]) > Distance(MinPointsRight[0], MinPointsRight[1])){\n\t\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\t\tAnswer = MinPointsRight;\n\t\t\t\t}else{\n\t\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (MinPointsLeft!=null) {\n\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t}\n\t\t\telse if (MinPointsRight!=null){\n\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\tAnswer = MinPointsRight;\n\t\t\t}\n\t\t\t//step 6 - nearest point around the median\n\t\t\tif (MinDistance==-1) MinDistance=0;\n\t\t\tMinPointsInStrip = nearestPairInStrip(median, MinDistance*2, LargestAxis);\n\t\t\tif (MinPointsInStrip != null){\n\t\t\t\tMinDistanceInStrip = Distance(MinPointsInStrip[0], MinPointsInStrip[1]);\n\t\t\t\tif (MinDistanceInStrip < MinDistance) return MinPointsInStrip;\n\t\t\t}\n\t\t\treturn Answer;\n\t\t}",
"private double heuristic(Node a, Node b){\n\n // absolute value of the differences in floors\n return Math.abs(a.getFloor() - b.getFloor());\n }",
"@Override\n public List<STPoint> nearestNeighbor(STPoint needle, STPoint boundValues, int n, int dim) {\n\n STPoint min = new STPoint(needle.getX()-boundValues.getX(), needle.getY()-boundValues.getY(), needle.getT()-boundValues.getT());\n STPoint max = new STPoint(needle.getX()+boundValues.getX(), needle.getY()+boundValues.getY(), needle.getT()+boundValues.getT());\n\n STRegion range = new STRegion(min, max);\n List<STPoint> allPoints = range(range);\n\n Quicksort qs = new Quicksort();\n\n qs.sortNearPoints(needle, allPoints, 0, allPoints.size() - 1, dim);\n\n allPoints.remove(0);//remove itself\n while(allPoints.size() > n){\n allPoints.remove(allPoints.size()-1);\n }\n\n if(allPoints.size()< 1){return null;}////\n\n return allPoints;\n }",
"public void reinitiallizeDistanceFunctionInside() {\n\t\tint i, j;\r\n\t\tfor (i = 0; i < _levelSet.length; i++) {\r\n\t\t\tfor (j = 0; j < _levelSet[i].length; j++) {\r\n\t\t\t\tint iPlus = imposeBorder(i + 1, _iSize);\r\n\t\t\t\tint iMinus = imposeBorder(i - 1, _iSize);\r\n\t\t\t\tint jPlus = imposeBorder(j + 1, _iSize);\r\n\t\t\t\tint jMinus = imposeBorder(j - 1, _iSize);\r\n\t\t\t\tif (_levelSet[i][j] <= 0) // // the check for points in region\r\n\t\t\t\t\t// // the check for points in border\r\n\t\t\t\t\tif (MatrixMath.anyNeighborIsOutside(_levelSet, i, j, iPlus,\r\n\t\t\t\t\t\t\tiMinus, jPlus, jMinus)) {\r\n\t\t\t\t\t\t// points in border are placed in narrowband\r\n\t\t\t\t\t\t// _narrowBandInside.add(new Location(i, j));\r\n\t\t\t\t\t\t_narrowBandInside.add(new Location(i, j));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// and location in distance matrix is set to infinite\r\n\t\t\t\t\t\t_levelSet[i][j] = Double.NEGATIVE_INFINITY;\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t// iterate until narrow band is empty\r\n\t\t// OrderByLevelSetValue comparator = new OrderByLevelSetValue();\r\n\t\t// while (_narrowBandInside.size() > 0) {\r\n\t\twhile (_narrowBandInside.size() > 0) {\r\n\t\t\t// get the maximum value\r\n\t\t\t// Location maxVal = _narrowBandInside.last();\r\n\t\t\tLocation maxVal = _narrowBandInside.last();\r\n\t\t\t// System.out.println(\"maxVal \" + maxVal);\r\n\t\t\t// System.out.println(\"_narrowBandInside.contains(maxVal) \"\r\n\t\t\t// + _narrowBandInside.contains(maxVal));\r\n\t\t\t// System.out.println(\"maxVal.compareTo(maxVal) \"\r\n\t\t\t// + maxVal.compareTo(maxVal));\r\n\r\n\t\t\t// get the neighbors that are still in _faraway\r\n\t\t\tint iPlus = imposeBorder(maxVal.i + 1, _iSize);\r\n\t\t\tint iMinus = imposeBorder(maxVal.i - 1, _iSize);\r\n\t\t\tint jPlus = imposeBorder(maxVal.j + 1, _iSize);\r\n\t\t\tint jMinus = imposeBorder(maxVal.j - 1, _iSize);\r\n\t\t\ttransferNeighborInside(iPlus, maxVal.j);\r\n\t\t\ttransferNeighborInside(iMinus, maxVal.j);\r\n\t\t\ttransferNeighborInside(maxVal.i, jPlus);\r\n\t\t\ttransferNeighborInside(maxVal.i, jMinus);\r\n\t\t\t// remove the value from the narrowband\r\n\t\t\t// _narrowBandInside.remove(maxVal);\r\n\t\t\t_narrowBandInside.remove(maxVal);\r\n\t\t}\r\n\t\t// done\r\n\t}",
"public int shortestBridge(int[][] A) {\n for(int i = 0; i < A.length; i++) {\n if(found) {\n break;\n }\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 1) {\n helper(A, i, j);\n found = true;\n break;\n }\n }\n }\n // Put all '2' into queue as candidate initial start points\n Queue<int[]> q = new LinkedList<int[]>();\n for(int i = 0; i < A.length; i++) {\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 2) {\n q.offer(new int[] {i, j});\n }\n }\n }\n int distance = 0;\n while(!q.isEmpty()) {\n int size = q.size();\n for(int i = 0; i < size; i++) {\n int[] cur = q.poll();\n for(int j = 0; j < 4; j++) {\n int new_x = cur[0] + dx[j];\n int new_y = cur[1] + dy[j];\n if(new_x >= 0 && new_x < A.length && new_y >= 0 && new_y < A[0].length) {\n if(A[new_x][new_y] == 1) {\n return distance;\n } else if(A[new_x][new_y] == 0) {\n // Update from 0 to 2 which means expand first island boundary\n // which also avoid using visited to check\n A[new_x][new_y] = 2;\n q.offer(new int[] {new_x, new_y});\n }\n }\n }\n }\n distance++;\n }\n return distance;\n }",
"public int shortestBridge(int[][] A) {\n for(int i = 0; i < A.length && !found; i++) {\n for(int j = 0; j < A[0].length && !found; j++) {\n if(A[i][j] == 1) {\n helper(A, i, j);\n found = true;\n }\n }\n }\n // Put all '2' into queue as candidate initial start points\n Queue<int[]> q = new LinkedList<int[]>();\n for(int i = 0; i < A.length; i++) {\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 2) {\n q.offer(new int[] {i, j});\n }\n }\n }\n int distance = 0;\n while(!q.isEmpty()) {\n int size = q.size();\n for(int i = 0; i < size; i++) {\n int[] cur = q.poll();\n for(int j = 0; j < 4; j++) {\n int new_x = cur[0] + dx[j];\n int new_y = cur[1] + dy[j];\n if(new_x >= 0 && new_x < A.length && new_y >= 0 && new_y < A[0].length) {\n if(A[new_x][new_y] == 1) {\n return distance;\n } else if(A[new_x][new_y] == 0) {\n // Update from 0 to 2 which means expand first island boundary\n // which also avoid using visited to check\n A[new_x][new_y] = 2;\n q.offer(new int[] {new_x, new_y});\n }\n }\n }\n }\n distance++;\n }\n return distance;\n }",
"private List<Point> neighboursFiltering(List<Point> points) {\n Point nearest = points.get(0);\n HeartDistance calculator = new HeartDistance();\n return points.stream().filter(p -> calculator.calculate(p,nearest) < NEIGHBOURS_THRESHOLD).collect(Collectors.toList());\n }",
"private static Node auctionRound(Node bidder, Graph solution, Graph reference) {\n\t\tNode matchedNode = null;\n\t\tFloat bestValue = 0F;\n\n\t\tfor (Node seller : reference.getNodeListY()) {\n\t\t\tEdge edge = reference.getEdge(bidder.GetIndex(), seller.GetIndex()); // find edge\n\t\t\tFloat value = edge.GetWeight() - seller.getPrice();\n\n\t\t\tif (value > bestValue) {\n\t\t\t\tmatchedNode = seller;\n\t\t\t\tbestValue = value;\n\t\t\t}\n\t\t}\n\n\t\treturn matchedNode;\n\t}",
"private void findLargestNNIPointsIndexPair(float ratioInh, float ratioAct) {\n ArrayList<Point> pts0 = new ArrayList<Point>();\n ArrayList<Point> pts1 = new ArrayList<Point>();\n Dimension dim = layoutPanel.getLayoutSize();\n int height = dim.height;\n int width = dim.width;\n int size = height * width;\n int newNListSize;\n if (ratioInh > ratioAct) {\n newNListSize = (int) (size * ratioInh);\n pts0 = cnvIndexList2Points(layoutPanel.activeNList);\n pts1 = cnvIndexList2Points(layoutPanel.inhNList);\n } else {\n newNListSize = (int) (size * ratioAct);\n pts0 = cnvIndexList2Points(layoutPanel.inhNList);\n pts1 = cnvIndexList2Points(layoutPanel.activeNList);\n }\n double len = Math.sqrt((double) size / (double) newNListSize);\n\n ArrayList<Point> union = new ArrayList<Point>(pts0);\n union.addAll(pts1);\n double maxNNI = calcNearestNeighborIndex(union);\n ArrayList<Point> maxPts0 = pts0;\n ArrayList<Point> maxPts1 = pts1;\n for (int xShift = (int) Math.floor(-len / 2); xShift <= Math\n .ceil(len / 2); xShift++) {\n for (int yShift = (int) Math.floor(-len / 2); yShift <= Math\n .ceil(len / 2); yShift++) {\n if (xShift == 0 && yShift == 0) {\n continue;\n }\n int xShift0 = (int) Math.ceil((double) xShift / 2);\n int xShift1 = (int) Math.ceil((double) -xShift / 2);\n int yShift0 = (int) Math.ceil((double) yShift / 2);\n int yShift1 = (int) Math.ceil((double) -yShift / 2);\n // System.out.println(\"xShift = \" + xShift + \", xShift0 = \" +\n // xShift0 + \", xShift1 = \" + xShift1);\n ArrayList<Point> sftPts0 = getShiftedPoints(pts0, xShift0,\n yShift0);\n ArrayList<Point> sftPts1 = getShiftedPoints(pts1, xShift1,\n yShift1);\n union = new ArrayList<Point>(sftPts0);\n union.addAll(sftPts1);\n double nni = calcNearestNeighborIndex(union);\n if (nni > maxNNI) {\n maxNNI = nni;\n maxPts0 = sftPts0;\n maxPts1 = sftPts1;\n }\n }\n }\n\n if (ratioInh > ratioAct) {\n layoutPanel.activeNList = cnvPoints2IndexList(maxPts0);\n layoutPanel.inhNList = cnvPoints2IndexList(maxPts1);\n } else {\n layoutPanel.inhNList = cnvPoints2IndexList(maxPts0);\n layoutPanel.activeNList = cnvPoints2IndexList(maxPts1);\n }\n }",
"private Node closestUnvisitedNeighbour(HashMap <Node, Integer > shortestPathMap){\n int shortestDistance = Integer.MAX_VALUE;\n Node closestReachableNode = null;\n for (Node node : getNodes()) {\n if (node.isVisited())\n continue;\n\n int currentDistance = shortestPathMap.get(node);\n if (currentDistance == Integer.MAX_VALUE)\n continue;\n\n if (currentDistance < shortestDistance) {\n shortestDistance = currentDistance;\n closestReachableNode = node;\n }\n }\n return closestReachableNode;\n }",
"public int infectNeighbours(Map map);",
"private double calcNearestNeighborIndex(ArrayList<Point> pts) {\n int width = layoutPanel.getLayoutSize().width;\n int height = layoutPanel.getLayoutSize().height;\n\n // calculate average nearest neighbor\n double avgNN = 0;\n int n = pts.size();\n for (int i = 0; i < n; i++) {\n double minDist = Float.MAX_VALUE;\n for (int j = 0; j < n; j++) {\n if (i != j) {\n Point pti = pts.get(i);\n Point ptj = pts.get(j);\n double dist = Point2D\n .distanceSq(pti.x, pti.y, ptj.x, ptj.y);\n if (minDist > dist) {\n minDist = dist;\n }\n }\n }\n avgNN += Math.sqrt(minDist);\n }\n avgNN = avgNN / (double) n;\n\n // calculate estimated average neighbor\n double estANN = 1.0 / (2.0 * Math.sqrt((double) n\n / (double) (width * height)));\n\n return avgNN / estANN;\n }",
"private Solution getNeighbourSolution(int size) {\n Solution solution = new Solution(currentSol);\n // Choose a random item to take/leave\n int index = generator.nextInt(size);\n solution.set(index, Math.abs(currentSol.get(index) - 1));\n\n return solution;\n }",
"public void reinitiallizeDistanceFunctionOutside() {\n\t\tint i, j;\r\n\t\tfor (i = 0; i < _levelSet.length; i++) {\r\n\t\t\tfor (j = 0; j < _levelSet[i].length; j++) {\r\n\t\t\t\tint iPlus = imposeBorder(i + 1, _iSize);\r\n\t\t\t\tint iMinus = imposeBorder(i - 1, _iSize);\r\n\t\t\t\tint jPlus = imposeBorder(j + 1, _iSize);\r\n\t\t\t\tint jMinus = imposeBorder(j - 1, _iSize);\r\n\t\t\t\tif (_levelSet[i][j] > 0) // // the check for points in region\r\n\t\t\t\t\t// // the check for points in border\r\n\t\t\t\t\tif (MatrixMath.anyNeighborIsInside(_levelSet, i, j, iPlus,\r\n\t\t\t\t\t\t\tiMinus, jPlus, jMinus)) {\r\n\t\t\t\t\t\t// points in border are placed in narrowband\r\n\t\t\t\t\t\t_narrowBandOutside.add(new Location(i, j,\r\n\t\t\t\t\t\t\t\t_levelSet[i][j]));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// and location in distance matrix is set to infinite\r\n\t\t\t\t\t\t_levelSet[i][j] = Double.POSITIVE_INFINITY;\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t// iterate until narrow band is empty\r\n\t\t// OrderByLevelSetValue comparator = new OrderByLevelSetValue();\r\n\t\t// int lixo = 0;\r\n\t\twhile (_narrowBandOutside.size() > 0) {\r\n\t\t\t// if (lixo++ > 5000) {\r\n\t\t\t// System.out.println(\"done \" + lixo);\r\n\t\t\t// break;\r\n\t\t\t// }\r\n\t\t\t// get the minimum value\r\n\t\t\tLocation minVal = _narrowBandOutside.first();\r\n\t\t\t// get the neighbors that are still in _faraway\r\n\t\t\tint iPlus = imposeBorder(minVal.i + 1, _iSize);\r\n\t\t\tint iMinus = imposeBorder(minVal.i - 1, _iSize);\r\n\t\t\tint jPlus = imposeBorder(minVal.j + 1, _iSize);\r\n\t\t\tint jMinus = imposeBorder(minVal.j - 1, _iSize);\r\n\t\t\ttransferNeighborOutside(iPlus, minVal.j);\r\n\t\t\ttransferNeighborOutside(iMinus, minVal.j);\r\n\t\t\ttransferNeighborOutside(minVal.i, jPlus);\r\n\t\t\ttransferNeighborOutside(minVal.i, jMinus);\r\n\t\t\t// remove the value from the narrowband\r\n\t\t\t_narrowBandOutside.remove(minVal);\r\n\t\t}\r\n\t\t// done\r\n\t}",
"private static void findBridges() {\n Map<Integer, Integer> lastSeen = new HashMap<>();\n for (int i = 0; i < columns.length; i++) {\n if (!lastSeen.containsKey(columns[i])) {\n lastSeen.put(columns[i], i);\n }\n }\n bridgesCount = 0;\n\n int lastBridgeIndex = 0;\n for (int i = 1; i < columns.length; i++) {\n\n //returns prev index of columns[i]\n int columnPrevIndex = lastSeen.get(columns[i]);\n //columnPrevIndex must be to the right from lastBridgeIndex to avoid crossing\n if (columnPrevIndex != i &&\n columnPrevIndex >= lastBridgeIndex) {\n lastBridgeIndex = i;\n bridgesCount++;\n connections[i] = true;\n connections[columnPrevIndex] = true;\n }\n //not optimized solution -> for every element we search to it's left side\n //from lastBridgeIndex to i and if we meet same element -> connect new bridge\n// for (int j = lastBridgeIndex; j < i; j++) {\n//\n// if (columns[j] == columns[i]) {\n// lastBridgeIndex = i;\n// connections[j] = true;\n// connections[i] = true;\n// bridgesCount++;\n// break;\n// }\n// }\n\n //update index of columns[i]\n lastSeen.put(columns[i], i);\n }\n }",
"private static int queryLazy(int[] segtree, int[] lazyValue, int l, int r, int ns, int ne, int index) {\n if(lazyValue[index]!=0){\n segtree[index]+=lazyValue[index];\n if(ns!=ne){\n lazyValue[2*index]+=lazyValue[index];\n lazyValue[2*index+1]+=lazyValue[index];\n }\n lazyValue[index]=0;\n }\n if(r<ns || l>ne){\n //no overlap\n return Integer.MAX_VALUE;\n }\n if(ns>=l && ne<=r){\n //complete overlap\n return segtree[index];\n }else{\n //partial overlap\n int mid=(ns+ne)/2;\n int leftAns=queryLazy(segtree, lazyValue, l, r, ns, mid, 2*index);\n int rightAns=queryLazy(segtree, lazyValue, l, r, mid+1, ne, 2*index+1);\n return Math.min(leftAns,rightAns);\n }\n }",
"private int rob(int[] num, int lo, int hi) {\r\n int include = 0, exclude = 0;\r\n for (int j = lo; j <= hi; j++) {\r\n int i = include, e = exclude;\r\n include = e + num[j];\r\n exclude = Math.max(e, i);\r\n }\r\n return Math.max(include, exclude);\r\n}",
"private Point[] nearestPairRec(Point[] range, boolean axis) {\n\t\t\tPoint[] Answer = new Point[2];\n\t\t\tif (range.length < 4) return nearestPair3Points(range);\n\t\t\tPoint[] MinPointsLeft = new Point[2];\n\t\t\tPoint[] MinPointsRight = new Point[2];\n\t\t\tPoint[] MinPointsInStrip = new Point[2];\n\t\t\tdouble MinDistance = -1; //it will be change for sure, because we pass the array only if it containes 4 points and above.\n\t\t\tdouble MinDistanceInStrip;\n\t\t\t//step 4\n\t\t\tif (axis){\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(range[0].getX(), range[(range.length)/2].getX(), axis), axis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(range[((range.length)/2)+1].getX(), range[range.length-1].getX() ,axis), axis);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(range[0].getY(), range[(range.length)/2].getY(), axis), axis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(range[((range.length)/2)+1].getY(), range[range.length-1].getY() ,axis), axis);\n\t\t\t}\n\t\t\t//step 5\n\t\t\tif (MinPointsLeft!=null && MinPointsRight!=null){\n\t\t\t\tif (Distance(MinPointsLeft[0], MinPointsLeft[1]) > Distance(MinPointsRight[0], MinPointsRight[1])){\n\t\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\t\tAnswer = MinPointsRight;\n\t\t\t\t}else{\n\t\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t\t}\n\t\t\t}else if (MinPointsLeft!=null && MinPointsRight==null) {\n\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t}else if (MinPointsRight!=null && MinPointsLeft==null){\n\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\tAnswer = MinPointsRight;\n\t\t\t}\n\t\t\t//step 6 find the nearest point around the median\n\t\t\tint upper;\n\t\t\tint lower;\n\t\t\tif (MinDistance==-1) MinDistance = 0;\n\t\t\tif (axis){\n\t\t\t\tupper = (int) (range[(range.length)/2].getX()+MinDistance);\n\t\t\t\tlower = (int) (range[(range.length)/2].getX()-MinDistance);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tupper = (int) (range[(range.length)/2].getY()+MinDistance);\n\t\t\t\tlower = (int) (range[(range.length)/2].getY()-MinDistance);\n\t\t\t}\n\t\t\trange = getPointsInRangeOppAxis(lower, upper, axis);\n\t\t\tif (range.length>=2) MinPointsInStrip = nearestPointInArray(range);\n\t\t\tif (MinPointsInStrip[0]!=null){\n\t\t\t\tMinDistanceInStrip = Distance(MinPointsInStrip[0], MinPointsInStrip[1]);\n\t\t\t\tif (MinDistanceInStrip < MinDistance) return MinPointsInStrip;\n\t\t\t}\n\t\t\treturn Answer;\n\t\t}",
"public int shortDistanceNW(int[][] grid) {\n\t\t// steps\n\t\t// for every empty land count dist till all houses r reached\n\t\t// if dist is less than minDist update minDist\n\t\tint m = grid.length;\n\t\tint n = grid[0].length;\n\t\tint minDist = Integer.MAX_VALUE;\n\n\t\tint numOfLands = 0;\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < n; j++) {\n\t\t\t\tif (grid[i][j] == 1)\n\t\t\t\t\tnumOfLands++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < n; j++) {\n\t\t\t\t// call bfs\n\t\t\t\tif (grid[i][j] == 0)\n\t\t\t\t\tminDist = Math.min(minDist, bfsNW(grid, m, n, new int[] { i, j }, numOfLands));\n\t\t\t}\n\t\t}\n\t\treturn minDist;\n\t}",
"private LinkedList<int[]> neighborFinder(){\n LinkedList<int[]> neighborhood= new LinkedList<>();\n int[] curr_loc = blankFinder();\n int x = curr_loc[0];\n int y = curr_loc[1];\n if(x >0){\n neighborhood.add(new int[]{x-1, y});\n }\n if(x < n-1){\n neighborhood.add(new int[]{x+1, y});\n }\n if(y > 0){\n neighborhood.add(new int[]{x, y-1});\n }\n if(y < n-1) {\n neighborhood.add(new int[]{x, y+1});\n }\n\n\n return neighborhood;\n }",
"public Wall nextNear( Point startingPoint, Point destinationPoint, Wall destinationWall ) {\n//System.out.print(\"nextNear. start: \" + startingPoint.toString() + \", end: \" + destinationPoint.toString());\n\n if ( this == destinationWall ) {\n return this;\n }\n\n if ( nextCornerPoint.equals( startingPoint ) ) {\n return previous;\n }\n\n if ( previousCornerPoint.equals( startingPoint ) ) {\n return next;\n }\n\n// Double destination = startingPoint.distance( destinationPoint );\n Double nextCorner = destinationPoint.distance( nextCornerPoint );\n Double previousCorner = destinationPoint.distance( previousCornerPoint );\n\n// System.out.print(\"... Distances - destination: \" + destination.toString()\n// + \", nextCorner: \" + nextCorner.toString()\n// + \", previousCorner: \" + previousCorner.toString());\n//\n// if ( destination <= nextCorner || destination <= previousCorner ) {\n// System.out.println( \". Returning current wall \" + this.toString() );\n// return this;\n// }\n// else\n// if ( nextCorner < previousCorner && ! nextCornerPoint.equals( startingPoint ) ) {\n if ( nextCorner < previousCorner ) {\n// System.out.println( \". Returning next \" + next.toString() );\n return next;\n }\n else\n// if ( ! previousCornerPoint.equals( startingPoint ) )\n {\n// System.out.println( \". Returning previous \" + previous.toString() );\n return previous;\n }\n// else {\n// System.out.println( \". Returning next \" + next.toString() + \" by default.\");\n// return next;\n// }\n }",
"private ArrayList<Pixel> getNeightbors(Pixel pixel)\n {\n ArrayList<Pixel> neighbors = new ArrayList<Pixel>();\n\n for(int i=-1;i<=1;i++)\n {\n int n_w=pixel.p+i;\n if(n_w<0 || n_w==this.image.getWidth()) continue;\n for(int j=-1;j<=1;j++)\n {\n int n_h=pixel.q+j;\n if(n_h<0 || n_h==this.image.getHeight()) continue;\n if(i==0 && j==0) continue;\n neighbors.add( new Pixel(n_w, n_h) );\n }//end for j\n }//end for i\n\n return neighbors;\n }",
"private Map<User, Double> reversedCheckToInsertOrRemoveNeighbour(Map.Entry<User, Double> mapEntry, User currentUser, double similarity) {\n for (Map.Entry<User, Double> entry : nearestNeighbours.entrySet()) {\n if (mapEntry == null || mapEntry.getValue() < entry.getValue()) {\n mapEntry = entry;\n value = mapEntry.getValue();\n }\n }\n //Check user rating versus lowest similarity.\n if (value >= similarity) {\n //Remove lowest similarity.\n nearestNeighbours.remove(mapEntry.getKey());\n //Check threshold and add user to nearestNeighbours TreeMap\n if (threshold == null) {\n nearestNeighbours.put(currentUser, similarity);\n }\n }\n return nearestNeighbours;\n }",
"Point findNearestActualPoint(Point a, Point b) {\n\t\tPoint left = new Point(a.x-this.delta/3,a.y);\n\t\tPoint right = new Point(a.x+this.delta/3,a.y);\n\t\tPoint down = new Point(a.x,a.y-this.delta/3);\n\t\tPoint up = new Point(a.x,a.y+this.delta/3);\n\t\tPoint a_neighbor = left;\n\t\tif (distance(right,b) < distance(a_neighbor,b)) a_neighbor = right;\n\t\tif (distance(down,b) < distance(a_neighbor,b)) a_neighbor = down;\n\t\tif (distance(up,b) < distance(a_neighbor,b)) a_neighbor = up;\n\n\t\treturn a_neighbor;\n\t}",
"public void generateNeighborhood(TSPSolution s){\r\n\t\tint [] rounte = new int[problem.city_num+1];\r\n\t\tfor(int i=0;i<problem.city_num;i++) rounte[i] = s.route[i];\r\n\t\trounte[problem.city_num] = rounte[0];\r\n\t\tint [] pos = new int[problem.city_num];\r\n\t\tproblem.calculatePosition(rounte, pos);\r\n\t\tint pos1 = 0;\r\n\t\tint pos2 = 0;\r\n\t\tfor(int k=0;k<problem.city_num;k++){\r\n\t\t\tint i = k;\r\n\t\t\tpos1 = i;\r\n\t\t\tint curIndex = rounte[i];\r\n\t\t\tint nextIndex = rounte[i+1];\r\n\t\t\tArrayList<Integer> candidate = problem.candidateList.get(curIndex);\r\n\t\t\tIterator<Integer> iter = candidate.iterator();\r\n\t\t\twhile(iter.hasNext()){\r\n\t\t\t\tint next = iter.next();\r\n\t\t\t\tpos2 = pos[next];\r\n\t\t\t\tint curIndex1 = rounte[pos2];\r\n\t\t\t\tint nextIndex1 = rounte[pos2+1];\r\n\t\t\t\tif(curIndex == nextIndex1) continue;\r\n\t\t\t\tif(curIndex == curIndex1) continue;\r\n\t\t\t\tif(nextIndex == nextIndex1) continue;\r\n\t\t\t\tif(curIndex1 == nextIndex) continue;\r\n\t\t\t\tint betterTimes = 0;\r\n\t\t\t\tTSPSolution solution = new TSPSolution(problem.city_num, problem.obj_num, -1);\r\n\t\t\t\tfor(int j=0;j<problem.obj_num;j++){\r\n\t\t\t\t\tint gain = problem.disMatrix[j*problem.city_num*problem.city_num+curIndex*problem.city_num+curIndex1] +\r\n\t\t\t\t\t\t\tproblem.disMatrix[j*problem.city_num*problem.city_num+nextIndex*problem.city_num+nextIndex1] - \r\n\t\t\t\t\t\t\t(problem.disMatrix[j*problem.city_num*problem.city_num+curIndex*problem.city_num+nextIndex]+\r\n\t\t\t\t\t\t\tproblem.disMatrix[j*problem.city_num*problem.city_num+curIndex1*problem.city_num+nextIndex1]);\r\n\t\t\t\t\tif(gain<0) betterTimes++;\r\n\t\t\t\t\tsolution.object_val[j] = s.object_val[j] + gain;\r\n\t\t\t\t}\r\n\t\t\t\tif(betterTimes==0) continue;\r\n\t\t\t\tsolution.route = s.route.clone();\r\n\r\n\t\t\t\tif(problem.kdSet.add(solution)){\r\n\t\t\t\t\tproblem.converse(pos1, pos2, solution.route, 0);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private int rightmostDip() {\n for (int i = n - 2; i >= 0; i--) {\n if (index[i] < index[i + 1]) {\n return i;\n }\n }\n return -1;\n }",
"private void calculate() {\n\t\tList<Edge> path = new ArrayList<>();\n\t\tPriorityQueue<Vert> qv = new PriorityQueue<>();\n\t\tverts[s].dist = 0;\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tif (e.w==0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist < L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t} else if (verts[t].dist == L) {\n\t\t\tok = true;\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tif (edges[i].w == 0) {\n\t\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t// replace 0 with 1, adding to za list\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (edges[i].w == 0) {\n\t\t\t\tza[i] = true;\n\t\t\t\tedges[i].w = 1;\n\t\t\t} else {\n\t\t\t\tza[i] = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// looking for shortest path from s to t with 0\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tif (i != s) {\n\t\t\t\tverts[i].dist = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tqv.clear();\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist > L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t}\n\t\tVert v = verts[t];\n\t\twhile (v.dist > 0) {\n\t\t\tlong minDist = MAX_DIST;\n\t\t\tVert vMin = null;\n\t\t\tEdge eMin = null;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(v.idx)];\n\t\t\t\tif (vo.dist+e.w < minDist) {\n\t\t\t\t\tvMin = vo;\n\t\t\t\t\teMin = e;\n\t\t\t\t\tminDist = vMin.dist+e.w;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tv = vMin;\t\n\t\t\tpath.add(eMin);\n\t\t}\n\t\tCollections.reverse(path);\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (za[i]) {\n\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tlong totLen=0;\n\t\tboolean wFixed = false;\n\t\tfor (Edge e : path) {\n\t\t\ttotLen += (za[e.idx] ? 1 : e.w);\n\t\t}\n\t\tfor (Edge e : path) {\n\t\t\tif (za[e.idx]) {\n\t\t\t\tif (!wFixed) {\n\t\t\t\t\te.w = L - totLen + 1;\n\t\t\t\t\twFixed = true;\n\t\t\t\t} else {\n\t\t\t\t\te.w = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tok = true;\n\t}",
"private Vertex findAW(ArrayList<XVertex> nj) {\n\n\t\tArrayList<Vertex> candidateWs = new ArrayList<>();\n\n\t\t// Handle the first two vertices in NJ\n\t\tfor (int j = 0; j < nj.get(0).getVertexDegree(); j++) {\n\n\t\t\tfor (int k = 0; k < nj.get(1).getVertexDegree(); k++) {\n\n\t\t\t\tif (nj.get(0).getNeighbor(j).getId() == nj.get(1).getNeighbor(k).getId()) {\n\n\t\t\t\t\tcandidateWs.add(nj.get(0).getNeighbor(j));\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\t// Handle every additional vertex in NJ\n\t\tfor (int z = 2; z < nj.size(); z++) {\n\t\t\tfor (int y = 0; y < candidateWs.size(); y++) {\n\t\t\t\tif (!(nj.get(z).getNeighborsArrayList().contains(candidateWs.get(y)))) {\n\t\t\t\t\tcandidateWs.remove(y);\n\t\t\t\t\tz--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check that the nodes in the candidates do NOT exist as neighbors in any other\n\t\t// x outside of nj\n\n\t\t// can use a set difference of all x's minus x's in NJ\n\t\tArrayList<Vertex> copy = (ArrayList) this.allX.clone();\n\t\tcopy.removeAll(nj);\n\n\t\tfor (int s = 0; s < copy.size(); s++) {\n\t\t\tfor (int p = 0; p < candidateWs.size(); p++) {\n\t\t\t\tif (copy.get(s).getNeighborsArrayList().contains(candidateWs.get(p))) {\n\t\t\t\t\tcandidateWs.remove(p);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (candidateWs.size() == 0) {\n\t\t\tthis.numNotRecovered++;\n\t\t\treturn null;\n\t\t}\n\t\treturn candidateWs.get(0); // return the remaining w candidate\n\n\t}",
"@Test\n public void testNearest() {\n for (int dx = -5; dx <= 5; dx++) {\n for (int dy = -5; dy <= 5; dy++) {\n if (dy > 0 && Math.abs(dx) < Math.abs(dy))\n assertEquals(Direction.SOUTH, Direction.nearest(dx, dy));\n else if (dy < 0 && Math.abs(dx) < Math.abs(dy))\n assertEquals(Direction.NORTH, Direction.nearest(dx, dy));\n else if (dx > 0 && Math.abs(dy) < Math.abs(dx))\n assertEquals(Direction.EAST, Direction.nearest(dx, dy));\n else if (dx < 0 && Math.abs(dy) < Math.abs(dx))\n assertEquals(Direction.WEST, Direction.nearest(dx, dy));\n else if (Math.abs(dx) == Math.abs(dy))\n assertEquals(null, Direction.nearest(dx, dy));\n else\n fail(\"Case not covered: dx=\" + dx + \", dy=\" + dy + \".\");\n }\n }\n }",
"private void connectToOpenNeighbors(int currentSite)\n {\n int aboveSite = currentSite - gridSize;\n int leftOfSite = currentSite - 1;\n int rightOfSite = currentSite + 1;\n int belowSite = currentSite + gridSize;\n\n if (aboveSite > 0) {\n if (grid[aboveSite]) {\n uf.union(currentSite, aboveSite);\n }\n }\n\n if (rightOfSite % gridSize != 0 && rightOfSite < totalSites) {\n if (grid[rightOfSite]) {\n uf.union(currentSite, rightOfSite);\n }\n }\n\n if (leftOfSite % gridSize != gridSize-1 && leftOfSite > 0) {\n if (grid[leftOfSite]) {\n uf.union(currentSite, leftOfSite);\n }\n }\n\n if (belowSite < totalSites) {\n if (grid[belowSite]) {\n uf.union(currentSite, belowSite);\n }\n }\n }",
"private void locateBestMatch(int queryStartIdx){\n \n double dist;\n double bsfDist = Double.MAX_VALUE;\n int bsfIdx = -1;\n\n double[] query = zNormalise(series, queryStartIdx, this.windowSize, false);\n double[] comparison;\n\n for(int comparisonStartIdx = 0; comparisonStartIdx <= seriesLength-windowSize; comparisonStartIdx+=stride){\n \n // exclusion zone +/- windowSize/2 around the window\n if(comparisonStartIdx >= queryStartIdx-windowSize*1.5 && comparisonStartIdx <= queryStartIdx+windowSize*1.5){\n continue;\n }\n \n // using a bespoke version of this, rather than the shapelet version, for efficiency - see notes with method\n comparison = zNormalise(series, comparisonStartIdx, windowSize, false);\n dist = 0;\n\n for(int j = 0; j < windowSize;j++){\n dist += (query[j]-comparison[j])*(query[j]-comparison[j]);\n if(dist > bsfDist){\n dist = Double.MAX_VALUE;\n break;\n }\n }\n\n if(dist < bsfDist){\n bsfDist = dist;\n bsfIdx = comparisonStartIdx;\n }\n\n }\n \n this.distances[queryStartIdx] = bsfDist;\n this.indices[queryStartIdx] = bsfIdx;\n }",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in); \n int n = sc.nextInt();\n int[] array = new int[n];\n for(int i = 0;i < n; i++) {\n array[i] = sc.nextInt();\n }\n sc.close();\n \n int start = -1, end = -1;\n int misplaced = 0;\n \n for(int i = 0; i < n - 1; i++) {\n if(array[i] > array[i + 1]) {\n misplaced++;\n if(start < 0) {\n start = i;\n }\n }\n }\n \n for(int i = n - 1; i > 0; i--) {\n if(array[i] < array[i-1]) {\n end = i;\n break;\n }\n }\n \n if(misplaced < 1) {\n System.out.println(\"no\");\n return;\n }\n else if(misplaced == 1 || misplaced == 2) {\n if(misplaced == 1) //case where two neighbors swap themselves\n end = start + 1;\n boolean leftValidator = (start == 0 || array[end] >= array[start - 1]) && array[end] <= array[start + 1];\n boolean rightValidator = \n (end == n - 1 || array[start] <= array[end + 1]) && array[start] >= array[end -1];\n if(leftValidator && rightValidator) {\n System.out.println(\"yes\");\n System.out.println(\"swap \"+(start+1)+\" \"+(end+1));\n }\n else{\n System.out.println(\"no\");\n }\n return;\n }\n else{\n boolean leftValidator = start == 0 || array[end] >= array[start - 1];\n boolean rightValidator = end == n -1 || array[start] <= array[end + 1];\n if(!leftValidator || !rightValidator){\n System.out.println(\"no\");\n return;\n }\n int pre = array[end];\n for(int i = end - 1; i >= start; i--) {\n if(array[i] < pre) {\n System.out.println(\"no\");\n return;\n }\n pre = array[i];\n }\n \n System.out.println(\"yes\");\n System.out.println(\"reverse \"+(start+1)+\" \"+(end+1));\n }\n \n /**\n //I am such an idot cause I first understood the question wrongly\n //If the array was supposed to be consecutively ascending order, then the code below would've worked\n \n int min = Integer.MAX_VALUE;\n int start = -1, end = -1;\n int left = 0, right = n - 1;\n int misplaced = 0;\n \n for(int i : array) { //find the min value\n min = Math.min(min, i);\n }\n \n while(left <= right) { //find how many elements are misplaced and the index of first misplaced element\n if(array[left] != min + left) { //and the index of the last misplaced element\n misplaced++;\n if(start < 0) {\n start = left;\n }\n }\n left++;\n if(left <= right && array[right] != min + right) { //left != right for the case where the array is odd\n misplaced++;\n if(end < 0) {\n end = right;\n }\n }\n right--;\n }\n \n if(misplaced < 2) {\n System.out.println(\"no\");\n return;\n }\n else if(misplaced == 2) {\n if(min + start == array[end] && min + end == array[start]) {\n System.out.println(\"yes\");\n System.out.println(\"swap \"+(start+1)+\" \"+(end+1));\n }\n else{\n System.out.println(\"no\");\n }\n return;\n }\n else{\n for(int i = start, j = 0; i <= end; i++, j++) {\n if(array[i] != min + end - j) {\n System.out.println(\"no\");\n return;\n }\n }\n \n System.out.println(\"yes\");\n System.out.println(\"reverse \"+(start+1)+\" \"+(end+1));\n }\n **/\n \n }",
"private static double divideAndConquer(ArrayList<Point> X, ArrayList<Point> Y) {\n\n\t\t//Assigns size of array\n\t\tint size = X.size();\n\n\t\t//If less than 3 points, efficiency is better by brute force\n\t\tif (size <= 3) {\n\t\t\treturn BruteForceClosestPairs(X);\n\t\t}\n\t\t\n\t\t//Ceiling of array size / 2\n\t\tint ceil = (int) Math.ceil(size / 2);\n\t\t//Floor of array size / 2\n\t\tint floor = (int) Math.floor(size / 2);\n\t\t\n\t\t//Array list for x & y values left of midpoint\n\t\tArrayList<Point> xL = new ArrayList<Point>();\t\n\t\tArrayList<Point> yL = new ArrayList<Point>();\n\t\t\n\t\t//for [0 ... ceiling of array / 2]\n\t\t//add the points onto the new arrays\n\t\tfor (int i = 0; i < ceil; i++) {\n\t\t\t\n\t\t\txL.add(X.get(i));\n\t\t\tyL.add(Y.get(i));\n\t\t}\n\t\t\n\t\t// Array list for x & y values right of midpoint\n\t\tArrayList<Point> xR = new ArrayList<Point>();\n\t\tArrayList<Point> yR = new ArrayList<Point>();\n\t\t\n\t\t//for [floor of array / 2 ... size of array]\n\t\t//add the points onto the new arrays\n\t\tfor (int i = floor; i < size - 1; i++) {\n\n\t\t xR.add(X.get(i));\n\t\t\tyR.add(Y.get(i));\n\t\t}\n\t\t\n\t\t//Recursively find the shortest distance\n\t\tdouble distanceL = divideAndConquer(xL, yL);\n\t\tdouble distanceR = divideAndConquer(xR, xL);\n\t\t//Smaller of both distances\n\t\tdouble distance = Math.min(distanceL, distanceR);\n\t\t//Mid-line\n\t\tdouble mid = X.get(ceil - 1).getX();\n\n\t\tArrayList<Point> S = new ArrayList<Point>();\n\n\t\t//copy all the points of Y for which |x - m| < d into S[0..num - 1]\n\t\tfor (int i = 0; i < Y.size() - 1; i++) {\n\n\t\t\tif (Math.abs(X.get(i).getX() - mid) < distance) {\n\t\t\t\tS.add(Y.get(i));\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Square minimum distance\n\t\tdouble dminsq = distance * distance;\n\t\t//Counter\n\t\tint k = 0;\n\t\tint num = S.size();\n\n\t\tfor (int i = 0; i < num - 2; i++) {\n\t\t\t\n\t\t\tk = i + 1;\n\t\t\t\n\t\t\twhile (k <= num - 1 && (Math.pow((S.get(k).getY() - S.get(i).getY()), 2) < dminsq)) {\n\n\t\t\t\t//Find distance between points and find the minimum compared to dminsq\n\t\t\t\tdminsq = Math.min(Math.pow(S.get(k).getX() - S.get(i).getX(), 2) \n\t\t\t\t\t\t\t\t+ Math.pow(S.get(k).getY() - S.get(i).getY(), 2), dminsq);\n\n\t\t\t\tk = k + 1;\n\t\t\t}\n\t\t}\n\n\t\treturn Math.sqrt(dminsq);\n\t}",
"private Point2D nearest(Node x, Point2D p, RectHV rect, boolean test) {\n\t\tPoint2D incumbent = x.point;\n\t\tPoint2D challenger;\n\t\tRectHV leftRect, rightRect;\n\t\tdouble distance = incumbent.distanceTo(p);\n\t\t\n\t\tif (test) {\n\t\t\tleftRect = new RectHV(rect.xmin(), rect.ymin(), x.point.x(), rect.ymax());\n\t\t\trightRect = new RectHV(x.point.x(), rect.ymin(), rect.xmax(), rect.ymax());\n\t\t} else {\n\t\t\tleftRect = new RectHV(rect.xmin(), rect.ymin(), rect.xmax(), x.point.y());\n\t\t\trightRect = new RectHV(rect.xmin(), x.point.y(), rect.xmax(), rect.ymax());\n\t\t}\n\n\t\tdouble comp = comparePoints(x, p, test);\n\t\tif (comp <= 0) {\n\t\t\tif (x.left != null) {\n\t\t\t\tif ((challenger = nearest(x.left, p, leftRect, !test)).distanceTo(p) < distance) {\n\t\t\t\t\tincumbent = challenger;\n\t\t\t\t\tdistance = challenger.distanceTo(p);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (x.right != null) {\n\t\t\t\tif (rightRect.distanceTo(p) < distance) {\n\t\t\t\t\tif ((challenger = nearest(x.right, p, rightRect, !test)).distanceTo(p) < distance) {\n\t\t\t\t\t\tincumbent = challenger;\n\t\t\t\t\t\tdistance = challenger.distanceTo(p);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\telse {\n\t\t\tif (x.right != null) {\n\t\t\t\tif ((challenger = nearest(x.right, p, rightRect, !test)).distanceTo(p) < distance) {\n\t\t\t\t\tincumbent = challenger;\n\t\t\t\t\tdistance = challenger.distanceTo(p);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (x.left != null) {\n\t\t\t\tif (leftRect.distanceTo(p) < distance) {\n\t\t\t\t\tif ((challenger = nearest(x.left, p, leftRect, !test)).distanceTo(p) < distance) {\n\t\t\t\t\t\tincumbent = challenger;\n\t\t\t\t\t\tdistance = challenger.distanceTo(p);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn incumbent;\n\t}",
"private ArrayList<GridPiece> getOpposite(GridPiece origin) {\n originOpposite.clear();\n\n //Check for corners\n if (origin.column == 0 && (origin.row == 0 || origin.row == game.gridSizeHeight - 1)) {\n originOpposite.add(falsePiece);\n return originOpposite;\n } else if (origin.column == game.gridSizeWidth - 1 && (origin.row == 0 || origin.row == game.gridSizeHeight - 1)) {\n originOpposite.add(falsePiece);\n return originOpposite;\n }\n\n if (originOpposite.size() > 0) {\n return originOpposite;\n }\n\n // Search Around\n\n boolean canCreateOp;\n\n // Search up\n if (game.gridMap.size() > origin.row + 1) {\n canCreateOp = false;\n\n for (int i = origin.row + 1; i < game.gridSizeHeight; i++) {\n if (game.gridMap.get(i).get(origin.column).state == game.STATE_NONE) {\n canCreateOp = true;\n } else if (game.gridMap.get(i).get(origin.column).state == game.STATE_FINAL && canCreateOp) {\n originOpposite.add(game.gridMap.get(i).get(origin.column));\n break;\n }\n }\n\n\n // Search down\n }\n if (origin.row > 0) {\n canCreateOp = false;\n\n for (int i = origin.row - 1; i >= 0; i--) {\n if (game.gridMap.get(i).get(origin.column).state == game.STATE_NONE) {\n canCreateOp = true;\n } else if (game.gridMap.get(i).get(origin.column).state == game.STATE_FINAL && canCreateOp) {\n originOpposite.add(game.gridMap.get(i).get(origin.column));\n break;\n }\n }\n\n\n // Search right\n }\n if (game.gridMap.get(0).size() > origin.column + 1) {\n canCreateOp = false;\n\n for (int i = origin.column + 1; i < game.gridSizeWidth; i++) {\n if (game.gridMap.get(origin.row).get(i).state == game.STATE_NONE) {\n canCreateOp = true;\n } else if (game.gridMap.get(origin.row).get(i).state == game.STATE_FINAL && canCreateOp) {\n originOpposite.add(game.gridMap.get(origin.row).get(i));\n break;\n }\n }\n\n // Search left\n }\n if (origin.column > 0) {\n canCreateOp = false;\n\n for (int i = origin.column - 1; i >= 0; i--) {\n if (game.gridMap.get(origin.row).get(i).state == game.STATE_NONE) {\n canCreateOp = true;\n } else if (game.gridMap.get(origin.row).get(i).state == game.STATE_FINAL && canCreateOp) {\n originOpposite.add(game.gridMap.get(origin.row).get(i));\n break;\n }\n }\n }\n\n noLine = true;\n\n if (originOpposite.size() == 0) {\n originOpposite.add(falsePiece);\n }\n\n return originOpposite;\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}",
"static boolean findBridge(Triangulator triRef, int ind, int i, int start,\n\t\t\t int[] ind1, int[] i1) {\n\tint i0, i2, j, numDist = 0;\n\tint ind0, ind2;\n\tBBox bb;\n\tDistance old[] = null;\n\tboolean convex, coneOk;\n\n\t// sort the points according to their distance from start.\n\tind1[0] = ind;\n\ti1[0] = i;\n\tif (i1[0] == start) return true;\n\tif (numDist >= triRef.maxNumDist) {\n\t // System.out.println(\"(1) Expanding distances array ...\");\n\t triRef.maxNumDist += triRef.INC_DIST_BK;\n\t old = triRef.distances;\n\t triRef.distances = new Distance[triRef.maxNumDist];\n\t System.arraycopy(old, 0, triRef.distances, 0, old.length);\n\t for (int k = old.length; k < triRef.maxNumDist; k++)\n\t\ttriRef.distances[k] = new Distance();\n\t}\n\n\ttriRef.distances[numDist].dist = Numerics.baseLength(triRef.points[start],\n\t\t\t\t\t\t\t triRef.points[i1[0]]);\n\ttriRef.distances[numDist].ind = ind1[0];\n\t++numDist;\n\n\n\tind1[0] = triRef.fetchNextData(ind1[0]);\n\ti1[0] = triRef.fetchData(ind1[0]);\n\twhile (ind1[0] != ind) {\n\t if (i1[0] == start) return true;\n\t if (numDist >= triRef.maxNumDist) {\n\t\t// System.out.println(\"(2) Expanding distances array ...\");\n\t\ttriRef.maxNumDist += triRef.INC_DIST_BK;\n\t\told = triRef.distances;\n\t\ttriRef.distances = new Distance[triRef.maxNumDist];\n\t\tSystem.arraycopy(old, 0, triRef.distances, 0, old.length);\n\t\tfor (int k = old.length; k < triRef.maxNumDist; k++)\n\t\t triRef.distances[k] = new Distance();\n\t }\n\n\t triRef.distances[numDist].dist = Numerics.baseLength(triRef.points[start],\n\t\t\t\t\t\t\t\t triRef.points[i1[0]]);\n\t triRef.distances[numDist].ind = ind1[0];\n\t ++numDist;\n\t ind1[0] = triRef.fetchNextData(ind1[0]);\n\t i1[0] = triRef.fetchData(ind1[0]);\n\t}\n\n\t// qsort(distances, num_dist, sizeof(distance), &d_comp);\n\tsortDistance(triRef.distances, numDist);\n\n\t// find a valid diagonal. note that no node with index i1 > start can\n\t// be feasible!\n\tfor (j = 0; j < numDist; ++j) {\n\t ind1[0] = triRef.distances[j].ind;\n\t i1[0] = triRef.fetchData(ind1[0]);\n\t if (i1[0] <= start) {\n\t\tind0 = triRef.fetchPrevData(ind1[0]);\n\t\ti0 = triRef.fetchData(ind0);\n\t\tind2 = triRef.fetchNextData(ind1[0]);\n\t\ti2 = triRef.fetchData(ind2);\n\t\tconvex = triRef.getAngle(ind1[0]) > 0;\n\n\t\tconeOk = Numerics.isInCone(triRef, i0, i1[0], i2, start, convex);\n\t\tif (coneOk) {\n\t\t bb = new BBox(triRef, i1[0], start);\n\t\t if (!NoHash.noHashEdgeIntersectionExists(triRef, bb, -1, -1, ind1[0], -1))\n\t\t\treturn true;\n\t\t}\n\t }\n\t}\n\n\t// the left-most point of the hole does not lie within the outer\n\t// boundary! what is the best bridge in this case??? I make a\n\t// brute-force decision... perhaps this should be refined during a\n\t// revision of the code...\n\tfor (j = 0; j < numDist; ++j) {\n\t ind1[0] = triRef.distances[j].ind;\n\t i1[0] = triRef.fetchData(ind1[0]);\n\t ind0 = triRef.fetchPrevData(ind1[0]);\n\t i0 = triRef.fetchData(ind0);\n\t ind2 = triRef.fetchNextData(ind1[0]);\n\t i2 = triRef.fetchData(ind2);\n\t bb = new BBox(triRef, i1[0], start);\n\t if (!NoHash.noHashEdgeIntersectionExists(triRef, bb, -1, -1, ind1[0], -1))\n\t\treturn true;\n\t}\n\n\t// still no diagonal??? yikes! oh well, this polygon is messed up badly!\n\tind1[0] = ind;\n\ti1[0] = i;\n\n\treturn false;\n }",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n mNodes = sc.nextInt();\n mEdges = sc.nextInt();\n \n mDistances = new int[mNodes+1][mNodes+1];\n \n for (int i =1; i <= mNodes; i++)\n {\n \n for (int j =1; j <=mNodes;j++)\n {\n mDistances[i][j] = Integer.MAX_VALUE;\n \n }\n }\n \n for (int i =1; i <= mNodes; i++)\n {\n mDistances[i][i] =0;\n }\n \n for (int i = 0 ; i < mEdges; i++)\n {\n int from = sc.nextInt();\n int to = sc.nextInt();\n \n mDistances[from][to] = sc.nextInt();\n \n \n }\n \n \n //FW\n \n for (int k = 1; k <= mNodes; k++)\n {\n \n for (int i = 1; i <= mNodes; i++)\n {\n \n for (int j = 1; j <= mNodes; j++)\n {\n \n if (mDistances[i][k]!= Integer.MAX_VALUE && mDistances[k][j] != Integer.MAX_VALUE )\n {\n if (mDistances[i][j] > mDistances[i][k] + mDistances[k][j])\n {\n \n mDistances[i][j] = mDistances[i][k] + mDistances[k][j];\n }\n \n }\n \n }\n }\n \n }\n \n mQueries = sc.nextInt();\n \n for (int i =0; i < mQueries; i++)\n {\n int dist = mDistances[sc.nextInt()][sc.nextInt()];\n \n if (dist == Integer.MAX_VALUE)\n {\n dist = -1;\n }\n \n System.out.println(dist);\n \n }\n \n \n \n \n \n \n \n \n \n }",
"private void e_Neighbours(int u){ \n int edgeDistance = -1; \n int newDistance = -1; \n \n // All the neighbors of v \n for (int i = 0; i < adj.get(u).size(); i++) { \n Node v = adj.get(u).get(i); \n \n // If current node hasn't already been processed \n if (!settled.contains(v.node)) { \n edgeDistance = v.cost; \n newDistance = dist[u] + edgeDistance; \n \n // If new distance is cheaper in cost \n if (newDistance < dist[v.node]) \n dist[v.node] = newDistance; \n \n // Add the current node to the queue \n pq.add(new Node(v.node, dist[v.node])); \n } \n } \n }",
"private int findClosestDiscontiguousInterval(double target) {\n boolean isTemporal = orgGridAxis.getAxisType().equals(AxisType.Time);\n return isTemporal ? findClosestDiscontiguousTimeInterval(target) : findClosestDiscontiguousNonTimeInterval(target);\n }",
"private int searchNext(JmtCell prev) {\r\n \t\tRectangle boundspadre = GraphConstants.getBounds((prev).getAttributes()).getBounds();\r\n \t\tObject[] listEdges = null;\r\n \t\tGraphModel graphmodel = graph.getModel();\r\n \t\tList<Object> next = new ArrayList<Object>();\r\n \r\n \t\tif (flag1 == false && prev.seen == false) {\r\n \r\n \t\t\t// Rectangle bounds =\r\n \t\t\t// GraphConstants.getBounds(((JmtCell)prev).getAttributes()).getBounds();\r\n \t\t\tif (!flag2) {\r\n \t\t\t\tboundspadre.setLocation(x, y + ((e + 1) * (42 + heightMax)) - (int) (boundspadre.getHeight() / 2) + 30);\r\n \t\t\t} else {\r\n \t\t\t\tboundspadre.setLocation(x - (int) (boundspadre.getWidth() / 2), y + ((e + 1) * (42 + heightMax))\r\n \t\t\t\t\t\t- (int) (boundspadre.getHeight() / 2) + 30);\r\n \t\t\t}\r\n \r\n \t\t\tGraphConstants.setBounds(prev.getAttributes(), boundspadre);\r\n \t\t\tx = (int) boundspadre.getCenterX() + widthMax + 50;\r\n \t\t\tprev.seen = true;\r\n \t\t\tflag2 = true;\r\n \t\t}\r\n \r\n \t\t// inserisco tutti gli archi uscenti e entranti di min.get(j) in\r\n \t\t// listEdges\r\n \t\tlistEdges = DefaultGraphModel.getOutgoingEdges(graphmodel, prev);\r\n \t\tVector<Object> listEdgestmp = new Vector<Object>();\r\n \t\tfor (Object listEdge : listEdges) {\r\n \t\t\tJmtCell qq = (JmtCell) (graphmodel.getParent(graphmodel.getTarget(listEdge)));\r\n \t\t\tif (!(qq).seen) {\r\n \t\t\t\tlistEdgestmp.add(listEdge);\r\n \t\t\t}\r\n \t\t}\r\n \t\tlistEdges = listEdgestmp.toArray();\r\n \r\n \t\tint numTarget = listEdges.length;\r\n \t\tif (numTarget == 0) {\r\n \t\t\treturn 1;\r\n \t\t}\r\n \r\n \t\tfor (int k = 0; k < numTarget; k++) {\r\n \t\t\tnext.add((graphmodel.getParent(graphmodel.getTarget(listEdges[k]))));\r\n \t\t}\r\n \r\n \t\tint j = 1;\r\n \t\tif (inRepositionSons == false && ((JmtCell) next.get(0)).seen == false) {\r\n \t\t\tj = searchNext((JmtCell) next.get(0));\r\n \t\t} else if (inRepositionSons == true && ((JmtCell) next.get(0)).seen == false) {\r\n \r\n \t\t\tRectangle bounds = GraphConstants.getBounds(((JmtCell) next.get(0)).getAttributes()).getBounds();\r\n \t\t\tbounds.setLocation((int) (boundspadre.getCenterX()) + widthMax + 50 - (int) (bounds.getWidth() / 2), (int) boundspadre.getCenterY()\r\n \t\t\t\t\t- (int) (bounds.getHeight() / 2));\r\n \t\t\tGraphConstants.setBounds(((JmtCell) next.get(0)).getAttributes(), bounds);\r\n \r\n \t\t\t((JmtCell) next.get(0)).seen = true;\r\n \t\t\tj = searchNext((JmtCell) next.get(0));\r\n \t\t}\r\n \r\n \t\tif (numTarget > 0) {\r\n \t\t\tif (!flag) {\r\n \t\t\t\trepositionSons(prev, next, j - 1, 1);\r\n \t\t\t} else {\r\n \t\t\t\trepositionSons(prev, next, -1, 0);\r\n \t\t\t}\r\n \t\t\tflag = false;\r\n \t\t}\r\n \r\n \t\t(prev).sons = 0;\r\n \t\tfor (int w = 0; w < numTarget; w++) {\r\n \t\t\tprev.sons += ((JmtCell) next.get(w)).sons;\r\n \t\t}\r\n \r\n \t\treturn prev.sons;\r\n \t}",
"int[][] Naive(int m, Pointd[] points){\n int[][] tours = new int[m][];\n for(int i=0; i<m; i++){\n if(i<points.length%m) tours[i] = new int[points.length/m+1];\n else tours[i] = new int[points.length/m];\n }\n\n //Select the first point, find the next closest point, find the next closest point to that etc\n boolean[] alreadyInTour = new boolean[points.length];\n double minDistance;\n double distance;\n Pointd pointA;\n Pointd pointB;\n int index = 0;\n int n;\n\n for(int k=0; k<m; k++){\n //Each row of tours, first find a node that isn't in a tour\n n = 0;\n while(alreadyInTour[n]) n++;\n pointA = points[n];\n tours[k][0] = n;\n alreadyInTour[n] = true;\n\n int iterate = 0;\n int j=1;\n while(j<tours[k].length){\n if(!alreadyInTour[iterate]){\n minDistance = Double.MAX_VALUE;\n //Find next closest point to pointA\n for(int i=0; i<points.length; i++){\n pointB = points[i];\n if(!alreadyInTour[i]){\n distance = Math.sqrt( Math.pow(pointA.x - pointB.x, 2) + Math.pow(pointA.y - pointB.y, 2) );\n if(distance < minDistance){\n minDistance = distance;\n index = i;\n }\n }\n }\n //System.out.println(index);\n tours[k][j] = index;\n alreadyInTour[index] = true;\n j++;\n }\n iterate++;\n if(iterate >= points.length) iterate = 0;\n }\n }\n for(int i=0; i<tours.length; i++){\n //System.out.println(Arrays.toString(tours[i]));\n }\n return tours;\n }",
"private final void relaxNeighbors(_Node unsettledNode)\r\n {\r\n for (_Edge destinationEdge : map.getDestinations(unsettledNode))\r\n {\r\n \tif (isSettled(destinationEdge.getEndNode())) continue;\r\n \tint shortDist = getShortestDistance(unsettledNode) + destinationEdge.getWeight();// map.getDistance(unsettledNode, destinationEdge.getEndNode());\r\n if (shortDist <= getShortestDistance(destinationEdge.getEndNode()))\r\n {\r\n setShortestDistance(destinationEdge.getEndNode(), shortDist);\r\n setPredecessor(destinationEdge.getEndNode(),unsettledNode);\r\n }\r\n } \r\n }",
"Place getNextPlace(Place next)\n{\n if (!visited.contains(next.goNorth()) && !(next.goNorth()).isWall()){\n soln.append(\"N\");\n visited.add(next.goNorth());\n //nearby.clear();\n return next.goNorth();\n }\n else if (!visited.contains(next.goEast()) && !next.goEast().isWall()){\n soln.append(\"E\");\n visited.add(next.goEast());\n //nearby.clear();\n return next.goEast();\n }\n else if (!visited.contains(next.goNorth()) && !next.goNorth().isWall()){\n soln.append(\"N\");\n visited.add(next.goNorth());\n //nearby.clear();\n return next.goNorth();\n }\n else if (!visited.contains(next.goNorth()) && !next.goNorth().isWall()){\n soln.append(\"N\");\n visited.add(next.goNorth());\n //nearby.clear();\n return next.goNorth();\n \n //nearby.clear();\n return null;\n} \n}",
"int astar(Node src, Node last) {\n\t\tPriorityQueue<Node> pq = new PriorityQueue<>((a, b) -> (a.getPrev().getFullDist()) - (b.getPrev().getFullDist()));\n\t\tsrc.getPrev().setDistance(0);\n\t\tsrc.getPrev().setEstimatedDistToEnd(distance(src, last));\n\t\tlast.setFinished(true);\n\t\tpq.add(src);\n\t\t\n\t\tint count = 0;\n\t\twhile (!pq.isEmpty()) {\n\t\t\tNode n = pq.poll();\n\t\t\tcount++;\n\t\t\tif (n.isFinished()) return count;\n\t\t\tfor (Edge edge = n.getEdge(); edge != null; edge = edge.getNextEdge()) {\n\t\t\t\tLast edgeCheck = edge.getTo().getPrev();\n\t\t\t\tLast nodeCheck = n.getPrev();\n\t\t\t\t\n\t\t\t\tif (edgeCheck.getDistance() > nodeCheck.getDistance() + edge.getWeight()) {\n\t\t\t\t\tif (edgeCheck.getEstimatedDistToEnd() == -1)\n\t\t\t\t\t\tedgeCheck.setEstimatedDistToEnd(distance(edge.getTo(), last));\n\t\t\t\t\tedgeCheck.setDistance(nodeCheck.getDistance() + edge.getWeight());\n\t\t\t\t\tedgeCheck.setLast(n);\n\t\t\t\t\tedgeCheck.setFullDist(edgeCheck.getDistance() + edgeCheck.getEstimatedDistToEnd());\n\t\t\t\t\tpq.add(edge.getTo());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"public static double closestPair(Point[] sortedX) {\n if (sortedX.length <= 1) {\n return Double.MAX_VALUE;\n }\n double mid = sortedX[(sortedX.length) / 2].getX();\n double firstHalf = closestPair(Arrays.copyOfRange(sortedX, 0, (sortedX.length) / 2));\n double secondHalf = closestPair(Arrays.copyOfRange(sortedX, (sortedX.length) / 2, sortedX.length));\n double min = Math.min(firstHalf, secondHalf);\n ArrayList<Point> close = new ArrayList<Point>();\n for (int i = 0; i < sortedX.length; i++) {\n double dis = Math.abs(sortedX[i].getX() - mid);\n if (dis < min) {\n close.add(sortedX[i]);\n }\n }\n // sort by Y coordinates\n Collections.sort(close, new Comparator<Point>() {\n public int compare(Point obj1, Point obj2) {\n return (int) (obj1.getY() - obj2.getY());\n }\n });\n Point[] near = close.toArray(new Point[close.size()]);\n\n for (int i = 0; i < near.length; i++) {\n int k = 1;\n while (i + k < near.length && near[i + k].getY() < near[i].getY() + min) {\n if (min > near[i].distance(near[i + k])) {\n min = near[i].distance(near[i + k]);\n System.out.println(\"near \" + near[i].distance(near[i + k]));\n System.out.println(\"best \" + best);\n\n if (near[i].distance(near[i + k]) < best) {\n best = near[i].distance(near[i + k]);\n arr[0] = near[i];\n arr[1] = near[i + k];\n // System.out.println(arr[0].getX());\n // System.out.println(arr[1].getX());\n\n }\n }\n k++;\n }\n }\n return min;\n }",
"List<Long> getBestSolIntersection();",
"public void findUpperAndLowerEdge() throws NoSudokuFoundException{\n int bestUpperHit = 0;\n int bestLowerHit = 0;\n double t = INTERSECT_TOLERANCE;\n for (int h=0; h<nextH; h++) {\n int upperHit = 0;\n int lowerHit = 0;\n // for every horizontal line, check if vertical edge points A and B \n // are on that line.\n double[] hline = horizontalLines[h];\n double hy1 = hline[1],\n hy2 = hline[3];\n for (int v=0; v<nextV; v++){\n double[] vec = verticalLines[v];\n double ay = vec[1],\n by = vec[3];\n // if they are, count them\n if(ay < by) { // A is above B\n if ((hy1<=ay+t && ay<=hy2+t) || (hy1+t>=ay && ay+t>=hy2)){\n // A is between the left and right edge point.\n // only count it if it is above the screen center.\n if(hy1 < centerY && hy2 < centerY) {\n upperHit++;\n }\n } else if ((hy1<=by+t && by<=hy2+t) || (hy1+t>=by && by+t>=hy2)) {\n if(hy1 > centerY && hy2 > centerY) {\n lowerHit++;\n }\n }\n } else { // B is above A\n if ((hy1<=by+t && by<=hy2+t) || (hy1+t>=by && by+t>=hy2)) {\n if(hy1 < centerY && hy2 < centerY) {\n upperHit++;\n }\n } else if ((hy1<=ay+t && ay<=hy2+t) || (hy1+t>=ay && ay+t>=hy2)) {\n if(hy1 > centerY && hy2 > centerY) {\n lowerHit++;\n }\n } \n }\n }\n // take the lines with the highest counts\n if(upperHit > bestUpperHit) {\n edges[0] = horizontalLines[h];\n bestUpperHit = upperHit;\n } else if (lowerHit > bestLowerHit){\n edges[2] = horizontalLines[h];\n bestLowerHit = lowerHit;\n }\n }\n if(bestUpperHit < LINE_THRESHOLD || bestLowerHit < LINE_THRESHOLD){\n throw new NoSudokuFoundException(\"Number of upper (\"+bestUpperHit+\") or lower (\"+bestLowerHit+\") line ends below threshold. h\");\n }\n // Log.v(TAG, \"Best upper hit: \" + bestUpperHit + \", best lower: \" + bestLowerHit);\n }",
"@Override\n\tpublic List<Cell> calcNeighbors(int row, int col) {\n\t\tList<Cell> neighborLocs = new ArrayList<>();\n\t\tint shift_constant = 1 - 2*((row+col) % 2);\n\t\tif(!includesDiagonals) {\n\t\t\tfor(int a = col - 1; a <= col + 1; a++) {\n\t\t\t\tif(a == col)\n\t\t\t\t\taddLocation(row + shift_constant,a,neighborLocs);\n\t\t\t\telse \n\t\t\t\t\taddLocation(row,a,neighborLocs);\n\t\t\t}\n\t\t\treturn neighborLocs;\n\t\t}\n\t\tfor(int b = col - 2; b <= col + 2; b++) {\n\t\t\tfor(int a = row; a != row + 2*shift_constant; a += shift_constant) {\n\t\t\t\tif(a == row && b == col)\n\t\t\t\t\tcontinue;\n\t\t\t\taddLocation(a,b,neighborLocs);\n\t\t\t}\n\t\t}\n\t\tfor(int b = col -1; b <= col + 1; b++) {\n\t\t\taddLocation(row - shift_constant,b,neighborLocs);\n\t\t}\n\t\treturn neighborLocs;\n\t}",
"public Set<? extends Position> findNearest(Position position, int k);",
"private int getNeighbours(Container[][][] buffer) {\n int neighbours = 0;\n if (indexPosition.x + 1 < buffer.length && buffer[(int) indexPosition.x + 1][(int) indexPosition.y][(int) indexPosition.z] != null) {\n neighbours++;\n }\n if (indexPosition.x - 1 >= 0 && buffer[(int) indexPosition.x - 1][(int) indexPosition.y][(int) indexPosition.z] != null) {\n neighbours++;\n }\n if (indexPosition.y + 1 < buffer[0].length && buffer[(int) indexPosition.x][(int) indexPosition.y + 1][(int) indexPosition.z] != null) {\n neighbours++;\n }\n if (indexPosition.y - 1 >= 0 && buffer[(int) indexPosition.x][(int) indexPosition.y - 1][(int) indexPosition.z] != null) {\n neighbours++;\n }\n if (indexPosition.z + 1 < buffer[0][0].length && buffer[(int) indexPosition.x][(int) indexPosition.y][(int) indexPosition.z + 1] != null) {\n neighbours++;\n }\n if (indexPosition.z - 1 >= 0 && buffer[(int) indexPosition.x][(int) indexPosition.y][(int) indexPosition.z - 1] != null) {\n neighbours++;\n }\n return neighbours;\n }",
"public static int frog(int n, int [] h){\n\n int dp[] = new int [n];\n\n dp[0] = 0;\n dp[1] = Math.abs(h[1] - h[0]);\n\n for(int i = 2; i < n ; i ++){\n\n dp[i] = Math.min(dp [i - 2] + Math.abs(h[i] - h[i - 2]), dp[i - 1] + Math.abs(h[i] - h[i - 1]));\n\n\n\n }\n //print(dp);\n return dp[n - 1];\n }",
"private List<CellIndex> getNeighbours( CellIndex index )\r\n {\n List<CellIndex> neighbours = new ArrayList<World.CellIndex>();\r\n if( index.x % EnvSettings.getMAX_X() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x - 1, index.y, index.z ) );\r\n }\r\n if( index.x % EnvSettings.getMAX_X() != EnvSettings.getMAX_X() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x + 1, index.y, index.z ) );\r\n }\r\n if( index.y % EnvSettings.getMAX_Y() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y - 1, index.z ) );\r\n }\r\n if( index.y % EnvSettings.getMAX_Y() != EnvSettings.getMAX_Y() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y + 1, index.z ) );\r\n }\r\n if( index.z % EnvSettings.getMAX_Z() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y, index.z - 1 ) );\r\n }\r\n if( index.z % EnvSettings.getMAX_Z() != EnvSettings.getMAX_Z() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y, index.z + 1 ) );\r\n }\r\n return neighbours;\r\n }",
"protected int find_among_b(Among v[])\n {\n\tint i = 0;\n\tint j = v.length;\n\n\tint c = cursor;\n\tint lb = limit_backward;\n\n\tint common_i = 0;\n\tint common_j = 0;\n\n\tboolean first_key_inspected = false;\n\n\twhile (true) {\n\t int k = i + ((j - i) >> 1);\n\t int diff = 0;\n\t int common = common_i < common_j ? common_i : common_j;\n\t Among w = v[k];\n\t int i2;\n\t for (i2 = w.s.length - 1 - common; i2 >= 0; i2--) {\n\t\tif (c - common == lb) {\n\t\t diff = -1;\n\t\t break;\n\t\t}\n\t\tdiff = current.charAt(c - 1 - common) - w.s[i2];\n\t\tif (diff != 0) break;\n\t\tcommon++;\n\t }\n\t if (diff < 0) {\n\t\tj = k;\n\t\tcommon_j = common;\n\t } else {\n\t\ti = k;\n\t\tcommon_i = common;\n\t }\n\t if (j - i <= 1) {\n\t\tif (i > 0) break;\n\t\tif (j == i) break;\n\t\tif (first_key_inspected) break;\n\t\tfirst_key_inspected = true;\n\t }\n\t}\n\twhile (true) {\n\t Among w = v[i];\n\t if (common_i >= w.s.length) {\n\t\tcursor = c - w.s.length;\n\t\tif (w.method == null) return w.result;\n\n\t\tboolean res;\n\t\ttry {\n\t\t Object resobj = w.method.invoke(this);\n\t\t res = resobj.toString().equals(\"true\");\n\t\t} catch (InvocationTargetException e) {\n\t\t res = false;\n\t\t // FIXME - debug message\n\t\t} catch (IllegalAccessException e) {\n\t\t res = false;\n\t\t // FIXME - debug message\n\t\t}\n\t\tcursor = c - w.s.length;\n\t\tif (res) return w.result;\n\t }\n\t i = w.substring_i;\n\t if (i < 0) return 0;\n\t}\n }",
"private static double nearestNeighbour(List<Point> points, Point startPoint, Point endPoint) {\n double tentative_distance; // to evaluate nearest neighbour\n double cummulative_distance = 0; // cummulative distance of tour\n double dist; // temporary variable\n Point current = startPoint;\n //System.out.println(\"start at: #\" + current.getId());\n\n int indexToRemove = 0;\n int numberOfLoops = points.size() - 1;\n\n for (int i = 0; i <= numberOfLoops; i++) {\n //System.out.println(\"outerloop #\" + i);\n tentative_distance = Double.MAX_VALUE;\n // evaluate nearest neighbour\n for (int j = 0; j < points.size(); j++) {\n dist = getDistance(points.get(j), current);\n if (dist < tentative_distance) {\n tentative_distance = dist;\n indexToRemove = j;\n }\n }\n //System.out.println(\"next point: #\" + points.get(indexToRemove).getId());\n cummulative_distance += getDistance(points.get(indexToRemove), current);\n current = points.remove(indexToRemove);\n }\n // add distance to endpoint\n cummulative_distance += getDistance(current, endPoint);\n return cummulative_distance;\n }",
"private TreeSet<Integer> getNeightborSets(DisjointSets<Pixel> ds, int root)\n {\n return null; //TODO: remove and replace this line\n }",
"public Point2D nearest(Point2D p) {\n if (bst.isEmpty()) {\n return null;\n }\n\n Point2D nearest = null;\n double nearestDist = Double.POSITIVE_INFINITY;\n \n \n for (Point2D point: bst.keys()) {\n\n if (nearest == null \n || point != null \n && (nearestDist > point.distanceSquaredTo(p)\n && (!point.equals(p)))) {\n nearest = point;\n nearestDist = point.distanceSquaredTo(p);\n }\n \n }\n return nearest;\n }",
"Set<Edge> getIncomingNeighborEdges(boolean onUpwardPass) {\n//\t\t\tif(_outgoingEdges.size() == 0) { // only compute if we have to\n\t\t\t\tSet<Edge> outgoingEdges = new HashSet<Edge>();\n\t\t\t\tIterator<Edge> it = _neighborEdges.keySet().iterator();\n\t\t\t\twhile(it.hasNext()) {\n\t\t\t\t\tEdge e = it.next();\n\t\t\t\t\tVertex v = e.getOtherVertex(this);\n\t\t\t\t\tif(this._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops i am unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(v._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops neighbor unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(this._orderID < v._orderID) {\n\t\t\t\t\t\toutgoingEdges.add(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_outgoingEdges = outgoingEdges;\n//\t\t\t}\n//\t\t\treturn _outgoingEdges;\n\t\t\t\treturn outgoingEdges;\n\t\t}",
"private Cell searchEmptySurrounding(){\n List <Cell> blocks = getSurroundingCells(currentWorm.position.x, currentWorm.position.y);\n for (Cell block : blocks){\n if(!isCellOccupied(block)) return block;\n }\n return null;\n }",
"@Override\n\t\tpublic double heuristic() {\n\t\t\tint sum = 0;\n\t\t\tfor (int i = 0; i < k; i++) {\n\t\t\t\tsum += Math.abs(xGoals[i] - state[i]);\n\t\t\t\tsum += Math.abs(yGoals[i] - state[k + i]);\n\t\t\t}\n\t\t\treturn sum;\n\t\t}",
"public static int Dij(int s , int g){\n PriorityQueue<Edge> pq = new PriorityQueue<>();\n HashSet<Integer> hs = new HashSet<>();\n distance[s]=0;\n pq.add(new Edge(s,0));\n while (!pq.isEmpty()){\n Edge curr = pq.remove();\n if(curr.getto()==g)return distance[g];\n if(!hs.contains(curr.getto())){\n hs.add(curr.getto());\n List<Edge> ll = getNei(curr.getto()) ;\n for(Edge e :ll ){\n if(!hs.contains(e.getto())){\n\n if(distance[e.getto()]>(distance[curr.getto()] +e.getweight())){\n\n distance[e.getto()] = distance[curr.getto()] +e.getweight() ;\n pq.add(new Edge(e.getto(),distance[e.getto()]));\n\n }\n }\n }\n }\n\n }\n return distance[g] ;\n }",
"public Point getFurthermost(){\n\t\t\tdouble distance;\n\t\t\tdouble distanceMin = Double.MAX_VALUE;\n\t\t\tPoint centroid = centroid();\n\t\t\tPoint closest = new Point();\n\t\t\tfor(Point p : clusterPointsList){\n\t\t\t\tdistance = p.dist(centroid);\t\t\t\n\t\t\t\tif(distance < distanceMin){\n\t\t\t\t\tdistanceMin = distance;\n\t\t\t\t\tclosest = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn closest;\n\t\t}",
"private boolean overlappingGateways(BpmnShape s1, BpmnShape s2) {\n\t\tdouble firstHeight = s1.getBounds().getHeight() / 2;\n\t\tdouble firstWidth = s1.getBounds().getWidth() / 2;\n\t\tdouble firstX = s1.getBounds().getX() + firstWidth;\n\t\tdouble firstY = s1.getBounds().getY() + firstHeight;\n\t\tdouble firstApothem = (s1.getBounds().getHeight() * Math.sqrt(2)) / 2;\n\n\t\tdouble secondWidth = s2.getBounds().getWidth() / 2;\n\t\tdouble secondHeight = s2.getBounds().getHeight() / 2;\n\t\tdouble secondX = s2.getBounds().getX();\n\t\tdouble secondY = s2.getBounds().getY() + secondHeight;\n\t\tdouble secondApothem = (s2.getBounds().getHeight() * Math.sqrt(2)) / 2;\n\t\t\n\t\tif (firstX > secondX && firstY > secondY){\n\t\t\tif ((firstX - firstWidth < secondX + secondWidth && firstY - firstHeight < secondY + secondHeight) &&\n\t\t\t\t(firstX - firstApothem < secondX + secondApothem || firstY - firstApothem < secondY + secondApothem))\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX > secondX && firstY < secondY){\n\t\t\tif ((firstX - firstWidth < secondX + secondWidth && firstY + firstHeight > secondY - secondHeight) &&\n\t\t\t\t(firstX - firstApothem < secondX + secondApothem || firstY + firstApothem > secondY - secondApothem))\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX < secondX && firstY > secondY){\n\t\t\tif ((firstX + firstWidth > secondX - secondWidth && firstY - firstHeight < secondY + secondHeight) &&\n\t\t\t\t(firstX + firstApothem > secondX - secondApothem || firstY - firstApothem < secondY + secondApothem))\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX < secondX && firstY < secondY){\n\t\t\tif ((firstX - firstWidth < secondX + secondWidth && firstY + firstHeight > secondY - secondHeight) &&\n\t\t\t\t(firstX - firstApothem < secondX + secondApothem || firstY + firstApothem > secondY - secondApothem))\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX == secondX && firstY == secondY)\n\t\t\t\treturn true;\n\t\t\n\t\tif (firstX == secondX && firstY > secondY){\n\t\t\tif (firstY - firstHeight < secondY + secondHeight)\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX > secondX && firstY == secondY){\n\t\t\tif (firstX - firstWidth < secondX + secondWidth)\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX == secondX && firstY < secondY){\n\t\t\tif (firstY + firstHeight > secondY - secondHeight)\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (firstX < secondX && firstY == secondY){\n\t\t\tif (firstX + firstWidth > secondX - secondWidth)\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}\n\t\treturn false;\n\t}",
"Set<E> getForwardNeighbors();",
"static ReadShellPreference nearest() {\n return NEAREST;\n }",
"public Direction getMostValuableDirection(Location location) {\r\n\t\tint northSum = 0, southSum = 0, westSum = 0, eastSum = 0;\r\n\t\t// the neighbors are saved in an array and we know the order for each\r\n\t\t// neighbor\r\n\t\tArrayList<Location> neighbors = location.getNeighbors(location, map, 1);\r\n\t\t// so we know the north neighbors are on the 0, 1, 2 positions\r\n\t\tif(neighbors.get(0).getSite().owner != myID) {\r\n\t\t\tnorthSum += neighbors.get(0).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(1).getSite().owner != myID) {\r\n\t\t\tnorthSum += neighbors.get(1).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(2).getSite().owner != myID) {\r\n\t\t\tnorthSum += neighbors.get(2).getSite().strength;\r\n\t\t}\r\n\r\n\t\t// the east neighbors are on the 3, 4, 5 positions\r\n\t\tif(neighbors.get(3).getSite().owner != myID) {\r\n\t\t\teastSum += neighbors.get(3).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(4).getSite().owner != myID) {\r\n\t\t\teastSum += neighbors.get(4).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(5).getSite().owner != myID) {\r\n\t\t\teastSum += neighbors.get(5).getSite().strength;\r\n\t\t}\r\n\r\n\t\t// the south neighbors are on the 6, 7, 8 positions\r\n\t\tif(neighbors.get(6).getSite().owner != myID) {\r\n\t\t\tsouthSum += neighbors.get(6).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(7).getSite().owner != myID) {\r\n\t\t\tsouthSum += neighbors.get(7).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(8).getSite().owner != myID) {\r\n\t\t\tsouthSum += neighbors.get(8).getSite().strength;\r\n\t\t}\r\n\r\n\t\t// the west neighbors are on the 9, 10, 11 positions\r\n\t\tif(neighbors.get(9).getSite().owner != myID) {\r\n\t\t\twestSum += neighbors.get(9).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(10).getSite().owner != myID) {\r\n\t\t\twestSum += neighbors.get(10).getSite().strength;\r\n\t\t}\r\n\t\tif(neighbors.get(11).getSite().owner != myID) {\r\n\t\t\twestSum += neighbors.get(11).getSite().strength;\r\n\t\t}\r\n\t\t// get maximum sum\r\n\t\tfloat max = Math.max(Math.max(northSum, southSum), Math.max(eastSum, westSum));\r\n\t\t// return the best direction\r\n\t\tif (max == northSum)\r\n\t\t\treturn Direction.NORTH;\r\n\t\telse if (max == southSum)\r\n\t\t\treturn Direction.SOUTH;\r\n\t\telse if (max == eastSum)\r\n\t\t\treturn Direction.EAST;\r\n\t\telse\r\n\t\t\treturn Direction.WEST;\r\n\t}",
"static void roundTable(final List<double[]> table) {\n if (table.size() == 0) return;\n \n\tint numRows = table.size();\n\tint numCols = table.get(0).length;\n\t\n\tdouble[] rowSum = new double[numRows];\n\tdouble[] colSum = new double[numCols];\n\tdouble[][] newTable = new double[numRows][numCols];\n\t\n\tfor (int i = 0; i < numRows; i++) {\n\t\tfor (int j = 0; j < numCols; j++) {\n\t\t\tnewTable[i][j] = table.get(i)[j];\n\t\t\trowSum[i] += table.get(i)[j];\n\t\t\tcolSum[j] += table.get(i)[j];\n\t\t}\n\t}\n\t\n\tInteger source = -numCols - 1;\n\tInteger sink = numRows + 1;\n\tList<Integer> nodes = new ArrayList<Integer>();\n\t\n for (int i = 0; i < numRows + 1; i++) {\n \tnodes.add(i);\n }\n for (int i = 0; i < numCols + 1; i++) {\n \tnodes.add(-i);\n }\n \n\tToDoubleBiFunction<Integer, Integer> minEdgeFlow = (a, b) -> {\n\t\tif (a.equals(source) && (b < 0 && b >= -numCols)) {\n\t\t\treturn Math.floor(colSum[-b - 1]);\n\t\t} else if ((a > 0 && a <= numRows) && b.equals(sink)) {\n\t\t\treturn Math.floor(rowSum[a - 1]);\n\t\t} else if ((b > 0 && b <= numRows) && (a < 0 && a >= -numCols)) {\n\t\t\treturn Math.floor(newTable[b - 1][-a - 1]);\n\t\t}\n\t\treturn 0.0;};\n\t\n\tToDoubleBiFunction<Integer, Integer> maxEdgeFlow = (a, b) -> {\n\t\tif (a.equals(source) && (b < 0 && b >= -numCols)) {\n\t\t\treturn Math.ceil(colSum[-b - 1]);\n\t\t} else if ((a > 0 && a <= numRows) && b.equals(sink)) {\n\t\t\treturn Math.ceil(rowSum[a - 1]);\n\t\t} else if ((b > 0 && b <= numRows) && (a < 0 && a >= -numCols)) {\n\t\t\treturn Math.ceil(newTable[b - 1][-a - 1]);\n\t\t}\n\t\treturn 0.0;};\n\t\n\tToDoubleBiFunction<Integer, Integer> flow = findFeasibleBoundedFlow(source, sink, nodes,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tminEdgeFlow, maxEdgeFlow);\n\tfor (int i = 0; i < numCols; i++) {\n\t\tfor (int j = 0; j < numRows; j++) {\n\t\t\ttable.get(j)[i] = flow.applyAsDouble(-i - 1, j + 1);\n\t\t}\n\t}\n }",
"public static int QTDelHeuristic1 (Graph<Integer,String> h) {\n\t\tint count = 0;\r\n\t\tboolean isQT = false;\r\n\t\t//h = Copy(g);\r\n\t\t//boolean moreToDo = true;\r\n\t\t\r\n\t\tIterator<Integer> a;\r\n\t\tIterator<Integer> b;\r\n\t\tIterator<Integer> c;\r\n\t\tIterator<Integer> d;\r\n\r\n\t\twhile (isQT == false) {\r\n\t\t\tisQT = true;\r\n\t\t\ta= h.getVertices().iterator();\r\n\t\t\twhile(a.hasNext()){\r\n\t\t\t\tInteger A = a.next();\r\n\t\t\t\t//System.out.print(\"\"+A+\" \");\r\n\t\t\t\tb = h.getNeighbors(A).iterator();\r\n\t\t\t\twhile(b.hasNext()){\r\n\t\t\t\t\tInteger B = b.next();\r\n\t\t\t\t\tc = h.getNeighbors(B).iterator();\r\n\t\t\t\t\twhile (c.hasNext()){\r\n\t\t\t\t\t\tInteger C = c.next();\r\n\t\t\t\t\t\tif (h.isNeighbor(C, A) || C==A) continue;\r\n\t\t\t\t\t\td = h.getNeighbors(C).iterator();\r\n\t\t\t\t\t\twhile (d.hasNext()){\r\n\t\t\t\t\t\t\tInteger D = d.next();\r\n\t\t\t\t\t\t\tif (D==B) continue; \r\n\t\t\t\t\t\t\tif (h.isNeighbor(D,B)) continue;\r\n\t\t\t\t\t\t\t//otherwise, we have a P4 or a C4\r\n\r\n\t\t\t\t\t\t\tisQT = false;\r\n\t\t\t\t\t\t\t//System.out.print(\"Found P4: \"+A+\"-\"+B+\"-\"+C+\"-\"+D+\"... not a cograph\\n\");\r\n\r\n\t\t\t\t\t\t\tif (h.isNeighbor(D,A)) {\r\n\t\t\t\t\t\t\t\t// we have a C4 = a-b-c-d-a\r\n\t\t\t\t\t\t\t\t// requires 2 deletions\r\n\t\t\t\t\t\t\t\tcount += 2;\r\n\t\t\t\t\t\t\t\th.removeVertex(A);\r\n\t\t\t\t\t\t\t\th.removeVertex(B);\r\n\t\t\t\t\t\t\t\th.removeVertex(C);\r\n\t\t\t\t\t\t\t\th.removeVertex(D);\r\n\t\t\t\t\t\t\t\treturn 2 + QTDelHeuristic1(h);\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t// this case says:\r\n\t\t\t\t\t\t\t\t// else D is NOT adjacent to A. Then we have P4=abcd\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tcount += 1;\r\n\t\t\t\t\t\t\t\th.removeVertex(A);\r\n\t\t\t\t\t\t\t\th.removeVertex(B);\r\n\t\t\t\t\t\t\t\th.removeVertex(C);\r\n\t\t\t\t\t\t\t\th.removeVertex(D);\r\n\t\t\t\t\t\t\t\treturn 1 + QTDelHeuristic1(h);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t} // end d.hasNext()\r\n\t\t\t\t} // end c.hasNext()\r\n\t\t\t} // end b.hasNext() \r\n\t\t} // end a.hasNext()\r\n\t\t\r\n\t\treturn count;\t\t\r\n\t}",
"public void findMaxComb() {\n\t\tHashMap<Integer, HashSet<Integer>> adj = new HashMap<Integer, HashSet<Integer>>();\n\t\tfor (int row=0; row< w; row++) {\n\t\t\tfor (int col=0; col<l; col++) {\n\t\t\t\tHashSet<Integer> hs = new HashSet<Integer>();\n\t\t\t\t//go left\n\t\t\t\tif (inBoard(row, col-1) && visited[row][col-1] != visited[row][col]) //in board and not equal\n\t\t\t\t\ths.add(visited[row][col-1]);\n\n\t\t\t\t//go up\n\t\t\t\tif (inBoard(row-1, col) && visited[row-1][col] != visited[row][col])\n\t\t\t\t\ths.add(visited[row-1][col]);\n\n\t\t\t\t//go right\n\t\t\t\tif (inBoard(row, col+1) && visited[row][col+1] != visited[row][col])\n\t\t\t\t\ths.add(visited[row][col+1]);\n\n\t\t\t\t//go down\n\t\t\t\tif (inBoard(row+1, col) && visited[row+1][col] != visited[row][col])\n\t\t\t\t\ths.add(visited[row+1][col]);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif (adj.containsKey(visited[row][col])) {\n\t\t\t\t\tHashSet<Integer> tt = adj.get(visited[row][col]);\n\t\t\t\t\ttt.addAll(hs);//union, return boolen\n\t\t\t\t\tadj.put(visited[row][col], tt); \n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tadj.put(visited[row][col], hs);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tint tempMax = 0;\n\t\tfor (Integer key : adj.keySet()) {\n\t\t\tfor (Integer ele : adj.get(key)) {\n\t\t\t\ttempMax = Math.max(tempMax, map.get(key) + map.get(ele));\n\t\t\t}\n\t\t}\n\t\tmaxComb = tempMax;\n\t}",
"public static int[][] neighborhoodSearch(float[] benefit, float[] weight, int[] knapsackWeight){\n\n /*\n Using greedy algorithm to put items in knapsacks\n */\n\n // number of items\n int itemLen = benefit.length;\n // number of knapsacks\n int knapsackLen = knapsackWeight.length;\n // key: index of item, value: benefit / weight of item\n Map<Integer, Float> benefitPerWeightToIndexMap = new TreeMap<>();\n // if item i is included in knapsack j, result[i][j] = 1, otherwise result[i][j] = 0\n int[][] result = new int[itemLen][knapsackLen];\n // initialize the map\n for (int i = 0; i < itemLen; i++) {\n benefitPerWeightToIndexMap.put(i, (benefit[i] / weight[i]));\n }\n\n // the value comparator for sorting the entrySet in the map by value in descending order (using lambda)\n Comparator<Map.Entry<Integer, Float>> valueComparator = (o1, o2) -> o2.getValue().compareTo(o1.getValue());\n // convert the map to list to sort it by value comparator\n List<Map.Entry<Integer, Float>> benefitPerWeightToIndexList = new ArrayList<>(benefitPerWeightToIndexMap.entrySet());\n benefitPerWeightToIndexList.sort(valueComparator);\n\n printBenefitPerWeightList(benefitPerWeightToIndexList);\n\n int greedyTotalBenefit = 0;\n\n // put items in list into knapsacks\n for (int j = 0; j < knapsackLen; j++) {\n // the items have been put in and ready to be delete\n List<Map.Entry<Integer, Float>> deleteList = new ArrayList<>();\n for (Map.Entry<Integer, Float> entry:\n benefitPerWeightToIndexList) {\n int i = entry.getKey();\n if (weight[i] <= knapsackWeight[j]) {\n result[i][j] = 1;\n greedyTotalBenefit += benefit[i];\n deleteList.add(entry);\n knapsackWeight[j] -= weight[i];\n }\n }\n // delete the items have been put in\n benefitPerWeightToIndexList.removeAll(deleteList);\n }\n // After greedy algorithm\n System.out.println(\"------After greedy algorithm------\");\n printKnapsackWeight(knapsackWeight);\n printItemsNotIncluded(benefitPerWeightToIndexList);\n System.out.println(\"Total benefit:\" + greedyTotalBenefit);\n printResult(result);\n\n /*\n Search neighborhood\n */\n\n int neighborTotalBenefit = greedyTotalBenefit;\n\n // traversing knapsacks\n for (int j1 = 0; j1 < knapsackLen - 1; j1++) {\n for (int j2 = j1 + 1; j2 < knapsackLen; j2++) {\n // traversing items in the two knapsacks\n for (int i1 = 0; i1 < itemLen; i1++) {\n for (int i2 = 0; i2 < itemLen; i2++) {\n // judge if item i1 and item i2 exists in knapsack j1 and j2 respectively\n if (result[i1][j1] == 1 && result[i2][j2] == 1) {\n // tempList for update benefitPerWeightToIndexList in iteration\n List<Map.Entry<Integer, Float>> tempList = new ArrayList<>(benefitPerWeightToIndexList);\n // traversing items that have not been included\n for (Map.Entry<Integer, Float> entry:\n benefitPerWeightToIndexList) {\n int i3 = entry.getKey();\n // judge if the neighborhood solution is feasible\n if (knapsackWeight[j2] + weight[i2] - weight[i1] >= 0\n && knapsackWeight[j1] + weight[i1] - weight[i3] >= 0) {\n // judge if the neighborhood solution is better\n if (neighborTotalBenefit - benefit[i2] + benefit[i3] > neighborTotalBenefit) {\n // change the current solution to the neighborhood solution\n result[i1][j1] = 0;\n result[i1][j2] = 1;\n\n result[i2][j2] = 0;\n\n result[i3][j1] = 1;\n\n tempList.remove(entry);\n int finalI2 = i2;\n tempList.add(new Map.Entry<Integer, Float>() {\n @Override\n public Integer getKey() {\n return finalI2;\n }\n\n @Override\n public Float getValue() {\n return benefit[finalI2] / weight[finalI2];\n }\n\n @Override\n public Float setValue(Float value) {\n return null;\n }\n });\n\n knapsackWeight[j1] += weight[i1] - weight[i3];\n knapsackWeight[j2] += weight[i2] - weight[i1];\n\n neighborTotalBenefit = (int) (neighborTotalBenefit - benefit[i2] + benefit[i3]);\n\n System.out.println(\"------Find a better solution------\");\n System.out.println(\"Remove item\" + i2 + \" in \" + \"knapsack\" + j2 + \", move item\" + i1 + \" from knapsack\" + j1 + \" to \" + \"knapsack\" + j2 + \" and put item\" + i3 + \" in knapsack\" + j1);\n printKnapsackWeight(knapsackWeight);\n printItemsNotIncluded(tempList);\n System.out.println(\"Total benefit:\" + neighborTotalBenefit);\n printResult(result);\n }\n }\n }\n // update the list after traversing the list\n benefitPerWeightToIndexList = tempList;\n }\n }\n }\n }\n }\n\n return result;\n }",
"public Shard getLowerNeighbor() {\r\n double middleLat = south + Math.abs(north - south) / 2;\r\n double nextLat = middleLat - Math.abs(north - south);\r\n\r\n return new Shard(new Coordinates(nextLat, coordinates.getLon()), zoom);\r\n }",
"void bellford(ArrayList<Integer> nlist){\n\n int stval = nlist.get(0);\n dlist.get(stval).setval(stval);\n dlist.get(stval).setDist(0);\n\n for(int i = 0; i < nlist.size()-1; i++){\n for(int key: nlist){\n LinkedList<Node> alist = grp.getOrDefault(key, null);\n if(alist != null){\n for(Node node: alist){\n int val = node.getval();\n int we = node.getDist();\n int ddist = dlist.get(val).getDist();\n int odist = dlist.get(key).getDist();\n if(odist != Integer.MAX_VALUE && ddist > odist+we){\n dlist.get(val).setval(key);\n dlist.get(val).setDist(odist+we);\n }\n }\n }\n }\n }\n for(int key: dlist.keySet()){\n System.out.println(key+\" dist:\"+dlist.get(key).getDist()+\" prev:\"+dlist.get(key).getval());\n }\n System.out.println(\"Negative cycles at:\");\n //iisue should run n-1 times:\n for(int key: nlist){\n LinkedList<Node> alist = grp.getOrDefault(key, null);\n if(alist != null){\n for(Node node: alist){\n int val = node.getval();\n int we = node.getDist();\n int ddist = dlist.get(val).getDist();\n int odist = dlist.get(key).getDist();\n if(odist != Integer.MAX_VALUE && ddist > odist+we){\n dlist.get(val).setval(-999);\n dlist.get(val).setDist(odist+we);\n System.out.println(val);\n }\n }\n }\n }\n }",
"public Point2D nearest(Point2D p) {\n\t\tRectHV rect = new RectHV(-Double.MAX_VALUE, -Double.MAX_VALUE, Double.MAX_VALUE, Double.MAX_VALUE);\n\t\treturn nearest(root, p, rect, true);\n\t}",
"boolean isThereNeighborIntersection(int nEntry, int nExit, int W, int H){\n\n int[] entryNeighbors = new int[4];\n\n for(int i = 0; i < H; i++){\n if(nEntry == i*W)\n entryNeighbors[0] = -1;\n if(nEntry == i*W + W-1)\n entryNeighbors[1] = -1;\n }\n\n if(entryNeighbors[0] != -1)\n entryNeighbors[0] = nEntry - 1;\n\n if(entryNeighbors[1] != -1)\n entryNeighbors[1] = nEntry + 1;\n\n entryNeighbors[2] = nEntry - W;\n entryNeighbors[3] = nEntry + W;\n \n\n int[] exitNeighbors = new int[4];\n\n for(int i = 0; i < H; i++){\n if(exit == i*W)\n exitNeighbors[0] = -1;\n if(exit == i*(W+1) -1)\n exitNeighbors[1] = -1;\n }\n\n if(nExitNeighbors[0] != -1)\n exitNeighbors[0] = nExit - 1;\n\n if(nExitNeighbors[1] != -1)\n exitNeighbors[1] = nExit + 1;\n\n exitNeighbors[2] = nExit - W;\n exitNeighbors[3] = nExit + W;\n\n\n for(int i = 0; i < 4; i++)\n for(int j = 0; j < 4; j++)\n if( entryNeighbors[i] == exitNeighbors[j] && entryNeighbors[i] > 0 )\n return true;\n }",
"public int maxDistance(int[][] grid) {\n boolean[][] visited = new boolean[grid.length][grid[0].length]; // mark which cells have been already been visited\n Queue<int[]> queue = new LinkedList<>();\n\n //put 1 cells into queue to start with and mark then visited\n for (int i = 0; i < grid.length; i++) {\n for (int j = 0; j < grid[0].length; j++) {\n if (grid[i][j] == 1) {\n queue.add(new int[]{i,j});\n visited[i][j] = true; //mark cell as visited\n }\n }\n }\n\n int distance = -1;\n int[][] directions = {{-1,0}, {0,1}, {1,0}, {0,-1}}; //all possible 4 directions\n while (!queue.isEmpty()) {\n int size = queue.size(); //since this is BFS we need to traverse level by level\n\n while (size > 0) { //iterate only till nodes in current level\n int[] pair = queue.poll();\n\n for (int[] direction : directions) { // check in all possible directions\n int x = pair[0] + direction[0];\n int y = pair[1] + direction[1];\n\n //if target cell is with in bounds and is not visited, add it to queue\n if (x >= 0 && x < grid.length && y >= 0 && y < grid[0].length && !visited[x][y]) {\n queue.add(new int[]{x,y});\n visited[x][y] = true;\n }\n }\n size--;\n }\n distance++; //increment the size only after level traversal is complete\n }\n\n //this is required because distance can be zero. This is possible if grid contains all 1's and all 1's are\n //consider level 1 as we are starting with them. So, need to return -1\n return distance == 0 ? -1 : distance;\n }",
"public int[] shortestAlternatingPaths(int n, int[][] red_edges, int[][] blue_edges) {\n int[] result = new int[n];\n if (n == 1) {\n result[0] = 0;\n return result;\n }\n Arrays.fill(result, -1); // initialize result array\n // build graph for future access\n boolean[][] redEdgesMatrix = new boolean[n][n];\n for (int i = 0; i < red_edges.length; i++) {\n redEdgesMatrix[red_edges[i][0]][red_edges[i][1]] = true;\n }\n boolean[][] blueEdgesMatrix = new boolean[n][n];\n for (int i = 0; i < blue_edges.length; i++) {\n blueEdgesMatrix[blue_edges[i][0]][blue_edges[i][1]] = true;\n }\n // run bfs\n Deque<Node> queue = new LinkedList<>();\n // enqueue entry point (the node 0 is special, it supports both R and B)\n queue.offer(new Node(0, \"RB\"));\n // set initial result\n result[0] = 0;\n // initialize level\n int level = 1;\n while(!queue.isEmpty()) {\n int nodeAtCurrentLevel = queue.size();\n for (int i = 0; i < nodeAtCurrentLevel; i++) {\n Node node = queue.poll();\n // visit node\n int from = node.value;\n String currentColor = node.color;\n for (int to = 0; to < n; to++) { // all entry points need to enqueue, including itself or some nodes that are already visited\n if ((currentColor.equals(\"R\") || currentColor.equals(\"RB\")) && blueEdgesMatrix[from][to]) {\n // update matrix\n blueEdgesMatrix[from][to] = false;\n // set result\n if (result[to] == -1) {\n result[to] = level;\n } else {\n result[to] = Math.min(result[to], level); \n }\n // enqueue\n queue.offer(new Node(to, \"B\"));\n }\n if ((currentColor.equals(\"B\") || currentColor.equals(\"RB\")) && redEdgesMatrix[from][to]) {\n // update matrix\n redEdgesMatrix[from][to] = false;\n // set result\n if (result[to] == -1) {\n result[to] = level;\n } else {\n result[to] = Math.min(result[to], level); \n }\n // enqueue\n queue.offer(new Node(to, \"R\"));\n }\n }\n }\n level++;\n }\n return result;\n }",
"private Map<User, Double> checkToInsertOrRemoveNeighbour(Map.Entry<User, Double> mapEntry, User currentUser, double similarity) {\n if (reversed) {\n nearestNeighbours = reversedCheckToInsertOrRemoveNeighbour(mapEntry, currentUser, similarity);\n } else {\n LowestSimilarity LowestSimilarity = new LowestSimilarity(mapEntry, nearestNeighbours, value).invoke();\n value = LowestSimilarity.getValue();\n //Check user rating versus lowest similarity.\n if (value <= similarity) {\n //Remove lowest similarity.\n nearestNeighbours.remove(LowestSimilarity.getMapEntry().getKey());\n //Check threshold and add user to nearestNeighbours TreeMap\n if (threshold == null) {\n nearestNeighbours.put(currentUser, similarity);\n } else if (similarity >= threshold) {\n nearestNeighbours.put(currentUser, similarity);\n }\n }\n }\n return nearestNeighbours;\n }",
"private PointDist findNearest(Node curr, RectHV rect, PointDist minP, boolean Isx) {\n double currDist;\n PointDist p1;\n PointDist p2;\n // double currDist = findNearP.distanceSquaredTo(curr.point);\n /*\n if (currDist < pointDist.dist)\n minP = new PointDist(curr.point, currDist);\n else\n minP = pointDist;\n\n */\n if (Isx) {\n if (curr.left != null) {\n RectHV leftRect = new RectHV(rect.xmin(), rect.ymin(), curr.point.x(), rect.ymax());\n currDist = findNearP.distanceSquaredTo(curr.left.point);\n if (currDist < minP.dist)\n minP = new PointDist(curr.left.point, currDist);\n if (minP.dist > leftRect.distanceSquaredTo(findNearP)) {\n p1 = findNearest(curr.left, leftRect, minP, false);\n if (p1 != null)\n if (p1.dist < minP.dist)\n minP = p1;\n }\n }\n if (curr.right != null) {\n RectHV rightRect = new RectHV(curr.point.x(), rect.ymin(), rect.xmax(), rect.ymax());\n currDist = findNearP.distanceSquaredTo(curr.right.point);\n if (currDist < minP.dist)\n minP = new PointDist(curr.right.point, currDist);\n if (minP.dist > rightRect.distanceSquaredTo(findNearP)) {\n p2 = findNearest(curr.right, rightRect, minP, false);\n if (p2 != null)\n if (p2.dist < minP.dist)\n minP = p2;\n }\n }\n }\n else {\n if (curr.left != null) {\n RectHV leftRect = new RectHV(rect.xmin(), rect.ymin(), rect.xmax(), curr.point.y());\n currDist = findNearP.distanceSquaredTo(curr.left.point);\n if (currDist < minP.dist)\n minP = new PointDist(curr.left.point, currDist);\n if (minP.dist > leftRect.distanceSquaredTo(findNearP)) {\n p1 = findNearest(curr.left, leftRect, minP, true);\n if (p1 != null)\n if (p1.dist < minP.dist)\n minP = p1;\n }\n }\n if (curr.right != null) {\n RectHV rightRect = new RectHV(rect.xmin(), curr.point.y(), rect.xmax(), rect.ymax());\n currDist = findNearP.distanceSquaredTo(curr.right.point);\n if (currDist < minP.dist)\n minP = new PointDist(curr.right.point, currDist);\n if (minP.dist > rightRect.distanceSquaredTo(findNearP)) {\n p2 = findNearest(curr.right, rightRect, minP, true);\n if (p2 != null)\n if (p2.dist < minP.dist)\n minP = p2;\n }\n }\n }\n return minP;\n }",
"public int findLHSOrigin(int[] nums) {\n if (nums.length < 2)\n return 0;\n\n Map<Double, Integer> map = new HashMap<>();\n Set<Integer> set = new HashSet<>();\n for (int i = 0; i < nums.length; i++) {\n map.put(nums[i] - 0.5, map.getOrDefault(nums[i] - 0.5, 0) + 1);\n map.put(nums[i] + 0.5, map.getOrDefault(nums[i] + 0.5, 0) + 1);\n set.add(nums[i]);\n }\n\n int ans = 0;\n for (Double d : map.keySet()) {\n// System.out.println(d +\" \"+ map.get(d));\n if (set.contains((int) (d - 0.5)) && set.contains((int) (d + 0.5))) {\n ans = ans < map.get(d) ? map.get(d) : ans;\n }\n }\n return ans;\n }",
"private void backwardIteration() {\n\t\t// variables declaration\n\t\tint ortho;\n\t\tint diago;\n\t\tint diag2;\n\t\tint newVal;\n\n\t\t// Process last line: consider only the pixel just after (on the right)\n\t\tfor (int i = width - 2; i > 0; i--) {\n\t\t\tif (maskProc.getPixel(i, height - 1) != maskLabel)\n\t\t\t\tcontinue;\n\n\t\t\tnewVal = buffer.get(i + 1, height - 1) + weights[0];\n\t\t\tupdateIfNeeded(i, height - 1, newVal);\n\t\t}\n\n\t\t// last pixel of penultimate line: consider the 3 pixels below\n\t\tif (maskProc.getPixel(width - 1, height - 2) == maskLabel) {\n\t\t\tortho = buffer.get(width - 1, height - 1);\n\t\t\tdiago = buffer.get(width - 2, height - 1);\n\t\t\tdiag2 = buffer.get(width - 3, height - 1);\n\t\t\tnewVal = min3w(ortho, diago, diag2);\n\t\t\tupdateIfNeeded(width - 1, height - 2, newVal);\n\t\t}\n\n\t\t// penultimate pixel of penultimate line: consider right pixel, and the 4 pixels below\n\t\tif (maskProc.getPixel(width - 2, height - 2) == maskLabel) {\n\t\t\tortho = min(buffer.get(width - 1, height - 2), buffer.get(width - 2, height - 1));\n\t\t\tdiago = min(buffer.get(width - 1, height - 1), buffer.get(width - 3, height - 1));\n\t\t\tdiag2 = buffer.get(width - 4, height - 1);\n\t\t\tnewVal = min3w(ortho, diago, diag2);\n\t\t\tupdateIfNeeded(width - 2, height - 2, newVal);\n\t\t}\n\n\t\t// Process regular pixels of penultimate line\n\t\tfor (int i = width - 3; i > 0; i--) {\n\t\t\tif (maskProc.getPixel(i, height - 2) != maskLabel)\n\t\t\t\tcontinue;\n\n\t\t\t// minimum distance of neighbor pixels\n\t\t\tortho = min(buffer.get(i + 1, height - 2), buffer.get(i, height - 1));\n\t\t\tdiago = min(buffer.get(i - 1, height - 1), buffer.get(i + 1, height - 1));\n\t\t\tdiag2 = min(buffer.get(i - 2, height - 1), buffer.get(i + 2, height - 1));\n\t\t\t\n\t\t\t// compute new distance of current pixel\n\t\t\tnewVal = min3w(ortho, diago, diag2);\n\n\t\t\t// modify current pixel if needed\n\t\t\tupdateIfNeeded(i, height - 2, newVal);\n\t\t}\n\n\t\t// Process regular lines\n\t\tfor (int j = height - 3; j >= 0; j--) {\n\n\t\t\t// process last pixel of the current line: consider pixels\n\t\t\t// down, down-left and (-2,+1)\n\t\t\tif (maskProc.getPixel(width - 1, j) == maskLabel) {\n\t\t\t\tortho = buffer.get(width - 1, j + 1);\n\t\t\t\tdiago = buffer.get(width - 2, j + 1);\n\t\t\t\tdiag2 = buffer.get(width - 3, j + 1);\n\t\t\t\tnewVal = min3w(ortho, diago, diag2);\n\t\t\t\tupdateIfNeeded(width - 1, j, newVal);\n\t\t\t}\n\n\t\t\n\t\t\t// process penultimate pixel of current line\n\t\t\tif (maskProc.getPixel(width - 2, j) == maskLabel) {\n\n\t\t\t\t// minimum distance of neighbor pixels\n\t\t\t\tortho = min(buffer.get(width - 1, j), buffer.get(width - 2, j + 1));\n\t\t\t\tdiago = min(buffer.get(width - 3, j + 1), buffer.get(width - 1, j + 1));\n\t\t\t\tdiag2 = min3(\n\t\t\t\t\t\tbuffer.get(width - 3, j + 2), \n\t\t\t\t\t\tbuffer.get(width - 1, j + 2), \n\t\t\t\t\t\tbuffer.get(width - 4, j + 1));\n\t\t\t\t\n\t\t\t\t// compute new distance of current pixel\n\t\t\t\tnewVal = min3w(ortho, diago, diag2);\n\n\t\t\t\t// modify current pixel if needed\n\t\t\t\tupdateIfNeeded(width - 2, j, newVal);\n\t\t\t}\n\n\t\t\t// Process pixels in the middle of the current line\n\t\t\tfor (int i = width - 3; i > 1; i--) {\n\t\t\t\t// process only pixels inside structure\n\t\t\t\tif (maskProc.getPixel(i, j) != maskLabel)\n\t\t\t\t\tcontinue;\n\n\t\t\t\t// minimum distance of neighbor pixels\n\t\t\t\tortho = min(buffer.get(i + 1, j), buffer.get(i, j + 1));\n\t\t\t\tdiago = min(buffer.get(i - 1, j + 1), buffer.get(i + 1, j + 1));\n\t\t\t\tdiag2 = min(\n\t\t\t\t\t\tmin(buffer.get(i - 1, j + 2), buffer.get(i + 1, j + 2)),\n\t\t\t\t\t\tmin(buffer.get(i - 2, j + 1), buffer.get(i + 2, j + 1)));\n\t\t\t\t\n\t\t\t\t// compute new distance of current pixel\n\t\t\t\tnewVal = min3w(ortho, diago, diag2);\n\n\t\t\t\t// modify current pixel if needed\n\t\t\t\tupdateIfNeeded(i, j, newVal);\n\t\t\t}\n\n\t\t\t// process second pixel of current line: consider pixels right,\n\t\t\t// down-right and down\n\t\t\tif (maskProc.getPixel(1, j) == maskLabel) {\n\t\t\t\tortho = min(buffer.get(2, j), buffer.get(1, j + 1));\n\t\t\t\tdiago = min(buffer.get(0, j + 1), buffer.get(2, j + 1));\n\t\t\t\tdiag2 = min3(buffer.get(3, j + 2), buffer.get(2, j + 1), buffer.get(0, j + 1));\n\t\t\t\tnewVal = min3w(ortho, diago, diag2);\n\t\t\t\tupdateIfNeeded(1, j, newVal);\n\t\t\t}\n\n\t\t\t// process first pixel of current line: consider pixels right,\n\t\t\t// down-right and down\n\t\t\tif (maskProc.getPixel(0, j) == maskLabel) {\n\t\t\t\tortho = min(buffer.get(1, j), buffer.get(0, j + 1));\n\t\t\t\tdiago = buffer.get(1, j + 1);\n\t\t\t\tdiag2 = min(buffer.get(2, j + 2), buffer.get(1, j + 1));\n\t\t\t\tnewVal = min3w(ortho, diago, diag2);\n\t\t\t\tupdateIfNeeded(0, j, newVal);\n\t\t\t}\n\n\t\t} // end of processing for current line\n\t\t \n\t}",
"public static void main(String[] args) {\n Random r = new Random();\n// r.setSeed(1982);\n int R = 500;\n int L = 100000;\n\n int start = -500;\n int end = 500;\n HashSet<Point> hi3 = new HashSet<>();\n List<Point> hi5 = new ArrayList<>();\n Stopwatch sw = new Stopwatch();\n for (int i = 0; i < L; i += 1) {\n double ran = r.nextDouble();\n double x = start + (ran * (end - start));\n ran = r.nextDouble();\n double y = start + (ran * (end - start));\n Point temp = new Point(x, y);\n hi5.add(temp);\n\n }\n KDTree speedTest = new KDTree(hi5);\n NaivePointSet speedTest2 = new NaivePointSet(hi5);\n\n// for (int i = 0; i < 1000; i++) {\n// double ran = r.nextDouble();\n// double x2 = start + (ran *(end - start));\n// ran = r.nextDouble();\n// double y2 = start + (ran *(end - start));\n// assertEquals(speedTest2.nearest(x2, y2), speedTest.nearest(x2, y2 ));\n// }\n// assertEquals(speedTest2.nearest(r.nextInt(R + 1 - 500) + 500,\n// r.nextInt(R + 1 - 500) + 100), speedTest.nearest(427.535670, -735.656403));\n\n System.out.println(\"elapsed time1: \" + sw.elapsedTime());\n\n int R2 = 100;\n int L2 = 10000;\n Stopwatch sw2 = new Stopwatch();\n for (int i = 0; i < L2; i += 1) {\n\n speedTest2.nearest(r.nextDouble(), r.nextDouble());\n }\n\n System.out.println(\"elapsed time: \" + sw2.elapsedTime());\n }",
"public int reversePairs3(int[] nums) {\n int min = Integer.MAX_VALUE;\n for (int i : nums) { min = Math.min(min, i); }\n int max = Integer.MIN_VALUE;\n for (int i : nums) { max = Math.max(max, i); }\n SegementTreeNode root = SegementTreeNode.build(min, max);\n for (int num : nums) { root.update(num, 1); }\n int res = 0;\n for (int num : nums) {\n root.update(num, -1);\n if (num >= Integer.MIN_VALUE / 2) {\n res += root.query(min, (num - 1) / 2);\n }\n }\n return res;\n }",
"@Test\n\tpublic void testNeighborhoodNoMax() {\n\t\tresetTestVars();\n\t\tsetUpNeighborhoodVars();\t//makes a few links between the users\n\t\t\n\t\ttry {\n\t\t\tsn.neighborhood(null, null, null);\n\t\t} catch (NullPointerException np) {\n\t\t\tSystem.out.println(\"EXPECTED (5/): Null arguments passed\");\n\t\t}\n\t\t\n\t\tList<Friend> friends = usersToFriendArray();\n\t\tFriend friend4 = new Friend();\n\t\tfriend4.set(user4, 1);\n\t\tfriends.add(friend4);\n\t\t\n\t\tSet<Friend> nbh = sn.neighborhood(\"1\", mid, SocialNetworkStatus.DEFAULT);\n\t\t\n\t\tassertTrue(\"All users reached through direct/indirect links\", nbh.contains(friends.get(0)));\n\t\tassertTrue(\"All users reached through direct/indirect links\", nbh.contains(friends.get(1)));\n\t\tassertTrue(\"All users reached through direct/indirect links\", nbh.contains(friends.get(2)));\n\t\t\n\t\ttry {\n\t\t\tsn.tearDownLink(\"2\", \"4\", late, SocialNetworkStatus.DEFAULT);\n\t\t\tsn.tearDownLink(\"4\", \"3\", late, SocialNetworkStatus.DEFAULT);\n\t\t\tsn.tearDownLink(\"2\", \"3\", late, SocialNetworkStatus.DEFAULT);\n\t\t} catch (UninitializedObjectException uo) {\n\t\t\tSystem.out.println(\"UNEXPECTED: users should be valid\");\n\t\t}\n\t\t\n\t\tnbh = sn.neighborhood(\"1\", late, SocialNetworkStatus.DEFAULT);\n\t\tassertTrue(\"Less friends when other links are torn down\", nbh.contains(friends.get(0)));\n\t\tassertFalse(\"Less friends when other links are torn down\", nbh.contains(friends.get(1)));\n\t\tassertFalse(\"Less friends when other links are torn down\", nbh.contains(friends.get(2)));\n\t}",
"protected int[] getNeighbourSolution(int[] solution){\n int randomIndex1 = random.nextInt(solution.length - 1);\n int randomIndex2 = random.nextInt(solution.length - 1);\n\n return getNeighbourSolution(solution, randomIndex1, randomIndex2);\n }",
"public static Point searchNearestEgde(Rectangle bounds, Point first, Point next) {\n\n // One offset needed to avoid intersection with the wrong line.\n if (bounds.x + bounds.width <= first.x)\n first.x = bounds.x + bounds.width - 1;\n else if (bounds.x >= first.x) first.x = bounds.x + 1;\n\n if (bounds.y + bounds.height <= first.y)\n first.y = bounds.height + bounds.y - 1;\n else if (bounds.y >= first.y) first.y = bounds.y + 1;\n\n Line2D relationLine = new Line2D.Float(first.x, first.y, next.x, next.y);\n Line2D lineTop = new Line2D.Float(bounds.x, bounds.y, bounds.x\n + bounds.width, bounds.y);\n Line2D lineRight = new Line2D.Float(bounds.x + bounds.width, bounds.y,\n bounds.x + bounds.width, bounds.y + bounds.height);\n Line2D lineBottom = new Line2D.Float(bounds.x + bounds.width, bounds.y\n + bounds.height, bounds.x, bounds.y + bounds.height);\n Line2D lineLeft = new Line2D.Float(bounds.x, bounds.y + bounds.height,\n bounds.x, bounds.y);\n\n Point2D ptIntersectTop = ptIntersectsLines(relationLine, lineTop);\n Point2D ptIntersectRight = ptIntersectsLines(relationLine, lineRight);\n Point2D ptIntersectBottom = ptIntersectsLines(relationLine, lineBottom);\n Point2D ptIntersectLeft = ptIntersectsLines(relationLine, lineLeft);\n\n // line is to infinite, we must verify that the point find interst the\n // correct edge and the relation.\n int distTop = (int) lineTop.ptSegDist(ptIntersectTop)\n + (int) relationLine.ptSegDist(ptIntersectTop);\n int distRight = (int) lineRight.ptSegDist(ptIntersectRight)\n + (int) relationLine.ptSegDist(ptIntersectRight);\n int distBottom = (int) lineBottom.ptSegDist(ptIntersectBottom)\n + (int) relationLine.ptSegDist(ptIntersectBottom);\n int distLeft = (int) lineLeft.ptSegDist(ptIntersectLeft)\n + (int) relationLine.ptSegDist(ptIntersectLeft);\n\n if (ptIntersectTop != null && distTop == 0) {\n return new Point(RelationGrip.adjust((int) ptIntersectTop.getX()),\n (int) ptIntersectTop.getY());\n\n } else if (ptIntersectRight != null && distRight == 0) {\n return new Point((int) ptIntersectRight.getX(),\n RelationGrip.adjust((int) ptIntersectRight.getY()));\n\n } else if (ptIntersectBottom != null && distBottom == 0) {\n return new Point(RelationGrip.adjust((int) ptIntersectBottom.getX()),\n (int) ptIntersectBottom.getY());\n\n } else if (ptIntersectLeft != null && distLeft == 0) {\n return new Point((int) ptIntersectLeft.getX(),\n RelationGrip.adjust((int) ptIntersectLeft.getY()));\n\n } else {\n return null; // no point found!\n }\n }",
"Set<Edge> getUpwardOutgoingNeighborEdges() {\n\t\t\tif(!_bumpOnUpwardPass) {\n\t\t\t\tSystem.err.println(\"calling upward pass neighbor method on downward pass!\");\n\t\t\t}\n//\t\t\tif(_outgoingEdges.size() == 0) { // only compute if we have to\n\t\t\t\tSet<Edge> outgoingEdges = new HashSet<Edge>();\n\t\t\t\tIterator<Edge> it = _neighborEdges.keySet().iterator();\n\t\t\t\twhile(it.hasNext()) {\n\t\t\t\t\tEdge e = it.next();\n\t\t\t\t\tVertex v = e.getOtherVertex(this);\n\t\t\t\t\tif(this._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops i am unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(v._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops neighbor unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(this._orderID > v._orderID) {\n\t\t\t\t\t\toutgoingEdges.add(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_outgoingEdges = outgoingEdges;\n//\t\t\t}\n//\t\t\treturn outgoingEdges;\n\t\t\t\tSystem.out.println(this.toString()+\"'s outgoing edges:\\n\"+ outgoingEdges);\n\t\t\t\treturn outgoingEdges;\n\t\t}",
"public Point2D nearest(Point2D p) \r\n\t{\r\n\t\treturn nearest(p, null, root, new RectHV(0,0,1,1));\r\n\t}",
"public static List<Vec2i> solve(int[][] grid, Vec2i start, Vec2i goal, Heuristic h){\n if(h == null){ //if null replace with default heuristic\n h = new Heuristic() {\n @Override\n\n public double eval(Vec2i loc) {\n double dx = (loc.x - goal.x);\n double dy = (loc.y - goal.y);\n return Math.sqrt(dx*dx + dy*dy);\n }\n };\n }\n\n PriorityQueue<GridLocation> edge = new PriorityQueue<GridLocation>(10, AStarGrid::compareGridLocations);\n edge.add(new GridLocation(start,0));\n\n Map<Vec2i, Vec2i> cameFrom = new HashMap<Vec2i, Vec2i>();\n Map<Vec2i, Double> g = new HashMap<Vec2i, Double>(); //distance to node\n g.put(start,0.0);\n Map<Vec2i, Double> f = new HashMap<Vec2i, Double>(); //distance from start to goal through this node\n f.put(start,h.eval(start));\n //f = g + h\n\n while(!edge.isEmpty()){\n\n Vec2i current = edge.poll().loc;\n if(current.x == goal.x && current.y == goal.y){\n return reconstructPath(cameFrom, current);\n }\n\n LinkedList<Vec2i> neighbors = new LinkedList<Vec2i>();\n if(current.x != 0 && grid[current.x - 1][current.y] == 0)\n neighbors.add(new Vec2i(current.x - 1,current.y));\n if(current.x != grid.length-1 && grid[current.x + 1][current.y] == 0)\n neighbors.add(new Vec2i(current.x + 1,current.y));\n if(current.y != 0 && grid[current.x][current.y - 1] == 0)\n neighbors.add(new Vec2i(current.x,current.y - 1));\n if(current.y != grid[0].length-1 && grid[current.x][current.y + 1] == 0)\n neighbors.add(new Vec2i(current.x,current.y + 1));\n\n\n for(Vec2i neighbor: neighbors){\n double score = g.get(current) + 1;\n if(!g.containsKey(neighbor) || score < g.get(neighbor)){\n cameFrom.put(neighbor,current);\n g.put(neighbor, score);\n f.put(neighbor, score + h.eval(neighbor));\n if(!edge.contains(neighbor)){\n edge.add(new GridLocation(neighbor,score + h.eval(neighbor)));\n }\n }\n }\n }\n //No path was found\n return null;\n }",
"private int best_Broadcasting_Router(int[][] matrx)\n\t{\n\t\tint best_router = -1;\n\t\tint min = INFINITE_DIST;\n\t\tint[] min_dist = new int[matrx.length];\n\t\tint[] forward_min_dist_table = new int[matrx.length];\n\t\tint[] prev_node = new int[matrx.length];\n\t\t\n\t\tfor(int s=0; s<matrx.length; s++)\n\t\t{\n\t\t\t//Compute shortest path for every node\n\t\t\tforward_min_dist_table = shrtst_Path_Dijkstra_Algo(matrx, s, forward_min_dist_table, prev_node);\n\t\t\t\n\t\t\t//only include reachable nodes for total\n\t\t\tfor(int i=0; i<forward_min_dist_table.length; i++)\n\t\t\t{\n\t\t\t\tif(forward_min_dist_table[i] != INFINITE_DIST)\n\t\t\t\t\tmin_dist[s] += forward_min_dist_table[i];\n\t\t\t}\n\t\t}\n\t\t//min_dist array contains min distance from every node to every other node\n\t\tfor(int n=0; n<min_dist.length; n++)\n\t\t{\n\t\t\tSystem.out.println(\"Total cost of router \"+ (n+1) +\" to other nodes is: \"+ min_dist[n]);\n\t\t\tif(min_dist[n] < min && min_dist[n] != 0)\n\t\t\t{\n\t\t\t\tmin = min_dist[n];\n\t\t\t\tbest_router = n;\n\t\t\t}\n\t\t}\n\t\treturn (best_router + 1);\n\t}",
"public Set<MapCoordinate> getAllSurroundingCellsAsMapCoordinatesStartingFromTopLeft(MapCoordinate topLeftMapCoordinate, int distance, Set<MapCoordinate> alreadyFound) {\n int currentX = topLeftMapCoordinate.getXAsInt();\n int currentY = topLeftMapCoordinate.getYAsInt();\n\n // first row\n int topLeftYMinusDistance = currentY - distance;\n int topLeftXMinusDistance = currentX - distance;\n\n int totalWidth = (distance + entityData.getWidthInCells() + distance) - 1;\n int totalHeight = (distance + entityData.getHeightInCells() + distance) - 1;\n\n Set<MapCoordinate> result = new HashSet<>(alreadyFound);\n\n // -1, because it is 0 based\n for (int x = 0; x <= totalWidth; x++) {\n result.add(MapCoordinate.create(topLeftXMinusDistance + x, topLeftYMinusDistance));\n }\n\n // then all 'sides' of the structure (left and right)\n // also start one row 'lower' since we do not want to calculate the top left/right twice (as we did it\n // in the above loop already)\n // totalHeight - 2 for same reason, -1 == zero based, -2 to reduce one row\n for (int y = 1; y <= (totalHeight - 1); y++) {\n int calculatedY = topLeftYMinusDistance + y;\n\n // left side\n result.add(MapCoordinate.create(topLeftXMinusDistance, calculatedY));\n\n // right side\n int rightX = topLeftXMinusDistance + totalWidth;\n result.add(MapCoordinate.create(rightX, calculatedY));\n }\n\n // bottom row\n int bottomRowY = topLeftYMinusDistance + totalHeight;\n for (int x = 0; x <= totalWidth; x++) {\n result.add(MapCoordinate.create(topLeftXMinusDistance + x, bottomRowY));\n }\n\n if (distance > 1) {\n return getAllSurroundingCellsAsMapCoordinatesStartingFromTopLeft(topLeftMapCoordinate, (distance-1), result);\n }\n return result;\n }",
"void removeNearbyPixels(Stroke theStroke){\n\t\tint index;\n\t\tint CurvIndex;\n\t\tint SpeedIndex;\n\t\tVector ptList = theStroke.getM_ptList();\n\t\tfor(index=0; index < CommonSegmentPts.size(); index++){\n\t\t\tPoint CommonPt = (PixelInfo)ptList.get((Integer)CommonSegmentPts.get(index));\n\t\t\tfor(CurvIndex = 0; CurvIndex < CurvVector.size(); CurvIndex++){\n\t\t\t\tPoint CurvPt = (PixelInfo)ptList.get((Integer)CurvVector.get(CurvIndex));\n\t\t\t\tif(CommonPt.distance(CurvPt) <= TolerantDistance){\n\t\t\t\t\tCurvVector.remove(CurvIndex--);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(SpeedIndex = 0; SpeedIndex < SpeedVector.size(); SpeedIndex++){\n\t\t\t\tPoint SpeedPt = (PixelInfo)ptList.get((Integer)SpeedVector.get(SpeedIndex));\n\t\t\t\tif(CommonPt.distance(SpeedPt) <= TolerantDistance){\n\t\t\t\t\tSpeedVector.remove(SpeedIndex--);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public List<Point> getPossibleNeighbours() {\n List<Point> points = new ArrayList<>();\n int x = point.getX();\n int y = point.getY();\n Arrays.asList(x - 1, x, x + 1).forEach(i -> {\n Arrays.asList(y - 1, y, y + 1).forEach(j -> {\n points.add(new Point(i, j));\n });\n });\n // remove self\n points.remove(new Point(x, y));\n return points;\n }",
"public ArrayList<Block> getAdj (Block b) { // gets the adjacent blocks\n\t\tArrayList<Block> neighbors = new ArrayList<Block> ();\n\t\tif (b.x+1 < size) neighbors.add(get(b.x+1, b.y, b.z));\n\t\tif (b.x-1 > -1) neighbors.add(get(b.x-1, b.y, b.z));\n\t\tif (b.y+1 < size) neighbors.add(get(b.x, b.y+1, b.z));\n\t\tif (b.y-1 > -1) neighbors.add(get(b.x, b.y-1, b.z));\n\t\tif (b.z+1 < size) neighbors.add(get(b.x, b.y, b.z+1));\n\t\tif (b.z-1 > -1) neighbors.add(get(b.x, b.y, b.z-1));\n\t\treturn neighbors;\n\t}",
"public static Set<Integer> neighbours(int x){\n HashSet<Integer> hashSet = new HashSet<>();\n hashSet.add(x-1);\n hashSet.add(x+1);\n return new Set<>(hashSet);\n }",
"Set<Edge> getDownwardOutgoingNeighborEdges() {\n\t\t\tif(_bumpOnUpwardPass) {\n\t\t\t\tSystem.err.println(\"calling downward pass neighbor method on upward pass!\");\n\t\t\t}\n//\t\t\tif(_outgoingEdges.size() == 0) { // only compute if we have to\n\t\t\t\tSet<Edge> outgoingEdges = new HashSet<Edge>();\n\t\t\t\tIterator<Edge> it = _neighborEdges.keySet().iterator();\n\t\t\t\twhile(it.hasNext()) {\n\t\t\t\t\tEdge e = it.next();\n\t\t\t\t\tVertex v = e.getOtherVertex(this);\n\t\t\t\t\tif(this._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops i am unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(v._orderID == UNMARKED) {\n\t\t\t\t\t\tSystem.err.println(\"whoops neighbor unmarked\");\n\t\t\t\t\t}\n\t\t\t\t\tif(this._orderID < v._orderID) {\n\t\t\t\t\t\toutgoingEdges.add(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_outgoingEdges = outgoingEdges;\n//\t\t\t}\n//\t\t\treturn _outgoingEdges;\n\t\t\t\tSystem.out.println(this.toString()+\"'s outgoing edges:\\n\"+ outgoingEdges);\n\t\t\t\treturn outgoingEdges;\n\t\t}",
"@Override\n\tpublic List<Cell> getSurroundingNeighbors(Cell cell, int vision) {\n\t\tList<Cell> neighbors = new ArrayList<Cell>();\n\t\tCell northCell = cell, eastCell = cell, southCell = cell, westCell = cell;\n\t\tint north, east, south, west;\n\t\tfor (int i = 1; i <= vision; i++) {\n\t\t\tnorth = getNorthCell(northCell);\n\t\t\teast = getEastCell(eastCell);\n\t\t\tsouth = getSouthCell(southCell);\n\t\t\twest = getWestCell(westCell);\n\t\t\tif (north != -1) { \n\t\t\t\tnorthCell = getCellList().get(north);\n\t\t\t\tneighbors.add(northCell); }\n\t\t\tif (east != -1) { \n\t\t\t\teastCell = getCellList().get(east);\n\t\t\t\tneighbors.add(eastCell); }\n\t\t\tif (south != -1) { \n\t\t\t\tsouthCell = getCellList().get(south);\n\t\t\t\tneighbors.add(getCellList().get(south)); }\n\t\t\tif (west != -1) { \n\t\t\t\twestCell = getCellList().get(west);\n\t\t\t\tneighbors.add(getCellList().get(west)); }\n\t\t}\n\t\treturn neighbors;\n\t}"
] | [
"0.58849543",
"0.5838715",
"0.5707789",
"0.5691625",
"0.5623857",
"0.55829245",
"0.55736405",
"0.55153817",
"0.54941225",
"0.54509455",
"0.5436171",
"0.54191166",
"0.5413352",
"0.53886443",
"0.53410816",
"0.5326119",
"0.53253776",
"0.5301194",
"0.5301013",
"0.52481216",
"0.5241333",
"0.52237624",
"0.5221937",
"0.5213112",
"0.52065974",
"0.5200271",
"0.51925737",
"0.518863",
"0.5187416",
"0.517711",
"0.51655203",
"0.51567477",
"0.5147541",
"0.5146326",
"0.5140062",
"0.51318073",
"0.51198184",
"0.5115068",
"0.5107425",
"0.5103831",
"0.5103787",
"0.5096045",
"0.5090953",
"0.50851697",
"0.508028",
"0.50662434",
"0.50610447",
"0.5060682",
"0.5053879",
"0.5051402",
"0.5041358",
"0.50338715",
"0.50198025",
"0.50119406",
"0.49946916",
"0.4987837",
"0.49837476",
"0.4970299",
"0.496269",
"0.49605772",
"0.4957494",
"0.494078",
"0.49397472",
"0.49350685",
"0.49349526",
"0.49281192",
"0.49278823",
"0.49186137",
"0.49168578",
"0.49145746",
"0.4912552",
"0.49116322",
"0.49113306",
"0.49111918",
"0.49107113",
"0.4908977",
"0.49026278",
"0.4899069",
"0.48968276",
"0.48963267",
"0.48949552",
"0.48919687",
"0.4891524",
"0.48908582",
"0.48887485",
"0.48783064",
"0.48721305",
"0.48668155",
"0.48638213",
"0.48539063",
"0.48521045",
"0.48515955",
"0.48505333",
"0.48489675",
"0.48439458",
"0.4842845",
"0.4842736",
"0.4837607",
"0.48275658",
"0.4824231",
"0.482143"
] | 0.0 | -1 |
Questo metodo permette di intepretare una stringa contentenente le statistiche e gli achievement | public abstract void intepret(String message); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String processing();",
"public String dispaly(String result, String which) {\n String fword=\"\";\n String dump=result;\n Log.i(\"result \"+which,result);\n if(result!=null){\n result=result.replaceAll(\"lang=en\",\"\");\n String ts;\n if(result.contains(\"[[\")||result.contains(\"{{\"))\n {\tdump=dump.replaceAll(\"[^a-zA-Z0-9.\\\\[\\\\]|,;}\\\\s+]\", \"\").trim();\n if(dump.startsWith(\"[[\"))\n {\n int i=result.indexOf(\"[[\");\n int j=result.indexOf(\"]]\");\n fword=result.substring(i,j);\n int k=fword.indexOf('|');\n fword=fword.substring(k+1);\n //System.out.println(\"First Word \"+fword);\n //System.out.println(\"FIND \"+result);\n result=result.substring(j+2);\n //\tSystem.out.println(\"FIND \"+result);\n result=fword.concat(result);\n result=result.replace('|',' ');\n\n }\n else\n {\n System.out.println(\"Esle called \"+result);\n dump=dump.replaceAll(\"[^a-zA-Z0-9.\\\\[\\\\]|,;}\\\\s+]\", \"\").trim();\n String arr[]=dump.split(\" \");\n for(int aa=0;aa<arr.length;aa++)\n {\n\n if(arr[aa].contains(\"[[\")&&arr[aa].contains(\"|\"))\n {\n //System.out.println(arr[aa]);\n String min=arr[aa];\n //System.out.println(\"MINNN \"+min);\n int x=min.indexOf(\"[[\");\n int y=min.indexOf(\"|\");\n min=min.substring(y+1);\n //System.out.println(min);\n result=result.replace(arr[aa], min);\n }\n }\n result=result.replace('|',' ');\n }\n }\n //if(result.matches(\"[[[a-zA-Z|]\"))\n send+=\"<h3>\"+which+\"</h3>\"+\"\\n\";\n // System.out.println(\"Meaning for \"+which);\n if(result.contains(\"}}\"))\n {\n int resultindex=result.indexOf(\"}}\");\n //\t System.out.println(resultindex);\n result=result.substring(resultindex);\n }\n\n result = result.replaceAll(\"[^a-zA-Z0-9.,;\\\\s+]\", \"\");\n result=result.replaceAll(\";\",\".\\n\");\n\n // result.endsWith(\".\");\n // System.out.println(result);\n int newline=0;\n for(int i=0;i<result.length();i++)\n {\n if(result.charAt(i)=='\\n')\n {\n newline++;\n }\n }\n\n // System.out.println(\"New Line \"+newline);\n for(int i=0;i<newline;i++)\n {\n int nn=result.indexOf(\"\\n\");\n // System.out.println(\"First line \"+nn);\n String res=result.substring(0,nn);\n result=result.substring(nn+1);\n // System.out.println(res);\n send+=res+\"\\n\";\n }\n int nn=result.indexOf(\"\\n\");\n\n\n result=result.substring(nn+1);\n send+=result+\"\\n\";\n // System.out.println(result);\n /* fword=fword.trim();\n if(!fword.isEmpty())\n {\n\n fword=fword.concat(\" \");\n // send=fword+send;\n send=fword.concat(send);\n\n // System.out.println(\"Called\");\n return send;\n }*/\n\n\n\n }\n /*else {\n result1.setText(\"Wrorng\");\n send+=\"Enter Correct word\";\n // System.out.println(\"Enter correct word\");\n return \"Wrong\";\n }*/\n\n return send;\n }",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t\tStringTokenizer st = new StringTokenizer(outcome, \" \");\r\n\t\t//Initializing modified summary\r\n\t\tmodifiedSummary = new String();\r\n\t\t\r\n\t\twhile(st.hasMoreTokens()){\r\n\t\t\t\r\n\t\t\tString temp = st.nextToken();\r\n\t\t\t//String buffer is thread safe as concatenation is synced\r\n\t\t\tStringBuffer moded = new StringBuffer();\r\n\t\t\tmoded.append(temp.substring(0,1).toUpperCase());\r\n\t\t\tmoded.append(temp.substring(1));\r\n\t\t\t\r\n\t\t\tif(st.hasMoreTokens())\r\n\t\t\t\tmodifiedSummary = modifiedSummary + moded + \" \" ;\r\n\t\t\telse\r\n\t\t\t\tmodifiedSummary = modifiedSummary + moded;\r\n\t\t}\r\n\t\t\r\n\t}",
"void gaInfo(String text);",
"void stampaMessaggio(String messaggio);",
"public void run() throws Exception {\n\t\tString s = \"Sujit is a good man\";\n\t\tString a[]=s.split(\" \");\n\t\tString s1 = a[1]+a[2];\n\t\tinfo(s1);\n//\t\tfor(int i=0;i<a.length;i++){\n//\t\tinfo(a[1]);\n//\t\t}\n\n\t}",
"private String getStringStat(int index) {\n String[] scores = readFromFile().split(\"\\n\");\n String[] stats = scores[currPlayer].split(\",\");\n return stats[index];\n }",
"abstract String getScoreString();",
"protected abstract String getStatistics();",
"public String stats()\n\t{\n\t\tString a = \"\"; //initialize string\n\t\t\n\t\tString size1 = points.length + \"\"; //put size into string\n\t\t\n\t\twhile(size1.length() < 12) //go until string is 12 long\n\t\t{\n\t\t\tsize1 += \" \"; //add a new blank space\n\t\t}\n\t\ta = a + algorithm + \" \" + size1 + time; //put string together \n\t\treturn a; \n\t}",
"void antsInfo(String text);",
"public void parseTest(StringBuffer s){\n\t\tint i=0, j=0;\n\t\tInteger index;\n\t\tchar[] c = new char[8];\n\t\tString x;\n\t\t\n\t\tif (s.toString().contains(\"geoNear\")){\n\t\t\tPerformance.near=(new String(s)).substring(s.indexOf(\"{\"), s.lastIndexOf(\"}\")+1);\n\t\t\t\n\t\t\ts=new StringBuffer(Performance.near);\n\t\t\n\t\t\twhile (i<s.length()){\n\t\t\t\tif (s.charAt(i)=='§'){\n\t\t\t\t\tindex=i;\n\t\t\t\t\twhile (s.charAt(i)!=')'){\n\t\t\t\t\t\tif (s.charAt(i)!=' '){\n\t\t\t\t\t\t\tc[j]=s.charAt(i);\n\t\t\t\t\t\t\ts.deleteCharAt(i);\n\t\t\t\t\t\t\tj++;\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t\ts.deleteCharAt(i);\n\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.deleteCharAt(i);\n\t\t\t\t\t\t\n\t\t\t\t\tx=(new String(c)).substring(0, j);\n\t\t\t\t\tPerformance.paramsM.add(x);\n\t\t\t\t\tPerformance.placesM.add(index);\n\t\t\t\t\tc=c.clone();\n\t\t\t\t\tj=0;\n\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\ti++;\n\t\t\t}\n\t\t\t\n\t\t\t\tPerformance.requestM = new StringBuffer(s);\n\t\t\t\n\t\t}\n\t\t\n\t\telse {\n\t\t\t\n\t\tif (s.toString().contains(\"limit\"))\t{\n\t\t\tint a, b;\n\t\t\ta =s.lastIndexOf(\"(\");\n\t\t\tb=a+1;\n\t\t\twhile (s.charAt(b)!=')'){\n\t\t\t\tif (Character.isDigit(s.charAt(b)))\n\t\t\t\t\tPerformance.limit.append(s.charAt(b));\n\t\t\t\tb++;\n\t\t\t}\n\t\t}\n\t\t\t\n\t\tint l=3;\n\n\t\twhile (s.charAt(l)!='.'){\n\t\t\tPerformance.col.append(s.charAt(l));\n\t\t\tl++;\n\t\t}\n\t\n\t\tint k=s.indexOf(\"{\");\n\t\tk++;\n\t\twhile (s.charAt(k)!=':'){\n\t\t\tif (s.charAt(k)!=' '& s.charAt(k)!='\"'& s.charAt(k)!='\\'')\n\t\t\t\tPerformance.geoField.append(s.charAt(k));\n\t\t\tk++;\n\t\t}\n\t\n\t\tk++;\n\t\n\t\ts=new StringBuffer(s.substring(k, s.lastIndexOf(\"}\")));\n\t\t\n\t\twhile (i<s.length()){\n\t\t\tif (s.charAt(i)=='§'){\n\t\t\t\tindex=i;\n\t\t\t\twhile (s.charAt(i)!=')'){\n\t\t\t\t\tif (s.charAt(i)!=' '){\n\t\t\t\t\t\tc[j]=s.charAt(i);\n\t\t\t\t\t\ts.deleteCharAt(i);\n\t\t\t\t\t\tj++;\n\t\t\t\t\t}else\n\t\t\t\t\t\ts.deleteCharAt(i);\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\ts.deleteCharAt(i);\n\t\t\t\tx=(new String(c)).substring(0, j);\n\t\t\t\n\t\t\t\tPerformance.paramsM.add(x);\n\t\t\t\tPerformance.placesM.add(index);\n\t\t\t\tc=c.clone();\n\t\t\t\tj=0;\n\t\t\t}\n\t\t\telse\n\t\t\t\ti++;\n\t\t}\n\t\t\n\t\t\tPerformance.requestM = new StringBuffer(s);\n\t}\n}",
"private static String m1472a(String str, String str2, Integer num, Integer num2, JSONObject jSONObject, Integer num3) {\n return String.format(Locale.ROOT, \"<html><head></head><body><div id=\\\"%s\\\" style=\\\"width: %dpx; height: %dpx;\\\"></div><script>(function initMoatTracking(apiname, pcode, ids, duration) {var events = [];window[pcode + '_moatElToTrack'] = document.getElementById('%s');var moatapi = {'dropTime':%d,'adData': {'ids': ids, 'duration': duration, 'url': 'n/a'},'dispatchEvent': function(ev) {if (this.sendEvent) {if (events) { events.push(ev); ev = events; events = false; }this.sendEvent(ev);} else {events.push(ev);}},'dispatchMany': function(evs){for (var i=0, l=evs.length; i<l; i++) {this.dispatchEvent(evs[i]);}}};Object.defineProperty(window, apiname, {'value': moatapi});var s = document.createElement('script');s.src = 'https://z.moatads.com/' + pcode + '/moatvideo.js?' + apiname + '#' + apiname;document.body.appendChild(s);})('%s', '%s', %s, %s);</script></body></html>\", new Object[]{\"mianahwvc\", num, num2, \"mianahwvc\", Long.valueOf(System.currentTimeMillis()), str, str2, jSONObject.toString(), num3});\n }",
"public String processUtterance(String Utterance)\n\t{\n\t\n\t\n\t\tthis.utterance = Utterance.trim();\n\t\tSystem.out.println(); \n System.out.println(\">> \" + utterance);\n \n\t\tif (utterance.equals(\"\"))\n\t\t{\n\t\t\tSystem.out.println(\"Sampi Warning: No Utterance to process. \" + this.getClass());\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t\n\t\t// For now, we'll put an arbitrary limit on the size of an utterance. \n\t\tif (utterance.length() > 500)\n\t\t{\n\t\t\tSystem.out.println(\"Sampi Warning: Utterance length is too long. \" + this.getClass());\n\t\t\treturn null;\n\t\t}\t\t\n\t\t\n\t\t\n\t\t// check if it's a greeting (hello, hi, howdy, ...) \n\t\tString G = isGreeting(); \n\t\tif (G.equals(\"\")) {} else return G; \n\t\t\n\t\t// For more complicated scenarios, we'll run the full Parser. \t\n\t\treturn parseUtterance(); \t\n\t}",
"private String getSentence(Context context) {\n HttpRequest httpRequest = HttpRequest.newBuilder()\n .GET()\n .uri(URI.create(ALBUM_SERVICE_URL + RANDOM.nextInt(100)))\n .setHeader(\"User-Agent\", \"Java 11 HttpClient Bot\")\n .timeout(Duration.ofMillis(1200))\n .build();\n\n try {\n HttpResponse<String> response = HTTP_CLIENT.send(httpRequest, HttpResponse.BodyHandlers.ofString());\n\n if (response.statusCode() == HTTP_OK) {\n\n AlbumJson albumJson = ALBUM_JSON_PARSER.parse(response.body());\n return \", your sentence of the day: \" + albumJson.getTitle();\n }\n } catch (IOException | InterruptedException e) {\n final LambdaLogger logger = context.getLogger();\n logger.log(\"Error: \" + Arrays.toString(e.getStackTrace()));\n }\n return \"\";\n }",
"private void parse(String _content){\n\t\tString[] segmts = _content.split(\"\\\\s+\");\n\t\trelKeyTimes = new double[segmts.length + 2];\n\t\tfor(int i = 0; i < segmts.length; i++){\n\t\t\ttry{\n\t\t\t\tif(timingIsAbsolute){\n\t\t\t\t\trelKeyTimes[i + 1] = (float)(new CMsgTime(segmts[i])).getTotalMillis();\n\t\t\t\t} else {\n\t\t\t\t\trelKeyTimes[i + 1] = Float.parseFloat(segmts[i]);\n\t\t\t\t}\n\t\t\t} catch (NumberFormatException e){;\n\t\t\t} catch (ScriptMsgException e){;}\n\t\t\t\n\t\t}\n\t\t// make sure the last keyTime is a perfect 1.0:\n\t\trelKeyTimes[0] = 0.0f;\n\t\trelKeyTimes[relKeyTimes.length - 1] = 1.0f;\n\t}",
"public abstract void correctlyParsedUtterance(long ms);",
"private static String processInquire(String content) {\n\t\tString myWaza = \"fold \\n\";\n\t\tString[] playerInfoFront = content.split(\"\\n\");\n\t\tBoolean isAllin = false;//前面是否有人allin\n\t\tint maxJetton = 80;\t\t\n\t\tint frontNum = playerInfoFront.length;//前面的人数,第一圈结束会把自己放到最后一行\n\t\tint nums = Player.getNums();//总人数\n\t\n\t\t//根据Inquire更新player的状态\n\t\tfor(int i = 0; i < frontNum - 1;i++){\n\t\t\tString[] onePlayer = playerInfoFront[i].split(\" \");\n\t\t\t//onePlayer[0]即Pid\n\t\t\t\n\t\t\tfor(int j = 0; j < nums; j++){\n\t\t\t\tif(onePlayer[0].equals(players[j].getPid() + \"\")){\n\t\t\t\t\tplayers[j].setJetton(Integer.parseInt(onePlayer[1]));\n\t\t\t\t\tplayers[j].setMoney(Integer.parseInt(onePlayer[2]));\n\t\t\t\t\tplayers[j].setBet(Integer.parseInt(onePlayer[3]));\n\t\t\t\t\tplayers[j].setAction(onePlayer[4]);\n\t\t\t\t\tif(onePlayer[4].equals(\"all_in \\n\")){\n\t\t\t\t\t\tisAllin = true;\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(Integer.parseInt(onePlayer[1]) > maxJetton)\n\t\t\t\t\t\tmaxJetton = Integer.parseInt(onePlayer[1]);\n\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\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(Card.getNums() == 2){\n\t\t\t//pre-flop 0,1两张手牌\n\t\t\tmyWaza = actionBaseHold(cards, nums, players, maxJetton);\n\t\t}else if(Card.getNums() == 5){\n\t\t\tmyWaza = \"call \\n\";\n\t\t\t//flop-round 0,1两张手牌 2,3,4三张翻牌\n\t\t\tmyWaza = actionBaseFlop(cards, nums, players, maxJetton);\n\t\t\t/*\n\t\t\tif(getWinRate() < 0.5){\n\t\t\t\tmyWaza = \"fold \\n\";\n\t\t\t}else if(getWinRate() >= 0.5 && getWinRate() < 0.8){\n\t\t\t\tmyWaza = \"call \\n\";\n\t\t\t}else{\n\t\t\t\tmyWaza = \"all_in \\n\";\n\t\t\t}*/\t\n\t\t}else if(Card.getNums() == 6){\n\t\t\tmyWaza = \"call \\n\";\n\t\t\t//turn-round 0,1两张手牌 2,3,4三张翻牌,5一张转牌\n\t\t}else{\n\t\t\tmyWaza = \"call \\n\";\n\t\t\t//river-found 0,1两张手牌 2,3,4三张翻牌,5一张转牌,6一张河牌\n\t\t}\n\t\t\n\t\treturn myWaza;\n\t}",
"private String parseStringtoInt(String welcome,Student s1){\n\n String time = TimeUitl.getTime(s1);\n\n String slogan = welcome + time;\n\n return slogan;\n }",
"public String getStatisticalMsg(boolean bHtml) {\n String message;\n Dimension dsize = layoutPanel.getLayoutSize();\n int size = dsize.height * dsize.width;\n String head = \"\", tail = \"\", nl = \"\\n\", tabs = \"\\t\\t\", redh = \"\", redt\n = \"\";\n\n if (bHtml) {\n head = \"<html>\";\n tail = \"</html>\";\n nl = \"<br>\";\n tabs = \" \";\n redh = \"<font color=\\\"red\\\">\";\n redt = \"</font>\";\n }\n\n float nniInhNList\n = (float) calcNearestNeighborIndex(cnvIndexList2Points(layoutPanel.inhNList));\n float nniActNList\n = (float) calcNearestNeighborIndex(cnvIndexList2Points(layoutPanel.activeNList));\n ArrayList<Integer> union = new ArrayList<Integer>(layoutPanel.inhNList);\n union.addAll(layoutPanel.activeNList);\n float nniUNList\n = (float) calcNearestNeighborIndex(cnvIndexList2Points(union));\n float nniPrbNList\n = (float) calcNearestNeighborIndex(cnvIndexList2Points(layoutPanel.probedNList));\n\n message = head + \"Number of Inhibitory neurons: \"\n + layoutPanel.inhNList.size();\n message += \", Ratio = \" + ((float) layoutPanel.inhNList.size() / size)\n + nl;\n message += \"Number of Active neurons: \"\n + layoutPanel.activeNList.size();\n message += \", Ratio = \"\n + ((float) layoutPanel.activeNList.size() / size) + nl;\n ArrayList<Integer> itr = intersection(layoutPanel.inhNList,\n layoutPanel.activeNList);\n if (itr.size() > 0) {\n message += redh + \"Number of overlapping neurons: \" + itr.size()\n + redt + nl;\n }\n message += \"Number of Probed neurons: \"\n + layoutPanel.probedNList.size() + nl;\n message += tabs\n + \"Inhibitory probed neurons = \"\n + intersection(layoutPanel.inhNList, layoutPanel.probedNList)\n .size() + nl;\n message += tabs\n + \"Active probed neurons = \"\n + intersection(layoutPanel.activeNList, layoutPanel.probedNList)\n .size() + nl;\n\n message += nl + \"Nearest Neighbor Index: \" + nl;\n message += tabs + \"Inhibitory neurons = \" + nniInhNList + nl;\n message += tabs + \"Active neurons = \" + nniActNList + nl;\n message += tabs + \"Inhibitory + Active neurons = \" + nniUNList + nl;\n message += tabs + \"Probed neurons = \" + nniPrbNList + tail;\n return message;\n }",
"private String encodageMot(String message) {\n if (message == null || message.equals(\"\")) {\n throw new AssertionError(\"Texte non saisie\");\n } \n return transformWords(message, 1); \n }",
"void prosegui(String messaggio);",
"public String analyzeText(String text, String method) throws IOException, ExecutionException, InterruptedException {\n\n //create a new fixed thread\n service = Executors.newFixedThreadPool(1);\n\n //construct a new HitApiService callable service in the thread\n hitApiService = service.submit(new HitApiService(assetManager, method, text));\n\n //it calles the default \"call\" method in the callable object\n InputStream inputStream = hitApiService.get();\n\n //parse the InputStream object that the HitApiService returned\n try {\n String jsonTxt = IOUtils.toString(inputStream);\n responseData = parse(jsonTxt).replace(\"\\\"\", \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return responseData;\n\n }",
"private void fillString() {\n information = new String[4];\n information[0] = htmlConverter.fromHtml(event.getSummary()).toString();\n information[1] = event.getBeginTime() + \" - \" + event.getEndTime();\n information[2] = htmlConverter.fromHtml(event.getLocation()).toString();\n information[3] = htmlConverter.fromHtml(event.getDescription()).toString();\n }",
"private void m14046a(String str, C3362a c3362a, SQLiteDatabase sQLiteDatabase) {\n Object obj = null;\n double d = 0.0d;\n if (c3362a.m14248b() && C3200h.m13362c().m13390i()) {\n System.currentTimeMillis();\n int currentTimeMillis = (int) (System.currentTimeMillis() >> 28);\n String g = c3362a.m14253g();\n try {\n double parseDouble;\n float parseFloat;\n JSONObject jSONObject = new JSONObject(str);\n int parseInt = Integer.parseInt(jSONObject.getJSONObject(\"result\").getString(ParamKey.KEY_MSG_ERRORS));\n int i;\n if (parseInt == 161) {\n JSONObject jSONObject2 = jSONObject.getJSONObject(\"content\");\n if (jSONObject2.has(\"clf\")) {\n String string = jSONObject2.getString(\"clf\");\n if (string.equals(\"0\")) {\n JSONObject jSONObject3 = jSONObject2.getJSONObject(\"point\");\n d = Double.parseDouble(jSONObject3.getString(\"x\"));\n parseDouble = Double.parseDouble(jSONObject3.getString(\"y\"));\n parseFloat = Float.parseFloat(jSONObject2.getString(CommonConstants.RADIUS));\n } else {\n String[] split = string.split(\"\\\\|\");\n d = Double.parseDouble(split[0]);\n parseDouble = Double.parseDouble(split[1]);\n parseFloat = Float.parseFloat(split[2]);\n }\n }\n i = 1;\n parseFloat = 0.0f;\n parseDouble = 0.0d;\n } else {\n if (parseInt == 167) {\n sQLiteDatabase.delete(\"bdcltb09\", \"id = \\\"\" + g + \"\\\"\", null);\n return;\n }\n i = 1;\n parseFloat = 0.0f;\n parseDouble = 0.0d;\n }\n if (obj == null) {\n d += 1235.4323d;\n parseDouble += 2367.3217d;\n float f = 4326.0f + parseFloat;\n ContentValues contentValues = new ContentValues();\n contentValues.put(BaiduNaviParams.KEY_TIME, Double.valueOf(d));\n contentValues.put(\"tag\", Float.valueOf(f));\n contentValues.put(\"type\", Double.valueOf(parseDouble));\n contentValues.put(\"ac\", Integer.valueOf(currentTimeMillis));\n try {\n if (sQLiteDatabase.update(\"bdcltb09\", contentValues, \"id = \\\"\" + g + \"\\\"\", null) <= 0) {\n contentValues.put(\"id\", g);\n sQLiteDatabase.insert(\"bdcltb09\", null, contentValues);\n }\n } catch (Exception e) {\n }\n }\n } catch (Exception e2) {\n }\n }\n }",
"private String tagText(String s)throws IOException{\n//\tMaxentTagger tagger = new MaxentTagger(\"english-left3words-distsim.tagger\");\n\tString s1=null;\n\tSystem.out.println(\"here starts the process\");\n\ts1 = tagger.tagString(s);\n\treturn s1;\n}",
"static Set<String> runAlchemy(String string) throws IOException, JSONException {\n\t\t\t\t\tSet<String> tagValues = new HashSet<String>();\n\t\t URL yahoo = new URL(\"http://access.alchemyapi.com/calls/text/TextGetRankedNamedEntities?apikey=b1dfe1b117afb5396431a53cfc10527ed9e6f522&text='\"+string+\"'&outputMode=json\");\n\t\t URLConnection yc = yahoo.openConnection();\n\t\t BufferedReader in = new BufferedReader(\n\t\t new InputStreamReader(\n\t\t yc.getInputStream()));\n\n\n\t\t String inputLine=\"\";\n\t\t String input=\"\";\n\n\t\t while ((inputLine = in.readLine()) != null)\n\t\t {\n\t\t \tinput+=\"\" + inputLine;\n\t\t \t System.out.println(inputLine);\n\t\t }\n\t\t \n\t\t JSONObject jObject = new JSONObject(input);\n\t\t JSONArray jArray = jObject.getJSONArray(\"entities\");\n\t\t for (int i = 0; i < jArray.length(); i++) {\n\t\t JSONObject jObj = jArray.getJSONObject(i);\n\t\t // System.out.println(i + \" title : \" + jObj.getString(\"title\"));\n\t\t System.out.println(jObj.getString(\"relevance\"));\n\t\t double relevance= Double.parseDouble(jObj.getString(\"relevance\"));\n\t\t JSONObject disambiguated = jObj.optJSONObject(\"disambiguated\");\n\t\t if(disambiguated!=null)\n\t\t \t tagValues.add(disambiguated.optString(\"dbpedia\")+\"~\" + relevance);\n\t\t \t \n\t\t \n\t\t // tagValues.add(jObj.getString(\"relevance\"));\n\t\t }\n\t\t in.close();\n\t\t \n\t\t\t\treturn tagValues;\n\t\t\t\t}",
"java.lang.String getInsight();",
"public String formatText(String resultString) {\n String outputString = \"\";\n\n resultString = resultString.substring(1); // removes first [\n String[] percents = resultString.split(\",\");\n\n for(int i = 0; i < percents.length && i < 3; i++) { // at most top 3 predictions\n String prediction = percents[i];\n Log.d(\"displayPredictionResult\", \"prediction @\" + i + \" \" + prediction);\n\n String digit = prediction.substring(prediction.indexOf('[') + 1, prediction.indexOf(']'));\n String percent = prediction.substring(prediction.indexOf('(') + 1, prediction.indexOf(')'));\n // outputString += \"There is a \" + percent + \" chance the number is \" + digit + '\\n';\n outputString += percent + \" chance the number is \" + digit + '\\n';\n }\n\n return outputString.substring(0, outputString.length() - 1); // removes last new line character\n }",
"private void setStringStat(String value, int index) {\n String[] scores = readFromFile().split(\"\\n\");\n String[] stats = scores[currPlayer].split(\",\");\n stats[index] = value;\n scores[currPlayer] = String.join(\",\", stats);\n writeToFile(String.join(\"\\n\", scores));\n }",
"static private int ejercicio4(String stringEjemplo){\n\n if (stringEjemplo.contentEquals(\"uno\")){\n return 1;\n }\n if (stringEjemplo.contentEquals(\"dos\")) {\n return 2;\n }\n if (stringEjemplo.contentEquals(\"tres\")){\n return 3;\n }\n if (stringEjemplo.contentEquals(\"cuatro\")){\n return 4;\n }\n if (stringEjemplo.contentEquals(\"cinco\")){\n return 5;\n }\n return -1;\n }",
"private String getNotificationContent() {\n String format = \"Done %.2f%% - Success: %d - Fail: %d\";\n float percentage = (numberOfDone / numberOfData) * 100;\n return String.format(format, percentage, numberOfDone, numberOfFail);\n }",
"public static void mage(){\n\n sstats[0] = \"Damage: 55\";\n sstats[1] = \"Health: 100\";\n sstats[2] = \"Agility: 2\";\n sstats[3] = \"Regeneration: 15\";\n\n stats[0] = 55;\n stats[1] = 100;\n stats[2] = 2;\n stats[3] = 15;\n\n }",
"public String getStatistics() throws IOException{\n initiateWordCount();\n getHamStatistics(); \n getSpamStatistics();\n return printStatistics(); \n }",
"private int parseHTMLForSpeed(String line){\n String output = \"\";\n int end = 0;\n char charInt;\n for (int i=0; i<line.length(); i++){\n charInt=line.charAt(i);\n if(charInt>=45 && charInt<=57){\n output = output + charInt;\n end+=1;\n }\n else{\n if (end > 1){\n break;\n }\n }\n }\n\n return Integer.parseInt(output.substring(1));\n }",
"public String parserResultFromContent(InputStream is) throws IOException {\n String result = \"\";\n BufferedReader reader = new BufferedReader(\n new InputStreamReader(is, Constants.CHARSET_NAME_UTF8));\n String line = \"\";\n while ((line = reader.readLine()) != null) {\n result += line;\n }\n is.close();\n return result;\n }",
"void baInfo(String text);",
"private String decodageMot(String message) {\n if (message == null || message.equals(\"\")) {\n throw new AssertionError(\"Texte non saisie\");\n } \n return transformWords(message, 2);\n }",
"@Test\n\tpublic void test() {\n\t\tString url = \"URL http://www.nuigalway.ie/c3/documents/3pentanonethermo.dat\";\n\t\t//String url = \"URL http://www.nuigalway.ie/c3/documents/DIB_mechanism.dat\";\n\t\t//String url = \"URL http://www.nuigalway.ie/c3/aramco2/DATA_FILES/AramcoMech2.0.mech\";\n\t\t//String url = \"URL http://web.eng.ucsd.edu/mae/groups/combustion/sdmech/sandiego20141004/sandiego20141004_mechCK.txt\";\n\t\t//String url = \"URL http://web.eng.ucsd.edu/mae/groups/combustion/sdmech/sandiego_nitrogen/NOx_20041209/NOXsandiego20041209.mec\";\n\t\t//String url = \"URL https://combustion.llnl.gov/content/assets/docs/combustion/h2_v1b_mech.txt\";\n\t\t//String url = \"URL http://www.nuigalway.ie/c3/documents/Methanol_2016_mech.inp\";\n\t\t//String url = \"URL http://www.nuigalway.ie/c3/documents/56.55_c3_chem.inp\";\n\t\t//String url = \"URL https://combustion.llnl.gov/content/assets/docs/combustion/i-pentanol_v46_06_release_inp.txt\";\n\t\t//String url = \"URL http://www.nuigalway.ie/c3/documents/c3oh_49.mech\";\n\t\t//String resource = \"RESOURCE info/esblurock/react/resources/mechanisms/LLNLHeptane\";\n\t\tReadToString read = new ReadToString();\n\t\ttry {\n\t\t\t//String input = read.parseFromLineSpecification(resource);\n\t\t\tString input = read.parseFromLineSpecification(url);\n\t\t\t//URLToString urlstring = new URLToString(resource);\n\t\t\t//String input = urlstring.toString();\n\t\t\tString commentChar = \"!\";\n\t\t\tChemkinString lines = new ChemkinString(input, commentChar);\n\t\t\tChemkinMechanism mechanism = new ChemkinMechanism();\n\t\t\tlines.nextToken();\n\t\t\tmechanism.parse(lines, commentChar);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//System.out.println(urlstring.toString());\n\n\t}",
"@Test\n public void sanityCheck() {\n Summarizer summarizer = new Summarizer();\n List<String> strings = new ArrayList<String>();\n\n strings.add(\n \"This morning, former President Jonald T. Rump announced that he would be running for re-election in 2024 against the Democratic incumbent, Boe J. Riden. The announcement has startled many Republicans, including Florida Gov. Don ReSanta, who has already announced his campaign. \\\"Look, I respect Rump,\\\" Mr. ReSanta was quoted as saying. \\\"But we just need someone else. The Republican party doesn't need someone who lost to Riden in 2020. If we want to take back the White House, it has to be through someone new.\\\" Later that day, Mr. Rump spat back, saying \\\"Stupid loser ReSanta is too afraid to say what he really thinks! He's mad that I'm running because it means that he's gonna get his ass kicked in the primaries! Sad!\\\" Democrats have also responded to the announcement with surprise. President Riden said in a statement that he was ready to take Rump on, and that he would beat him just like he did in 2020. Other Democrats have been a little more wary, worried that Rump's base would come back in a full force, and possibly lead to another round of violence at Capitol Hill if the election doesn't go Rump's way. Whatever happens, the 2024 election is looking to be the most intense in modern history. MSNABCNN correspondent Machel Raddow reporting.\"\n );\n\n strings.add(\n \"There's a new ice cream shop opening up at 7th Avenue... with a twist! The shop, named \\\"Political Ice Cream,\\\" sells ice cream that is politically-themed! You thought the constant campaigning, ads, debates, opinion pieces, etc. weren't enough? No problem! At Political Ice Cream, you can theme your Ice Cream with political toppings, such as \\\"Blue Wave\\\" M&Ms, or \\\"Make America Great Again\\\" cookie crumbles! Yum, yum! Doesn't that sound delicious? Get yours at 7th Avenue today!\"\n );\n\n List<String> summaries = summarizer.summarize(strings);\n\n System.out.println(summaries.get(0));\n assertTrue(\n summaries\n .get(0)\n .equals(\n \"Former President Jonald T. Rump announced that he would be running for re-election in 2024 against the Democratic incumbent, Boe J. Riden. Florida Gov. Don ReSanta has already announced his campaign. Democrats have also responded with surprise.\"\n )\n );\n\n assertTrue(\n summaries\n .get(1)\n .equals(\n \"Political Ice Cream is a new ice cream shop opening up at 7th Avenue. The shop, named \\\"Political Ice Cream,\\\" sells ice cream that is politically-themed. You can theme your ice cream with political toppings, such as \\\"Blue Wave\\\" M&Ms.\"\n )\n );\n }",
"public final void mo84806a(Context context, String str) {\n try {\n List b = m106812b(this.f86088h.mo103177a(str).f109095a.isRead());\n C25673a c = m106813c();\n c.setItems(b);\n C28503s.m93679a(c);\n String a = m106807a(b, str);\n int b2 = m106811b(b, str);\n C7195s a2 = C7195s.m22438a();\n StringBuilder sb = new StringBuilder(\"aweme://aweme/detail/\");\n sb.append(a);\n a2.mo18682a(C7203u.m22460a(sb.toString()).mo18694a(\"refer\", \"toplist_friend\").mo18694a(\"video_from\", \"from_window_following\").mo18693a(\"profile_enterprise_type\", b2).mo18695a());\n } catch (Exception e) {\n C6921a.m21554a(e);\n }\n }",
"public String[] ProcessLine(int phraseId, int\tsentenceId, String[] parts,int\tsentimentS){\n int sentiment=sentimentS;\n //phraseStat=new StringStat(phraseS);\n\n\n\n //Count words (uni-grams)\n HashMap<String,Integer> wordcounts=new HashMap<String,Integer>();\n for (int i = 0; i < parts.length; i++) {\n Integer count=wordcounts.get(parts[i]);\n if(count==null){\n wordcounts.put(parts[i],1);\n }\n else{\n count++;\n wordcounts.put(parts[i],count);\n }\n }\n\n /* //Count words (bi-grams)\n for (int i = 0; i < parts.length-1; i++) {\n String bigram=parts[i]+\" \"+parts[i+1];\n Integer count=wordcounts.get(bigram);\n if(count==null){\n wordcounts.put(bigram,1);\n }\n else{\n count++;\n wordcounts.put(bigram,count);\n }\n }*/\n\n //Calculate the frequency for each word\n HashMap<String,Double> wordfequncies=new HashMap<String,Double>();\n Double maxFrequncy=0.0;\n Iterator<String> itr=wordcounts.keySet().iterator();\n while(itr.hasNext()){\n String word=itr.next();\n Double fr=((double)(wordcounts.get(word))/(double)parts.length);\n maxFrequncy=Math.max(maxFrequncy,fr);\n wordfequncies.put(word,fr);\n }\n\n //Add to the word frequency\n itr=wordfequncies.keySet().iterator();\n while(itr.hasNext()) {\n String word = itr.next();\n WordStat ws=wordStats.get(word);\n if(ws==null){\n ws=new WordStat(word);\n }\n else{\n wordStats.remove(word);\n }\n ws.updateStat(sentiment,(0.5*wordfequncies.get(word))/maxFrequncy);\n wordStats.put(word,ws);\n }\n return parts;\n\n }",
"static void modify_status(String content){\n\t\tString binary_A = Integer.toBinaryString(hexa_to_deci(content));\n\t\tint length = binary_A.length();\n\t\tif(length==32)\n\t\t\tbinary_A = binary_A.substring(24);\n\t\tint ones = 0;\n\t\tfor(int i=0;i<length;i++)\n\t\t\tif(binary_A.charAt(i)=='1')\n\t\t\t\tones++;\n\t\tfor(int i=length;i<8;i++)\n\t\t\tbinary_A = \"0\"+binary_A;\n\t\tS = binary_A.charAt(0)=='1'?true:false;\n\t\tZ = ones==0?true:false;\n\t\tP = ones%2==0?true:false;\n\t}",
"String getFromText();",
"public void test() throws IOException, SQLException\r\n\t{\n\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(new File(\"src/result.txt\")));\r\n\t\tList<String> sents = new ArrayList<>();\r\n\t\tBufferedReader br = new BufferedReader(new FileReader(new File(\"src/test_tmp_col.txt\")));\r\n\t\tString line = \"\";\r\n\t\tString wordseq = \"\";\r\n\t\tList<List<String>> tokens_list = new ArrayList<>();\r\n\t\tList<String> tokens = new ArrayList<>();\r\n\t\twhile((line=br.readLine())!=null)\r\n\t\t{\r\n\t\t\tif(line.trim().length()==0)\r\n\t\t\t{\r\n\t\t\t\tsents.add(wordseq);\r\n\t\t\t\ttokens_list.add(tokens);\r\n\t\t\t\twordseq = \"\";\r\n\t\t\t\ttokens = new ArrayList<>();\r\n\t\t\t}else\r\n\t\t\t{\r\n\t\t\t\tString word = line.split(\"#\")[0];\r\n\t\t\t\twordseq += word;\r\n\t\t\t\ttokens.add(word);\r\n\t\t\t}\r\n\t\t}\r\n\t\tbr.close();\r\n\t\tfor(String sent : sents)\r\n\t\t{\r\n\t\t\tString newsURL = null;\r\n\t\t\tString imgAddress = null;\r\n\t\t\tString newsID = null;\r\n\t\t\tString saveTime = null;\r\n\t\t\tString newsTitle = null;\r\n\t\t\tString placeEntity = null;\r\n\t\t\tboolean isSummary = false;\r\n\t\t\tPair<String, LabelItem> result = extractbysentence(newsURL, imgAddress, newsID, saveTime, newsTitle, sent, placeEntity, isSummary);\r\n\t\t\t\r\n\t\t\tif(result!=null)\r\n\t\t\t{\r\n\t\t\t\r\n//\t\t\t\tSystem.out.print(result.getSecond().eventType+\"\\n\");\r\n\t\t\t\tbw.write(sent+'\\t'+result.getSecond().triggerWord+\"\\t\"+result.getSecond().sourceActor+'\\t'+result.getSecond().targetActor+\"\\n\");\r\n\t\t\t\t\r\n\t\t\t}else\r\n\t\t\t{\r\n\t\t\t\tbw.write(sent+'\\n');\r\n\t\t\t}\r\n\t\t}\r\n\t\tbw.close();\r\n\t\t\r\n\t}",
"public String overLoadingMeth(String huruf) {\n for (int i = 0; i < normalword.length; i++) {\n for (int j = 0; j < 10; j++) {\n if (huruf.equalsIgnoreCase(normalword[i])) {\n valuenum = num[i];\n } else if (huruf.equalsIgnoreCase(normalword[i])) {\n valuenum = num[i];\n } else if (huruf.equalsIgnoreCase(normalword[i] + \" belas\")) {\n valuenum = num[1] + num[i];\n } else if (huruf.equalsIgnoreCase(normalword[i] + \" puluh\")) {\n valuenum = num[i] + num[0];\n } else if (huruf.equalsIgnoreCase(normalword[i] + \" puluh \" + normalword[j])) {\n valuenum = num[i] + num[j];\n } else if (huruf.equalsIgnoreCase(\"Seratus\")) {\n valuenum = num[1] + num[0] + num[0];\n }\n }\n }\n return valuenum;\n }",
"public String ingresarLetra(String letra, String palabra)throws MyException{\n String respuesta=\"\";\n if(Integer.toString(1).equals(letra)||Integer.toString(2).equals(letra)||Integer.toString(3).equals(letra)||Integer.toString(4).equals(letra)||Integer.toString(5).equals(letra)||Integer.toString(6).equals(letra)||Integer.toString(7).equals(letra)||Integer.toString(8).equals(letra)||Integer.toString(9).equals(letra)||Integer.toString(0).equals(letra)||letra.equals(letra.toUpperCase())){\n throw new MyException(\"Debe ingresar una letra en minúsculas(a-z)\");\n }else{\n if(palabra.contains(letra)){\n if(this.palabra.contains(\"-\")){\n for(int i=0;i<this.palabra.length();i++){\n if((letra.toLowerCase().equals(palabra.toLowerCase().substring(i,i+1)))){\n respuesta+=palabra.subSequence(i, i+1);\n }else{\n respuesta+=\"-\";\n }\n }\n }else{\n for(int i=0;i<this.palabra.length();i++){\n if((letra.toLowerCase().equals(palabra.toLowerCase().substring(i,i+1)))){\n respuesta+=palabra.subSequence(i, i+1);\n }else{\n respuesta+=\"-\";\n }\n }\n this.palabra=respuesta;\n }\n }else{\n respuesta=this.ocultarPalabra(this.palabra);\n this.oportunidades-=1;\n try{\n this.cambiarEstadoImagen();\n }\n catch(NullPointerException ex){\n JOptionPane.showMessageDialog(null, \"No se pudo actualizar la imagen del ahorcado :(\\n\\n Imagen no encontrada\");\n }\n }\n return respuesta;\n }\n }",
"public String getSpeechResult(String hypothesis){\n\n\n String[] arrayOfStrings = hypothesis.split(\"text\\\" :\");\n String textPredicted = arrayOfStrings[1];\n\n arrayOfStrings = textPredicted.split(\"\\\"\");\n textPredicted = arrayOfStrings[1];\n\n return textPredicted;\n }",
"public String Screen(String input) {\n if(input.isEmpty())\n {\n return \"Empty Line\";\n }\n Double Holder;\n Double accurate_Hold = 0.0;\n JaroWinklerSimilarity scan = new JaroWinklerSimilarity(); //Measure edit distance between two strings\n// The higher the Jaro distance for two strings is, the more similar the strings are.\n// The score is normalized such that 0 equates to no similarity and 1 is an exact match.\n for (String s : CsvPass) {\n Holder = scan.apply(s, input);\n if (Holder >= accurate_Hold) {\n accurate_Hold = Holder;\n }\n }\n if (accurate_Hold > .75) {\n return \"Hit / \" + String.format(\"%.2f\",accurate_Hold);\n }\n return \"No Hit\";\n }",
"@Override\n public void handleString(String s) {\n\n }",
"String process(String data) throws LocalizedSignatureException;",
"public abstract String getFormattedContent();",
"private final void m139630a(BaseFragment baseFragment, String str, String str2) {\n String str3;\n Drama drama;\n Theater a = StaticProperty.f99549a.mo120385a();\n if (a == null || (drama = a.getDrama()) == null || (str3 = drama.getId()) == null) {\n str3 = \"0\";\n }\n String a2 = JacksonUtil.m83845a(new ConnectionData(str3, str, str2));\n if (a2 != null) {\n LogLogUtils aVar = LogLogUtils.f101561a;\n aVar.mo121884a(\"ConnectionLogUtils,上报连麦成功率\", C6969H.m41409d(\"G6D82C11BE2\") + a2);\n f101570b.m139629a().mo116048h(C6969H.m41409d(\"G6A8CDB14BA33BF20E900\"), a2).compose(baseFragment.simplifyRequest()).subscribe(C29958a.f101572a, C29959b.f101573a);\n }\n }",
"public static void main(String[] args)\n {\n String [] roles= {\n \"Городничий\",\"Аммос Федорович\",\n \"Артемий Филиппович\",\n \"Лука Лукич\"};\n String [] textLines={\n \"Городничий: Я пригласил вас, господа, с тем, чтобы сообщить вам пренеприятное известие: к нам едет ревизор.\",\n \"Аммос Федорович: Как ревизор?\",\n \"Артемий Филиппович: Как ревизор?\",\n \"Городничий: Ревизор из Петербурга, инкогнито. И еще с секретным предписаньем.\",\n \"Аммос Федорович: Вот те на!\",\n \"Артемий Филиппович: Вот не было заботы, так подай!\",\n \"Лука Лукич: Господи боже! еще и с секретным предписаньем!\"};\n\n StringBuilder res = new StringBuilder(\"\");\n \n for (String role : roles) {\n \n res.append(role + \":\\n\");\n for (int i = 0; i < textLines.length; i++) {\n if ( textLines[i].matches(\"^\"+role+\":.*\") ){\n res.append(String.valueOf(i+1) + \")\" + textLines[i].substring(role.length()+1));\n }\n }\n res.append(\"\\n\");\n }\n System.out.println( res.toString());\n \n }",
"void report(String s);",
"protected void map(Object key, Text value, Context context) throws IOException, InterruptedException {\r\n\r\n\t\tif (value.toString().contains(\"Marque\")){ // pour ne pas prendre en compte la première ligne (en-tête)\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tString line = value.toString(); \r\n\t\tline = line.replaceAll(\"\\\\u00a0\",\" \");\r\n\t\t\r\n\t\tString[] splitted_line = line.split(\",\"); \r\n\r\n\t\t// Gestion colonne marque\r\n\t\tString marque;\r\n\t\tString[] splitted_space = splitted_line[1].split(\"\\\\s+\"); \r\n\t\tmarque = splitted_space[0];\r\n\r\n\t\tmarque = marque.replace(\"\\\"\", \"\");\r\n\r\n\t\t// Gestion colonne Malus/Bonus\r\n String malus_bonus = splitted_line[2];\r\n\r\n\t\tmalus_bonus = malus_bonus.replaceAll(\" \", \"\").replace(\"€1\", \"\").replace(\"€\", \"\").replace(\"\\\"\", \"\");\r\n\r\n\t\tif (malus_bonus.equals(\"150kW(204ch)\") || malus_bonus.equals(\"100kW(136ch)\"))\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (malus_bonus.length() == 1){\r\n\t\t\tmalus_bonus=\"0\"; \r\n\t\t} \r\n\r\n\t\t// Gestion colonne cout energie\r\n String cout;\r\n \t cout = splitted_line[4];\r\n\t\tString[] cout_splitted = cout.split(\" \");\r\n\t\tif(cout_splitted.length == 2){ // ex : |967,€]\r\n\t\t\tcout = cout_splitted[0];\r\n\t\t} else if(cout_splitted.length == 3){ // ex : [1,005,€]\r\n\t\t\tcout= cout_splitted[0] + cout_splitted[1];\r\n\t\t}\r\n\r\n\t\t// Gestion colonne Rejet CO2\r\n\t\tString rejet = splitted_line[3];\r\n\r\n\t\tint malus_bonus_int = Integer.parseInt(malus_bonus);\r\n\t\tint rejet_int = Integer.parseInt(rejet);\r\n\t\tint cout_int = Integer.parseInt(cout);\r\n\t\r\n\t\t// couple clé/valeurs\r\n\t\tString new_value = String.valueOf(malus_bonus_int) + \"|\" + String.valueOf(rejet_int) + \"|\" + String.valueOf(cout_int);\r\n\t\t\r\n context.write(new Text(marque), new Text(new_value));\r\n\t}",
"private String checkIncomingString(String chatMessage, String talkedUser) {\n UrlDetector parser = new UrlDetector(chatMessage, UrlDetectorOptions.Default);\n List<Url> stringUrl = parser.detect();\n String metaData = \"text\";\n JsonNode talkToClient = Json.newObject();\n for (Url url : stringUrl) {\n //Get HTTP Header for metadata\n //Not handling redirects\n URL obj = null;\n try {\n obj = new URL(url.getFullUrl());\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection urlConnection = null;\n try {\n urlConnection = obj.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Map<String, List<String>> map = urlConnection.getHeaderFields();\n\n for (Map.Entry<String, List<String>> entry : map.entrySet()) {\n metaData += entry.getKey() + \" : \" + entry.getValue();\n logger.info(entry.getKey() + \" : \" + entry.getValue());\n }\n }\n return metaData;\n }",
"public void process(String analysisData) throws Exception;",
"public final void mo75278h(String str) {\n super.mo75278h(str);\n if (C25352e.m83221d(this.f77546j)) {\n C24958f.m81905a().mo65273b(this.f77546j).mo65266a(\"result_ad\").mo65276b(\"click_source\").mo65283e(str).mo65270a(mo75261ab());\n C24958f.m81905a().mo65273b(this.f77546j).mo65266a(\"result_ad\").mo65276b(\"click\").mo65283e(str).mo65270a(mo75261ab());\n m110463ax();\n }\n }",
"@Override\n\tpublic void analyzeData(String data) throws Exception {\n\t\tGson gson = new Gson();\n\t\tUserInfo user = gson.fromJson(data, UserInfo.class);\n\t\tNetConst.SESSIONID = user.getSession_id();\n\t\tNetConst.UPTOKEN = user.getImage_token();\n\t\tNetConst.IMTOKEN = user.getMessage_token();\n\t\tRongImUtils.getInstance().connect(NetConst.IMTOKEN);\n\t\tlisntenr.onBaseDataLoaded(user);\n\t}",
"public static CheckResult extractStats4ALI(String line) {\n String[] splits = SEMI.split(line);\n if(splits!=null && splits.length>41) {\n Double sales = splits[22].equals(\"\")?Double.valueOf(\"0.00\"):Double.valueOf(splits[22]);\n\n return new CheckResult(1,sales,\"ALI\");\n }\n return new CheckResult(1,0.00,null);\n }",
"void chatInfo(String s) {\n game.v.a(s);\n }",
"public String breakUp(String m){\n int arrSize = (int)(m.length()/35 + 0.5);\n\n String[] bySpace = m.split(\" \",0);\n String realMessage = \"\";\n int size = 0;\n for(int i = 0; i < bySpace.length;i++){\n size += bySpace[i].length();\n if(size > 35){\n size = 0;\n realMessage += \"\\n\";\n }\n realMessage += bySpace[i];\n }\n return realMessage;\n }",
"public CompletableFuture<String> analyzeSentiment(List<Details> sentimentData) {\n\n CompletableFuture<String> sentiment=null;\n CompletableFuture<List<Details>> happyTweets=null;\n\n int count=0;\n happyTweets = CompletableFuture.supplyAsync(() -> sentimentData.stream()\n .filter(d -> d.text.contains(\":-)\"))\n .collect(Collectors.toList()));\n\n CompletableFuture<List<Details>> sadTweets = CompletableFuture.supplyAsync(() -> sentimentData.stream()\n .filter(d -> d.text.contains(\":-(\"))\n .collect(Collectors.toList()));\n\n sentiment = happyTweets.thenCombine(sadTweets, (happyFilter, sadFilter) -> {\n if (happyFilter.size() / sentimentData.size() >= 0.7)\n return \":-)\";\n else if (sadFilter.size() / sentimentData.size() >= 0.7)\n return \":-(\";\n else\n return \":-|\";\n });\n\n return sentiment;\n }",
"protected abstract String[] summarize();",
"public static String gsText(String sstring) throws Exception\n\t{\n\t\tString res = \"\";\n\t\tfor (String s : gsUrls(sstring))\n\t\t{\n\t\t\tres = res + HTMLText(s) + \" \";\n\t\t}\n\t\treturn res;\n\t}",
"public static final String explainUnit (String text) {\n\t\tParsing t = new Parsing(text);\n\t\tStringBuffer b = new StringBuffer(120) ;\n\t\tUnit u = new Unit();\n\t\tint ini1 = 0;\n\t\tif (!initialized) init();\n\t\ttry { u.unitec(t, b); }\n\t\tcatch (Exception e) { \n\t\t\tif (DEBUG>0) {\n\t\t\t\tSystem.out.println(\"++++explainUnit: catched: \" + e); \n\t\t\t\ttry { Thread.sleep(2000); } catch(Exception i) {;}\n\t\t\t}\n\t\t\tif (t.currentChar() == '\"') {\t// \"picture\" unit\n\t\t\t\tb.append(Parsing.explainComplex(t.toString()));\n\t\t\t}\n\t\t\telse { String prefix = \"?***bad Unit <\";\n\t\t\tb.insert(0, prefix);\n\t\t\tb.insert(prefix.length(), text);\n\t\t\tb.insert(prefix.length() + text.length(), \"> \");\n\t\t\t}\n\t\t}\n\t\t//System.out.println(\"\\n..explainUni........<\" + b + \">\");\n\t\tini1 = skipBrackets(b);\t\t\t// Remove enclosing Parentheses\n\t\t// return(\"\"+b.substring(ini1));\t// Java>=1.2\n\t\treturn(b.toString().substring(ini1));\t// AnyJavaVersion\n\t}",
"public stats (int str, int dex, int con, int intel, int wis, int cha)\n {\n this.str = str;\n this.dex = dex;\n this.con = con;\n this.intel = intel;\n this.wis = wis;\n this.cha = cha;\n }",
"@Override\n public void invoke(SimpleAssetsOperational simpleAssetsOperational, AnalysisContext context) {\n String des = simpleAssetsOperational.getDes();\n if (StringUtils.isBlank(des)) {\n ++index;\n return;\n }\n\n String replace2 = des.replace(\"\\n\", \"\");\n String replace = replace2.replace(\" \", \"\");\n switch (index) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n // 单位名称:定远县分公司 填表人员姓名:吴松 联系方式:18955083799\n break;\n case 3:\n //手工网点总数量\n String var111 = replace.replace(\"个\",\"\");\n if (StringUtils.isNotBlank(var111)){\n int i = Integer.parseInt(var111);\n Result.手工网点总数量 += i;\n }\n break;\n case 4:\n //手工网点人员 人员数量1人的手工网点数量: 11 ;人员数量2人的手工网点数量 0 人员数量1人的手工网点数量:11;人员数量2人的手工网点数量0\n String[] strings = replace.split(\";\");\n for (String info : strings) {\n if (info.contains(\"人员数量1人的手工网点数量\")) {\n String replace1 = info.replace(\":\", \"\");\n String 人员数量1人的手工网点数量 = replace1.replace(\"人员数量1人的手工网点数量\", \"\");\n if (StringUtils.isNotBlank(人员数量1人的手工网点数量)) {\n int i1 = Integer.parseInt(人员数量1人的手工网点数量.replace(\"个\",\"\"));\n Result.人员数量1人的手工网点数量 += i1;\n }\n } else if (info.contains(\"人员数量2人的手工网点数量\")) {\n String replace1 = info.replace(\":\", \"\");\n String 人员数量2人的手工网点数量 = replace1.replace(\"人员数量2人的手工网点数量\", \"\");\n if (StringUtils.isNotBlank(人员数量2人的手工网点数量)) {\n int i1 = Integer.parseInt(人员数量2人的手工网点数量.replace(\"个\",\"\"));\n Result.人员数量2人的手工网点数量 += i1;\n }\n }\n }\n break;\n case 5:\n //设备配备 (PC/手机/PDA) 配置PC的手工网点数量: 2 ;配置手机以及PDA的手工网点数量: 9\n String[] stringss = replace.split(\";\");\n for (String info : stringss) {\n if (info.contains(\"配置PC的手工网点数量\")) {\n String replace1 = info.replace(\":\", \"\");\n String 配置PC的手工网点数量 = replace1.replace(\"配置PC的手工网点数量\", \"\");\n if (StringUtils.isNotBlank(配置PC的手工网点数量)) {\n int i1 = Integer.parseInt(配置PC的手工网点数量.replace(\"个\",\"\"));\n Result.配置PC的手工网点数量 += i1;\n }\n } else if (info.contains(\"配置手机以及PDA的手工网点数量\")) {\n String replace1 = info.replace(\":\", \"\");\n String 配置手机以及PDA的手工网点数量 = replace1.replace(\"配置手机以及PDA的手工网点数量\", \"\");\n if (StringUtils.isNotBlank(配置手机以及PDA的手工网点数量)) {\n int i1 = Integer.parseInt(配置手机以及PDA的手工网点数量.replace(\"个\",\"\"));\n Result.配置手机以及PDA的手工网点数量 += i1;\n }\n }\n }\n break;\n case 6:\n //满足作业需求程度:五星■ 四星□ 三星□ 二星□ 一星□\n //(备注:在所选星数后面涂黑■,星数越多,说明程度越大或评价越高,以下均是如此)\n //满足管理需求程度:五星■ 四星□ 三星□ 二星□ 一星□;\n //从不使用的功能包括: ;\n //建议完善的功能包括: ;\n //建议补充的功能包括: ;\n String[] split = replace.split(\";\");\n if (split.length >= 4) {\n int length = split[0].length();\n int index = split[0].indexOf(\"如此\");\n String 选项1 = split[0].substring(0, index);\n String 选项2 = split[0].substring(index, length);\n String 星 = xuanxing(选项1);\n HashMap<String, Integer> pc满足作业需求程度 = Result.pc满足作业需求程度;\n if (pc满足作业需求程度.containsKey(星)) {\n Integer integer = pc满足作业需求程度.get(星);\n pc满足作业需求程度.put(星, ++integer);\n } else {\n pc满足作业需求程度.put(星, 1);\n }\n\n Result.pc满足作业需求程度 = pc满足作业需求程度;\n 星 = xuanxing(选项2);\n HashMap<String, Integer> pc满足管理需求程度 = Result.pc满足管理需求程度;\n if (pc满足管理需求程度.containsKey(星)) {\n Integer integer = pc满足管理需求程度.get(星);\n pc满足管理需求程度.put(星, ++integer);\n } else {\n pc满足管理需求程度.put(星, 1);\n }\n Result.pc满足管理需求程度 = pc满足管理需求程度;\n // -------2\n String s2 = split[1];\n String var2 = s2.replace(\"从不使用的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var2)) {\n Result.PC端从不使用的功能包括.add(var2);\n }\n\n // -------3\n String s3 = split[2];\n String var3 = s3.replace(\"建议完善的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var3)) {\n Result.PC端建议完善的功能包括.add(var3);\n }\n\n // -------2\n String s4 = split[3];\n String var4 = s4.replace(\"建议补充的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var4)) {\n Result.PC端建议补充的功能包括.add(var4);\n }\n } else {\n throw new NullPointerException();\n }\n\n\n break;\n case 7:\n //满足作业需求程度:五星■ 四星□ 三星□ 二星□ 一星□;\n //满足管理需求程度:五星■ 四星□ 三星□ 二星□ 一星□;\n //从不使用的功能包括: ;\n //建议完善的功能包括: ;\n //建议补充的功能包括: ;\n\n String[] split8 = replace.split(\";\");\n if (split8.length >= 5) {\n String 星 = xuanxing(split8[0]);\n HashMap<String, Integer> 手机满足作业需求程度 = Result.手机满足作业需求程度;\n if (手机满足作业需求程度.containsKey(星)) {\n Integer integer = 手机满足作业需求程度.get(星);\n 手机满足作业需求程度.put(星, ++integer);\n } else {\n 手机满足作业需求程度.put(星, 1);\n }\n Result.手机满足作业需求程度 = 手机满足作业需求程度;\n // 2\n 星 = xuanxing(split8[1]);\n HashMap<String, Integer> 手机满足管理需求程度 = Result.手机满足管理需求程度;\n if (手机满足管理需求程度.containsKey(星)) {\n Integer integer = 手机满足管理需求程度.get(星);\n 手机满足管理需求程度.put(星, ++integer);\n } else {\n 手机满足管理需求程度.put(星, 1);\n }\n Result.手机满足管理需求程度 = 手机满足管理需求程度;\n // -------3\n String s2 = split8[2];\n String var2 = s2.replace(\"从不使用的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var2)) {\n Result.手机端从不使用的功能包括.add(var2);\n }\n\n // -------3\n String s3 = split8[3];\n String var3 = s3.replace(\"建议完善的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var3)) {\n Result.手机建议完善的功能包括.add(var3);\n }\n\n // -------2\n String s4 = split8[4];\n String var4 = s4.replace(\"建议补充的功能包括:\", \"\");\n if (StringUtils.isNotBlank(var4)) {\n Result.手机端建议补充的功能包括.add(var4);\n }\n } else {\n throw new NullPointerException();\n }\n break;\n case 8:\n // 操作过程中系统提示的消息易于理解程度:\n //五星■ 四星□ 三星□ 二星□ 一星□;\n String 星 = xuanxing(replace);\n HashMap<String, Integer> 操作过程中系统提示的消息易于理解程度 = Result.操作过程中系统提示的消息易于理解程度;\n if (操作过程中系统提示的消息易于理解程度.containsKey(星)) {\n int var = 操作过程中系统提示的消息易于理解程度.get(星);\n 操作过程中系统提示的消息易于理解程度.put(星, ++var);\n } else {\n 操作过程中系统提示的消息易于理解程度.put(星, 1);\n }\n Result.操作过程中系统提示的消息易于理解程度 = 操作过程中系统提示的消息易于理解程度;\n break;\n case 9:\n //系统出现问题后,系统给出相应问题诊断的符合程度:\n //五星■ 四星□ 三星□ 二星□ 一星□;\n String 星10 = xuanxing(replace);\n HashMap<String, Integer> 系统出现问题后系统给出相应问题诊断的符合程度 = Result.系统出现问题后系统给出相应问题诊断的符合程度;\n if (系统出现问题后系统给出相应问题诊断的符合程度.containsKey(星10)) {\n int var = 系统出现问题后系统给出相应问题诊断的符合程度.get(星10);\n 系统出现问题后系统给出相应问题诊断的符合程度.put(星10, ++var);\n } else {\n 系统出现问题后系统给出相应问题诊断的符合程度.put(星10, 1);\n }\n Result.系统出现问题后系统给出相应问题诊断的符合程度 = 系统出现问题后系统给出相应问题诊断的符合程度;\n break;\n case 10:\n //系统帮助对解决问题的帮助程度:\n //五星■ 四星□ 三星□ 二星□ 一星□;\n String 星11 = xuanxing(replace);\n HashMap<String, Integer> 系统帮助对解决问题的帮助程度 = Result.系统帮助对解决问题的帮助程度;\n if (系统帮助对解决问题的帮助程度.containsKey(星11)) {\n int var = 系统帮助对解决问题的帮助程度.get(星11);\n 系统帮助对解决问题的帮助程度.put(星11, ++var);\n } else {\n 系统帮助对解决问题的帮助程度.put(星11, 1);\n }\n Result.系统帮助对解决问题的帮助程度 = 系统帮助对解决问题的帮助程度;\n\n break;\n case 11:\n //用户手册等文档对解决问题的帮助程度:\n //五星■ 四星□ 三星□ 二星□ 一星□;\n String 星12 = xuanxing(replace);\n HashMap<String, Integer> 用户手册等文档对解决问题的帮助程度 = Result.用户手册等文档对解决问题的帮助程度;\n if (用户手册等文档对解决问题的帮助程度.containsKey(星12)) {\n int var = 用户手册等文档对解决问题的帮助程度.get(星12);\n 用户手册等文档对解决问题的帮助程度.put(星12, ++var);\n } else {\n 用户手册等文档对解决问题的帮助程度.put(星12, 1);\n }\n Result.用户手册等文档对解决问题的帮助程度 = 用户手册等文档对解决问题的帮助程度;\n break;\n case 12:\n //PC端操作界面友好程度:五星■ 四星□ 三星□ 二星□ 一星□;\n //APP操作界面友好程度: 五星■ 四星□ 三星□ 二星□ 一星□;\n String[] s_13 = replace.split(\";\");\n int lenght = s_13.length;\n if (lenght >= 2) {\n String PC端操作界面友好程度 = s_13[0];\n HashMap<String, Integer> pc端操作界面友好程度 = Result.PC端操作界面友好程度;\n String var = xuanxing(PC端操作界面友好程度);\n if (pc端操作界面友好程度.containsKey(var)) {\n int _v = pc端操作界面友好程度.get(var);\n pc端操作界面友好程度.put(var, ++_v);\n } else {\n pc端操作界面友好程度.put(var, 1);\n }\n Result.PC端操作界面友好程度 = pc端操作界面友好程度;\n\n String APP操作界面友好程度 = s_13[1];\n HashMap<String, Integer> 手机端操作界面友好程度 = Result.手机端操作界面友好程度;\n String var1 = xuanxing(APP操作界面友好程度);\n if (手机端操作界面友好程度.containsKey(var1)) {\n int _v = 手机端操作界面友好程度.get(var1);\n 手机端操作界面友好程度.put(var1, ++_v);\n } else {\n 手机端操作界面友好程度.put(var1, 1);\n }\n Result.手机端操作界面友好程度 = 手机端操作界面友好程度;\n\n } else {\n throw new NullPointerException();\n }\n break;\n case 13:\n //系统容易使用的程度:五星■ 四星□ 三星□ 二星□ 一星□;\n //若感觉到复杂,优化建议: ;\n String[] s_14 = replace.split(\";\");\n int lenght14 = s_14.length;\n if (lenght14 >= 2) {\n String ss = s_14[0];\n HashMap<String, Integer> 系统容易使用的程度 = Result.系统容易使用的程度;\n String var = xuanxing(ss);\n if (系统容易使用的程度.containsKey(var)) {\n int _v = 系统容易使用的程度.get(var);\n 系统容易使用的程度.put(var, ++_v);\n } else {\n 系统容易使用的程度.put(var, 1);\n }\n Result.系统容易使用的程度 = 系统容易使用的程度;\n\n String 优化建议 = s_14[1];\n Result.操作的复杂性建议.add(优化建议.replace(\"若感觉到复杂,优化建议:\", \"\"));\n\n } else {\n throw new NullPointerException();\n }\n break;\n case 14:\n //完成具体任务时的操作简洁程度(操作步骤少):\n //五星■ 四星□ 三星□ 二星□ 一星□;\n //若感觉到操作步骤过多,优化建议: ;\n String[] s_15 = replace.split(\";\");\n int lenght15 = s_15.length;\n if (lenght15 >= 2) {\n String ss = s_15[0];\n HashMap<String, Integer> 操作简洁程度 = Result.操作简洁程度;\n String var = xuanxing(ss);\n if (操作简洁程度.containsKey(var)) {\n int _v = 操作简洁程度.get(var);\n 操作简洁程度.put(var, ++_v);\n } else {\n 操作简洁程度.put(var, 1);\n }\n Result.系统容易使用的程度 = 操作简洁程度;\n\n String 优化建议 = s_15[1];\n Result.操作的复杂性步骤过多建议.add(优化建议.replace(\"若感觉到操作步骤过多,优化建议:\", \"\"));\n\n } else {\n System.out.println(\"解析异常15\");\n }\n break;\n case 15:\n //常见故障名称(或类型): ;\n //系统平均每个月出现的故障次数: 1 次;\n //系统故障时平均持续时间:\n //30分钟内■ 1小时内□ 2小时内□ 2小时以上□;\n //对业务的影响程度:五星□ 四星□ 三星□ 二星□ 一星□;\n //(备注:星数越多,说明影响程度越大)\n //若有影响,请简要说明:\n String[] s_16 = replace.split(\";\");\n if (s_16.length >= 5) {\n String s1 = s_16[0];\n Result.常见故障.add(s1.replace(\"常见故障名称(或类型):\", \"\"));\n\n String s2 = s_16[1];\n String replace1 = s2.replace(\"系统平均每个月出现的故障次数:\", \"\");\n String 次 = replace1.replace(\"次\", \"\");\n if (StringUtils.isNotBlank(次)){\n int i1 = 0;\n if (次.contains(\"-\")){\n i1 = Integer.parseInt(次.split(\"-\")[0]);\n }else {\n i1 = Integer.parseInt(次);\n }\n Result.平均系统出现故障次数 += i1;\n }\n\n\n String s3 = s_16[2];\n String xuanxiaoshi = xuanxiaoshi(s3);\n if (Result.系统故障时平均持续时间.containsKey(xuanxiaoshi)) {\n int count = Result.系统故障时平均持续时间.get(xuanxiaoshi);\n Result.系统故障时平均持续时间.put(xuanxiaoshi,++count);\n }else {\n Result.系统故障时平均持续时间.put(xuanxiaoshi,1);\n }\n\n String s4 = s_16[3];\n String xing = xuanxing(s4);\n if (Result.对业务的影响程度.containsKey(xing)) {\n int count = Result.对业务的影响程度.get(xing);\n Result.对业务的影响程度.put(xing,++count);\n }else {\n Result.对业务的影响程度.put(xing,1);\n }\n\n String s5 = s_16[4];\n Result.影响说明.add(s5.replace(\"(备注:星数越多,说明影响程度越大)若有影响,请简要说明:\", \"\"));\n\n }\n break;\n case 16:\n //系统运行前手工作业效率: 10 分钟/每件(普通包裹)\n //系统运行前手工作业效率: 5 分钟/每件(信函)\n //系统运行前手工作业效率: 3 分钟/每件(报刊);\n //系统运行后作业效率: 8 分钟/每件(普通包裹)\n //系统运行后作业效率: 4 分钟/每件(信函)\n //系统运行后作业效率: 3 分钟/每件(报刊)。\n String[] s_17 = replace.split(\";\");\n if (s_17.length >= 2){\n String[] s_var = s_17[0].split(\")\");\n if (s_var.length >= 3){\n // 1\n String replace1 = s_var[0].replace(\"系统运行前手工作业效率:\", \"\");\n String replace3 = replace1.replace(\"分钟/每件(普通包裹\", \"\");\n double result = 0;\n if (StringUtils.isNotBlank(replace3)){\n result = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"普通包裹\")) {\n Double var = Result.人员效率.get(\"普通包裹\");\n Result.人员效率.put(\"普通包裹\",result+var);\n }else {\n Result.人员效率.put(\"普通包裹\",result);\n }\n //2\n replace1 = s_var[1].replace(\"系统运行前手工作业效率:\", \"\");\n replace3 = replace1.replace(\"分钟/每件(信函\", \"\");\n double result1 = 0;\n if (StringUtils.isNotBlank(replace3)){\n result1 = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"信函\")) {\n Double var = Result.人员效率.get(\"信函\");\n Result.人员效率.put(\"信函\",result1+var);\n }else {\n Result.人员效率.put(\"信函\",result1);\n }\n //3\n replace1 = s_var[2].replace(\"系统运行前手工作业效率:\", \"\");\n replace3 = replace1.replace(\"分钟/每件(报刊\", \"\");\n double result3 = 0;\n if (StringUtils.isNotBlank(replace3)){\n result3 = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"报刊\")) {\n Double var = Result.人员效率.get(\"报刊\");\n Result.人员效率.put(\"报刊\",result3+var);\n }else {\n Result.人员效率.put(\"报刊\",result3);\n }\n }\n\n\n s_var = s_17[1].split(\")\");\n if (s_var.length >= 3){\n // 1\n String replace1 = s_var[0].replace(\"系统运行后作业效率:\", \"\");\n String replace3 = replace1.replace(\"分钟/每件(普通包裹\", \"\");\n double result4 = 0;\n if (StringUtils.isNotBlank(replace3)){\n result4 = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"系统运行后普通包裹\")) {\n Double var = Result.人员效率.get(\"系统运行后普通包裹\");\n Result.人员效率.put(\"系统运行后普通包裹\",result4+var);\n }else {\n Result.人员效率.put(\"系统运行后普通包裹\",result4);\n }\n //2\n\n replace1 = s_var[1].replace(\"系统运行后作业效率:\", \"\");\n replace3 = replace1.replace(\"分钟/每件(信函\", \"\");\n double result5 = 0;\n if (StringUtils.isNotBlank(replace3)){\n result5 = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"系统运行后信函\")) {\n Double var = Result.人员效率.get(\"系统运行后信函\");\n Result.人员效率.put(\"系统运行后信函\",result5+var);\n }else {\n Result.人员效率.put(\"系统运行后信函\",result5);\n }\n //3\n replace1 = s_var[2].replace(\"系统运行后作业效率:\", \"\");\n replace3 = replace1.replace(\"分钟/每件(报刊\", \"\");\n double result6 = 0;\n if (StringUtils.isNotBlank(replace3)){\n result6 = Double.parseDouble(replace3);\n }\n if (Result.人员效率.containsKey(\"系统运行后报刊\")) {\n Double var = Result.人员效率.get(\"系统运行后报刊\");\n Result.人员效率.put(\"系统运行后报刊\",result6+var);\n }else {\n Result.人员效率.put(\"系统运行后报刊\",result6);\n }\n }\n\n\n }\n break;\n case 17:\n //您对系统的总体评价:五星■ 四星□ 三星□ 二星□ 一星□;\n //简要评价说明:\n String[] s_18 = replace.split(\";\");\n int lenght18 = s_18.length;\n if (lenght18 >= 2) {\n String ss = s_18[0];\n HashMap<String, Integer> 总体评价 = Result.总体评价;\n String var = xuanxing(ss);\n if (总体评价.containsKey(var)) {\n int _v = 总体评价.get(var);\n 总体评价.put(var, ++_v);\n } else {\n 总体评价.put(var, 1);\n }\n Result.总体评价 = 总体评价;\n\n String 优化建议 = s_18[1];\n\n Result.总体评价说明.add(优化建议.replace(\"简要评价说明:\", \"\"));\n\n } else {\n throw new NullPointerException();\n }\n break;\n case 18:\n //意见建议\n Result.意见建议.add(replace);\n break;\n default:\n }\n ++index;\n }",
"public void mo35983a(String str, View view) {\n HashMap hashMap = new HashMap();\n String str2 = \"{}\";\n if (view != null) {\n try {\n DisplayMetrics l = m36216l(view);\n boolean c = m36207c(view);\n boolean d = m36208d(view);\n boolean e = m36209e(view);\n float f = m36210f(view);\n hashMap.put(\"dr\", Float.valueOf(l.density));\n hashMap.put(\"dv\", Double.valueOf(C10972s.m36121a()));\n hashMap.put(\"adKey\", str);\n boolean z = false;\n hashMap.put(\"isAttached\", Integer.valueOf(c ? 1 : 0));\n hashMap.put(\"inFocus\", Integer.valueOf(d ? 1 : 0));\n hashMap.put(\"isHidden\", Integer.valueOf(e ? 1 : 0));\n hashMap.put(\"opacity\", Float.valueOf(f));\n Rect a = m36190a(l);\n Rect a2 = m36191a(view);\n C11003c a3 = m36194a(view, a2, c, d, e);\n if (this.f33603c == null || a3.f33616b != this.f33602b.f33616b || !a3.f33615a.equals(this.f33602b.f33615a) || a3.f33617c != this.f33602b.f33617c) {\n this.f33602b = a3;\n this.f33603c = new JSONObject(m36196a(this.f33602b.f33615a, l));\n z = true;\n }\n hashMap.put(\"coveredPercent\", Double.valueOf(a3.f33617c));\n if (this.f33607g == null || !a.equals(this.f33605e)) {\n this.f33605e = a;\n this.f33607g = new JSONObject(m36196a(a, l));\n z = true;\n }\n if (this.f33606f == null || !a2.equals(this.f33604d)) {\n this.f33604d = a2;\n this.f33606f = new JSONObject(m36196a(a2, l));\n z = true;\n }\n if (this.f33609i == null || !hashMap.equals(this.f33609i)) {\n this.f33609i = hashMap;\n z = true;\n }\n Location b = C10966o.m36089a().mo35961b();\n if (!C10966o.m36094a(b, this.f33608h)) {\n this.f33608h = b;\n z = true;\n }\n if (z) {\n JSONObject jSONObject = new JSONObject(this.f33609i);\n jSONObject.accumulate(\"screen\", this.f33607g);\n jSONObject.accumulate(\"view\", this.f33606f);\n jSONObject.accumulate(\"visible\", this.f33603c);\n jSONObject.accumulate(\"maybe\", this.f33603c);\n jSONObject.accumulate(\"visiblePercent\", Double.valueOf(this.f33602b.f33616b));\n if (b != null) {\n jSONObject.accumulate(\"location\", m36197a(b));\n }\n this.f33601a = jSONObject.toString();\n }\n } catch (Exception e2) {\n C10960m.m36077a(e2);\n this.f33601a = str2;\n }\n }\n }",
"void mo5872a(String str, Data data);",
"public abstract void incorrectlyParsedUtterance(long ms);",
"String getContent();",
"String getContent();",
"String getContent();",
"String getContent();",
"String getContent();",
"String getContent();",
"String getContent();",
"String getContent();",
"private static void getInfos(String ligne) throws IOException {\n String[] info = ligne.split(\" \");\n nbVideo = Integer.parseInt(info[0]);\n nbEndpoint = Integer.parseInt(info[1]);\n nbDescri = Integer.parseInt(info[2]);\n nbCache = Integer.parseInt(info[3]);\n tailleCache = Integer.parseInt(info[4]);\n }",
"java.lang.String getActual();",
"public String imprime() {\r\n\t\tstatus = \"=== Central P2-CG ===\" + quebraLinha;\r\n\t\tfor (Usuario usuario : loja.getUsuarios()) {\r\n\t\t\tstatus+= usuario.getLogin()+ quebraLinha;\r\n\t\t\tstatus+= usuario.getNome() + quebraLinha;\r\n\t\t\tstatus+= \"Jogador \" + usuario.tipoJogador()\r\n\t\t\t\t\t+ \": \" + usuario.getPontos() + \" x2p\" + quebraLinha;\r\n\t\t\t\r\n\t\t\tstatus+= \"Lista de Jogos:\"+ quebraLinha;\r\n\t\t\tfor (Jogo jogo : usuario.getJogos()) {\r\n\t\t\t\tstatus+= \"+\" + jogo.getNome() + \" - \"\r\n\t\t\t\t\t\t+ jogo.getClass().getSimpleName() + \":\" + quebraLinha;\r\n\t\t\t\tstatus+= \"===> Jogou \" + jogo.getVezesjogadas()\r\n\t\t\t\t\t\t+ \" vez(es)\"+ quebraLinha;\r\n\t\t\t\tstatus+= \"===> Zerou \" + jogo.getZerajogo()\r\n\t\t\t\t\t\t+ \" vez(es)\"+ quebraLinha;\r\n\t\t\t\tstatus+= \"===> Maior Score \" + jogo.getScore()+ quebraLinha;\r\n\t\t\t\tstatus+= quebraLinha;\r\n\r\n\t\t\t}\r\n\t\t\tdesconto += usuario.getDesconto();\r\n\r\n\t\t\t\r\n\t\t}\r\n\t\tstatus+= \"Total de preco dos jogos: R$ \" + valorTotal + quebraLinha;\r\n\t\tstatus+= \"---------------------------------------------\"+quebraLinha;\r\n\t\tstatus+= \"Total arrecadado com vendas de jogos:\" + desconto + quebraLinha;\r\n\t\tstatus+= quebraLinha;\r\n\t\tdesconto = 0;\r\n\t\treturn status;\r\n\t}",
"private int getStat(int index) {\n return Integer.parseInt(getStringStat(index));\n }",
"public String ayadi_sandhi(String s1, String s2)\n {\n Log.info(\"Welcome to ayadi Sandhi\");\n\n if (!VowelUtil.isEjanta(s1)) Log.info(\"NOT ELIGIBLE FOR ayadi sandhi\");\n\n if (!VowelUtil.isAjadi(s2)) Log.info(\"NOT ELIGIBLE FOR ayadi sandhi\");\n // if 2nd string is not a Vowel, then cannot proceed.\n String return_me = s1 + s2;\n\n String stripped1;\n stripped1 = VarnaUtil.stripAntyaVarna(s1); // s1.substring(0, str_len1\n // - reduce_by1);\n\n String modified_anta = s1 + s2;\n\n if (s1.endsWith(\"e\") || s1.endsWith(\"e3\"))\n {\n modified_anta = stripped1 + \"ay\";\n }\n\n else if (s1.endsWith(\"E\") || s1.endsWith(\"E3\"))\n {\n modified_anta = stripped1 + \"Ay\";\n }\n\n else if (s1.endsWith(\"o\") || s1.endsWith(\"o3\"))\n {\n modified_anta = stripped1 + \"av\";\n }\n\n else if (s1.endsWith(\"O\") || s1.endsWith(\"O3\"))\n {\n modified_anta = stripped1 + \"Av\";\n }\n\n return_me = modified_anta + s2;\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.78\");\n comments.setSutraPath(\"eco.ayavAyAvaH\");\n comments.setSutraProc(\"ayAdi-Adesha\");\n comments.setSource(Comments.sutra);\n String cond1 = \"When a word terminating in an <ec> pratyahara \" + \"is followed by any vowel the <ec>as are replaced by ayadi.\" + \"\\n<ec>(e/ai/o/au) + any vowel = ay/Ay/av/Av respectively.\";\n comments.setConditions(cond1);\n\n // The words are furthur modified by the principle of yakkar-vakaar lopa\n return_me += \", \" + (new MixedSandhi()).shaakalya_ya_va_lopa(modified_anta, s2, comments);\n\n return return_me;\n }",
"private void process(String s) {\n try {\n String[] splt = s.split(\"_\");\n int type = Integer.parseInt(splt[0]);\n if(type == TYPE_PROXIMITY) GUI.setProximity(Float.parseFloat(splt[1]));\n else {\n String[] coords = splt[1].split(\" \");\n float x = Float.parseFloat(coords[0]);\n float y = Float.parseFloat(coords[1]);\n float z = Float.parseFloat(coords[2]);\n if(type == TYPE_ACCELEROMETER) GUI.setAccelerometer(x, y, z);\n else if(type == TYPE_ORIENTATION) GUI.setOrientation(x, y, z);\n }\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n }",
"private static void processTurn(String content) {\n\t\tString[] sts = content.split(\" \");\n\n\t\tcards[5] = new Card();\n\t\tcards[5].setColor(sts[0]);\n\t\tcards[5].setPoint(sts[1]);\n\t\t\n\t\tCard.numsPlus();\n\t}",
"@Nullable public abstract String loadVerseText(int ari);",
"public void addTakamuraSentimentValues(String relation) throws IOException {\n String verb = \"vb vbd vbg vbn vbp vbz\";\n String noun = \"nn nns nnp nnps\";\n String adjective = \"jj jjr jjs\";\n String adverb = \"rb rbr rbs wrb\";\n // Initialize files, readers and writers.\n ArrayList<String> words = new ArrayList<String>();\n ArrayList<Double> sentimentValues = new ArrayList<Double>();\n String lexiconName = \"pn_en.dic.txt\";\n Scanner lexiconScanner = new Scanner(new FileReader(lexiconName));\n BufferedReader pairReader = new BufferedReader(new FileReader(\"extracted_pairs/extracted_pairs_\" + relation + \".txt\"));\n PrintWriter writer = new PrintWriter(\"sentiment_pairs/sentiment_pairs_\" + relation + \".txt\", \"UTF-8\");\n // Handle input from the sentiment lexicon.\n while (lexiconScanner.hasNextLine()) {\n String lexiconEntry = lexiconScanner.nextLine();\n String[] splitEntry = lexiconEntry.split(\":\");\n String word = splitEntry[0] + \":\" + splitEntry[1];\n Double sentimentValue = Double.parseDouble(splitEntry[2]);\n words.add(word); sentimentValues.add(sentimentValue);\n }\n String line;\n while ((line = pairReader.readLine()) != null) {\n String result = \"\";\n String[] splitEntry = line.split(\" \");\n if (splitEntry.length != 4) continue;\n if (verb.contains(splitEntry[2])) {\n if (words.contains(splitEntry[0] + \":v\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[0] + \":v\"));\n result = line + \" \" + sentiment;\n }\n\n } else if (noun.contains(splitEntry[2])) {\n if (words.contains(splitEntry[0] + \":n\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[0] + \":n\"));\n result = line + \" \" + sentiment;\n }\n\n } else if (adjective.contains(splitEntry[2])) {\n if (words.contains(splitEntry[0] + \":a\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[0] + \":a\"));\n result = line + \" \" + sentiment;\n }\n\n } else if (adverb.contains(splitEntry[2])) {\n if (words.contains(splitEntry[0] + \":r\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[0] + \":r\"));\n result = line + \" \" + sentiment;\n }\n }\n if (verb.contains(splitEntry[3])) {\n if (words.contains(splitEntry[1] + \":v\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[1] + \":v\"));\n result = result + \" \" + sentiment;\n }\n\n } else if (noun.contains(splitEntry[3])) {\n if (words.contains(splitEntry[1] + \":n\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[1] + \":n\"));\n result = result + \" \" + sentiment;\n }\n\n } else if (adjective.contains(splitEntry[3])) {\n if (words.contains(splitEntry[1] + \":a\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[1] + \":a\"));\n result = result + \" \" + sentiment;\n }\n\n } else if (adverb.contains(splitEntry[3])) {\n if (words.contains(splitEntry[1] + \":r\")) {\n double sentiment = sentimentValues.get(words.indexOf(splitEntry[1] + \":r\"));\n result = result + \" \" + sentiment;\n }\n }\n // Throw the result away if it contains less than six words. Looks ugly but works?\n if (result.split(\" \").length == 6)\n writer.println(result);\n }\n }",
"public interface Text {\n\n String HELP = \"Sage 'Alexa, weiter', um die nächste Anweisung zu erhalten. \";\n String STOP = \"Lasst euch weiterhin feiern! \";\n String FALLBACK = \"Leider konnte der Herr dich nicht verstehen \";\n\n String PICOLO_START = \"Willkommen bei Picolo! Möchtest du ein neues Spiel starten? \";\n String[] ANZAHL_SPIELER = {\n \"Wie viele Spieler spielen mit?\",\n \"Nenne mir die Anzahl der teilnehmenden Spieler\",\n \"Wie viele Spieler gibt es heute?\"\n };\n String[] SPIELER_NAME_FRAGEN = {\n \"Nenne mir deinen Namen Spieler \",\n \"Bitte sage mir deinen Namen Spieler \",\n \"Sag mir bitte deinen Namen Spieler \"\n };\n String NAECHSTE_AUFGABE = \"Wollt ihr die nächste Aufgabe Wissen? \";\n String ERSTE_ANWEISUNG = \"Alles klar, Los geht´s! \";\n String WIEDERHOLEN_FEHLER = \"Das Spiel wurde noch nicht gestartet. Deswegen kann ich nichts wiederholen. Bitte starte vorher das Spiel. \";\n\n //SSML Aussprache\n\n /**TODO\n * SSML Text bearbeiten\n */\n String HELP_SSML = \"Sage 'Alexa, weiter', um die nächste Anweisung zu erhalten. \";\n String STOP_SSML = \"Lasst euch weiterhin feiern! \";\n String FALLBACK_SSML = \"Ich habe dich leider nicht verstanden. \";\n}",
"private String formatText(List<EntityAnnotation> entityAnnotation) {\n String message = \"\";\n\n if (entityAnnotation != null) {\n int count = 0;\n for (EntityAnnotation entity : entityAnnotation) {\n count++;\n if (count <= 8) {\n int num = (int) (entity.getScore() * 100);\n message = message + \" \" + num + \"% - \" + entity.getDescription().substring(0, 1).toUpperCase() + entity.getDescription().substring(1);\n message += \"\\n\";\n }\n }\n } else {\n message = \"Nothing Found\";\n }\n\n return message;\n }",
"String tomar_decisiones(String decision);",
"public static String GetAverageQualityScoreOfRead(String QualityStringofRead) {\n\t\tint Sum = 0;\n\t\tdouble dd = 0;\n\t\tfor (int k = 0; k < QualityStringofRead.length(); k++) {\n\t\t\tSum += (int) (QualityStringofRead.charAt(k));\n\t\t}\n\t\tdd = (double) Sum / QualityStringofRead.length();\n\t\treturn Changeformat(dd);\n\t}",
"@Test\n public void getDescription () {\n String testString = \"Nuke\\n\" +\n \"Damage: 700\\n\";\n Assert.assertEquals(testString, bomb.getDescription());\n }",
"public AnalizadorDeTexto(String t) {\n String[] palabras = t.split(\" +\");\n m = new TablaHash<String, Integer>(palabras.length);\n for (int i = 0; i < palabras.length; i++) { \n String pal = palabras[i].toLowerCase();\n Integer frec = m.recuperar(pal); \n if (frec != null) {\n frec++;\n m.insertar(pal, frec); \n }\n else { m.insertar(pal, 1); }\n }\n }",
"public String apavada_prakruti_bhava(String X_anta, String X_adi)\n {\n\n Log.info(\"*******ENTERED AAPAVADA NIYAMA 3**********\");\n String anta = EncodingUtil.convertSLPToUniformItrans(X_anta); // anta\n // is\n // ITRANS\n // equivalent\n String adi = EncodingUtil.convertSLPToUniformItrans(X_adi); // adi is\n // ITRANS\n // equivalent\n\n String return_me = \"UNAPPLICABLE\";\n // 249\n if (VowelUtil.isPlutanta(X_anta) && X_adi.equals(\"iti\"))\n {// checked:29-6\n\n return_me = prakruti_bhava(X_anta, X_adi) + \", \" + utsarga_sandhi(X_anta, X_adi) + \"**\";\n ;\n /*\n * sandhi_notes = usg1 + sandhi_notes + \"\\nRegular Sandhis which\n * were being blocked by \" + \"pluta-pragRRihyA-aci-nityam(6.1.121)\n * are allowed by \" + \" 'apluta-vadupasthite' (6.2.125)\" + \"\\n\" +\n * usg2 ;\n * \n * sandhi_notes+= Prkr + apavada + depend + sutra +\n * \"pluta-pragRRihyA aci nityam' (6.1.121)\" + \"\\nCondition: Only if\n * String 1 is a Vedic Usage(Arsha-prayoga)\";\n * \n * //This note below goes after the Notes returned fropm\n * utsarga_sandhi above String cond1 = \"\\nRegular Sandhis which were\n * being blocked by \" + \"'pluta-pragRRihyA-aci-nityam'(6.1.121) are\n * allowed by \" + \" 'apluta-vadupasthite' (6.2.125)\";\n * vowel_notes.append_condition(cond1); ;\n */\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n comments.decrementPointer();\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.121\");\n comments.setSutraPath(\"pluta-pragRRihyA aci nityam\");\n comments.setSutraProc(\"Prakruti Bhava\");\n comments.setSource(Comments.sutra);\n String cond1 = \"pluta-ending word or a pragRRihya followed by any Vowel result in Prakruti bhava sandhi.\\n\" + \"<pluta-ending> || pragRRihya + vowel = prakruti bhava.\";\n comments.setConditions(cond1);\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.2.125\");\n comments.setSutraPath(\"apluta-vadupasthite\");\n comments.setSutraProc(\"utsargic Sandhis Unblocked\");\n comments.setSource(Comments.sutra);\n String cond2 = depend + \"According to 6.1.121 plutantas followed by Vowels result in prakruti-bhaava\\n\" + \"However if the word 'iti' used is non-Vedic, then regular sandhis block 6.1.121.\";\n\n comments.setConditions(cond2);\n\n }\n\n // 250\n else if ((X_anta.endsWith(\"I3\") || X_anta.endsWith(\"i3\")) && VowelUtil.isAjadi(X_adi))\n // was making mistake of using vowel.is_Vowel(X_adi) */ )\n {// checked:29-6\n Log.info(\"came in 250\");\n return_me = utsarga_sandhi(X_anta, X_adi); // fixed error above:\n // was sending ITRANS\n // values rather than\n // SLP\n /*\n * sandhi_notes += apavada + sutra + \"'I3 cAkravarmaNasya'\n * (6.1.126)\" + \"Blocks 'pluta-pragRRihyA aci nityam' (6.1.121)\";\n */\n // vowel_notes.start_adding_notes();\n // vowel_notes.set_sutra_num(\"6.1.126\") ;\n // vowel_notes.setSutraPath(\"I3 cAkravarmaNasya\") ;\n // vowel_notes.set_sutra_proc(\"para-rupa ekadesh\");\n // vowel_notes.set_source(tippani.sutra) ;\n String cond1 = \"According to chaakravarman pluta 'i' should be trated as non-plutanta.\\n\" + \"Given in Panini Sutra 'I3 cAkravarmaNasya' (6.1.126). This sutra allows General Sandhis to operate by blocking\" + \"'pluta-pragRRihyA aci nityam' (6.1.121)\";\n comments.append_condition(cond1);\n\n }\n // prakrutibhava starts\n // 233-239 Vedic Usages\n // 243 : error (now fixed) shivA# isAgacha printing as sh-kaar ha-kaar\n // ikaar etc should be shakaar ikaar\n // **********ELSE IF****************//\n else if ((VowelUtil.isPlutanta(X_anta) || this.pragrhya == true) && VowelUtil.isAjadi(X_adi))\n // was making mistake of using Vowel.is_Vowel(X_adi) */ )\n {// checked:29-6\n Log.info(\"came in 243\");\n return_me = prakruti_bhava(X_anta, X_adi); // fixed error above:\n // was sending ITRANS\n // values rather than\n // SLP\n // sandhi_notes = Prkr + sutra + \"pluta-pragRRihyA aci nityam'\n // (6.1.121)\";\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.121\");\n comments.setSutraPath(\"pluta-pragRRihyA aci nityam\");\n comments.setSutraProc(\"prakruti bhava\");\n comments.setSource(Comments.sutra);\n String cond1 = \"pragRRihyas or plutantas followed by any vowel result in NO SANDHI which is prakruti bhava\"; // Fill\n // Later\n comments.setConditions(cond1);\n\n }\n // **********END OF ELSE IF****************//\n\n // **********ELSE IF****************//\n else if (anta.equals(\"go\") && adi.equals(\"indra\")) // Avan~Na Adesh\n {// checked:29-6\n String avang_adesh = EncodingUtil.convertSLPToUniformItrans(\"gava\"); // transform\n // ITRANS\n // gava\n // to\n // SLP\n return_me = guna_sandhi(avang_adesh, X_adi);\n // We have to remove guna_sandhi default notes\n // this is done by\n comments.decrementPointer();\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.120\");\n comments.setSutraPath(\"indre ca\");\n comments.setSutraProc(\"ava~nga Adesha followed by Guna Sandhi\");\n comments.setSource(Comments.sutra);\n String cond1 = \"Blocks Prakruti Bhava, and Ayadi Sandhi.\\n go + indra = go + ava~N + indra = gava + indra = gavendra.\"; // Fill\n // Later\n comments.setConditions(cond1);\n }\n // **********END OF ELSE IF****************//\n\n // 241 242 Vik.\n // **********ELSE IF****************//\n else if (anta.equals(\"go\") && VowelUtil.isAjadi(X_adi))\n {// checked:29-6\n\n return_me = utsarga_sandhi(X_anta, X_adi); //\n String avang_adesh = EncodingUtil.convertSLPToUniformItrans(\"gava\"); // transform\n // ITRANS\n // gava\n // to\n // SLP\n return_me += \", \" + utsarga_sandhi(avang_adesh, X_adi);\n\n // We have to remove utsarga_sandhi default notes\n // this is done by\n comments.decrementPointer();\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.119\");\n comments.setSutraPath(\"ava~N sphoTayanasya\");\n comments.setSutraProc(\"ava~nga Adesha followed by Regular Vowel Sandhis\");\n comments.setSource(Comments.sutra);\n String cond1 = padanta + \"View Only Supported by Sphotaayana Acharya.\\n\" + \"padanta 'go' + Vowel gets an avana~N-adesh resulting in gava + Vowel.\"; // Fill\n // Later...filled\n comments.setConditions(cond1);\n\n if (X_adi.startsWith(\"a\"))\n {\n return_me += \", \" + prakruti_bhava(X_anta, X_adi);\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.118\");\n comments.setSutraPath(\"sarvatra vibhaaSaa goH\");\n comments.setSutraProc(\"Optional Prakruti Bhava for 'go'(cow)implying words ending in 'e' or 'o'.\");\n comments.setSource(Comments.sutra);\n String cond2 = \"Padanta Dependency. Prakruti bhava if 'go' is followed by any other Phoneme.\"; // Fill\n // Later\n comments.setConditions(cond2);\n\n return_me += \", \" + purva_rupa(X_anta, X_adi);\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.105\");\n comments.setSutraPath(\"e~NaH padAntAdati\");\n comments.setSutraProc(\"purva-rupa ekadesh\");\n comments.setSource(Comments.sutra);\n String cond3 = padanta + \"If a padanta word ending in either 'e' or 'o' is followed by an 'a' purva-rupa ekadesh takes place\" + \"\\npadanta <e~N> 'e/o' + 'a' = purva-rupa ekadesha. Blocks Ayadi Sandhi\";\n comments.setConditions(cond3);\n\n }\n }\n // **********END OF ELSE IF****************//\n\n // 243\n\n // 244\n\n // 246 -250 , 253-260\n\n Log.info(\"return_me == \" + return_me);\n Log.info(\"*******EXITED AAPAVADA NIYAMA3s**********\");\n\n return return_me; // apavada rules formulated by Panini\n }",
"@Override\n public String onCreateBubbleText(int position)\n {\n LossContent item = (LossContent) getItem(position);\n int codePoint = item.m_loss.Name.codePointAt(0);\n\n if (UCharacter.isDigit(codePoint))\n {\n return \"0-9\";\n } else\n {\n try\n {\n return HangulParser.disassemble(UCharacter.toString(codePoint)).get(0);\n } catch (HangulParserException e)\n {\n e.printStackTrace();\n return \"\";\n }\n }\n }",
"String content();",
"public String apavada_vriddhi(String X_anta, String X_adi)\n {\n\n Log.info(\"*******ENTERED AAPAVADA NIYAMA UNO**********\");\n Log.info(\"X_adi == \" + X_adi);\n String anta = EncodingUtil.convertSLPToUniformItrans(X_anta);\n // x.transform(X_anta); // anta is ITRANS equivalent\n String adi = EncodingUtil.convertSLPToUniformItrans(X_adi);\n // x.transform(X_adi); // adi is ITRANS equivalent\n\n Log.info(\"adi == \" + adi);\n\n String return_me = \"UNAPPLICABLE\";\n\n boolean bool1 = VowelUtil.isAkaranta(X_anta) && (adi.equals(\"eti\") || adi.equals(\"edhati\"));\n boolean bool2 = VowelUtil.isAkaranta(X_anta) && adi.equals(\"UTh\");\n\n // 203\n // **********IF****************//\n if (X_anta.endsWith(\"f\") && X_adi.startsWith(\"f\")) // watch out!!! must\n // be SLP not ITRANS\n {// checked:29-6\n String strip1 = VarnaUtil.stripAntyaVarna(X_anta);\n String strip2 = VarnaUtil.stripAdiVarna(X_adi);\n\n return_me = utsarga_sandhi(X_anta, X_adi) + \", \" + strip1 + \"f\" + strip2;\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"RRiti RRi vA vacanam\");\n comments.setSutraProc(\"hrasva RRikara ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"small RRi followed by small RRi merge to become small RRi.\\n\" + \"RRi + RRi = RRi\";\n comments.setConditions(cond1);\n\n } // end of main if\n // **********END OF IF****************//\n\n // 204\n // **********IF****************//\n else if (X_anta.endsWith(\"f\") && X_adi.startsWith(\"x\")) // watch out!!!\n // must be SLP\n // not ITRANS\n { // checked:29-6 // SLP x = ITRANS LLi\n String strip1 = VarnaUtil.stripAntyaVarna(X_anta);\n String strip2 = VarnaUtil.stripAdiVarna(X_adi);\n\n return_me = utsarga_sandhi(X_anta, X_adi) + \", \" + strip1 + \"x\" + strip2; // SLP\n // x =\n // ITRANS\n // LLi\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"LLiti LLi vA vacanam\");\n comments.setSutraProc(\"hrasva LLikara ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \" RRi/RRI followed by small LLi merge to become small LLi.\\n RRi/RRI + LLi = LLi\";\n comments.setConditions(cond1);\n\n } // end of main if\n // **********END OF IF****************//\n\n // 207a-b\n // **********ELSE IF****************//\n else if (bool1 || bool2)\n {\n // checked:29-6\n return_me = vriddhi_sandhi(X_anta, X_adi);\n\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n comments.decrementPointer();\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.86\");\n comments.setSutraPath(\"eti-edhati-UThsu\");\n comments.setSutraProc(\"vRRiddhi-ekadesh\");\n comments.setSource(Comments.sutra);\n\n String cond1 = \"akaara followed by declensions of 'iN', 'edha' and 'UTh\" + \"<eti/edhati/UTh> are replaced by their vRRiddhi counterpart.\\n\" + \"a/A/a3 + eti/edhati/UTha = VRRiddhi Counterpart.\\n\" + \"Pls. Note.My Program cannot handle all the declensions of given roots.\" + \"Hence will only work for one instance of Third Person Singular Form\";\n comments.setConditions(cond1);\n\n String cond2 = \"Blocks para-rupa Sandhi given by 'e~ni pararUpam' which had blocked Normal Vriddhi Sandhi\";\n\n if (bool1)\n comments.append_condition(cond2);\n else if (bool2) comments.append_condition(\"Blocks 'Ad guNaH'\");\n\n }\n\n // **********END OF ELSE IF****************//\n\n // 208\n // **********ELSE IF****************//\n else if (anta.equals(\"akSa\") && adi.equals(\"UhinI\"))\n {// checked:29-6\n return_me = \"akzOhiRI\"; // u to have give in SLP..had\n // ITRANS....fixed\n // not sending to vrridhit_sandhi becose of Na-inclusion\n // vriddhi_sandhi(X_anta,X_adi);\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n // ***/vowel_notes.decrement_pointer();/***/\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"akSAdUhinyAm\");\n comments.setSutraProc(\"vRRiddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"akSa + UhinI = akshauhiNI.Vartika blocks guna-sandhi ato allow vRRiddhi-ekadesh\";\n comments.setConditions(cond1);\n\n }\n // **********END OF ELSE IF****************//\n\n // 209\n // **********ELSE IF****************//\n else if (anta.equals(\"pra\") && (adi.equals(\"Uha\") || adi.equals(\"UDha\") || adi.equals(\"UDhi\") || adi.equals(\"eSa\") || adi.equals(\"eSya\")))\n // checked:29-6\n {\n return_me = vriddhi_sandhi(X_anta, X_adi);\n\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n /***/\n comments.decrementPointer();\n /***/\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"prAd-Uha-UDha-UDhi-eSa-eSyeSu\");\n comments.setSutraProc(\"vRRiddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"upasarga 'pra' + <prAd/Uha/UDha/UDhi/eSa/eSya> = vRRiddhi-ekadesha.\" + \"\\nVartika blocks para-rupa Sandhi and/or guna Sandhi to allow vRRidhi-ekadesh.\";\n\n comments.setConditions(cond1);\n\n }\n\n // **********END OF ELSE IF****************//\n\n // 210\n // **********ELSE IF****************//\n else if (anta.equals(\"sva\") && (adi.equals(\"ira\") || adi.equals(\"irin\")))\n {\n // checked:29-6\n return_me = vriddhi_sandhi(X_anta, X_adi);\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n /***/\n comments.decrementPointer();\n /***/\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"svaadireriNoH\");\n comments.setSutraProc(\"vRRiddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"sva + <ira/irin> = vRRIddhi.\\n Blocks Guna Sandhi.\" + \"\\nPls. note. My program does not cover sandhi with declensions.\";\n comments.setConditions(cond1);\n }\n\n // **********END OF ELSE IF****************//\n\n // 211 Vik. Semantic Dependency\n // **********ELSE IF****************//\n else if (VowelUtil.isAkaranta(X_anta) && X_adi.equals(\"fta\"))// adi.equals(\"RRita\"))\n {\n // checked:29-6\n // not working for 'a' but working for 'A'. Find out why...fixed\n\n return_me = utsarga_prakruti_bhava(X_anta, X_adi) + \", \" + vriddhi_sandhi(X_anta, X_adi) + \"**\";\n\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n /***/\n comments.decrementPointer();\n /***/\n\n comments.start_adding_notes();\n comments.setSutraNum(\"\");\n comments.setVartikaPath(\"RRite ca tRRitIyAsamAse\");\n comments.setSutraProc(\"Vriddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"If an akaranta ('a/aa/a3'-terminating phoneme) is going to form a Tritiya Samas compound with a RRi-initial word\" + \" vRRiddhi-ekadesha takes place blocking other rules.\\n\" + \"a/A/a3 + RRi -> Tritiya Samaasa Compound -> vRRiddhi-ekadesh\" + depend;\n comments.setConditions(cond1);\n }\n // **********END OF ELSE IF****************//\n\n // 212-213\n // **********ELSE IF****************//\n else if ((anta.equals(\"pra\") || anta.equals(\"vatsatara\") || anta.equals(\"kambala\") || anta.equals(\"vasana\") || anta.equals(\"RRiNa\") || anta.equals(\"dasha\")) && adi.equals(\"RRiNa\"))\n\n // checked:29-6\n { // pra condition not working...fixed now . 5 MAR 05\n // return_me = guna_sandhi(X_anta,X_adi) + \", \" +\n // prakruti_bhava(X_anta,X_adi)\n\n return_me = vriddhi_sandhi(X_anta, X_adi);\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n /***/\n comments.decrementPointer();\n /***/\n\n comments.start_adding_notes();\n // vowel_notes.set_sutra_num(\"\") ;\n comments.setVartikaPath(\"pra-vatsatara-kambala-vasanArNa dashaanAm RRiNe\");\n comments.setSutraProc(\"Vriddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = \"If 'pra' etc are followed by the word 'RRiNa',\" + \" vRRiddhi-ekadesh takes place blocking Guna and Prakruti Bhava Sandhis.\" + \"\\n<pra/vatsatara/kambala/vasana/RRiNa/dash> + RRiNa = vRRiddhi\";\n comments.setConditions(cond1);\n }\n // ???? also implement prakruti bhava\n\n /**\n * **YEs ACCORDING TO SWAMI DS but not according to Bhaimi Bhashya else\n * if ( adi.equals(\"RRiNa\") && (anta.equals(\"RRiNa\") ||\n * anta.equals(\"dasha\")) ) { return_me = vriddhi_sandhi(X_anta,X_adi);\n * //*sandhi_notes = VE + apavada + vartika + \"'RRiNa dashAbhyAm ca'.\" +\n * \"\\nBlocks Guna and Prakruti Bhava Sandhi\";\n * \n * vowel_notes.start_adding_notes(); vowel_notes.set_sutra_num(\"\") ;\n * vowel_notes.set_vartika_path(\"RRiNa dashAbhyAm ca\") ;\n * vowel_notes.set_sutra_proc(\"Vriddhi-ekadesh\");\n * vowel_notes.set_source(tippani.vartika) ; String cond1 =depend +\n * \"Blocks Guna and Prakruti Bhava Sandhi\";\n * vowel_notes.set_conditions(cond1);\n * /* return_me = utsarga_prakruti_bhava(X_anta,X_adi) + \", \" +\n * vriddhi_sandhi(X_anta,X_adi) + \"**\"; sandhi_notes = usg1 +\n * sandhi_notes; sandhi_notes+= \"\\n\" + usg2 + VE +apavada + vartika +\n * \"'RRiNa dashAbhyAm ca'.\" + depend; // .... this was when I assumed\n * this niyama is optional with other // ???? also implement prakruti\n * bhava }\n */\n // **********END OF ELSE IF****************//\n // 214 Vik. Semantic Dependency\n // **********ELSE IF****************//\n else if (anta.equals(\"A\") && VowelUtil.isAjadi(X_adi))\n {\n // checked:29-6\n // rules is A + Vowel = VRddhi\n\n return_me = utsarga_sandhi(X_anta, X_adi) + \", \" + vriddhi_sandhi(X_anta, X_adi) + \"**\";\n /*******************************************************************\n * sandhi_notes = usg1 + sandhi_notes + \"\\n\" + usg2 ; // We have to\n * remove vriddhi_sandhi default notes // this is done by /\n ******************************************************************/\n comments.decrementPointer();\n /***/\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.87\");\n comments.setSutraPath(\"ATashca\");\n comments.setSutraProc(\"Vriddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = depend + \"if String 1 equals 'aa' and implies 'AT'-Agama and \" + \"String 2 is a verbal form. E.g. A + IkSata = aikSata not ekSata.\\n\" + \" 'aa' + Verbal Form = vRRiddhi-ekadesh\";\n comments.setConditions(cond1);\n }\n // **********END OF ELSE IF****************//\n\n // **********ELSE IF****************//\n // akaranta uparga mein error....fixed 4 MAR\n // 215 Vik Semantic Dependency\n else if (is_akaranta_upsarga(X_anta) && X_adi.startsWith(\"f\")) // RRi\n // ==\n // SLP\n // 'f'USing\n // X_adi,\n // switched\n // to\n // Sharfe\n // Encoding\n { // according to Vedanga Prakash Sandhi Vishaya RRIkara is being\n // translated\n // but checked with SC Basu Trans. it is RRIta not RRikara\n // checked:29-6\n\n Log.info(\" Rules 215 applies\");\n return_me = utsarga_sandhi(X_anta, X_adi) + \", \" + vriddhi_sandhi(X_anta, X_adi) + \"**\";\n // We have to remove vriddhi_sandhi default notes\n // this is done by\n // vowel_notes.decrement_pointer();\n\n // July 14 2005.. I have removed the above line\n // vowel_notes.decrement_pointer();\n\n comments.start_adding_notes();\n comments.setSutraNum(\"6.1.88\");\n comments.setSutraPath(\"upasargAdRRiti dhAtau\");\n comments.setSutraProc(\"Vriddhi-ekadesh\");\n comments.setSource(Comments.vartika);\n String cond1 = depend + \"akaranta upsarga(preverb) followed by verbal form begining with short RRi.\\n \" + \"preverb ending in <a> + verbal form begining with RRi = vRRiddhi-ekadesha\\n\";\n\n /*\n * \"By 6.1.88 it should block all \" + \"optional forms but by 'vA\n * supyApishaleH' (6.1.89) subantas are \" + \"permitted the Guna\n * option.\";\n */\n comments.setConditions(cond1);\n }\n // **********END OF ELSE IF****************//\n\n Log.info(\"return_me == \" + return_me);\n Log.info(\"*******EXITED AAPAVADA NIYAMA UNO**********\");\n\n if (return_me.equals(\"UNAPPLICABLE\"))\n {\n return_me = apavada_para_rupa(X_anta, X_adi); // search for more\n // apavada rules\n }\n return return_me; // apavada rules formulated by Panini apply\n }",
"public PolicyResponseData bI(String string) {\n b.d(\"PolicyDao\", \"queryPolicy()\");\n String string2 = \" WHERE policyid == \\\"\" + string + \"\\\"\";\n String string3 = \" SELECT DISTINCT content FROM policies\" + string2;\n Cursor cursor = this.GC.rawQuery(string3, null);\n if (cursor == null) return null;\n try {\n if (cursor.getCount() <= 0) return null;\n cursor.moveToLast();\n Gson gson = new Gson();\n byte[] arrby = cursor.getBlob(cursor.getColumnIndex(\"content\"));\n if (arrby == null) return null;\n String string4 = new String(arrby);\n b.d(\"PolicyDao\", string4);\n PolicyResponseData policyResponseData = (PolicyResponseData)gson.fromJson(string4, PolicyResponseData.class);\n return policyResponseData;\n }\n catch (Exception exception) {\n b.c(\"PolicyDao\", \"queryPolicy error\", exception);\n return null;\n }\n finally {\n a.a(cursor);\n return null;\n }\n }",
"public static void main(String[] args) {\n String input_one = \"Fourscore and seven years ago our fathers brought forth on this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battlefield of that war. We have come to dedicate a portion of that field as a final resting-place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. But, in a larger sense, we cannot dedicate — we cannot consecrate — we cannot hallow — this ground. The brave men, living and dead, who struggled here have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us — that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion — that we here highly resolve that these dead shall not have died in vain — that this nation shall have a new birth of freedom and that government of the people, by the people, for the people, shall not perish from the earth.\";\r\n String input_two = \"Oh, say can you see, by the dawn's early light,What so proudly we hailed at the twilight's last gleaming?Whose broad stripes and brightstars,through the perilous fight,O'er the ramparts we watched, were so gallantly streaming?And the rockets' red glare, the bombs bursting in air,Gave proof through the night that our flag was still there.O say, does that star-spangled banner yet waveO'er the land of the free and the home of the brave?On the shore, dimly seen through the mists of the deep,Wherethe foe's haughty host in dread silence reposes,What isthatwhichthe breeze, o'er the towering steep,As it fitfully blows, now conceals, now discloses?Now it catches the gleam of the morning's first beam,In full glory reflected now shines on the stream:'Tis the starspangled banner! O long may it waveO'er the land of the free and the home of the brave. And where is that band who so vauntingly swore That the havoc of war and the battle's confusionA home and a country should leaveus no more?Their blood has wiped out their foulfootstep'spollution.Norefuge could save the hireling and slaveFrom the terror of flight, or the gloom of the grave:And the star-spangled banner in triumph doth waveO'er theland of the free and the home of the brave.Oh! thus be it ever, when freemen shall stand Between their loved homes and the war's desolation!Blest with victory and peace, may the heaven-rescued land Praise the Power that hath made and preserved us a nation.Then conquer we must, for our cause it is just,And this be our motto: In God is our trust. And the star-spangled banner forever shall waveO'er the land of the free and the home of \";\r\n\r\n String input_upper = input_one.toUpperCase();\r\n String input_upper2 = input_two.toUpperCase();\r\n // System.out.println(input_upper);\r\n String[] pattern = { \"FREE\", \"BRAVE\", \"NATION\" };\r\n // Brute Force algorithm\r\n System.out.println();\r\n System.out.println(\"**************************** OUTPUT OF FIRST INPUT FILE: *****************************\");\r\n System.out.println();\r\n System.out.println(\"\\t\\t\\t\\t\\tBRUTE FORCE ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n BF_Search bf = new BF_Search();\r\n long bf_startTime = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n bf.brute_force_search(input_upper, pattern[i]);\r\n }\r\n long bf_endTime = System.nanoTime();\r\n bf.printBF_Comparison();\r\n System.out.println(\"It took: \" + (bf_endTime - bf_startTime) + \" nanoseconds\");\r\n\r\n // Knuth Moris Pratt algorithm\r\n System.out.println(\"\\t\\t\\t\\t\\tKNUTH MORIS PRATT ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n KMP_Search kmp = new KMP_Search();\r\n long kmp_startTime = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n kmp.KMPSearch(pattern[i], input_upper);\r\n if (i == pattern.length - 1) {\r\n kmp.printKM_Comparisons();\r\n }\r\n }\r\n long kmp_endTime = System.nanoTime();\r\n System.out.println(\"It took: \" + (kmp_endTime - kmp_startTime) + \" nanoseconds\");\r\n\r\n // Boyer Moore algorithm\r\n System.out.println();\r\n System.out.println(\"\\t\\t\\t\\t\\tBOYER MOORE ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n BM_Search bm = new BM_Search();\r\n char[] bm_input = input_upper.toCharArray();\r\n char[] bm_pattern = new char[] {};\r\n long bm_startTime = System.nanoTime();\r\n for (String i : pattern) {\r\n bm_pattern = i.toCharArray();\r\n bm.bm_search(bm_input, bm_pattern);\r\n if (pattern[pattern.length - 1] == i) {\r\n bm.printBM_Comparison();\r\n }\r\n }\r\n long bm_endTime = System.nanoTime();\r\n System.out.println(\"It took: \" + (bm_endTime - bm_startTime) + \" nanoseconds\");\r\n\r\n // Rabin Karp algorithm\r\n System.out.println(\"\\t\\t\\t\\t\\tRABIN KARP ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n RKA_Search rk = new RKA_Search();\r\n int q = 101;\r\n long rk_startTime = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n rk.rka_search(pattern[i], input_upper, q);\r\n if (i == pattern.length - 1) {\r\n rk.printRKA_Comparison();\r\n }\r\n }\r\n long rk_endTime = System.nanoTime();\r\n System.out.println(\"It took: \" + (rk_endTime - rk_startTime) + \" nanoseconds\");\r\n System.out.println();\r\n System.out.println(\"************************* OUTPUT OF SECOND INPUT FILE: *******************************\");\r\n // Brute Force algorithm\r\n System.out.println();\r\n // System.out.println();\r\n System.out.println(\"\\t\\t\\t\\t\\tBRUTE FORCE ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n BF_Search bf2 = new BF_Search();\r\n long bf_startTime1 = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n bf.brute_force_search(input_upper2, pattern[i]);\r\n }\r\n long bf_endTime2 = System.nanoTime();\r\n bf2.printBF_Comparison();\r\n System.out.println(\"It took: \" + (bf_endTime2 - bf_startTime1) + \" nanoseconds\");\r\n\r\n // Knuth Moris Pratt algorithm\r\n System.out.println(\"\\t\\t\\t\\t\\tKNUTH MORIS PRATT ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n KMP_Search kmp2 = new KMP_Search();\r\n long kmp_startTime1 = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n kmp2.KMPSearch(pattern[i], input_upper2);\r\n if (i == pattern.length - 1) {\r\n kmp2.printKM_Comparisons();\r\n }\r\n }\r\n long kmp_endTime2 = System.nanoTime();\r\n System.out.println(\"It took: \" + (kmp_endTime2 - kmp_startTime1) + \" nanoseconds\");\r\n\r\n // Boyer Moore algorithm\r\n System.out.println(\"\\t\\t\\t\\t\\tBOYER MOORE ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n BM_Search bm2 = new BM_Search();\r\n char[] bm_input2 = input_upper.toCharArray();\r\n char[] bm_pattern2 = new char[] {};\r\n long bm_startTime1 = System.nanoTime();\r\n for (String i : pattern) {\r\n bm_pattern2 = i.toCharArray();\r\n bm.bm_search(bm_input2, bm_pattern2);\r\n if (pattern[pattern.length - 1] == i) {\r\n bm2.printBM_Comparison();\r\n }\r\n }\r\n long bm_endTime2 = System.nanoTime();\r\n System.out.println(\"It took: \" + (bm_endTime2 - bm_startTime1) + \" nanoseconds\");\r\n\r\n // Rabin Karp algorithm\r\n System.out.println(\"\\t\\t\\t\\t\\tRABIN KARP ALGORITHM:\");\r\n System.out.println(\"=====================================================================================\");\r\n RKA_Search rk2 = new RKA_Search();\r\n int q2 = 101;\r\n long rk_startTime1 = System.nanoTime();\r\n for (int i = 0; i < pattern.length; i++) {\r\n rk2.rka_search(pattern[i], input_upper2, q2);\r\n if (i == pattern.length - 1) {\r\n rk2.printRKA_Comparison();\r\n }\r\n }\r\n long rk_endTime2 = System.nanoTime();\r\n System.out.println(\"It took: \" + (rk_endTime2 - rk_startTime1) + \" nanoseconds\");\r\n }"
] | [
"0.5947571",
"0.57600784",
"0.57491827",
"0.5697381",
"0.56681335",
"0.5595514",
"0.5575961",
"0.55382633",
"0.553699",
"0.5448886",
"0.54203707",
"0.5417544",
"0.5388387",
"0.5335074",
"0.5283909",
"0.5269798",
"0.5268983",
"0.5262222",
"0.52543926",
"0.5225469",
"0.5223512",
"0.5210532",
"0.52095383",
"0.52040946",
"0.519354",
"0.51727635",
"0.5169266",
"0.516917",
"0.5163474",
"0.5143422",
"0.5139047",
"0.51327217",
"0.5129607",
"0.51251185",
"0.5124843",
"0.51111764",
"0.50981843",
"0.5090778",
"0.50889957",
"0.50813293",
"0.5061854",
"0.50604546",
"0.50574446",
"0.5054586",
"0.50494486",
"0.50457346",
"0.5014073",
"0.5000043",
"0.49958366",
"0.49950987",
"0.49931633",
"0.49925026",
"0.49845946",
"0.49743223",
"0.49736777",
"0.496759",
"0.49658024",
"0.49638516",
"0.4961493",
"0.49586022",
"0.4955349",
"0.49419293",
"0.49388093",
"0.4938534",
"0.4938137",
"0.49346682",
"0.4933699",
"0.49334243",
"0.49316213",
"0.49274358",
"0.49234486",
"0.4920385",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49194634",
"0.49183607",
"0.49181378",
"0.49131805",
"0.49127027",
"0.49118975",
"0.4910714",
"0.49081233",
"0.48927256",
"0.48888534",
"0.48863629",
"0.48856512",
"0.48796952",
"0.48781887",
"0.48747504",
"0.48716587",
"0.48716134",
"0.48695815",
"0.48681816",
"0.48652148",
"0.4858777",
"0.48578835"
] | 0.0 | -1 |
Checks the state of media storage. True if mounted; | private boolean isStorageAvailable(){
return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isMounted();",
"private boolean isExternalStorageAvailable() {\n String state = Environment.getExternalStorageState();\n return state.equals(Environment.MEDIA_MOUNTED);\n }",
"private void checkState() {\n\tstate=Environment.getExternalStorageState();\n // now cheak what state is if we can access to sd card or not\n if (state.equals(Environment.MEDIA_MOUNTED))//MEDIA_MOUNTED it mean we can read and write\n {\t\n\t CanR=CanW=true;\n }\n else if (state.equals(Environment.MEDIA_MOUNTED_READ_ONLY))\n { // read but not write\n \t\n\t\tCanW=false;\n\t\tCanR=true;}\n\t\telse \n\t\t\t//it can't read or write\n\t\t{\n\t\tCanR=CanW=false;}\n\t\n}",
"public boolean checkSDCard() {\n String isSDSupportedDevice = Environment.getExternalStorageState(new File(EXTERNAL_SD_CARD));\n if(isSDSupportedDevice.equals(\"mounted\")) {\n return true;\n }\n else {\n return false;\n }\n }",
"public static boolean checkSDCard() {\n\t\ttry {\n\t\t\tfinal String status = Environment.getExternalStorageState();\n\t\t\tif (status.equals(Environment.MEDIA_MOUNTED)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\t}",
"public Boolean checkifItHasExternalMemory() {\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"public boolean isStorageCardValid() {\n return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);\n }",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"private static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"private static boolean hasWritableSd(Context context){\n File[] paths = context.getExternalFilesDirs(null);\n if(paths.length > 1){\n String state = Environment.getExternalStorageState(paths[1]);\n return state.equals(Environment.MEDIA_MOUNTED);\n }\n return false;\n }",
"private boolean isExternalStorageWritable(){\r\n if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {\r\n Log.i(\"State\", \"Yes, it is writable!\");\r\n return true;\r\n } else{\r\n return false;\r\n }\r\n }",
"public boolean isExternalStorageReadable(){\n String state = Environment.getExternalStorageState();\n if(Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)){\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable(){\n String state = Environment.getExternalStorageState();\n if(Environment.MEDIA_MOUNTED.equals(state)){\n return true;\n }\n return false;\n }",
"private void checkState() {\n\tstate = Environment.getExternalStorageState();\n\t\t\n\t\tif(state.equals(Environment.MEDIA_MOUNTED)){\n\t\t\t//read and write\n\t\tcanRead.setText(\"true\");\n\t\t\tcanWrite.setText(\"true\");\n\t\t\tcanW = canR = true;\n\t\t\t\n\t\t}else if (state.equals(Environment.MEDIA_MOUNTED_READ_ONLY)){\n\t\t\t// read only \n\t\t\tcanRead.setText(\"true\");\n\t\t\tcanWrite.setText(\"false\");\n\t\t\tcanW = false;\n\t\t\tcanR = true;\n\n\t\t}else {\n\t\t\tcanWrite.setText(\"false\");\n\t\t\tcanRead.setText(\"false\");\n\t\t\tcanW = canR = false;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"public boolean checkSDCard(File path) {\n String isSDSupportedDevice = Environment.getExternalStorageState(path);\n if(isSDSupportedDevice.equals(\"mounted\")) {\n return true;\n }\n else {\n return false;\n }\n }",
"boolean isDiskImageMounted() {\n return (getMountedDiskImageFileUri() != null);\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state);\n }",
"public static boolean checkSDCardAvailable() {\n return Environment.getExternalStorageState().equals(\n Environment.MEDIA_MOUNTED);\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n return (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state));\n }",
"public boolean isExternalStorageWritable() {\r\n\t String state = Environment.getExternalStorageState();\r\n\t if (Environment.MEDIA_MOUNTED.equals(state)) {\r\n\t return true;\r\n\t }\r\n\t return false;\r\n\t}",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public static boolean isExternalStorageReadable() {\r\n\t String state = Environment.getExternalStorageState();\r\n\t if (Environment.MEDIA_MOUNTED.equals(state) ||\r\n\t Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\r\n\t return true;\r\n\t }\r\n\t return false;\r\n\t}",
"public boolean checkAvailability(Media media) {\n\t\t return false;\n\t }",
"public boolean isExternalStorageReadable() {\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)\n\t\t\t\t|| Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isExternalStorageReadable() {\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)\n\t\t\t\t|| Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"@Override\n public boolean isStorageConnected() {\n return true;\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state))\n return true;\n\n return false;\n }",
"public boolean isExternalStorageWritable() {\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isExternalStorageWritable() {\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isSDCardPresent() {\n if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {\n return true;\n }\n return false;\n }",
"public static boolean isExternalStorageWritable() {\n try {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n else\n {\n return false;\n }\n\n }\n catch (Exception ex)\n {\n return false;\n }\n }",
"public static boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n return (Environment.MEDIA_MOUNTED.equals(state) || Environment.MEDIA_MOUNTED_READ_ONLY.equals(state));\n }",
"public static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"public static boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state);\n }",
"public static boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state);\n }",
"boolean isMountedDiskImageReadOnly() {\n return (isDiskImageMounted() && isMountedDiskImageReadOnly);\n }",
"public static boolean isExternalStorageReadable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state) ||\n Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"public static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"public static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"static public boolean hasStorage(boolean requireWriteAccess) {\n String state = Environment.getExternalStorageState();\n Log.v(TAG, \"storage state is \" + state);\n\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n if (requireWriteAccess) {\n boolean writable = checkFsWritable();\n Log.v(TAG, \"storage writable is \" + writable);\n return writable;\n } else {\n return true;\n }\n } else if (!requireWriteAccess && Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n return true;\n }\n return false;\n }",
"public void onMediaMounted() {\n if (!this.mSpecificArchivesProvided) {\n findArchiveFiles();\n }\n }",
"public boolean hasMediaAssetFileHolder() {\n return instance.hasMediaAssetFileHolder();\n }",
"private boolean prepare() {\r\n\t\tif (!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {\r\n\t\t\tLog.e(TAG,\"External media not ready.\");\r\n\t\t\tisReady = false;\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tisReady = true;\t\t\r\n\t\tdirectory = parent.getExternalFilesDir(Environment.DIRECTORY_PICTURES);\r\n\t\treturn true;\r\n\t}",
"public static boolean isExternalStorageWritable()\n\t{\n\t\tString state = Environment.getExternalStorageState();\n\t\tif (Environment.MEDIA_MOUNTED.equals(state))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isUsbMassStorageConnected() throws RemoteException;",
"public boolean hasMediaAssetFileHolder() {\n return mediaAssetFileHolder_ != null;\n }",
"public static boolean isSDCardAvailable() {\n return android.os.Environment.\n getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED);\n }",
"boolean hasMediaFile();",
"public boolean start() {\n if (!isExternalStorageWritable()) {\n Log.e(TAG, \"Writing to external media is not possible\");\n return false;\n }\n synchronized (lock) {\n isRunning = true;\n }\n return true;\n }",
"boolean hasVolume();",
"boolean hasStorageConfig();",
"public boolean canWrite() {\n\t\treturn Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState());\n\t}",
"public static boolean isSdcardExist() {\n return android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED);\n }",
"boolean needsStoragePermission();",
"boolean hasItemStorage();",
"public static boolean canWriteOnExternalStorage() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean checkPermissionStorage() {\n\n boolean isPermissionGranted = true;\n\n int permissionStorage = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n if (permissionStorage != PackageManager.PERMISSION_GRANTED)\n {\n isPermissionGranted = false;\n }\n\n return isPermissionGranted;\n }",
"public boolean hasAppsAccessingStorage() {\n try {\n String extStoragePath = Environment.getExternalStorageDirectory().toString();\n IMountService mountService = getMountService();\n int stUsers[] = mountService.getStorageUsers(extStoragePath);\n if (stUsers != null && stUsers.length > 0) {\n return true;\n }\n List<ApplicationInfo> list = mActivityManager.getRunningExternalApplications();\n if (list != null && list.size() > 0) {\n return true;\n }\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n return false;\n }",
"public static boolean hasStorage(boolean requireWriteAccess) {\n\t\tString state = Environment.getExternalStorageState();\n\n\t\tif (Environment.MEDIA_MOUNTED.equals(state)) {\n\t\t\treturn true;\n\t\t} else if (!requireWriteAccess && Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isStorageCardReadOnly() {\n return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED_READ_ONLY);\n }",
"public boolean isExternalStorageEmulated() throws RemoteException;",
"public boolean isUsbMassStorageConnected() throws RemoteException {\n Parcel _data = Parcel.obtain();\n Parcel _reply = Parcel.obtain();\n boolean _result;\n try {\n _data.writeInterfaceToken(DESCRIPTOR);\n mRemote.transact(Stub.TRANSACTION_isUsbMassStorageConnected, _data, _reply, 0);\n _reply.readException();\n _result = 0 != _reply.readInt();\n } finally {\n _reply.recycle();\n _data.recycle();\n }\n return _result;\n }",
"public void startWatchingExternalStorage() {\n\t updateExternalStorageState(Environment.getExternalStorageState());\n\t\tmExternalStorageReceiver = new BroadcastReceiver() {\n\t\t\t@Override\n\t\t\tpublic void onReceive(Context context, Intent intent) {\n\t\t\t String action = intent.getAction();\n\t\t\t\tupdateExternalStorageState(action);\n\t\t synchronized (mObservers) {\n\t\t for (SdcardObserver observer : mObservers)\n\t\t observer.onSdcardChanged();\n\t\t }\n\t\t\t}\n\t\t};\n\t\tIntentFilter filter = new IntentFilter();\n\t\tfilter.addAction(Intent.ACTION_MEDIA_MOUNTED);\n\t\tfilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED);\n\t\tfilter.addDataScheme(\"file\");\n\t\tmApplicationContext.registerReceiver(mExternalStorageReceiver, filter);\n\t}",
"private boolean verifyStoragePermissions(Activity activity)\n {\n boolean permissionCheck = false;\n // Check if we have write permission\n int permission = ActivityCompat.checkSelfPermission(activity, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n if (permission != PackageManager.PERMISSION_GRANTED)\n {\n // We don't have permission so prompt the user\n ActivityCompat.requestPermissions(\n activity,\n PERMISSIONS_STORAGE,\n REQUEST_EXTERNAL_STORAGE\n );\n permissionCheck = false;\n }\n else\n {\n permissionCheck = true;\n }\n return permissionCheck;\n }",
"public boolean isValid() {\n return media.isValid();\n }",
"protected boolean checkFileSystem() {\n if (this.fsOk && fs != null) {\n try {\n FSUtils.checkFileSystemAvailable(fs);\n } catch (IOException e) {\n LOG.fatal(\"Shutting down HRegionServer: file system not available\", e);\n abort();\n fsOk = false;\n }\n }\n return this.fsOk;\n }",
"private boolean isReadStorageAllowed() {\n //Getting the permission status\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE);\n\n //If permission is granted returning true\n if (result == PackageManager.PERMISSION_GRANTED)\n return true;\n\n //If permission is not granted returning false\n return false;\n }",
"private boolean ensureSDCardAccess() {\n File file = new File(mScreenshotPath);\n if (file.exists()) {\n return true;\n } else if (file.mkdirs()) {\n return true;\n }\n return false;\n }",
"public static boolean isSDcardExist() {\n\t\tboolean isExist = false;\n\t\ttry {\n\t\t\tif (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {\n\t\t\t\tisExist = true;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn isExist;\n\n\t}",
"public boolean isExternalStorageEmulated() throws RemoteException {\n Parcel _data = Parcel.obtain();\n Parcel _reply = Parcel.obtain();\n boolean _result;\n try {\n _data.writeInterfaceToken(DESCRIPTOR);\n mRemote.transact(Stub.TRANSACTION_isExternalStorageEmulated, _data, _reply, 0);\n _reply.readException();\n _result = 0 != _reply.readInt();\n } finally {\n _reply.recycle();\n _data.recycle();\n }\n return _result;\n }",
"private boolean isReadStorageAllowed() {\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE);\n int write = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n //If permission is granted returning true\n if (result == PackageManager.PERMISSION_GRANTED && write == PackageManager.PERMISSION_DENIED) {\n return true;\n } else {\n\n //If permission is not granted returning false\n return false;\n }\n }",
"protected boolean checkFileSystem() {\n if (fsOk) {\n try {\n FSUtils.checkFileSystemAvailable(fs);\n } catch (IOException e) {\n LOG.fatal(\"Shutting down HBase cluster: file system not available\", e);\n closed.set(true);\n fsOk = false;\n }\n }\n return fsOk;\n }",
"private static boolean checkFsWritable() {\n String directoryName = Environment.getExternalStorageDirectory().toString() + \"/DCIM\";\n File directory = new File(directoryName);\n if (!directory.isDirectory()) {\n if (!directory.mkdirs()) {\n return false;\n }\n }\n return directory.canWrite();\n }",
"public static boolean sdAvailableWrite() {\n\t\tboolean sdAccessWrite = false;\n\n\t\t// Comprobamos el estado de la memoria externa (tarjeta SD)\n\t\tString state = Environment.getExternalStorageState();\n\n\t\tif (state.equals(Environment.MEDIA_MOUNTED)) {\n\t\t\tsdAccessWrite = true;\n\t\t} else if (state.equals(Environment.MEDIA_MOUNTED_READ_ONLY)) {\n\t\t\tsdAccessWrite = false;\n\t\t} else {\n\t\t\tsdAccessWrite = false;\n\t\t}\n\t\treturn sdAccessWrite;\n\t}",
"private boolean isReadStorageAllowed() {\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n //If permission is granted returning true\n if (result == PackageManager.PERMISSION_GRANTED)\n return true;\n\n //If permission is not granted returning false\n return false;\n }",
"void onStorageVolumeMounted(@NonNull String volumeUuid, boolean fingerprintChanged);",
"@SuppressLint(\"NewApi\")\n\tpublic static boolean isExternalStorageRemovable() {\n\t\t// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {\n\t\t// return Environment.isExternalStorageRemovable();\n\t\t// }\n\t\treturn true;\n\t}",
"public void verifyStoragePermissions() {\n int permission = ActivityCompat.checkSelfPermission(ChatActivity.this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n if (permission != PackageManager.PERMISSION_GRANTED) {\n // We don't have permission so prompt the user\n ActivityCompat.requestPermissions(\n ChatActivity.this,\n PERMISSIONS_STORAGE,\n REQUEST_EXTERNAL_STORAGE\n );\n } else {\n // we already have permission, lets go ahead and call camera intent\n dispatchTakePictureIntent();\n }\n }",
"public boolean isAudioPlaying() {\n\t\tif (android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED)) {\n\t\t\treturn mPlayer.isPlaying();\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}"
] | [
"0.7558361",
"0.7224702",
"0.7213548",
"0.6946996",
"0.68457884",
"0.68046165",
"0.6787727",
"0.6752622",
"0.6752622",
"0.6752622",
"0.6738265",
"0.6738265",
"0.6738265",
"0.6710577",
"0.6676355",
"0.6662765",
"0.66496813",
"0.6646812",
"0.66362506",
"0.6624332",
"0.6606453",
"0.6592785",
"0.65621215",
"0.65605205",
"0.65602696",
"0.65585",
"0.65585",
"0.65585",
"0.65585",
"0.65585",
"0.65585",
"0.655494",
"0.6552045",
"0.65381545",
"0.65229505",
"0.65223163",
"0.65223163",
"0.65110815",
"0.65110815",
"0.65110815",
"0.65110815",
"0.65110815",
"0.6507181",
"0.6503855",
"0.6503855",
"0.6503855",
"0.6493437",
"0.6485707",
"0.6485707",
"0.6482167",
"0.6447998",
"0.64279366",
"0.6423076",
"0.6422979",
"0.6422979",
"0.6421071",
"0.6415949",
"0.6378025",
"0.6378025",
"0.6378025",
"0.63723576",
"0.63646555",
"0.6341198",
"0.63318545",
"0.63101095",
"0.62743",
"0.6210879",
"0.6208327",
"0.61994535",
"0.61796975",
"0.6137831",
"0.6111302",
"0.60873914",
"0.60430104",
"0.604152",
"0.60307676",
"0.5980206",
"0.5950868",
"0.5936622",
"0.5921155",
"0.59182715",
"0.5917175",
"0.58946085",
"0.58833796",
"0.58699894",
"0.58659977",
"0.585935",
"0.58365077",
"0.58313185",
"0.5791674",
"0.5771791",
"0.5768169",
"0.57677424",
"0.5764804",
"0.57496625",
"0.5725788",
"0.57157224",
"0.5709318",
"0.5686896",
"0.56790036"
] | 0.75973254 | 0 |
Reads song list from media storage. | private ArrayList<Song> songList(){
ArrayList<Song> songs = new ArrayList<Song>();
if(!isStorageAvailable()){
Toast.makeText(this, R.string.nosd, Toast.LENGTH_SHORT).show();
return songs;
}
Cursor music = getContentResolver().query( // using content resolver to read music from media storage
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
new String[]{
MediaStore.Audio.Media.ARTIST,
MediaStore.Audio.Media.ALBUM,
MediaStore.Audio.Media.DISPLAY_NAME,
MediaStore.Audio.Media.DATA},
MediaStore.Audio.Media.IS_MUSIC + " > 0 ",
null, null
);
if (music.getCount() > 0){
music.moveToFirst();
Song previous = null;
do{
Song song = new Song(music.getString(0), music.getString(1), music.getString(2), music.getString(3));
if (previous != null) {
previous.setNext(song);
song.setPrevious(previous);
}
previous = song;
songs.add(song);
}
while(music.moveToNext());
previous.setNext(songs.get(0));
}
music.close();
songs.get(0).setPrevious(songs.get(songs.size()-1));
songs.get(songs.size()-1).setNext(songs.get(0));
return songs;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void getSongList() {\n\t\t// retrieve song info\n\t\tsongList = new ArrayList<Song>();\n\t\tContentResolver musicResolver = getContentResolver();\n\t\tUri musicUri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n\t\tCursor musicCursor = musicResolver.query(musicUri, null, null, null,\n\t\t\t\tnull);\n\n\t\tif (musicCursor != null && musicCursor.moveToFirst()) {\n\t\t\t// get columns\n\t\t\tint titleColumn = musicCursor\n\t\t\t\t\t.getColumnIndex(android.provider.MediaStore.Audio.Media.TITLE);\n\t\t\tint idColumn = musicCursor\n\t\t\t\t\t.getColumnIndex(android.provider.MediaStore.Audio.Media._ID);\n\t\t\tint artistColumn = musicCursor\n\t\t\t\t\t.getColumnIndex(android.provider.MediaStore.Audio.Media.ARTIST);\n\t\t\t// add songs to list\n\t\t\tdo {\n\t\t\t\tlong thisId = musicCursor.getLong(idColumn);\n\t\t\t\tString thisTitle = musicCursor.getString(titleColumn);\n\t\t\t\tString thisArtist = musicCursor.getString(artistColumn);\n\t\t\t\tsongList.add(new Song(thisId, thisTitle, thisArtist));\n\t\t\t} while (musicCursor.moveToNext());\n\n\t\t\tmusicCursor.close();\n\t\t}\n\t}",
"public ArrayList<OfflineSong> getPlayList() {\n System.out.println(MEDIA_PATH);\n if (MEDIA_PATH != null) {\n File home = new File(MEDIA_PATH);\n File[] listFiles = home.listFiles();\n if (listFiles != null && listFiles.length > 0) {\n for (File file : listFiles) {\n System.out.println(file.getAbsolutePath());\n if (file.isDirectory()) {\n scanDirectory(file);\n } else {\n addSongToList(file);\n }\n }\n }\n }\n // return songs list array\n return songsList;\n }",
"public static ArrayList<String> getPlayList(){\n\t\tFile home = new File(MEDIA_PATH);\n\t\tif(home.listFiles(new FileExtensionFilter()).length > 0){\n\t\t\tfor(File file : home.listFiles(new FileExtensionFilter())){\n\t\t\t\tString song = new String();\n\t\t\t\tsong = file.getName().substring(0, (file.getName().length() - 4 )); // - \".mp3\"\t\t\t\t\n\t\t\t\t// Add song\n\t\t\t\tsongsList.add(song);\n\t\t\t}\n\t\t}\n\t\treturn songsList;\n\t}",
"private void getSongs() {\n new SongContent(this, Constants.URL).execute();\n }",
"public ArrayList<Media> getMediaList(){\r\n LocalUser user = LocalUser.getInstance();\r\n return user.getMediaList();\r\n }",
"public List<Song> getAllMusic(Context context) {\n\n String[] columns = new String[]{MediaStore.MediaColumns._ID,\n MediaStore.Audio.Media.TITLE,\n MediaStore.Audio.Artists.ARTIST,\n MediaStore.Audio.Albums.ALBUM,\n MediaStore.Audio.Media.DATA,\n MediaStore.Audio.Media.ALBUM_ID};\n\n return internalExternalQuery(context, columns, null, null);\n }",
"protected void loadSongs(){ \n listItems.clear();\n try{\n FileFilter filter = new FileFilter() {\n @Override\n public boolean accept(File f) {\n if(f.isDirectory())\n return false;\n if(f.getName().endsWith(\".mp3\"))\n return true;\n else\n return false;\n }\n };\n \n songs = dir.listFiles(filter);\n \n for(File file : songs){\n \n if(file.getName().endsWith(\".mp3\")) // file.toString().endsWith(\".mp3\")\n listItems.add(file.getName()); // adding song in observable list //\n }\n songList.getItems().addAll(listItems); // to add in observable listView //\n } catch (Exception e){\n System.out.println(\"Error in loding song\");\n } \n }",
"public ObservableList<Song> songsUrls(File dir) {\n\t\tObservableList<Song> songs = FXCollections.observableArrayList();\n\t\tFile[] files = dir.listFiles();\n\t\tString fileName;\n\t\tint i = 0;\n\t\tfor (File file : files) {\n\n\t\t\tif (file.isFile()) {\n\t\t\t\tfileName = file.getName();\n\n\t\t\t\tif (fileName.endsWith(\"mp3\")) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\ti++;\n\t\t\t\t\t\tMp3File mp3 = new Mp3File(file.getPath());\n\t\t\t\t\t\tID3v2 tag = mp3.getId3v2Tag();\n\t\t\t\t\t\tSong song = new Song(String.valueOf(i), tag.getTitle(), secToMin(mp3.getLengthInSeconds()),\n\t\t\t\t\t\t\t\ttag.getArtist(), tag.getAlbum(), file.getAbsolutePath());\n\t\t\t\t\t\tplaylist.add(createPlayer(file.getAbsolutePath()));\n\t\t\t\t\t\tsongs.add(song);\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ti = 0;\n\t\tSystem.out.println(\"read \" + playlist.size() + \" songs\");\n\t\treturn songs;\n\t}",
"protected void loadMockData() {\n\n int ctr;\n InputStream inputStream = getResources().openRawResource(R.raw.song_list);\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n\n try {\n ctr = inputStream.read();\n while (ctr != -1) {\n byteArrayOutputStream.write(ctr);\n ctr = inputStream.read();\n }\n inputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n // Parse the data.\n try {\n JSONObject jObject = new JSONObject(byteArrayOutputStream.toString());\n\n String status_code = jObject.getString(\"statusCode\");\n\n if (status_code.equalsIgnoreCase(\"200\")) {\n JSONArray jArray = jObject.getJSONArray(\"data\");\n\n audioList = new ArrayList<>();\n\n for (int i = 0; i < jArray.length(); i++) {\n JSONObject song = jArray.getJSONObject(i);\n\n String genre = song.getString(\"genre\");\n String album = song.getString(\"album\");\n String author = song.getString(\"author\");\n String title = song.getString(\"title\");\n String url = song.getString(\"url\");\n String imgUrl = song.getString(\"img\");\n\n Audio audio = new Audio(genre, album, author, title, url, imgUrl);\n\n // Save to audioList.\n audioList.add(audio);\n }\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }",
"public List<Song> parseSongs(String respContent) {\n\t\treturn null;\r\n\t}",
"public ArrayList getSongs() {\r\n\t\tArrayList songs = new ArrayList(mlitDataFields.size());\r\n\t\tfor (int i = 0; i < mlitDataFields.size(); i++) {\r\n\t\t\tArrayList fps = ((ArrayList) mlitDataFields.get(i));\r\n\t\t\tString name = null;\r\n\t\t\tint id = 0;\r\n\t\t\tDaapSong s = new DaapSong();\r\n\t\t\t\ts.host = host;\r\n\t\t\tfor (int j = 0; j < fps.size(); j++) {\r\n\t\t\t\tFieldPair fp = ((FieldPair) fps.get(j));\r\n\t\t\t\tif (fp.name.equals(\"miid\")) {\r\n\t\t\t\t\ts.id = Request.readInt(fp.value, 0, 4);\r\n\t\t\t\t} else if (fp.name.equals(\"minm\")) {\r\n\t\t\t\t\ts.name = Request.readString(fp.value, 0, fp.value.length).trim();\r\n\t\t\t\t} else if (fp.name.equals(\"mper\")) {\r\n\t\t\t\t s.persistent_id = Request.readString(fp.value, 0, fp.value.length).trim();\r\n\t\t\t\t} else if (fp.name.equals(\"asal\")) {\r\n\t\t\t\t\ts.album = Request.readString(fp.value, 0, fp.value.length).trim();\r\n\t\t\t\t} else if (fp.name.equals(\"asar\")) {\r\n\t\t\t\t\ts.artist = Request.readString(fp.value, 0, fp.value.length).trim();\r\n\t\t\t\t} else if (fp.name.equals(\"astn\")) {\r\n\t\t\t\t\ts.track = Request.readInt(fp.value, 0, 2);\r\n\t\t\t\t} else if (fp.name.equals(\"asgn\")) {\r\n\t\t\t\t\ts.genre = Request.readString(fp.value, 0, fp.value.length);\r\n\t\t\t\t} else if (fp.name.equals(\"asfm\")) {\r\n\t\t\t\t\ts.format = Request.readString(fp.value, 0, fp.value.length);\r\n\t\t\t\t} else if (fp.name.equals(\"astm\")) {\r\n\t\t\t\t\ts.time = Request.readInt(fp.value, 0, 4);\r\n\t\t\t\t} else if (fp.name.equals(\"assz\")) {\r\n\t\t\t\t\ts.size = Request.readInt(fp.value, 0, 4);\r\n\t\t\t\t} else if (fp.name.equals(\"asco\")) {\r\n\t\t\t\t s.compilation = (Request.readInt(fp.value, 0,1) == 1);\r\n\t\t\t\t} else if (fp.name.equals(\"asbr\")) {\r\n\t\t\t\t s.bitrate = Request.readInt(fp.value,0,2);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tsongs.add(s);\r\n\t\t}\r\n\t\treturn songs;\r\n\t}",
"public static void loadAllSongs()\n {\n if (JSoundsMainWindowViewController.alreadyPlaying)\n JSoundsMainWindowViewController.stopSong();\n \n JSoundsMainWindowViewController.shutDownPlayer();\n JSoundsMainWindowViewController.isPlaylist=false;\n JSoundsMainWindowViewController.orderBy(false, true, false);\n }",
"public ArrayList<Song> getSongList() {\n\t\treturn songList;\n\t}",
"@Override\r\n\t\tpublic void dmr_playList(List<String> list) throws RemoteException {\n\r\n\t\t\tif (list == null) {\r\n\t\t\t\tUtils.printLog(TAG, \"current dmr playlist is null\");\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tmList = new ArrayList<MediaBean>();\r\n\t\t\tfor (String u : list) {\r\n\t\t\t\tString path = u;\r\n\t\t\t\tUtils.printLog(TAG, \"dmr playlist ---\" + path);\r\n\t\t\t\tMediaBean bean = new MediaBean();\r\n\t\t\t\tbean.mPath = path;\r\n\t\t\t\tif (path.startsWith(\"http\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tpath = URLDecoder.decode(path, \"utf-8\");\r\n\t\t\t\t\t} catch (UnsupportedEncodingException e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tUtils.printLog(TAG, \"URLDecoder path =\" + path);\r\n\t\t\t\t\tbean.mName = Utils.getRealName(path);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbean.mName = Utils.getRealName(path);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmList.add(bean);\r\n\t\t\t}\r\n\t\t\tif (mList != null && mList.size() > 0) {\r\n\t\t\t\tmCurrIndex = 0;\r\n\t\t\t\tif (mVideoContrl != null) {\r\n\t\t\t\t\tmVideoPlayerHander.sendEmptyMessage(PLAYER_URL);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}",
"public void onCreateActivity(){\n\t\tlist_v = (ListView) findViewById(R.id.list_v);\n\t\tappInst = (App) getApplicationContext();\n// File dir = new File(appInst.MUSIC_PATH);\n// String[] files = dir.list();\n\t\tString textSt = \"\";\n// for(String file : files){\n// \ttextSt += (file+\"\\r\\n\");\n// }\n// text.setText(textSt);\n// text.setText(appInst.MUSIC_PATH);\n// text.setText(FileUtils.walk(appInst.MUSIC_PATH));\n// getContentResolver().query(appInst.MUSIC_PATH, projection, selection, selectionArgs, sortOrder)\n\t\tString[] proj = new String[] {\n\t\t\t\tMediaStore.Audio.Media._ID,\n\t\t\t\tMediaStore.Audio.Media.DATA,\n\t\t\t\tMediaStore.Audio.Media.DISPLAY_NAME,\n\t\t\t\tMediaStore.Audio.Media.DURATION,\n\t\t\t\tMediaStore.Audio.Media.ALBUM_ID\n\n\t\t};\n// Log.i(\">>uri\",Uri.fromParts(\"content\", appInst.MUSIC_PATH, null).toString());\n// Log.i(\">>uri\",Uri.parse(appInst.MUSIC_PATH).toString());\n// String where = MediaStore.Audio.Media.MIME_TYPE + \"= 'audio/mpeg'\" + \" AND \"+\n// \t\tMediaStore.Audio.Artists._ID +\" IN (\" +\n// \t\t\t\t\"SELECT \"+MediaStore.Audio.Media.ARTIST_ID+\" FROM AUDIO \"+\n// \t\t\t\t\"WHERE \"+MediaStore.Audio.Media.DATA +\" LIKE ?\" +\n// \t\t\")\";\n\t\tString where = MediaStore.Audio.Media.MIME_TYPE + \"= 'audio/mpeg'\" + \" AND \" +\n\t\t\t\tMediaStore.Audio.Media.DATA + \" LIKE ?\";\n\t\tString[] whereArgs = new String[]{appInst.MUSIC_PATH + \"%\"};\n\t\tCursor curs = appInst.getContentResolver().query(\n\t\t\t\tMediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n// \t\tMediaStore.Audio.Artists.EXTERNAL_CONTENT_URI,\n// \t\tUri.parse(appInst.MUSIC_PATH),\n// \t\tUri.fromParts(\"content\", appInst.MUSIC_PATH, null),\n\t\t\t\tproj,\n// \t\tnull,\n// MediaStore.Audio.Media.MIME_TYPE + \"= 'audio/mpeg'\",\n\t\t\t\twhere,\n\t\t\t\twhereArgs,\n\t\t\t\tMediaStore.Audio.Media._ID);\n\t\tfinal List<Song> songs = new ArrayList<>();\n\t\tif (curs == null) {\n\t\t\tToast.makeText(getApplicationContext(), \"query failed, handle error\", Toast.LENGTH_LONG).show();\n// Log.e(\"Cursor\", \"query failed, handle error\");\n\t\t} else if (!curs.moveToFirst()) {\n\t\t\tToast.makeText(getApplicationContext(), \"no media on the device\", Toast.LENGTH_LONG).show();\n// \tLog.e(\"Cursor\", \"no media on the device\");\n\t\t} else {\n\t\t\tdo {\n// \t\tlong id = curs.getLong(0);\n// \t\tString data = curs.getString(1);\n// \t\tString name = curs.getString(2);\n// \t\tString duration = curs.getString(3);\n// \t\ttextSt += Long.toString(id)+\";\"+data+\";\"+name+\";\"+duration+\"\\r\\n\\r\\n\";\n\t\t\t\tSong s = new Song(curs.getLong(0),curs.getString(1),curs.getString(2),curs.getString(3),curs.getLong(4));\n\t\t\t\tsongs.add(s);\n\t\t\t\tLog.i(\"song\"+s.getId(),\"data:\"+s.getData()+\";name:\"+s.getName()+\";duration:\"+s.getDuration());\n\t\t\t}while(curs.moveToNext());\n\t\t}\n\n\t\tLog.i(\"info\",\"size:\"+songs.size());\n\n\n// text.setText(textSt);\n// final AdapterPlaylistItem adapter = new AdapterPlaylistItem(this, R.layout.adapter_song, songs);\n\t\tfinal AdapterPlaylistItem adapter = new AdapterPlaylistItem(this, R.layout.adapter_song, songs);\n\t\tlist_v.setAdapter(adapter);\n\t\tlist_v.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, final View view, final int position, long id) {\n//\t\t\t\tSong s = songs.get(position);\n//\t\t\t\tToast.makeText(appInst,\n//\t\t\t\t\t \"Click ListItem path \" + s.getData()+\"; duration:\"+s.getDuration(), Toast.LENGTH_LONG)\n//\t\t\t\t\t .show();\n\t\t\t\tfinal Song item = (Song)parent.getItemAtPosition(position);\n\t\t\t\tview.animate()\n\t\t\t\t\t\t.setDuration(2000)\n\t\t\t\t\t\t.alpha(0)\n\t\t\t\t\t\t.withEndAction(new Runnable() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tsongs.remove(position);\n\t\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\n\t\t\t\t\t\t\t\tview.setAlpha(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\tInteger.parseInt(\"adb\");\n\t\t\t}\n\n\t\t});\n\t}",
"public Music loadMusic(String fileName);",
"public List<Song> allSongs() {\n return songRepository.findAll();\n }",
"private void readFileList(String mediaType){\n Log.v(TAG,\"Context = \" + mContext);\n Uri uri = null;\n if(mediaType.equals(IMAGE)) {\n uri = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;\n }\n else if(mediaType.equals(VIDEO)){\n uri = android.provider.MediaStore.Video.Media.EXTERNAL_CONTENT_URI;\n }\n\n if(uri == null){\n Log.v(TAG, \"ERROR: Media type error\");\n return;\n }\n else {\n String[] projection = {MediaStore.MediaColumns._ID, MediaStore.MediaColumns.DATA\n , MediaStore.MediaColumns.DISPLAY_NAME, MediaStore.MediaColumns.SIZE};\n\n Cursor cursor = mContext.getContentResolver().query(uri, projection, null, null, null);\n while (cursor != null && cursor.moveToNext()) {\n int column_index_data = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DATA);\n String data = cursor.getString(column_index_data);\n int column_index_id = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns._ID);\n int fileId = cursor.getInt(column_index_id);\n String displayName = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DISPLAY_NAME));\n long fileSize = cursor.getLong(cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.SIZE));\n\n //Get information of files in friendsCameraSample folder\n if (data.contains(\"friendsCameraSample\")) {\n HashMap<String, String> info = new HashMap<>();\n info.put(OSCParameterNameMapper.FileInfo.NAME, displayName);\n info.put(OSCParameterNameMapper.FileInfo.URL, data);\n info.put(OSCParameterNameMapper.FileInfo.SIZE, String.valueOf(fileSize));\n adapter.addItem(info, fileId);\n adapter.notifyDataSetChanged();\n }\n }\n }\n }",
"public List<Song> getAllSongs(){\n\t\treturn this.songRepo.findAll();\n\t}",
"public List<MediaFile> list() {\n\t\treturn (doc != null ? listFeed() : listHtml());\n\t}",
"public ArrayList<SongInfo> getSongInfoList()\n {\n return songInfos;\n }",
"@Override\n protected Void doInBackground(String... params) {\n \tdbHelper = new DBAccessHelper(mContext);\n \tString selection = DBAccessHelper.SONG_SOURCE + \"<>\" + \"'GOOGLE_PLAY_MUSIC'\";\n \tString[] projection = { DBAccessHelper._ID, \n \t\t\t\t\t\t\tDBAccessHelper.SONG_FILE_PATH,\n \t\t\t\t\t\t\tDBAccessHelper.SONG_ALBUM,\n \t\t\t\t\t\t\tDBAccessHelper.SONG_ARTIST, \n \t\t\t\t\t\t\tDBAccessHelper.SONG_TITLE };\n \t\n \tCursor cursor = dbHelper.getWritableDatabase().query(DBAccessHelper.MUSIC_LIBRARY_TABLE, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t projection, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t selection, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t null, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t null, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t null, \n\t\t\t\t \t\t\t\t\t\t\t\t\t\t null);\n \t\n \tif (cursor.getCount()!=0) {\n \t\t\n \t\tcursor.moveToFirst();\n \t\tdataURIsList.add(cursor.getString(1));\n \t\talbumsList.add(cursor.getString(2));\n \t\tartistsList.add(cursor.getString(3));\n \t\t\n \t\twhile(cursor.moveToNext()) {\n \t\t\t\n \t\t\tdataURIsList.add(cursor.getString(1));\n \t\talbumsList.add(cursor.getString(2));\n \t\tartistsList.add(cursor.getString(3));\n \t\t}\n \t\t\n \t} else {\n \t\t//The user doesn't have any music so let's get outta here.\n \t\treturn null;\n \t}\n \t\n \tpd.setMax(dataURIsList.size());\n \t \t\n \t//Now that we have the attributes of the songs, we'll go through them each and check for missing covers.\n \tfor (int i=0; i < dataURIsList.size(); i++) {\n \t\t\n \t\ttry {\n \t\t\tfile = new File(dataURIsList.get(i));\n \t\t} catch (Exception e) {\n \t\t\tcontinue;\n \t\t}\n\n \t\taudioFile = null;\n\t\t\ttry {\n\t\t\t\taudioFile = AudioFileIO.read(file);\n\t\t\t} catch (CannotReadException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tcontinue;\n\t\t\t} catch (IOException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tcontinue;\n\t\t\t} catch (TagException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tcontinue;\n\t\t\t} catch (ReadOnlyFileException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tcontinue;\n\t\t\t} catch (InvalidAudioFrameException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n \t\tTag tag = audioFile.getTag();\n \t\t\n\t //Set the destination directory for the xml file.\n\t File SDCardRoot = Environment.getExternalStorageDirectory();\n\t File xmlFile = new File(SDCardRoot,\"albumArt.xml\");\n \t\t\n\t if (tag!=null) {\n\t \t\n \t\t\tString title = tag.getFirst(FieldKey.TITLE);\n \t\tString checkingMessage = mContext.getResources().getString(R.string.checking_if)\n \t\t\t\t\t\t\t + \" \" \n \t\t\t\t\t\t\t + title \n \t\t\t\t\t\t\t + \" \" \n \t\t\t\t\t\t\t + mContext.getResources().getString(R.string.has_album_art)\n \t\t\t\t\t\t\t + \".\";\n \t\t\n \t\tcurrentProgress = currentProgress + 1;\n\t \t\tString[] checkingProgressParams = { checkingMessage, \"\" + currentProgress };\n\t \t\tpublishProgress(checkingProgressParams);\n\t \t\n\t \tList<Artwork> artworkList = tag.getArtworkList();\n\t \t\n\t \t\tif (artworkList.size()==0) {\n\n\t \t\t\t//Since the file doesn't have any album artwork, we'll have to download it.\n\t \t\t\t//Get the artist and album name of the file we're working with.\n\t \t\t\tString artist = tag.getFirst(FieldKey.ARTIST);\n\t \t\t\tString album = tag.getFirst(FieldKey.ALBUM);\n\t \t\t\t\n\t \t\t\t//Update the progress dialog.\n\t \t\t\tString message = mContext.getResources().getString(R.string.downloading_artwork_for) + \" \" + title;\n\t \t\t\tString[] progressParams = { message, \"\" + currentProgress };\n\t \t\t\tpublishProgress(progressParams);\n\t \t\t\t\n\t \t\t\t//Remove any unacceptable characters.\n\t \t\t\tif (artist.contains(\"#\")) {\n\t \t\t\t\tartist = artist.replace(\"#\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (artist.contains(\"$\")) {\n\t \t\t\t\tartist = artist.replace(\"$\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (artist.contains(\"@\")) {\n\t \t\t\t\tartist = artist.replace(\"@\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (album.contains(\"#\")) {\n\t \t\t\t\talbum = album.replace(\"#\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (album.contains(\"$\")) {\n\t \t\t\t\talbum = album.replace(\"$\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (album.contains(\"@\")) {\n\t \t\t\t\talbum = album.replace(\"@\", \"\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\t//Replace any spaces in the artist and album fields with \"%20\".\n\t \t\t\tif (artist.contains(\" \")) {\n\t \t\t\t\tartist = artist.replace(\" \", \"%20\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\tif (album.contains(\" \")) {\n\t \t\t\t\talbum = album.replace(\" \", \"%20\");\n\t \t\t\t}\n\t \t\t\t\n\t \t \t//Construct the url for the HTTP request.\n\t \t \tURL url = null;\n\t \t\t\ttry {\n\t \t\t\t\turl = new URL(\"http://itunes.apple.com/search?term=\" + artist + \"+\" + album + \"&entity=album\");\n\t \t\t\t} catch (MalformedURLException e1) {\n\t \t\t\t\t// TODO Auto-generated catch block\n\t \t\t\t\tcontinue;\n\t \t\t\t}\n\t \n\t \t\t\tString xml = null;\n\t \t \ttry {\n\t \t \t\t\n\t \t\t \t//Create a new HTTP connection.\n\t \t\t HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();\n\t \t\t\n\t \t\t urlConnection.connect();\n\t \t\t \n\t \t\t //Check if albumArt.xml already exists and delete it.\n\t \t\t if (xmlFile.exists()) {\n\t \t\t \txmlFile.delete();\n\t \t\t }\n\t \t\t \n\t \t\t //Create the OuputStream that will be used to store the downloaded data into the file.\n\t \t\t FileOutputStream fileOutput = new FileOutputStream(xmlFile);\n\t \t\t\n\t \t\t //Create the InputStream that will read the data from the HTTP connection.\n\t \t\t InputStream inputStream = urlConnection.getInputStream();\n\t \t\t \n\t \t\t //Total size of target file.\n\t \t\t int totalSize = urlConnection.getContentLength();\n\t \t\t\n\t \t\t //Temp variable that stores the number of downloaded bytes.\n\t \t\t int downloadedSize = 0;\n\t \t\t\n\t \t\t //Create a buffer to store the downloaded bytes.\n\t \t\t buffer = new byte[1024];\n\t \t\t int bufferLength = 0;\n\n\t \t\t //Now read through the buffer and write the contents to the file.\n\t \t\t while((bufferLength = inputStream.read(buffer)) > 0 ) {\n\t \t\t fileOutput.write(buffer, 0, bufferLength);\n\t \t\t downloadedSize += bufferLength;\n\t \t\t\n\t \t\t }\n\t \t\t \n\t \t\t //Close the File Output Stream.\n\t \t\t fileOutput.close();\n\n\t \t \t} catch (MalformedURLException e) {\n\t \t \t\t//TODO Auto-generated method stub\n\t \t \t\tcontinue;\n\t \t \t} catch (IOException e) {\n\t \t \t\t// TODO Auto-generated method stub\n\t \t \t\tcontinue;\n\t \t \t}\n\t \t \t\n\t \t \t//Load the XML file into a String variable for local use.\n\t \t \tString xmlAsString = null;\n\t \t\t\ttry {\n\t \t\t\t\txmlAsString = FileUtils.readFileToString(xmlFile);\n\t \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\t}\n\t \t\t\t\n\t \t\t\t//Extract the albumArt parameter from the XML file.\n\t \t\t\tartworkURL = StringUtils.substringBetween(xmlAsString, \"\\\"artworkUrl100\\\":\\\"\", \"\\\",\");\n\t \t \t\n\t \t\t\tif (artworkURL==null) {\n\t \t\t\t\t\n\t \t\t\t\t//Check and see if a lower resolution image available.\n\t \t\t\t\tartworkURL = StringUtils.substringBetween(xmlAsString, \"\\\"artworkUrl60\\\":\\\"\", \"\\\",\");\n\t \t\t\t\t\n\t \t\t\t\tif (artworkURL==null) {\n\t \t\t\t\t\t//Can't do anything about that here.\n\t \t\t\t\t} else {\n\t \t\t\t\t\t//Replace \"100x100\" with \"600x600\" to retrieve larger album art images.\n\t \t\t\t\t\tartworkURL = artworkURL.replace(\"100x100\", \"600x600\");\n\t \t\t\t\t}\n\t \t\t \t\n\t \t\t\t} else {\n\t \t\t\t\t//Replace \"100x100\" with \"600x600\" to retrieve larger album art images.\n\t \t\t\t\tartworkURL = artworkURL.replace(\"100x100\", \"600x600\");\n\t \t\t\t}\n\t \t\t\t\n\t \t\t\t//If no URL has been found, there's no point in continuing.\n\t \t\t\tif (artworkURL!=null) {\n\t \t\t\t\t\n\t \t\t\tartworkBitmap = null;\n\t \t\t\tartworkBitmap = mApp.getImageLoader().loadImageSync(artworkURL);\n\t \t\t\t\n\t \t \t\tFile artworkFile = new File(Environment.getExternalStorageDirectory() + \"/artwork.jpg\");\n\t \t\t\t\n\t \t \t//Save the artwork.\n\t \t \ttry {\n\t \t \t\t\n\t \t \t\tFileOutputStream out = new FileOutputStream(artworkFile);\n\t \t \t \tartworkBitmap.compress(Bitmap.CompressFormat.JPEG, 90, out);\n\t \t\t\t\t\t\n\t \t \t} catch (Exception e) {\n\t \t \t\te.printStackTrace();\n\t \t \t} finally {\n\t \t \t\t\n\t \t \t\tArtwork artwork = null;\n\t \t\t\t\t\ttry {\n\t \t\t\t\t\t\tartwork = ArtworkFactory.createArtworkFromFile(artworkFile);\n\t \t\t\t\t\t} catch (IOException e) {\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\n\t \t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\tcontinue;\n\t \t\t\t\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\n\t \t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\tcontinue;\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\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\tcontinue;\n\t \t\t\t\t\t} catch (Error e) {\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t \t\t\t\t\t\n\t \t\t\t\t\tif (artwork!=null) {\n\t \t\t\t\t\t\t\n\t \t\t \t\ttry {\n\t \t\t\t\t\t\t//Remove the current artwork field and recreate it.\n\t \t\t \t\t\ttag.deleteArtworkField();\n\t \t\t \t\t\ttag.addField(artwork);\n\t \t\t\t\t\t} catch (Exception e) {\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\n\t \t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\t\tcontinue;\n\t \t\t\t\t\t} catch (Error e) {\n\t \t\t\t\t\t\t\te.printStackTrace();\n\t \t\t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t \t\t\t\t\t\t\tcontinue;\n\t \t\t\t\t\t\t}\n\t \t\t \t\t\n\t \t\t \t\ttry {\n\t \t\t\t\t\t\taudioFile.commit();\n\t \t\t\t\t\t} catch (CannotWriteException e) {\n\t \t\t\t\t\t\t// TODO Auto-generated catch block\n\t \t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t\t\t\t\t\t\t\t\tcontinue;\n\t \t\t\t\t\t} catch (Error e) {\n\t \t\t\t\t\t\t\te.printStackTrace();\n\t \t\t\t\t\t\t\tsetArtworkAsFile(artworkFile, dataURIsList.get(i));\n\t \t\t\t\t\t\t\tcontinue;\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\t\n\t \t \t//Delete the temporary files that we stored during the fetching process.\n\t \t\t \t\tif (artworkFile.exists()) {\n\t \t\t \t\t\tartworkFile.delete();\n\t \t\t \t\t}\n\t \t\t \t\t\n\t \t\t \t\tif (xmlFile.exists()) {\n\t \t\t \t\t\txmlFile.delete();\n\t \t\t \t\t}\n\t \t \t \t\n\t \t\t \t\t//Set the files to null to help clean up memory.\n\t \t\t \t\tartworkBitmap = null;\n\t \t\t \t\taudioFile = null;\n\t \t\t \t\ttag = null;\n\t \t\t \t\txmlFile = null;\n\t \t\t \t\tartworkFile = null;\n\t \t\t \t\t\n\t \t \t\t}\n\n\t \t\t\t}\n\n\t \t\t}\n\t \t\n\t }\n \t\t\n \t}\n \t\n \taudioFile = null;\n \tfile = null;\n \t//System.gc();\n \t\n \treturn null;\n\t \n }",
"@Override\n\tpublic List<Music> findByName(String name) {\n\t\treturn store.readByName(name);\n\t}",
"@GetMapping\n\tpublic List<Song> list(){\n\t\treturn musicAppRepository.findAll();\n\t}",
"List<MediaMetadata> getAll();",
"public MediaList getMediaList() {\n \n MediaList mediaList = mediaPlayerFactory.newMediaList();\n for (int i = 0; i < this.moviesByGenre.size(); i++) {\n mediaList.addMedia(this.moviesByGenre.get(i).path, \n formatRtspStream(this.genre),\n \":no-sout-rtp-sap\",\n \":no-sout-standard-sap\",\n \":sout-all\",\n \":sout-keep\",\n \":ttl=128\");\n }\n\n return mediaList;\n }",
"@Generated(hash = 704467930)\n public List<Music> getMusics() {\n if (musics == null) {\n final DaoSession daoSession = this.daoSession;\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n MusicDao targetDao = daoSession.getMusicDao();\n List<Music> musicsNew = targetDao._queryPlaylist_Musics(id);\n synchronized (this) {\n if (musics == null) {\n musics = musicsNew;\n }\n }\n }\n return musics;\n }",
"public static ArrayList<Song> getAll() {\n ArrayList<Song> songs = new ArrayList<>();\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n conn = DriverManager.getConnection(\"jdbc:mysql://\" + host + \"/\" + db + \"?\" + \"user=\" + user + \"&password=\" + psw );\n\n songStatement = conn.createStatement();\n songResultSet = songStatement.executeQuery(\"SELECT * FROM spotify.track WHERE annotated = 0 LIMIT 0, 25\");\n\n songs = createSongs(songResultSet);\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n close();\n }\n\n return songs;\n }",
"private Map<TooonageVO, String> getAllSongsFromSDCARD(final String voice) {\n voiceRecognitioned = voice;\n\n if (isCancelled()) {\n return null;\n }\n\n final String[] TOOONAGE_PROJECTION = new String[]{MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DISPLAY_NAME, MediaStore.Audio.Media.DATA, MediaStore.Audio.Media.ALBUM_ID,\n MediaStore.Audio.Media.ALBUM, MediaStore.Audio.Media.ARTIST_ID, MediaStore.Audio.Media.ARTIST};\n final Uri allSongsUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;\n final String selection = MediaStore.Audio.Media.IS_MUSIC + \" != 0\";\n\n final Cursor cursor = getContentResolver().query(allSongsUri, TOOONAGE_PROJECTION, selection, null, null);\n\n try {\n\n if (cursor != null) {\n if (cursor.moveToFirst()) {\n do {\n\n if (isCancelled()) {\n return null;\n }\n\n final int songId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media._ID));\n final String songName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DISPLAY_NAME));\n\n final String songPath = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATA));\n\n final int albumId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM_ID));\n final String albumName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));\n\n final int artistId = cursor.getInt(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST_ID));\n final String artistName = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));\n\n if (mUtility.match(artistName, voice) | mUtility.match(albumName, voice) | mUtility.match(songName, voice)) {\n final TooonageVO tooonageVO = new TooonageVO.Builder().artist(artistName).albumn(albumName).song(songName).build();\n tooons.put(tooonageVO, songPath.trim());\n }\n\n } while (cursor.moveToNext());\n }\n }\n } finally {\n cursor.close();\n }\n\n return tooons;\n }",
"@RequestMapping(value = \"/get\", method = RequestMethod.GET)\n public List<Song> getAllSongs() {\n String message = messageSource.getMessage(\"song.get.all\", null,\"locale not found\", Locale.getDefault());\n logger.info(message);\n return songService.findAll();\n }",
"public interface MediaMusicCollection {\n\n public Collection<SongInfo> getAllSongs();\n\n public SenseComponent getComponent(String name);\n\n public Config getConfig(String user);\n\n public SongInfo getFirstSong();\n\n public SongInfo getNextSong();\n\n public SongInfo getSong(int idx);\n\n /**\n * Get song count.\n * @return number of songs in library.\n */\n public int getSongCount();\n\n /**\n * Get a shuffled list of songs. The list is reshuffled each time\n * this method is called, unless shuffle is false.\n * @param reshuffle If true then the list will be reshuffled.\n * @return list of songs in music collection, in random order.\n */\n public ArrayList<SongInfo> getShuffledSongs(boolean reshuffle);\n\n}",
"private ArrayList<String> getTrackPathList() {\n String MEDIA_TRACKS_PATH = \"CuraContents/tracks\";\n File fileTracks = new File(Environment.getExternalStorageDirectory(), MEDIA_TRACKS_PATH);\n if (fileTracks.isDirectory()) {\n File[] listTracksFile = fileTracks.listFiles();\n ArrayList<String> trackFilesPathList = new ArrayList<>();\n for (File file1 : listTracksFile) {\n trackFilesPathList.add(file1.getAbsolutePath());\n }\n return trackFilesPathList;\n }\n return null;\n }",
"public List<Song> getSongInfo(int songid) {\n\t\treturn sd.getSonginfo(songid);\r\n\t}",
"private void allSongsInPlaylist()\r\n {\r\n clear();\r\n\r\n listAllPlaylists();\r\n\r\n System.out.print(\"Indtast PlayList Id: \");\r\n int sc = new Scanner(System.in, \"ISO-8859-1\").nextInt();\r\n\r\n\r\n try\r\n {\r\n ArrayList<Song> songs = pmgr.getSongsInPlaylist(sc);\r\n\r\n clear();\r\n printSongHeader();\r\n for (Song s : songs)\r\n {\r\n System.out.println(s);\r\n }\r\n }\r\n catch (InputMismatchException e)\r\n {\r\n System.out.println(\"ERROR - Playlist ID must be number\");\r\n }\r\n catch (Exception e)\r\n {\r\n System.out.println(\" ERROR - \" + e.getMessage());\r\n }\r\n pause();\r\n }",
"public void notifyMusic(java.util.List<com.jancar.media.data.Music> list) throws android.os.RemoteException;",
"public void getCallList(){\n audioList = new ArrayList<>();\n\n // Audio directory path\n String path = Environment.getExternalStorageDirectory().toString().toLowerCase()+\"/\"+AllKeys.RECORD_DIRECTORY_NAME;\n File mainFolder = new File(path);\n\n // Checking is the main folder exist or not\n if (mainFolder.isDirectory()){\n\n // All sub folder under the main directory\n File[] listOfFolders = mainFolder.listFiles();\n if (listOfFolders != null) {\n for (File item : listOfFolders) {\n\n // When file type is directory\n if (item.isDirectory()) {\n\n File subFolder = new File(path + \"/\" + item.getName());\n File[] fileList = subFolder.listFiles();\n\n for (File audio : fileList) {\n\n // When file is not a audio file -> continue for next file\n if (audio.getName().equals(\".nomedia\")) continue;\n\n // Analise file name\n FileAnalyser analyser = new FileAnalyser(audio.getName());\n\n // Add a item to audio list\n audioList.add(new Audio(analyser.getPhoneNo(),\n audio.getAbsolutePath(),\n analyser.getDateTime(item.getName()),\n analyser.getCallType(),\n analyser.getAudioDuration(this,\n audio.length(),\n audio.getAbsolutePath()))\n );\n }\n\n }\n }\n // sort array as descending order\n Collections.reverse(audioList);\n }\n\n }\n\n // Visible empty message when audio list is empty\n if (audioList.size() < 1){\n noRecordFound.setVisibility(View.VISIBLE);\n }else{\n noRecordFound.setVisibility(View.GONE);\n }\n }",
"public ArrayList<String> getListSongs() {\n\t\tArrayList<String> ret = new ArrayList<String>();\n\t\tList<Song> songs = controller.getSongs();\n\t\tfor (Iterator<Song> it = songs.iterator(); it.hasNext(); ) {\n\t\t\tSong song = it.next();\n\t\t\tret.add(song.getTitle() + \" - \" + song.getArtist());\n\t\t}\n\t\treturn ret;\n\t}",
"public void scanForSongs() {\n if (scanner != null) {\n return;\n }\n scanner = new FileScanner();\n scanner.setActivity(getActivity(), new FileScanner.OnLoadDone() {\n @Override\n public void onLoadDone(ArrayList<MusicFile> data) {\n scanDone(data);\n }\n }, MusicFile.TYPE.MP3);\n scanner.execute(0);\n }",
"@Override\n public Iterable<File> list(File storageDirectory) {\n\treturn null;\n }",
"public List<Song> parserListSong(JSONObject result) throws JSONException {\n List<Song> listSong = new ArrayList<>();\n JSONArray jsonCollections = result.getJSONArray(SongEntry.COLLECTION);\n for (int i = 0; i < jsonCollections.length(); i++) {\n JSONObject jsonChild = jsonCollections.getJSONObject(i);\n JSONObject jsonTrack = jsonChild.getJSONObject(SongEntry.TRACK);\n Song song = parserSong(jsonTrack);\n if (song != null) {\n listSong.add(song);\n }\n }\n return listSong;\n }",
"public boolean loadSongs(String fileName) throws FileNotFoundException {\n\t\tFile x = new File(fileName);\n\t\tthis.name = fileName;\n\t\tScanner reader = new Scanner(x);\n\t\tArrayList<String> line = new ArrayList<String>();\n\t\tArrayList<String> title = new ArrayList<String>();\n\t\tArrayList<String> artist = new ArrayList<String>();\n\t\tArrayList<String> time = new ArrayList<String>();\n\t\tboolean output = false;\n\t\twhile (reader.hasNextLine()) {\n\t\t\tString l = reader.nextLine().trim();\n\t\t\tline.add(l);\n\t\t}\n\t\tfor (int i = 3; i < line.size() - 1; i += 3) {\n\t\t\tif (!line.isEmpty() && line.get(i).contains(\"\")) {\n\t\t\t\tSong s = new Song(line.get(1), line.get(0));\n\t\t\t\tthis.songList.add(s);\n\t\t\t\toutput = true;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.size() - 1; i += 4) {\n\t\t\ttitle.add(line.get(i));\n\t\t}\n\t\tfor (int i = 1; i < line.size() - 1; i += 4) {\n\t\t\tartist.add(line.get(i));\n\t\t}\n\t\tfor (int i = 2; i < line.size() - 1; i += 4) {\n\t\t\ttime.add((line.get(i)));\n\t\t}\n\n\t\tfor (int i = 0; i < songList.size() - 1; i++) {\n\t\t\tsongList.get(i).setArtist(artist.get(i));\n\t\t\tsongList.get(i).setTitle(title.get(i));\n\t\t\tsongList.get(i).setMinutes(Character.getNumericValue((time.get(i).charAt(0))));\n\t\t}\n\n\t\t/** add minutes to the last song on playlist **/\n\t\t/**\n\t\t * the loop keeps giving 0 so this is a precaution to ensure that the\n\t\t * correct numbers get picked\n\t\t **/\n\t\tsongList.get(songList.size() - 1).setMinutes(Character.getNumericValue((time.get(time.size() - 1).charAt(0))));\n\n\t\tfor (int i = 0; i < songList.size() - 1; i++) {\n\t\t\tif (time.get(i).substring(2).length() <= 2) {\n\t\t\t\tsongList.get(i).setSeconds(Integer.parseInt(time.get(i).substring(2)));\n\t\t\t} else {\n\t\t\t\tint sec = Integer.parseInt(time.get(i).substring(2));\n\t\t\t\tsongList.get(i).setSeconds(sec % 60);\n\t\t\t\tsongList.get(i).setMinutes(songList.get(i).getMinutes() + sec / 60);\n\t\t\t}\n\t\t}\n\n\t\t/** add proper minutes and second to the last song on playlist **/\n\t\t/**\n\t\t * the loop keeps giving 0 so this is a precaution to ensure that the\n\t\t * correct numbers get picked\n\t\t **/\n\t\tif (time.get(time.size() - 1).substring(2).length() <= 2) {\n\t\t\tsongList.get(songList.size() - 1).setSeconds(Integer.parseInt(time.get(time.size() - 1).substring(2)));\n\t\t} else {\n\t\t\tint sec = Integer.parseInt(time.get(time.size() - 1).substring(2));\n\t\t\tsongList.get(songList.size() - 1).setSeconds(sec % 60);\n\t\t\tsongList.get(songList.size() - 1).setMinutes(songList.get(songList.size() - 1).getMinutes() + sec / 60);\n\t\t}\n\t\treturn output;\n\n\t}",
"public List<Music> findPrefix(String prefix) {\n\t\tQueryBuilder matchquery = QueryBuilders.multiMatchQuery(prefix,\n\t\t\t\t\"title\", \"artist\", \"description\", \"commentContents\",\n\t\t\t\t\"bulletComments.content\").type(\n\t\t\t\tMatchQueryBuilder.Type.PHRASE_PREFIX);\n\t\tSearchRequestBuilder requestBuilder = client.prepareSearch(\"musics\")\n\t\t\t\t.setQuery(matchquery);\n\t\tSearchResponse response = requestBuilder.execute().actionGet();\n\t\tSearchHits hits = response.getHits();\n\t\tList<String> musicIdsList = new ArrayList<String>();\n\t\tIterator<SearchHit> iterator = hits.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tmusicIdsList.add(iterator.next().getSource().get(\"id\").toString());\n\t\t}\n\t\treturn (List<Music>) musicRepository.findAll(musicIdsList);\n\t}",
"@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\tlist=new ArrayList<MusicVO>();\n\t\tMusicVO music=new MusicVO();\n\t\tContentResolver resolver=getContentResolver();\n\t\tcursor = resolver.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,\n\t\t\t\t\t\tnull, null, null, MediaStore.Audio.Media.DEFAULT_SORT_ORDER);\n\t\twhile(cursor.moveToNext()){\n\t\t\tmusic.music_id=cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID));\n\t\t\tmusic.music_name=cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE));\t\t\t\t\tmusic.music_uri=cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DATA));\n\t\t\tmusic.singer_name=cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST));\n\t\t\tmusic.file_size=cursor.getLong(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.SIZE));\n\t\t\tmusic.duration=cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DURATION));\t\t\t\t\tmusic.special=cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM));\n\t\t\tlist.add(music);\n\t\t\t\t}\n\t\treturn binder;\n\t}",
"@Override\n public void onReceive(Context arg0, Intent arg1) {\n\n String action=arg1.getAction();\n if(action.equals(\"com.example.musicplayer.play\"))\n {\n mp.start();\n control_functions(PLAY);\n }\n else if(action.equals(\"com.example.musicplayer.pause\"))\n {\n mp.pause();\n control_functions(PAUSE);\n }\n else if(action.equals(\"com.example.musicplayer.next\"))\n {\n try\n {\n String name=arg1.getStringExtra(\"name\");\n Uri uri = Uri.parse(name);//Environment.getExternalStorageDirectory().getPath()+\"/songs/\"+name);\n mp.reset();\n mp.setDataSource(arg0, uri);\n mp.setAudioStreamType(AudioManager.STREAM_MUSIC);\n mp.setLooping(true);\n mp.prepare();\n mp.start();seek.setMax(mp.getDuration());\n }catch (Exception e) {\n // TODO: handle exception\n }\n }\n else if(action.equals(\"com.example.musicplayer.previous\"))\n {\n try\n {\n String name=arg1.getStringExtra(\"name\");\n Uri uri = Uri.parse(name);//Environment.getExternalStorageDirectory().getPath()+\"/songs/\"+name);\n mp.reset();\n mp.setDataSource(arg0, uri);\n mp.setAudioStreamType(AudioManager.STREAM_MUSIC);\n mp.setLooping(true);\n mp.prepare();\n mp.start();\n seek.setMax(mp.getDuration());\n }catch (Exception e) {\n // TODO: handle exception\n }\n }\n\n else if(action.equals(\"com.example.musicplayer.frmList\"))\n {\n //Toast.makeText(SongService.this, \"previous\", 1).show();\n try\n {\n String name=arg1.getStringExtra(\"name\");\n Uri uri = Uri.parse(name);//Environment.getExternalStorageDirectory().getPath()+\"/songs/\"+name);\n filePath=uri.getPath();\n //Toast.makeText(getApplicationContext(),name,1).show();\n mp.reset();\n mp.setDataSource(arg0, uri);\n mp.setAudioStreamType(AudioManager.STREAM_MUSIC);\n mp.setLooping(true);\n mp.prepare();\n mp.start();\n seek.setMax(mp.getDuration());\n seek.setOnSeekBarChangeListener((SeekBar.OnSeekBarChangeListener) arg0);\n control_functions(NEW);\n new sendSong().execute();\n } catch (Exception e) {\n // TODO: handle exception\n }\n }\n else if(action.equals(\"com.example.musicplayer.frwd\"))\n {\n if(mp.getDuration()-mp.getCurrentPosition()>1250)\n {\n mp.seekTo(mp.getCurrentPosition()+1250);\n }\n else\n {\n mp.seekTo(mp.getDuration());\n }\n }\n else if(action.equals(\"com.example.musicplayer.rvrse\"))\n {\n if(mp.getCurrentPosition()>1250)\n {\n mp.seekTo(mp.getCurrentPosition()-1250);\n }\n else\n {\n mp.seekTo(0);\n }\n }\n else if(action.equals(\"com.example.musicplayer.jststarted\"))\n {\n if(mp.isPlaying())\n {\n CreateGroup.play_pause.setText(\"PAUSE\");\n }\n }\n else if(action.equals(\"com.example.musicplayer.seekBar\"))\n {\n seek=CreateGroup.seek;\n seek.setMax(mp.getDuration());\n seek.setOnSeekBarChangeListener((SeekBar.OnSeekBarChangeListener) arg0);\n //seek.setProgress(0);\n }\n else if(action.equals(\"com.example.musicplayer.addlist\"))\n {\n ArrayList<MusicData> list=arg1.getParcelableArrayListExtra(\"list\");\n }\n else if(action.equals(\"com.example.musicplayer.seekBarComp\"))\n {\n try\n {\n String name=arg1.getStringExtra(\"name\");\n Uri uri = Uri.parse(Environment.getExternalStorageDirectory().getPath()+\"/songs/\"+name);\n mp.reset();\n mp.setDataSource(arg0, uri);\n mp.setAudioStreamType(AudioManager.STREAM_MUSIC);\n mp.setLooping(true);\n mp.prepare();\n mp.start();seek.setMax(mp.getDuration());\n }catch (Exception e) {\n // TODO: handle exception\n }\n }\n }",
"@Override\n public int getCount() {\n return songsList.size();\n }",
"public String sing(){\r\n\t\tlinesOfSong = new ArrayList<String>();\r\n\t\tString line;\r\n String fileName = \"OompaLoompaSong.txt\";\r\n\t\t\r\n\t\ttry{\r\n BufferedReader br = new BufferedReader(new FileReader(fileName));\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\t//line = br.readLine();\t\r\n\t\t\t\r\n\t\t\twhile ((line = br.readLine()) != null) {\r\n linesOfSong.add(line);\r\n\t\t\t}\r\n\t\t\tbr.close(); \r\n\t\t}\r\n\t\tcatch(IOException e){\r\n\t\t\tSystem.out.println(\"Sorry, we couldn't make this song! \");\r\n\t\t}\r\n\t\tRandomSong();\r\n\t\treturn song;\r\n\t}",
"public MusicData[] load(Long[] ids) throws MusicAppException;",
"public void playMedia() {\n\t\tif (MainActivity.mPlayer == null) {\n\t\t\tMainActivity.mPlayer = new MediaPlayer();\n\t\t\tMainActivity.mPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);\n\t\t\tMainActivity.currentSong = song;\n\t\t\tMainActivity.currentAlbum = album;\n\t\t}\n\t\tif (!MainActivity.currentSong.getTitleKey().equals(song.getTitleKey())) {\n\t\t\tMainActivity.currentSong = song;\n\t\t\tMainActivity.currentAlbum = album;\n\t\t\tMainActivity.mPlayer.reset();\n\t\t}\n\n\t\ttitle = song.getTitle();\n\t\talbumTitle = album.getAlbum();\n\t\talbumArt = album.getAlbumArt();\n\n\t\ttry {\n\t\t\tMainActivity.mPlayer.setDataSource(this, song.getUri());\n\t\t\tMainActivity.mPlayer.prepare();\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tLog.i(TAG, e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t} catch (SecurityException e) {\n\t\t\tLog.i(TAG, e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t} catch (IllegalStateException e) {\n\t\t\tLog.i(TAG, e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\tLog.i(TAG, e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t}\n\t\tMainActivity.mPlayer.setOnPreparedListener(new OnPreparedListener() {\n\t\t\t@Override\n\t\t\tpublic void onPrepared(MediaPlayer mp) {\n\t\t\t\tmp.start();\n\t\t\t}\n\t\t});\n\t\tMainActivity.mPlayer.setOnCompletionListener(new OnCompletionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCompletion(MediaPlayer mp) {\n\t\t\t\tnext();\n\t\t\t}\n\n\t\t});\n\n\t\tnew Handler(getMainLooper()).post(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tupdateMainActivity();\n\t\t\t\tupdateNowPlaying();\n\t\t\t}\n\t\t});\n\t}",
"@Override\n\t\tpublic void run() {\n\t\t\tmFiles = DataSourceManager.getSongFileList(currentAlbumPath);\n\t\t\tif (mFiles == null || mFiles.length == 0) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (mPlayPos < 0 || mPlayPos > mFiles.length -1) {\n\t\t\t\tmPlayPos = 0;\n\t\t\t}\n\t\t\t/*Message msg = mMediaplayerHandler.obtainMessage(PREPARE_PLAY);\n\t\t\tif (msg == null) {\n\t\t\t\tmsg = new Message();\n\t\t\t\tmsg.what = PREPARE_PLAY;\n\t\t\t\t\n\t\t\t}\n\t\t\tBundle data = new Bundle();\n\t\t\tdata.putString(MSG_PLAY_PATH, mFiles[mPlayPos]);\n\t\t\tdata.putInt(MSG_PLAY_POSITION, mSeek);\n\t\t\tmsg.setData(data);\n\t\t\tmMediaplayerHandler.sendMessage(msg);*/\n\t\t\t\n\t\t\tsendHandlerInitialized(mFiles[mPlayPos], false);\n\t\t}",
"public MusicData[] loadAllMine(Long accountId) throws MusicAppException;",
"public List<MelodySong> getMelodySongs() {\n\n IMusicXMLUnmarshaller scorePartwiseParser = new ScorePartwiseUnmarshaller();\n\n List<File> xmlFiles = new ArrayList<>();\n xmlFiles = iterateXMLFiles(MUSICXML_RESOURCE_DIRECTORY);\n\n xmlFiles.add(new File(\"C:\\\\UPJŠ\\\\Bakalárska práca\\\\SimFolk\\\\SimFolk\\\\src\\\\sk\\\\upjs\\\\ics\\\\mmizak\\\\simfolk\\\\parsing\\\\resources\\\\xmlFiles\\\\zaspievalo_vtaca_edit.xml\"));\n\n\n List<MelodySong> melodySongs = scorePartwiseParser.getSongsInMeasuresFromXML(xmlFiles);\n assert !xmlFiles.isEmpty();\n\n// for (int i = 0; i < melodySongs.size(); i++) {\n// melodySongs.get(i).setId((long) i + 1);\n// }\n\n saveMelodySong(melodySongs);\n\n return melodySongs;\n }",
"public void setSongInfoList(ArrayList<SongInfo> list)\n {\n songInfos = list;\n }",
"private ArrayList<MediaPlayer> loadSoundClips(ArrayList<MediaPlayer> mediaPlayerList) {\n Field[] fields = R.raw.class.getFields();\n\n for (Field field : fields) {\n try {\n int rawResourceId = field.getInt(null);\n mediaPlayerList.add(MediaPlayer.create(MainActivity.this, rawResourceId));\n Log.d(\"DEBUG\", String.format(\"%s is %d\", field.getName(), rawResourceId));\n } catch(IllegalAccessException e) {\n Log.e(\"ERROR\", String.format(\"%s threw IllegalAccessException\", field.getName()));\n } catch(IllegalArgumentException e) {\n Log.e(\"ERROR\", String.format(\"%s threw IllegalArgumentException\", field.getName()));\n }\n }\n\n return mediaPlayerList;\n }",
"public List<CollectionLightWeight> getSongResultList() {\n return songs;\n }",
"public static void retrieveMediaAsync(final Callback callback) {\n Log.d(\"MusicLibrary\", \"retrieveMediaAsync called\");\n if (currentState == State.INITIALIZED) {\n if (callback != null) {\n // Nothing to do, execute callback immediately\n callback.onMusicCatalogReady(true);\n }\n return;\n }\n\n String code = SharedPrefManager.getInstance().readSharedPrefString(R.string.oauth_token);\n String scope = SharedPrefManager.getInstance().readSharedPrefString(R.string.oauth_scope);\n\n if (!\"\".equals(code) && !\"\".equals(scope)) {\n AccessToken token = new AccessToken(code, scope);\n SoundCloudClient client = ServiceGenerator.createService(SoundCloudClient.class, token);\n SoundCloud2Client client2 = ServiceGenerator.createService(SoundCloud2Client.class, token);\n\n // Asynchronously load the music catalog in a separate thread\n// Call<List<Track>> call = client.getMyFavorites(100);\n// call.enqueue(new retrofit2.Callback<List<Track>>() {\n// @Override\n// public void onResponse(Call<List<Track>> call, Response<List<Track>> response) {\n// Log.d(\"MusicLibrary\", response.message());\n// Log.d(\"MusicLibrary\", response.code() + \"\");\n// Log.d(\"MusicLibrary\", response.headers().toString());\n// List<Track> tracks = response.body();\n// if (tracks != null) {\n// for (Track track : tracks) {\n// Log.d(\"MusicLibrary\",\n// track.user.username + \" (\" + track.title + \")\");\n// createAndAddMediaMetadata(track, true);\n// }\n// }\n// currentState = State.INITIALIZED;\n// callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n// }\n//\n// @Override\n// public void onFailure(Call<List<Track>> call, Throwable t) {\n// Log.d(\"MusicLibrary\", \"Failure\");\n// Log.d(\"MusicLibrary\", t.getMessage());\n// currentState = State.NON_INITIALIZED;\n// callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n// }\n// });\n\n Call<AffiliatedActivities> call = client2.getMyFavorites(AutoCloudApplication.CLIENT_ID_WEB, 100);\n call.enqueue(new retrofit2.Callback<AffiliatedActivities>() {\n @Override\n public void onResponse(Call<AffiliatedActivities> call, Response<AffiliatedActivities> response) {\n Log.d(\"MusicLibrary\", response.message());\n Log.d(\"MusicLibrary\", response.code() + \"\");\n Log.d(\"MusicLibrary\", response.headers().toString());\n List<Activity> activities = response.body().collection;\n if (activities != null) {\n //trackList.clear();\n for (Activity activity : activities) {\n // activity.origin can be null, we don't want to show type playlist, unable to extract data out of that currently\n if (activity.origin != null && !activity.type.equals(\"playlist\")) {\n Log.d(\"MusicLibrary\",\n activity.track.user.username + \" (\" + activity.track.title + \")\");\n //trackList.add(activity.origin);\n MusicLibrary.createAndAddMediaMetadata(activity.track, true);\n }\n }\n //trackAdapter.notifyDataSetChanged();\n }\n currentState = State.INITIALIZED;\n callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n }\n\n @Override\n public void onFailure(Call<AffiliatedActivities> call, Throwable t) {\n Log.d(\"MusicLibrary\", \"Failure\");\n Log.d(\"MusicLibrary\", t.getMessage());\n currentState = State.NON_INITIALIZED;\n callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n }\n });\n\n Call<AffiliatedActivities> call2 = client2.getStreamTracks(AutoCloudApplication.CLIENT_ID_WEB, 100);\n call2.enqueue(new retrofit2.Callback<AffiliatedActivities>() {\n @Override\n public void onResponse(Call<AffiliatedActivities> call, Response<AffiliatedActivities> response) {\n Log.d(\"MusicLibrary\", response.message());\n Log.d(\"MusicLibrary\", response.code() + \"\");\n Log.d(\"MusicLibrary\", response.headers().toString());\n List<Activity> activities = response.body().collection;\n if (activities != null) {\n //trackList.clear();\n for (Activity activity : activities) {\n // activity.origin can be null, we don't want to show type playlist, unable to extract data out of that currently\n if (activity.track != null && !activity.type.equals(\"playlist\")) {\n Log.d(\"MusicLibrary\",\n activity.track.user.username + \" (\" + activity.track.title + \")\");\n //trackList.add(activity.origin);\n MusicLibrary.createAndAddMediaMetadata(activity.track, false);\n }\n }\n //trackAdapter.notifyDataSetChanged();\n }\n\n\n }\n\n @Override\n public void onFailure(Call<AffiliatedActivities> call, Throwable t) {\n Log.d(\"MusicLibrary\", \"Failure\");\n Log.d(\"MusicLibrary\", t.getMessage());\n }\n });\n currentState = State.INITIALIZING;\n\n\n } else {\n if (callback != null) {\n callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n }\n }\n }",
"@Override\n public List<Song> getAll() {\n return em.createQuery(\"SELECT s FROM Song s ORDER BY title\", Song.class)\n .getResultList();\n }",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_add_songs);\n\n Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n prefs = new PreferencesService(this);\n FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fabAddSongs);\n\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n APIService ServerAPI = new APIService();\n ServerAPI.mp3Upload(prefs.getDeviceID(), SongFile, new RequestHandler<Song>() {\n @Override\n public void callback(Song result) {\n }\n });\n Intent intent = new Intent(AddSongsActivity.this, MainActivity.class);\n finish();\n startActivity(intent);\n Toast.makeText(AddSongsActivity.this, \"Song Added!\", Toast.LENGTH_LONG).show();\n }\n });\n\n ActivityCompat.requestPermissions(AddSongsActivity.this, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, 1);\n ActivityCompat.requestPermissions(AddSongsActivity.this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1);\n\n if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {\n Toast.makeText(this, \"Error! No SDCARD Found!\", Toast.LENGTH_LONG).show();\n } else {\n fullPath = Environment.getExternalStorageDirectory().getAbsolutePath() + \"/JukeFit/\";\n boolean success = true;\n try {\n file = new File(fullPath);\n if (!file.exists())\n success = file.mkdirs();\n if (success) {\n System.out.println(\"Full Path: \" + fullPath);\n System.out.println(\"Success\");\n } else {\n System.out.println(\"Failure\");\n }\n } catch (Exception e) {\n System.out.println(\"Error: \" + e.getMessage());\n }\n if (file.listFiles() != null) {\n listFile = file.listFiles();\n int len = listFile.length;\n System.out.println(\"Length:\" + len);\n }\n }\n\n if (file.isDirectory() && file.listFiles() != null) {\n listFile = file.listFiles();\n FilePathStrings = new String[listFile.length];\n FileNameStrings = new String[listFile.length];\n\n for (int i = 0; i < listFile.length; i++) {\n System.out.println(\"List File Size: \" + listFile[i].length());\n if (listFile[i].length() != 0) {\n FilePathStrings[i] = listFile[i].getAbsolutePath();\n FileNameStrings[i] = listFile[i].getName();\n System.out.println(\"FilePathStrings: \" + FilePathStrings[i]);\n System.out.println(\"FileNameStrings: \" + FileNameStrings[i]);\n System.out.println(\"List File Size 2: \" + listFile[i].length());\n }\n }\n }\n if (FilePathStrings != null) {\n\n listview = (ListView) findViewById(R.id.SongListView);\n ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, R.layout.songlistitem, R.id.SongName, FileNameStrings);\n listview.setAdapter(adapter);\n listview.setChoiceMode(ListView.CHOICE_MODE_SINGLE);\n }\n\n listview.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n CheckedTextView ctv = (CheckedTextView) view;\n SongFile = new File(listFile[position].getAbsolutePath());\n }\n });\n\n }",
"public List<MediaRelation> loadMediaRelations();",
"@Override\n public List<Media> getMediaListByManager(int managerId) {\n try {\n return mediaDao.getMediaListByManager(managerId);\n } catch (FailedOperationException e) {\n throw new RuntimeException(e.getMessage());\n }\n }",
"public Music[] getMusics(Tag tag) {\n SQLiteDatabase db = musicDatabase.getReadableDatabase();\n\n Cursor cur = db.rawQuery(\"SELECT musicId FROM musicTagRelation WHERE tagId=? ORDER BY created_at DESC\", new String[] { String.valueOf(tag.id) });\n int count = cur.getCount();\n int[] musicIds = new int[count];\n for (int i=0; i<count; i++) {\n cur.moveToNext();\n musicIds[i] = cur.getInt(0);\n }\n\n return musicDatabase.musicTable.get(musicIds);\n }",
"private void loadLastSong() {\n\t\tif(preferences.getBoolean(Preferences.PREFERENCE_OPENLASTSONGONSTART, Preferences.DEFAULT_OPENLASTSONGONSTART)) {\n\t String lastPlayingSong = preferences.getString(Preferences.PREFERENCE_LASTPLAYINGSONG, Preferences.DEFAULT_LASTPLAYINGSONG);\n \tlong lastPlayingSongFromPlaylistId = preferences.getLong(Preferences.PREFERENCE_LASTPLAYINGSONGFROMPLAYLISTID, Preferences.DEFAULT_LASTPLAYINGSONGFROMPLAYLISTID);\n \tif(lastPlayingSong!=null && (new File(lastPlayingSong).exists())) {\n \t\tif(lastPlayingSongFromPlaylistId!=-1) {\n \t\t\tPlaylistSong savedSong = Playlists.getSavedSongFromPlaylist(lastPlayingSongFromPlaylistId);\n \t\t\tif(savedSong!=null) {\n \t\t\t\tplayItem(savedSong, false);\n \t\t\t}\n \t\t} else {\n \t\t\tFile songDirectory = new File(lastPlayingSong).getParentFile();\n \t\t\tBrowserSong song = new BrowserSong(lastPlayingSong, new BrowserDirectory(songDirectory));\n \t\t\t((MusicPlayerApplication)getApplication()).gotoDirectory(songDirectory);\n \t\t\tplayItem(song, false);\n \t\t}\n\t\t if(preferences.getBoolean(Preferences.PREFERENCE_SAVESONGPOSITION, Preferences.DEFAULT_SAVESONGPOSITION)) {\n\t\t \tint lastSongPosition = preferences.getInt(Preferences.PREFERENCE_LASTSONGPOSITION, Preferences.DEFAULT_LASTSONGPOSITION);\n\t\t \tif(lastSongPosition<getDuration()) seekTo(lastSongPosition);\n\t\t }\n \t}\n }\n\t}",
"private static void loadMusic()\n\t{\n\t\t// TODO: update this with the correct file names.\n\t\tmusic = new ArrayList<Music>();\n\t\t\n\t\ttry\n\t\t{\n\t\t\tmusic.add(Gdx.audio.newMusic(new FileHandle(new File(MUSIC_PATH + \"Lessons-8bit.mp3\"))));\n\t\t\tmusic.add(Gdx.audio.newMusic(new FileHandle(new File(MUSIC_PATH + \"bolo_menu.mp3\"))));\n\t\t\t//music.add(Gdx.audio.newMusic(new FileHandle(new File(MUSIC_PATH + \"song2.ogg\"))));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\t\n\t\t\tSystem.out.println(e);\n\t\t\te.printStackTrace();\n\t\t\tthrow e;\n\t\t}\n\t}",
"public List<Music> findMusic(String keyword) {\n\t\tQueryBuilder matchquery = QueryBuilders.fuzzyLikeThisFieldQuery(\n\t\t\t\t\"commentContents\").likeText(keyword);\n\t\tSearchRequestBuilder requestBuilder = client.prepareSearch(\"musics\")\n\t\t\t\t.setQuery(matchquery);\n\t\tSearchResponse response = requestBuilder.execute().actionGet();\n\t\tSearchHits hits = response.getHits();\n\t\tList<String> musicIdsList = new ArrayList<String>();\n\t\tIterator<SearchHit> iterator = hits.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tmusicIdsList.add(iterator.next().getSource().get(\"id\").toString());\n\t\t}\n\t\treturn (List<Music>) musicRepository.findAll(musicIdsList);\n\t}",
"public void listAllSongs()\n {\n for(int i = 0; i < songs.size(); i++) {\n System.out.print((i+1) + \"- \");\n listSong(i);\n }\n }",
"public static void retrieveMediaAsync2(final Callback callback) {\n Log.d(\"MusicLibrary\", \"retrieveMediaAsync2 called\");\n if (currentState == State.INITIALIZED) {\n if (callback != null) {\n // Nothing to do, execute callback immediately\n callback.onMusicCatalogReady(true);\n }\n return;\n }\n\n String code = SharedPrefManager.getInstance().readSharedPrefString(R.string.oauth_token);\n String scope = SharedPrefManager.getInstance().readSharedPrefString(R.string.oauth_scope);\n\n if (!\"\".equals(code) && !\"\".equals(scope)) {\n AccessToken token = new AccessToken(code, scope);\n SoundCloudClient client = ServiceGenerator.createService(SoundCloudClient.class, token);\n\n // Asynchronously load the music catalog in a separate thread\n Call<AffiliatedActivities> call = client.getStreamTracks(100);\n call.enqueue(new retrofit2.Callback<AffiliatedActivities>() {\n @Override\n public void onResponse(Call<AffiliatedActivities> call, Response<AffiliatedActivities> response) {\n Log.d(\"MusicLibrary\", response.message());\n Log.d(\"MusicLibrary\", response.code() + \"\");\n Log.d(\"MusicLibrary\", response.headers().toString());\n List<Activity> activities = response.body().collection;\n if (activities != null) {\n //trackList.clear();\n for (Activity activity : activities) {\n Log.d(\"MainActivity\",\n activity.origin.user.username + \" (\" + activity.origin.title + \")\");\n //trackList.add(activity.origin);\n MusicLibrary.createAndAddMediaMetadata(activity.origin, false);\n }\n //trackAdapter.notifyDataSetChanged();\n }\n\n }\n\n @Override\n public void onFailure(Call<AffiliatedActivities> call, Throwable t) {\n Log.d(\"MainActivity\", \"Failure\");\n Log.d(\"MainActivity\", t.getMessage());\n }\n });\n currentState = State.INITIALIZING;\n\n\n } else {\n if (callback != null) {\n callback.onMusicCatalogReady(currentState == State.INITIALIZED);\n }\n }\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 void play() {\n\n final ArrayList<File> mySongs = findSong(Environment.getExternalStorageDirectory());\n\n\n sname = mySongs.get(position).getName().toString();\n textView.setEllipsize(TextUtils.TruncateAt.MARQUEE);\n textView.setText(sname);\n\n pause.setBackgroundResource(R.drawable.pause);\n Uri uri = Uri.parse(mySongs.get(position).toString());\n mediaPlayer = MediaPlayer.create(getApplicationContext(), uri);\n pause.setBackgroundResource(R.drawable.play);\n\n\n forward.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mediaPlayer.stop();\n mediaPlayer.release();\n position = ((position+1)%mySongs.size());\n\n Uri uri = Uri.parse(mySongs.get(position).toString());\n\n mediaPlayer = MediaPlayer.create(getApplicationContext(), uri);\n\n sname = mySongs.get(position).getName().toString();\n textView.setText(sname);\n pause.setBackgroundResource(R.drawable.pause);\n mediaPlayer.start();\n }\n });\n\n backward.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n\n mediaPlayer.stop();\n mediaPlayer.release();\n\n position = ((position - 1) < 0) ? (mySongs.size() - 1) : (position - 1);\n Uri uri = Uri.parse(mySongs.get(position).toString());\n mediaPlayer = MediaPlayer.create(getApplicationContext(), uri);\n\n\n sname = mySongs.get(position).getName().toString();\n textView.setText(sname);\n pause.setBackgroundResource(R.drawable.pause);\n mediaPlayer.start();\n }\n });\n\n pause.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n if(mediaPlayer.isPlaying()){\n pause.setBackgroundResource(R.drawable.play);\n mediaPlayer.pause();\n }\n else{\n pause.setBackgroundResource(R.drawable.pause);\n mediaPlayer.start();\n }\n }\n });\n }",
"public void apiFindSongsOnAppleMusic(Messenger handler){\n transferPlaylists = new ArrayList<>();\n\n for(int i = 0; i < playlists.size(); i++){\n transferPlaylists.add(new Playlist(playlists.get(i).getName(),\"APPLE_MUSIC\"));\n for(int j = 0; j < playlists.get(i).getTracks().size(); j++){\n\n Song song = playlists.get(i).getTracks().get(j);\n String termSearch = (song.getTrack() + \"+\" + song.getArtist());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,i,song,false);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n try {\n updateMessage(handler,3);\n apiCreatePlaylistsAppleMusic(handler);\n } catch (JSONException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\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 }",
"public Music loadMusic(String fileName, float volume);",
"public List<Song> getsong() {\n\t\treturn null;\r\n\t}",
"List<T> read();",
"public static void playListSongs(boolean iSelectASong)\n {\n Album actualAlbum = AlbumXmlFile.getAlbumFromDataBase(JSoundsMainWindowViewController.jlActualListSongs.getAlbumName(), true);\n\n \n if ((selectedAlbum!=null) && (!actualAlbum.getName().equals(selectedAlbum.getName())))\n {\n JSoundsMainWindowViewController.listSongs=null;\n JSoundsMainWindowViewController.listSongs=new JMusicPlayerList();\n alreadyPlaying=false;\n if((!isPlaylist) && (!shutDown))\n dontInitPlayer=true;\n }\n \n if (JSoundsMainWindowViewController.iAmPlaying && JSoundsMainWindowViewController.jlActualListSongs != null)\n { \n if (alreadyPlaying==false)\n {\n ViewUtilFunctions.changeIconFromButton(JSoundsMainWindowViewController.jBPlayButton, \"src/view/images/IBPause.png\");\n JSoundsMainWindowViewController.iAmPlaying = false;\n JSoundsMainWindowViewController.iAmPausing = true;\n JSoundsMainWindowViewController.iAmResuming = false;\n \n selectedAlbum=actualAlbum;\n \n Song actualSong = null;\n int position;\n if (!isPlaylist) //Si no estoy tratando de reproducir una lista de reproduccion.\n { \n \n \n if (actualAlbum != null)\n {\n Iterator songsIterator = actualAlbum.getSongs().iterator();\n \n position = 0;\n \n while (songsIterator.hasNext())\n {\n actualSong = (Song) songsIterator.next();\n \n if (actualSong != null)\n {\n listSongs.addSongToPlayerList(new JMusicSong(position, UtilFunctions.removeStrangeCharacters(actualSong.getName()), UtilFunctions.removeStrangeCharacters(actualSong.getName()), actualSong.getName(), UtilFunctions.removeStrangeCharacters(actualSong.getArtist().getName()), actualSong.getArtist().getName(), UtilFunctions.removeStrangeCharacters(actualAlbum.getName()), actualAlbum.getName()));\n position++;\n }\n }\n }\n }\n else //Si es una lista de reproduccion\n {\n Album actualAlbumPlaylist = PlaylistXmlFile.getPlaylistAlbumFromDataBase(JSoundsMainWindowViewController.jlActualListSongs.getAlbumName(), true);\n \n \n if (actualAlbumPlaylist != null)\n {\n Iterator songsIterator = actualAlbumPlaylist.getSongs().iterator();\n \n position = 0;\n \n while (songsIterator.hasNext())\n {\n \n actualSong = (Song) songsIterator.next();\n \n if (actualSong != null)\n {\n listSongs.addSongToPlayerList(new JMusicSong(position, UtilFunctions.removeStrangeCharacters(actualSong.getName()), UtilFunctions.removeStrangeCharacters(actualSong.getName()), actualSong.getName(), UtilFunctions.removeStrangeCharacters(actualSong.getArtist().getName()), actualSong.getArtist().getName(), UtilFunctions.removeStrangeCharacters(actualAlbumPlaylist.getName()), actualAlbumPlaylist.getName()));\n position++;\n }\n }\n }\n } \n if (!dontInitPlayer) // Inicio el reproductor\n {\n MusicPlayerControl.initMusicPlayer(Util.JSOUNDS_LIBRARY_PATH, JSoundsMainWindowViewController.jlActualListSongs, JSoundsMainWindowViewController.jLInformationSong, JSoundsMainWindowViewController.jlActualListSongs.getjLLastPlayedSongList(), table, JSoundsMainWindowViewController.LIST_SONG_COLUMN, JSoundsMainWindowViewController.jlActualListSongs.getRowInJTable(), JSoundsMainWindowViewController.LAST_PLAYED_SONG_COLUMN);\n MusicPlayerControl.loadSongs(listSongs);\n shutDown=false;\n }\n else // El reproductor ya esta iniciado\n {\n MusicPlayerControl.loadSongs(listSongs);\n dontInitPlayer=false;\n }\n \n if (iSelectASong)\n {\n if (indexFromSearchedSong>(-1))\n {\n MusicPlayerControl.changeSongFromIndexSong(indexFromSearchedSong);\n iSelectASong=false;\n indexFromSearchedSong=-1;\n }\n else\n {\n MusicPlayerControl.changeSongFromIndexSong(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n iSelectASong = false;\n }\n \n }\n EditSongWindow.songName =listSongs.getSongAtIndex(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex()).getSongName();\n EditSongWindow.index = JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex();\n EditSongWindow.list = listSongs;\n JSoundsMainWindowViewController.fillEditWindow(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n MusicPlayerControl.playSong();\n alreadyPlaying = true;\n }\n if ((alreadyPlaying==true) && (iSelectASong==true) && (fixedIndex== true))\n {\n ViewUtilFunctions.changeIconFromButton(JSoundsMainWindowViewController.jBPlayButton, \"src/view/images/IBPause.png\");\n JSoundsMainWindowViewController.iAmPlaying = false;\n JSoundsMainWindowViewController.iAmPausing = true;\n JSoundsMainWindowViewController.iAmResuming = false;\n MusicPlayerControl.changeSongFromIndexSong(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex()-1);\n \n JSoundsMainWindowViewController.fillEditWindow(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex()-1);\n \n MusicPlayerControl.playSong();\n }\n if ((alreadyPlaying==true) && (iSelectASong==true) && (iAmPausing==true) && (!fixedIndex))\n {\n MusicPlayerControl.changeSongFromIndexSong(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n \n JSoundsMainWindowViewController.fillEditWindow(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n \n MusicPlayerControl.playSong();\n }\n if ((alreadyPlaying==true) && (iSelectASong==true) && (iAmPlaying==true) && (!fixedIndex))\n {\n ViewUtilFunctions.changeIconFromButton(JSoundsMainWindowViewController.jBPlayButton, \"src/view/images/IBPause.png\");\n JSoundsMainWindowViewController.iAmPlaying = false;\n JSoundsMainWindowViewController.iAmPausing = true;\n JSoundsMainWindowViewController.iAmResuming = false;\n MusicPlayerControl.changeSongFromIndexSong(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n \n JSoundsMainWindowViewController.fillEditWindow(JSoundsMainWindowViewController.jlActualListSongs.getSelectedIndex());\n \n MusicPlayerControl.playSong();\n }\n \n }\n else\n {\n if (JSoundsMainWindowViewController.iAmPausing && JSoundsMainWindowViewController.jlActualListSongs != null)\n {\n ViewUtilFunctions.changeIconFromButton(JSoundsMainWindowViewController.jBPlayButton, \"src/view/images/IBPlay.png\");\n JSoundsMainWindowViewController.iAmPlaying = false;\n JSoundsMainWindowViewController.iAmPausing = false;\n JSoundsMainWindowViewController.iAmResuming = true;\n \n MusicPlayerControl.pauseSong();\n }\n else\n {\n if (JSoundsMainWindowViewController.iAmResuming && JSoundsMainWindowViewController.jlActualListSongs != null)\n {\n ViewUtilFunctions.changeIconFromButton(JSoundsMainWindowViewController.jBPlayButton, \"src/view/images/IBPause.png\");\n \n JSoundsMainWindowViewController.iAmPlaying = false;\n JSoundsMainWindowViewController.iAmPausing = true;\n JSoundsMainWindowViewController.iAmResuming = false;\n \n MusicPlayerControl.resumeSong();\n }\n \n }\n }\n }",
"public ArrayList<String> loadToRead() {\n\n\t\tSAVE_FILE = TO_READ_FILE;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tlist = loadIds();\n\t\treturn list;\n\t}",
"@Override\n\tpublic List<MyMedia> getMediadetails(String username) {\n\t\treturn userDAO.getMediadetails(username);\n\t}",
"public void getMediaList(TableQueryCallback<MediaAsset> callback){\n mMediaTable.where().execute(callback);\n }",
"public ArrayList<ArrayList<String>> readthePathOfMusicFiles()\n {\n File file = new File(path);\n String[] names = file.list();// all directories inside dataset1 direcory\n ArrayList<ArrayList<String>> pathOfMusicFiles = new ArrayList<>();\n String artistName = \"\";\n String trackName = \"\";\n Mp3File song = null;\n for (int i = 0; i < names.length; i++) \n {\n File file1 = new File(path + '/' + names[i]);\n if (file1.isDirectory())\n {\n String[] fileNames = file1.list();\n for (String fileName : fileNames)// all files in directory\n {\n if (fileName.contains(\".mp3\") && !(fileName.charAt(0) == '.'))\n {\n try\n {\n song = new Mp3File(path + '/' + names[i] + '/' + fileName);\n }\n catch (UnsupportedTagException | InvalidDataException | IOException e)\n {\n e.printStackTrace();\n }\n if(song!=null && song.hasId3v1Tag())\n {\n ID3v1 id3v1Tag = song.getId3v1Tag();\n artistName = id3v1Tag.getArtist();\n trackName = id3v1Tag.getTitle();\n }\n if(song!=null && song.hasId3v2Tag())\n {\n ID3v2 id3v2tag = song.getId3v2Tag();\n artistName = id3v2tag.getArtist();\n trackName = id3v2tag.getTitle();\n }\n if(artistName != null && artistName.length() >= 1 && trackName != null && artistName.length() >= 1)\n {\n if(artistName.charAt(0) >= startChar && artistName.charAt(0) <= endChar)\n {\n ArrayList<String> songAttributes = new ArrayList<>();\n songAttributes.add(path + '/' + names[i] + '/' + fileName);\n songAttributes.add(artistName);\n songAttributes.add(trackName);\n pathOfMusicFiles.add(songAttributes);\n }\n }\n }\n }\n }\n }\n return pathOfMusicFiles;\n }",
"public void setSongList(ArrayList<Song> songList) {\n\t\tthis.songList = songList;\n\t}",
"public static ArrayList<Media> getMedia() {\n File titleFile = new File(\"./data/titles.csv\");\n\n Scanner titleScan;\n try {\n titleScan = new Scanner(titleFile);\n } catch (IOException e) {\n throw new Error(\"Could not open titles file\");\n }\n\n titleScan.nextLine();\n\n // Read File to build medias without directors\n ArrayList<Media> medias = new ArrayList<Media>();\n while (titleScan.hasNextLine()) {\n String line = titleScan.nextLine();\n String[] ratingParts = line.split(\"\\t\");\n int mediaIndex = indexOfMedia(medias, ratingParts[1]);\n if (mediaIndex == -1) {\n String[] genreList = ratingParts[7].split(\",\");\n if (ratingParts[6].isEmpty()) {\n continue;\n }\n int runtime = Integer.parseInt(ratingParts[6]);\n int releaseYear = ratingParts[4].isEmpty() ? Integer.parseInt(ratingParts[8])\n : Integer.parseInt(ratingParts[4]);\n Media newMedia = new Media(ratingParts[1], ratingParts[3], genreList, runtime, releaseYear);\n medias.add(newMedia);\n } else {\n updateReleaseDate(medias.get(mediaIndex), Integer.parseInt(ratingParts[4]));\n }\n }\n\n // Close Title Scanner\n titleScan.close();\n\n // Open Principals Scanner\n File principalFile = new File(\"./data/principals.csv\");\n FileReader principaFileReader;\n Scanner principalScan;\n\n try {\n principaFileReader = new FileReader(principalFile);\n } catch (IOException e) {\n throw new Error(\"Could not open principals file reader\");\n }\n principalScan = new Scanner(principaFileReader);\n principalScan.nextLine();\n\n // Get directorID for the media\n // int count = 0;\n while (principalScan.hasNextLine()) {\n String line = principalScan.nextLine();\n String[] principalParts = line.split(\"\\t\");\n int mediaIndex = indexOfMedia(medias, principalParts[1]);\n\n if (mediaIndex != -1 && isDirector(principalParts[3])) {\n medias.get(mediaIndex).directorId = principalParts[2];\n }\n }\n\n // Close Scanners\n principalScan.close();\n\n // Return Media List\n return medias;\n }",
"public static File getSdCardMediaMusicDirectory(){\n return getSdDirectoryStoragePath(\"/NWD-MEDIA\");\n }",
"public Song[] getQueue() {\n\t\tsynchronized (this) {\n\t\t\tint len = mPlayListLen;\n\t\t\tSong[] list = new Song[len];\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tlist[i] = mPlayList[i];\n\t\t\t}\n\t\t\treturn list;\n\t\t}\n\t}",
"public List<Song> getsongalbumsid(String albumsname) {\n\t\treturn sd.allsongalbumsname(albumsname);\r\n\t}",
"public void listSong(int index)\n {\n SimpleDateFormat formatDate = new SimpleDateFormat(\"yyyy.MM.dd\");\n System.out.println(\"file: \" + songs.get(index).getFile() + \" | \" +\n \"singer: \" + songs.get(index).getSinger() + \" | \" +\n \"release date: \" + formatDate.format( songs.get(index).getReleaseDate() ) );\n }",
"private void getDirectoryContents() {\n\t File directory = Utilities.prepareDirectory(\"Filtering\");\n\t if(directory.exists()) {\n\t FilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String filename) {\n\t return filename.contains(\".pcm\") || filename.contains(\".wav\");\n\t }\n\t };\n\t fileList = directory.list(filter);\n\t }\n\t else {\n\t fileList = new String[0];\n\t }\n\t}",
"public Song parseSongs(Path path, String extension){\n\t\tJSONParser parser = new JSONParser();\n\t\ttry (BufferedReader reader = Files.newBufferedReader(path, Charset.forName(\"UTF-8\"))){\n\n\t\t\tJSONObject contents = (JSONObject) parser.parse(reader);\n\t\t\tSong song = new Song(contents);\n\t\t\t\n\t\t\treturn song;\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ParseException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn null;\n\t\t\n\t}",
"public void playFile(final String path) {\n\t\tLog.d(TAG, \"Play file path = \" + path);\n\t\tif (mPlayList == null || mPlayPos < 0) {\n\t\t\tContentResolver resolver = getContentResolver();\n\t\t\tUri uri;\n\t\t\tString where;\n\t\t\tString selectionArgs[];\n\t\t\tif (path.startsWith(\"content://media/\")) {\n\t\t\t\turi = Uri.parse(path);\n\t\t\t\twhere = null;\n\t\t\t\tselectionArgs = null;\n\t\t\t} else {\n\t\t\t\turi = MediaStore.Audio.Media.getContentUriForPath(path);\n\t\t\t\twhere = MediaStore.Audio.Media.DATA + \"=?\";\n\t\t\t\tselectionArgs = new String[] { path };\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tCursor c = resolver.query(uri,\n\t\t\t\t\t\tnew String[] { MediaStore.Audio.Media._ID }, where,\n\t\t\t\t\t\tselectionArgs, null);\n\t\t\t\tif (c != null) {\n\t\t\t\t\tif (c.getCount() > 0) {\n\t\t\t\t\t\tc.moveToNext();\n\t\t\t\t\t\tensurePlayListCapacity(1);\n\t\t\t\t\t\tmPlayListLen = 1;\n\t\t\t\t\t\tmPlayOrder = new int[] { 0 };\n\t\t\t\t\t\tmPlayList[0] = SongFactory.newSong(HostType.LOCAL,\n\t\t\t\t\t\t\t\tc.getString(0));\n\t\t\t\t\t\tmPlayPos = 0;\n\t\t\t\t\t}\n\t\t\t\t\tc.close();\n\t\t\t\t\tc = null;\n\t\t\t\t}\n\t\t\t} catch (UnsupportedOperationException ex) {\n\t\t\t}\n\t\t}\n\t\tmFileToPlay = path;\n\t\tmPlayer.setPreparedListener(new OnPreparedListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onPrepared(MediaPlayer mp) {\n\t\t\t\tmOpenFailedCounter = 0;\n\t\t\t\tplay();\n\t\t\t\tsetNextTrack();\n\t\t\t\tnotifyChange(EVENT_META_CHANGED);\n\t\t\t\tupdateNotification();\n\t\t\t}\n\t\t});\n\t\tmPlayer.setErrorListener(new OnErrorListener() {\n\t\t\t@Override\n\t\t\tpublic boolean onError(MediaPlayer mp, int what, int extra) {\n\t\t\t\t// if we get here then opening the file failed. We're\n\t\t\t\t// either going to create a new one next, or stop trying\n\t\t\t\tif (mOpenFailedCounter < 10 && mPlayListLen > 1) {\n\t\t\t\t\tmOpenFailedCounter++;\n\t\t\t\t\tLog.w(TAG,\n\t\t\t\t\t\t\t\"Failed to open file for playback. Try count: \"\n\t\t\t\t\t\t\t\t\t+ mOpenFailedCounter);\n\t\t\t\t\tgotoNext(false);\n\t\t\t\t} else {\n\t\t\t\t\tmOpenFailedCounter = 0;\n\t\t\t\t\tstop(true);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t\tmPlayer.setDataSource(mFileToPlay);\n\t}",
"public ArrayList<String> loadRead() {\n\n\t\tSAVE_FILE = READ_FILE;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tlist = loadIds();\n\t\treturn list;\n\t}",
"@Nullable\n public Single<List<Media>> getMediaList(String queryType, String keyword) {\n HttpUrl.Builder urlBuilder = HttpUrl\n .parse(commonsBaseUrl)\n .newBuilder()\n .addQueryParameter(\"action\", \"query\")\n .addQueryParameter(\"format\", \"json\")\n .addQueryParameter(\"formatversion\", \"2\");\n\n\n if (queryType.equals(\"search\")) {\n appendSearchParam(keyword, urlBuilder);\n } else {\n appendCategoryParams(keyword, urlBuilder);\n }\n\n appendQueryContinueValues(keyword, urlBuilder);\n\n Request request = new Request.Builder()\n .url(appendMediaProperties(urlBuilder).build())\n .build();\n\n return Single.fromCallable(() -> {\n Response response = okHttpClient.newCall(request).execute();\n List<Media> mediaList = new ArrayList<>();\n if (response.body() != null && response.isSuccessful()) {\n String json = response.body().string();\n MwQueryResponse mwQueryResponse = gson.fromJson(json, MwQueryResponse.class);\n if (null == mwQueryResponse\n || null == mwQueryResponse.query()\n || null == mwQueryResponse.query().pages()) {\n return mediaList;\n }\n putContinueValues(keyword, mwQueryResponse.continuation());\n\n List<MwQueryPage> pages = mwQueryResponse.query().pages();\n for (MwQueryPage page : pages) {\n Media media = Media.from(page);\n if (media != null) {\n mediaList.add(media);\n }\n }\n }\n return mediaList;\n });\n }",
"public Iterator<Song> getSongs() {\n\t\treturn songs.iterator();\n\t}",
"List<T> readList();",
"public void getListAt( final String name, StorageLister lister ) throws TJSException;",
"List<MediaMetadata> getByBundle(String bundleUuid);",
"private void readFromInternalStorage() {\n ArrayList<GeofenceObjects> returnlist = new ArrayList<>();\n if (!isExternalStorageReadable()) {\n System.out.println(\"not readable\");\n } else {\n returnlist = new ArrayList<>();\n try {\n FileInputStream fis = openFileInput(\"GeoFences\");\n ObjectInputStream ois = new ObjectInputStream(fis);\n returnlist = (ArrayList<GeofenceObjects>) ois.readObject();\n ois.close();\n System.out.println(returnlist);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n currentList = returnlist;\n }",
"public Song getSong(int index) {\n\t\treturn this.songList.get(index);\n\n\t}",
"public MusicData[] loadAllOther(Long accountId) throws MusicAppException;",
"public void apiSpotifyGetTracks(Messenger handler){\n for(int i = 0; i < playlists.size(); i++){\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_gettracks, playlists.get(i).getId()))\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n\n // ensure the response (and underlying response body) is closed\n try (Response response = client.newCall(request).execute()) {\n if(response.isSuccessful()){\n JSONObject jsonObject = new JSONObject(response.body().string());\n songsToTransfer += jsonObject.getInt(\"total\");\n updateMessage(handler,1);\n\n apiSpotifyGetTracksHelper(i,jsonObject,handler);\n }\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n }\n }",
"public abstract List<File> listFiles() throws AccessException;",
"public edu.usfca.cs.dfs.StorageMessages.List getList() {\n if (msgCase_ == 5) {\n return (edu.usfca.cs.dfs.StorageMessages.List) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.List.getDefaultInstance();\n }",
"edu.usfca.cs.dfs.StorageMessages.List getList();",
"public abstract MediaItem getMediaItem(String id);"
] | [
"0.7449959",
"0.69279563",
"0.6773915",
"0.665683",
"0.65254617",
"0.6514976",
"0.6477199",
"0.6341709",
"0.6295",
"0.6125036",
"0.6060202",
"0.5996131",
"0.5978649",
"0.59202164",
"0.5883476",
"0.58766043",
"0.58659714",
"0.5852582",
"0.584296",
"0.582634",
"0.58083636",
"0.58048385",
"0.5796457",
"0.5786618",
"0.5783944",
"0.5754471",
"0.57165104",
"0.57056296",
"0.5700176",
"0.5688963",
"0.56881917",
"0.5686098",
"0.5676591",
"0.56712246",
"0.5669004",
"0.5665993",
"0.56497353",
"0.5628987",
"0.56210214",
"0.5621002",
"0.5614616",
"0.56022006",
"0.55847806",
"0.5575028",
"0.55731636",
"0.5572831",
"0.55665135",
"0.5562261",
"0.55239576",
"0.55166286",
"0.5499075",
"0.5486006",
"0.54846674",
"0.54807997",
"0.547642",
"0.54662114",
"0.54591715",
"0.54488724",
"0.5435735",
"0.54357255",
"0.5433201",
"0.5431398",
"0.54244894",
"0.5423821",
"0.54208314",
"0.5419685",
"0.54186636",
"0.54186314",
"0.5412238",
"0.54119897",
"0.54054356",
"0.5394878",
"0.5394064",
"0.53793",
"0.53775024",
"0.5372528",
"0.53705126",
"0.5338439",
"0.5332791",
"0.5328611",
"0.53245753",
"0.5320534",
"0.5314662",
"0.53119075",
"0.530819",
"0.53056103",
"0.5303439",
"0.5300669",
"0.5288192",
"0.5274715",
"0.52708787",
"0.52659965",
"0.5263753",
"0.52622104",
"0.52560896",
"0.52538943",
"0.52537274",
"0.5252608",
"0.52520233",
"0.5251697"
] | 0.73140347 | 1 |
Inflate the menu items for use in the action bar | @Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.menu_mp3_player, menu);
return super.onCreateOptionsMenu(menu);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }",
"public void initializeMenuItems() {\n\t\tuserMenuButton = new MenuButton();\n\t\tmenu1 = new MenuItem(bundle.getString(\"mVmenu1\")); //\n\t\tmenu2 = new MenuItem(bundle.getString(\"mVmenu2\")); //\n\t}",
"public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}",
"public void initializeMenuItems() {\n menuItems = new LinkedHashMap<TestingOption, MenuDrawerItem>();\n menuItems.put(TestingOption.TESTING_OPTION, create(TestingOption.TESTING_OPTION, getResources().getString(R.string.testing_section).toUpperCase(), MenuDrawerItem.SECTION_TYPE));\n menuItems.put(TestingOption.ANNOTATION_OPTION, create(TestingOption.ANNOTATION_OPTION, getResources().getString(R.string.option_annotation_POI), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_VIEW_SETTINGS_OPTION, create(TestingOption.MAP_VIEW_SETTINGS_OPTION, getResources().getString(R.string.option_map_view_settings), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_CACHE_OPTION, create(TestingOption.MAP_CACHE_OPTION, getResources().getString(R.string.option_map_cache), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.LAST_RENDERED_FRAME_OPTION, create(TestingOption.LAST_RENDERED_FRAME_OPTION, getResources().getString(R.string.option_last_rendered_frame), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ANIMATION_CUSTOM_VIEW_OPTION, create(TestingOption.ANIMATION_CUSTOM_VIEW_OPTION, getResources().getString(R.string.option_ccp_animation_custom_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.BOUNDING_BOX_OPTION, create(TestingOption.BOUNDING_BOX_OPTION, getResources().getString(R.string.option_bounding_box), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.INTERNALIZATION_OPTION, create(TestingOption.INTERNALIZATION_OPTION, getResources().getString(R.string.option_internalization), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ANIMATE_OPTION, create(TestingOption.ANIMATE_OPTION, getResources().getString(R.string.option_animate), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_STYLE_OPTION, create(TestingOption.MAP_STYLE_OPTION, getResources().getString(R.string.option_map_style), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.SCALE_VIEW_OPTION, create(TestingOption.SCALE_VIEW_OPTION, getResources().getString(R.string.option_scale_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.CALLOUT_VIEW_OPTION, create(TestingOption.CALLOUT_VIEW_OPTION, getResources().getString(R.string.option_callout_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ROUTING_OPTION, create(TestingOption.ROUTING_OPTION, getResources().getString(R.string.option_routing), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ROUTE_WITH_POINTS, create(TestingOption.ROUTE_WITH_POINTS, getResources().getString(R.string.option_routing_with_points),MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_VERSION_OPTION, create(TestingOption.MAP_VERSION_OPTION, getResources().getString(R.string.option_map_version_information), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.OVERLAYS_OPTION, create(TestingOption.OVERLAYS_OPTION, getResources().getString(R.string.option_overlays), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.POI_TRACKER, create(TestingOption.POI_TRACKER, getResources().getString(R.string.option_poi_tracker), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.POSITION_LOGGING_OPTION, create(TestingOption.POSITION_LOGGING_OPTION, getResources().getString(R.string.option_position_logging), MenuDrawerItem.ITEM_TYPE));\n\n list = new ArrayList<MenuDrawerItem>(menuItems.values());\n drawerList.setAdapter(new MenuDrawerAdapter(DebugMapActivity.this, R.layout.element_menu_drawer_item, list));\n drawerList.setOnItemClickListener(new DrawerItemClickListener());\n\n }",
"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }",
"@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"protected void createMenus(Activity activity, boolean isEntryPoint){\n \t\t\n \t\t//myTts = new TextToSpeechBeta(this, ttsInitListener);\n \t\t\n \t\tthis.isEntryPoint = isEntryPoint;\n \t\tthis.activity = activity;\n \t\t\n \t\tApplicationData applicationData = SplashActivity.getApplicationData();\n \t\tActiveMenus activeMenus = applicationData.getMenu();\n \t\t\n \t\t//TOP MENU\n \t\tif(activeMenus.getTopMenu() != null){\n \t\t\tRelativeLayout topLayout = (RelativeLayout) findViewById(R.id.topLayout);\n \t\t\tcreateCurrentMenu(topLayout, activeMenus.getTopMenu());\n \t\t}\n \t\t\n \t\t//BOTTOM MENU\n \t\tRelativeLayout bottomLayout = (RelativeLayout) findViewById(R.id.bottomLayout);\t\n \t\tif(activeMenus.getBottomMenu() != null){\n \t\t\tcreateCurrentMenu(bottomLayout, activeMenus.getBottomMenu());\n \t\t}else{\n \t\t\tbottomLayout.setVisibility(0);\n \t\t}\n \t\t\n \t\t//CONTEXT MENU\n \t\tif(activeMenus.getContextMenu() != null){\n \t\t\tthis.contextMenuXmlFileName = activeMenus.getContextMenu();\n \t\t}\n \t\t\n \t\t//SIDE MENU\n \t\tif(activeMenus.getSideMenu() != null){\n \t\t\tinitializeSideMenuList(activeMenus.getSideMenu());\n \t\t}\n \t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n MenuItem languageItem = menu.findItem(R.id.toolbar_ic_language);\n MenuItem currencyItem = menu.findItem(R.id.toolbar_ic_currency);\n MenuItem profileItem = menu.findItem(R.id.toolbar_edit_profile);\n MenuItem searchItem = menu.findItem(R.id.toolbar_ic_search);\n MenuItem cartItem = menu.findItem(R.id.toolbar_ic_cart);\n profileItem.setVisible(false);\n languageItem.setVisible(false);\n currencyItem.setVisible(false);\n searchItem.setVisible(false);\n cartItem.setVisible(false);\n }",
"private void constructMenuItems()\n\t{\n\t\tthis.saveImageMenuItem = ComponentGenerator.generateMenuItem(\"Save Image\", this, KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK));\n\t\tthis.quitMenuItem = ComponentGenerator.generateMenuItem(\"Quit\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK));\n\t\tthis.undoMenuItem = ComponentGenerator.generateMenuItem(\"Undo\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Z, ActionEvent.CTRL_MASK));\n\t\tthis.redoMenuItem = ComponentGenerator.generateMenuItem(\"Redo\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Y, ActionEvent.CTRL_MASK));\n\t\tthis.removeImageMenuItem = ComponentGenerator.generateMenuItem(\"Remove Image from Case\", this);\n\t\tthis.antiAliasMenuItem = ComponentGenerator.generateMenuItem(\"Apply Anti Aliasing\", this);\n\t\tthis.brightenMenuItem = ComponentGenerator.generateMenuItem(\"Brighten by 10%\", this);\n\t\tthis.darkenMenuItem = ComponentGenerator.generateMenuItem(\"Darken by 10%\", this);\n\t\tthis.grayscaleMenuItem = ComponentGenerator.generateMenuItem(\"Convert to Grayscale\", this);\n\t\tthis.resizeMenuItem = ComponentGenerator.generateMenuItem(\"Resize Image\", this);\n\t\tthis.cropMenuItem = ComponentGenerator.generateMenuItem(\"Crop Image\", this);\n\t\tthis.rotate90MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 90\\u00b0 Right\", this);\n\t\tthis.rotate180MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 180\\u00b0 Right\", this);\n\t\tthis.rotate270MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 270\\u00b0 Right\", this);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"private void setUpMenu() {\n\t\tresideMenu = new ResideMenu(this);\n\t\tresideMenu.setBackground(R.drawable.menu_background);\n\t\tresideMenu.attachToActivity(this);\n\t\tresideMenu.setMenuListener(menuListener);\n\t\t// valid scale factor is between 0.0f and 1.0f. leftmenu'width is\n\t\t// 150dip.\n\t\tresideMenu.setScaleValue(0.6f);\n\n\t\t// create menu items;\n\t\titemGame = new ResideMenuItem(this, R.drawable.icon_game,\n\t\t\t\tgetResources().getString(R.string.strGame));\n\t\titemBook = new ResideMenuItem(this, R.drawable.icon_book,\n\t\t\t\tgetResources().getString(R.string.strBook));\n\t\titemNews = new ResideMenuItem(this, R.drawable.icon_news,\n\t\t\t\tgetResources().getString(R.string.strNews));\n\t\t// itemSettings = new ResideMenuItem(this, R.drawable.icon_setting,\n\t\t// getResources().getString(R.string.strSetting));\n\t\titemLogin = new ResideMenuItem(this, R.drawable.icon_share,\n\t\t\t\tgetResources().getString(R.string.strShare));\n\t\titemBookPDF = new ResideMenuItem(this, R.drawable.icon_bookpdf,\n\t\t\t\tgetResources().getString(R.string.strBookPDF));\n\t\titemMore = new ResideMenuItem(this, R.drawable.icon_more,\n\t\t\t\tgetResources().getString(R.string.strMore));\n\n\t\titemGame.setOnClickListener(this);\n\t\titemBook.setOnClickListener(this);\n\t\titemNews.setOnClickListener(this);\n\t\t// itemSettings.setOnClickListener(this);\n\t\titemBookPDF.setOnClickListener(this);\n\t\titemMore.setOnClickListener(this);\n\t\titemLogin.setOnClickListener(this);\n\n\t\tresideMenu.addMenuItem(itemBookPDF, ResideMenu.DIRECTION_LEFT);\n\t\tresideMenu.addMenuItem(itemBook, ResideMenu.DIRECTION_LEFT);\n\t\tresideMenu.addMenuItem(itemNews, ResideMenu.DIRECTION_LEFT);\n\t\t// resideMenu.addMenuItem(itemSettings, ResideMenu.DIRECTION_RIGHT);\n\n\t\tresideMenu.addMenuItem(itemGame, ResideMenu.DIRECTION_RIGHT);\n\t\tresideMenu.addMenuItem(itemLogin, ResideMenu.DIRECTION_RIGHT);\n\t\tresideMenu.addMenuItem(itemMore, ResideMenu.DIRECTION_RIGHT);\n\n\t\t// You can disable a direction by setting ->\n\t\t// resideMenu.setSwipeDirectionDisable(ResideMenu.DIRECTION_RIGHT);\n\n\t\tfindViewById(R.id.title_bar_left_menu).setOnClickListener(\n\t\t\t\tnew View.OnClickListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View view) {\n\t\t\t\t\t\tresideMenu.openMenu(ResideMenu.DIRECTION_LEFT);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\tfindViewById(R.id.title_bar_right_menu).setOnClickListener(\n\t\t\t\tnew View.OnClickListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View view) {\n\t\t\t\t\t\tresideMenu.openMenu(ResideMenu.DIRECTION_RIGHT);\n\t\t\t\t\t}\n\t\t\t\t});\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"@Override\n public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {\n super.onCreateContextMenu(menu, v, menuInfo);\n\n getActivity().getMenuInflater().inflate(R.menu.actions , menu);\n\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}",
"private void InitializeUI(){\n\t\t//Set up the menu items, which are differentiated by their IDs\n\t\tArrayList<MenuItem> values = new ArrayList<MenuItem>();\n\t\tMenuItem value = new MenuItem();\n\t\tvalue.setiD(0); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(1); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(2); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(3); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(4); values.add(value);\n\n MenuAdapter adapter = new MenuAdapter(this, R.layout.expandable_list_item3, values);\n \n // Assign adapter to List\n setListAdapter(adapter);\n \n //Set copyright information\n Calendar c = Calendar.getInstance();\n\t\tString year = String.valueOf(c.get(Calendar.YEAR));\n\t\t\n\t\t//Set up the copyright message which links to the author's linkedin page\n TextView lblCopyright = (TextView)findViewById(R.id.lblCopyright);\n lblCopyright.setText(getString(R.string.copyright) + year + \" \");\n \n TextView lblName = (TextView)findViewById(R.id.lblName);\n lblName.setText(Html.fromHtml(\"<a href=\\\"http://uk.linkedin.com/in/lekanbaruwa/\\\">\" + getString(R.string.name) + \"</a>\"));\n lblName.setMovementMethod(LinkMovementMethod.getInstance());\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_screen_list_student, menu);\n\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }",
"@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_principal, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n\t\tinflater.inflate(R.menu.forecastfragment, menu );\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}",
"private void createMenuList() {\n SlideMenuItem menuItem0 = new SlideMenuItem(ContentFragment.CLOSE, R.drawable.ic_action_remove);\n list.add(menuItem0);\n SlideMenuItem menuItem = new SlideMenuItem(ContentFragment.GAMES, R.drawable.ic_action_gamepad);\n list.add(menuItem);\n\n SlideMenuItem menuItem3 = new SlideMenuItem(ContentFragment.FRIENDS, R.drawable.ic_action_person);\n list.add(menuItem3);\n SlideMenuItem menuItem4 = new SlideMenuItem(ContentFragment.SETTINGS, R.drawable.ic_action_settings);\n list.add(menuItem4);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.news, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.menu_detail_, menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.popmovies_menu, menu);\n\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.title_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu); \n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }",
"public Menu createViewMenu();",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n\n\n\n\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"public abstract MenuInflater mo2159d();",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_course, menu);\n\n }",
"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}",
"private void createMenus() {\n\t\tJMenuBar menuBar = new JMenuBar();\n\n\t\tfileMenu = new JMenu(flp.getString(\"file\"));\n\t\tmenuBar.add(fileMenu);\n\n\t\tfileMenu.add(new JMenuItem(new ActionNewDocument(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionOpen(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionSave(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionSaveAs(flp, this)));\n\t\tfileMenu.addSeparator();\n\t\tfileMenu.add(new JMenuItem(new ActionExit(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionStatistics(flp, this)));\n\n\t\teditMenu = new JMenu(flp.getString(\"edit\"));\n\n\t\teditMenu.add(new JMenuItem(new ActionCut(flp, this)));\n\t\teditMenu.add(new JMenuItem(new ActionCopy(flp, this)));\n\t\teditMenu.add(new JMenuItem(new ActionPaste(flp, this)));\n\n\t\ttoolsMenu = new JMenu(flp.getString(\"tools\"));\n\n\t\titemInvert = new JMenuItem(new ActionInvertCase(flp, this));\n\t\titemInvert.setEnabled(false);\n\t\ttoolsMenu.add(itemInvert);\n\n\t\titemLower = new JMenuItem(new ActionLowerCase(flp, this));\n\t\titemLower.setEnabled(false);\n\t\ttoolsMenu.add(itemLower);\n\n\t\titemUpper = new JMenuItem(new ActionUpperCase(flp, this));\n\t\titemUpper.setEnabled(false);\n\t\ttoolsMenu.add(itemUpper);\n\n\t\tsortMenu = new JMenu(flp.getString(\"sort\"));\n\t\tsortMenu.add(new JMenuItem(new ActionSortAscending(flp, this)));\n\t\tsortMenu.add(new JMenuItem(new ActionSortDescending(flp, this)));\n\n\t\tmenuBar.add(editMenu);\n\t\tmenuBar.add(createLanguageMenu());\n\t\tmenuBar.add(toolsMenu);\n\t\tmenuBar.add(sortMenu);\n\n\t\tthis.setJMenuBar(menuBar);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"private void initializeContextMenus() {\n\t\tinitializeMenuForListView();\n\t\tinitializeMenuForPairsListView();\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public void onCreateContextMenu(ContextMenu menu, View view, ContextMenu.ContextMenuInfo menuInfo) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.lay_context, menu);\n }",
"@Override\r\n\tpublic void createMenu(Menu menu) {\n\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.forecastfragment, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater carInfoInflater = getMenuInflater();\n carInfoInflater.inflate(R.menu.car_info_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\ngetMenuInflater().inflate(R.menu.main, menu);\nreturn true;\n}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\tsuper.onCreateOptionsMenu(menu, inflater);\n\tinflater.inflate(R.menu.menu_main, menu);\n\tmenu.findItem(R.id.action_edit).setVisible(false);\n\tmenu.findItem(R.id.action_share).setVisible(false);\n\tmenu.findItem(R.id.action_settings).setVisible(true);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\r\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_log_list, menu);\r\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\tinflater=this.getActivity().getMenuInflater();\n\tSupportMenu menu_=(SupportMenu) menu;\n\tsuper.onCreateOptionsMenu(menu_, inflater);\n\tinflater.inflate(R.menu.event_adding, menu_);\n\t\t\n\t}",
"private void createMenus() {\r\n\t\t// File menu\r\n\t\tmenuFile = new JMenu(Constants.C_FILE_MENU_TITLE);\r\n\t\tmenuBar.add(menuFile);\r\n\t\t\r\n\t\tmenuItemExit = new JMenuItem(Constants.C_FILE_ITEM_EXIT_TITLE);\r\n\t\tmenuItemExit.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tactionOnClicExit();\t\t// Action triggered when the Exit item is clicked.\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuFile.add(menuItemExit);\r\n\t\t\r\n\t\t// Help menu\r\n\t\tmenuHelp = new JMenu(Constants.C_HELP_MENU_TITLE);\r\n\t\tmenuBar.add(menuHelp);\r\n\t\t\r\n\t\tmenuItemHelp = new JMenuItem(Constants.C_HELP_ITEM_HELP_TITLE);\r\n\t\tmenuItemHelp.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicHelp();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemHelp);\r\n\t\t\r\n\t\tmenuItemAbout = new JMenuItem(Constants.C_HELP_ITEM_ABOUT_TITLE);\r\n\t\tmenuItemAbout.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicAbout();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemAbout);\r\n\t\t\r\n\t\tmenuItemReferences = new JMenuItem(Constants.C_HELP_ITEM_REFERENCES_TITLE);\r\n\t\tmenuItemReferences.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicReferences();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemReferences);\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"private void constructMenus()\n\t{\n\t\tthis.fileMenu = new JMenu(\"File\");\n\t\tthis.editMenu = new JMenu(\"Edit\");\n\t\tthis.caseMenu = new JMenu(\"Case\");\n\t\tthis.imageMenu = new JMenu(\"Image\");\n\t\tthis.fileMenu.add(this.saveImageMenuItem);\n\t\tthis.fileMenu.addSeparator();\n\t\tthis.fileMenu.add(this.quitMenuItem);\n\t\tthis.editMenu.add(this.undoMenuItem);\n\t\tthis.editMenu.add(this.redoMenuItem);\n\t\tthis.caseMenu.add(this.removeImageMenuItem);\n\t\tthis.imageMenu.add(this.antiAliasMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.brightenMenuItem);\n\t\tthis.imageMenu.add(this.darkenMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.grayscaleMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.resizeMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.cropMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.rotate90MenuItem);\n\t\tthis.imageMenu.add(this.rotate180MenuItem);\n\t\tthis.imageMenu.add(this.rotate270MenuItem);\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.toolbar, menu);\n super.onCreateOptionsMenu(menu, inflater);\n\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);\n return true;\n\n}",
"private void setUpMenu() {\n resideMenu = new ResideMenu(this);\n\n resideMenu.setBackground(R.drawable.menu_background);\n resideMenu.attachToActivity(this);\n resideMenu.setMenuListener(menuListener);\n resideMenu.setScaleValue(0.6f);\n\n // create menu items;\n itemHome = new ResideMenuItem(this, R.drawable.icon_profile, \"Home\");\n itemSerre = new ResideMenuItem(this, R.drawable.serre, \"GreenHouse\");\n itemControl = new ResideMenuItem(this, R.drawable.ctrl, \"Control\");\n itemTable = new ResideMenuItem(this, R.drawable.database, \"Parametre\");\n\n // itemProfile = new ResideMenuItem(this, R.drawable.user, \"Profile\");\n // itemSettings = new ResideMenuItem(this, R.drawable.stat_n, \"Statistique\");\n itemPicture = new ResideMenuItem(this, R.drawable.cam, \"Picture\");\n itemLog = new ResideMenuItem(this, R.drawable.log, \"Log file \");\n\n itemLogout = new ResideMenuItem(this, R.drawable.logout, \"Logout\");\n\n\n\n itemHome.setOnClickListener(this);\n itemSerre.setOnClickListener(this);\n itemControl.setOnClickListener(this);\n itemTable.setOnClickListener(this);\n\n// itemProfile.setOnClickListener(this);\n // itemSettings.setOnClickListener(this);\n itemLogout.setOnClickListener(this);\n itemPicture.setOnClickListener(this);\n itemLog.setOnClickListener(this);\n\n\n resideMenu.addMenuItem(itemHome, ResideMenu.DIRECTION_LEFT);\n resideMenu.addMenuItem(itemSerre, ResideMenu.DIRECTION_LEFT);\n resideMenu.addMenuItem(itemControl, ResideMenu.DIRECTION_LEFT);\n resideMenu.addMenuItem(itemTable, ResideMenu.DIRECTION_LEFT);\n resideMenu.addMenuItem(itemLog, ResideMenu.DIRECTION_LEFT);\n\n\n // resideMenu.addMenuItem(itemProfile, ResideMenu.DIRECTION_RIGHT);\n // resideMenu.addMenuItem(itemSettings, ResideMenu.DIRECTION_RIGHT);\n resideMenu.addMenuItem(itemPicture, ResideMenu.DIRECTION_RIGHT);\n\n resideMenu.addMenuItem(itemLogout, ResideMenu.DIRECTION_RIGHT);\n\n // You can disable a direction by setting ->\n // resideMenu.setSwipeDirectionDisable(ResideMenu.DIRECTION_RIGHT);\n\n findViewById(R.id.title_bar_left_menu).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n resideMenu.openMenu(ResideMenu.DIRECTION_LEFT);\n }\n });\n findViewById(R.id.title_bar_right_menu).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n resideMenu.openMenu(ResideMenu.DIRECTION_RIGHT);\n }\n });\n }",
"@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"public void createmenu(){\n\n\n Context context = getApplicationContext();\n menuadpater = new MenuAdapter(context);\n\n MENULIST.setAdapter(menuadpater);\n\n\n }",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \tsuper.onCreateOptionsMenu(menu);\r\n\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.title_menu, menu);\r\n \r\n\t\treturn true;\r\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.info, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}",
"private void placeActions() {\n IActionBars actionBars = getViewSite().getActionBars();\n\n // first in the menu\n IMenuManager menuManager = actionBars.getMenuManager();\n menuManager.add(mCreateFilterAction);\n menuManager.add(mEditFilterAction);\n menuManager.add(mDeleteFilterAction);\n menuManager.add(new Separator());\n menuManager.add(mClearAction);\n menuManager.add(new Separator());\n menuManager.add(mExportAction);\n\n // and then in the toolbar\n IToolBarManager toolBarManager = actionBars.getToolBarManager();\n for (CommonAction a : mLogLevelActions) {\n toolBarManager.add(a);\n }\n toolBarManager.add(new Separator());\n toolBarManager.add(mCreateFilterAction);\n toolBarManager.add(mEditFilterAction);\n toolBarManager.add(mDeleteFilterAction);\n toolBarManager.add(new Separator());\n toolBarManager.add(mClearAction);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.menu_principal, menu);\n \t//Fin del menu\n \treturn true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_schedule_creation, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.cartab, menu);\r\n //getMenuInflater().inflate(R.menu.menu_main, menu);\r\n return true;\r\n }",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n getMenuInflater().inflate(R.menu.menu,menu);\r\n return super.onCreateOptionsMenu(menu);\r\n }"
] | [
"0.67000234",
"0.66755563",
"0.6634374",
"0.66098636",
"0.6607402",
"0.65983576",
"0.65778697",
"0.656807",
"0.65559876",
"0.65559876",
"0.6535765",
"0.65320796",
"0.65249866",
"0.64958525",
"0.6494181",
"0.6484664",
"0.64623153",
"0.6460416",
"0.64570916",
"0.64554685",
"0.64542234",
"0.64439875",
"0.64188874",
"0.6409978",
"0.64073306",
"0.6396375",
"0.6396375",
"0.63879275",
"0.63809365",
"0.6376946",
"0.63756835",
"0.6374522",
"0.63729364",
"0.6369623",
"0.63671637",
"0.63669115",
"0.63652086",
"0.63632643",
"0.63631636",
"0.6356475",
"0.63453877",
"0.634148",
"0.63393104",
"0.63224614",
"0.63176394",
"0.6308247",
"0.6307751",
"0.6306244",
"0.6301906",
"0.62980473",
"0.62971187",
"0.62937415",
"0.6290647",
"0.6290647",
"0.6290647",
"0.62891227",
"0.62817496",
"0.62585986",
"0.62585986",
"0.6254011",
"0.6253917",
"0.6253811",
"0.6248883",
"0.62461054",
"0.6239843",
"0.6239135",
"0.62368464",
"0.62343436",
"0.6229652",
"0.62267053",
"0.6225185",
"0.6222236",
"0.6219309",
"0.62174034",
"0.62174034",
"0.62174034",
"0.62174034",
"0.62044096",
"0.6199576",
"0.61993307",
"0.6199193",
"0.61903876",
"0.6185538",
"0.6180279",
"0.6175448",
"0.6172644",
"0.61695725",
"0.6163665",
"0.6163052",
"0.6163052",
"0.6163017",
"0.61599576",
"0.6158029",
"0.6155915",
"0.6150878",
"0.61494064",
"0.6149103",
"0.6147971",
"0.6147971",
"0.614076",
"0.6139002"
] | 0.0 | -1 |
Contact credit holder to make transaction | @Override
protected void executeTransaction(int cents) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void credit(){\n\t\tSystem.out.println(\"HSBC BANK :: CREDIT\");\n\t}",
"public void credit() {\n \tSystem.out.println(\"HSBC--Credit--from US Bank\");\n }",
"public void credit(){\n\t\tSystem.out.println(\"hdfcbank credited\");\n\t\t\n\t}",
"public void credit() {\n\t\tSystem.out.println(\"HSBC Credit\");\n\t}",
"public void credit() {\n\t\tSystem.out.println(\"HSBC---credit\");\n\t}",
"public void credit() {\n\t\tSystem.out.println(\"HSBC---credit\");\n\t}",
"public void credit() {\n\t System.out.println(\"HSBC--Credit\");\t\t\n\t}",
"private void sendMoney(String amount, String address) {\n//\t\tAlertDialog ad = new AlertDialog.Builder(DonateActivity.this).create(); \n//\t\tad.setMessage(\"Sending money is disabled for testing purposes. See DonateActivity.sendMoney()\"); \n//\t\tad.setButton(DialogInterface.BUTTON_POSITIVE, \"OK\", new DialogInterface.OnClickListener() { \n//\t\t @Override \n//\t\t public void onClick(DialogInterface dialog, int which) { \n//\t\t dialog.dismiss(); \n//\t\t } \n//\t\t}); \n//\t\tad.show();\n\t\t\n\t\t// TODO: uncomment this when you want to send money\n \tString url = \"https://coinbase.com/api/v1/transactions/send_money/\";\n\t\tnew SendMoneyTask().execute(url, amount, address);\n \t//Intent intent = new Intent(getApplicationContext(), ThankYouActivity.class);\n \t//intent.putExtra(\"charity\", charity);\n \t//startActivity(intent);\n }",
"public boolean makeTransfer(String fromAccountNumber,\r\n\t\t\tString toAccountNumber, double amount, String memo) {\r\n\t\tif (DaoUtility.isAccountNumberValid(fromAccountNumber)\r\n\t\t\t\t&& DaoUtility.isAccountNumberValid(toAccountNumber)) {\r\n\t\t} else\r\n\t\t\treturn false;\r\n\r\n\t\t// do transaction\r\n\t\tConnection conn = dbConnector.getConnection();\r\n\t\tif (conn==null)\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tPreparedStatement st;\r\n\t\tString sql;\r\n\t\tResultSet rs;\r\n\r\n\t\ttry {\r\n\t\t\tconn.setAutoCommit(false);\r\n\t\t\tSavepoint savepnt = conn.setSavepoint();\r\n\r\n\t\t\ttry {\r\n\t\t\t\tint fromAccountId=0;\r\n\t\t\t\tint toAccountId=0;\r\n\t\t\t\tString fromName=\"SECRET USER\";\r\n\t\t\t\tString toName=\"SECRET USER\";\r\n\t\t\t\tString fname,mname,lname;\r\n\t\t\t\t\r\n\t\t\t\tst = conn.prepareStatement(\"select tbAccount.aid,balance,isactive,\"\r\n\t\t\t\t\t\t+ \"fname,mname,lname from tbAccount, tbClient \"\r\n\t\t\t\t\t\t+ \" where acnumber= ? and tbAccount.cid=tbClient.cid\");\r\n\t\t\t\tst.setString(1, fromAccountNumber);\r\n\t\t\t\trs = st.executeQuery();\r\n\t\t\t\tif (rs.next()){\r\n\t\t\t\t\tfromAccountId = rs.getInt(\"aid\");\r\n\t\t\t\t\tdouble balance = rs.getDouble(\"balance\");\r\n\t\t\t\t\tboolean isactive = rs.getBoolean(\"isactive\");\r\n\t\t\t\t\tfname = rs.getString(\"fname\");\r\n\t\t\t\t\tmname = rs.getString(\"mname\");\r\n\t\t\t\t\tlname = rs.getString(\"lname\");\r\n\t\t\t\t\tfromName = fname + \" \" + (mname==null?\"\":mname) + \" \" +lname;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (balance<amount || !isactive) { //not enough money or frozen\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tst = conn.prepareStatement(\"select aid,isactive,\"\r\n\t\t\t\t\t\t+ \" fname,mname,lname from tbAccount,tbClient \"\r\n\t\t\t\t\t\t+ \" where acnumber= ? and tbAccount.cid=tbClient.cid\");\r\n\t\t\t\tst.setString(1, toAccountNumber);\r\n\t\t\t\trs = st.executeQuery();\r\n\t\t\t\tif (rs.next()){\r\n\t\t\t\t\ttoAccountId = rs.getInt(\"aid\");\r\n\t\t\t\t\tboolean isactive = rs.getBoolean(\"isactive\");\r\n\t\t\t\t\tfname = rs.getString(\"fname\");\r\n\t\t\t\t\tmname = rs.getString(\"mname\");\r\n\t\t\t\t\tlname = rs.getString(\"lname\");\r\n\t\t\t\t\ttoName = fname + \" \" + (mname==null?\"\":mname) + \" \" +lname;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (!isactive) { //frozen\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// substract balance of fromAccount\r\n\t\t\t\tst = conn.prepareStatement(\r\n\t\t\t\t\t\t\"update tbAccount set balance = balance - ? \"\r\n\t\t\t\t\t\t\t\t+ \" where balance >= ? \"\r\n\t\t\t\t\t\t\t\t+ \" and acnumber = ? \"\r\n\t\t\t\t\t\t\t\t+ \" and isactive=TRUE \");\r\n\t\t\t\tst.setDouble(1, amount);\r\n\t\t\t\tst.setDouble(2, amount);\r\n\t\t\t\tst.setString(3, fromAccountNumber);\r\n\t\t\t\tint nRs = st.executeUpdate();\r\n\t\t\t\tif (nRs <= 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tconn.rollback(savepnt);\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// add balance of toAccount\r\n\t\t\t\tst = conn.prepareStatement(\r\n\t\t\t\t\t\t\"update tbAccount set balance = balance + ? \"\r\n\t\t\t\t\t\t\t\t+ \" where acnumber = ? \"\r\n\t\t\t\t\t\t\t\t+ \" and isactive=TRUE \");\r\n\t\t\t\tst.setDouble(1, amount);\r\n\t\t\t\tst.setString(2, toAccountNumber);\r\n\t\t\t\tnRs = st.executeUpdate();\r\n\t\t\t\tif (nRs <= 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tconn.rollback(savepnt);\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// insert 2 transaction record\r\n\t\t\t\t// insert into tbTransaction(aid, trtype, amount, description)\r\n\t\t\t\t// values( select aid from tbAccount where acnumber='acnumber',\r\n\t\t\t\t// DEPOSIT_TRANSACTION_TYPE_ID,\r\n\t\t\t\t// amount, 'transfer 123.4 dollars to 3333343 on 2014-09-19')\r\n\t\t\t\t//\r\n\t\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\t\tString currentDate = dateFormat.format(date); // 2014-08-06\r\n\r\n\t\t\t\tsql = String.format(\r\n\t\t\t\t\t\t\"insert into tbTransaction(aid,trtype,amount,description) \"\r\n\t\t\t\t\t\t\t\t+ \" values( %d, \" + \"\t\t\t%d, \"\r\n\t\t\t\t\t\t\t\t+ \"\t\t\t%f, 'Transfer out %.2f dollars to %s(%s) on %s. MEMO: %s' ) \", \r\n\t\t\t\t\t\t\t\tfromAccountId,\r\n\t\t\t\t\tTRANSFER_OUT_TRANSACTION_TYPE_ID, amount, amount,\r\n\t\t\t\t\ttoAccountNumber, toName, currentDate,memo);\r\n\t\t\t\tnRs = st.executeUpdate(sql);\r\n\t\t\t\tif (nRs<=0)\r\n\t\t\t\t{\r\n\t\t\t\t\tconn.rollback(savepnt);\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsql = String.format(\r\n\t\t\t\t\t\t\"insert into tbTransaction(aid,trtype,amount,description) \"\r\n\t\t\t\t\t\t\t\t+ \" values( %d, \" + \" %d, \"\r\n\t\t\t\t\t\t\t\t+ \"\t%f, 'Transfer in %.2f dollars from %s(%s) on %s. MEMO: %s' ) \", \r\n\t\t\t\t\t\t\t\ttoAccountId,\r\n\t\t\t\t\tTRANSFER_IN_TRANSACTION_TYPE_ID, amount, amount,\r\n\t\t\t\t\tfromAccountNumber, fromName, currentDate,memo);\r\n\t\t\t\tnRs = st.executeUpdate(sql);\r\n\t\t\t\tif (nRs<=0)\r\n\t\t\t\t{\r\n\t\t\t\t\tconn.rollback(savepnt);\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treturn true;\r\n\t\t\t\t\r\n\t\t\t} catch (Exception ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t\tconn.rollback(savepnt);\r\n\t\t\t} finally {\r\n\t\t\t\tconn.setAutoCommit(true);\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tif (conn != null)\r\n\t\t\t\t\tconn.close();\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t}",
"public void credit(){\r\n\t\tSystem.out.println(\"HSBC-- Credit method called from Interface USBank \");\r\n\t}",
"public void credit(){\n\t\tSystem.out.println(\"hsbc --- credit\");\n\t}",
"CarPaymentMethod processCreditCard();",
"public abstract void msgPayment(Customer customer, Cash cash);",
"private void createTransaction() {\n\n String inputtedAmount = etAmount.getText().toString().trim().replaceAll(\",\", \"\");\n\n if (inputtedAmount.equals(\"\") || Double.parseDouble(inputtedAmount) == 0) {\n etAmount.setError(getResources().getString(R.string.Input_Error_Amount_Empty));\n return;\n }\n\n if (mAccount == null) {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.Input_Error_Account_Empty));\n return;\n }\n\n if(mCategory == null) {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.Input_Error_Category_Income_Empty));\n return;\n }\n\n Double amount = Double.parseDouble(etAmount.getText().toString().replaceAll(\",\", \"\"));\n if(amount < 0) {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.Input_Error_Amount_Invalid));\n return;\n }\n\n int CategoryId = mCategory != null ? mCategory.getId() : 0;\n String Description = tvDescription.getText().toString();\n int accountId = mAccount.getId();\n String strEvent = tvEvent.getText().toString();\n Event event = null;\n\n if (!strEvent.equals(\"\")) {\n event = mDbHelper.getEventByName(strEvent);\n if (event == null) {\n long eventId = mDbHelper.createEvent(new Event(0, strEvent, mCal, null));\n if (eventId != -1) {\n event = mDbHelper.getEvent(eventId);\n }\n }\n }\n\n boolean isDebtValid = true;\n // Less: DebtCollect, More: Borrow\n if(mCategory.getDebtType() == Category.EnumDebt.LESS) { // Income -> Debt Collecting\n List<Debt> debts = mDbHelper.getAllDebtByPeople(tvPeople.getText().toString());\n\n Double lend = 0.0, debtCollect = 0.0;\n for(Debt debt : debts) {\n if(mDbHelper.getCategory(debt.getCategoryId()).isExpense() && mDbHelper.getCategory(debt.getCategoryId()).getDebtType() == Category.EnumDebt.MORE) {\n lend += debt.getAmount();\n }\n\n if(!mDbHelper.getCategory(debt.getCategoryId()).isExpense() && mDbHelper.getCategory(debt.getCategoryId()).getDebtType() == Category.EnumDebt.LESS) {\n debtCollect += debt.getAmount();\n }\n }\n\n if(debtCollect + amount > lend) {\n isDebtValid = false;\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.message_debt_collect_invalid));\n }\n }\n\n if(isDebtValid) {\n Transaction transaction = new Transaction(0,\n TransactionEnum.Income.getValue(),\n amount,\n CategoryId,\n Description,\n 0,\n accountId,\n mCal,\n 0.0,\n \"\",\n event);\n\n long newTransactionId = mDbHelper.createTransaction(transaction);\n\n if (newTransactionId != -1) {\n\n if(mCategory.getDebtType() == Category.EnumDebt.LESS || mCategory.getDebtType() == Category.EnumDebt.MORE) {\n Debt newDebt = new Debt();\n newDebt.setCategoryId(mCategory.getId());\n newDebt.setTransactionId((int) newTransactionId);\n newDebt.setAmount(amount);\n newDebt.setPeople(tvPeople.getText().toString());\n\n long debtId = mDbHelper.createDebt(newDebt);\n if(debtId != -1) {\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_create_successful));\n cleanup();\n\n if(getFragmentManager().getBackStackEntryCount() > 0) {\n // Return to last fragment\n getFragmentManager().popBackStackImmediate();\n }\n } else {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.message_transaction_create_fail));\n mDbHelper.deleteTransaction(newTransactionId);\n }\n } else {\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_create_successful));\n cleanup();\n\n if(getFragmentManager().getBackStackEntryCount() > 0) {\n // Return to last fragment\n getFragmentManager().popBackStackImmediate();\n }\n }\n\n } else {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.message_transaction_create_fail));\n }\n }\n\n }",
"public boolean requestTransaction(String name,String reason,double amount){\n Transaction t1 = new Transaction(name,reason,amount);\n boolean done=t1.registertransaction();\n \n return done; \n \n}",
"public void CashPayment()\n {\n }",
"public void credit(float amount){\n\t\taccount.credit(amount);\n\t\tSystem.out.println(\"\\t+ \"+ this + \" account is credited with \" + amount + \" euros; its balance is now \" + account );\n\t}",
"void sendTransaction(IUserAccount target, ITransaction trans, IUserAccount user);",
"@Override\n\tpublic void pay() {\n\t\tcreditCard.makePayment();\n\n\t}",
"public void transact() {\n\t\truPay.transact();\n\n\t}",
"private void makeDeposit() {\n\t\t\r\n\t}",
"public void creditCard() {\n\t\tSystem.out.println(\"hsbc --- credit card\");\n\t\t\n\t}",
"@Override\n public String pay(int amount) {\n return (amount +\" paid with credit/debit card.\");\n }",
"public void execute() {\r\n int depositAmount = this.promptDepositAmount(); // amount in cents\r\n if (depositAmount != CANCELED) {\r\n screen.displayMessage(\"\\nPlease insert a deposit envelope containing: \");\r\n screen.displayDollarAmount(depositAmount / 100);\r\n screen.displayMessageLine(\".\");\r\n\r\n if (depositSlot.isEnvelopeReceived()) {\r\n screen.displayMessageLine(\"\\nYour envelope has been received.\");\r\n screen.displayMessageLine(\"The money just deposited will not be available until we verify \" +\r\n \"the amount of any enclosed cash and your checks clear.\");\r\n bankDatabase.credit(this.accountNumber, depositAmount / 100);\r\n } else {\r\n screen.displayMessageLine (\"\\nYou did not insert an envelope. The ATM has canceled your transaction.\");\r\n }\r\n } else {\r\n screen.displayMessageLine( \"\\nCanceling transaction...\");\r\n }\r\n }",
"Receipt chargeOrder(PizzaOrder order, CreditCard creditCard);",
"@Override\n public void onClick(View view) {\n addCredit();\n }",
"public void creditar(int valor){\r\n this.contaCorrente.creditar(valor);\r\n }",
"public void transaction() throws DBException {\n\t\tUsersTransaction transaction = new UsersTransaction();\n\t\tScanner scan = new Scanner(System.in);\n\t\tLogger.info(\"================TRANSACTION DETAILS TO DONATE======================\");\n\t\tLogger.info(\"Enter the transaction ID\");\n\t\ttransactionId = scan.nextInt();\n\t\tLogger.info(\"Enter the donor ID\");\n\t\tdonorId = scan.nextInt();\n\t\tLogger.info(\"Enter the fund Id\");\n\t\tfundRequestId = scan.nextInt();\n\t\tLogger.info(\"Enter the amount to be funded\");\n\t\ttargetAmount = scan.nextInt();\n\t\ttransaction.setTransactionId(transactionId);\n\t\ttransaction.setDonorId(donorId);\n\t\ttransaction.setFundRequestId(fundRequestId);\n\t\ttransaction.setTargetAmount(targetAmount);\n\t\tinsert(transaction);\n\t\tdonorFundRequest(reqType);\n\t}",
"public creditPayment(String nm,String expdate,long no,double paymentAmount)\n{\nname=nm;\nexdate=expdate;\ncardnumber=no;\namount = paymentAmount;\n}",
"int payInTurbo(String turboCardNo, float turboAmount, String destinationTurboOfCourse, String installmentsButInTurbo);",
"private void credit(String name, int amount) {\n\t\ttry {\n\t\t\tif (clients.containsKey(name)) {\n\t\t\t\tProfile p = clients.get(name);\n\t\t\t\tp.deductBalance(amount);\n\t\t\t\tsynchronized (CreditCardProcess.class) {\n\t\t\t\t\tclients.put(name, p);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Throwable e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"@Override\n\tpublic void credit() {\n\t\t// TODO Auto-generated method stub\n\t\tSystem.out.println(\"hsbc credit\");\n\t}",
"private void makeTransfer(String withdrawAmt, String depositAcct){\n //assume this will come as numbers only (Keyboard restricted to numbers)\n Double transferAmt = Double.valueOf(withdrawAmt);\n\n //make transfer\n customer.transferFund(currAcctName, depositAcct, transferAmt);\n\n //reset transfer value\n ((EditText)findViewById(R.id.transferAmt)).setText(\"\");\n\n //update balance\n ((TextView) findViewById(R.id.fromAmt)).setText(customer.getBalanceString(currAcctName));\n }",
"@Override\n\tpublic void payCreditCard() {\n System.out.println(\"creditcard payed\");\t\t\n\t}",
"void purchaseMade();",
"public abstract Response makeTransfer(Transaction transaction) throws AccountNotFoundException, InsufficientFundsException;",
"private TransactionRequest initTransactionRequest() {\n TransactionRequest transactionRequestNew = new\n TransactionRequest(System.currentTimeMillis() + \"\", 20000);\n\n //set customer details\n transactionRequestNew.setCustomerDetails(initCustomerDetails());\n\n\n // set item details\n ItemDetails itemDetails = new ItemDetails(\"1\", 20000, 1, \"Trekking Shoes\");\n\n // Add item details into item detail list.\n ArrayList<ItemDetails> itemDetailsArrayList = new ArrayList<>();\n itemDetailsArrayList.add(itemDetails);\n transactionRequestNew.setItemDetails(itemDetailsArrayList);\n\n\n // Create creditcard options for payment\n CreditCard creditCard = new CreditCard();\n\n creditCard.setSaveCard(false); // when using one/two click set to true and if normal set to false\n\n// this methode deprecated use setAuthentication instead\n// creditCard.setSecure(true); // when using one click must be true, for normal and two click (optional)\n\n creditCard.setAuthentication(CreditCard.AUTHENTICATION_TYPE_3DS);\n\n // noted !! : channel migs is needed if bank type is BCA, BRI or MyBank\n// creditCard.setChannel(CreditCard.MIGS); //set channel migs\n creditCard.setBank(BankType.BCA); //set spesific acquiring bank\n\n transactionRequestNew.setCreditCard(creditCard);\n\n return transactionRequestNew;\n }",
"public void credit(){\n\n System.out.println(\"HSBC\");\n\n\n }",
"void submit(String accountName, String accountDescription, String currency);",
"CarPaymentMethod creditCardNumber(String cardNumber);",
"@Transactional\n\tpublic String addTransaction(int toAccNo, int fromAccNo, Transaction tran) {\n\t\t\tEntityManager entityManager = getEntityManager();\n\t\t\tAccountdetail acc = (Accountdetail) entityManager.createQuery(\"select a from Accountdetail a where a.accountnumber =: toaccNo\").setParameter(\"toaccNo\", toAccNo ).getSingleResult();\n\t\t\tAccountdetail acc1 = (Accountdetail) entityManager.createQuery(\"select ac from Accountdetail ac where ac.accountnumber =: fromAccNo\").setParameter(\"fromAccNo\", fromAccNo ).getSingleResult();\n\t\t\t\n\t\t\t//Validation -----> The Balance amount should be greater than the Amount Transfered \n\t\t\tif(acc1.getCurrentbalance()>=tran.getAmounttransferred()) {\n\t\t\t\t\ttran.setAccountto(acc);\n\t\t\t\t\ttran.setAccountfrom(acc1);\n\t\t\t\t\tentityManager.merge(tran);\n\t\t\t\t\t\n\t\t\t\t\t//Taking the amount transfered\n\t\t\t\t\tint amt = tran.getAmounttransferred();\n\t\t\t\t\tSystem.out.println(toAccNo);\n\t\t\t\t\t\n\t\t\t\t\t//Also crediting and debiting the amount from the accounts \n\t\t\t\t\tacc.setCurrentbalance(acc.getCurrentbalance()+amt);\n\t\t\t\t\tacc1.setCurrentbalance(acc1.getCurrentbalance()-amt);\n\t\t\t\t\t\n\t\t\t\t\t//Mailing the details of the transaction to the Respective Account Numbers\n\t\t\t\t\tString info_deb = \"Amount debited from your account.\\nAmount -->\"+amt+\"\\nTo Account -->\"+acc.getAccountnumber();\n String info_rec = \"Amount credited to your account.\\nAmount -->\"+amt+\"\\nFrom Account -->\"+acc1.getAccountnumber();\n mailService.sendMail(info_deb, acc1.getCustomerdetail().getEmail());\n mailService.sendMail(info_rec, acc.getCustomerdetail().getEmail());\n \n\t\t\t\t\treturn \"Transaction Inserted\";\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//If Balance is less than the Amount Transfered \n\t\t\t\telse if(acc1.getCurrentbalance()<tran.getAmounttransferred()) {\n\t\t\t\t\treturn \"insufficient funds\";\n\t\t\t\t}\n\t\t\t\n\t\t\t\t//If the Details is wrong\n\t\t\t\telse {\n\t\t\t\t\treturn \"Wrong details. Please try again\";\n\t\t\t\t}\n\t }",
"public void credit(double amount) {\n this.balance += amount;\n }",
"public void makePayment(String amount, String paymentRef) {\n JudoSDKManager.setKeyAndSecret(getApplicationContext(), API_TOKEN, API_SECRET);\n\n// Set environment to Sandbox\n JudoSDKManager.setSandboxMode(getApplicationContext());\n\n String customerRef = Settings.Secure.getString(getApplicationContext().getContentResolver(),\n Settings.Secure.ANDROID_ID);\n\n Intent intent = JudoSDKManager.makeAPayment(getApplicationContext(), JUDO_ID, \"GBP\", amount, paymentRef, customerRef, null);\n startActivityForResult(intent, ACTION_CARD_PAYMENT);\n }",
"public IBankTransfert payment();",
"public void credit(int userAccountNumber, double amount) {\r\n getAccount(userAccountNumber).credit(amount);\r\n }",
"private void tocashAction() {\n\t\tString bankname = bankName.getText().toString();\n\t\tString personname = personName.getText().toString();\n\t\tString accountstr = account.getText().toString();\n\t\tString phonestr = phone.getText().toString();\n\t\tif (TextUtils.isEmpty(bankname)) {\n\t\t\tshowToast(getResources().getString(R.string.nobankname));\n\t\t\treturn;\n\t\t} else if (TextUtils.isEmpty(personname)) {\n\t\t\tshowToast(getResources().getString(R.string.noopenname));\n\t\t\treturn;\n\t\t} else if (TextUtils.isEmpty(accountstr)) {\n\t\t\tshowToast(getResources().getString(R.string.noaccount));\n\t\t\treturn;\n\t\t} else if (TextUtils.isEmpty(phonestr)) {\n\t\t\tshowToast(getResources().getString(R.string.nophone));\n\t\t\treturn;\n\t\t} else if (!validatePhone(phonestr)) {\n\t\t\tshowToast(getResources().getString(R.string.phoneworng));\n\t\t\treturn;\n\t\t} else {\n\t\t\tAccountVo accountVo = new AccountVo(bankname, personname, accountstr, phonestr);\n\t\t\tuserInfoApi.account(getUserInfoVo().getUid(), accountVo, new ClientAjaxCallback() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onStart() {\n\t\t\t\t\tsuper.onStart();\n\t\t\t\t\tgetWaitDialog().setMessage(\"提交\");\n\t\t\t\t\tgetWaitDialog().show();\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(String t) {\n\t\t\t\t\tsuper.onSuccess(t);\n\t\t\t\t\tgetWaitDialog().cancel();\n\t\t\t\t\tLog.v(\"申请:\", t);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tString data = ErrorCode.getData(getBaseContext(), t);\n\t\t\t\t\t\tif(!TextUtils.isEmpty(data)){\n\t\t\t\t\t\t\tif(\"1\".equals(data)){\n\t\t\t\t\t\t\t\tshow(\"申请成功!\");\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tshow(\"申请失败!\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tshow(\"申请错误!\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tshow(\"申请错误!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onFailure(Throwable t, String strMsg) {\n\t\t\t\t\tsuper.onFailure(t, strMsg);\n\t\t\t\t\tgetWaitDialog().cancel();\n\t\t\t\t\tshow(\"申请错误!\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tprivate void show(String str){\n\t\t\t\t\tgetPromptDialog().setMessage(str);\n\t\t\t\t\tgetPromptDialog().addCannel();\n\t\t\t\t\tgetPromptDialog().setCannelText(\"确定\");\n\t\t\t\t\tgetPromptDialog().removeConfirm();\n\t\t\t\t\tgetPromptDialog().show();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t}",
"private void credit(APDU apdu) {\n\n // access authentication\n if ( ! pin.isValidated() )\n ISOException.throwIt(\n SW_PIN_VERIFICATION_REQUIRED);\n\n byte[] buffer = apdu.getBuffer();\n\n // Lc byte denotes the number of bytes in the\n // data field of the command APDU\n byte numBytes = buffer[ISO7816.OFFSET_LC];\n\n // indicate that this APDU has incoming data\n // and receive data starting from the offset\n // ISO7816.OFFSET_CDATA following the 5 header\n // bytes.\n byte byteRead =\n (byte)(apdu.setIncomingAndReceive());\n\n // it is an error if the number of data bytes\n // read does not match the number in Lc byte\n if ( ( numBytes != 1 ) || (byteRead != 1) )\n ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);\n\n // get the credit amount\n byte creditAmount =\n buffer[ISO7816.OFFSET_CDATA];\n\n // check the credit amount\n if ( ( creditAmount > MAX_TRANSACTION_AMOUNT)\n || ( creditAmount < 0 ) )\n ISOException.throwIt\n (SW_INVALID_TRANSACTION_AMOUNT);\n\n // check the new balance\n if ( (short)( balance + creditAmount) > MAX_BALANCE )\n ISOException.throwIt\n (SW_EXCEED_MAXIMUM_BALANCE);\n\n // credit the amount\n balance = (short)(balance + creditAmount);\n\n }",
"@Override\n\tpublic void tranfermoney() {\n\t\tSystem.out.println(\"hsbc tranfermoney\");\n\t}",
"public void cashReceipt(int amount){\r\n System.out.println(\"Take the receipt\");\r\n }",
"private void pay() {\r\n System.out.println(\"Customer sent payment\");\r\n }",
"void confirmRealWorldTrade(IUserAccount user, ITransaction trans);",
"private void credit(JDA jda)\n {\n return;\n }",
"public void onPayClick(){\n this.user.updateCreditDec(priceToBePaid);\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Information Dialog\");\n alert.setHeaderText(null);\n alert.setContentText(\"Payment successful! You payed \" + cost.getText());\n alert.showAndWait();\n }",
"public static void transfer() {\n\t\ttry {\n\t\t\tif (!LoginMgr.isLoggedIn()) {\n\t\t\t\tthrow new NotLoggedInException();\n\t\t\t}\n\n\t\t\t// Scanner s = new Scanner(System.in);\n\t\t\tSystem.out.println(\"Enter account number to transfer to: \");\n\t\t\tString accNum = \"\";\n\t\t\tif (Quinterac.s.hasNextLine())\n\t\t\t\taccNum = Quinterac.s.nextLine();\n\n\t\t\tif (!ValidAccListMgr.checkAccNumExist(accNum)) {\n\t\t\t\tSystem.out.println(\"Please enter a valid account number\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tSystem.out.println(\"Enter account number to transfer from: \");\n\t\t\tString accNumB = \"\";\n\t\t\tif (Quinterac.s.hasNextLine())\n\t\t\t\taccNumB = Quinterac.s.nextLine();\n\n\t\t\tif (!ValidAccListMgr.checkAccNumExist(accNumB)) {\n\t\t\t\tSystem.out.println(\"Please enter a valid account number\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tSystem.out.println(\"Enter the amount of money to transfer in cents: \");\n\t\t\tint amount = 0;\n\t\t\tif (Quinterac.s.hasNextInt())\n\t\t\t\tamount = Integer.parseInt(Quinterac.s.nextLine());\n\n\t\t\tString modeName = LoginMgr.checkMode();\n\t\t\tif (modeName.equals(\"machine\")) {\n\t\t\t\tatmCheckTransferValid(accNum, amount, accNumB);\n\t\t\t} else if (modeName.equals(\"agent\")) {\n\t\t\t\tagentCheckTransferValid(accNum, amount, accNumB);\n\t\t\t}\n\n\t\t} catch (NotLoggedInException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\n\t}",
"public void autoPay() {}",
"ShipmentContactMech createShipmentContactMech();",
"public void setCredit(int credit) {\n this.credit = credit;\n }",
"void buyDevCard();",
"public void checkCreditCard() throws BusinessException;",
"@Override\r\n\tpublic void makePayment(int price) {\n\t\tSystem.out.println(\"Payment Of Rs. \"+price+\" Through COD Successfull. Thank You!\");\r\n\t}",
"public boolean isTransferRequestValid(Customer fromCustomer,Customer toCustomer,RewardCurrency fromRewardCurrency, RewardCurrency toRewardCurrency,TransferPointSetting transferPointSetting) throws InspireNetzException {\n\n MessageWrapper messageWrapper = generalUtils.getMessageWrapperObject(\"\",fromCustomer.getCusLoyaltyId(),\"\",\"\",\"\",fromCustomer.getCusMerchantNo(),new HashMap<String, String>(0),MessageSpielChannel.ALL,IndicatorStatus.YES);\n\n // Check if the customer status is active\n if ( fromCustomer.getCusStatus() != CustomerStatus.ACTIVE ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> The fromCustomer account is not active\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_FROM_CUSTOMER_INACTIVE);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(), CustomerActivityType.TRANSFER_POINT, \"Failed , source customer not active\", fromCustomer.getCusMerchantNo(), \"\");\n\n // throw exception\n throw new InspireNetzException(APIErrorCode.ERR_PARTY_NOT_ACTIVE);\n\n }\n\n\n // Check if the toCustomer is active\n if ( toCustomer.getCusStatus() != CustomerStatus.ACTIVE ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> The toCustomer account is not active\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_TO_CUSTOMER_INACTIVE);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , destination customer not active\",fromCustomer.getCusMerchantNo(),\"\");\n\n // throw exception\n throw new InspireNetzException(APIErrorCode.ERR_PARTY_NOT_ACTIVE);\n\n }\n\n\n // Check if the both fromCustomer and toCustomer are same\n if ( fromCustomer.getCusCustomerNo().longValue() == toCustomer.getCusCustomerNo().longValue() ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> sourceCustomer and destCustomer cannot be same\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_CUSTOMERS_SAME);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , source and destination customers are same\",fromCustomer.getCusMerchantNo(),\"\");\n\n // throw exception\n throw new InspireNetzException(APIErrorCode.ERR_OPERATION_NOT_ALLOWED);\n\n }\n\n\n // Check if the transferPointSetting is valid\n if ( transferPointSetting == null ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> No TransferPointSetting object found\");\n\n messageWrapper.setSpielName(MessageSpielValue.GENERAL_ERROR_MESSAGE);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , no transfer point setting found\",fromCustomer.getCusMerchantNo(),\"\");\n\n // throw exception\n throw new InspireNetzException(APIErrorCode.ERR_OPERATION_FAILED);\n\n }\n\n\n // Check the validity for the location compatibility\n if ( fromCustomer.getCusLocation().longValue() != toCustomer.getCusLocation().longValue() &&\n transferPointSetting.getTpsTransferCompatibility() != TransferPointSettingCompatibility.ACROSS_LOCATIONS ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> Transfer request across locations are not allowed\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_ACROSS_LOCATION);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , transfer request across mega brands not allowed\",fromCustomer.getCusMerchantNo(),\"\");\n\n // return false\n throw new InspireNetzException(APIErrorCode.ERR_OPERATION_NOT_ALLOWED);\n\n\n }\n\n\n // check if the customer tier is valid\n boolean isTierValid = isCustomerTierValid(fromCustomer);\n\n // If not valid, then throw exception\n if ( !isTierValid ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> Customer tier does not allow transfer\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_CUSTOMER_TIER_NOT_VALID);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , customer tier doesn't allow transfer \",fromCustomer.getCusMerchantNo(),\"\");\n\n // return false\n throw new InspireNetzException(APIErrorCode.ERR_TRANSFER_REQUEST_TIER_NOT_VALID);\n\n }\n\n\n\n\n // Check if the customer has reached max transfer limit\n boolean isMaxTransferValid = isMaxTransfersValid(fromCustomer,transferPointSetting);\n\n // Check if the max transfer condition is valid\n if ( !isMaxTransferValid ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> Customer exceeded maximum limit\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_MAX_TRANSFER_LIMIT_REACHED);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , customer exceeded maximum transfer limit \",fromCustomer.getCusMerchantNo(),\"\");\n\n // return false\n throw new InspireNetzException(APIErrorCode.ERR_MAX_TRANSFER_POINT_COUNT_EXCEEDED);\n\n }\n\n\n // Check if the parties involved are part of a linking\n boolean isPartOfLinking = isCustomersLinked(fromCustomer, toCustomer);\n\n // Check if the customers are part of linking\n if ( isPartOfLinking ) {\n\n // Log the information\n log.info(\"transferPoints -> isTransferRequestValid -> From customer and to customer are linked\");\n\n messageWrapper.setSpielName(MessageSpielValue.TRANSFER_POINT_CUSTOMER_LINKED);\n\n userMessagingService.transmitNotification(messageWrapper);\n\n //log the activity\n customerActivityService.logActivity(fromCustomer.getCusLoyaltyId(),CustomerActivityType.TRANSFER_POINT,\"Failed , source and destination customers are linked \",fromCustomer.getCusMerchantNo(),\"\");\n\n // return false\n throw new InspireNetzException(APIErrorCode.ERR_TRANSFER_PARTIES_LINKED);\n\n }\n\n\n // Check if the customer\n return true;\n\n }",
"@Test\n\tpublic void AccountCredit_test() { Using HamCrest \t\t\n\t\t// Exercise code to run and test\n\t\t//\n\t\tmiCuenta.setHolder(this.arg1);\n\t\t//\n\t\tmiCuenta.setBalance(this.arg2); \n\t\t//\n\t\tmiCuenta.setZone(this.arg3);\n\t\t//\n\t\tmiCuenta.debit(this.arg4);\n\t\tint Debit = miCuenta.getBalance(); \t\t\t\t\n\t\t// Verify\n\t\tassertThat(this.arg5, is(Debit));\n\t\t\n\t}",
"@Override\r\n\tpublic boolean transferAmnt(int toAccNo, double money)\r\n\t\t\tthrows EwalletException {\n\t\tAccount ftTemp =new Account();\r\n\t\tif(temp.getCustBal()>=money) {\r\n\t\tftTemp = dao.loginuser(toAccNo);\r\n\t\tif(ftTemp!=null)\r\n\t\t{\r\n\t\t\tftTemp.setCustBal(ftTemp.getCustBal()+money);\r\n\t\t\ttemp.setCustBal(temp.getCustBal()-money);\r\n\t\t\ttemp.settDetails(\"Date :\"+tDate+\" Amount Transfered :\"+money+\" To Acc No: \"+ftTemp.getAccNum()+\" Total Balance :\"+temp.getCustBal());\r\n\t\t\tftTemp.settDetails(\"Date :\"+tDate+\" Depsoited Amount :\"+money+\" From Acc No: \"+temp.getAccNum()+\" Total Balance :\"+ftTemp.getCustBal());\r\n\t\t\tdao.updatedetails(temp.getAccNum(), temp);\r\n\t\t\tdao.updatedetails(ftTemp.getAccNum(), ftTemp);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}\r\n\t\telse if(temp.getCustBal()<money)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Low Balance to transfer\");\r\n\t\t}\r\n\t\t\r\n\t\telse\r\n\t\t\tSystem.out.println(\"No such user account\");\r\n\t\treturn false;\r\n\t}",
"private void contactUs() {\n }",
"boolean postReimbursementToDataBase(int amount, String description, int author, int statusId, int typeId);",
"public boolean doTransaction() {\r\n int nonce = -1;\r\n TransactionOperation transactionOperation = null;\r\n try {\r\n double balance;\r\n \r\n //read the stream for requests from client\r\n byte[] cipherText = (byte [])is.readObject();\r\n \r\n // decrypt the ciphertext to obtain the signed message\r\n ATMSessionMessage atmSessionMessage = (ATMSessionMessage) crypto.decryptRijndael(cipherText, kSession);\r\n if(!(currTimeStamp < atmSessionMessage.getTimeStamp())) error (\"Time stamp does not match\");\r\n \r\n //interpret the transaction operation in the request\r\n SignedMessage signedMessage = atmSessionMessage.getSignedMessage();\r\n \r\n \r\n \t\t//verify signature\r\n \t\ttry {\r\n \t\t\tif(!crypto.verify(signedMessage.msg, signedMessage.signature, currAcct.kPub))\r\n \t\t\t{\r\n \t\t\t\tSystem.out.println(\"Digital signature failed...\");\r\n \t\t\t}\r\n \t\t\tSystem.out.println(\"Message signature valid...\");\r\n \t\t} catch (SignatureException e2) {\r\n \t\t\te2.printStackTrace();\r\n \t\t\treturn false;\r\n \t\t} catch (KeyException e2) {\r\n \t\t\te2.printStackTrace();\r\n \t\t\treturn false;\r\n \t\t}\r\n \t\t\r\n TransactionMessage transactionMessage = (TransactionMessage)signedMessage.getObject();\r\n transactionOperation = transactionMessage.getOperation();\r\n \r\n //print the signed message\r\n System.out.println(\"\\n\" + (new Date()).toString());\r\n System.out.println(signedMessage.toString());\r\n \r\n //strip out the parameters embedded \r\n nonce = atmSessionMessage.getNonce();\r\n double value = transactionMessage.getValue();\r\n \r\n //print the timestamp when the transaction takes place\r\n Date now = new Date();\r\n System.out.println(\"\\n\" + now.toString());\r\n \r\n //re-route the request to the appropriate handling function\r\n if(transactionOperation == TransactionOperation.Deposit) {\r\n \t System.out.println(\"ACCT #:\" + currAcct.getNumber() + \" DEPOSIT: \" + value);\r\n currAcct.deposit(value);\r\n \r\n System.out.println(\"\\n\" + (now).toString());\r\n System.out.println(\"Deposit Complete. BALANCE:\" + currAcct.getBalance());\r\n }\r\n else if(transactionOperation == TransactionOperation.Withdraw) {\r\n \t System.out.println(\"ACCT #:\" + currAcct.getNumber() + \" WITHDRAW: \" + value);\r\n \t currAcct.withdraw(value);\r\n \t \r\n System.out.println(\"\\n\" + (now).toString());\r\n System.out.println(\"Withdrawal Complete. BALANCE:\" + currAcct.getBalance());\r\n }\r\n else if(transactionOperation == TransactionOperation.EndSession) \r\n \t {\r\n \t \tSystem.out.println(\"\\nTerminating session with ACCT#: \" + currAcct.getNumber());\r\n \t \treturn false;\r\n \t \t\r\n \t }\r\n \r\n accts.save();\r\n //create a successful reply Success and set the balance\r\n balance = currAcct.getBalance(); \r\n transactionMessage = new TransactionMessage(MessageType.ResponseSuccess,transactionOperation,balance);\r\n atmSessionMessage = new ATMSessionMessage(transactionMessage);\r\n \r\n //set the nonce \r\n atmSessionMessage.setNonce(nonce);\r\n currTimeStamp = atmSessionMessage.getTimeStamp();\r\n //encrypt the response and send it\r\n cipherText = crypto.encryptRijndael(atmSessionMessage, kSession);\r\n os.writeObject((Serializable)cipherText);\r\n \r\n //Logging.....\r\n //get the signed message and encrypt it\r\n \r\n signedMessage.encryptMessage(this.kLog);\r\n \r\n //encrypt the action\r\n //archive the signed message for logging and non-repudiation purposes \r\n SignedAction signedAction = new SignedAction(currAcct.getNumber(), atmSessionMessage.getTimeStamp(), signedMessage);\r\n \r\n //flush out transaction record to the audit file\r\n BankServer.log.write(signedAction);\r\n \r\n\t return true;\r\n }\r\n catch(Exception e){\r\n if(e instanceof TransException) replyFailure(transactionOperation,nonce);\r\n System.out.println(\"Terminating session with ACCT#: \" + currAcct.getNumber());\r\n \t//e.printStackTrace();\r\n \r\n return true;\r\n }\r\n }",
"public void authorizeTransaction() {}",
"public boolean canCredit(double amount);",
"int insert(CGcontractCredit record);",
"public void recordPurchase(double amount)\n {\n balance = balance - amount;\n // your code here\n \n }",
"public void acceptTransaction(CommandOfService c) throws Exception {\n Session session = Session.getInstance();\n User currentUser = session.getCurrentUser();\n // We pay with the points\n Service s = c.getService();\n User u = c.getOwner();\n if(s.getTypeService() == 1){\n // We pay the user helping\n userDAO.removePoints(s.getCost(),currentUser);\n userDAO.addPoints(s.getCost(),u);\n }\n else{\n // We pay the owner of the service\n userDAO.addPoints(s.getCost(),s.getOwner());\n }\n DAO.acceptTransaction(c);\n FacadeNotification facadeNotification = FacadeNotification.getInstance();\n String title = \"Transaction accepted!\";\n String desc = \"Your command for: \"+s.getTitle()+\" has been accepted.\\n\" +\n \"The points have been exchanged\";\n try {\n facadeNotification.createNotification(c.getOwner().getIdUser(),title,desc);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public void getCredit(){\n System.out.println(\"Total Credit: \" +\"£\" + getUserMoney());\n }",
"public void ventaBilleteMaquina1()\n {\n maquina1.insertMoney(500);\n maquina1.printTicket();\n }",
"public boolean makeTransfer(int originAccNo, int targetAccNo, float amount) {\n Account origAccount = getAccountByAccountNo(originAccNo);\n Account targetAccount = getAccountByAccountNo(targetAccNo);\n if (checkIfEnough(origAccount, amount)) {\n origAccount.setBalance(origAccount.getBalance() - amount);\n targetAccount.setBalance(targetAccount.getBalance() + amount);\n //update the two accounts after the transaction\n saveOrUpdate(origAccount);\n saveOrUpdate(targetAccount);\n //save transaction to database with current timestamp\n Transaction transaction = new Transaction();\n transaction.setAccountNo(originAccNo);\n transaction.setTime(new Timestamp(new Date().getTime()));\n transaction.setType(\"transfer from\");\n transactionRepository.save(transaction);\n Transaction transaction2 = new Transaction();\n transaction2.setAccountNo(targetAccNo);\n transaction2.setTime(new Timestamp(new Date().getTime()));\n transaction2.setType(\"transfer to\");\n transactionRepository.save(transaction2);\n\n return true;\n } else {\n return false;\n }\n }",
"private void updateTransaction() {\n LogUtils.logEnterFunction(Tag);\n\n String inputtedAmount = etAmount.getText().toString().trim().replaceAll(\",\", \"\");\n if (inputtedAmount.equals(\"\") || Double.parseDouble(inputtedAmount) == 0) {\n etAmount.setError(getResources().getString(R.string.Input_Error_Amount_Empty));\n return;\n }\n\n if (mAccount == null) {\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.Input_Error_Account_Empty));\n return;\n }\n\n Double amount = Double.parseDouble(inputtedAmount);\n int categoryId = mCategory != null ? mCategory.getId() : 0;\n String description = tvDescription.getText().toString();\n int accountId = mAccount.getId();\n String strEvent = tvEvent.getText().toString();\n Event event = null;\n\n if (!strEvent.equals(\"\")) {\n event = mDbHelper.getEventByName(strEvent);\n if (event == null) {\n long eventId = mDbHelper.createEvent(new Event(0, strEvent, mCal, null));\n if (eventId != -1) {\n event = mDbHelper.getEvent(eventId);\n }\n }\n }\n\n // Less: Repayment, More: Lend\n if(mCategory.getDebtType() == Category.EnumDebt.LESS || mCategory.getDebtType() == Category.EnumDebt.MORE) {\n\n boolean isDebtValid = true;\n if(mCategory.getDebtType() == Category.EnumDebt.LESS) { // Income -> Debt Collecting\n List<Debt> debts = mDbHelper.getAllDebtByPeople(tvPeople.getText().toString());\n\n Double lend = 0.0, debtCollect = 0.0;\n for(Debt debt : debts) {\n if(mDbHelper.getCategory(debt.getCategoryId()).isExpense() && mDbHelper.getCategory(debt.getCategoryId()).getDebtType() == Category.EnumDebt.MORE) {\n lend += debt.getAmount();\n }\n\n if(!mDbHelper.getCategory(debt.getCategoryId()).isExpense() && mDbHelper.getCategory(debt.getCategoryId()).getDebtType() == Category.EnumDebt.LESS) {\n debtCollect += debt.getAmount();\n }\n }\n\n if(debtCollect + amount > lend) {\n isDebtValid = false;\n ((ActivityMain) getActivity()).showError(getResources().getString(R.string.message_debt_collect_invalid));\n }\n\n } // End DebtType() == Category.EnumDebt.LESS\n if(isDebtValid) {\n Transaction transaction = new Transaction(mTransaction.getId(),\n TransactionEnum.Income.getValue(),\n amount,\n categoryId,\n description,\n 0,\n accountId,\n mCal,\n 0.0,\n \"\",\n event);\n\n int row = mDbHelper.updateTransaction(transaction);\n if (row == 1) { // Update transaction OK\n\n if(mDbHelper.getDebtByTransactionId(mTransaction.getId()) != null) {\n Debt debt = mDbHelper.getDebtByTransactionId(mTransaction.getId());\n debt.setCategoryId(mCategory.getId());\n debt.setAmount(amount);\n debt.setPeople(tvPeople.getText().toString());\n\n int debtRow = mDbHelper.updateDebt(debt);\n if(debtRow == 1) {\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_update_successful));\n cleanup();\n // Return to last fragment\n getFragmentManager().popBackStackImmediate();\n } else {\n // Revert update\n mDbHelper.updateTransaction(mTransaction);\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_update_fail));\n }\n } else {\n Debt newDebt = new Debt();\n newDebt.setCategoryId(mCategory.getId());\n newDebt.setTransactionId((int) mTransaction.getId());\n newDebt.setAmount(amount);\n newDebt.setPeople(tvPeople.getText().toString());\n\n long debtId = mDbHelper.createDebt(newDebt);\n if(debtId != -1) {\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_create_successful));\n cleanup();\n // Return to last fragment\n getFragmentManager().popBackStackImmediate();\n } else {\n // Revert update\n mDbHelper.updateTransaction(mTransaction);\n ((ActivityMain) getActivity()).showToastSuccessful(getResources().getString(R.string.message_transaction_update_fail));\n }\n } // End create new Debt\n\n } // End Update transaction OK\n } // End isDebtValid\n\n } else { // CATEGORY NORMAL\n Transaction transaction = new Transaction(mTransaction.getId(),\n TransactionEnum.Income.getValue(),\n amount,\n categoryId,\n description,\n 0,\n accountId,\n mCal,\n 0.0,\n \"\",\n event);\n\n int row = mDbHelper.updateTransaction(transaction);\n if (row == 1) { // Update transaction OK\n if(mDbHelper.getDebtByTransactionId(mTransaction.getId()) != null) {\n mDbHelper.deleteDebt(mDbHelper.getDebtByTransactionId(mTransaction.getId()).getId());\n }\n // Return to last fragment\n getFragmentManager().popBackStackImmediate();\n }\n }\n\n LogUtils.logLeaveFunction(Tag);\n }",
"@Test\n\tpublic void testCheckSufficientCredits_OverdraftFacility() {\n\n\t\tint creditsRequired = 11;\n\n\t\tSmsMessage msg = new SmsMessage();\n\t\tSmsTask smsTask = new SmsTask();\n\t\tsmsTask.setSakaiSiteId(SmsConstants.SMS_DEV_DEFAULT_SAKAI_SITE_ID);\n\t\tsmsTask.setSmsAccountId(account.getId());\n\t\tsmsTask.setDateCreated(new Timestamp(System.currentTimeMillis()));\n\t\tsmsTask.setDateToSend(new Timestamp(System.currentTimeMillis()));\n\t\tsmsTask.setStatusCode(SmsConst_DeliveryStatus.STATUS_PENDING);\n\t\tsmsTask.setAttemptCount(2);\n\t\tsmsTask.setMessageBody(SmsConstants.SMS_DEV_DEFAULT_SMS_MESSAGE_BODY);\n\t\tsmsTask.setSenderUserName(\"senderUserName\");\n\t\tsmsTask.setMaxTimeToLive(1);\n\t\tsmsTask.getSmsMessages().add(msg);\n\t\tsmsTask.setCreditEstimate(creditsRequired);\n\t\tmsg.setSmsTask(smsTask);\n\n\t\tboolean sufficientCredits = smsBillingImpl.checkSufficientCredits(\n\t\t\t\taccount.getId(), creditsRequired);\n\t\tAssert.assertFalse(\"Expected insufficient credit\", sufficientCredits);\n\t\thibernateLogicLocator.getSmsAccountLogic().persistSmsAccount(account);\n\t\tsufficientCredits = smsBillingImpl.checkSufficientCredits(account\n\t\t\t\t.getId(), creditsRequired);\n\t\tAssert.assertTrue(\"Expected insufficient credit\", !sufficientCredits);\n\t}",
"String makePayment(String userName, String teamName, Payment payment) throws RemoteException, InterruptedException;",
"public CreditCard(int pin, String number, String holder, Date expiryDate, int cvc){\r\n this.pin = pin;\r\n this.number = number;\r\n this.holder = holder;\r\n this.expiryDate = expiryDate;\r\n this.cvc = cvc;\r\n}",
"public void credits() {\n\t}",
"public static void main(String[] args) {\n\t\tCustomer customer = new Customer(true);\r\n\t\tdouble amount = 105.78;\r\n\t\tdouble donation;\r\n\t\tString cardType= \" \";\r\n\t\t//YOUR CODE GOES BELOW THIS LINE\r\n\t\tCreditCard creditcard = new CreditCard(customer, amount, donation=0);\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\t\r\n\t\t\r\n\t\t// call for setCardname\r\n\t\tsetCardname(creditcard, scan);\r\n\t\t\r\n\t\t// set card type\r\n\t\tcardType= getCardType(scan, cardType);\r\n\t\t\r\n\t\t// request the card number\r\n\t\tsetCardnumber(creditcard, scan);\r\n\t\t\r\n\t\t//request the expiration date\r\n\t\tsetExpirationDate (creditcard,scan);\r\n\t\r\n\t\t// request the Security Code\r\n\t\tsetSecurityCode (creditcard,scan);\r\n\t\t\r\n\t\t// request billing address\r\n\t\tsetBillingAddress(creditcard, scan);\r\n\t\t\r\n\t\t//request shipping address\r\n\t\tSystem.out.println(\"Shipping address:\\n\" + \"Press 1 if the shipping address is the same as the customer address \\n\" +\r\n\t\t\t\t \"Press 2 if the shipping address is a new address \");\r\n\t\tsetShippingAddress( creditcard, customer, scan);\r\n\t\t\r\n\t\t//\r\n\t\t// get donation\r\n\t\t//\r\n\t\tString userAnswer= (scan.nextLine()).toUpperCase();\r\n\t\tSystem.out.println(\"Would you like to donate? Yes/No: \");\r\n\t\tuserAnswer= (scan.nextLine()).toUpperCase();\r\n\t\t\r\n\t\tif (userAnswer.equals(\"YES\"))\r\n\t\t\tdonation= getDonation(customer, creditcard, scan, donation, amount);\r\n\t\telse\r\n\t\t\tSystem.out.println(\" \");\t\r\n\t\t\r\n\t\t//\r\n\t\t// print summary\r\n\t\t//\r\n\t\tSystem.out.println(\"---------------------------------------------------------------------------\\n\"\r\n\t\t +(customer.firstName).toUpperCase() + \",\" + \"Here Is Your Purchase Summary:\\n\"\r\n\t\t\t\t + \"------------------------------------------------------------------------------\");\r\n\t\tprintSummary( customer, creditcard, donation, cardType, amount,scan);\r\n\t\t\r\n\t\tLastCheck(customer, creditcard, donation, cardType, amount, scan);\r\n\t\t\r\n\t\tscan.close();\r\n\t}",
"private void handleTransaction() throws Exception {\r\n\t\tString receiver;\r\n\t\tString amount;\r\n\t\tMessage sendTransaction = new Message().addData(\"task\", \"transaction\").addData(\"message\", \"do_transaction\");\r\n\t\tMessage response;\r\n\r\n\t\tthis.connectionData.getTerminal().write(\"enter receiver\");\r\n\t\treceiver = this.connectionData.getTerminal().read();\r\n\r\n\t\t// tries until a amount is typed that's between 1 and 10 (inclusive)\r\n\t\tdo {\r\n\t\t\tthis.connectionData.getTerminal().write(\"enter amount (1-10)\");\r\n\t\t\tamount = this.connectionData.getTerminal().read();\r\n\t\t} while (!amount.matches(\"[0-9]|10\"));\r\n\r\n\t\t// does the transaction\r\n\t\tsendTransaction.addData(\"receiver\", this.connectionData.getAes().encode(receiver)).addData(\"amount\",\r\n\t\t\t\tthis.connectionData.getAes().encode(amount));\r\n\r\n\t\tthis.connectionData.getConnection().write(sendTransaction);\r\n\r\n\t\tresponse = this.connectionData.getConnection().read();\r\n\t\tif (response.getData(\"message\").equals(\"success\")) {\r\n\t\t\tthis.connectionData.getTerminal().write(\"transaction done\");\r\n\t\t} else {\r\n\t\t\tthis.connectionData.getTerminal().write(\"transaction failed. entered correct username?\");\r\n\t\t}\r\n\t}",
"public void makePayment() {\r\n System.out.println(\"pay\");\r\n setPayed(true);\r\n }",
"private void returnDeposit(String paymentInfo) {\n }",
"@Test\n\tpublic void testValidTransaction() {\n\t\t\n\t\tString customerCpr = \"111111-0000\";\n\t\tString merchantCpr = \"000000-1111\";\n\t\tString uuid = \"123412345\";\n\t\tdouble amount = 100;\n\t\t\n\t\tCustomer customer = new Customer(customerCpr,\"customer\",\"bankid\");\n\t\tCustomer merchant = new Customer(merchantCpr,\"merchant\",\"bankid\");\n\t\tdatabase.addCustomer(customer);\n\t\tdatabase.addCustomer(merchant);\n\t\tdatabase.addBarcode(customerCpr, uuid);\n\t\t\n\t\tTransactionRequest transRequest = new TransactionRequest(uuid,merchantCpr,amount,\"comment\");\n\t\tTransactionHandler transHandle = new TransactionHandler(transRequest);\n\t\t\n\t\tString verifyParticipants = transHandle.verifyTransactionParticipants();\n\t\tString transJMSMessage = transHandle.generateTransactionJMSRequest();\n\t\tdatabase.deleteCustomer(customerCpr);\n\t\tdatabase.deleteCustomer(merchantCpr);\n\n\t\tassertEquals(\"Transaction participants are valid\",verifyParticipants);\n\t\tassertEquals(transJMSMessage,customer.getBankId()+\" \"+ merchant.getBankId()+ \" \" + amount + \" \" + \"comment\");\n\t}",
"@Override\r\n\tpublic void fundTransfer(String sender, String reciever, double amount) {\n\t\t\r\n\t\tString name, newMobileNo;\r\n\t\tfloat age;\r\n\t\tdouble amountFund;\r\n\t\t\r\n\t\tCustomer custSender = custMap.get(sender);\r\n\t\tCustomer custReciever = custMap.get(reciever);\r\n\t\t\r\n\t\tdouble recieverAmount = custReciever.getInitialBalance();\r\n\t\tdouble senderAmount = custSender.getInitialBalance();\r\n\t\tif(senderAmount - amount > 500){\r\n\t\t\trecieverAmount += amount;\r\n\t\t\tsenderAmount -= amount;\r\n\t\t\tSystem.out.println(\"Fund Transferred\");\r\n\t\t}\r\n\t\tname = custSender.getName();\r\n\t\tnewMobileNo = custSender.getMobileNo();\r\n\t\tage = custSender.getAge();\r\n\t\tamountFund = senderAmount;\r\n\t\t\r\n\t\tcustSender.setAge(age);\r\n\t\tcustSender.setInitialBalance(senderAmount);\r\n\t\tcustSender.setMobileNo(newMobileNo);\r\n\t\tcustSender.setName(name);\r\n\t\t\r\n\t\tcustMap.put(newMobileNo, custSender);\r\n\t\t\r\n\t\tname = custReciever.getName();\r\n\t\tnewMobileNo = custReciever.getMobileNo();\r\n\t\tage = custReciever.getAge();\r\n\t\tamountFund = recieverAmount;\r\n\t\t\r\n\t\tcustReciever.setAge(age);\r\n\t\tcustReciever.setInitialBalance(recieverAmount);\r\n\t\tcustReciever.setMobileNo(newMobileNo);\r\n\t\tcustReciever.setName(name);\r\n\t\t\r\n\t\tcustMap.put(newMobileNo, custReciever);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}",
"void transfer(BankAccount x,double amt)\n\t{\n\t\tSystem.out.println(\"transferring the amount\");\n\t\twithdraw(amt);\n\t\tx.deposit(amt);\n\t\tSystem.out.println(\"transfer done successfully! \");\n\t}",
"@Override\n public void onClick(View v) {\n\n int totalAmt = (int) Math.ceil(Double.parseDouble(String.valueOf(txtTotalAmount.getText()))); //always rounds up to the nearest whole\n\n try {\n if ((PersistentData.callpermissiongranted)&&(PersistentData.smspermissiongranted))\n {\n\n if (executionComplete && validateFields(v))\n {\n\n //Mobile Money USSD code dialer\n startActivity(new Intent(Intent.ACTION_CALL).setData(Uri.parse(\"tel:*007*1*2*101248*\"+ totalAmt +\"*123456\"+Uri.encode(\"#\"))));\n\n\n // Magic here*/\n\n mHandler.postDelayed(new Runnable() {\n public void run() {\n Log.d(\"CheckOutActivity\",\": paymentconfirmed status \" + PersistentData.paymentConfirmed);\n if(PersistentData.paymentConfirmed){\n Log.d(\"CheckOutActivity\",\": Order Started\");\n RegisterOrder RO = new RegisterOrder();\n RO.execute(\"\");\n Log.d(\"CheckOutActivity\",\": Order Executed\");\n }\n doStuff();\n }\n }, 60000);\n }\n else\n {\n //Incorrect Error handling\n //Toast.makeText(getBaseContext(), \"Your order registration is still in progress.Please await its completion. Siyabonga.\",Toast.LENGTH_LONG).show();\n }\n }\n else\n {\n checkPermissions();\n }\n }\n catch(Exception ex)\n {\n Toast.makeText(getBaseContext(), ex.getMessage(),Toast.LENGTH_LONG).show();\n }\n\n }",
"SerialResponse createRecipient(PinRecipientPost pinRecipientPost);",
"private void automaticPayment(String accountName, String reciever, String billName, final int amount, String date) {\n Log.d(TAG, \"makeTransaction: Has been called\");\n final DocumentReference senderDocRef = db.collection(\"users\").document(user.getEmail())\n .collection(\"accounts\").document(accountName);\n\n final DocumentReference recieverDocRef = db.collection(\"companies\").document(reciever);\n\n final DocumentReference billDocRef = db.collection(\"companies\").document(reciever).collection(\"customer\")\n .document(user.getEmail()).collection(\"bills\").document(billName);\n\n db.runTransaction(new Transaction.Function<Void>() {\n @Override\n public Void apply(Transaction transaction) throws FirebaseFirestoreException {\n DocumentSnapshot sender = transaction.get(senderDocRef);\n DocumentSnapshot reciever = transaction.get(recieverDocRef);\n\n\n int senderBalance = sender.getLong(\"balance\").intValue();\n int recieverBalance = reciever.getLong(\"amount\").intValue();\n int transactionBalance = Math.abs(amount);\n\n if (senderBalance >= transactionBalance) {\n transaction.update(senderDocRef, \"balance\", senderBalance - transactionBalance);\n transaction.update(recieverDocRef, \"amount\", recieverBalance + transactionBalance);\n transaction.update(billDocRef, \"isPaid\", true);\n\n\n SimpleDateFormat dateformat = new SimpleDateFormat(\"dd-MM-yyyy\");\n Date newDate = new Date();\n Calendar cal = Calendar.getInstance();\n cal.setTime(newDate);\n cal.add(Calendar.MONTH, 1);\n newDate = cal.getTime();\n transaction.update(billDocRef, \"recurring\", dateformat.format(newDate));\n } else {\n Log.d(TAG, \"apply: Transaction ikke fuldført\");\n }\n\n // Success\n return null;\n }\n }).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(TAG, \"Transaction success!\");\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(TAG, \"Transaction failure.\", e);\n }\n });\n\n }",
"@Test\n\tpublic void testConvertCreditsToAmount() {\n\t\tsmsBillingImpl.convertAmountToCredits(testAmount);\n\n\t\t// Not sure how to test this properly.\n\t}",
"public void createpay(String date1, String cname, String amt, String desci) {\n\t\tContentValues cv=new ContentValues();\n\t\tcv.put(Sales_Date, date1);\n\t\tcv.put(Sales_Cname, cname);\n\t\t\n\t\tcv.put(Sales_Amt, Integer.parseInt(amt));\n\t\tcv.put(Sales_Des, desci);\n\t\tourDatabase.insert(DATABASE_TABLE3, null, cv);\n\t\n\t}",
"public void createAccount() {\n\t\tSystem.out.print(\"Enter Name: \");\n\t\tString name = nameCheck(sc.next());\n\t\tSystem.out.print(\"Enter Mobile No.: \");\n\t\tlong mobNo = mobCheck(sc.nextLong());\n\t\tlong accNo = mobNo - 1234;\n\t\tSystem.out.print(\"Enter Balance: \"); \n\t\tfloat balance = amountCheck(sc.nextFloat());\n\t\tuserBean BeanObjCreateAccountObj = new userBean(accNo, name, mobNo, balance);\n\t\tSystem.out.println(\"Account created with Account Number: \" +accNo);\n\t\tServiceObj.bankAccountCreate(BeanObjCreateAccountObj);\n\t\t\n\t\n\t}",
"void createCustomerAccount(String mobileNumber) throws Exception;",
"private void submitTransaction() {\n String amountGiven = amount.getText().toString();\n double decimalAmount = Double.parseDouble(amountGiven);\n amountGiven = String.format(\"%.2f\", decimalAmount);\n String sourceGiven = source.getText().toString();\n String descriptionGiven = description.getText().toString();\n String clientId = mAuth.getCurrentUser().getUid();\n String earnedOrSpent = \"\";\n\n if(amountGiven.isEmpty()){\n amount.setError(\"Please provide the amount\");\n amount.requestFocus();\n return;\n }\n\n if(sourceGiven.isEmpty()){\n source.setError(\"Please provide the source\");\n source.requestFocus();\n return;\n }\n\n if(descriptionGiven.isEmpty()){\n descriptionGiven = \"\";\n }\n\n int selectedRadioButton = radioGroup.getCheckedRadioButtonId();\n\n if(selectedRadioButton == R.id.radioSpending){\n Log.d(\"NewTransactionActivity\", \"Clicked on Spending\");\n earnedOrSpent = \"Spent\";\n }\n else{\n Log.d(\"NewTransactionActivity\", \"Clicked on Earning\");\n earnedOrSpent = \"Earned\";\n }\n\n storeTransactionToDatabase(clientId, earnedOrSpent, amountGiven, sourceGiven, descriptionGiven);\n\n }",
"public void transferMoney(float amount, String transferToNumber) {}",
"void PurshaseToDonate(Integer Id_Member, Integer Id_Product, Integer Quantity);",
"@Override\r\n\tpublic void makePayment(Payment p, int amount) {\n\t\t\r\n\t}",
"@Test\n\tpublic void testSettleCreditDifference() {\n\t\tint creditEstimate = 50;\n\t\tLong originalAccBalance = 150l;\n\n\t\tSmsAccount smsAccount = new SmsAccount();\n\t\tsmsAccount.setSakaiUserId(\"3\");\n\t\tsmsAccount.setSakaiSiteId(\"3\");\n\t\tsmsAccount.setMessageTypeCode(\"3\");\n\t\tsmsAccount.setOverdraftLimit(1000L);\n\t\tsmsAccount.setCredits(originalAccBalance);\n\t\tsmsAccount.setAccountName(\"accountname\");\n\t\tsmsAccount.setAccountEnabled(true);\n\t\thibernateLogicLocator.getSmsAccountLogic()\n\t\t\t\t.persistSmsAccount(smsAccount);\n\n\t\tSmsTask smsTask = new SmsTask();\n\t\tsmsTask.setSakaiSiteId(SmsConstants.SMS_DEV_DEFAULT_SAKAI_SITE_ID);\n\t\tsmsTask.setSenderUserName(\"sakaiUserId\");\n\t\tsmsTask.setSmsAccountId(smsAccount.getId());\n\t\tsmsTask.setDateCreated(new Timestamp(System.currentTimeMillis()));\n\t\tsmsTask.setDateToSend(new Timestamp(System.currentTimeMillis()));\n\t\tsmsTask.setStatusCode(SmsConst_DeliveryStatus.STATUS_PENDING);\n\t\tsmsTask.setAttemptCount(2);\n\t\tsmsTask.setMessageBody(SmsConstants.SMS_DEV_DEFAULT_SMS_MESSAGE_BODY);\n\t\tsmsTask.setSenderUserName(\"senderUserName\");\n\t\tsmsTask.setMaxTimeToLive(1);\n\t\tsmsTask.setCreditEstimate(creditEstimate);\n\t\tsmsTask.setGroupSizeActual(0);\n\t\tsmsTask.setMessageTypeId(SmsConstants.MESSAGE_TYPE_SYSTEM_ORIGINATING);\n\t\tCalendar cal = Calendar.getInstance();\n\t\tcal.setTime(smsTask.getDateToSend());\n\t\tcal.add(Calendar.SECOND, smsTask.getMaxTimeToLive());\n\t\tsmsTask.setDateToExpire(cal.getTime());\n\t\thibernateLogicLocator.getSmsTaskLogic().persistSmsTask(smsTask);\n\n\t\tsmsBillingImpl.reserveCredits(smsTask);\n\n\t\tsmsAccount = hibernateLogicLocator.getSmsAccountLogic().getSmsAccount(\n\t\t\t\tsmsAccount.getId());\n\t\tAssert.assertNotNull(smsAccount);\n\n\t\t// Account was credited\n\t\tAssert.assertTrue(smsAccount.getCredits() < originalAccBalance);\n\n\t\tsmsBillingImpl.settleCreditDifference(smsTask, smsTask.getCreditEstimate(), smsTask.getCreditsActual());\n\n\t\tsmsAccount = hibernateLogicLocator.getSmsAccountLogic().getSmsAccount(\n\t\t\t\tsmsAccount.getId());\n\n\t\t// Account balance was returnd to origional state since the actual\n\t\t// groups size on the task was zero\n\t\tAssert.assertTrue(smsAccount.getCredits() == originalAccBalance);\n\n\t}",
"@Override\n public Transfer makeTransfer(String counterAccount, Money amount)\n throws BusinessException {\n if (amount.greaterThan(this.transferLimit)) {\n throw new BusinessException(\"Limit exceeded!\");\n }\n // 2. Assuming result is 9-digit bank account number, validate 11-test:\n int sum = AccountChekSum(counterAccount);\n\n if (sum % 11 == 0) {\n // 3. Look up counter account and make transfer object:\n Transfer result = doTransfer(counterAccount,amount);\n return result;\n } else {\n throw new BusinessException(\"Invalid account number!\");\n }\n }",
"public void makeDeposit() {\n deposit();\n }",
"private void showCredits() {\n //show credit information\n //source: https://stackoverflow.com/questions/6264694/how-to-add-message-box-with-ok-button\n final AlertDialog.Builder dlgAlert = new AlertDialog.Builder(context);\n dlgAlert.setMessage(R.string.credits);\n dlgAlert.setTitle(\"Credits\");\n dlgAlert.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n //for dismissing the dialog there is no action necessary\n }\n });\n dlgAlert.setCancelable(true);\n dlgAlert.create().show();\n }"
] | [
"0.6888608",
"0.67598397",
"0.6626414",
"0.64528793",
"0.64206153",
"0.64206153",
"0.63941175",
"0.6364841",
"0.62671095",
"0.62476236",
"0.6236105",
"0.62182814",
"0.6210246",
"0.6208039",
"0.61811787",
"0.6178769",
"0.6163432",
"0.61434484",
"0.6127923",
"0.61173224",
"0.60840166",
"0.60731035",
"0.60458606",
"0.6041749",
"0.60279274",
"0.60256684",
"0.60103095",
"0.6009071",
"0.5999272",
"0.5994892",
"0.59859794",
"0.5960428",
"0.5952742",
"0.59451175",
"0.5941564",
"0.5938966",
"0.59314483",
"0.5930485",
"0.592768",
"0.592173",
"0.5915775",
"0.59070194",
"0.58932734",
"0.5887408",
"0.5859325",
"0.5853637",
"0.58294535",
"0.5824422",
"0.5824331",
"0.58230335",
"0.5818132",
"0.5811789",
"0.579607",
"0.5788489",
"0.57820994",
"0.577315",
"0.57716316",
"0.57703346",
"0.57698166",
"0.57679284",
"0.57641834",
"0.5761139",
"0.57600975",
"0.57562876",
"0.5756248",
"0.5755578",
"0.57311857",
"0.5728937",
"0.5727087",
"0.57226413",
"0.57193136",
"0.570262",
"0.5701521",
"0.56856245",
"0.568098",
"0.567767",
"0.5674485",
"0.5661573",
"0.5655718",
"0.56509316",
"0.56507903",
"0.56484616",
"0.5645368",
"0.5638238",
"0.5624684",
"0.56208676",
"0.5607849",
"0.56044006",
"0.560358",
"0.5598472",
"0.5598181",
"0.55960906",
"0.5584467",
"0.5583778",
"0.55746067",
"0.5572491",
"0.5571223",
"0.55657756",
"0.55640835",
"0.55508596",
"0.554876"
] | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
Scanner s= new Scanner (System.in);
int val;
val=s.nextInt();
if(val>0)
System.out.println("Positive");
else if(val<0)
System.out.println("Negative");
else
System.out.println("Zero");
s.close();
} | {
"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 |
Returns the value of the Items property for this object. | public java.util.List<java.util.Map<String,AttributeValue>> getItems() {
return items;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SuppressWarnings (\"rawtypes\") public java.util.List getItems(){\n return this.items;\n }",
"public List<Item> getItems() {\n\t\treturn this.items;\n\t}",
"public java.util.List<java.util.Map<String, AttributeValue>> getItems() {\n return items;\n }",
"public java.util.List<java.lang.Integer>\n getItemsList() {\n return items_;\n }",
"public List<K> getItems() {\n\t\t\treturn items;\n\t\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public Item getItems() {\n return items;\n }",
"public ArrayList<Item> getItems() {\r\n\t\treturn items;\r\n\t}",
"public List<Item> getItems() {\n return items;\n }",
"public List<Item> getItems() {\n return items;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n return items_;\n }",
"public Object[] getItems()\n {\n return items.toArray();\n }",
"public ArrayList<Item> getItems()\n {\n return items;\n }",
"public nl.webservices.www.soap.GCRItem[] getItems() {\n return items;\n }",
"public int getItems() {\n return items;\n }",
"public List<Item> listItems() {\n return this.items;\n }",
"public Item[] getItems() {\n return items.toArray(new Item[0]);\n }",
"public List<Item> getItems(){\n\t\treturn data;\n\t}",
"public ObjectProperty<ObservableList<T>> itemsProperty() {\n\n return this.getWrappedControl().itemsProperty();\n }",
"public com.kingdee.eas.fdc.market.DocumentItemCollection getItems()\n {\n return (com.kingdee.eas.fdc.market.DocumentItemCollection)get(\"items\");\n }",
"public List<T> items() {\n return items;\n }",
"public Item[] getItems()\n {\n return items;\n }",
"public java.util.List<java.lang.Integer>\n getItemsList() {\n return java.util.Collections.unmodifiableList(items_);\n }",
"public java.util.List<EvaluationFormItem> getItems() {\n return items;\n }",
"public List<IDataSetItem> getItems() {\n return items;\n }",
"@Nonnull\n\t@Override\n\tpublic NodeCollection getItems() {\n\t\treturn items;\n\t}",
"@Override\n public Set<T> getItems() {\n return items;\n }",
"public List<ItemStack> getItems() {\n return this.items;\n }",
"public ObservableValue<List<T>> items() {\n return createObservableValue(this::getItems, this::setItems, \"items-changed\");\n }",
"public List<ReturnItem> getItems() {\n return (List<ReturnItem>) get(\"items\");\n }",
"@Override\r\n\t\tpublic List<Item> getItems() {\n\t\t\treturn null;\r\n\t\t}",
"@ApiModelProperty(value = \"Array of Receipt Items\")\n @JsonProperty(\"items\")\n public List<ReceiptItem> getItems() {\n return items;\n }",
"public List<Item> getItems() {\n throw new OurBadException(\"Item '\" + this.serialize() + \"' is not an array.\");\n }",
"public List<Item> getItems() {\n\t\treturn Collections.unmodifiableList(items);\n\t}",
"public TreeMap<Item, Integer> getItems() {\r\n\t\treturn items;\r\n\t}",
"@Nonnull\n public List<DeliveryItem> getItems() {\n return items;\n }",
"public ArrayList<Item> getItemList() {\n return this.items;\n }",
"public java.util.List<java.lang.Integer>\n getItemList() {\n return item_;\n }",
"public List<ItemStack> getItems()\n {\n return items;\n }",
"public Item[] getInventoryItems(){\n\t\treturn inventoryItems;\n\t}",
"public List<Item> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public Item[] getItem() {\r\n return localItem;\r\n }",
"private static List<Item> getItems() {\n\t\treturn items;\n\t}",
"public java.util.List<io.opencannabis.schema.commerce.OrderItem.Item> getItemList() {\n return item_;\n }",
"public List<Image> getItemsList() {\n\n\t\treturn this.itemsList;\n\n\t}",
"public Collection<T> getItems() {\r\n return Collections.unmodifiableCollection(items);\r\n }",
"public List<PickerItem> getItems() {\n return items;\n }",
"public List<GalleryItem> getItems() {\n\t\treturn _convertedItems;\n\t}",
"public java.util.List<? extends com.rpg.framework.database.Protocol.ItemOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }",
"List<PricedItem> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public List<Item> getValues() {\n throw new OurBadException(\" Item '\" + this.serialize() + \"' is not an object.\");\n }",
"public final ObservableList<MenuItem> getItems() {\n return items;\n }",
"public Set<FeedItem> getItems() {\n\t\treturn items;\n\t}",
"public List<T> getItems() {\n return SerDes.unmirrorList(getElement().getItems(), getItemClass());\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n if (itemsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(items_);\n } else {\n return itemsBuilder_.getMessageList();\n }\n }",
"public java.util.Set<com.jspgou.cms.entity.OrderItem> getItems () {\r\n\t\treturn items;\r\n\t}",
"public List<T> getItems() {\n if (items == null) {\n items = this.ejbFacade.findAll();\n }\n return items;\n }",
"public Item[] getItems() {\n/* 3068 */ if (this.vitems != null) {\n/* 3069 */ return this.vitems.getAllItemsAsArray();\n/* */ }\n/* 3071 */ return emptyItems;\n/* */ }",
"public Map<String, Schema> getItems() {\n\t\treturn items;\n\t}",
"public ArrayOfItem getItem() {\r\n return localItem;\r\n }",
"public List<CatalogoGeneralDTO> getItemsList() {\n\t\treturn itemsList;\n\t}",
"public ArrayList<Item> getRoomItems() {\n return (roomItems);\n }",
"public java.util.List<java.lang.Integer>\n getItemList() {\n return ((bitField0_ & 0x00000001) != 0) ?\n java.util.Collections.unmodifiableList(item_) : item_;\n }",
"@ApiModelProperty(value = \"The items that are setup to rebill\")\r\n public List<AutoOrderItem> getItems() {\r\n return items;\r\n }",
"public com.vsp.bl.product.dto.coverage.v002.ProductItem[] getProductItems() {\n return productItems;\n }",
"public ArrayList<Collectable> getItems(){\n return items;\n }",
"public ObservableList<T> getItems() {\n\n return this.getWrappedControl().getItems();\n }",
"public List<ShopItem> getShopItems() {\n\t\treturn myItems;\n\t}",
"public Boolean hasItems() {\n return this.hasItems;\n }",
"public ArrayList<Item> getItemList(){\r\n\t\treturn itemList;\r\n\t}",
"@JSProperty(\"items\")\n @Nullable\n Any[] getItems();",
"protected List<View> getItems() {\n return items;\n }",
"public VBox getPnItems() {\n\t\treturn pnItems;\n\t}",
"public ArrayList<Item> getAllItems(){\n\t\treturn itemList; \n\t}",
"public ArrayList<Item> getItemList(){\n\t\treturn inventoryList;\n\t}",
"public Set<PerpdocumentItems> getPerpdocumentItems() {\n return perpdocumentItems;\n }",
"@NotNull\r\n @Contract(pure = true)\r\n public abstract Collection<GuiItem> getItems();",
"public Collection<Integer> getItemIds()\n {\n return m_items;\n }",
"public String getItemValue() {\n return itemValue;\n }",
"public List<Item> getCurrentItems() {\n return currentItems;\n }",
"@JsonProperty(\"total_items\")\n public Long getTotalItems() {\n return totalItems;\n }",
"@Accessor(qualifier = \"itemsExported\", type = Accessor.Type.GETTER)\n\tpublic Integer getItemsExported()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(ITEMSEXPORTED);\n\t}",
"public ArrayList<Item> getList() {\r\n\t\treturn inventory;\r\n\t}",
"public Collection<Item> shopItems() {\n\t\treturn this.itemRepository.shopItems();\n\t}",
"public String getItemsString()\n {\n String vReturnString = \"you got : \"+this.aItemsList.getItemString();\n return vReturnString;\n }",
"public List<Items> list() {\n\t\treturn itemDao.list();\r\n\t}",
"public T[] items();",
"@Nonnegative\n public int getSize()\n {\n return items.size();\n }",
"public java.util.List<? extends io.opencannabis.schema.commerce.OrderItem.ItemOrBuilder> \n getItemOrBuilderList() {\n return item_;\n }",
"public List<RuleGroupDeleteItemParameter> items() {\n return this.items;\n }",
"public InputStream getItemAsInputStream() {\r\n\t\treturn item;\r\n\t}",
"public Item getItem() {\n\t\treturn this.item;\n\t}",
"public Item getItem() {\n\t\treturn this.item;\n\t}",
"public Vector getItemIds()\n {\n return mItemIds;\n }",
"public Item getItem() {\r\n\t\treturn this.item;\r\n\t}",
"public int[] getItemIDs() {\n\t\treturn itemIDs;\n\t}"
] | [
"0.77801955",
"0.7703222",
"0.75913996",
"0.758904",
"0.7582746",
"0.7564058",
"0.7564058",
"0.75594324",
"0.75542194",
"0.755253",
"0.755253",
"0.74476653",
"0.73830456",
"0.7369257",
"0.73384994",
"0.73190415",
"0.7295814",
"0.7231652",
"0.72294796",
"0.72243583",
"0.72192156",
"0.7219117",
"0.71518844",
"0.7123981",
"0.70884335",
"0.7065465",
"0.7046124",
"0.7041174",
"0.70357096",
"0.70001096",
"0.6992934",
"0.69852376",
"0.69827074",
"0.6977157",
"0.69742733",
"0.6942998",
"0.6933044",
"0.6926257",
"0.69150364",
"0.6913867",
"0.68575853",
"0.6838464",
"0.6783418",
"0.67749155",
"0.6769696",
"0.675306",
"0.67295295",
"0.6707623",
"0.6705775",
"0.6704533",
"0.67008257",
"0.6695968",
"0.668882",
"0.66842484",
"0.6677064",
"0.6663871",
"0.6624741",
"0.6624741",
"0.6623359",
"0.66207683",
"0.6603307",
"0.6598294",
"0.6572707",
"0.6566449",
"0.6560582",
"0.6558788",
"0.6553388",
"0.6528283",
"0.6511332",
"0.650105",
"0.64975905",
"0.6461395",
"0.64580375",
"0.64209175",
"0.6420651",
"0.6404743",
"0.6394046",
"0.6388651",
"0.6385267",
"0.63737315",
"0.6352556",
"0.6349192",
"0.6343316",
"0.63269824",
"0.62947583",
"0.62687504",
"0.625454",
"0.6240927",
"0.6233303",
"0.61917216",
"0.6189405",
"0.6178065",
"0.6177331",
"0.6166683",
"0.61570466",
"0.6148912",
"0.6148912",
"0.61466014",
"0.6129427",
"0.61271065"
] | 0.750866 | 11 |
Sets the value of the Items property for this object. | public void setItems(java.util.Collection<java.util.Map<String,AttributeValue>> items) {
if (items == null) {
this.items = null;
return;
}
java.util.List<java.util.Map<String,AttributeValue>> itemsCopy = new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.size());
itemsCopy.addAll(items);
this.items = itemsCopy;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setItems(Item items) {\n this.items = items;\n }",
"public void setItems(ItemList items) {\r\n this.items = items;\r\n }",
"public void setItems(Item[] itemsIn)\n {\n items = itemsIn;\n }",
"public void setItems(ArrayList<Item> items) {\n\t\tthis.items = items;\n\t}",
"public void setItems(String items)\n {\n _items = items;\n }",
"public void setItems(){\n }",
"public void setItems(nl.webservices.www.soap.GCRItem[] items) {\n this.items = items;\n }",
"@RequestMapping(method=RequestMethod.PUT, value = \"/item\", produces = \"application/json\")\n public void setItems(ArrayList<Item> itemsToSet)\n {\n this.itemRepository.setItems(itemsToSet);\n }",
"public void set(List<Item> items) {\n if (mUseIdDistributor) {\n IdDistributor.checkIds(items);\n }\n\n //first collapse all items\n getFastAdapter().collapse();\n\n //get sizes\n int newItemsCount = items.size();\n int previousItemsCount = mItems.size();\n int itemsBeforeThisAdapter = getFastAdapter().getItemCount(getOrder());\n\n //make sure the new items list is not a reference of the already mItems list\n if (items != mItems) {\n //remove all previous items\n if (!mItems.isEmpty()) {\n mItems.clear();\n }\n\n //add all new items to the list\n mItems.addAll(items);\n }\n\n //map the types\n mapPossibleTypes(items);\n\n //now properly notify the adapter about the changes\n if (newItemsCount > previousItemsCount) {\n if (previousItemsCount > 0) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, previousItemsCount);\n }\n getFastAdapter().notifyAdapterItemRangeInserted(itemsBeforeThisAdapter + previousItemsCount, newItemsCount - previousItemsCount);\n } else if (newItemsCount > 0 && newItemsCount < previousItemsCount) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, newItemsCount);\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter + newItemsCount, previousItemsCount - newItemsCount);\n } else if (newItemsCount == 0) {\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter, previousItemsCount);\n } else {\n getFastAdapter().notifyAdapterDataSetChanged();\n }\n }",
"private void setItems(Set<T> items) {\n Assertion.isNotNull(items, \"items is required\");\n this.items = items;\n }",
"public void setItems(List<PickerItem> items) {\n this.items = items;\n initViews();\n selectChild(-1);\n }",
"public Builder items(Any... value) {\n object.setItems(value);\n return this;\n }",
"public void setItems(Object[] newItems)\n {\n items = new Vector(newItems.length);\n for (int i=0; i < newItems.length; i++)\n {\n items.addElement(newItems[i]);\n }\n }",
"public Item getItems() {\n return items;\n }",
"public void setItem(Item item) {\n this.item = item;\n }",
"public PaymentRequest setItems(List items) {\r\n this.items = items;\r\n return this;\r\n }",
"@Override\r\n\tpublic void setInventoryItems() {\n\t\t\r\n\t}",
"@JSProperty(\"items\")\n void setItems(Any... value);",
"private void setItems()\n {\n sewers.setItem(rope); \n promenade.setItem(rope);\n bridge.setItem(potion);\n tower.setItem(potion);\n throneRoomEntrance.setItem(potion);\n depths.setItem(shovel);\n crypt.setItem(shovel);\n }",
"public void setItems (java.util.Set<com.jspgou.cms.entity.OrderItem> items) {\r\n\t\tthis.items = items;\r\n\t}",
"public void setItem (Item item)\n\t{\n\t\tthis.item = item;\n\t}",
"public void setItems(List<T> items) {\n log.debug(\"set items called\");\n synchronized (listsLock){\n filteredList = new ArrayList<T>(items);\n originalList = null;\n updateFilteringAndSorting();\n }\n }",
"@ApiModelProperty(value = \"The items that are setup to rebill\")\r\n public List<AutoOrderItem> getItems() {\r\n return items;\r\n }",
"public void setCompletionItems(List<CompletionItem> items) {\r\n this.textItemsProperty.setValue(FXCollections.observableArrayList(items));\r\n }",
"public void setListItems(List<String> lit) { mItems = lit; }",
"public void setItem(Item item) {\n\t\tthis.item = item;\n\t}",
"public void setItem(Item item) {\n\t\tthis.item = item;\n\t}",
"public void setNewList(List<Item> items) {\n if (mUseIdDistributor) {\n IdDistributor.checkIds(items);\n }\n mItems = new ArrayList<>(items);\n mapPossibleTypes(mItems);\n getFastAdapter().notifyAdapterDataSetChanged();\n }",
"public List<Item> getItems() {\n return items;\n }",
"public List<Item> getItems() {\n return items;\n }",
"public void setITEM(int value) {\r\n this.item = value;\r\n }",
"public void setItem(ItemType item) {\n\t this.item = item;\n\t}",
"public void setItem(ItemType item) {\n\t this.item = item;\n\t}",
"public void setRoomItems(ArrayList<Item> newRoomItems) {\n roomItems = newRoomItems;\n }",
"public void initAttributes(ObservableList<Item> items) {\n this.items = items;\n }",
"public void setItem(Item[] param) {\r\n validateItem(param);\r\n\r\n localItemTracker = true;\r\n\r\n this.localItem = param;\r\n }",
"public void setCurrentItems(ArrayList<Item> currentItems) {\n this.currentItems = currentItems;\n }",
"@Override\r\n protected void setItems(ObservableList otherTreeItems) {\r\n setAllItems(otherTreeItems);\r\n }",
"public ArrayList<Item> getItems() {\r\n\t\treturn items;\r\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"@ApiModelProperty(value = \"Array of Receipt Items\")\n @JsonProperty(\"items\")\n public List<ReceiptItem> getItems() {\n return items;\n }",
"@Override\n public Set<T> getItems() {\n return items;\n }",
"public ArrayList<Item> getItems()\n {\n return items;\n }",
"public List<Item> getItems() {\n\t\treturn this.items;\n\t}",
"public Item[] getItems()\n {\n return items;\n }",
"public void setItemsQuantity(Integer itemsQuantity) {\r\n this.itemsQuantity = itemsQuantity;\r\n }",
"public Set<FeedItem> getItems() {\n\t\treturn items;\n\t}",
"public void setItems(java.util.Collection<java.util.Map<String, AttributeValue>> items) {\n if (items == null) {\n this.items = null;\n return;\n }\n\n this.items = new java.util.ArrayList<java.util.Map<String, AttributeValue>>(items);\n }",
"public List<IDataSetItem> getItems() {\n return items;\n }",
"public void setRandomItems(ArrayList<RandomItem> items);",
"public DeliveryParcelDraftBuilder items(\n @Nullable final java.util.List<com.commercetools.importapi.models.orders.DeliveryItem> items) {\n this.items = items;\n return this;\n }",
"public void setData(Item i)\r\n\t{\r\n\t\ttheItem = i;\r\n\t}",
"public void setItems(ObservableList<T> value) {\n\n this.getWrappedControl().setItems(value);\n }",
"public Builder setItems(\n int index, int value) {\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n return this;\n }",
"public void setItem(Object item, int i)\n {\n items.setElementAt(item, i);\n }",
"@SuppressWarnings (\"rawtypes\") public java.util.List getItems(){\n return this.items;\n }",
"public void setPaths(List<PathItem> pathItems) {\r\n this.pathItems.clear();\r\n this.pathItems.addAll(pathItems);\r\n }",
"public void setItemList(String item)\n {\n this.itemLinkedList.add(new Item(item));\n }",
"public void setItem(T item) {\n this.item = item;\n }",
"@Override\n public void setItems(List<ExplanationOrReadingItem> items) {\n progressDialog.dismiss();\n mlist.setAdapter(new ExplanationOrReadingAdapter(items));\n mlist.setOnItemClickListener(this);\n }",
"private void setContentItems(java.util.Vector contentItems)\r\n\t{\r\n\t\tthis.contentItems = contentItems;\r\n\t}",
"@Override\r\n protected void setAllItems(Object... treeItems) {\r\n getRootChildren().setAll(treeItems);\r\n }",
"public void setItems(List<PickerItem> items, int selectedIndex) {\n setItems(items);\n selectChild(selectedIndex);\n }",
"public void setPerpdocumentItems(Set<PerpdocumentItems> aPerpdocumentItems) {\n perpdocumentItems = aPerpdocumentItems;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n return items_;\n }",
"public Builder setItems(\n int index, com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n } else {\n itemsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public void setItems(java.util.Collection<EvaluationFormItem> items) {\n if (items == null) {\n this.items = null;\n return;\n }\n\n this.items = new java.util.ArrayList<EvaluationFormItem>(items);\n }",
"public void setItem(\r\n @NonNull\r\n final List<SalesOrderItem> value) {\r\n if (toItem == null) {\r\n toItem = Lists.newArrayList();\r\n }\r\n toItem.clear();\r\n toItem.addAll(value);\r\n }",
"public void setItem (Object anObject)\r\n {\r\n // TODO: implement (?)\r\n }",
"@Override\n\tpublic void setItems(List<WhiteListInfo> items) {\n\t\tif (adapter == null) {\n\t\t\tadapter = new WhiteListAdapter(this, items);\n\t\t\tmListView.setAdapter(adapter);\n\t\t}\n\t\telse{\n\t\t\tadapter.setList(items);\n\t\t\tadapter.notifyDataSetChanged();\n\t\t}\n\t}",
"public List<Item> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public int getItems() {\n return items;\n }",
"@Override\r\n protected void setAllItems(ObservableList treeItems) {\r\n getRootChildren().setAll(treeItems);\r\n }",
"public java.util.Set<com.jspgou.cms.entity.OrderItem> getItems () {\r\n\t\treturn items;\r\n\t}",
"private void updateItems()\n\t{\t\n\t\tupdatePizzaTypes(items);\n\t\tupdateSidesTypes(items);\n\t\tupdateDrinksTypes(items);\n\t}",
"public DeliveryParcelDraftBuilder items(\n @Nullable final com.commercetools.importapi.models.orders.DeliveryItem... items) {\n this.items = new ArrayList<>(Arrays.asList(items));\n return this;\n }",
"public List<Item> getItems() {\n\t\treturn Collections.unmodifiableList(items);\n\t}",
"@Override\r\n public void setItemId(int itemId) {\n this.itemId = itemId;\r\n }",
"public void setItem(ArrayOfItem param) {\r\n localItemTracker = param != null;\r\n\r\n this.localItem = param;\r\n }",
"public java.util.List<java.lang.Integer>\n getItemsList() {\n return items_;\n }",
"public ListItems() {\n itemList = new ArrayList();\n }",
"@Nonnull\n\t@Override\n\tpublic NodeCollection getItems() {\n\t\treturn items;\n\t}",
"public void setItems(List<T> value) {\n getElement().setItems(SerDes.mirror(value).cast());\n }",
"@DebugLog\n public void setItems(ArrayList<Update> items) {\n if (items != null) {\n for (Update item : items) {\n mItems.add(new OverviewItem(item));\n }\n }\n notifyDataSetChanged();\n //Remove the isloading\n if (getBasicItemCount() <= 0) return;\n try {\n OverviewItem overviewItem = mItems.get(getBasicItemCount() - items.size() - 1);\n if (overviewItem.isLoadingItem) {\n mItems.remove(getBasicItemCount() - items.size() - 1);\n notifyDataSetChanged();\n }\n }catch(ArrayIndexOutOfBoundsException e)\n {\n //theres no loading overview\n return;\n }\n\n }",
"public PageInventory withItems(Collection<ItemStack> items)\n {\n this.contents.addAll(items);\n this.recalculate();\n return this;\n }",
"@Nonnull\n public List<DeliveryItem> getItems() {\n return items;\n }",
"public abstract void setList(List<T> items);",
"public InteractiveEntity(ArrayList<Item> items) {\n\t\tsuper();\n\t\tthis.inventory.addAll(items);\n\t}",
"public void setProductItems(com.vsp.bl.product.dto.coverage.v002.ProductItem[] productItems) {\n this.productItems = productItems;\n }",
"public ObjectProperty<ObservableList<T>> itemsProperty() {\n\n return this.getWrappedControl().itemsProperty();\n }",
"@Override\r\n\t\tpublic List<Item> getItems() {\n\t\t\treturn null;\r\n\t\t}",
"private static List<Item> getItems() {\n\t\treturn items;\n\t}",
"public java.util.List<java.lang.Integer>\n getItemsList() {\n return java.util.Collections.unmodifiableList(items_);\n }",
"public void setDeliveryItems(List<RepositoryItem> pDeliveryItems) {\n mDeliveryItems = pDeliveryItems;\n }",
"public void setList(ArrayList<Item> inventory) {\r\n\t\tthis.inventory = inventory;\r\n\t}",
"public List<PickerItem> getItems() {\n return items;\n }",
"public Builder setItemStorage(int value) {\n bitField0_ |= 0x00000040;\n itemStorage_ = value;\n onChanged();\n return this;\n }",
"private void setItem(){\n item = new String[4];\n item[0] = title;\n item[1] = DueDate;\n item[2] = Description;\n item[3] = \"incomplete\";\n }",
"public ObservableValue<List<T>> items() {\n return createObservableValue(this::getItems, this::setItems, \"items-changed\");\n }"
] | [
"0.81185395",
"0.79745144",
"0.77371144",
"0.77146465",
"0.73701173",
"0.721486",
"0.69747674",
"0.6969824",
"0.68534076",
"0.67850137",
"0.6744076",
"0.6709963",
"0.6613777",
"0.6520018",
"0.6498357",
"0.64604986",
"0.64199156",
"0.6388893",
"0.6386234",
"0.63681495",
"0.63100326",
"0.6298175",
"0.6290263",
"0.6253618",
"0.6250927",
"0.6241907",
"0.6241907",
"0.62105083",
"0.6197914",
"0.6197914",
"0.6191516",
"0.6184756",
"0.6184756",
"0.61808527",
"0.6176683",
"0.617214",
"0.6158759",
"0.6144765",
"0.61344725",
"0.6127468",
"0.6127468",
"0.6108416",
"0.61027515",
"0.6093905",
"0.609098",
"0.6030049",
"0.60241383",
"0.6019181",
"0.6008133",
"0.60079044",
"0.60010344",
"0.5994364",
"0.59784377",
"0.5974074",
"0.5971096",
"0.59680736",
"0.5939054",
"0.5938873",
"0.5916553",
"0.59140396",
"0.59137714",
"0.5899947",
"0.5886505",
"0.58587575",
"0.585621",
"0.5842478",
"0.5836062",
"0.58226883",
"0.58007264",
"0.579428",
"0.5793644",
"0.57782495",
"0.5778188",
"0.57754374",
"0.5769735",
"0.5764827",
"0.575768",
"0.57415044",
"0.5733361",
"0.57196265",
"0.5697332",
"0.56956017",
"0.5695485",
"0.5693393",
"0.56883234",
"0.56863654",
"0.56555694",
"0.5652798",
"0.5624262",
"0.56187457",
"0.5601597",
"0.5600704",
"0.55802506",
"0.55689424",
"0.55541223",
"0.55476177",
"0.55472994",
"0.55043447",
"0.5499666",
"0.549873"
] | 0.6193193 | 30 |
Sets the value of the Items property for this object. Returns a reference to this object so that method calls can be chained together. | public QueryResult withItems(java.util.Map<String,AttributeValue>... items) {
if (getItems() == null) setItems(new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.length));
for (java.util.Map<String,AttributeValue> value : items) {
getItems().add(value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Builder items(Any... value) {\n object.setItems(value);\n return this;\n }",
"public PageInventory withItems(Collection<ItemStack> items)\n {\n this.contents.addAll(items);\n this.recalculate();\n return this;\n }",
"public Builder clearItems() {\n if (itemsBuilder_ == null) {\n items_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n itemsBuilder_.clear();\n }\n return this;\n }",
"public PageInventory withItems(ItemStack... items)\n {\n this.contents.addAll(Arrays.asList(items));\n this.recalculate();\n return this;\n }",
"public com.rpg.framework.database.Protocol.Item.Builder addItemsBuilder() {\n return getItemsFieldBuilder().addBuilder(\n com.rpg.framework.database.Protocol.Item.getDefaultInstance());\n }",
"public QueryResult withItems(java.util.Collection<java.util.Map<String,AttributeValue>> items) {\n if (items == null) {\n this.items = null;\n } else {\n java.util.List<java.util.Map<String,AttributeValue>> itemsCopy = new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.size());\n itemsCopy.addAll(items);\n this.items = itemsCopy;\n }\n\n return this;\n }",
"public void setItems(Item items) {\n this.items = items;\n }",
"public QueryResult withItems(java.util.Collection<java.util.Map<String, AttributeValue>> items) {\n setItems(items);\n return this;\n }",
"public DeliveryParcelDraftBuilder items(\n @Nullable final java.util.List<com.commercetools.importapi.models.orders.DeliveryItem> items) {\n this.items = items;\n return this;\n }",
"public void setItems(ItemList items) {\r\n this.items = items;\r\n }",
"public Builder addItems(com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(value);\n }\n return this;\n }",
"public Builder clearItems() {\n items_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public PaymentRequest setItems(List items) {\r\n this.items = items;\r\n return this;\r\n }",
"public DeliveryParcelDraftBuilder items(\n @Nullable final com.commercetools.importapi.models.orders.DeliveryItem... items) {\n this.items = new ArrayList<>(Arrays.asList(items));\n return this;\n }",
"public Builder addAllItem(\n java.lang.Iterable<? extends io.opencannabis.schema.commerce.OrderItem.Item> values) {\n if (itemBuilder_ == null) {\n ensureItemIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, item_);\n onChanged();\n } else {\n itemBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public void setItems(ArrayList<Item> items) {\n\t\tthis.items = items;\n\t}",
"public List<Item> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public void setItems(Item[] itemsIn)\n {\n items = itemsIn;\n }",
"public DeliveryParcelDraftBuilder plusItems(\n @Nullable final com.commercetools.importapi.models.orders.DeliveryItem... items) {\n if (this.items == null) {\n this.items = new ArrayList<>();\n }\n this.items.addAll(Arrays.asList(items));\n return this;\n }",
"public Builder setItems(\n int index, com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n } else {\n itemsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public Builder setItems(\n int index, int value) {\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n return this;\n }",
"public Builder clearItem() {\n item_ = emptyIntList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n return this;\n }",
"public void set(List<Item> items) {\n if (mUseIdDistributor) {\n IdDistributor.checkIds(items);\n }\n\n //first collapse all items\n getFastAdapter().collapse();\n\n //get sizes\n int newItemsCount = items.size();\n int previousItemsCount = mItems.size();\n int itemsBeforeThisAdapter = getFastAdapter().getItemCount(getOrder());\n\n //make sure the new items list is not a reference of the already mItems list\n if (items != mItems) {\n //remove all previous items\n if (!mItems.isEmpty()) {\n mItems.clear();\n }\n\n //add all new items to the list\n mItems.addAll(items);\n }\n\n //map the types\n mapPossibleTypes(items);\n\n //now properly notify the adapter about the changes\n if (newItemsCount > previousItemsCount) {\n if (previousItemsCount > 0) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, previousItemsCount);\n }\n getFastAdapter().notifyAdapterItemRangeInserted(itemsBeforeThisAdapter + previousItemsCount, newItemsCount - previousItemsCount);\n } else if (newItemsCount > 0 && newItemsCount < previousItemsCount) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, newItemsCount);\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter + newItemsCount, previousItemsCount - newItemsCount);\n } else if (newItemsCount == 0) {\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter, previousItemsCount);\n } else {\n getFastAdapter().notifyAdapterDataSetChanged();\n }\n }",
"public Builder clearItem() {\n if (itemBuilder_ == null) {\n item_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000080);\n onChanged();\n } else {\n itemBuilder_.clear();\n }\n return this;\n }",
"public Builder addAllItems(\n java.lang.Iterable<? extends com.rpg.framework.database.Protocol.Item> values) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, items_);\n onChanged();\n } else {\n itemsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public List<Item> getItems() {\n\t\treturn Collections.unmodifiableList(items);\n\t}",
"public EntityDefinitionModel withHasItems(Boolean hasItems) {\n this.hasItems = hasItems;\n return this;\n }",
"@ApiModelProperty(value = \"Array of Receipt Items\")\n @JsonProperty(\"items\")\n public List<ReceiptItem> getItems() {\n return items;\n }",
"public Item getItems() {\n return items;\n }",
"public ChoiceDialog setMultiChoiceItems(@NonNull CharSequence[] items,\n @NonNull boolean[] checkedItems) {\n mItems = items;\n mCheckedItems = checkedItems;\n mIsSingleChoice = false;\n return this;\n }",
"@RequestMapping(method=RequestMethod.PUT, value = \"/item\", produces = \"application/json\")\n public void setItems(ArrayList<Item> itemsToSet)\n {\n this.itemRepository.setItems(itemsToSet);\n }",
"public BookItemMenu addItems ( Item... items ) {\n\t\tfinal int count = addItemsNotFull ( items );\n\t\tif ( ( items.length - count ) > 0 ) { // if there is no added items\n\t\t\tint pages_amount = getPagesAmount ( ( items.length - count ) , getPagesSize ( ) , getButtonsBarSize ( ) );\n\t\t\tthis.pages = Arrays.copyOfRange ( this.pages , 0 , this.pages.length + pages_amount );\n\t\t\tfor ( int i = 0; i < pages.length; i++ ) {\n\t\t\t\tif ( pages[ i ] == null ) {\n\t\t\t\t\tpages[ i ] = new BookPageItemMenu ( this );\n\t\t\t\t\tpages[ i ].setPageNumber ( i );\n\t\t\t\t\t\n\t\t\t\t\t// here we're registering listener of the new page.\n\t\t\t\t\tif ( getHandler ( ) != null ) {\n\t\t\t\t\t\tpages[ i ].registerListener ( getHandler ( ).getPlugin ( ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\taddItemsNotFull ( Arrays.copyOfRange ( items , count , items.length ) );\n\t\t}\n\t\treturn this;\n\t}",
"public List<Item> getItems() {\n\t\treturn this.items;\n\t}",
"public Builder addItems(int value) {\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n return this;\n }",
"public io.opencannabis.schema.commerce.OrderItem.Item.Builder addItemBuilder() {\n return getItemFieldBuilder().addBuilder(\n io.opencannabis.schema.commerce.OrderItem.Item.getDefaultInstance());\n }",
"public SeqItemset createExtendedWith(SeqItem it){\n\t\tSeqItemset newSet = new SeqItemset(m_itemset.length+1);\n\t\tSystem.arraycopy(m_itemset,0,newSet.m_itemset, 0, m_itemset.length);\n\t\tnewSet.m_itemset[m_itemset.length] = it;\n\t\treturn newSet;\n\t}",
"public List<Item> getItems() {\n return items;\n }",
"public List<Item> getItems() {\n return items;\n }",
"public ArrayList<Item> getItems() {\r\n\t\treturn items;\r\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems()\n {\n return items;\n }",
"public ChoiceDialog setMultiChoiceItems(@ArrayRes int itemsId, @NonNull boolean[] checkedItems,\n final OnMultiChoiceClickListener listener) {\n mItems = getContext().getResources().getTextArray(itemsId);\n mPosBtnListener = listener;\n mCheckedItems = checkedItems;\n mIsSingleChoice = false;\n return this;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n return items_;\n }",
"public DeliveryParcelDraftBuilder setItems(\n Function<com.commercetools.importapi.models.orders.DeliveryItemBuilder, com.commercetools.importapi.models.orders.DeliveryItem> builder) {\n return items(builder.apply(com.commercetools.importapi.models.orders.DeliveryItemBuilder.of()));\n }",
"public Builder removeItems(int index) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.remove(index);\n onChanged();\n } else {\n itemsBuilder_.remove(index);\n }\n return this;\n }",
"public Items() {\n equipments = new ArrayList();\n\n SelectItemGroup first = new SelectItemGroup(\"braking\");\n SelectItemGroup second = new SelectItemGroup(\"equipment\");\n \n SelectItem[] array1 = {new SelectItem(\"abs\"), new SelectItem(\"esp\")}; \n SelectItem[] array2 = {new SelectItem(\"radio\"), new SelectItem(\"gps\"), new SelectItem(\"mobil set\")};\n \n first.setSelectItems(array1);\n second.setSelectItems(array2);\n \n equipments.add(first);\n equipments.add(second);\n }",
"public Collection<T> getItems() {\r\n return Collections.unmodifiableCollection(items);\r\n }",
"public void addItemToInventory(Item ... items){\n this.inventory.addItems(items);\n }",
"public Item[] getItems() {\n return items.toArray(new Item[0]);\n }",
"public List<ItemStack> getItems() {\n return this.items;\n }",
"public Builder addItems(\n int index, com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(index, value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public void setItems(List<PickerItem> items) {\n this.items = items;\n initViews();\n selectChild(-1);\n }",
"public Builder addAllItem(\n java.lang.Iterable<? extends java.lang.Integer> values) {\n ensureItemIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, item_);\n onChanged();\n return this;\n }",
"public Builder setItemId(long value) {\n \n itemId_ = value;\n onChanged();\n return this;\n }",
"public Builder addItems(\n com.rpg.framework.database.Protocol.Item.Builder builderForValue) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.add(builderForValue.build());\n onChanged();\n } else {\n itemsBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"public Builder mergeInventoryItemData(POGOProtos.Rpc.HoloInventoryItemProto value) {\n if (inventoryItemDataBuilder_ == null) {\n if (inventoryItemCase_ == 3 &&\n inventoryItem_ != POGOProtos.Rpc.HoloInventoryItemProto.getDefaultInstance()) {\n inventoryItem_ = POGOProtos.Rpc.HoloInventoryItemProto.newBuilder((POGOProtos.Rpc.HoloInventoryItemProto) inventoryItem_)\n .mergeFrom(value).buildPartial();\n } else {\n inventoryItem_ = value;\n }\n onChanged();\n } else {\n if (inventoryItemCase_ == 3) {\n inventoryItemDataBuilder_.mergeFrom(value);\n }\n inventoryItemDataBuilder_.setMessage(value);\n }\n inventoryItemCase_ = 3;\n return this;\n }",
"public List<IDataSetItem> getItems() {\n return items;\n }",
"public java.util.List<? extends com.rpg.framework.database.Protocol.ItemOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n if (itemsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(items_);\n } else {\n return itemsBuilder_.getMessageList();\n }\n }",
"public List<ItemStack> getItems()\n {\n return items;\n }",
"public void setItems(java.util.Collection<java.util.Map<String,AttributeValue>> items) {\n if (items == null) {\n this.items = null;\n return;\n }\n\n java.util.List<java.util.Map<String,AttributeValue>> itemsCopy = new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.size());\n itemsCopy.addAll(items);\n this.items = itemsCopy;\n }",
"@ApiModelProperty(value = \"The items that are setup to rebill\")\r\n public List<AutoOrderItem> getItems() {\r\n return items;\r\n }",
"public ChoiceDialog setSingleChoiceItems(@ArrayRes int itemsId, int checkedItem) {\n mItems = getContext().getResources().getTextArray(itemsId);\n mCheckedItem = checkedItem;\n mIsSingleChoice = true;\n return this;\n }",
"public ChoiceDialog setSingleChoiceItems(CharSequence[] items,\n int checkedItem) {\n mItems = items;\n mCheckedItem = checkedItem;\n mIsSingleChoice = true;\n return this;\n }",
"public EvaluationFormContent withItems(java.util.Collection<EvaluationFormItem> items) {\n setItems(items);\n return this;\n }",
"public com.rpg.framework.database.Protocol.Item.Builder getItemsBuilder(\n int index) {\n return getItemsFieldBuilder().getBuilder(index);\n }",
"@Override\n public Set<T> getItems() {\n return items;\n }",
"public DeliveryParcelDraftBuilder withItems(\n Function<com.commercetools.importapi.models.orders.DeliveryItemBuilder, com.commercetools.importapi.models.orders.DeliveryItemBuilder> builder) {\n this.items = new ArrayList<>();\n this.items.add(builder.apply(com.commercetools.importapi.models.orders.DeliveryItemBuilder.of()).build());\n return this;\n }",
"List<PricedItem> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public List<ItemDTO> getItems()\n\t{\t\n\t\tList<ItemDTO> itemsList = new ArrayList<>();\n\t\tfor (ItemData item : items) \n\t\t\titemsList.add(new ItemDTO(item.idItem,item.description,item.price,item.VAT,item.quantitySold));\t\n\t\treturn itemsList;\n\t}",
"public ItemBuilder setFlags(ItemFlag... flags) {\r\n\t\tthis.flags = flags;\r\n\t\treturn this;\r\n\t}",
"public void setItems(nl.webservices.www.soap.GCRItem[] items) {\n this.items = items;\n }",
"public void setItems(Object[] newItems)\n {\n items = new Vector(newItems.length);\n for (int i=0; i < newItems.length; i++)\n {\n items.addElement(newItems[i]);\n }\n }",
"public void setItems(String items)\n {\n _items = items;\n }",
"public ObjectProperty<ObservableList<T>> itemsProperty() {\n\n return this.getWrappedControl().itemsProperty();\n }",
"@SafeVarargs\n public final void add(Item... items) {\n add(asList(items));\n }",
"public java.util.Set<com.jspgou.cms.entity.OrderItem> getItems () {\r\n\t\treturn items;\r\n\t}",
"public SalesOrder.SalesOrderBuilder item(SalesOrderItem... value) {\r\n return toItem(Lists.newArrayList(value));\r\n }",
"@Nonnull\n public List<DeliveryItem> getItems() {\n return items;\n }",
"public Builder addAllItems(\n java.lang.Iterable<? extends java.lang.Integer> values) {\n ensureItemsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, items_);\n onChanged();\n return this;\n }",
"public Set<FeedItem> getItems() {\n\t\treturn items;\n\t}",
"public Builder addItem(io.opencannabis.schema.commerce.OrderItem.Item value) {\n if (itemBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemIsMutable();\n item_.add(value);\n onChanged();\n } else {\n itemBuilder_.addMessage(value);\n }\n return this;\n }",
"public void setItem(Item item) {\n this.item = item;\n }",
"public Builder clearItemStorage() {\n bitField0_ = (bitField0_ & ~0x00000040);\n itemStorage_ = 0;\n onChanged();\n return this;\n }",
"@NotNull\r\n @Contract(pure = true)\r\n public abstract Collection<GuiItem> getItems();",
"public Joins add(Joins items)\n {\n Assert.isNotNull(items, \"items argument is expected not be null\");\n\n if ( !items.isEmpty())\n {\n joins.addAll(items.joins);\n }\n\n return this;\n }",
"public void setItems (java.util.Set<com.jspgou.cms.entity.OrderItem> items) {\r\n\t\tthis.items = items;\r\n\t}",
"public Item update(Item item) {\n Item existing = getItem(item.getItemId());\n if (existing != null) {\n return existing.setQuantity(item.getQuantity());\n }\n else {\n items.add(item.setCart(this));\n return item;\n }\n }",
"public ArrayList<Item> getItemList() {\n return this.items;\n }",
"public ObservableValue<List<T>> items() {\n return createObservableValue(this::getItems, this::setItems, \"items-changed\");\n }",
"public Item getItem() { return this; }",
"public Builder setItems(\n int index, com.rpg.framework.database.Protocol.Item.Builder builderForValue) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.set(index, builderForValue.build());\n onChanged();\n } else {\n itemsBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@Override\n public void setItemsResponse(Context context) {\n // Load string from the given all.json file.\n String jsonString = JSONUtils.loadJSONFromAsset(context, DATA_FILE_NAME);\n\n try {\n // Create JSONObject of the response.\n JSONObject jsonObject = new JSONObject(jsonString);\n\n // Retrieve \"result\" and \"data\" from the response.\n String result = jsonObject.getString(\"result\");\n\n JSONArray dataArray = jsonObject.getJSONArray(\"data\");\n List<Item> dataList = new ArrayList<>();\n\n for (int i = 0; i < dataArray.length(); ++i) {\n JSONObject object = dataArray.getJSONObject(i);\n Item item = new Item(\n object.getString(\"id\"),\n object.getString(\"name\"),\n object.getLong(\"num_likes\"),\n object.getLong(\"num_comments\"),\n object.getLong(\"price\"),\n object.getString(\"photo\"),\n object.getString(\"status\")\n );\n dataList.add(item);\n }\n\n // Instantiate the response object with the \"result\" and \"data\".\n mItemsResponse = new Response(result, dataList);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }",
"public com.rpg.framework.database.Protocol.Item.Builder addItemsBuilder(\n int index) {\n return getItemsFieldBuilder().addBuilder(\n index, com.rpg.framework.database.Protocol.Item.getDefaultInstance());\n }",
"public Item[] getItems()\n {\n return items;\n }",
"public Kit(@Nonnull String name, @Nonnull Map<Integer, ItemStack> items) {\n this(name, items, new HashMap<>());\n }",
"public Builder setInventoryItemData(POGOProtos.Rpc.HoloInventoryItemProto value) {\n if (inventoryItemDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inventoryItem_ = value;\n onChanged();\n } else {\n inventoryItemDataBuilder_.setMessage(value);\n }\n inventoryItemCase_ = 3;\n return this;\n }",
"public java.util.List<? extends com.rpg.framework.database.Protocol.ItemOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }",
"public final ObservableList<MenuItem> getItems() {\n return items;\n }"
] | [
"0.60018367",
"0.5770006",
"0.56740797",
"0.5669168",
"0.5530638",
"0.5470563",
"0.526078",
"0.5240418",
"0.51685405",
"0.5126437",
"0.5119714",
"0.51184225",
"0.51112694",
"0.503797",
"0.5006112",
"0.49733064",
"0.49488696",
"0.49406093",
"0.49184984",
"0.4911774",
"0.4900987",
"0.48862907",
"0.48424584",
"0.48087078",
"0.4786741",
"0.47867185",
"0.4760506",
"0.47144166",
"0.47127223",
"0.47124046",
"0.47120374",
"0.4701865",
"0.46933",
"0.4689445",
"0.46518373",
"0.462989",
"0.4622172",
"0.4622172",
"0.45583424",
"0.45452964",
"0.45452964",
"0.45296758",
"0.44706312",
"0.44702137",
"0.4423094",
"0.44036138",
"0.43996987",
"0.43896127",
"0.4359808",
"0.4356595",
"0.43554038",
"0.43542004",
"0.43460357",
"0.434548",
"0.4341473",
"0.43414512",
"0.43301713",
"0.4319777",
"0.43187693",
"0.4280782",
"0.4279771",
"0.42701742",
"0.42656457",
"0.4254258",
"0.42524055",
"0.42211315",
"0.42202014",
"0.4217295",
"0.4217038",
"0.42170113",
"0.42108542",
"0.42087916",
"0.42083058",
"0.42056513",
"0.42024398",
"0.41985053",
"0.41973704",
"0.41940072",
"0.41902515",
"0.41899616",
"0.41875377",
"0.41607124",
"0.4156221",
"0.41545907",
"0.41461852",
"0.4139202",
"0.41342905",
"0.41234964",
"0.41214567",
"0.41204572",
"0.41162294",
"0.41139653",
"0.41134527",
"0.41108474",
"0.41013807",
"0.40981865",
"0.40950018",
"0.40858343",
"0.40767992",
"0.40751827"
] | 0.5414632 | 6 |
Sets the value of the Items property for this object. Returns a reference to this object so that method calls can be chained together. | public QueryResult withItems(java.util.Collection<java.util.Map<String,AttributeValue>> items) {
if (items == null) {
this.items = null;
} else {
java.util.List<java.util.Map<String,AttributeValue>> itemsCopy = new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.size());
itemsCopy.addAll(items);
this.items = itemsCopy;
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Builder items(Any... value) {\n object.setItems(value);\n return this;\n }",
"public PageInventory withItems(Collection<ItemStack> items)\n {\n this.contents.addAll(items);\n this.recalculate();\n return this;\n }",
"public Builder clearItems() {\n if (itemsBuilder_ == null) {\n items_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n itemsBuilder_.clear();\n }\n return this;\n }",
"public PageInventory withItems(ItemStack... items)\n {\n this.contents.addAll(Arrays.asList(items));\n this.recalculate();\n return this;\n }",
"public com.rpg.framework.database.Protocol.Item.Builder addItemsBuilder() {\n return getItemsFieldBuilder().addBuilder(\n com.rpg.framework.database.Protocol.Item.getDefaultInstance());\n }",
"public QueryResult withItems(java.util.Map<String,AttributeValue>... items) {\n if (getItems() == null) setItems(new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.length));\n for (java.util.Map<String,AttributeValue> value : items) {\n getItems().add(value);\n }\n return this;\n }",
"public void setItems(Item items) {\n this.items = items;\n }",
"public QueryResult withItems(java.util.Collection<java.util.Map<String, AttributeValue>> items) {\n setItems(items);\n return this;\n }",
"public DeliveryParcelDraftBuilder items(\n @Nullable final java.util.List<com.commercetools.importapi.models.orders.DeliveryItem> items) {\n this.items = items;\n return this;\n }",
"public void setItems(ItemList items) {\r\n this.items = items;\r\n }",
"public Builder clearItems() {\n items_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public Builder addItems(com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(value);\n }\n return this;\n }",
"public PaymentRequest setItems(List items) {\r\n this.items = items;\r\n return this;\r\n }",
"public DeliveryParcelDraftBuilder items(\n @Nullable final com.commercetools.importapi.models.orders.DeliveryItem... items) {\n this.items = new ArrayList<>(Arrays.asList(items));\n return this;\n }",
"public Builder addAllItem(\n java.lang.Iterable<? extends io.opencannabis.schema.commerce.OrderItem.Item> values) {\n if (itemBuilder_ == null) {\n ensureItemIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, item_);\n onChanged();\n } else {\n itemBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public void setItems(ArrayList<Item> items) {\n\t\tthis.items = items;\n\t}",
"public List<Item> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public void setItems(Item[] itemsIn)\n {\n items = itemsIn;\n }",
"public DeliveryParcelDraftBuilder plusItems(\n @Nullable final com.commercetools.importapi.models.orders.DeliveryItem... items) {\n if (this.items == null) {\n this.items = new ArrayList<>();\n }\n this.items.addAll(Arrays.asList(items));\n return this;\n }",
"public Builder setItems(\n int index, com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n } else {\n itemsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public Builder setItems(\n int index, int value) {\n ensureItemsIsMutable();\n items_.set(index, value);\n onChanged();\n return this;\n }",
"public Builder clearItem() {\n item_ = emptyIntList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n return this;\n }",
"public void set(List<Item> items) {\n if (mUseIdDistributor) {\n IdDistributor.checkIds(items);\n }\n\n //first collapse all items\n getFastAdapter().collapse();\n\n //get sizes\n int newItemsCount = items.size();\n int previousItemsCount = mItems.size();\n int itemsBeforeThisAdapter = getFastAdapter().getItemCount(getOrder());\n\n //make sure the new items list is not a reference of the already mItems list\n if (items != mItems) {\n //remove all previous items\n if (!mItems.isEmpty()) {\n mItems.clear();\n }\n\n //add all new items to the list\n mItems.addAll(items);\n }\n\n //map the types\n mapPossibleTypes(items);\n\n //now properly notify the adapter about the changes\n if (newItemsCount > previousItemsCount) {\n if (previousItemsCount > 0) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, previousItemsCount);\n }\n getFastAdapter().notifyAdapterItemRangeInserted(itemsBeforeThisAdapter + previousItemsCount, newItemsCount - previousItemsCount);\n } else if (newItemsCount > 0 && newItemsCount < previousItemsCount) {\n getFastAdapter().notifyAdapterItemRangeChanged(itemsBeforeThisAdapter, newItemsCount);\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter + newItemsCount, previousItemsCount - newItemsCount);\n } else if (newItemsCount == 0) {\n getFastAdapter().notifyAdapterItemRangeRemoved(itemsBeforeThisAdapter, previousItemsCount);\n } else {\n getFastAdapter().notifyAdapterDataSetChanged();\n }\n }",
"public Builder clearItem() {\n if (itemBuilder_ == null) {\n item_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000080);\n onChanged();\n } else {\n itemBuilder_.clear();\n }\n return this;\n }",
"public Builder addAllItems(\n java.lang.Iterable<? extends com.rpg.framework.database.Protocol.Item> values) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, items_);\n onChanged();\n } else {\n itemsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public List<Item> getItems() {\n\t\treturn Collections.unmodifiableList(items);\n\t}",
"public EntityDefinitionModel withHasItems(Boolean hasItems) {\n this.hasItems = hasItems;\n return this;\n }",
"@ApiModelProperty(value = \"Array of Receipt Items\")\n @JsonProperty(\"items\")\n public List<ReceiptItem> getItems() {\n return items;\n }",
"public ChoiceDialog setMultiChoiceItems(@NonNull CharSequence[] items,\n @NonNull boolean[] checkedItems) {\n mItems = items;\n mCheckedItems = checkedItems;\n mIsSingleChoice = false;\n return this;\n }",
"@RequestMapping(method=RequestMethod.PUT, value = \"/item\", produces = \"application/json\")\n public void setItems(ArrayList<Item> itemsToSet)\n {\n this.itemRepository.setItems(itemsToSet);\n }",
"public Item getItems() {\n return items;\n }",
"public BookItemMenu addItems ( Item... items ) {\n\t\tfinal int count = addItemsNotFull ( items );\n\t\tif ( ( items.length - count ) > 0 ) { // if there is no added items\n\t\t\tint pages_amount = getPagesAmount ( ( items.length - count ) , getPagesSize ( ) , getButtonsBarSize ( ) );\n\t\t\tthis.pages = Arrays.copyOfRange ( this.pages , 0 , this.pages.length + pages_amount );\n\t\t\tfor ( int i = 0; i < pages.length; i++ ) {\n\t\t\t\tif ( pages[ i ] == null ) {\n\t\t\t\t\tpages[ i ] = new BookPageItemMenu ( this );\n\t\t\t\t\tpages[ i ].setPageNumber ( i );\n\t\t\t\t\t\n\t\t\t\t\t// here we're registering listener of the new page.\n\t\t\t\t\tif ( getHandler ( ) != null ) {\n\t\t\t\t\t\tpages[ i ].registerListener ( getHandler ( ).getPlugin ( ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\taddItemsNotFull ( Arrays.copyOfRange ( items , count , items.length ) );\n\t\t}\n\t\treturn this;\n\t}",
"public List<Item> getItems() {\n\t\treturn this.items;\n\t}",
"public Builder addItems(int value) {\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n return this;\n }",
"public io.opencannabis.schema.commerce.OrderItem.Item.Builder addItemBuilder() {\n return getItemFieldBuilder().addBuilder(\n io.opencannabis.schema.commerce.OrderItem.Item.getDefaultInstance());\n }",
"public SeqItemset createExtendedWith(SeqItem it){\n\t\tSeqItemset newSet = new SeqItemset(m_itemset.length+1);\n\t\tSystem.arraycopy(m_itemset,0,newSet.m_itemset, 0, m_itemset.length);\n\t\tnewSet.m_itemset[m_itemset.length] = it;\n\t\treturn newSet;\n\t}",
"public List<Item> getItems() {\n return items;\n }",
"public List<Item> getItems() {\n return items;\n }",
"public ArrayList<Item> getItems() {\r\n\t\treturn items;\r\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems() {\n\t\treturn items;\n\t}",
"public ArrayList<Item> getItems()\n {\n return items;\n }",
"public ChoiceDialog setMultiChoiceItems(@ArrayRes int itemsId, @NonNull boolean[] checkedItems,\n final OnMultiChoiceClickListener listener) {\n mItems = getContext().getResources().getTextArray(itemsId);\n mPosBtnListener = listener;\n mCheckedItems = checkedItems;\n mIsSingleChoice = false;\n return this;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n return items_;\n }",
"public DeliveryParcelDraftBuilder setItems(\n Function<com.commercetools.importapi.models.orders.DeliveryItemBuilder, com.commercetools.importapi.models.orders.DeliveryItem> builder) {\n return items(builder.apply(com.commercetools.importapi.models.orders.DeliveryItemBuilder.of()));\n }",
"public Builder removeItems(int index) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.remove(index);\n onChanged();\n } else {\n itemsBuilder_.remove(index);\n }\n return this;\n }",
"public Items() {\n equipments = new ArrayList();\n\n SelectItemGroup first = new SelectItemGroup(\"braking\");\n SelectItemGroup second = new SelectItemGroup(\"equipment\");\n \n SelectItem[] array1 = {new SelectItem(\"abs\"), new SelectItem(\"esp\")}; \n SelectItem[] array2 = {new SelectItem(\"radio\"), new SelectItem(\"gps\"), new SelectItem(\"mobil set\")};\n \n first.setSelectItems(array1);\n second.setSelectItems(array2);\n \n equipments.add(first);\n equipments.add(second);\n }",
"public Collection<T> getItems() {\r\n return Collections.unmodifiableCollection(items);\r\n }",
"public void addItemToInventory(Item ... items){\n this.inventory.addItems(items);\n }",
"public Builder addItems(\n int index, com.rpg.framework.database.Protocol.Item value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(index, value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public Item[] getItems() {\n return items.toArray(new Item[0]);\n }",
"public List<ItemStack> getItems() {\n return this.items;\n }",
"public void setItems(List<PickerItem> items) {\n this.items = items;\n initViews();\n selectChild(-1);\n }",
"public Builder addAllItem(\n java.lang.Iterable<? extends java.lang.Integer> values) {\n ensureItemIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, item_);\n onChanged();\n return this;\n }",
"public Builder setItemId(long value) {\n \n itemId_ = value;\n onChanged();\n return this;\n }",
"public Builder addItems(\n com.rpg.framework.database.Protocol.Item.Builder builderForValue) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.add(builderForValue.build());\n onChanged();\n } else {\n itemsBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"public Builder mergeInventoryItemData(POGOProtos.Rpc.HoloInventoryItemProto value) {\n if (inventoryItemDataBuilder_ == null) {\n if (inventoryItemCase_ == 3 &&\n inventoryItem_ != POGOProtos.Rpc.HoloInventoryItemProto.getDefaultInstance()) {\n inventoryItem_ = POGOProtos.Rpc.HoloInventoryItemProto.newBuilder((POGOProtos.Rpc.HoloInventoryItemProto) inventoryItem_)\n .mergeFrom(value).buildPartial();\n } else {\n inventoryItem_ = value;\n }\n onChanged();\n } else {\n if (inventoryItemCase_ == 3) {\n inventoryItemDataBuilder_.mergeFrom(value);\n }\n inventoryItemDataBuilder_.setMessage(value);\n }\n inventoryItemCase_ = 3;\n return this;\n }",
"public List<IDataSetItem> getItems() {\n return items;\n }",
"public java.util.List<? extends com.rpg.framework.database.Protocol.ItemOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }",
"public java.util.List<com.rpg.framework.database.Protocol.Item> getItemsList() {\n if (itemsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(items_);\n } else {\n return itemsBuilder_.getMessageList();\n }\n }",
"public List<ItemStack> getItems()\n {\n return items;\n }",
"public void setItems(java.util.Collection<java.util.Map<String,AttributeValue>> items) {\n if (items == null) {\n this.items = null;\n return;\n }\n\n java.util.List<java.util.Map<String,AttributeValue>> itemsCopy = new java.util.ArrayList<java.util.Map<String,AttributeValue>>(items.size());\n itemsCopy.addAll(items);\n this.items = itemsCopy;\n }",
"@ApiModelProperty(value = \"The items that are setup to rebill\")\r\n public List<AutoOrderItem> getItems() {\r\n return items;\r\n }",
"public ChoiceDialog setSingleChoiceItems(@ArrayRes int itemsId, int checkedItem) {\n mItems = getContext().getResources().getTextArray(itemsId);\n mCheckedItem = checkedItem;\n mIsSingleChoice = true;\n return this;\n }",
"public ChoiceDialog setSingleChoiceItems(CharSequence[] items,\n int checkedItem) {\n mItems = items;\n mCheckedItem = checkedItem;\n mIsSingleChoice = true;\n return this;\n }",
"public EvaluationFormContent withItems(java.util.Collection<EvaluationFormItem> items) {\n setItems(items);\n return this;\n }",
"public com.rpg.framework.database.Protocol.Item.Builder getItemsBuilder(\n int index) {\n return getItemsFieldBuilder().getBuilder(index);\n }",
"@Override\n public Set<T> getItems() {\n return items;\n }",
"public DeliveryParcelDraftBuilder withItems(\n Function<com.commercetools.importapi.models.orders.DeliveryItemBuilder, com.commercetools.importapi.models.orders.DeliveryItemBuilder> builder) {\n this.items = new ArrayList<>();\n this.items.add(builder.apply(com.commercetools.importapi.models.orders.DeliveryItemBuilder.of()).build());\n return this;\n }",
"List<PricedItem> getItems() {\n return Collections.unmodifiableList(items);\n }",
"public ItemBuilder setFlags(ItemFlag... flags) {\r\n\t\tthis.flags = flags;\r\n\t\treturn this;\r\n\t}",
"public void setItems(nl.webservices.www.soap.GCRItem[] items) {\n this.items = items;\n }",
"public List<ItemDTO> getItems()\n\t{\t\n\t\tList<ItemDTO> itemsList = new ArrayList<>();\n\t\tfor (ItemData item : items) \n\t\t\titemsList.add(new ItemDTO(item.idItem,item.description,item.price,item.VAT,item.quantitySold));\t\n\t\treturn itemsList;\n\t}",
"public void setItems(Object[] newItems)\n {\n items = new Vector(newItems.length);\n for (int i=0; i < newItems.length; i++)\n {\n items.addElement(newItems[i]);\n }\n }",
"public void setItems(String items)\n {\n _items = items;\n }",
"@SafeVarargs\n public final void add(Item... items) {\n add(asList(items));\n }",
"public ObjectProperty<ObservableList<T>> itemsProperty() {\n\n return this.getWrappedControl().itemsProperty();\n }",
"public java.util.Set<com.jspgou.cms.entity.OrderItem> getItems () {\r\n\t\treturn items;\r\n\t}",
"public SalesOrder.SalesOrderBuilder item(SalesOrderItem... value) {\r\n return toItem(Lists.newArrayList(value));\r\n }",
"@Nonnull\n public List<DeliveryItem> getItems() {\n return items;\n }",
"public Builder addAllItems(\n java.lang.Iterable<? extends java.lang.Integer> values) {\n ensureItemsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, items_);\n onChanged();\n return this;\n }",
"public Set<FeedItem> getItems() {\n\t\treturn items;\n\t}",
"public Builder addItem(io.opencannabis.schema.commerce.OrderItem.Item value) {\n if (itemBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemIsMutable();\n item_.add(value);\n onChanged();\n } else {\n itemBuilder_.addMessage(value);\n }\n return this;\n }",
"public void setItem(Item item) {\n this.item = item;\n }",
"public Builder clearItemStorage() {\n bitField0_ = (bitField0_ & ~0x00000040);\n itemStorage_ = 0;\n onChanged();\n return this;\n }",
"@NotNull\r\n @Contract(pure = true)\r\n public abstract Collection<GuiItem> getItems();",
"public Joins add(Joins items)\n {\n Assert.isNotNull(items, \"items argument is expected not be null\");\n\n if ( !items.isEmpty())\n {\n joins.addAll(items.joins);\n }\n\n return this;\n }",
"public void setItems (java.util.Set<com.jspgou.cms.entity.OrderItem> items) {\r\n\t\tthis.items = items;\r\n\t}",
"public Item update(Item item) {\n Item existing = getItem(item.getItemId());\n if (existing != null) {\n return existing.setQuantity(item.getQuantity());\n }\n else {\n items.add(item.setCart(this));\n return item;\n }\n }",
"public ArrayList<Item> getItemList() {\n return this.items;\n }",
"public ObservableValue<List<T>> items() {\n return createObservableValue(this::getItems, this::setItems, \"items-changed\");\n }",
"public Builder setItems(\n int index, com.rpg.framework.database.Protocol.Item.Builder builderForValue) {\n if (itemsBuilder_ == null) {\n ensureItemsIsMutable();\n items_.set(index, builderForValue.build());\n onChanged();\n } else {\n itemsBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"public Item getItem() { return this; }",
"@Override\n public void setItemsResponse(Context context) {\n // Load string from the given all.json file.\n String jsonString = JSONUtils.loadJSONFromAsset(context, DATA_FILE_NAME);\n\n try {\n // Create JSONObject of the response.\n JSONObject jsonObject = new JSONObject(jsonString);\n\n // Retrieve \"result\" and \"data\" from the response.\n String result = jsonObject.getString(\"result\");\n\n JSONArray dataArray = jsonObject.getJSONArray(\"data\");\n List<Item> dataList = new ArrayList<>();\n\n for (int i = 0; i < dataArray.length(); ++i) {\n JSONObject object = dataArray.getJSONObject(i);\n Item item = new Item(\n object.getString(\"id\"),\n object.getString(\"name\"),\n object.getLong(\"num_likes\"),\n object.getLong(\"num_comments\"),\n object.getLong(\"price\"),\n object.getString(\"photo\"),\n object.getString(\"status\")\n );\n dataList.add(item);\n }\n\n // Instantiate the response object with the \"result\" and \"data\".\n mItemsResponse = new Response(result, dataList);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }",
"public com.rpg.framework.database.Protocol.Item.Builder addItemsBuilder(\n int index) {\n return getItemsFieldBuilder().addBuilder(\n index, com.rpg.framework.database.Protocol.Item.getDefaultInstance());\n }",
"public Item[] getItems()\n {\n return items;\n }",
"public Kit(@Nonnull String name, @Nonnull Map<Integer, ItemStack> items) {\n this(name, items, new HashMap<>());\n }",
"public Builder setInventoryItemData(POGOProtos.Rpc.HoloInventoryItemProto value) {\n if (inventoryItemDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inventoryItem_ = value;\n onChanged();\n } else {\n inventoryItemDataBuilder_.setMessage(value);\n }\n inventoryItemCase_ = 3;\n return this;\n }",
"public java.util.List<? extends com.rpg.framework.database.Protocol.ItemOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }",
"public final ObservableList<MenuItem> getItems() {\n return items;\n }"
] | [
"0.600322",
"0.57697767",
"0.56773216",
"0.56684226",
"0.5530427",
"0.54133046",
"0.52628934",
"0.523855",
"0.5169232",
"0.5128756",
"0.5121606",
"0.51207846",
"0.5112612",
"0.50387573",
"0.50079817",
"0.4975673",
"0.49489617",
"0.4941526",
"0.49178115",
"0.49146324",
"0.49036437",
"0.4889514",
"0.48447254",
"0.48123798",
"0.47879425",
"0.47866973",
"0.4759033",
"0.4714797",
"0.47142598",
"0.47133824",
"0.47120026",
"0.4702398",
"0.46928298",
"0.468973",
"0.465323",
"0.462765",
"0.46218246",
"0.46218246",
"0.45578355",
"0.4544836",
"0.4544836",
"0.4528981",
"0.44709834",
"0.44697353",
"0.44235247",
"0.44058812",
"0.4400213",
"0.43897057",
"0.43612105",
"0.43557456",
"0.43555042",
"0.43539816",
"0.4348425",
"0.4346265",
"0.4343054",
"0.43418658",
"0.4328962",
"0.43191782",
"0.4318119",
"0.42800638",
"0.42785254",
"0.42716932",
"0.42670414",
"0.42558756",
"0.425463",
"0.4220403",
"0.42196962",
"0.4217394",
"0.4216857",
"0.42159066",
"0.42101812",
"0.4209745",
"0.42096624",
"0.4206704",
"0.42031202",
"0.4199803",
"0.41992027",
"0.41942587",
"0.41909617",
"0.4189523",
"0.41882533",
"0.41600072",
"0.41582918",
"0.41580266",
"0.4148815",
"0.4138482",
"0.41345406",
"0.41262138",
"0.41230637",
"0.41204613",
"0.4116472",
"0.41157645",
"0.41123018",
"0.41096565",
"0.4102612",
"0.40967986",
"0.4095494",
"0.40878412",
"0.40759093",
"0.40755853"
] | 0.54691565 | 5 |
Number of items in the response. | public Integer getCount() {
return count;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getResponseCount() {\n return response_.size();\n }",
"public int getResponseCount() {\n return response_.size();\n }",
"@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }",
"public int getResponseCount() {\n if (responseBuilder_ == null) {\n return response_.size();\n } else {\n return responseBuilder_.getCount();\n }\n }",
"public int size() {\n return numItems;\n }",
"int getResponseCount();",
"int getItemsCount();",
"int getItemsCount();",
"public int size() {\n return nItems;\n }",
"public int length() {\n return numberOfItems;\n }",
"public int size()\r\n\t{\r\n\t\treturn numItems;\r\n\r\n\t}",
"public int size()\r\n {\r\n return nItems;\r\n }",
"public int size() {\n \treturn numItems;\n }",
"@Override\r\n\tpublic int size() {\r\n\t\treturn numItems;\r\n\t}",
"public int size(){\n return numItems;\n }",
"public int length() {\n\n\t\treturn numItems;\n\n\t}",
"@Override\n public abstract long getResponseCount();",
"public int getCount() {\n\t\t\treturn data.size();\n\t\t}",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getCount() {\n\t\treturn data.size();\r\n\t}",
"@Override\n public int getSize() {\n return numItems;\n }",
"@Override\n\tpublic int size() {\n\n\t\treturn this.numOfItems;\n\t}",
"int getResponsesCount();",
"public int getItemsCount() {\n return items_.size();\n }",
"public long getItemCount() {\n\t\treturn this.getSize(data);\n\t}",
"@Override\n\tpublic int size() {\n\t\treturn numItems;// numItems represents size\n\t}",
"@Override\n public int getSize() {\n return this.numItems;\n }",
"public int getCount() {\n if(data.size()<=0) return 1;\n return data.size();\n }",
"public int getResponsesCount() {\n return responses_.size();\n }",
"public int getCount() {\n return definition.getInteger(COUNT, 1);\n }",
"int getNumItems();",
"public int getNumberOfItems() {\r\n return decorItems.size();\r\n }",
"public final int numberOfResponseValues()\n\t{\n\t\treturn m_responseValues != null ? m_responseValues.size() : 0;\n\t}",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"public int getCount(){\r\n\t\tif(_serverinfo != null){\r\n\t\t\treturn _serverinfo.length / 6;\r\n\t\t}\r\n\t\treturn 0;\r\n\t}",
"public int getCount() {\n return _data.size();\n }",
"public int getItemCount() {\n checkWidget();\n return OS.SendMessage(handle, OS.TCM_GETITEMCOUNT, 0, 0);\n }",
"public int size() {\n return items.size();\n }",
"public int size() {\r\n return items.size();\r\n }",
"public int size() {\r\n return items.size();\r\n }",
"@Override\n public int getItemCount() {\n return responseList.size()+1;\n }",
"public int size() {\r\n if (NumItems > Integer.MAX_VALUE) {\r\n return Integer.MAX_VALUE;\r\n }\r\n return NumItems;\r\n }",
"@Override\n\tpublic int getCount() {\n\t\tLog.d(\"tab1share\", String.valueOf(jsonArray.length()));\n\t\treturn jsonArray.length();\n\n\t}",
"public Integer getCount() {\n return count;\n }",
"public int getCount() {\n\t\t\treturn dataList.size();\r\n\t\t}",
"public int getCount() {\n\t\t\treturn mlistData.size();\n\t\t}",
"public int getCount() {\n\t\t\treturn list.size();\r\n\t\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public int getTotalItems()\n {\n return totalItems;\n }",
"@Override\n public int getItemCount() {\n //returns the number of elements the RecyclerView will display\n return requests.size();\n }",
"@Override\n\tpublic int numerOfItems() {\n\t\treturn usersDAO.numerOfItems();\n\t}",
"public int getCount() \r\n\t{\r\n\t\tSystem.out.print(\"The number of book in the Array is \");\r\n\t\treturn numItems;\r\n\t\t\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getTotalResponse() {\n return totalResponse;\n }",
"public synchronized int getCount()\n\t{\n\t\treturn count;\n\t}",
"public int size()\r\n\t{\r\n\t\treturn count;\r\n\t}",
"@Nonnegative\n public int getSize()\n {\n return items.size();\n }",
"public int getResponsesCount() {\n if (responsesBuilder_ == null) {\n return responses_.size();\n } else {\n return responsesBuilder_.getCount();\n }\n }",
"public int getCount() {\n\t\t\treturn this.count;\n\t\t}",
"public int getCount() {\n\t\t\treturn count;\n\t\t}",
"private int infoCount() {\n return data.size();\n }",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int Count() throws AspException\n {\n return Contents.Count();\n }",
"public int Count() throws AspException\n {\n return Contents.Count();\n }",
"public int getLinesResource(){\n return response.body().split(\"\\n\").length;\n }",
"@Override\r\n\tpublic int size() {\n\t\treturn count;\r\n\t}",
"public int getCount() {\n return count_;\n }",
"public Integer getCount() {\n return this.count;\n }",
"@Override\n public int getItemCount() {\n if (addedHeader()) {\n return getData() == null ? 0 : (getData().size() + 1);\n } else {\n return getData() == null ? 0 : getData().size();\n }\n }",
"public long getNbTotalItems() {\n return nbTotalItems;\n }",
"@Test\n public void testItemsCountFromResponseBody() {\n\t\tgiven().accept(ContentType.JSON).\n\t\twhen().get(ConfigurationReader.getProperty(\"hrapp.baseurl\")+\"/regions\")\n\t\t.then().assertThat().statusCode(200)\n\t\t.and().contentType(ContentType.JSON)\n\t\t.and().assertThat().body(\"items.region_id\", hasSize(4))\n\t\t.and().assertThat().body(\"items.region_id\", hasItem(\"Europe\"))\n\t\t.and().assertThat().body(\"items.region_name\", hasItems(\"Americas\",\"Europe\",\"do\"));\n }",
"public int size() { return count; }",
"public long getCount()\n\t{\n\t\treturn count;\n\t}",
"public int size()\r\n {\r\n return count;\r\n }",
"@Override\r\n\tpublic int size() {\r\n\t\treturn count;\r\n\t}",
"@Override\n public int getItemCount() {\n return visitRecordsFullResponseModels.size();\n }",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n return count;\n }",
"public Integer getTotalItemCount() {\n return totalItemCount;\n }",
"@Override\n public int size() {\n return count;\n }",
"@Override\n public int size() {\n return count;\n }",
"public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }",
"public Integer getPageItemCount() {\n return pageItemCount;\n }",
"public int numberOfItems()\n {\n return dessertList.size();\n }",
"public int getCount() {\n return list.size();\n }",
"public int size()\n {\n return count;\n }",
"public int size(){ return itemCount;}",
"public int getSize() {\n synchronized (itemsList) {\n return itemsList.size();\n }\n }"
] | [
"0.80171424",
"0.7930918",
"0.7921303",
"0.774902",
"0.7694471",
"0.7633265",
"0.7628059",
"0.7628059",
"0.7617327",
"0.7614849",
"0.76081514",
"0.7603166",
"0.7581541",
"0.7546966",
"0.74534726",
"0.7440572",
"0.7435232",
"0.7434596",
"0.7422624",
"0.7422624",
"0.74103177",
"0.74009675",
"0.7364852",
"0.7363788",
"0.7350609",
"0.73481053",
"0.7341223",
"0.7340083",
"0.7302158",
"0.7295284",
"0.7278368",
"0.7273889",
"0.7265818",
"0.7229255",
"0.72265637",
"0.7214937",
"0.7188552",
"0.71646726",
"0.71500254",
"0.71109945",
"0.71109945",
"0.70891",
"0.7087632",
"0.7084522",
"0.70818484",
"0.7081192",
"0.7075104",
"0.7057244",
"0.7055071",
"0.7055071",
"0.7030849",
"0.70302194",
"0.70158166",
"0.7012547",
"0.7011968",
"0.7011968",
"0.7011968",
"0.7005471",
"0.6999005",
"0.6979126",
"0.69721484",
"0.69695765",
"0.6967647",
"0.69659317",
"0.6963649",
"0.6954413",
"0.6954413",
"0.69502956",
"0.69502956",
"0.6946634",
"0.69454646",
"0.6934846",
"0.6926436",
"0.6924203",
"0.69175464",
"0.6916733",
"0.6915373",
"0.6905574",
"0.6903547",
"0.69026595",
"0.68994147",
"0.689925",
"0.689925",
"0.689925",
"0.68898535",
"0.68876195",
"0.68768406",
"0.68768406",
"0.6875349",
"0.68733627",
"0.68708533",
"0.6867433",
"0.6866508",
"0.6866378",
"0.68649924"
] | 0.70387024 | 54 |
Number of items in the response. | public void setCount(Integer count) {
this.count = count;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getResponseCount() {\n return response_.size();\n }",
"public int getResponseCount() {\n return response_.size();\n }",
"@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }",
"public int getResponseCount() {\n if (responseBuilder_ == null) {\n return response_.size();\n } else {\n return responseBuilder_.getCount();\n }\n }",
"public int size() {\n return numItems;\n }",
"int getResponseCount();",
"int getItemsCount();",
"int getItemsCount();",
"public int size() {\n return nItems;\n }",
"public int length() {\n return numberOfItems;\n }",
"public int size()\r\n\t{\r\n\t\treturn numItems;\r\n\r\n\t}",
"public int size()\r\n {\r\n return nItems;\r\n }",
"public int size() {\n \treturn numItems;\n }",
"@Override\r\n\tpublic int size() {\r\n\t\treturn numItems;\r\n\t}",
"public int size(){\n return numItems;\n }",
"public int length() {\n\n\t\treturn numItems;\n\n\t}",
"@Override\n public abstract long getResponseCount();",
"public int getCount() {\n\t\t\treturn data.size();\n\t\t}",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getCount() {\n\t\treturn data.size();\r\n\t}",
"@Override\n public int getSize() {\n return numItems;\n }",
"@Override\n\tpublic int size() {\n\n\t\treturn this.numOfItems;\n\t}",
"int getResponsesCount();",
"public int getItemsCount() {\n return items_.size();\n }",
"public long getItemCount() {\n\t\treturn this.getSize(data);\n\t}",
"@Override\n\tpublic int size() {\n\t\treturn numItems;// numItems represents size\n\t}",
"@Override\n public int getSize() {\n return this.numItems;\n }",
"public int getCount() {\n if(data.size()<=0) return 1;\n return data.size();\n }",
"public int getResponsesCount() {\n return responses_.size();\n }",
"public int getCount() {\n return definition.getInteger(COUNT, 1);\n }",
"int getNumItems();",
"public int getNumberOfItems() {\r\n return decorItems.size();\r\n }",
"public final int numberOfResponseValues()\n\t{\n\t\treturn m_responseValues != null ? m_responseValues.size() : 0;\n\t}",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"public int getCount(){\r\n\t\tif(_serverinfo != null){\r\n\t\t\treturn _serverinfo.length / 6;\r\n\t\t}\r\n\t\treturn 0;\r\n\t}",
"public int getCount() {\n return _data.size();\n }",
"public int getItemCount() {\n checkWidget();\n return OS.SendMessage(handle, OS.TCM_GETITEMCOUNT, 0, 0);\n }",
"public int size() {\n return items.size();\n }",
"public int size() {\r\n return items.size();\r\n }",
"public int size() {\r\n return items.size();\r\n }",
"@Override\n public int getItemCount() {\n return responseList.size()+1;\n }",
"public int size() {\r\n if (NumItems > Integer.MAX_VALUE) {\r\n return Integer.MAX_VALUE;\r\n }\r\n return NumItems;\r\n }",
"@Override\n\tpublic int getCount() {\n\t\tLog.d(\"tab1share\", String.valueOf(jsonArray.length()));\n\t\treturn jsonArray.length();\n\n\t}",
"public Integer getCount() {\n return count;\n }",
"public int getCount() {\n\t\t\treturn dataList.size();\r\n\t\t}",
"public int getCount() {\n\t\t\treturn mlistData.size();\n\t\t}",
"public int getCount() {\n\t\t\treturn list.size();\r\n\t\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public int getTotalItems()\n {\n return totalItems;\n }",
"@Override\n public int getItemCount() {\n //returns the number of elements the RecyclerView will display\n return requests.size();\n }",
"@Override\n\tpublic int numerOfItems() {\n\t\treturn usersDAO.numerOfItems();\n\t}",
"public int getCount() \r\n\t{\r\n\t\tSystem.out.print(\"The number of book in the Array is \");\r\n\t\treturn numItems;\r\n\t\t\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getTotalResponse() {\n return totalResponse;\n }",
"public synchronized int getCount()\n\t{\n\t\treturn count;\n\t}",
"public int size()\r\n\t{\r\n\t\treturn count;\r\n\t}",
"@Nonnegative\n public int getSize()\n {\n return items.size();\n }",
"public int getResponsesCount() {\n if (responsesBuilder_ == null) {\n return responses_.size();\n } else {\n return responsesBuilder_.getCount();\n }\n }",
"public int getCount() {\n\t\t\treturn this.count;\n\t\t}",
"public int getCount() {\n\t\t\treturn count;\n\t\t}",
"private int infoCount() {\n return data.size();\n }",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int Count() throws AspException\n {\n return Contents.Count();\n }",
"public int Count() throws AspException\n {\n return Contents.Count();\n }",
"public int getLinesResource(){\n return response.body().split(\"\\n\").length;\n }",
"@Override\r\n\tpublic int size() {\n\t\treturn count;\r\n\t}",
"public int getCount() {\n return count_;\n }",
"public Integer getCount() {\n return this.count;\n }",
"@Override\n public int getItemCount() {\n if (addedHeader()) {\n return getData() == null ? 0 : (getData().size() + 1);\n } else {\n return getData() == null ? 0 : getData().size();\n }\n }",
"public long getNbTotalItems() {\n return nbTotalItems;\n }",
"@Test\n public void testItemsCountFromResponseBody() {\n\t\tgiven().accept(ContentType.JSON).\n\t\twhen().get(ConfigurationReader.getProperty(\"hrapp.baseurl\")+\"/regions\")\n\t\t.then().assertThat().statusCode(200)\n\t\t.and().contentType(ContentType.JSON)\n\t\t.and().assertThat().body(\"items.region_id\", hasSize(4))\n\t\t.and().assertThat().body(\"items.region_id\", hasItem(\"Europe\"))\n\t\t.and().assertThat().body(\"items.region_name\", hasItems(\"Americas\",\"Europe\",\"do\"));\n }",
"public int size() { return count; }",
"public long getCount()\n\t{\n\t\treturn count;\n\t}",
"public int size()\r\n {\r\n return count;\r\n }",
"@Override\r\n\tpublic int size() {\r\n\t\treturn count;\r\n\t}",
"@Override\n public int getItemCount() {\n return visitRecordsFullResponseModels.size();\n }",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n\t\treturn count;\n\t}",
"public int size() {\n return count;\n }",
"public Integer getTotalItemCount() {\n return totalItemCount;\n }",
"@Override\n public int size() {\n return count;\n }",
"@Override\n public int size() {\n return count;\n }",
"public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }",
"public Integer getPageItemCount() {\n return pageItemCount;\n }",
"public int numberOfItems()\n {\n return dessertList.size();\n }",
"public int getCount() {\n return list.size();\n }",
"public int size()\n {\n return count;\n }",
"public int size(){ return itemCount;}",
"public int getSize() {\n synchronized (itemsList) {\n return itemsList.size();\n }\n }"
] | [
"0.80171424",
"0.7930918",
"0.7921303",
"0.774902",
"0.7694471",
"0.7633265",
"0.7628059",
"0.7628059",
"0.7617327",
"0.7614849",
"0.76081514",
"0.7603166",
"0.7581541",
"0.7546966",
"0.74534726",
"0.7440572",
"0.7435232",
"0.7434596",
"0.7422624",
"0.7422624",
"0.74103177",
"0.74009675",
"0.7364852",
"0.7363788",
"0.7350609",
"0.73481053",
"0.7341223",
"0.7340083",
"0.7302158",
"0.7295284",
"0.7278368",
"0.7273889",
"0.7265818",
"0.7229255",
"0.72265637",
"0.7214937",
"0.7188552",
"0.71646726",
"0.71500254",
"0.71109945",
"0.71109945",
"0.70891",
"0.7087632",
"0.7084522",
"0.70818484",
"0.7081192",
"0.7075104",
"0.7057244",
"0.7055071",
"0.7055071",
"0.70387024",
"0.70387024",
"0.70387024",
"0.70387024",
"0.70387024",
"0.70387024",
"0.7030849",
"0.70302194",
"0.70158166",
"0.7012547",
"0.7011968",
"0.7011968",
"0.7011968",
"0.7005471",
"0.6999005",
"0.6979126",
"0.69721484",
"0.69695765",
"0.6967647",
"0.69659317",
"0.6963649",
"0.6954413",
"0.6954413",
"0.69502956",
"0.69502956",
"0.6946634",
"0.69454646",
"0.6934846",
"0.6926436",
"0.6924203",
"0.69175464",
"0.6916733",
"0.6915373",
"0.6905574",
"0.6903547",
"0.69026595",
"0.68994147",
"0.689925",
"0.689925",
"0.689925",
"0.68898535",
"0.68876195",
"0.68768406",
"0.68768406",
"0.6875349",
"0.68733627",
"0.68708533",
"0.6867433",
"0.6866508",
"0.6866378",
"0.68649924"
] | 0.0 | -1 |
Number of items in the response. Returns a reference to this object so that method calls can be chained together. | public QueryResult withCount(Integer count) {
this.count = count;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getResponseCount() {\n if (responseBuilder_ == null) {\n return response_.size();\n } else {\n return responseBuilder_.getCount();\n }\n }",
"@Nonnull\n public PrimitiveRequestBuilder<Long> count() {\n return new PrimitiveRequestBuilder<Long>(getRequestUrlWithAdditionalSegment(\"$count\"), getClient(), null, Long.class);\n }",
"@Nonnull\n public PrimitiveRequestBuilder<Long> count() {\n return new PrimitiveRequestBuilder<Long>(getRequestUrlWithAdditionalSegment(\"$count\"), getClient(), null, Long.class);\n }",
"public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }",
"public int getResponseCount() {\n return response_.size();\n }",
"public int getResponseCount() {\n return response_.size();\n }",
"public Builder setLikesCount(int value) {\n copyOnWrite();\n instance.setLikesCount(value);\n return this;\n }",
"public int length() {\n return numberOfItems;\n }",
"int getItemsCount();",
"int getItemsCount();",
"public int getNumberOfItems() {\r\n return decorItems.size();\r\n }",
"public Integer getInterestedInItemsCount();",
"@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int size() {\n return numItems;\n }",
"public int getResponsesCount() {\n if (responsesBuilder_ == null) {\n return responses_.size();\n } else {\n return responsesBuilder_.getCount();\n }\n }",
"public long getItemCount() {\n\t\treturn this.getSize(data);\n\t}",
"public int size() {\n return nItems;\n }",
"public int length() {\n\n\t\treturn numItems;\n\n\t}",
"public int size()\r\n {\r\n return nItems;\r\n }",
"public Builder setCount(int value) {\n \n count_ = value;\n onChanged();\n return this;\n }",
"public int getItemCount() {\n checkWidget();\n return OS.SendMessage(handle, OS.TCM_GETITEMCOUNT, 0, 0);\n }",
"public int getItemCount() {\n if (itemBuilder_ == null) {\n return item_.size();\n } else {\n return itemBuilder_.getCount();\n }\n }",
"@Override\n\tpublic int size() {\n\n\t\treturn this.numOfItems;\n\t}",
"public QueryResult withCount(Integer count) {\n setCount(count);\n return this;\n }",
"@Override\r\n\tpublic int size() {\r\n\t\treturn numItems;\r\n\t}",
"@Nonnull\n public SynchronizationJobCollectionRequest count() {\n addCountOption(true);\n return this;\n }",
"public int size(){\n return numItems;\n }",
"public int size()\r\n\t{\r\n\t\treturn numItems;\r\n\r\n\t}",
"@GetMapping(path = \"/count\")\r\n\tpublic ResponseEntity<Long> getCount() {\r\n\t\tLong count = this.bl.getCount();\r\n\t\treturn ResponseEntity.status(HttpStatus.OK).body(count);\r\n\t}",
"public int getCount() {\n return definition.getInteger(COUNT, 1);\n }",
"public static int countByitems(long requestId) {\n\t\treturn getPersistence().countByitems(requestId);\n\t}",
"public Input setCount(int count) {\n definition.putNumber(COUNT, count);\n return this;\n }",
"public QueryResponseInner withCount(long count) {\n this.count = count;\n return this;\n }",
"@Override\n public abstract long getResponseCount();",
"@Override\n public int getItemCount() {\n return responseList.size()+1;\n }",
"public Integer getTotalItemCount() {\n return totalItemCount;\n }",
"public Integer getCount() {\n return this.count;\n }",
"public int getResponsesCount() {\n return responses_.size();\n }",
"@Override\n\tpublic int size() {\n\t\treturn numItems;// numItems represents size\n\t}",
"int getNumItems();",
"public int size() {\n \treturn numItems;\n }",
"int getResponseCount();",
"public int count() {\n return Query.count(iterable);\n }",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"@Override\n public int getSize() {\n return this.numItems;\n }",
"public Integer getPageItemCount() {\n return pageItemCount;\n }",
"public int size() {\n return items.size();\n }",
"public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }",
"public int size() {\r\n if (NumItems > Integer.MAX_VALUE) {\r\n return Integer.MAX_VALUE;\r\n }\r\n return NumItems;\r\n }",
"public int getResponseAttributeCount()\n {\n return responseAttributeCount;\n }",
"@Override\n\tpublic int numerOfItems() {\n\t\treturn usersDAO.numerOfItems();\n\t}",
"public NM getNumberOfItemsPerUnit() { \r\n\t\tNM retVal = this.getTypedField(14, 0);\r\n\t\treturn retVal;\r\n }",
"int getQueryItemsCount();",
"public int getCount() {\n return app.getItems().length;\n }",
"public static int countByitem(long requestId) {\n\t\treturn getPersistence().countByitem(requestId);\n\t}",
"public Integer getCount() {\n return count;\n }",
"public final int numberOfResponseValues()\n\t{\n\t\treturn m_responseValues != null ? m_responseValues.size() : 0;\n\t}",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"@XmlAttribute\r\n public Integer getCount() {\r\n return count;\r\n }",
"@Override\n public int getSize() {\n return numItems;\n }",
"public int size() {\r\n return items.size();\r\n }",
"public int size() {\r\n return items.size();\r\n }",
"public int numberOfItems()\n {\n return dessertList.size();\n }",
"public int getCount() {\n if(data.size()<=0) return 1;\n return data.size();\n }",
"public int getCount() {\n\t\t\treturn data.size();\n\t\t}",
"public int getCount() {\n\t\t\treturn this.count;\n\t\t}",
"public NSArray<NSDictionary <Object, Integer>> itemCounts(Result result) {\n //TODO\n return NSArray.EmptyArray;\n }",
"public Builder setCount(long value) {\n \n count_ = value;\n onChanged();\n return this;\n }",
"int getResponsesCount();",
"public int getSize() {\n synchronized (itemsList) {\n return itemsList.size();\n }\n }",
"@Test\n public void testItemsCountFromResponseBody() {\n\t\tgiven().accept(ContentType.JSON).\n\t\twhen().get(ConfigurationReader.getProperty(\"hrapp.baseurl\")+\"/regions\")\n\t\t.then().assertThat().statusCode(200)\n\t\t.and().contentType(ContentType.JSON)\n\t\t.and().assertThat().body(\"items.region_id\", hasSize(4))\n\t\t.and().assertThat().body(\"items.region_id\", hasItem(\"Europe\"))\n\t\t.and().assertThat().body(\"items.region_name\", hasItems(\"Americas\",\"Europe\",\"do\"));\n }",
"public GiftCardProductQuery reviewCount() {\n startField(\"review_count\");\n\n return this;\n }",
"public Long getCount() {\n return this.Count;\n }",
"public Integer getItemcount() {\n return itemcount;\n }",
"public Long getCount() {\n return count;\n }",
"@Nonnegative\n public int getSize()\n {\n return items.size();\n }",
"public long getNbTotalItems() {\n return nbTotalItems;\n }",
"public NM getPsl14_NumberOfItemsPerUnit() { \r\n\t\tNM retVal = this.getTypedField(14, 0);\r\n\t\treturn retVal;\r\n }",
"public Query size(String key, int value) {\n Preconditions.checkNotNull(key);\n\n builder.addFilter(builder.getOperator(QueryFilterBuilder.Operators.SIZE), key, value);\n return this;\n }",
"public int getTotalItems()\n {\n return totalItems;\n }",
"@NonNull\n public BasketItemBuilder incrementQuantity() {\n this.quantity++;\n return this;\n }",
"public int getLikesCount() {\n return instance.getLikesCount();\n }",
"public Long getCount() {\r\n return count;\r\n }",
"@Override\n public int getItemCount() {\n return visitRecordsFullResponseModels.size();\n }",
"public int getCount() {\n\t\treturn data.size();\r\n\t}",
"public int getLength() {\r\n int length = 0;\r\n \r\n Iterator it = collection.iterator();\r\n \r\n while(it.hasNext()) {\r\n length += ((Chunk)it.next()).getSize();\r\n }\r\n \r\n return length;\r\n }",
"public Builder count(Integer count) {\n\t\t\tthis.count = count;\n\t\t\treturn this;\n\t\t}",
"public int getCount() {\n return _data.size();\n }",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}"
] | [
"0.5952097",
"0.58398634",
"0.58398634",
"0.55752236",
"0.55534214",
"0.55236477",
"0.54638934",
"0.54321",
"0.54278505",
"0.54278505",
"0.5418008",
"0.5417389",
"0.54173064",
"0.53814936",
"0.53814936",
"0.53577536",
"0.5341168",
"0.5335987",
"0.52990794",
"0.5293857",
"0.52398056",
"0.52378964",
"0.52270395",
"0.5203336",
"0.5188115",
"0.5154058",
"0.51298356",
"0.51095194",
"0.5109317",
"0.5099732",
"0.50973743",
"0.50911415",
"0.5085365",
"0.5077392",
"0.5065588",
"0.5045225",
"0.5040072",
"0.50335485",
"0.5031866",
"0.50279033",
"0.5017618",
"0.501524",
"0.5011941",
"0.50034475",
"0.49952167",
"0.49866343",
"0.4977656",
"0.49735254",
"0.49544308",
"0.49508533",
"0.4949419",
"0.49403727",
"0.4938618",
"0.4930692",
"0.49290168",
"0.4917409",
"0.4917336",
"0.49093556",
"0.49083224",
"0.4900227",
"0.48976701",
"0.48976701",
"0.48976701",
"0.48976701",
"0.48976701",
"0.48976701",
"0.48967034",
"0.48953584",
"0.4888056",
"0.4888056",
"0.48871413",
"0.48830846",
"0.48761404",
"0.4875589",
"0.4867308",
"0.48585135",
"0.48518178",
"0.48454842",
"0.48352188",
"0.48294932",
"0.48235634",
"0.48224118",
"0.48178723",
"0.48129812",
"0.48027053",
"0.47981492",
"0.47941527",
"0.47940862",
"0.4792787",
"0.47927082",
"0.47869456",
"0.47614893",
"0.47592524",
"0.47575626",
"0.47547868",
"0.4751828",
"0.47489893",
"0.47489893",
"0.4743773",
"0.4743773"
] | 0.5126207 | 27 |
Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value to start a new operation excluding this value in the new request. The LastEvaluatedKey is null when the entire query result set is complete (i.e. the operation processed the "last page"). | public Key getLastEvaluatedKey() {
return lastEvaluatedKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.Map<String, AttributeValue> getLastEvaluatedKey() {\n return lastEvaluatedKey;\n }",
"public QueryResult withLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n setLastEvaluatedKey(lastEvaluatedKey);\n return this;\n }",
"public void setLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n }",
"public void setLastEvaluatedKey(Key lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n }",
"public String partitionKey() {\n return partitionKey;\n }",
"public QueryResult withLastEvaluatedKey(Key lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n return this;\n }",
"public String partitionKey() {\n return this.partitionKey;\n }",
"public int keyId() {\n return keyId;\n }",
"public Object getSelectedKey()\n\t{\n\t\tif ( m_results.size() == 0)\n\t\t\treturn null;\n\t\treturn m_results.get(0);\n\t}",
"public QueryResult clearLastEvaluatedKeyEntries() {\n this.lastEvaluatedKey = null;\n return this;\n }",
"public Integer key() {\n return key;\n }",
"public String getQueryKey()\n {\n if (getPrimaryKey() == null)\n {\n return \"\";\n }\n else\n {\n return getPrimaryKey().toString();\n }\n }",
"@Override\r\n\tpublic LongWritable getCurrentKey() throws IOException, InterruptedException {\n\t\treturn this.key;\r\n\t}",
"public IdKey getKey() {\n return idKey;\n }",
"public int getFirstPartitionId()\n\t{\n\t\treturn this.firstPartitionId;\n\t}",
"public Integer key() {\n return this.key;\n }",
"public String getMinKey() {\n if (list.isEmpty()) {\n return \"\";\n }\n return v.get(list.getLast()).iterator().next();\n }",
"public String getMinKey() {\n\t\tif(map.isEmpty()){\n\t\t\treturn \"\";\n\t\t}\n\t\treturn tail.prev.key;\n\t}",
"public Object getRowKey()\n {\n if (isRowAvailable())\n {\n Object rowKey = _getRowKey();\n return rowKey;\n }\n else\n {\n return null;\n }\n }",
"@Override\n public byte[] getStartKey(){\n return region.getRegionInfo().getStartKey();\n }",
"public final int getKeyId()\r\n\t{\r\n\t\treturn keyId;\r\n\t}",
"public Key getLastKey() {\n\t\treturn lastNode.key;\n\t}",
"public String getKey() {\n\t\treturn id + \"\";\n\t}",
"public ImmutableBytesWritable getCurrentKey() throws IOException,\n InterruptedException {\n return key;\n }",
"private Object _getRowKey()\n {\n Object data = getRowData();\n \n assert (_rowKeyProperty != null);\n return __resolveProperty(data, _rowKeyProperty);\n }",
"@Override\r\n public K lastKey() {\n return null;\r\n }",
"public String currentKeyIdentifier() {\n return this.currentKeyIdentifier;\n }",
"public QueryResult addLastEvaluatedKeyEntry(String key, AttributeValue value) {\n if (null == this.lastEvaluatedKey) {\n this.lastEvaluatedKey = new java.util.HashMap<String, AttributeValue>();\n }\n if (this.lastEvaluatedKey.containsKey(key))\n throw new IllegalArgumentException(\"Duplicated keys (\" + key.toString() + \") are provided.\");\n this.lastEvaluatedKey.put(key, value);\n return this;\n }",
"public IdDt getKeyElement() { \n\t\tif (myKey == null) {\n\t\t\tmyKey = new IdDt();\n\t\t}\n\t\treturn myKey;\n\t}",
"@Override\r\n public K firstKey() {\n return null;\r\n }",
"public Integer getKey()\r\n {\r\n return key;\r\n }",
"public int getKey() {\n\t\treturn 0;\n\t}",
"String getPartitionKey(int index);",
"public Long getObjectKey()\n\t{\n\t\treturn objectKey;\n\t}",
"public Long getRowKey() {\n return (Long) getAttributeInternal(ROWKEY);\n }",
"public String getKeyId() {\n return getProperty(KEY_ID);\n }",
"@Override\r\n\t\tpublic K getKey() {\n\t\t\treturn pair.getFirst();\r\n\t\t}",
"public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}",
"public String getMinKey() {\n if (map.size() == 0)\n return \"\";\n return minKey;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _state.getPrimaryKey();\n\t}",
"public int getKey() {\n return key;\n }",
"public int getGeneratedKey() {\n\n throw new RuntimeException(\"This method is only valid for insert commands\");\n }",
"public long getProcessOrderItemKey() {\n\t\treturn processOrderItemKey;\n\t}",
"private Integer newPrimaryKey( )\n {\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n daoUtil.executeQuery( );\n Integer nKey = null;\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 );\n }\n else\n {\n nKey = 1;\n }\n daoUtil.close( );\n\n return nKey.intValue( );\n }",
"public String getKey() {\n return element == null ? null : element.getKey();\n }",
"@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"private long minKey() {\n if (left.size == 0) return key;\n // make key 'absolute' (i.e. relative to the parent of this):\n return left.minKey() + this.key;\n }",
"public int getKey() {\r\n return key;\r\n }",
"public long getKeyID()\n {\n return keyID;\n }",
"@Override\n\tpublic Object key() {\n\t\treturn id;\n\t}",
"public Key getKey(@PowerComponent int componentId) {\n return mData.getKey(componentId, PROCESS_STATE_UNSPECIFIED);\n }",
"public String getItemKey() {\n return itemKey;\n }",
"@Override\n\tpublic Iterator<K> getKeyIterator() {\n\t\treturn null;\n\t}",
"public long getParentKey() {\n\t\treturn parentKey;\n\t}",
"Key getPrimaryKey();",
"@Override\n public int getKey() {\n return key_;\n }",
"private long getSelectedReturnIndex() {\r\n if (returnSelection != null && returnSelection.getKeys().hasNext()) {\r\n return new Long((Integer) returnSelection.getKeys().next());\r\n } else {\r\n return selectedReturnRowId;\r\n }\r\n }",
"private synchronized int generateItemID(){\r\n\t\tint i;\r\n\t\tfor(i = 1; items.containsKey(i) || finishedItems.containsKey(i);i++);\r\n\t\treturn i;\r\n\t}",
"public synchronized K finalKey() throws IOException {\n\t\t\treadIndex();\n\t\t\treturn finalKey;\n\t\t}",
"public int getKey() {\n return this.key;\n }",
"public Object getKey()\n {\n return key;\n }",
"public Object getKey() {\n return key;\n }",
"public IndexKey(BpCoord start, long lineId) {\n\t\tthis.start = start;\n\t\tthis.lineId = lineId;\n\t}",
"@Override\n\tpublic String getKey() {\n\t\treturn id+\"\";\n\t}",
"public String getMinKey() {\n return dll.head.next == dll.tail ? \"\" : (String) dll.head.next.keySet.iterator().next();\n }",
"@Override\n public int getKey() {\n return key_;\n }",
"private Key createPagingKey(String nodeId, String descId) throws IncompletePathException {\n\n\t\tif (descId == null) {\n\t\t\treturn null; // Return a null key which fetches the first page\n\t\t}\n\n\t\tint distance = -1;\n\t\tList<NodeLineage> path = NodeTreeDaoUtils.getCompletePathFromRoot(descId, readMapper);\n\t\tfor (int i = 0; i < path.size(); i++) {\n\t\t\tNodeLineage lineage = path.get(i);\n\t\t\tString ancId = lineage.getAncestorOrDescendantId();\n\t\t\tif (nodeId.equals(ancId)) {\n\t\t\t\tdistance = path.size() - i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (distance < 0) {\n\t\t\tthrow new IncompletePathException(\"Node \" + nodeId + \" is not on the ancestor path of \" + descId);\n\t\t}\n\n\t\tString hashKey = DboNodeLineage.createHashKey(nodeId, LineageType.DESCENDANT);\n\t\tAttributeValue hashKeyValue = new AttributeValue().withS(hashKey);\n\t\tString rangeKey = DboNodeLineage.createRangeKey(distance, descId);\n\t\tAttributeValue rangeKeyValue = new AttributeValue().withS(rangeKey);\n\t\tKey lastKeyEvaluated = new Key().withHashKeyElement(hashKeyValue).withRangeKeyElement(rangeKeyValue);\n\t\treturn lastKeyEvaluated;\n\t}",
"public Key min() {\n if (isEmpty()) throw new NoSuchElementException(\"called min() with empty symbol table\");\n return min(root).key;\n }",
"public Iterator<String> keyIterator() {\n \treturn new MapIter(first);\n }",
"void selectLastAccessedItem(String itemId);",
"public Object getKey() {\r\n return key;\r\n }",
"public String getItskey() {\n return itskey;\n }",
"@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}",
"public String getItemKey() {\n return (String)getAttributeInternal(ITEMKEY);\n }",
"public K next() {\n\t if(hasNext()==false) {\n\t \tthrow new NoSuchElementException();\n\t }\n\t // while itr.hasNext() is false, increment bucket and get the next iterator\n\t while(itr.hasNext()==false) {\n\t \titeratorbucket++;\n\t \titr=table[iteratorbucket].iterator();\n\t }\n\t // now increment nextCount and return the key from the item itr.next() returns\n\t \tnextCount++;\n\t \treturn itr.next().key;\n\t \n\t }",
"public Key getKey() {\n\t\treturn mKey;\n\t}",
"public String getKey()\n\t\t{\n\t\t\treturn key;\n\t\t}",
"@Override\r\n\tpublic Integer getCurrentInsertID() throws Exception {\n\t\treturn sqlSession.selectOne(namespaceOrder+\".getLastInsertID\");\r\n\t}",
"public String getKey() {\r\n return getAttribute(\"id\");\r\n }",
"public int getKey(){\n return key;\n }",
"@Override\n public int getKey() {\n return this.key;\n }",
"public K getKey()\r\n\t\t{\r\n\t\t\treturn key;\r\n\t\t}",
"private int newPrimaryKey( )\n {\n int nKey;\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n\n daoUtil.executeQuery( );\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 ) + 1;\n }\n else\n {\n // If the table is empty\n nKey = 1;\n }\n\n daoUtil.free( );\n\n return nKey;\n }",
"public String getQueryKey(int i){\n return this.queryKeys.get(i);\n }",
"public java.lang.String getEvaluatedDataItemViewId() {\n java.lang.Object ref = evaluatedDataItemViewId_;\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 evaluatedDataItemViewId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"K getFirstLeafKey() {\r\n return keys.get(0);\r\n }",
"public String getKey()\n\t{\n\t\treturn key;\n\t}",
"public int getPageStartEntry() {\n\t\treturn this.skipEntries;\n\t}",
"public K getKey() {\n\t\treturn key;\n\t}",
"public static Long getNextAvailableId(Context iContext) throws MapperException\n {\n try\n {\n Long id = MedicalHistoryTDG.getNextAvailableId(iContext);\n return id;\n } \n catch (PersistenceException e)\n {\n throw new MapperException(\n \"The mapper failed to complete an operation because the persistence layer returned the following error: \"\n + e.getMessage());\n } \n catch (Exception e)\n {\n throw new MapperException(\n \"The mapper failed to complete an operation for the following unforeseen reason: \"\n + e.getMessage());\n }\n }",
"public ObjectKey getPrimaryKey()\n {\n pks[0] = SimpleKey.keyFor(getMailId());\n pks[1] = SimpleKey.keyFor(getReceiverId());\n return comboPK;\n }",
"public String getKey() {\n\t\treturn key;\n\t}"
] | [
"0.6378719",
"0.5848256",
"0.56954026",
"0.5674109",
"0.55802286",
"0.553575",
"0.5533311",
"0.55324084",
"0.54317105",
"0.5405724",
"0.54004616",
"0.5368374",
"0.536793",
"0.53598565",
"0.5351114",
"0.5342367",
"0.53287256",
"0.53079957",
"0.5287613",
"0.5262273",
"0.5231958",
"0.51846695",
"0.5155593",
"0.5151041",
"0.5150463",
"0.51438975",
"0.51396686",
"0.5133599",
"0.5128798",
"0.51258975",
"0.5117746",
"0.5104663",
"0.5099324",
"0.5098709",
"0.50958484",
"0.5095475",
"0.5050605",
"0.49975568",
"0.49906388",
"0.49875847",
"0.49875847",
"0.49875847",
"0.49875847",
"0.4980557",
"0.4976181",
"0.4964625",
"0.49587378",
"0.4957537",
"0.49548253",
"0.4947728",
"0.49466887",
"0.49466887",
"0.49421054",
"0.49406055",
"0.49396315",
"0.4926915",
"0.492673",
"0.4925484",
"0.49202016",
"0.4904431",
"0.48912823",
"0.48897508",
"0.48882425",
"0.48833925",
"0.48680803",
"0.4866897",
"0.48665783",
"0.4865016",
"0.4854831",
"0.48346803",
"0.48344052",
"0.4833082",
"0.48309517",
"0.4813373",
"0.48118484",
"0.48086238",
"0.4805643",
"0.47980225",
"0.47976524",
"0.47919348",
"0.47919348",
"0.4788895",
"0.4785992",
"0.4781438",
"0.47711632",
"0.4766686",
"0.4764423",
"0.47606766",
"0.4758238",
"0.47550243",
"0.47504333",
"0.474771",
"0.47468117",
"0.4745815",
"0.47431323",
"0.47416896",
"0.4741186",
"0.47360033",
"0.47307438",
"0.47303072"
] | 0.6961363 | 0 |
Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value to start a new operation excluding this value in the new request. The LastEvaluatedKey is null when the entire query result set is complete (i.e. the operation processed the "last page"). | public void setLastEvaluatedKey(Key lastEvaluatedKey) {
this.lastEvaluatedKey = lastEvaluatedKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Key getLastEvaluatedKey() {\n return lastEvaluatedKey;\n }",
"public java.util.Map<String, AttributeValue> getLastEvaluatedKey() {\n return lastEvaluatedKey;\n }",
"public QueryResult withLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n setLastEvaluatedKey(lastEvaluatedKey);\n return this;\n }",
"public void setLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n }",
"public String partitionKey() {\n return partitionKey;\n }",
"public QueryResult withLastEvaluatedKey(Key lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n return this;\n }",
"public String partitionKey() {\n return this.partitionKey;\n }",
"public int keyId() {\n return keyId;\n }",
"public Object getSelectedKey()\n\t{\n\t\tif ( m_results.size() == 0)\n\t\t\treturn null;\n\t\treturn m_results.get(0);\n\t}",
"public QueryResult clearLastEvaluatedKeyEntries() {\n this.lastEvaluatedKey = null;\n return this;\n }",
"public Integer key() {\n return key;\n }",
"public String getQueryKey()\n {\n if (getPrimaryKey() == null)\n {\n return \"\";\n }\n else\n {\n return getPrimaryKey().toString();\n }\n }",
"@Override\r\n\tpublic LongWritable getCurrentKey() throws IOException, InterruptedException {\n\t\treturn this.key;\r\n\t}",
"public IdKey getKey() {\n return idKey;\n }",
"public int getFirstPartitionId()\n\t{\n\t\treturn this.firstPartitionId;\n\t}",
"public Integer key() {\n return this.key;\n }",
"public String getMinKey() {\n if (list.isEmpty()) {\n return \"\";\n }\n return v.get(list.getLast()).iterator().next();\n }",
"public String getMinKey() {\n\t\tif(map.isEmpty()){\n\t\t\treturn \"\";\n\t\t}\n\t\treturn tail.prev.key;\n\t}",
"public Object getRowKey()\n {\n if (isRowAvailable())\n {\n Object rowKey = _getRowKey();\n return rowKey;\n }\n else\n {\n return null;\n }\n }",
"@Override\n public byte[] getStartKey(){\n return region.getRegionInfo().getStartKey();\n }",
"public final int getKeyId()\r\n\t{\r\n\t\treturn keyId;\r\n\t}",
"public Key getLastKey() {\n\t\treturn lastNode.key;\n\t}",
"public String getKey() {\n\t\treturn id + \"\";\n\t}",
"public ImmutableBytesWritable getCurrentKey() throws IOException,\n InterruptedException {\n return key;\n }",
"private Object _getRowKey()\n {\n Object data = getRowData();\n \n assert (_rowKeyProperty != null);\n return __resolveProperty(data, _rowKeyProperty);\n }",
"@Override\r\n public K lastKey() {\n return null;\r\n }",
"public String currentKeyIdentifier() {\n return this.currentKeyIdentifier;\n }",
"public QueryResult addLastEvaluatedKeyEntry(String key, AttributeValue value) {\n if (null == this.lastEvaluatedKey) {\n this.lastEvaluatedKey = new java.util.HashMap<String, AttributeValue>();\n }\n if (this.lastEvaluatedKey.containsKey(key))\n throw new IllegalArgumentException(\"Duplicated keys (\" + key.toString() + \") are provided.\");\n this.lastEvaluatedKey.put(key, value);\n return this;\n }",
"public IdDt getKeyElement() { \n\t\tif (myKey == null) {\n\t\t\tmyKey = new IdDt();\n\t\t}\n\t\treturn myKey;\n\t}",
"@Override\r\n public K firstKey() {\n return null;\r\n }",
"public Integer getKey()\r\n {\r\n return key;\r\n }",
"public int getKey() {\n\t\treturn 0;\n\t}",
"String getPartitionKey(int index);",
"public Long getObjectKey()\n\t{\n\t\treturn objectKey;\n\t}",
"public Long getRowKey() {\n return (Long) getAttributeInternal(ROWKEY);\n }",
"public String getKeyId() {\n return getProperty(KEY_ID);\n }",
"@Override\r\n\t\tpublic K getKey() {\n\t\t\treturn pair.getFirst();\r\n\t\t}",
"public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}",
"public String getMinKey() {\n if (map.size() == 0)\n return \"\";\n return minKey;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public int getKey()\n {\n return key;\n }",
"public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _state.getPrimaryKey();\n\t}",
"public int getKey() {\n return key;\n }",
"public int getGeneratedKey() {\n\n throw new RuntimeException(\"This method is only valid for insert commands\");\n }",
"public long getProcessOrderItemKey() {\n\t\treturn processOrderItemKey;\n\t}",
"private Integer newPrimaryKey( )\n {\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n daoUtil.executeQuery( );\n Integer nKey = null;\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 );\n }\n else\n {\n nKey = 1;\n }\n daoUtil.close( );\n\n return nKey.intValue( );\n }",
"public String getKey() {\n return element == null ? null : element.getKey();\n }",
"@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"private long minKey() {\n if (left.size == 0) return key;\n // make key 'absolute' (i.e. relative to the parent of this):\n return left.minKey() + this.key;\n }",
"public int getKey() {\r\n return key;\r\n }",
"public long getKeyID()\n {\n return keyID;\n }",
"@Override\n\tpublic Object key() {\n\t\treturn id;\n\t}",
"public Key getKey(@PowerComponent int componentId) {\n return mData.getKey(componentId, PROCESS_STATE_UNSPECIFIED);\n }",
"public String getItemKey() {\n return itemKey;\n }",
"@Override\n\tpublic Iterator<K> getKeyIterator() {\n\t\treturn null;\n\t}",
"public long getParentKey() {\n\t\treturn parentKey;\n\t}",
"Key getPrimaryKey();",
"@Override\n public int getKey() {\n return key_;\n }",
"private long getSelectedReturnIndex() {\r\n if (returnSelection != null && returnSelection.getKeys().hasNext()) {\r\n return new Long((Integer) returnSelection.getKeys().next());\r\n } else {\r\n return selectedReturnRowId;\r\n }\r\n }",
"private synchronized int generateItemID(){\r\n\t\tint i;\r\n\t\tfor(i = 1; items.containsKey(i) || finishedItems.containsKey(i);i++);\r\n\t\treturn i;\r\n\t}",
"public synchronized K finalKey() throws IOException {\n\t\t\treadIndex();\n\t\t\treturn finalKey;\n\t\t}",
"public int getKey() {\n return this.key;\n }",
"public Object getKey()\n {\n return key;\n }",
"public Object getKey() {\n return key;\n }",
"public IndexKey(BpCoord start, long lineId) {\n\t\tthis.start = start;\n\t\tthis.lineId = lineId;\n\t}",
"@Override\n\tpublic String getKey() {\n\t\treturn id+\"\";\n\t}",
"public String getMinKey() {\n return dll.head.next == dll.tail ? \"\" : (String) dll.head.next.keySet.iterator().next();\n }",
"@Override\n public int getKey() {\n return key_;\n }",
"private Key createPagingKey(String nodeId, String descId) throws IncompletePathException {\n\n\t\tif (descId == null) {\n\t\t\treturn null; // Return a null key which fetches the first page\n\t\t}\n\n\t\tint distance = -1;\n\t\tList<NodeLineage> path = NodeTreeDaoUtils.getCompletePathFromRoot(descId, readMapper);\n\t\tfor (int i = 0; i < path.size(); i++) {\n\t\t\tNodeLineage lineage = path.get(i);\n\t\t\tString ancId = lineage.getAncestorOrDescendantId();\n\t\t\tif (nodeId.equals(ancId)) {\n\t\t\t\tdistance = path.size() - i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (distance < 0) {\n\t\t\tthrow new IncompletePathException(\"Node \" + nodeId + \" is not on the ancestor path of \" + descId);\n\t\t}\n\n\t\tString hashKey = DboNodeLineage.createHashKey(nodeId, LineageType.DESCENDANT);\n\t\tAttributeValue hashKeyValue = new AttributeValue().withS(hashKey);\n\t\tString rangeKey = DboNodeLineage.createRangeKey(distance, descId);\n\t\tAttributeValue rangeKeyValue = new AttributeValue().withS(rangeKey);\n\t\tKey lastKeyEvaluated = new Key().withHashKeyElement(hashKeyValue).withRangeKeyElement(rangeKeyValue);\n\t\treturn lastKeyEvaluated;\n\t}",
"public Key min() {\n if (isEmpty()) throw new NoSuchElementException(\"called min() with empty symbol table\");\n return min(root).key;\n }",
"public Iterator<String> keyIterator() {\n \treturn new MapIter(first);\n }",
"void selectLastAccessedItem(String itemId);",
"public Object getKey() {\r\n return key;\r\n }",
"public String getItskey() {\n return itskey;\n }",
"@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}",
"public String getItemKey() {\n return (String)getAttributeInternal(ITEMKEY);\n }",
"public K next() {\n\t if(hasNext()==false) {\n\t \tthrow new NoSuchElementException();\n\t }\n\t // while itr.hasNext() is false, increment bucket and get the next iterator\n\t while(itr.hasNext()==false) {\n\t \titeratorbucket++;\n\t \titr=table[iteratorbucket].iterator();\n\t }\n\t // now increment nextCount and return the key from the item itr.next() returns\n\t \tnextCount++;\n\t \treturn itr.next().key;\n\t \n\t }",
"public Key getKey() {\n\t\treturn mKey;\n\t}",
"public String getKey()\n\t\t{\n\t\t\treturn key;\n\t\t}",
"@Override\r\n\tpublic Integer getCurrentInsertID() throws Exception {\n\t\treturn sqlSession.selectOne(namespaceOrder+\".getLastInsertID\");\r\n\t}",
"public String getKey() {\r\n return getAttribute(\"id\");\r\n }",
"public int getKey(){\n return key;\n }",
"@Override\n public int getKey() {\n return this.key;\n }",
"public K getKey()\r\n\t\t{\r\n\t\t\treturn key;\r\n\t\t}",
"private int newPrimaryKey( )\n {\n int nKey;\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n\n daoUtil.executeQuery( );\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 ) + 1;\n }\n else\n {\n // If the table is empty\n nKey = 1;\n }\n\n daoUtil.free( );\n\n return nKey;\n }",
"public String getQueryKey(int i){\n return this.queryKeys.get(i);\n }",
"public java.lang.String getEvaluatedDataItemViewId() {\n java.lang.Object ref = evaluatedDataItemViewId_;\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 evaluatedDataItemViewId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"K getFirstLeafKey() {\r\n return keys.get(0);\r\n }",
"public String getKey()\n\t{\n\t\treturn key;\n\t}",
"public int getPageStartEntry() {\n\t\treturn this.skipEntries;\n\t}",
"public K getKey() {\n\t\treturn key;\n\t}",
"public static Long getNextAvailableId(Context iContext) throws MapperException\n {\n try\n {\n Long id = MedicalHistoryTDG.getNextAvailableId(iContext);\n return id;\n } \n catch (PersistenceException e)\n {\n throw new MapperException(\n \"The mapper failed to complete an operation because the persistence layer returned the following error: \"\n + e.getMessage());\n } \n catch (Exception e)\n {\n throw new MapperException(\n \"The mapper failed to complete an operation for the following unforeseen reason: \"\n + e.getMessage());\n }\n }",
"public ObjectKey getPrimaryKey()\n {\n pks[0] = SimpleKey.keyFor(getMailId());\n pks[1] = SimpleKey.keyFor(getReceiverId());\n return comboPK;\n }",
"public String getKey() {\n\t\treturn key;\n\t}"
] | [
"0.6961363",
"0.6378719",
"0.5848256",
"0.56954026",
"0.55802286",
"0.553575",
"0.5533311",
"0.55324084",
"0.54317105",
"0.5405724",
"0.54004616",
"0.5368374",
"0.536793",
"0.53598565",
"0.5351114",
"0.5342367",
"0.53287256",
"0.53079957",
"0.5287613",
"0.5262273",
"0.5231958",
"0.51846695",
"0.5155593",
"0.5151041",
"0.5150463",
"0.51438975",
"0.51396686",
"0.5133599",
"0.5128798",
"0.51258975",
"0.5117746",
"0.5104663",
"0.5099324",
"0.5098709",
"0.50958484",
"0.5095475",
"0.5050605",
"0.49975568",
"0.49906388",
"0.49875847",
"0.49875847",
"0.49875847",
"0.49875847",
"0.4980557",
"0.4976181",
"0.4964625",
"0.49587378",
"0.4957537",
"0.49548253",
"0.4947728",
"0.49466887",
"0.49466887",
"0.49421054",
"0.49406055",
"0.49396315",
"0.4926915",
"0.492673",
"0.4925484",
"0.49202016",
"0.4904431",
"0.48912823",
"0.48897508",
"0.48882425",
"0.48833925",
"0.48680803",
"0.4866897",
"0.48665783",
"0.4865016",
"0.4854831",
"0.48346803",
"0.48344052",
"0.4833082",
"0.48309517",
"0.4813373",
"0.48118484",
"0.48086238",
"0.4805643",
"0.47980225",
"0.47976524",
"0.47919348",
"0.47919348",
"0.4788895",
"0.4785992",
"0.4781438",
"0.47711632",
"0.4766686",
"0.4764423",
"0.47606766",
"0.4758238",
"0.47550243",
"0.47504333",
"0.474771",
"0.47468117",
"0.4745815",
"0.47431323",
"0.47416896",
"0.4741186",
"0.47360033",
"0.47307438",
"0.47303072"
] | 0.5674109 | 4 |
Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value to start a new operation excluding this value in the new request. The LastEvaluatedKey is null when the entire query result set is complete (i.e. the operation processed the "last page"). Returns a reference to this object so that method calls can be chained together. | public QueryResult withLastEvaluatedKey(Key lastEvaluatedKey) {
this.lastEvaluatedKey = lastEvaluatedKey;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public QueryResult withLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n setLastEvaluatedKey(lastEvaluatedKey);\n return this;\n }",
"public Key getLastEvaluatedKey() {\n return lastEvaluatedKey;\n }",
"public QueryResult clearLastEvaluatedKeyEntries() {\n this.lastEvaluatedKey = null;\n return this;\n }",
"public java.util.Map<String, AttributeValue> getLastEvaluatedKey() {\n return lastEvaluatedKey;\n }",
"public QueryResult addLastEvaluatedKeyEntry(String key, AttributeValue value) {\n if (null == this.lastEvaluatedKey) {\n this.lastEvaluatedKey = new java.util.HashMap<String, AttributeValue>();\n }\n if (this.lastEvaluatedKey.containsKey(key))\n throw new IllegalArgumentException(\"Duplicated keys (\" + key.toString() + \") are provided.\");\n this.lastEvaluatedKey.put(key, value);\n return this;\n }",
"public void setLastEvaluatedKey(Key lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n }",
"public void setLastEvaluatedKey(java.util.Map<String, AttributeValue> lastEvaluatedKey) {\n this.lastEvaluatedKey = lastEvaluatedKey;\n }",
"public ImmutableBytesWritable getCurrentKey() throws IOException,\n InterruptedException {\n return key;\n }",
"public QueryCore executionU() throws SQLException\n {\n prepStm.executeUpdate();\n ResultSet rsu = prepStm.getGeneratedKeys();\n if(rsu.next())\n {\n key = rsu.getInt(1);\n }\n return this;\n }",
"public Builder clearEvaluatedDataItemViewId() {\n evaluatedDataItemViewId_ = getDefaultInstance().getEvaluatedDataItemViewId();\n bitField0_ = (bitField0_ & ~0x00000010);\n onChanged();\n return this;\n }",
"public E queryFirst() {\n ValueHolder<E> result = ValueHolder.of(null);\n limit(1);\n doIterate(r -> {\n result.set(r);\n return false;\n });\n\n return result.get();\n }",
"public String partitionKey() {\n return partitionKey;\n }",
"@Override\r\n\tpublic LongWritable getCurrentKey() throws IOException, InterruptedException {\n\t\treturn this.key;\r\n\t}",
"public Object getSelectedKey()\n\t{\n\t\tif ( m_results.size() == 0)\n\t\t\treturn null;\n\t\treturn m_results.get(0);\n\t}",
"public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}",
"public IdKey getKey() {\n return idKey;\n }",
"public IdDt getKeyElement() { \n\t\tif (myKey == null) {\n\t\t\tmyKey = new IdDt();\n\t\t}\n\t\treturn myKey;\n\t}",
"public String partitionKey() {\n return this.partitionKey;\n }",
"public JobWatermark withInputKey(String inputKey) {\n setInputKey(inputKey);\n return this;\n }",
"public Key getLastKey() {\n\t\treturn lastNode.key;\n\t}",
"public String getQueryKey()\n {\n if (getPrimaryKey() == null)\n {\n return \"\";\n }\n else\n {\n return getPrimaryKey().toString();\n }\n }",
"public String currentKeyIdentifier() {\n return this.currentKeyIdentifier;\n }",
"public Key min() {\n if (isEmpty()) throw new NoSuchElementException(\"called min() with empty symbol table\");\n return min(root).key;\n }",
"public String getMinKey() {\n if (list.isEmpty()) {\n return \"\";\n }\n return v.get(list.getLast()).iterator().next();\n }",
"public synchronized K finalKey() throws IOException {\n\t\t\treadIndex();\n\t\t\treturn finalKey;\n\t\t}",
"public RegenerateAccessKeyParameters withKey(String key) {\n this.key = key;\n return this;\n }",
"@Override\r\n public K lastKey() {\n return null;\r\n }",
"@Override\r\n public K firstKey() {\n return null;\r\n }",
"public int keyId() {\n return keyId;\n }",
"public Key getKey() {\n return Key.of(getTone(), getQuality());\n }",
"public PrimaryKeySpec copy() {\n return new PrimaryKeySpec(this);\n }",
"@Nonnull\n public Optional<ENTITY> previous()\n {\n currentItem = Optional.of(items.get(--index));\n update();\n return currentItem;\n }",
"public Iterator<String> keyIterator() {\n \treturn new MapIter(first);\n }",
"static DbQuery createKeyQuery() {\n DbQuery query = new DbQuery();\n query.order = OrderBy.KEY;\n return query;\n }",
"public Item getLast();",
"public int getFirstPartitionId()\n\t{\n\t\treturn this.firstPartitionId;\n\t}",
"private long minKey() {\n if (left.size == 0) return key;\n // make key 'absolute' (i.e. relative to the parent of this):\n return left.minKey() + this.key;\n }",
"public StorageAccount withKey(String key) {\n this.key = key;\n return this;\n }",
"public Integer key() {\n return this.key;\n }",
"@Override\n public byte[] getStartKey(){\n return region.getRegionInfo().getStartKey();\n }",
"public SeleniumQueryObject first() {\n\t\treturn FirstFunction.first(this, this.elements);\n\t}",
"public Integer key() {\n return key;\n }",
"public K min() {\n if (isEmpty()) throw new NoSuchElementException(\"calls min() with empty symbol table\");\n return min(root).key;\n }",
"public RetrieveResultItem withId(String id) {\n setId(id);\n return this;\n }",
"public SeleniumQueryObject last() {\n\t\treturn LastFunction.last(this, this.elements);\n\t}",
"public Key getKey() {\n\t\treturn mKey;\n\t}",
"K getFirstLeafKey() {\r\n return keys.get(0);\r\n }",
"public IndexKey(BpCoord start, long lineId) {\n\t\tthis.start = start;\n\t\tthis.lineId = lineId;\n\t}",
"public Key getKey(@PowerComponent int componentId) {\n return mData.getKey(componentId, PROCESS_STATE_UNSPECIFIED);\n }",
"public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Builder clearKey() {\n bitField0_ = (bitField0_ & ~0x00000001);\n key_ = getDefaultInstance().getKey();\n onChanged();\n return this;\n }",
"public Builder clearKey() {\n \n key_ = getDefaultInstance().getKey();\n onChanged();\n return this;\n }",
"public OffsetDateTime startTime() {\n return this.startTime;\n }",
"public OffsetDateTime startTime() {\n return this.startTime;\n }",
"public Key getFirst() {\n\t\treturn firstNode.key;\n\t}",
"public Builder setEvaluatedDataItemViewIdBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n evaluatedDataItemViewId_ = value;\n bitField0_ |= 0x00000010;\n onChanged();\n return this;\n }",
"public Builder clearKey() {\n bitField0_ = (bitField0_ & ~0x00000001);\n key_ = 0;\n onChanged();\n return this;\n }",
"public K min() {\n if (isEmpty()) throw new NoSuchElementException(\"called min() with empty symbol table\");\n return min(root).key;\n }",
"public Optional<E> first() {\n return Optional.ofNullable(queryFirst());\n }",
"public KeyListResultInner withKeys(List<KeyInner> keys) {\n this.keys = keys;\n return this;\n }",
"@Override\n protected final Object getKey()\n {\n return this;\n }",
"void selectLastAccessedItem(String itemId);",
"public Builder clearPartitionKey() {\n partitionKey_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public Builder clearQueryId() {\n if (queryIdBuilder_ == null) {\n queryId_ = null;\n onChanged();\n } else {\n queryIdBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000001);\n return this;\n }",
"public Builder clearQueryId() {\n if (queryIdBuilder_ == null) {\n queryId_ = null;\n onChanged();\n } else {\n queryIdBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000001);\n return this;\n }",
"public String getKey() {\n return element == null ? null : element.getKey();\n }",
"@Override\n\tpublic Iterator getKeyIterator() {\n\t\treturn new KeyIterator();\n\t}",
"public ExtremeEntry previous() {\n\n\t\tsetLastReturned(getLastReturned().getPrevious());\n//\t\tnextIndex--;\n\t\tcheckForComodification();\n\t\treturn getLastReturned();\n\t}",
"ParkCurrent selectByPrimaryKey(Integer id);",
"public XQValue bornAgain() {\n try {\n rset.beforeFirst();\n }\n catch (SQLException e) { }\t// just try\n return new RawResult(rset); \n }",
"public Iterator<K> getKeyIterator() \n { \n Iterator<K> myIterator = new KeyIterator(this);\n return myIterator; \n }",
"@Override\r\n\t\tpublic K getKey() {\n\t\t\treturn pair.getFirst();\r\n\t\t}",
"public Builder setEvaluatedDataItemViewId(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n evaluatedDataItemViewId_ = value;\n bitField0_ |= 0x00000010;\n onChanged();\n return this;\n }",
"public Key getKey() {\n\t\treturn key;\n\t}",
"public String getKey() {\n\t\treturn id + \"\";\n\t}",
"public Key getKey() {\n\t\treturn getKey(settings, url);\n\t}",
"public static PrimaryIndexBuilder pkIndex() {\n return new PrimaryKeyBuilderImpl();\n }",
"public K getFirst() {\r\n\t\treturn first;\r\n\t}",
"@Override\n protected Iterator<? extends Map<String, AttributeValue>> nextIterator(final int count) {\n if (count == 1) {\n return currentResult.getItems().iterator();\n }\n // subsequent chained iterators will be obtained from dynamoDB\n // pagination\n if ((currentResult.getLastEvaluatedKey() == null)\n || currentResult.getLastEvaluatedKey().isEmpty()) {\n return null;\n } else {\n request.setExclusiveStartKey(currentResult.getLastEvaluatedKey());\n currentResult = dynamoDBClient.query(request);\n return currentResult.getItems().iterator();\n }\n }",
"public XQValue bornAgain() {\n try {\n rset.beforeFirst();\n }\n catch (SQLException e) { }\t// just try\n return new Result(rset); \n }",
"public GiftCardProductQuery urlKey() {\n startField(\"url_key\");\n\n return this;\n }",
"public T prev() {\n cursor = ((Entry<T>) cursor).prev;\n ready = true;\n return cursor.element;\n }",
"@Override\n\tpublic Text getCurrentKey() throws IOException, InterruptedException {\n\t\treturn null;\n\t}",
"public POGOProtos.Rpc.HoloInventoryKeyProto.Builder getDeletedItemKeyBuilder() {\n return getDeletedItemKeyFieldBuilder().getBuilder();\n }",
"public Item removeFirst() {\r\n if (isEmpty()) {\r\n throw new NoSuchElementException();\r\n }\r\n Item result = items[++firstCursor];\r\n items[firstCursor] = null;\r\n return result;\r\n }",
"public E first() {\n if (isEmpty()) return null;\n return first.item;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString getEvaluatedDataItemViewIdBytes() {\n java.lang.Object ref = evaluatedDataItemViewId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n evaluatedDataItemViewId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Request<Key> rotate() {\n String url = baseUrl\n .newBuilder()\n .addPathSegments(\"api/v2/keys/signing/rotate\")\n .build()\n .toString();\n return new EmptyBodyRequest<>(this.client, tokenProvider, url, HttpMethod.POST, new TypeReference<Key>() {\n });\n }",
"public Object getRowKey()\n {\n if (isRowAvailable())\n {\n Object rowKey = _getRowKey();\n return rowKey;\n }\n else\n {\n return null;\n }\n }",
"public ResourceKey getKey() {\n return key;\n }",
"@Override\n public Optional<JSONObject> loadLatest(final String keyId) {\n return loadLatestTimer.record(() -> {\n try {\n // Have to use query api to use limit and reverse sort order\n ItemCollection<QueryOutcome> itemCollection = table.query(new QuerySpec()\n .withHashKey(PARTITION_KEY, keyId)\n .withProjectionExpression(ATTRIBUTE_KEY_RECORD)\n .withScanIndexForward(false) // sorts descending\n .withMaxResultSize(1) // limit 1\n .withConsistentRead(true)); // always use strong consistency\n\n Iterator<Item> iterator = itemCollection.iterator();\n if (iterator.hasNext()) {\n Item item = iterator.next();\n return Optional.of(new JSONObject(item.getMap(ATTRIBUTE_KEY_RECORD)));\n }\n }\n catch (SdkBaseException se) {\n logger.error(\"Metastore error\", se);\n }\n\n return Optional.empty();\n });\n }",
"public String getMinKey() {\n\t\tif(map.isEmpty()){\n\t\t\treturn \"\";\n\t\t}\n\t\treturn tail.prev.key;\n\t}",
"public Object getFirst() {\n\t\tcurrent = start;\n\t\treturn start == null ? null : start.item;\n\t}",
"@Override\n public synchronized WebHistoryItem getCurrentItem() {\n return getItemAtIndex(mCurrentIndex);\n }",
"public Item removeLast() {\r\n if (isEmpty()) {\r\n throw new NoSuchElementException();\r\n }\r\n Item result = items[--lastCursor];\r\n items[lastCursor] = null;\r\n return result;\r\n }",
"public String getKey() {\n if (model == null)\n return strKey;\n return model.getKey();\n }",
"public Item getDeletedEntry() {\n Item item = deletedEntries.lastElement();\n deletedEntries.pop();\n return item;\n }",
"public Builder clearItemId() {\n \n itemId_ = 0L;\n onChanged();\n return this;\n }",
"@Nonnull\n protected KeyExpression buildPrimaryKey() {\n return Key.Expressions.concat(\n Key.Expressions.recordType(),\n Key.Expressions.list(constituents.stream()\n .map(c -> Key.Expressions.field(c.getName()).nest(c.getRecordType().getPrimaryKey()))\n .collect(Collectors.toList())));\n }",
"public JobBuilder withIdentity(JobKey jobKey) {\n this.key = jobKey;\n return this;\n }"
] | [
"0.6770556",
"0.63168085",
"0.5702747",
"0.562204",
"0.5409836",
"0.53729737",
"0.5274083",
"0.46859747",
"0.45898423",
"0.45753446",
"0.45439124",
"0.45124486",
"0.45104465",
"0.45043752",
"0.44584358",
"0.44193536",
"0.43966964",
"0.43944392",
"0.4346342",
"0.43356404",
"0.4274554",
"0.42727596",
"0.42550424",
"0.4235851",
"0.42211416",
"0.4215818",
"0.4207706",
"0.42006293",
"0.41995564",
"0.41946697",
"0.41906074",
"0.41667417",
"0.4148388",
"0.41465476",
"0.41428566",
"0.41408795",
"0.41096944",
"0.4105441",
"0.40783042",
"0.40781614",
"0.4059772",
"0.40503964",
"0.4044165",
"0.40388528",
"0.40372333",
"0.4031839",
"0.4022229",
"0.40214956",
"0.40204504",
"0.4019717",
"0.40123627",
"0.40038353",
"0.40008703",
"0.40008703",
"0.39981976",
"0.3997805",
"0.39963797",
"0.3988",
"0.39838272",
"0.3977595",
"0.3977212",
"0.39701563",
"0.3967261",
"0.3962059",
"0.3962059",
"0.39543512",
"0.39499122",
"0.39414454",
"0.39401633",
"0.39345208",
"0.39297485",
"0.39245373",
"0.3923396",
"0.39155594",
"0.39056924",
"0.39039215",
"0.39026397",
"0.3897022",
"0.38959506",
"0.3891601",
"0.388441",
"0.38837302",
"0.3883587",
"0.38751018",
"0.38693807",
"0.3866859",
"0.38642392",
"0.38577995",
"0.38577414",
"0.3853313",
"0.3850617",
"0.38470393",
"0.38398972",
"0.38367242",
"0.38357565",
"0.38308352",
"0.38288832",
"0.38227457",
"0.38207257",
"0.38206184"
] | 0.6717234 | 1 |
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. GetItem, BatchGetItem, BatchWriteItem, Query, and Scan operations consume ReadCapacityUnits, while PutItem, UpdateItem, and DeleteItem operations consume WriteCapacityUnits. | public Double getConsumedCapacityUnits() {
return consumedCapacityUnits;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float getCapacity();",
"com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity();",
"public int getCapacity( )\n {\n // Implemented by student.\n }",
"public int getCapacity();",
"public int getTotalCapacity() {\n return totalCapacity;\n }",
"public double getCapacity() {\n\t\treturn capacity;\n\t}",
"public int getSize() {\n\t\tint total = 0;\n\t\tfor (int i = 0; i < capacity; i++) {\n\t\t\ttotal += table.get(i).getSize();\n\t\t}\n\t\treturn total;\n\t}",
"public int getCapacity() {\n\n\t\treturn this.capacity;\n\t}",
"ResourceSkuCapacity capacity();",
"public Long getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\r\n return this.capacity;\r\n }",
"public int getCapacity() {\n switch (getID()) {\n case 5509:\n return 3;\n case 5510:\n case 5511:\n return 6;\n case 5512:\n case 5513:\n return 9;\n case 5514:\n case 5515:\n default:\n return 12;\n }\n }",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public int getCapacity() {\n\n\t\treturn capacity;\n\t}",
"public int getCapacity() {\n\t\treturn mCapcity;\n\t}",
"public int getCapacity( Resource.Type type );",
"public int currentCapacity() {\n\t\tList<Item> items = super.getItems();\n\n\t\tItem item;\n\t\tint sumCapacity = 0;\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\titem = items.get(i);\n\t\t\tsumCapacity += item.getCapacity();\n\t\t}\n\t\treturn sumCapacity;\n\t}",
"@Override\n public int getCapacity() {\n return room.getCapacity();\n }",
"@Column(name = \"resource_capacity\", precision = 10)\n\t@Override\n\tpublic Integer getResourceCapacity() {\n\t\treturn (Integer) getValue(10);\n\t}",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public final int getCapacity() {\n\t\treturn capacity;\n\t}",
"public Integer getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n\r\n return capacity;\r\n }",
"public int getCapacity() {\n\t\treturn this.maxCapacity;\n\t}",
"public int getCapacity()\n {\n return capacity;\n }",
"public static int getCapacity () {\n\t\tcapacity = nbrOfHouses*Barn.getCapacity();\n\t\treturn capacity;\n\t}",
"OrderCapacity getOrderCapacity();",
"public double getOccupiedRamGB () { return getRamBaseResource().getOccupiedCapacity(); }",
"@Override\n public int Capacity() {\n return current_capacity;\n }",
"public Integer getThroughput() {\n return this.throughput;\n }",
"public Long getThroughput() {\n return this.throughput;\n }",
"abstract protected int getCapacity();",
"public static int getCapacity() {\n\t\treturn capacity ;\n\t}",
"@Override\n public int requestAvailableCapacity() {\n int total = facility.getCapacity();\n for (Facility facility : facilities) {\n total += facility.getCapacity();\n }\n return total;\n }",
"public double getOCapacity() {\n return oCapacity;\n }",
"public double getCapacity() {\n\t\tIterator<Ball> it = this.contents.iterator();\n\t\tdouble retVal = 0;\n\t\twhile (it.hasNext()) {\n\t\t\tretVal += it.next().getCapacity();\n\t\t}\n\t\treturn retVal;\n\t}",
"public double getThroughput () {\n\t\treturn throughputRequired;\n\t}",
"BigDecimal getCacheSpaceAvailable();",
"@Test\r\n public void testGetCapacity() {\r\n System.out.println(\"getCapacity\");\r\n Table instance = new Table(\"S\",2);\r\n int expResult = 2;\r\n int result = instance.getCapacity();\r\n assertEquals(expResult, result);\r\n \r\n }",
"public int capacity() {\r\n return htable.length;\r\n }",
"protected void onGetTankCapacity(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}",
"public double getRemainingCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\n\t\tfinal String key = ConfigNames.CHILD_THREADS.toString();\n\n\t\tif (getJson().isNull(key)) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn getJson().getInt(key);\n\t}",
"public Getter reqGetTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"public long getRealWriteThroughput()\r\n/* 244: */ {\r\n/* 245:448 */ return this.realWriteThroughput;\r\n/* 246: */ }",
"protected long getThroughput() {\n\t\treturn producerThreadPool.getThroughput();\n\t}",
"public double getTotalHdGB () { return n.getResources(RESOURCETYPE_HD).stream().mapToDouble(r->r.getCapacity()).sum (); }",
"public long capacity() {\n return CoreJni.capacityInCoreResourceArray(this.agpCptr, this);\n }",
"public double getOccupiedHdGB () { return getHdBaseResource().getOccupiedCapacity(); }",
"public synchronized int getAvailableCapacity() {\n \n return (max_capacity-this.capacity);\n }",
"@GET\n @Path(\"/managed-capacity\")\n @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n @Produces({ MediaType.APPLICATION_JSON })\n public ManagedResourcesCapacity getManagedCapacity() {\n\n ManagedResourcesCapacity resources = null;\n try {\n resources = getCapacityDataResource();\n } catch (Exception ex) {\n // failed to find capacity in the database, try to compute directly\n try {\n resources = ManagedCapacityImpl.getManagedCapacity(_dbClient);\n } catch (InterruptedException ignore) {\n // impossible\n }\n }\n return resources;\n }",
"@ApiModelProperty(required = true, value = \"Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\\\"local\\\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\\\"not available\\\")\")\n\n public Long getSize() {\n return size;\n }",
"public int getCargoCapacity() { // get the cargo capacity\n\t\treturn cargoCapacity;\n\t}",
"public double getTotalRamGB () { return n.getResources(RESOURCETYPE_RAM).stream().mapToDouble(r->r.getCapacity()).sum (); }",
"public ConsumedCapacity getConsumedCapacity() {\n return this.consumedCapacity;\n }",
"public long getTotalSpace(){\n return totalSpace;\n }",
"public double getLength()\r\n {\r\n return this.lengthCapacity;\r\n }",
"public void setCapacity(int value) {\n this.capacity = value;\n }",
"public int getSpace(){\n // iterate through nodes\n int totalSpace = 0;\n Collection<SupplyNode> nodeCol = t.values();\n Iterator<SupplyNode> it = nodeCol.iterator();\n \n // multiply resource count by resource space\n while (it.hasNext()){\n SupplyNode s = it.next();\n totalSpace += (s.getCurrent()*s.getResource().getCost());\n }\n \n // return\n return totalSpace;\n }",
"public int capacity() {\n\t\treturn this.capacity;\n\t}",
"public int getSize() {\n\n\treturn getSectors().size() * getUnitSize(); // 254 byte sectors\n }",
"double getThroughput();",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"public int capacity() {\n return this.capacity;\n }",
"public int getFreeSpace() {\n return capacity - storage;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"public int capacity() {\r\n\t\treturn this.capacity;\r\n\t}",
"public double getOccupiedCpus () { return getCpuBaseResource().getOccupiedCapacity(); }",
"public final int capacity() {\n return packetCache.getCapacity();\n }",
"long getTotalFreeSpaceInBytes();",
"long getTotalFreeSpaceInBytes();",
"public final int getCapacity()\n {\n return m_pool.length;\n }",
"public int capacity();",
"public int capacity();",
"@java.lang.Override\n public int getMaximumCapacity() {\n return maximumCapacity_;\n }",
"@java.lang.Override\n public int getMaximumCapacity() {\n return maximumCapacity_;\n }",
"long getAvailableSpace() throws IOException;",
"public Long getUsedSpace() {\n return usedSpace;\n }",
"public abstract int capacity();",
"public int capacity() {\n\t\t// Report max number of elements before expansion\n\t\t// O(1)\n\t\treturn data.length;\n\t}",
"@Test\r\n public void testLongTermStorageGetAvailableCapacity1()\r\n {\r\n testLongTermStorage.addItem(item2, testLongTermStorage.getCapacity() / item2.getVolume());\r\n testLongTermStorage.resetInventory();\r\n assertEquals(\"Available capacity is wrong\", testLongTermStorage.getCapacity(),\r\n testLongTermStorage.getAvailableCapacity());\r\n }",
"@Override\r\n\tpublic int getTableSize() {\r\n\t\treturn size;\r\n\t}",
"@Override\n\tpublic long getUsedSpace()\n\t{\n\t\treturn 0;\n\t}",
"public Informer reqInformTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"@Override\n\tpublic StructureTownHallConfigRecord setResourceCapacity(Integer value) {\n\t\tsetValue(10, value);\n\t\treturn this;\n\t}",
"@Override\n public int size() {\n return this.capacity;\n }",
"public double getS0Capacity() {\n\t\treturn s0Capacity;\n }",
"@Override\n public int getMaxCapacity() {\n return 156250000;\n }",
"long getConsumedWorkUnits();",
"long getUsedSpace() throws IOException;",
"public NM getNumberOfItemsPerUnit() { \r\n\t\tNM retVal = this.getTypedField(14, 0);\r\n\t\treturn retVal;\r\n }",
"public int capacity() {\n return capacity;\n }",
"Integer diskSizeGB();"
] | [
"0.7105171",
"0.68300587",
"0.6820914",
"0.6820364",
"0.67440057",
"0.6740814",
"0.67340916",
"0.67100513",
"0.6691253",
"0.66873074",
"0.66821754",
"0.65705544",
"0.6519534",
"0.65045893",
"0.650102",
"0.6490178",
"0.6487674",
"0.64875144",
"0.6444113",
"0.6428762",
"0.6426949",
"0.64129394",
"0.64047796",
"0.64047796",
"0.64047796",
"0.64047796",
"0.63918555",
"0.63918555",
"0.63918555",
"0.6381746",
"0.63708425",
"0.6368872",
"0.6360209",
"0.63537467",
"0.6353653",
"0.63519645",
"0.6349963",
"0.631245",
"0.6288845",
"0.62706095",
"0.62667656",
"0.6240803",
"0.6233996",
"0.6216414",
"0.620992",
"0.6195911",
"0.6190595",
"0.61810154",
"0.61145425",
"0.61109734",
"0.6101819",
"0.60739803",
"0.6064142",
"0.60559815",
"0.6054616",
"0.605011",
"0.60366005",
"0.59621626",
"0.59491616",
"0.59151614",
"0.59076834",
"0.5906973",
"0.5875877",
"0.5872613",
"0.58668363",
"0.58636487",
"0.5860545",
"0.5858659",
"0.5853653",
"0.5850962",
"0.5847109",
"0.5843009",
"0.58371574",
"0.5836801",
"0.58331186",
"0.5814283",
"0.5802516",
"0.5802516",
"0.5796463",
"0.5782467",
"0.5782467",
"0.57700557",
"0.57444763",
"0.5733913",
"0.5728213",
"0.5724364",
"0.57172936",
"0.5712937",
"0.5704092",
"0.5699387",
"0.56891054",
"0.56883544",
"0.56816494",
"0.56745285",
"0.5657201",
"0.5651504",
"0.5651499",
"0.56451046",
"0.5639825",
"0.5634672"
] | 0.69481033 | 1 |
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. GetItem, BatchGetItem, BatchWriteItem, Query, and Scan operations consume ReadCapacityUnits, while PutItem, UpdateItem, and DeleteItem operations consume WriteCapacityUnits. | public void setConsumedCapacityUnits(Double consumedCapacityUnits) {
this.consumedCapacityUnits = consumedCapacityUnits;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float getCapacity();",
"public Double getConsumedCapacityUnits() {\n return consumedCapacityUnits;\n }",
"com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity();",
"public int getCapacity( )\n {\n // Implemented by student.\n }",
"public int getCapacity();",
"public int getTotalCapacity() {\n return totalCapacity;\n }",
"public double getCapacity() {\n\t\treturn capacity;\n\t}",
"public int getSize() {\n\t\tint total = 0;\n\t\tfor (int i = 0; i < capacity; i++) {\n\t\t\ttotal += table.get(i).getSize();\n\t\t}\n\t\treturn total;\n\t}",
"public int getCapacity() {\n\n\t\treturn this.capacity;\n\t}",
"ResourceSkuCapacity capacity();",
"public Long getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\r\n return this.capacity;\r\n }",
"public int getCapacity() {\n switch (getID()) {\n case 5509:\n return 3;\n case 5510:\n case 5511:\n return 6;\n case 5512:\n case 5513:\n return 9;\n case 5514:\n case 5515:\n default:\n return 12;\n }\n }",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public int getCapacity() {\n\n\t\treturn capacity;\n\t}",
"public int getCapacity() {\n\t\treturn mCapcity;\n\t}",
"public int getCapacity( Resource.Type type );",
"public int currentCapacity() {\n\t\tList<Item> items = super.getItems();\n\n\t\tItem item;\n\t\tint sumCapacity = 0;\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\titem = items.get(i);\n\t\t\tsumCapacity += item.getCapacity();\n\t\t}\n\t\treturn sumCapacity;\n\t}",
"@Override\n public int getCapacity() {\n return room.getCapacity();\n }",
"@Column(name = \"resource_capacity\", precision = 10)\n\t@Override\n\tpublic Integer getResourceCapacity() {\n\t\treturn (Integer) getValue(10);\n\t}",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public final int getCapacity() {\n\t\treturn capacity;\n\t}",
"public Integer getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n\r\n return capacity;\r\n }",
"public int getCapacity() {\n\t\treturn this.maxCapacity;\n\t}",
"public int getCapacity()\n {\n return capacity;\n }",
"public static int getCapacity () {\n\t\tcapacity = nbrOfHouses*Barn.getCapacity();\n\t\treturn capacity;\n\t}",
"public double getOccupiedRamGB () { return getRamBaseResource().getOccupiedCapacity(); }",
"OrderCapacity getOrderCapacity();",
"public Integer getThroughput() {\n return this.throughput;\n }",
"@Override\n public int Capacity() {\n return current_capacity;\n }",
"public Long getThroughput() {\n return this.throughput;\n }",
"abstract protected int getCapacity();",
"public static int getCapacity() {\n\t\treturn capacity ;\n\t}",
"@Override\n public int requestAvailableCapacity() {\n int total = facility.getCapacity();\n for (Facility facility : facilities) {\n total += facility.getCapacity();\n }\n return total;\n }",
"public double getOCapacity() {\n return oCapacity;\n }",
"public double getCapacity() {\n\t\tIterator<Ball> it = this.contents.iterator();\n\t\tdouble retVal = 0;\n\t\twhile (it.hasNext()) {\n\t\t\tretVal += it.next().getCapacity();\n\t\t}\n\t\treturn retVal;\n\t}",
"public double getThroughput () {\n\t\treturn throughputRequired;\n\t}",
"BigDecimal getCacheSpaceAvailable();",
"@Test\r\n public void testGetCapacity() {\r\n System.out.println(\"getCapacity\");\r\n Table instance = new Table(\"S\",2);\r\n int expResult = 2;\r\n int result = instance.getCapacity();\r\n assertEquals(expResult, result);\r\n \r\n }",
"public int capacity() {\r\n return htable.length;\r\n }",
"protected void onGetTankCapacity(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}",
"public double getRemainingCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\n\t\tfinal String key = ConfigNames.CHILD_THREADS.toString();\n\n\t\tif (getJson().isNull(key)) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn getJson().getInt(key);\n\t}",
"public Getter reqGetTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"public long getRealWriteThroughput()\r\n/* 244: */ {\r\n/* 245:448 */ return this.realWriteThroughput;\r\n/* 246: */ }",
"protected long getThroughput() {\n\t\treturn producerThreadPool.getThroughput();\n\t}",
"public double getTotalHdGB () { return n.getResources(RESOURCETYPE_HD).stream().mapToDouble(r->r.getCapacity()).sum (); }",
"public long capacity() {\n return CoreJni.capacityInCoreResourceArray(this.agpCptr, this);\n }",
"public double getOccupiedHdGB () { return getHdBaseResource().getOccupiedCapacity(); }",
"public synchronized int getAvailableCapacity() {\n \n return (max_capacity-this.capacity);\n }",
"@GET\n @Path(\"/managed-capacity\")\n @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n @Produces({ MediaType.APPLICATION_JSON })\n public ManagedResourcesCapacity getManagedCapacity() {\n\n ManagedResourcesCapacity resources = null;\n try {\n resources = getCapacityDataResource();\n } catch (Exception ex) {\n // failed to find capacity in the database, try to compute directly\n try {\n resources = ManagedCapacityImpl.getManagedCapacity(_dbClient);\n } catch (InterruptedException ignore) {\n // impossible\n }\n }\n return resources;\n }",
"@ApiModelProperty(required = true, value = \"Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\\\"local\\\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\\\"not available\\\")\")\n\n public Long getSize() {\n return size;\n }",
"public int getCargoCapacity() { // get the cargo capacity\n\t\treturn cargoCapacity;\n\t}",
"public double getTotalRamGB () { return n.getResources(RESOURCETYPE_RAM).stream().mapToDouble(r->r.getCapacity()).sum (); }",
"public ConsumedCapacity getConsumedCapacity() {\n return this.consumedCapacity;\n }",
"public long getTotalSpace(){\n return totalSpace;\n }",
"public double getLength()\r\n {\r\n return this.lengthCapacity;\r\n }",
"public void setCapacity(int value) {\n this.capacity = value;\n }",
"public int getSpace(){\n // iterate through nodes\n int totalSpace = 0;\n Collection<SupplyNode> nodeCol = t.values();\n Iterator<SupplyNode> it = nodeCol.iterator();\n \n // multiply resource count by resource space\n while (it.hasNext()){\n SupplyNode s = it.next();\n totalSpace += (s.getCurrent()*s.getResource().getCost());\n }\n \n // return\n return totalSpace;\n }",
"public int getSize() {\n\n\treturn getSectors().size() * getUnitSize(); // 254 byte sectors\n }",
"public int capacity() {\n\t\treturn this.capacity;\n\t}",
"double getThroughput();",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"public int capacity() {\n return this.capacity;\n }",
"public int getFreeSpace() {\n return capacity - storage;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"public int capacity() {\r\n\t\treturn this.capacity;\r\n\t}",
"public double getOccupiedCpus () { return getCpuBaseResource().getOccupiedCapacity(); }",
"public final int capacity() {\n return packetCache.getCapacity();\n }",
"long getTotalFreeSpaceInBytes();",
"long getTotalFreeSpaceInBytes();",
"public final int getCapacity()\n {\n return m_pool.length;\n }",
"public int capacity();",
"public int capacity();",
"@java.lang.Override\n public int getMaximumCapacity() {\n return maximumCapacity_;\n }",
"@java.lang.Override\n public int getMaximumCapacity() {\n return maximumCapacity_;\n }",
"long getAvailableSpace() throws IOException;",
"public Long getUsedSpace() {\n return usedSpace;\n }",
"public abstract int capacity();",
"public int capacity() {\n\t\t// Report max number of elements before expansion\n\t\t// O(1)\n\t\treturn data.length;\n\t}",
"@Test\r\n public void testLongTermStorageGetAvailableCapacity1()\r\n {\r\n testLongTermStorage.addItem(item2, testLongTermStorage.getCapacity() / item2.getVolume());\r\n testLongTermStorage.resetInventory();\r\n assertEquals(\"Available capacity is wrong\", testLongTermStorage.getCapacity(),\r\n testLongTermStorage.getAvailableCapacity());\r\n }",
"@Override\r\n\tpublic int getTableSize() {\r\n\t\treturn size;\r\n\t}",
"@Override\n\tpublic long getUsedSpace()\n\t{\n\t\treturn 0;\n\t}",
"@Override\n\tpublic StructureTownHallConfigRecord setResourceCapacity(Integer value) {\n\t\tsetValue(10, value);\n\t\treturn this;\n\t}",
"public Informer reqInformTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"@Override\n public int size() {\n return this.capacity;\n }",
"public double getS0Capacity() {\n\t\treturn s0Capacity;\n }",
"@Override\n public int getMaxCapacity() {\n return 156250000;\n }",
"long getConsumedWorkUnits();",
"long getUsedSpace() throws IOException;",
"public NM getNumberOfItemsPerUnit() { \r\n\t\tNM retVal = this.getTypedField(14, 0);\r\n\t\treturn retVal;\r\n }",
"public int capacity() {\n return capacity;\n }",
"Integer diskSizeGB();"
] | [
"0.7104631",
"0.6946685",
"0.6828873",
"0.68195254",
"0.6819068",
"0.6741996",
"0.6738639",
"0.6733611",
"0.6707452",
"0.66896206",
"0.6685112",
"0.6679816",
"0.6568947",
"0.6518048",
"0.650206",
"0.64986706",
"0.64893204",
"0.64864653",
"0.6486166",
"0.64425683",
"0.6427228",
"0.64244986",
"0.6410737",
"0.6402602",
"0.6402602",
"0.6402602",
"0.6402602",
"0.6389687",
"0.6389687",
"0.6389687",
"0.6379534",
"0.63689",
"0.6366824",
"0.63586175",
"0.6352176",
"0.63521236",
"0.6350763",
"0.63504654",
"0.6313202",
"0.6287802",
"0.6268429",
"0.62662756",
"0.6239142",
"0.6233044",
"0.621689",
"0.6209658",
"0.6196608",
"0.6189549",
"0.61811966",
"0.61120254",
"0.61097056",
"0.61007506",
"0.60747266",
"0.6064283",
"0.6055488",
"0.6051942",
"0.60487676",
"0.6034703",
"0.59600747",
"0.5948338",
"0.59127676",
"0.59069216",
"0.5903888",
"0.5875857",
"0.5871547",
"0.58651763",
"0.5863395",
"0.58582324",
"0.5857847",
"0.5855851",
"0.5849465",
"0.5844612",
"0.5841331",
"0.5835678",
"0.58341515",
"0.58321255",
"0.58123624",
"0.5802103",
"0.5802103",
"0.5794816",
"0.5780489",
"0.5780489",
"0.57687753",
"0.57431364",
"0.57331544",
"0.5727253",
"0.57228553",
"0.5715515",
"0.57128626",
"0.57046175",
"0.56986654",
"0.5687264",
"0.56872505",
"0.5679719",
"0.5673268",
"0.5656536",
"0.5652445",
"0.56507283",
"0.56455994",
"0.5637462",
"0.56347543"
] | 0.0 | -1 |
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. GetItem, BatchGetItem, BatchWriteItem, Query, and Scan operations consume ReadCapacityUnits, while PutItem, UpdateItem, and DeleteItem operations consume WriteCapacityUnits. Returns a reference to this object so that method calls can be chained together. | public QueryResult withConsumedCapacityUnits(Double consumedCapacityUnits) {
this.consumedCapacityUnits = consumedCapacityUnits;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public QueryResult withConsumedCapacity(ConsumedCapacity consumedCapacity) {\n setConsumedCapacity(consumedCapacity);\n return this;\n }",
"public Builder setCapacity(com.cantor.drop.aggregator.model.CFTrade.Capacity value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n capacity_ = value.getNumber();\n onChanged();\n return this;\n }",
"public Getter reqGetTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"ResourceSkuCapacity capacity();",
"public Builder setAvailableCapacity(int value) {\n \n availableCapacity_ = value;\n onChanged();\n return this;\n }",
"public Ebs withThroughput(Integer throughput) {\n setThroughput(throughput);\n return this;\n }",
"com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity();",
"public Informer reqInformTankCapacity() {\n\t\t\taddProperty(EPC_TANK_CAPACITY);\n\t\t\treturn this;\n\t\t}",
"public Builder clearCapacity() {\n bitField0_ = (bitField0_ & ~0x00000040);\n capacity_ = 0;\n onChanged();\n return this;\n }",
"@GET\n @Path(\"/managed-capacity\")\n @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n @Produces({ MediaType.APPLICATION_JSON })\n public ManagedResourcesCapacity getManagedCapacity() {\n\n ManagedResourcesCapacity resources = null;\n try {\n resources = getCapacityDataResource();\n } catch (Exception ex) {\n // failed to find capacity in the database, try to compute directly\n try {\n resources = ManagedCapacityImpl.getManagedCapacity(_dbClient);\n } catch (InterruptedException ignore) {\n // impossible\n }\n }\n return resources;\n }",
"public Volume capacity(Long capacity) {\n this.capacity = capacity;\n return this;\n }",
"@Override\n\tpublic StructureTownHallConfigRecord setResourceCapacity(Integer value) {\n\t\tsetValue(10, value);\n\t\treturn this;\n\t}",
"public ScGridColumn<AcUspsInternationalSkeletonRouteOffer> newCapacityColumn()\n {\n return newCapacityColumn(\"Capacity\");\n }",
"@Override\n public int getCapacity() {\n return room.getCapacity();\n }",
"public Long getCapacity() {\n return capacity;\n }",
"public Builder clearAvailableCapacity() {\n \n availableCapacity_ = 0;\n onChanged();\n return this;\n }",
"public int currentCapacity() {\n\t\tList<Item> items = super.getItems();\n\n\t\tItem item;\n\t\tint sumCapacity = 0;\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\titem = items.get(i);\n\t\t\tsumCapacity += item.getCapacity();\n\t\t}\n\t\treturn sumCapacity;\n\t}",
"public float getCapacity();",
"public int getCapacity() {\r\n return this.capacity;\r\n }",
"public Query size(String key, int value) {\n Preconditions.checkNotNull(key);\n\n builder.addFilter(builder.getOperator(QueryFilterBuilder.Operators.SIZE), key, value);\n return this;\n }",
"public int getCapacity() {\n\n\t\treturn this.capacity;\n\t}",
"OrderCapacity getOrderCapacity();",
"public int getCapacity();",
"@NonNull\n public BasketItemBuilder decrementQuantity() {\n this.quantity--;\n return this;\n }",
"@Override\n public int Capacity() {\n return current_capacity;\n }",
"public double getCapacity() {\n\t\treturn capacity;\n\t}",
"public Builder setMaximumCapacity(int value) {\n \n maximumCapacity_ = value;\n onChanged();\n return this;\n }",
"@NonNull\n public BasketItemBuilder incrementQuantity() {\n this.quantity++;\n return this;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.Capacity getCapacity() {\n com.cantor.drop.aggregator.model.CFTrade.Capacity result = com.cantor.drop.aggregator.model.CFTrade.Capacity.valueOf(capacity_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.Capacity.AGENT : result;\n }",
"@Column(name = \"resource_capacity\", precision = 10)\n\t@Override\n\tpublic Integer getResourceCapacity() {\n\t\treturn (Integer) getValue(10);\n\t}",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public ConsumedCapacity getConsumedCapacity() {\n return this.consumedCapacity;\n }",
"public ReplicationConfigurationReplicatedDisk withThroughput(Long throughput) {\n setThroughput(throughput);\n return this;\n }",
"@Test\r\n public void testGetCapacity() {\r\n System.out.println(\"getCapacity\");\r\n Table instance = new Table(\"S\",2);\r\n int expResult = 2;\r\n int result = instance.getCapacity();\r\n assertEquals(expResult, result);\r\n \r\n }",
"public Double getConsumedCapacityUnits() {\n return consumedCapacityUnits;\n }",
"@java.lang.Override\n public int getAvailableCapacity() {\n return availableCapacity_;\n }",
"public Integer getCapacity() {\n return capacity;\n }",
"public final EObject ruleCapacity() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token otherlv_1=null;\r\n Token otherlv_2=null;\r\n Enumerator lv_type_3_0 = null;\r\n\r\n AntlrDatatypeRuleToken lv_value_4_0 = null;\r\n\r\n\r\n\r\n \tenterRule();\r\n\r\n try {\r\n // InternalEsportDsl.g:2218:2: ( ( () otherlv_1= 'Capacity' otherlv_2= ':' ( (lv_type_3_0= ruleCapacityType ) ) ( (lv_value_4_0= ruleEInt ) ) ) )\r\n // InternalEsportDsl.g:2219:2: ( () otherlv_1= 'Capacity' otherlv_2= ':' ( (lv_type_3_0= ruleCapacityType ) ) ( (lv_value_4_0= ruleEInt ) ) )\r\n {\r\n // InternalEsportDsl.g:2219:2: ( () otherlv_1= 'Capacity' otherlv_2= ':' ( (lv_type_3_0= ruleCapacityType ) ) ( (lv_value_4_0= ruleEInt ) ) )\r\n // InternalEsportDsl.g:2220:3: () otherlv_1= 'Capacity' otherlv_2= ':' ( (lv_type_3_0= ruleCapacityType ) ) ( (lv_value_4_0= ruleEInt ) )\r\n {\r\n // InternalEsportDsl.g:2220:3: ()\r\n // InternalEsportDsl.g:2221:4: \r\n {\r\n\r\n \t\t\t\tcurrent = forceCreateModelElement(\r\n \t\t\t\t\tgrammarAccess.getCapacityAccess().getCapacityAction_0(),\r\n \t\t\t\t\tcurrent);\r\n \t\t\t\r\n\r\n }\r\n\r\n otherlv_1=(Token)match(input,31,FOLLOW_5); \r\n\r\n \t\t\tnewLeafNode(otherlv_1, grammarAccess.getCapacityAccess().getCapacityKeyword_1());\r\n \t\t\r\n otherlv_2=(Token)match(input,12,FOLLOW_33); \r\n\r\n \t\t\tnewLeafNode(otherlv_2, grammarAccess.getCapacityAccess().getColonKeyword_2());\r\n \t\t\r\n // InternalEsportDsl.g:2235:3: ( (lv_type_3_0= ruleCapacityType ) )\r\n // InternalEsportDsl.g:2236:4: (lv_type_3_0= ruleCapacityType )\r\n {\r\n // InternalEsportDsl.g:2236:4: (lv_type_3_0= ruleCapacityType )\r\n // InternalEsportDsl.g:2237:5: lv_type_3_0= ruleCapacityType\r\n {\r\n\r\n \t\t\t\t\tnewCompositeNode(grammarAccess.getCapacityAccess().getTypeCapacityTypeEnumRuleCall_3_0());\r\n \t\t\t\t\r\n pushFollow(FOLLOW_11);\r\n lv_type_3_0=ruleCapacityType();\r\n\r\n state._fsp--;\r\n\r\n\r\n \t\t\t\t\tif (current==null) {\r\n \t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getCapacityRule());\r\n \t\t\t\t\t}\r\n \t\t\t\t\tset(\r\n \t\t\t\t\t\tcurrent,\r\n \t\t\t\t\t\t\"type\",\r\n \t\t\t\t\t\tlv_type_3_0,\r\n \t\t\t\t\t\t\"org.xtext.example.mydsl1.EsportDsl.CapacityType\");\r\n \t\t\t\t\tafterParserOrEnumRuleCall();\r\n \t\t\t\t\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // InternalEsportDsl.g:2254:3: ( (lv_value_4_0= ruleEInt ) )\r\n // InternalEsportDsl.g:2255:4: (lv_value_4_0= ruleEInt )\r\n {\r\n // InternalEsportDsl.g:2255:4: (lv_value_4_0= ruleEInt )\r\n // InternalEsportDsl.g:2256:5: lv_value_4_0= ruleEInt\r\n {\r\n\r\n \t\t\t\t\tnewCompositeNode(grammarAccess.getCapacityAccess().getValueEIntParserRuleCall_4_0());\r\n \t\t\t\t\r\n pushFollow(FOLLOW_2);\r\n lv_value_4_0=ruleEInt();\r\n\r\n state._fsp--;\r\n\r\n\r\n \t\t\t\t\tif (current==null) {\r\n \t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getCapacityRule());\r\n \t\t\t\t\t}\r\n \t\t\t\t\tset(\r\n \t\t\t\t\t\tcurrent,\r\n \t\t\t\t\t\t\"value\",\r\n \t\t\t\t\t\tlv_value_4_0,\r\n \t\t\t\t\t\t\"org.xtext.example.mydsl1.EsportDsl.EInt\");\r\n \t\t\t\t\tafterParserOrEnumRuleCall();\r\n \t\t\t\t\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n \tleaveRule();\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }",
"public int getCapacity() {\n\n\t\treturn capacity;\n\t}",
"public int capacity() {\r\n return htable.length;\r\n }",
"public final int getCapacity() {\n\t\treturn capacity;\n\t}",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\n return capacity;\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public int getCapacity() {\r\n return capacity;\r\n }",
"public PutBuilder put() {\n return new PutBuilder(this);\n }",
"public int getCapacity() {\r\n\r\n return capacity;\r\n }",
"public godot.wire.Wire.Vector3.Builder getSizeBuilder() {\n \n onChanged();\n return getSizeFieldBuilder().getBuilder();\n }",
"public Builder setQuantity(long value) {\n \n quantity_ = value;\n onChanged();\n return this;\n }",
"public Builder setQuantity(long value) {\n \n quantity_ = value;\n onChanged();\n return this;\n }",
"public int getCapacity()\n {\n return capacity;\n }",
"public com.rpg.framework.database.Protocol.Item.Builder addItemsBuilder() {\n return getItemsFieldBuilder().addBuilder(\n com.rpg.framework.database.Protocol.Item.getDefaultInstance());\n }",
"public Builder setTotalFreeSpaceInBytes(long value) {\n \n totalFreeSpaceInBytes_ = value;\n onChanged();\n return this;\n }",
"public Builder setTotalFreeSpaceInBytes(long value) {\n \n totalFreeSpaceInBytes_ = value;\n onChanged();\n return this;\n }",
"@Nonnull\n public PrimitiveRequestBuilder<Long> count() {\n return new PrimitiveRequestBuilder<Long>(getRequestUrlWithAdditionalSegment(\"$count\"), getClient(), null, Long.class);\n }",
"@Nonnull\n public PrimitiveRequestBuilder<Long> count() {\n return new PrimitiveRequestBuilder<Long>(getRequestUrlWithAdditionalSegment(\"$count\"), getClient(), null, Long.class);\n }",
"public Builder setWidth(long value) {\n copyOnWrite();\n instance.setWidth(value);\n return this;\n }",
"public Long getThroughput() {\n return this.throughput;\n }",
"public godot.wire.Wire.Vector2.Builder getSizeBuilder() {\n \n onChanged();\n return getSizeFieldBuilder().getBuilder();\n }",
"public Builder clearWidth() {\n copyOnWrite();\n instance.clearWidth();\n return this;\n }",
"public int getSize() {\n\t\tint total = 0;\n\t\tfor (int i = 0; i < capacity; i++) {\n\t\t\ttotal += table.get(i).getSize();\n\t\t}\n\t\treturn total;\n\t}",
"public Builder clearQuantity() {\n \n quantity_ = 0L;\n onChanged();\n return this;\n }",
"public Builder clearQuantity() {\n \n quantity_ = 0L;\n onChanged();\n return this;\n }",
"public int getCapacity( )\n {\n // Implemented by student.\n }",
"protected void onGetTankCapacity(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}",
"public int getCapacity() {\n\t\treturn mCapcity;\n\t}",
"@Nonnull\n public SynchronizationJobCollectionRequest count() {\n addCountOption(true);\n return this;\n }",
"public int capacity() {\n return this.capacity;\n }",
"@ApiModelProperty(required = true, value = \"Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\\\"local\\\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\\\"not available\\\")\")\n\n public Long getSize() {\n return size;\n }",
"public void setCapacity(int value) {\n this.capacity = value;\n }",
"public Builder clearLimit() { copyOnWrite();\n instance.clearLimit();\n return this;\n }",
"public int getCapacity( Resource.Type type );",
"public ByteBuf capacity(int newCapacity)\r\n/* 745: */ {\r\n/* 746:754 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 747:755 */ return super.capacity(newCapacity);\r\n/* 748: */ }",
"public int capacity() {\n\t\treturn this.capacity;\n\t}",
"Builder withCacheSizeInMiB(int sizeInMiB);",
"public double getRemainingCapacity() {\r\n return capacity;\r\n }",
"public ImportTableDescription withProcessedItemCount(Long processedItemCount) {\n setProcessedItemCount(processedItemCount);\n return this;\n }",
"public int capacity() {\r\n\t\treturn this.capacity;\r\n\t}",
"public long capacity() {\n return CoreJni.capacityInCoreResourceArray(this.agpCptr, this);\n }",
"public int getCapacity() {\n switch (getID()) {\n case 5509:\n return 3;\n case 5510:\n case 5511:\n return 6;\n case 5512:\n case 5513:\n return 9;\n case 5514:\n case 5515:\n default:\n return 12;\n }\n }",
"public Builder clearPut() {\n copyOnWrite();\n instance.clearPut();\n return this;\n }",
"public Builder clearMaximumCapacity() {\n \n maximumCapacity_ = 0;\n onChanged();\n return this;\n }",
"public Builder clearItemStorage() {\n bitField0_ = (bitField0_ & ~0x00000040);\n itemStorage_ = 0;\n onChanged();\n return this;\n }",
"public MicrosoftGraphQuota withUsed(Long used) {\n this.used = used;\n return this;\n }",
"public Integer getThroughput() {\n return this.throughput;\n }",
"abstract protected int getCapacity();",
"public double getLength()\r\n {\r\n return this.lengthCapacity;\r\n }",
"public double getOccupiedRamGB () { return getRamBaseResource().getOccupiedCapacity(); }",
"public int getCapacity() {\n\t\treturn this.maxCapacity;\n\t}",
"public ByteBuf capacity(int newCapacity)\r\n/* 87: */ {\r\n/* 88:122 */ checkNewCapacity(newCapacity);\r\n/* 89: */ \r\n/* 90:124 */ int oldCapacity = this.array.length;\r\n/* 91:125 */ byte[] oldArray = this.array;\r\n/* 92:126 */ if (newCapacity > oldCapacity)\r\n/* 93: */ {\r\n/* 94:127 */ byte[] newArray = allocateArray(newCapacity);\r\n/* 95:128 */ System.arraycopy(oldArray, 0, newArray, 0, oldArray.length);\r\n/* 96:129 */ setArray(newArray);\r\n/* 97:130 */ freeArray(oldArray);\r\n/* 98: */ }\r\n/* 99:131 */ else if (newCapacity < oldCapacity)\r\n/* 100: */ {\r\n/* 101:132 */ byte[] newArray = allocateArray(newCapacity);\r\n/* 102:133 */ int readerIndex = readerIndex();\r\n/* 103:134 */ if (readerIndex < newCapacity)\r\n/* 104: */ {\r\n/* 105:135 */ int writerIndex = writerIndex();\r\n/* 106:136 */ if (writerIndex > newCapacity) {\r\n/* 107:137 */ writerIndex(writerIndex = newCapacity);\r\n/* 108: */ }\r\n/* 109:139 */ System.arraycopy(oldArray, readerIndex, newArray, readerIndex, writerIndex - readerIndex);\r\n/* 110: */ }\r\n/* 111: */ else\r\n/* 112: */ {\r\n/* 113:141 */ setIndex(newCapacity, newCapacity);\r\n/* 114: */ }\r\n/* 115:143 */ setArray(newArray);\r\n/* 116:144 */ freeArray(oldArray);\r\n/* 117: */ }\r\n/* 118:146 */ return this;\r\n/* 119: */ }",
"public double getOCapacity() {\n return oCapacity;\n }",
"public ItemSerializer(int size) {\n this(size, SerializerOutputType.RAW);\n }",
"@JsonIgnore\n @Override\n public Item createDynamoDbItem() {\n return new Item()\n .withPrimaryKey(\"widgetId\", this.getWidgetId())\n .with(\"widgetJSONString\", WidgetSerializer.serialize(this));\n }",
"public int capacity();",
"public int capacity();",
"void set(K key, V value, LocalDateTime expiresAt) throws CapacityExceededException;"
] | [
"0.59887946",
"0.5700495",
"0.5377087",
"0.5346956",
"0.5296383",
"0.51543874",
"0.5140989",
"0.50383306",
"0.5005634",
"0.49432334",
"0.48898232",
"0.48778984",
"0.4872071",
"0.48099497",
"0.47944847",
"0.4767113",
"0.47376058",
"0.47167194",
"0.47083986",
"0.46912366",
"0.46684054",
"0.46661574",
"0.4631453",
"0.46268997",
"0.46075773",
"0.46067885",
"0.45931327",
"0.45775515",
"0.45646688",
"0.45558256",
"0.45538822",
"0.45427912",
"0.45410782",
"0.45278347",
"0.45247692",
"0.44942218",
"0.44922784",
"0.4467798",
"0.44503757",
"0.4440129",
"0.44209865",
"0.44157085",
"0.4406979",
"0.4406979",
"0.4406979",
"0.4406979",
"0.4387327",
"0.4387327",
"0.4387327",
"0.4378341",
"0.43615225",
"0.43441907",
"0.43422663",
"0.43422663",
"0.4333735",
"0.43292502",
"0.43263173",
"0.43263173",
"0.4304513",
"0.4304513",
"0.43023348",
"0.42989838",
"0.42925408",
"0.42858666",
"0.42710996",
"0.42577466",
"0.42577466",
"0.42537615",
"0.4252855",
"0.42443648",
"0.42433798",
"0.4224807",
"0.42236003",
"0.42175528",
"0.42028767",
"0.41994703",
"0.41873628",
"0.41861418",
"0.4182194",
"0.4181369",
"0.4180108",
"0.41675597",
"0.41640353",
"0.41459766",
"0.4138606",
"0.41385102",
"0.41382405",
"0.41296506",
"0.4125977",
"0.4119062",
"0.41123",
"0.41070345",
"0.41047597",
"0.40946",
"0.40843877",
"0.40801832",
"0.40740314",
"0.40669578",
"0.40669578",
"0.40566966"
] | 0.5788109 | 1 |
Returns a string representation of this object; useful for testing and debugging. | @Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getItems() != null) sb.append("Items: " + getItems() + ", ");
if (getCount() != null) sb.append("Count: " + getCount() + ", ");
if (getLastEvaluatedKey() != null) sb.append("LastEvaluatedKey: " + getLastEvaluatedKey() + ", ");
if (getConsumedCapacityUnits() != null) sb.append("ConsumedCapacityUnits: " + getConsumedCapacityUnits() + ", ");
sb.append("}");
return sb.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString() { return stringify(this, true); }",
"public String toString() {\n StringWriter writer = new StringWriter();\n this.write(writer);\n return writer.toString();\n }",
"@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }",
"public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn toStringBuilder(new StringBuilder()).toString();\n\t}",
"@Override()\n public String toString()\n {\n final StringBuilder buffer = new StringBuilder();\n toString(buffer);\n return buffer.toString();\n }",
"public String toString() {\n return ToStringBuilder.reflectionToString(this);\n }",
"@Override\n public String toString() {\n return new Gson().toJson(this);\n }",
"public String toString() {\n\t\treturn toString(this);\n\t}",
"@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }",
"public String toString() {\n\t\treturn toString(true);\n\t}",
"@Override\n public final String toString() {\n return asString(0, 4);\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toText();\n\t}",
"@Override\n public String toString() {\n return toString(false, true, true, null);\n }",
"public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}",
"public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}",
"public String toString() {\n\t\treturn toString(0, 0);\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\tString str = \"\";\r\n\t\treturn str;\r\n\t}",
"@Override\n public String toString() {\n return gson.toJson(this);\n }",
"@Override\n public String toString() {\n String str = \"\";\n\n //TODO: Complete Method\n\n return str;\n }",
"@Override\n public String toString() {\n ByteArrayOutputStream bs = new ByteArrayOutputStream();\n PrintStream out = new PrintStream(bs);\n output(out, \"\");\n return bs.toString();\n }",
"@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }",
"public String toString() {\n return toDisplayString();\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the class attribute if required; default: don't.\r\n\t\tif (getIncludeClassAttribute() == true)\r\n\t\t\tOutString.append(getClassAttribute());\r\n\t\t// Add any transformation information,\r\n\t\t// probably the minimum is the x and y values.\r\n\t\t// again this is new to Java 1.4;\r\n\t\t// this function returns a StringBuffer.\r\n\t\tOutString.append(getAttributes());\r\n\t\t// close the tag.\r\n\t\tOutString.append(\">\");\r\n\t\tOutString.append(\"&\"+entityReferenceName+\";\");\r\n\t\t// close tag\r\n\t\tOutString.append(\"</\");\r\n\t\tOutString.append(getType());\r\n\t\tOutString.append(\">\");\r\n\r\n\t\treturn OutString.toString();\r\n\t}",
"@Override\n public String toString() {\n final Map<String, Object> augmentedToStringFields = Reflect.getStringInstanceVarEntries(this);\n augmentToStringFields(augmentedToStringFields);\n return Reflect.joinStringMap(augmentedToStringFields, this);\n }",
"@Override\n public String toString() {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.writeValueAsString(this);\n } catch (JsonProcessingException e) {\n return null;\n }\n }",
"@Override\n public String toString() {\n return new GsonBuilder().serializeNulls().create().toJson(this).toString();\n }",
"public String toString() {\n\t\treturn super.toString();\n\t\t// This gives stack overflows:\n\t\t// return ToStringBuilder.reflectionToString(this);\n\t}",
"public String toString()\n\t{\n\t\tString result = \"\";\n\t\tresult += this.data;\n\t\treturn result;\n\t}",
"@Override public String toString();",
"@Override\n\tpublic String toString() {\n\t\ttry {\n\t\t\treturn this.toJSONString(0);\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}",
"public synchronized String toString() {\n StringBuffer oBuffer = new StringBuffer();\n\n oBuffer\n .append(\"Preprocessing params: \").append(this.oPreprocessingParams).append(\"\\n\")\n .append(\"Feature extraction params: \").append(this.oFeatureExtractionParams).append(\"\\n\")\n .append(\"Classification params: \").append(this.oClassificationParams);\n\n return oBuffer.toString();\n }",
"public String toString(){\r\n\t\tString superString = super.toString();\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\t//Add the object to the string\r\n\t\tbuilder.append(\". \");\r\n\t\tif (this.error != null) {\r\n\t\t\tbuilder.append(error.toString());\r\n\t\t\tbuilder.append(\". \");\r\n\t\t}\r\n\t\tbuilder.append(\"Object: \");\r\n\t\tbuilder.append(object.toString());\r\n\t\tif (this.recordRoute)\r\n\t\t\tbuilder.append(\", [RECORD_ROUTE]\");\r\n\t\tif (this.reRouting) \r\n\t\t\tbuilder.append(\", [RE-ROUTING]\");\r\n\t\t//Add the masks to the string\r\n\t\tif (this.mask != null) {\r\n\t\t\tbuilder.append(\", label set: \");\r\n\t\t\tbuilder.append(mask.toString());\r\n\t\t}\r\n\t\treturn superString.concat(builder.toString());\r\n\t}",
"public final String toString() {\n\t\tStringWriter write = new StringWriter();\n\t\tString out = null;\n\t\ttry {\n\t\t\toutput(write);\n\t\t\twrite.flush();\n\t\t\tout = write.toString();\n\t\t\twrite.close();\n\t\t} catch (UnsupportedEncodingException use) {\n\t\t\tuse.printStackTrace();\n\t\t} catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\t\treturn (out);\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn JSONObject.toJSONString(this);\r\n\t}",
"@Override\n public String toString()\n {\n return this.toLsString();\n }",
"public String toString() {\n\t\t//TODO add your own field name here\t\t\n\t\t//return buffer.append(this.yourFieldName).toString();\n\t\treturn \"\";\n\t}",
"public String toString() {\n\treturn createString(data);\n }",
"public String toString() {\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tthis.createSpecSection(buffer);\n\t\tthis.createOperatorSection(buffer);\n\t\treturn buffer.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn Json.pretty( this );\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn \"\";\r\n\t}",
"@Override\n public String toString() {\n Gson gson = new Gson();\n\n String json = gson.toJson(this);\n System.out.println(\"json \\n\" + json);\n return json;\n }",
"@Override\n\tpublic String toString() {\n\t\tif (repr == null)\n\t\t\trepr = toString(null);\n\n\t\treturn repr;\n\t}",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"@Override\r\n\tpublic String toString();",
"@Override String toString();",
"@Override\n public String toString() {\n return (this.str);\n }",
"@Override\n\tpublic String toString()\n\t{\n\t\treturn this.str;\n\t}",
"@Override\r\n\t\tpublic String toString() {\n\t\t\treturn super.toString();\r\n\t\t}",
"public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(getClass().getName());\n buffer.append(\"@\");\n buffer.append(Integer.toHexString(hashCode()));\n buffer.append(\" [\");\n buffer.append(objectToString(\"Id\", getId()));\n buffer.append(objectToString(\"ProjectName\", getProjectName()));\n buffer.append(objectToStringFK(\"DataProvider\", getDataProvider()));\n buffer.append(objectToStringFK(\"PrimaryInvestigator\", getPrimaryInvestigator()));\n buffer.append(objectToStringFK(\"CreatedBy\", getCreatedBy()));\n buffer.append(objectToString(\"CreatedTime\", getCreatedTime()));\n buffer.append(\"]\");\n\n return buffer.toString();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn \"\";\n\t}",
"public String toString(){\r\n\t\tString output=\"\";\r\n\t\toutput+=super.toString();\r\n\t\treturn output;\r\n\t}",
"public String toString() {\n\t\treturn this;\n\t}",
"public String toString() {\n\t\treturn super.toString();\n\t}",
"public String toString() {\n\t\treturn super.toString();\n\t}",
"public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(getClass().getName());\n buffer.append(\"@\");\n buffer.append(Integer.toHexString(hashCode()));\n buffer.append(\" [\");\n buffer.append(objectToString(\"Id\", getId()));\n buffer.append(objectToStringFK(\"Project\", getProject()));\n buffer.append(objectToStringFK(\"User\", getUser()));\n buffer.append(objectToString(\"Status\", getStatus()));\n buffer.append(objectToString(\"LastActivityDate\", getLastActivityDate()));\n buffer.append(objectToString(\"HasPiSeen\", getHasPiSeen()));\n buffer.append(objectToString(\"HasDpSeen\", getHasDpSeen()));\n buffer.append(objectToString(\"HasAdminSeen\", getHasAdminSeen()));\n buffer.append(objectToString(\"HasRequestorSeen\", getHasRequestorSeen()));\n buffer.append(objectToString(\"EmailStatus\", getEmailStatus()));\n buffer.append(\"]\");\n\n return buffer.toString();\n }",
"@Override\r\n public String toString();",
"public String toString() {\r\n\t\t\r\n\t\treturn super.toString();\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"public String toString ( ) {\r\n String returnString = _name + \"{ id: \" + _uniqueID + \" pos: [\"+ getPosition().getPosition() + \"] }\";\r\n return returnString;\r\n }",
"public String toString()\r\n\t{\r\n\t\treturn toCharSequence().toString();\r\n\t}",
"@Override\r\n String toString();",
"@Override\n public String toString() {\n return value();\n }",
"@Override\n public String toString()\n {\n return Arrays.toString(this.toArray());\n }",
"public String toString() {\t\t\t\t\t\r\n\t\treturn super.toString();\r\n\t}",
"@Override\n\t\tpublic String toString() {\n\t\t\treturn super.toString();\n\t\t}",
"@Override\n public String toString()\n {\n StringBuilder builder = new StringBuilder();\n dump(builder, 0, '\\'');\n return builder.toString();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn new StringBuilder()\n\t\t\t.append(this.getClass().getSimpleName())\n\t\t\t.append(\" { id:\").append(id)\n\t\t\t.append(\", version:\").append(version)\n\t\t\t.append(\" }\")\n\t\t\t.toString();\n\t}",
"@Override\n public String toString() {\n return mString;\n }",
"@Override\n\tpublic String toString() {\n\t\treturn this.toAnticipatedString();\n\t}",
"public String toString(){\n\t\treturn \"<== at \" + time + \": \" + name + \", \" + type + \", \" + data + \"==>\"; \n\t}",
"@Override\n public String toString() {\n // TODO this is a sudo method only for testing puroposes\n return \"{name: 5aled, age:15}\";\n }",
"@Override\r\n public String toString() {\r\n return toSmartText().toString();\r\n }",
"@Override\n\tpublic String toString();",
"public String toString() {\n\t\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\n\t\tDocument document = XMLUtils.newDocument();\n\t\tdocument.appendChild(toXML(document));\n\t\tXMLUtils.write(bos, document);\n\n\t\treturn bos.toString();\n\t}",
"@Override\n public String toString() {\n return string;\n }",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn super.toString();\n\t}"
] | [
"0.8683157",
"0.85115",
"0.84982616",
"0.84619015",
"0.8388398",
"0.8388398",
"0.82967556",
"0.8296591",
"0.8273532",
"0.8266389",
"0.8264453",
"0.8257445",
"0.8227678",
"0.8142639",
"0.81201446",
"0.81005955",
"0.80892855",
"0.80892855",
"0.8065512",
"0.8061759",
"0.8060815",
"0.79943335",
"0.79901737",
"0.7981884",
"0.79735917",
"0.7971996",
"0.7971996",
"0.7971996",
"0.7958978",
"0.79553366",
"0.7932715",
"0.79306763",
"0.79043746",
"0.7904065",
"0.78990185",
"0.78949785",
"0.78885007",
"0.7878708",
"0.78486717",
"0.7846077",
"0.7844563",
"0.78441226",
"0.78422505",
"0.7835668",
"0.78300136",
"0.7828919",
"0.78238523",
"0.78220224",
"0.78191584",
"0.78191584",
"0.7810494",
"0.7794261",
"0.7787267",
"0.7786093",
"0.77772653",
"0.77769005",
"0.7769246",
"0.7763385",
"0.77526337",
"0.77509063",
"0.77509063",
"0.7747754",
"0.7741253",
"0.77397496",
"0.7735773",
"0.7735773",
"0.7735773",
"0.7735773",
"0.7735773",
"0.7735773",
"0.77346385",
"0.77333665",
"0.77303845",
"0.77276254",
"0.7726654",
"0.7722288",
"0.7721954",
"0.7716266",
"0.7711521",
"0.7710691",
"0.77106684",
"0.77093047",
"0.77065593",
"0.77050966",
"0.76908726",
"0.76905745",
"0.7686871",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684",
"0.7682684"
] | 0.0 | -1 |
Test case for testing time conversion logic | @Test
public void testConversion() {
TimeConversion tc = new TimeConversion();
String converted = null;
try {
converted = tc.conversion(JunitConstants.INPUT_TIMESTAMP, JunitConstants.INP_DROPDOWNITEM,
JunitConstants.OUT_DROPDOWNITEM);
} catch (InternalException e) {
TimeConvertServlet.LOGGER.log(Level.SEVERE, Constants.EXCEPTION_MSG, e);
}
assertEquals(JunitConstants.EXPECTED_OUTPUT, converted);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n @Override\n public void testTime(TestContext ctx) {\n testDecodeGeneric(ctx, \"test_time\", Duration.class, Duration.ofHours(18).plusMinutes(45).plusSeconds(2));\n }",
"@Test\n\tpublic void convertToTimeTest(){\n\t\tDjikstrasMap m = new DjikstrasMap();\t//Creates new DjikstrasMap object\n\t\tdouble time = 1.85;\t\t\n\t\tassertEquals(\"2 hour and .51 minutes\", m.convertToTime(time));\t//Checks that the convertToTime method formats the time correctly\n\t}",
"@Test\n\tpublic void parseTimeTest() {\n\t\tfinal String printTime = \"00:27:55.916+01:00\";\n\t\tfinal XmlTimeTypeAdapter xmlTimeTypeAdapter = new XmlTimeTypeAdapter();\n\t\tfinal Date simpleSwedishDateForm = xmlTimeTypeAdapter.unmarshal(printTime);\n\t\tassertEquals(\"Expect specified time\",printTime,xmlTimeTypeAdapter.marshal(simpleSwedishDateForm));\n\n\t\tassertNull(\"Expect null\",xmlTimeTypeAdapter.unmarshal(null));\n\t\tassertNull(\"Expect null\",xmlTimeTypeAdapter.marshal(null));\n\n\t}",
"public void testDateTimeConverters() throws Exception {\n long currentTime = System.currentTimeMillis();\n java.util.Date utilDate = new java.util.Date(currentTime);\n assertConversion(\"DateToLong\", new DateTimeConverters.DateToLong(), utilDate, currentTime);\n assertConversion(\"DateToSqlDate\", new DateTimeConverters.DateToSqlDate(), utilDate, new java.sql.Date(currentTime));\n assertConversion(\"DateToString\", new DateTimeConverters.DateToString(), utilDate, utilDate.toString());\n //assertConversion(\"StringToDate\", new DateTimeConverters.StringToDate(), utilDate.toString(), utilDate);\n assertConversion(\"DateToTimestamp\", new DateTimeConverters.DateToTimestamp(), utilDate, new java.sql.Timestamp(currentTime));\n // Source class = java.sql.Date\n java.sql.Date sqlDate = new java.sql.Date(currentTime);\n assertConversion(\"SqlDateToDate\", new DateTimeConverters.SqlDateToDate(), sqlDate, utilDate);\n assertConversion(\"SqlDateToString\", new DateTimeConverters.SqlDateToString(), sqlDate, sqlDate.toString());\n //assertConversion(\"StringToSqlDate\", new DateTimeConverters.StringToSqlDate(), sqlDate.toString(), sqlDate);\n java.sql.Timestamp timestamp = new java.sql.Timestamp(currentTime);\n assertConversion(\"SqlDateToTimestamp\", new DateTimeConverters.SqlDateToTimestamp(), sqlDate, timestamp);\n assertConversion(\"StringToTimestamp\", new DateTimeConverters.StringToTimestamp(), timestamp.toString(), timestamp);\n assertConversion(\"TimestampToDate\", new DateTimeConverters.TimestampToDate(), timestamp, utilDate);\n assertConversion(\"TimestampToSqlDate\", new DateTimeConverters.TimestampToSqlDate(), timestamp, sqlDate);\n //assertConversion(\"TimestampToString\", new DateTimeConverters.TimestampToString(), timestamp, timestamp.toString());\n }",
"@Test public void Time_len_6()\t\t\t\t\t\t\t\t\t{tst_time_(\"041526\"\t\t\t\t\t, \"04:15:26.000\");}",
"@Test\n public void datetimeTest() {\n assertEquals(OffsetDateTime.parse(\"2020-08-12T07:59:11Z\"), authResponse.getDatetime());\n }",
"private TimeUtil() {}",
"@Override\r\n\tpublic Time convert(String input, Class<? extends Time> targetType,\r\n\t\t\tCollection<ValidationError> errors) {\r\n\r\n\t\tinput = input.trim();\r\n\r\n\t\tDate date = null;\r\n\r\n\t\tfor (DateFormat format : this.formats) {\r\n\t\t\ttry {\r\n\t\t\t\tdate = format.parse(input);\r\n\t\t\t\tbreak;\r\n\t\t\t} catch (ParseException pe) {} /* Do nothing, we'll get lots of these. */\r\n\t\t}\r\n\t\t\r\n\t\t// If we successfully parsed, convert date to time and return, \r\n\t\t// otherwise send back an error\r\n\t\tif (date != null) {\r\n\t\t\treturn new Time(date.getTime());\r\n\t\t} else {\r\n\t\t\terrors.add(new ScopedLocalizableError(\"converter.time\",\"invalidTime\"));\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"@Test\npublic void getDateTest() throws ParseException {\n assertNotNull(DEFAULT_TIME_FORMAT.getDate(OLD_TEST_DATE));\n assertNotNull(DEFAULT_TIME_FORMAT.getDate(NEW_TEST_DATE));\n}",
"@Test\n public void dateUtilTest() {\n String orgStr = \"2016-01-05 10:00:17\";\n Date orgDate = new Date(1451959217000L);\n Assert.assertTrue(DateStrValueConvert.dateFormat(orgDate).equals(orgStr));\n Assert.assertTrue(DateStrValueConvert.dateConvert(orgStr).equals(orgDate));\n }",
"@Test\n void deve_retornar_uma_datetimeexception() {\n List<LocalTime> localTimes = Arrays.asList(LocalTime.parse(\"12:00:00\"));\n TimeModel timeModel = TimeModelStub.getTimeModel();\n timeModel.setPeriod(TimeCourseEnum.SECOND_PERIOD_IN);\n timeModel.setTime(\"12:30\");\n Assert.assertThrows(DateTimeException.class, () -> timeService.checkInterval(timeModel, localTimes));\n }",
"public void testConvertDate() throws Exception {\n String[] message= {\n \"from Date\",\n \"from Calendar\",\n \"from SQL Date\",\n \"from SQL Time\",\n \"from SQL Timestamp\"\n };\n \n long now = System.currentTimeMillis();\n \n Object[] date = {\n new Date(now),\n new java.util.GregorianCalendar(),\n new java.sql.Date(now),\n new java.sql.Time(now),\n new java.sql.Timestamp(now)\n };\n \n // Initialize calendar also with same ms to avoid a failing test in a new time slice\n ((GregorianCalendar)date[1]).setTimeInMillis(now);\n \n for (int i = 0; i < date.length; i++) {\n Object val = makeConverter().convert(getExpectedType(), date[i]);\n assertNotNull(\"Convert \" + message[i] + \" should not be null\", val);\n assertTrue(\"Convert \" + message[i] + \" should return a \" + getExpectedType().getName(),\n getExpectedType().isInstance(val));\n assertEquals(\"Convert \" + message[i] + \" should return a \" + date[0],\n now, ((Date) val).getTime());\n }\n }",
"@Test\n public void addTimeTest() {\n // TODO: test addTime\n }",
"@Test\n public void testEpochToEpochDateTimeConvert() {\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') > 1620830760000\",\n new Range(1620831600000L, true, null, false));\n testTimeConvert(\n \"DATE_TIME_CONVERT(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') < 1620917160000\",\n new Range(null, false, 1620918000000L, false));\n testTimeConvert(\n \"datetimeconvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') BETWEEN 1620830760000 AND\"\n + \" 1620917160000\", new Range(1620831600000L, true, 1620918000000L, false));\n testTimeConvert(\n \"DATETIMECONVERT(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') = 1620830760000\",\n new Range(1620831600000L, true, 1620831600000L, false));\n\n // Value on granularity boundary\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') > 1620831600000\",\n new Range(1620833400000L, true, null, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') < 1620918000000\",\n new Range(null, false, 1620918000000L, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') BETWEEN 1620831600000 AND\"\n + \" 1620918000000\", new Range(1620831600000L, true, 1620919800000L, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '30:MINUTES') = 1620831600000\",\n new Range(1620831600000L, true, 1620833400000L, false));\n\n // Other output format\n testTimeConvert(\"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MINUTES:EPOCH', '30:MINUTES') > 27013846\",\n new Range(1620831600000L, true, null, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '10:MINUTES:EPOCH', '30:MINUTES') < 2701528\",\n new Range(null, false, 1620918000000L, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:SECONDS:EPOCH', '30:MINUTES') BETWEEN 1620830760 AND \"\n + \"1620917160\", new Range(1620831600000L, true, 1620918000000L, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '30:MINUTES:EPOCH', '30:MINUTES') > 900462\",\n new Range(1620833400000L, true, null, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:HOURS:EPOCH', '30:MINUTES') < 450255\",\n new Range(null, false, 1620918000000L, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:DAYS:EPOCH', '30:MINUTES') BETWEEN 18759 AND 18760\",\n new Range(1620777600000L, true, 1620950400000L, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:DAYS:EPOCH', '30:MINUTES') = 18759\",\n new Range(1620777600000L, true, 1620864000000L, false));\n\n // Other input format\n testTimeConvert(\"dateTimeConvert(col, '1:SECONDS:EPOCH', '1:MINUTES:EPOCH', '30:MINUTES') > 27013846\",\n new Range(1620831600L, true, null, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MINUTES:EPOCH', '10:MINUTES:EPOCH', '30:MINUTES') < 2701528\",\n new Range(null, false, 27015300L, false));\n testTimeConvert(\n \"dateTimeConvert(col, '1:DAYS:EPOCH', '1:SECONDS:EPOCH', '30:MINUTES') BETWEEN 1620830760 AND 1620917160\",\n new Range(18759L, false, 18760L, true));\n testTimeConvert(\"dateTimeConvert(col, '1:SECONDS:EPOCH', '30:MINUTES:EPOCH', '30:MINUTES') > 900462\",\n new Range(1620833400L, true, null, false));\n testTimeConvert(\"dateTimeConvert(col, '1:MINUTES:EPOCH', '1:HOURS:EPOCH', '30:MINUTES') < 450255\",\n new Range(null, false, 27015300L, false));\n testTimeConvert(\"dateTimeConvert(col, '1:DAYS:EPOCH', '1:DAYS:EPOCH', '30:MINUTES') BETWEEN 18759 AND 18760\",\n new Range(18759L, true, 18761L, false));\n testTimeConvert(\"dateTimeConvert(col, '1:DAYS:EPOCH', '1:DAYS:EPOCH', '30:MINUTES') = 18759\",\n new Range(18759L, true, 18760L, false));\n\n // Invalid time\n testInvalidTimeConvert(\"dateTimeConvert(col, '1:SECONDS:EPOCH', '1:MINUTES:EPOCH', '30:MINUTES') > 27013846.5\");\n testInvalidTimeConvert(\"dateTimeConvert(col, '1:SECONDS:EPOCH', '30:MINUTES:EPOCH', '30:MINUTES') > 27013846\");\n }",
"@Test\t\t\n\t public void testSystem() {\n\t Date expected = new SystemTimeSource().getTimeMoment();\n\t\t Date actual = new Date();\n\t assertEquals(actual, expected);\n\t }",
"private void testTimeConvert(String filterString, Range expectedRange) {\n Expression originalExpression = CalciteSqlParser.compileToExpression(filterString);\n Expression optimizedFilterExpression = OPTIMIZER.optimize(CalciteSqlParser.compileToExpression(filterString));\n Function function = optimizedFilterExpression.getFunctionCall();\n assertEquals(function.getOperator(), FilterKind.RANGE.name());\n List<Expression> operands = function.getOperands();\n assertEquals(operands.size(), 2);\n assertEquals(operands.get(0),\n originalExpression.getFunctionCall().getOperands().get(0).getFunctionCall().getOperands().get(0));\n String rangeString = operands.get(1).getLiteral().getStringValue();\n assertEquals(rangeString, expectedRange.getRangeString());\n }",
"@Test\n public void modTimeTest() {\n // TODO: test modTime\n }",
"@Test\n public void testTimeStampParsingAndErrorMessages() throws ParseException {\n verify.rule(OsTxTimestampCriteria.class, \"date = '09/10/2014 11:00:12 AM'\");\n verify.rule(OsTxTimestampCriteria.class, \"date = \\\"09/10/2014 11:00:12 AM\\\"\");\n\n verify.rule(OsTxTimestampCriteria.class, \"date in ('09/10/2014 11:00:12 AM' .. '09/10/2014 12:00:12 AM')\");\n verify.rule(OsTxTimestampCriteria.class, \"date in (\\\"09/10/2014 11:00:12 AM\\\" .. \\\"09/10/2014 12:00:12 AM\\\")\");\n\n // String syntaxtError = \"Invalid timestamp format - format should be [MM/dd/yyyy hh:mm:ss a] or [\";\n // verify.checkRuleErrors(OsTxTimestampCriteria.class, \"date = '09/10/2014 AM'\", syntaxtError);\n\n // Use locale specific timestamp format - system should convert correctly\n // For example: MMM d, yyyy h:mm:ss a\n Date date = OrcsScriptUtil.parseDate(\"09/10/2014 11:00:12 AM\");\n String localeFormattedDate = DateFormat.getDateTimeInstance().format(date);\n verify.rule(OsTxTimestampCriteria.class, \"date = '\" + localeFormattedDate + \"'\");\n }",
"private AbsTime(String t) throws NumberFormatException, Time.Ex_TimeNotAvailable\n {\n // Parse the string.\n parse(t);\n }",
"public static void timeConversion(String time)\r\n {\n\r\n if (ticks >= 0)\r\n {\r\n time = day;\r\n } else if (ticks >= 12000)\r\n {\r\n time = sunset;\r\n } else if (ticks >= 12610)\r\n {\r\n time = dusk;\r\n } else if (ticks >= 17843)\r\n {\r\n time = midnight;\r\n } else if (ticks >= 23041)\r\n {\r\n time = dawn;\r\n }\r\n }",
"static String timeConversion(String s) {\n /*\n * Write your code here.\n */\n String res = \"\";\n String hrs = s.substring(0, 2);\n String min = s.substring(3, 5);\n String sec = s.substring(6, 8);\n String ampm = s.substring(8);\n int hr = Integer.parseInt(hrs);\n if((ampm.equalsIgnoreCase(\"PM\")) && (hr != 12)) {\n hr += 12;\n if(hr >= 24) {\n hr = 24 - hr;\n }\n }\n else if(ampm.equalsIgnoreCase(\"AM\")) {\n if(hr == 12) {\n hr = 0;\n }\n }\n if(hr < 10) {\n res = res + \"0\" + Integer.toString(hr);\n }\n else {\n res += Integer.toString(hr);\n }\n res = res +\":\" +min +\":\" + sec;\n return res;\n }",
"public void testCmdUpdate_time_field() {\n\t\t// Initialize test variables\n\t\tCommandAction expectedCA;\n\t\tTask expectedTask;\n\t\tList<Task> expectedTaskList;\n\n\t\t/*\n\t\t * Test 3: Testing time field (all ID are valid)\n\t\t */\n\t\tctf.initialize();\n\t\texpectedTaskList = null;\n\t\taddNewTask(TASK_NAME_1);\n\n\t\t// Test 3a: start time and end time are both null\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, null, null, null);\n\t\texpectedCA = new CommandAction(MSG_TASKNOUPDATE, false, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\n\t\t// Test 3b: valid start time without end time\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, VALID_START_TIME + \"\", null, null);\n\t\texpectedCA = new CommandAction(MSG_INVALIDTIME, false, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\n\t\t// Test 3c: start time after end time\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, INVALID_START_TIME + \"\", VALID_END_TIME + \"\", null);\n\t\texpectedCA = new CommandAction(MSG_INVALIDTIME, false, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\n\t\texpectedTaskList = new ArrayList<Task>();\n\t\t// Test 3d: start time before end time\n\t\t_testCmdUpdate = new CmdUpdate();\n\t\tsetParameters(VALID_TASKID + \"\", TASK_NAME_1, VALID_START_TIME + \"\", VALID_END_TIME + \"\", null);\n\t\texpectedTask = ctf.createExpectedTask(TASK_NAME_1, VALID_START_TIME, VALID_END_TIME, PRIORITY_TYPE.NORMAL);\n\t\texpectedTaskList.add(expectedTask);\n\t\texpectedCA = new CommandAction(String.format(MSG_TASKUPDATED, VALID_TASKID), true, expectedTaskList);\n\t\tctf.assertCommandAction(expectedCA, _testCmdUpdate.execute());\n\t}",
"@Test\n public void testFindRate_PositiveResult_Mon9to12() {\n System.out.println(\"FindRate-positive result mon 0900-1200\");\n AssertRateFound(\"2015-07-06T09:00:00Z\", \"2015-07-06T20:59:00Z\", 1500); \n }",
"static String timeConversion1(String s) {\n String[] timeSplit = s.split(\":\");\n String hours = timeSplit[0];\n String minutes = timeSplit[1];\n String seconds = timeSplit[2].substring(0, 2);\n String ampm = timeSplit[2].substring(2);\n\n int hour = Integer.parseInt(hours);\n\n int differential = 0;\n if (\"PM\".equals(ampm) && hour != 12) {\n differential = 12;\n }\n\n\n hour += differential;\n hour = hour % 24;\n\n hours = String.format(\"%02d\", hour);\n\n return hours + \":\" + minutes + \":\" + seconds;\n\n }",
"@Test\n\tvoid testCheckDuration2() {\n\t\tassertFalse(DataChecker.checkDuration(Duration.ofMinutes(-11)));\n\t}",
"@Test public void shouldGive240MinFor950cent() {\r\n // Three hours: $1.5+2.0+3.0\r\n assertEquals( 4 * 60 /*minutes*/ , rs.calculateTime(950) ); \r\n }",
"@Test public void toOffsetTime_24() {\n OffsetTime expected = OffsetTime.of(0, 0, 0, 0, ZoneOffset.ofHoursMinutes(0, 0));\n Datetime dt = new Datetime(24, expected.getMinute(), expected.getSecond(), 0);\n dt.setNanosecond(expected.getNano());\n dt.setTimezoneOffsetMinutes(0);\n\n OffsetTime actual = DateUtils.toOffsetTime(dt);\n\n assertEquals(actual, expected);\n }",
"@Test public void shouldGive120MinFor350cent() {\r\n // Two hours: $1.5+2.0\r\n assertEquals( 2 * 60 /*minutes*/ , rs.calculateTime(350) ); \r\n }",
"public void testImportTimeFailure() throws ParserConfigurationException, IOException {\n testInvalidXML(INVALID_TIME_TEST_GPX);\n }",
"@Test public void shouldGive60MinFor150cent() {\r\n // First hour: $1.5\r\n assertEquals( 60 /*minutes*/, rs.calculateTime(150) ); \r\n }",
"@Test(timeout = 4000)\n public void test49() throws Throwable {\n String string0 = EWrapperMsgGenerator.currentTime((-532L));\n assertEquals(\"current time = -532 (Dec 31, 1969 11:51:08 PM)\", string0);\n }",
"private static String convertTime(String timeString) {\n try {\n int timeIn24hRepresentation = Integer.parseInt(timeString);\n int hours = timeIn24hRepresentation / 100;\n int minutes = timeIn24hRepresentation % 100;\n boolean isOutOfBounds = hours < 0 || hours > 24 || minutes < 0 || minutes > 60;\n boolean cannotConvertToTime = timeString.length() != 4;\n\n if (isOutOfBounds || cannotConvertToTime) {\n return timeString;\n } else {\n return convertTimeToStringRepresentation(hours, minutes);\n }\n } catch (NumberFormatException e) {\n return timeString;\n }\n }",
"@Test\n public void testTimeStampRounding() throws SQLException {\n assumeBinaryModeRegular();\n LocalTime time = LocalTime.parse(\"23:59:59.999999500\");\n Time actual = insertThenReadWithoutType(time, \"time_without_time_zone_column\", Time.class, false/*no roundtrip*/);\n assertEquals(Time.valueOf(\"24:00:00\"), actual);\n }",
"@Test\r\n public void testGetEndTime() {\r\n System.out.println(\"getEndTime\");\r\n \r\n String expResult = \"\";\r\n String result = instance.getEndTime();\r\n assertEquals(expResult, result);\r\n \r\n \r\n }",
"public static boolean isValidDatetime(String test) {\n String[] components = test.split(\" \");\n String date = components[0];\n String startTime = components[1];\n\n //If the format is dd/mm/yyyy hhmm k\n if (components.length == 3) {\n String duration = components[2];\n return isValidDate(date) && isValidTime(startTime) && isValidDuration(duration);\n //If the format is dd/mm/yyyy hhmm to hhmm\n } else if (components.length == 4) {\n String endtime = components[3];\n return isValidDate(date) && isValidTime(startTime) && isValidTime(endtime);\n } else {\n return false;\n }\n }",
"@Test\n public void testTimeStampRoundingWithType() throws SQLException {\n assumeBinaryModeRegular();\n LocalTime time = LocalTime.parse(\"23:59:59.999999500\");\n Time actual =\n insertThenReadWithType(time, Types.TIME, \"time_without_time_zone_column\", Time.class, false/*no roundtrip*/);\n assertEquals(Time.valueOf(\"24:00:00\"), actual);\n }",
"public void testLastTransitionWithoutRules() {\n ZoneId zone = ZoneId.of(\"Asia/Kathmandu\");\n long time = time(\"1986-01-01T00:00:00\", zone);\n LocalTimeOffset.Lookup lookup = LocalTimeOffset.lookup(zone, time - 1, time);\n assertThat(lookup.size(), equalTo(2));\n assertRoundingAtOffset(lookup.lookup(time - 1), time - 1, TimeUnit.MINUTES.toMillis(330));\n assertRoundingAtOffset(lookup.lookup(time), time, TimeUnit.MINUTES.toMillis(345));\n }",
"static String timeConversion(String s) {\n String[] timeSplit = s.split(\":\");\n String hours = timeSplit[0];\n String minutes = timeSplit[1];\n String seconds = timeSplit[2].substring(0, 2);\n String ampm = timeSplit[2].substring(2, 4);\n\n String newHours;\n if (ampm.equals(\"AM\")) {\n newHours = hours.equals(\"12\") ? \"00\" : hours;\n\n } else {\n newHours = hours.equals(\"12\") ? hours : String.valueOf(Integer.parseInt(hours) + 12);\n }\n\n return newHours + \":\" + minutes + \":\" + seconds;\n\n }",
"@Test\n public void testSplitTime(){\n \tCountDownTimer s = new CountDownTimer();\n \ts.splitTime(3975);\n \tassertEquals(s.toString(), \"1:06:15\");\n \t\n \ts.splitTime(45);\n \tassertEquals(s.toString(), \"0:00:45\");\n \t\n }",
"@Test\n public void testTsToOdt() {\n Instant now = Instant.now();\n now = now.with(ChronoField.NANO_OF_SECOND, 0);\n Timestamp timestamp = Timestamps.fromMillis(now.toEpochMilli());\n OffsetDateTime expResult = OffsetDateTime.ofInstant(now, ZoneOffset.UTC);\n\n OffsetDateTime result = ProtoUtils.tsToOdt(timestamp);\n assertThat(result).isEqualTo(expResult);\n }",
"@Test(timeout = 4000)\n public void test06() throws Throwable {\n JDayChooser jDayChooser0 = new JDayChooser(true);\n jDayChooser0.isDecorationBackgroundVisible();\n JYearChooser jYearChooser0 = new JYearChooser();\n jDayChooser0.setFocusTraversalKeysEnabled(true);\n // Undeclared exception!\n try { \n Time.valueOf(\"day\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.sql.Time\", e);\n }\n }",
"static String timeConversion(String s) {\n if(s.indexOf('P') >= 0 && s.substring(0, 2).equals(\"12\")){\n }\n else if(s.indexOf('P') >= 0){\n Integer n = Integer.parseInt(s.substring(0, 2));\n s = removeHour(s);\n n += 12;\n String hour = Integer.toString(n);\n s = hour + s;\n }\n else if (s.indexOf('A') >= 0 && s.substring(0, 2).equals(\"12\")){\n s = \"00\" + s.substring(2);\n }\n return removeHourFormat(s);\n }",
"public void testGetStartTime() {\n assertTrue(mb.getStartTime() > -1);\n }",
"@Test\n\tpublic void test() throws InterruptedException {\n\t\tString firstTime = Time.main();\n\t\tString[] splitFirst = firstTime.split(\":\");\n\t\tThread.sleep(5000);\n\t\tString secondTime = Time.main();\n\t\tString[] splitSecond = secondTime.split(\":\");\n\t\t\n\t\t\n\t\tif(Integer.parseInt(splitFirst[2])>=55) //if first time was >= 55 seconds\n\t\t{\n\t\t\tassertEquals(Integer.parseInt(splitSecond[2]),(Integer.parseInt(splitFirst[2])+5)%60); //seconds should increase by 5 mod 60\n\n\t\t\tif(Integer.parseInt(splitFirst[1])==59) //if first time was 59 minutes\n\t\t\t{ \n\t\t\t\tassertTrue(splitFirst[1].equals(\"00\")); //reset to zero minutes\n\t\t\t\t\n\t\t\t\tif(Integer.parseInt(splitFirst[0])==23) //if first time was 23 hours\n\t\t\t\t\tassertTrue(splitFirst[0].equals(\"00\")); //reset to zero hours\n\t\t\t\telse //if first time is not 23 hours\n\t\t\t\t\tassertEquals(Integer.parseInt(splitFirst[0])+1, Integer.parseInt(splitSecond[0])); //hours should increase by 1\n\t\t\t}\n\t\t\telse //if first time was not 59 minutes\n\t\t\t{\n\t\t\t\tassertEquals(Integer.parseInt(splitFirst[1])+1, Integer.parseInt(splitSecond[1])); //minutes should increase by 1\n\t\t\t\tassertTrue(splitFirst[0].equals(splitSecond[0])); //hours should not change\n\t\t\t}\n\t\t}\n\t\telse //if first time was <= 55 seconds\n\t\t{\n\t\t\tassertEquals(Integer.parseInt(splitSecond[2]),(Integer.parseInt(splitFirst[2])+5)); //seconds should increase by 5\n\t\t\tassertTrue(splitFirst[1].equals(splitSecond[1])); //minutes should not change\n\t\t\tassertTrue(splitFirst[0].equals(splitSecond[0])); //hours should not change\n\t\t\t\n\t\t}\n\t\t\n\t}",
"@Test\n public void testDateTimeType() throws Exception {\n if(util.isHiveCatalogStoreRunning()) return;\n\n ResultSet res = null;\n TajoClient client = util.newTajoClient();\n try {\n String tableName = \"datetimetable\";\n String query = \"select col1, col2, col3 from \" + tableName;\n\n String [] table = new String[] {tableName};\n Schema schema = new Schema();\n schema.addColumn(\"col1\", Type.DATE);\n schema.addColumn(\"col2\", Type.TIME);\n schema.addColumn(\"col3\", Type.TIMESTAMP);\n Schema [] schemas = new Schema[] {schema};\n String [] data = {\n \"2014-01-01|01:00:00|2014-01-01 01:00:00\"\n };\n KeyValueSet tableOptions = new KeyValueSet();\n tableOptions.set(StorageConstants.TEXT_DELIMITER, StorageConstants.DEFAULT_FIELD_DELIMITER);\n\n res = TajoTestingCluster\n .run(table, schemas, tableOptions, new String[][]{data}, query, client);\n\n assertTrue(res.next());\n\n Date date = res.getDate(1);\n assertNotNull(date);\n assertEquals(Date.valueOf(\"2014-01-01\"), date);\n\n date = res.getDate(\"col1\");\n assertNotNull(date);\n assertEquals(Date.valueOf(\"2014-01-01\"), date);\n\n Time time = res.getTime(2);\n assertNotNull(time);\n assertEquals(Time.valueOf(\"01:00:00\"), time);\n\n time = res.getTime(\"col2\");\n assertNotNull(time);\n assertEquals(Time.valueOf(\"01:00:00\"), time);\n\n Timestamp timestamp = res.getTimestamp(3);\n assertNotNull(timestamp);\n assertEquals(Timestamp.valueOf(\"2014-01-01 01:00:00\"), timestamp);\n\n timestamp = res.getTimestamp(\"col3\");\n assertNotNull(timestamp);\n assertEquals(Timestamp.valueOf(\"2014-01-01 01:00:00\"), timestamp);\n\n // assert with timezone\n Calendar cal = Calendar.getInstance(TimeZone.getTimeZone(\"GMT+9\"));\n date = res.getDate(1, cal);\n assertNotNull(date);\n assertEquals(\"2014-01-01\", date.toString());\n\n date = res.getDate(\"col1\", cal);\n assertNotNull(date);\n assertEquals(\"2014-01-01\", date.toString());\n\n time = res.getTime(2, cal);\n assertNotNull(time);\n assertEquals(\"10:00:00\", time.toString());\n\n time = res.getTime(\"col2\", cal);\n assertNotNull(time);\n assertEquals(\"10:00:00\", time.toString());\n\n timestamp = res.getTimestamp(3, cal);\n assertNotNull(timestamp);\n assertEquals(\"2014-01-01 10:00:00.0\", timestamp.toString());\n\n timestamp = res.getTimestamp(\"col3\", cal);\n assertNotNull(timestamp);\n assertEquals(\"2014-01-01 10:00:00.0\", timestamp.toString());\n } finally {\n if (res != null) {\n res.close();\n }\n\n client.close();\n }\n }",
"@Test\n public void is_restaurant_open_should_return_true_if_time_is_between_opening_and_closing_time(){\n LocalTime openingTime = LocalTime.parse(\"10:30:00\");//arrange\n LocalTime closingTime = LocalTime.parse(\"22:00:00\");\n restaurant = new Restaurant(\"Amelie's cafe\",\"Chennai\",openingTime,closingTime);\n\n //act\n Boolean checkRestaurantOpen = restaurant.isRestaurantOpen();\n\n //assert\n assertEquals(true,checkRestaurantOpen);\n }",
"@Test\r\n public void testGetStartTime() {\r\n System.out.println(\"getStartTime\");\r\n \r\n String expResult = \"\";\r\n String result = instance.getStartTime();\r\n assertEquals(expResult, result);\r\n \r\n \r\n }",
"public void testSingleTimeBeforeRules() {\n ZoneId zone = ZoneId.of(\"America/New_York\");\n long time = time(\"1980-01-01\", zone);\n assertThat(Instant.ofEpochMilli(time), lessThan(lastTransitionIn(zone).getInstant()));\n assertRoundingAtOffset(LocalTimeOffset.lookup(zone, time, time).lookup(time), time, hours(-5));\n }",
"@Test\r\n public void testGetTimeEaten()\r\n {\r\n System.out.println(\"getTimeEaten\");\r\n FoodBean instance = new FoodBean(5, \"Beans on toast\", \r\n Date.valueOf(\"2014-04-01\"), Time.valueOf(\"10:00:00\"), \r\n 100, 120, 5, 7, 500, 0, 3);\r\n Time expResult = Time.valueOf(\"10:00:00\");\r\n Time result = instance.getTimeEaten();\r\n assertEquals(expResult, result);\r\n }",
"private String doValidTimeCheck(String pDateTime) {\n String aDateTime = pDateTime;\n\n if (pDateTime.length() > 0) {\n String aTime = pDateTime.substring(8);\n if (aTime.matches(\"240000\")) {\n aDateTime = pDateTime.substring(0,8) + \"235900\";\n }\n }\n return aDateTime;\n }",
"@Test\n\tpublic void testGetSubtitlesTimeS2() {\n\t\ttry {\n\t\t\tSubtitleSeq seq = SubtitleSeqFactory.getSubtitleSeq();\n\t\t\tseq.addSubtitle(new SubtitleSt(new TimeSt(\"00\", \"00\", \"35\", \"536\"), new TimeSt(\"00\", \"00\", \"37\", \"746\"), \"[whistling]\"));\n\n\t\t\tassertNull(\"Method getSubtitle(Time) not working correctly\", seq.getSubtitle(new TimeSt(\"00\", \"00\", \"30\", \"536\")));\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Test\n\tpublic void getTheCurrentDateSystem() {\n\t\tAssert.assertNotNull(\"The actual date is returned in the expected format \",\n\t\t\t\tTimeMilisecondHelper.fromMilisecondsToDate());\n\t}",
"@Test public void shouldGive180MinFor650cent() {\r\n // Three hours: $1.5+2.0+3.0\r\n assertEquals( 3 * 60 /*minutes*/ , rs.calculateTime(650) ); \r\n }",
"@Test\n public void testSecs() {\n cT.setSeconds(secs);\n assertNotNull(cT.calcHMS()); \n }",
"@Test\n public void testTimeToPayOff() {\n assertEquals(expectedResults.getMonthsToPayOff(), results.getMonthsToPayOff());\n }",
"@Ignore\r\n @Test\r\n public void shouldReturnValidTime() {\n\r\n HealthCheck hc = client.healthCheck();\r\n assertNotNull(hc.getCurrentTime());\r\n }",
"@Test\n public void testFormatSeconds() {\n String seconds = TimeValuesHelper.formatSecondsToString(5);\n Assert.assertEquals(\"05\", seconds);\n }",
"public static boolean isValidTime(String test) {\n try {\n LocalTime.parse(test, TIME_FORMATTER);\n LocalTime.parse(test, TIME_FORMATTER_STRICT);\n return true;\n } catch (DateTimeParseException ex) {\n return false;\n }\n }",
"@Test\n public void testHiveParquetTimestampAsInt96_basic() throws Exception {\n BaseTestQuery.testBuilder().unOrdered().sqlQuery((\"SELECT convert_from(timestamp_field, 'TIMESTAMP_IMPALA') as timestamp_field \" + \"from cp.`parquet/part1/hive_all_types.parquet` \")).baselineColumns(\"timestamp_field\").baselineValues(TestBuilder.convertToLocalDateTime(\"2013-07-06 00:01:00\")).baselineValues(((Object) (null))).go();\n }",
"@Test\n public void testSetLocalTimeWithType() throws SQLException {\n LocalTime data = LocalTime.parse(\"16:21:51\");\n Time actual = insertThenReadWithType(data, Types.TIME, \"time_without_time_zone_column\", Time.class);\n Time expected = Time.valueOf(\"16:21:51\");\n assertEquals(expected, actual);\n }",
"static String timeConversion(String s) {\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean isAm = s.contains(\"AM\");\n\t\t\n\t\ts = s.replace(\"AM\", \"\");\n\t\ts = s.replace(\"PM\", \"\");\n\t\t\n\t\tString str[] = s.split(\":\");\n\t\tint time = Integer.parseInt(str[0]);\n\t\t\n\t\t\n\t\tif(time < 12 && !isAm) {\n\t\t\ttime = time + 12;\n\t\t\tsb.append(time).append(\":\");\n\t\t}else if(time == 12 && isAm) {\n\t\t\tsb.append(\"00:\");\n\t\t}else {\n\t\t\tif (time < 10) sb.append(\"0\").append(time).append(\":\");\n\t\t\telse sb.append(time).append(\":\");\n\t\t}\n\n\t\tsb.append(str[1]).append(\":\").append(str[2]);\n\t\treturn sb.toString();\n\t}",
"@Test\n public void testDateTimeToText() throws Exception {\n TimeZone timeZone = TimeZone.getTimeZone(\"GMT+05:00\");\n Calendar march17 = new GregorianCalendar(2012, 2, 17, 12, 34, 56);\n march17.setTimeZone(timeZone);\n march17.add(Calendar.MILLISECOND, 789);\n DateConverter.XML_DATETIME.setTimeZone(timeZone);\n String result = DateConverter.XML_DATETIME.toText(mockContext, march17.getTime());\n assertEquals(\"2012-03-17T12:34:56.789+05:00\", result);\n }",
"@Test\n public void testSetLocalTimeAndReadBack() throws SQLException {\n // TODO: fix for binary mode.\n // Avoid micros truncation in org.postgresql.jdbc.PgResultSet#internalGetObject\n assumeBinaryModeRegular();\n LocalTime data = LocalTime.parse(\"16:21:51.123456\");\n\n insertWithoutType(data, \"time_without_time_zone_column\");\n\n String readBack = readString(\"time_without_time_zone_column\");\n assertEquals(\"16:21:51.123456\", readBack);\n }",
"@Test @SpecAssertion(id = \"432-A1\", section=\"4.3.2\")\n public void testConversion(){\n Assert.fail();\n }",
"@Test\n public void testTimeCal(){\n System.out.println(\"timeCal\");\n String measuringParameter = \"1h:20m\";\n SituationEventDAOImp instance = new SituationEventDAOImp();\n String expResult = \"80\";\n String result = instance.timeCal(measuringParameter);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n // fail(\"The test case is a prototype.\");\n }",
"@Test\r\n\tpublic void testGetStarttime() {\r\n\t\tassertTrue(breaku1.getStarttime().equals(\"08:00\"));\r\n\t\tassertTrue(externu1.getStarttime().equals(\"08:00\"));\r\n\t\tassertTrue(meetingu1.getStarttime().equals(\"08:00\"));\r\n\t\tassertTrue(teachu1.getStarttime().equals(\"08:00\"));\r\n\t}",
"private boolean checkTime(){\n\t\treturn false;\r\n\t}",
"static String timeConversion(String s) {\n /*\n * Write your code here.\n */\n String conversion = \"\";\n String time = s.substring(s.length()-2,s.length());\n String hour = s.substring(0,2);\n if(time.equals(\"AM\")){\n if(Integer.parseInt(hour)==12){\n conversion = \"00\"+s.substring(2,s.length()-2);\n }\n else{\n conversion = s.substring(0,s.length()-2);\n }\n }else{\n if(Integer.parseInt(hour)==12){\n conversion = \"12\"+s.substring(2,s.length()-2);\n }\n else{\n conversion = (Integer.parseInt(hour)+12) + s.substring(2,s.length()-2);\n }\n }\n\n return conversion;\n }",
"public interface TestInterfaceDateAndTime {\n Duration duration();\n Instant instant();\n LocalDate localDate();\n LocalDateTime localDateTime();\n LocalTime localTime();\n MonthDay monthDay();\n OffsetDateTime offsetDateTime();\n OffsetTime offsetTime();\n Period period();\n Year year();\n YearMonth yearMonth();\n ZonedDateTime zonedDateTime();\n ZoneId zoneId();\n ZoneOffset zoneOffset();\n}",
"@Test\r\n public void testTimestampDuration() throws Exception\r\n {\r\n Timestamp ts = new Timestamp(100110L).applyTimeOrigin(0L);\r\n\r\n GCEvent e = getGCEventToTest(ts, 7L);\r\n\r\n // time (dedicated accessor and generic field)\r\n assertEquals(100110L, e.getTime().longValue());\r\n assertEquals(100110L, ((Long)e.get(FieldType.TIME).getValue()).longValue());\r\n\r\n // offset (dedicated accessor and generic field)\r\n assertEquals(100110L, e.getOffset().longValue());\r\n assertEquals(\"100.110\", e.get(FieldType.OFFSET).getValue());\r\n\r\n // duration (dedicated accessor and generic field)\r\n assertEquals(7L, e.getDuration());\r\n assertEquals(7L, ((Long) e.get(FieldType.DURATION).getValue()).longValue());\r\n }",
"public void testConstructor() throws ParseException {\n DateFormat df = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss.SSS\");\n Date date = df.parse(\"2008-08-08 12:34:56.789\");\n Calendar cal = Calendar.getInstance();\n cal.setTime(date);\n \n AbstractTemporalLiteral tl1 = new MockTemporalLiteral(date);\n assertEquals(date, tl1.getValue());\n\n try {\n new MockTemporalLiteral((Date) null);\n fail(\"NullPointerException should have been thrown\");\n } catch (NullPointerException ex) {\n assertTrue(true);\n }\n \n AbstractTemporalLiteral tl2 = new MockTemporalLiteral(cal);\n assertEquals(date, tl2.getValue());\n \n try {\n new MockTemporalLiteral((Calendar) null);\n fail(\"NullPointerException should have been thrown\");\n } catch (NullPointerException ex) {\n assertTrue(true);\n }\n }",
"public void testTime()\n {\n SudokuTimer test = new SudokuTimer();\n\n mTimer.start();\n test.start();\n\n for (int i = 0; i < 1000000000; i++)\n {\n }\n\n assertTrue(mTimer.toString().equals(test.toString()));\n\n mTimer.stop();\n\n for (int i = 0; i < 1000000000; i++)\n {\n }\n\n assertFalse(mTimer.toString().equals(test.toString()));\n\n test.stop();\n mTimer.start();\n\n for (int i = 0; i < 1000000000; i++)\n {\n }\n\n mTimer.stop();\n\n //checks to the nearest second\n assertEquals(mTimer.getElapsedTime() / 1000,\n test.getElapsedTime() / 1000);\n }",
"public static void main(String[] args) {\n System.out.println(\"Eight Hours in Millis (Direct Conversion): \" + (8*60*60*1000));\n\n long eightHoursInMillisTimeUnit = TimeUnit.HOURS.toMillis(8);\n System.out.println(\"Eight Hours in Millis using TimeUnit: \" + eightHoursInMillisTimeUnit);\n }",
"@Test //ExSkip\n public void fieldTime() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n // By default, time is displayed in the \"h:mm am/pm\" format.\n FieldTime field = insertFieldTime(builder, \"\");\n\n Assert.assertEquals(\" TIME \", field.getFieldCode());\n\n // We can use the \\@ flag to change the format of our displayed time.\n field = insertFieldTime(builder, \"\\\\@ HHmm\");\n\n Assert.assertEquals(\" TIME \\\\@ HHmm\", field.getFieldCode());\n\n // We can adjust the format to get TIME field to also display the date, according to the Gregorian calendar.\n field = insertFieldTime(builder, \"\\\\@ \\\"M/d/yyyy h mm:ss am/pm\\\"\");\n Assert.assertEquals(field.getFieldCode(), \" TIME \\\\@ \\\"M/d/yyyy h mm:ss am/pm\\\"\");\n\n doc.save(getArtifactsDir() + \"Field.TIME.docx\");\n testFieldTime(new Document(getArtifactsDir() + \"Field.TIME.docx\")); //ExSkip\n }",
"public void testGetValue() throws Exception {\n Display display = Display.getDefault();\n Shell shell = new Shell(display, SWT.SHELL_TRIM);\n TimeProvider provider = new TimeProvider(shell, SWT.NONE);\n\n Text hourField = (Text)\n PrivateAccessor.getField(provider, \"hoursTextField\");\n Text minField = (Text)\n PrivateAccessor.getField(provider, \"minutesTextField\");\n Text secField = (Text)\n PrivateAccessor.getField(provider, \"secondsTextField\");\n\n hourField.setText(\"10\");\n minField.setText(\"15\");\n secField.setText(\"59\");\n assertEquals(\"Unexpected time value\", \"10:15:59\", provider.getValue());\n\n hourField.setText(\"\");\n minField.setText(\"\");\n secField.setText(\"5\");\n assertEquals(\"Unexpected time value\", \"5s\", provider.getValue());\n\n hourField.setText(\"\");\n minField.setText(\"2\");\n secField.setText(\"\");\n assertEquals(\"Unexpected time value\", \"2min\", provider.getValue());\n\n hourField.setText(\"1\");\n minField.setText(\"\");\n secField.setText(\"\");\n assertEquals(\"Unexpected time value\", \"1h\", provider.getValue());\n\n hourField.setText(\"1\");\n minField.setText(\"\");\n secField.setText(\"1\");\n assertEquals(\"Unexpected time value\", \"01:00:01\", provider.getValue());\n\n hourField.setText(\"\");\n minField.setText(\"\");\n secField.setText(\".1234\");\n assertEquals(\"Unexpected time value\", \"0.1234s\", provider.getValue());\n\n hourField.setText(\"2\");\n minField.setText(\"\");\n secField.setText(\".1234\");\n assertEquals(\"Unexpected time value\", \"02:00:00.1234\", provider.getValue());\n\n hourField.setText(\"\");\n minField.setText(\"2\");\n secField.setText(\"5\");\n assertEquals(\"Unexpected time value\", \"00:02:05\", provider.getValue());\n\n hourField.setText(\"3\");\n minField.setText(\"\");\n secField.setText(\"5\");\n assertEquals(\"Unexpected time value\", \"03:00:05\", provider.getValue());\n }",
"public static void main(String[] args) {\n\t\tString n = \"수 10:00~18:30/목,토 09:00~13:00\";\n\t\t\n\t\tSystem.out.println(isTimePatternIn(n));\n\t}",
"@Test\n public void testSetLocalTimeWithoutType() throws SQLException {\n LocalTime data = LocalTime.parse(\"16:21:51\");\n Time actual = insertThenReadWithoutType(data, \"time_without_time_zone_column\", Time.class);\n Time expected = Time.valueOf(\"16:21:51\");\n assertEquals(expected, actual);\n }",
"@Test\n public void testTimeArithmExpr() {\n if (!Config.enable_date_conversion) {\n String sql = \"SELECT * FROM t1 WHERE col1 < date '1994-01-01' + interval '1' year\";\n\n PlanChecker.from(connectContext)\n .analyze(sql)\n .rewrite()\n .matches(\n logicalFilter(logicalOlapScan())\n .when(f -> ((LessThan) f.getPredicate()).right() instanceof DateLiteral)\n );\n }\n }",
"T getEventTime();",
"@Test\n public void generatedFormatIsParsable()\n {\n Date originalDate = new Date();\n String dateAsString = DateTimeAdapter.printDate( originalDate );\n Date parsedDate = DateTimeAdapter.parseDate( dateAsString );\n \n assertThat( parsedDate, equalTo( originalDate ) );\n }",
"private static void assertTimeseriesResultValue(String msg, Result expected, Result actual)\n {\n Assert.assertEquals(StringUtils.format(\"%s: timestamp\", msg), expected.getTimestamp(), actual.getTimestamp());\n\n TimeseriesResultValue expectedVal = (TimeseriesResultValue) expected.getValue();\n TimeseriesResultValue actualVal = (TimeseriesResultValue) actual.getValue();\n\n final Map<String, Object> expectedMap = expectedVal.getBaseObject();\n final Map<String, Object> actualMap = actualVal.getBaseObject();\n\n assertRow(\n msg,\n new MapBasedRow(expected.getTimestamp(), expectedMap),\n new MapBasedRow(actual.getTimestamp(), actualMap)\n );\n }",
"@Test\n public void test_column_type_detection_datetimes_04() throws SQLException {\n testColumnTypeDetection(\"x\", NodeFactory.createLiteral(\"13:15:00.123\", XSDDatatype.XSDtime), true, Types.TIME, Time.class.getCanonicalName());\n }",
"@Test\n public void test_column_type_detection_datetimes_03() throws SQLException {\n testColumnTypeDetection(\"x\", NodeFactory.createLiteral(\"13:15:00\", XSDDatatype.XSDtime), true, Types.TIME, Time.class.getCanonicalName());\n }",
"@Test\n public void testOdtToTs() {\n Instant now = Instant.now();\n OffsetDateTime timestamp = OffsetDateTime.ofInstant(now, ZoneOffset.UTC);\n Timestamp expResult = Timestamps.fromMillis(now.toEpochMilli());\n\n Timestamp result = ProtoUtils.odtToTs(timestamp);\n assertThat(result).isEqualTo(expResult);\n }",
"@Test\n void deve_retornar_o_periodo_second_period_in() {\n List<LocalTime> localTimes = Arrays.asList(LocalTime.parse(\"10:30:00\"), LocalTime.parse(\"10:30:00\"));\n TimeCourseEnum response = timeService.addPeriod(localTimes);\n Assert.assertEquals(TimeCourseEnum.SECOND_PERIOD_IN, response);\n }",
"IDateTimeValueType normalize();",
"static String timeConversion(String s) throws ParseException {\n SimpleDateFormat to = new SimpleDateFormat(\"HH:mm:ss\");\n SimpleDateFormat from = new SimpleDateFormat(\"hh:mm:ssa\");\n Date parse = from.parse(s);\n return to.format(parse);\n\n }",
"@Test\n public void is_restaurant_open_should_return_true_if_time_is_between_opening_and_closing_time_Failure_Scenario(){\n\n int isRestaurantOpened = restaurant.isRestaurantOpen().size();\n restaurant.isRestaurantOpen(\"Invalid Input\");\n assertEquals(\"Invalid Input\",restaurant.isRestaurantOpen().size());\n System.out.println(\"Enter proper timing in proper format 23:00:00\")\n\n }",
"public void testParser1() throws Exception {\n // YYYY-MM-DDThh:mm:ss.sTZD => 1997-07-16T19:20:30.45+02:00\n Calendar ref = Calendar.getInstance(TimeZone.getTimeZone(\"GMT+2:00\"));\n ref.set(1997, 06, 16, 19, 20, 30);\n ref.set(Calendar.MILLISECOND, 45);\n Calendar cal = DateParser.parse(\"1997-07-16T19:20:30.045+02:00\");\n assertEquals(ref.getTime(), cal.getTime());\n // calendars are not equals since they have different time zones - but\n // datetime in milliseconds are the same\n }",
"public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n System.out.print(TimeConvert(s.nextLine())); \n }",
"private boolean timeValidation(String time){\n if(! time.matches(\"(?:[0-1][0-9]|2[0-4]):[0-5]\\\\d\")){\n return false;\n }\n return true;\n }",
"@Test\n\tpublic void testParseDate1() throws ParseException {\n\t\tDate date = ParserFacade.getInstance().parseDate(\"1/2 2am\");\n\n\t\tCalendar cal = Calendar.getInstance();\n\t\tcal.set(Calendar.DATE, 1);\n\t\tcal.set(Calendar.MONTH, 1);\n\t\tcal.set(Calendar.HOUR_OF_DAY, 2);\n\t\tcal.set(Calendar.MINUTE, 0);\n\t\tcal.set(Calendar.SECOND, 0);\n\t\tcal.set(Calendar.MILLISECOND, 0);\n\t\tassertEquals(cal.getTime(), date);\n\n\t}",
"public void testGetTimeEntries() throws Exception {\r\n TimeEntry timeEntry = AccuracyTestHelper.createTimeEntry(null);\r\n instance.createTimeEntries(new TimeEntry[] {timeEntry}, true);\r\n TimeEntry[] timeEntries = instance.getTimeEntries(new long[] {timeEntry.getId()});\r\n\r\n assertEquals(\"Failed to get the time entries.\", timeEntries[0], timeEntry);\r\n }",
"private void testInvalidTimeConvert(String filterString) {\n Expression originalExpression = CalciteSqlParser.compileToExpression(filterString);\n Expression optimizedFilterExpression = OPTIMIZER.optimize(CalciteSqlParser.compileToExpression(filterString));\n assertEquals(optimizedFilterExpression, originalExpression);\n }",
"public static void main(String args[])\n {\n // Check for no arguments.\n if (args.length == 0) {\n usage();\n }\n\n // Check the command.\n if (args[0].equals(\"test\")) {\n\n AbsTime now = new AbsTime();\n AbsTime later = new AbsTime(RelTime.factory(10));\n\n System.out.println(\"compare now, later: \" + now.compare(later));\n System.out.println(\"compare later, now: \" + later.compare(now));\n System.out.println(\"compare now, now: \" + now.compare(now));\n System.out.println(\"compare ASAP, later: \" + ASAP.compare(later));\n System.out.println(\"compare NEVER, later: \" + NEVER.compare(later));\n System.out.println(\"compare now, ASAP: \" + now.compare(ASAP));\n System.out.println(\"compare now, NEVER: \" + now.compare(NEVER));\n System.out.println(\"compare ASAP, ASAP: \" + ASAP.compare(ASAP));\n System.out.println(\"compare NEVER, NEVER: \" + NEVER.compare(NEVER));\n System.out.println(\"compare ASAP, NEVER: \" + ASAP.compare(NEVER));\n System.out.println(\"compare NEVER, ASAP: \" + NEVER.compare(ASAP));\n\n AbsTime.setTheirDefaultFormat(Format.UTC_STRING);\n System.out.println(new AbsTime() + \" doing 200000 compares\");\n for (int i = 0; i < 100000; i++) {\n now.compare(later);\n now.compare(NEVER);\n }\n System.out.println(new AbsTime() + \" doing 200000 isBefore()s\");\n for (int i = 0; i < 100000; i++) {\n now.isBefore(later);\n now.isBefore(NEVER);\n }\n System.out.println(new AbsTime() + \" doing 200000 isAfter()s\");\n for (int i = 0; i < 100000; i++) {\n now.isAfter(later);\n now.isAfter(NEVER);\n }\n System.out.println(new AbsTime() + \" done\");\n\n } else if (args[0].equals(\"clock\")) {\n // The current argument.\n int iArg;\n\n // Parse the command line options.\n iArg = 1;\n while (iArg < args.length) {\n usage();\n }\n\n // Make the clock.\n // BATClock clock = new BATClock(reqFont,reqBGColor,reqFGColor);\n } else if (args[0].equals(\"formats\")) {\n System.out.println(\"DECIMAL_BAT\");\n System.out.println(\"DEFAULT_FORMAT\");\n System.out.println(\"FORMATTED_BAT\");\n System.out.println(\"HEX_BAT\");\n System.out.println(\"UTC_STRING\");\n } else if (args[0].equals(\"print\")) {\n // The current argument.\n int iArg;\n // The requested format.\n Format reqFmt = AbsTime.getTheirDefaultFormat();\n // The time.\n AbsTime time = null;\n\n // Parse the command line options.\n iArg = 1;\n while (iArg < args.length) {\n if (args[iArg].equals(\"-f\")) {\n iArg++;\n if (iArg >= args.length) {\n usage();\n }\n if (args[iArg].equals(\"DECIMAL_BAT\")) {\n reqFmt = Format.DECIMAL_BAT;\n } else if (args[iArg].equals(\"DEFAULT_FORMAT\")) {\n reqFmt = AbsTime.getTheirDefaultFormat();\n } else if (args[iArg].equals(\"FORMATTED_BAT\")) {\n reqFmt = Format.FORMATTED_BAT;\n } else if (args[iArg].equals(\"HEX_BAT\")) {\n reqFmt = Format.HEX_BAT;\n } else if (args[iArg].equals(\"UTC_STRING\")) {\n reqFmt = Format.UTC_STRING;\n } else {\n usage();\n }\n iArg++;\n } else if (args[iArg].charAt(0) != '-') {\n // Not an option, must be the time.\n try {\n time = new AbsTime(args[iArg]);\n } catch (Time.Ex_TimeNotAvailable e) {\n System.out.println(e.toString());\n }\n iArg++;\n // Check that this is the last arg.\n if (iArg < args.length) {\n usage();\n }\n } else {\n // Invalid arg.\n usage();\n }\n }\n\n // Print the time object.\n if (time != null) {\n System.out.println(time.toString(reqFmt));\n } else {\n usage();\n }\n } else if (args[0].equals(\"now\")) {\n // The current argument.\n int iArg;\n // The requested format.\n Format reqFmt = AbsTime.getTheirDefaultFormat();\n // True if repeat was requested.\n boolean doRpt = false;\n\n // Parse the command line options.\n iArg = 1;\n while (iArg < args.length) {\n if (args[iArg].equals(\"-f\")) {\n iArg++;\n if (iArg >= args.length) {\n usage();\n }\n if (args[iArg].equals(\"DECIMAL_BAT\")) {\n reqFmt = Format.DECIMAL_BAT;\n } else if (args[iArg].equals(\"DEFAULT_FORMAT\")) {\n reqFmt = AbsTime.getTheirDefaultFormat();\n } else if (args[iArg].equals(\"FORMATTED_BAT\")) {\n reqFmt = Format.FORMATTED_BAT;\n } else if (args[iArg].equals(\"HEX_BAT\")) {\n reqFmt = Format.HEX_BAT;\n } else if (args[iArg].equals(\"UTC_STRING\")) {\n reqFmt = Format.UTC_STRING;\n } else {\n usage();\n }\n iArg++;\n } else if (args[iArg].equals(\"-r\")) {\n doRpt = true;\n iArg++;\n } else {\n usage();\n }\n }\n\n // Make an AbsTime object, then print it in the appropriate\n // format.\n try {\n if (doRpt) {\n while (true) {\n System.out.print((new AbsTime()).toString(reqFmt) + \"\\r\");\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n }\n }\n } else {\n System.out.println((new AbsTime()).toString(reqFmt));\n }\n } catch (Time.Ex_TimeNotAvailable e) {\n System.out.println(\"time not available on this host\");\n System.exit(1);\n }\n } else {\n // Bad command argument.\n usage();\n }\n }",
"public static String timeConversion(String s) {\n // Write your code here\n String end = s.substring(2, s.length() - 2);\n String ans = s.substring(0, s.length() - 2);\n if (s.charAt(8) == 'A') {\n return s.startsWith(\"12\") ? \"00\" + end : ans;\n }\n\n return s.startsWith(\"12\") ? ans : (Integer.parseInt(s.substring(0, 2)) + 12) + end;\n }",
"@Test\n public void timestampInvalidString() throws Exception {\n String retVal = new SynapseHelper().serializeToSynapseType(MOCK_TEMP_DIR, TEST_PROJECT_ID, TEST_RECORD_ID,\n TEST_FIELD_NAME, UploadFieldTypes.TIMESTAMP, new TextNode(\"1234567890\"));\n assertNull(retVal);\n }",
"public void testElementWithFormatAndConverterType() {\n ElementWithFormatAndConverterTypeTestDTO obj = new ElementWithFormatAndConverterTypeTestDTO();\n obj.element = getDateForFormatAndConverter(\"28.02.2007:15:21:27\");\n assertTrue(JSefaTestUtil.serialize(XML, obj).indexOf(\"2007-02-28T14:21:27.000-01:00\") >= 0);\n }",
"@Test\n public void shouldConvertATransactionMetricsRequestToTransactionMetricActual() {\n TransactionMetricsRequest transactionMetricsRequest =\n from(TransactionMetricsRequest.class).gimme(TransactionMetricsRequestTemplate.ACTUAL_EPOCH_MILLIS);\n\n // WHEN I try to convert the object\n TransactionMetric transactionMetricConverted = transactionMetricsRequestToTransactionMetric.convert(transactionMetricsRequest);\n\n // THEN it should be converted successfully\n then(transactionMetricConverted.getTime()).isEqualTo(LocalDateTime.of(2018, 6, 24, 6, 24, 54));\n then(transactionMetricConverted.getAmount()).isEqualTo(12.3);\n }",
"private String TimeConversion() {\n\n int hours, minutes, seconds, dayOfWeek, date, month, year;\n\n seconds = ((raw[27] & 0xF0) >> 4) + ((raw[28] & 0x03) << 4);\n minutes = ((raw[28] & 0xFC) >> 2);\n hours = (raw[29] & 0x1F);\n dayOfWeek = ((raw[29] & 0xE0) >> 5);\n date = (raw[30]) & 0x1F;\n month = ((raw[30] & 0xE0) >> 5) + ((raw[31] & 0x01) << 3);\n year = (((raw[31] & 0xFE) >> 1) & 255) + 2000;\n\n\n\n return hR(month) + \"/\" + hR(date) + \"/\" + year + \" \" + hR(hours) + \":\" + hR(minutes) + \":\" + hR(seconds) + \":00\";\n }"
] | [
"0.7754518",
"0.73269373",
"0.6587803",
"0.6397502",
"0.6373127",
"0.635422",
"0.6301041",
"0.62623477",
"0.6214929",
"0.6174948",
"0.6162489",
"0.6161154",
"0.612306",
"0.6091123",
"0.607376",
"0.60611475",
"0.60574573",
"0.60542345",
"0.6006093",
"0.59842515",
"0.5948683",
"0.5946944",
"0.5928265",
"0.5925595",
"0.5895851",
"0.5893782",
"0.5884096",
"0.5863996",
"0.5859154",
"0.58327115",
"0.58073026",
"0.5795226",
"0.57861817",
"0.5761551",
"0.57572633",
"0.5755083",
"0.5739944",
"0.57283074",
"0.57178",
"0.5717428",
"0.57127",
"0.5704591",
"0.5702224",
"0.5700578",
"0.56928086",
"0.56808585",
"0.5664934",
"0.56630397",
"0.56584895",
"0.5653537",
"0.56446326",
"0.56440175",
"0.56419754",
"0.5641659",
"0.5628634",
"0.562267",
"0.5611431",
"0.5604077",
"0.55955404",
"0.55948037",
"0.5587986",
"0.5584257",
"0.55821246",
"0.5580152",
"0.5579677",
"0.55734044",
"0.55545795",
"0.554168",
"0.5532454",
"0.5531538",
"0.55300903",
"0.5524293",
"0.55192316",
"0.5509671",
"0.5507909",
"0.54817814",
"0.54797566",
"0.54699975",
"0.54474294",
"0.5446458",
"0.54423213",
"0.54418844",
"0.5440917",
"0.5440137",
"0.543618",
"0.54359096",
"0.5431527",
"0.5430541",
"0.54193544",
"0.5412492",
"0.54097253",
"0.5404149",
"0.5403073",
"0.5400865",
"0.5395431",
"0.53933877",
"0.5391642",
"0.5388875",
"0.5372992",
"0.5364864"
] | 0.77001584 | 1 |
The equivalent of advancing a pointer e.g. int ptr; int newPtr = ptr + 5; | public SampleVector shift(int shiftDistance) {
return new OffsetSampleVector(this.samples, this.size, shiftDistance);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addFive(int a){\r\n a = a + 5;\r\n }",
"public Offset add(Offset other) {\n return new Offset(other.X + X, other.Y + Y);\n }",
"public abstract void increaseThis();",
"void increase();",
"void increase();",
"void addHadithReferenceNo(Object newHadithReferenceNo);",
"public void incOffset( Integer increment ) {\n offset += increment;\n }",
"public void add()\n {\n set(++ current);\n }",
"public void addAtOffset(double dx, double dy) {\n\t\tGPoint prev = isEmpty() ? new GPoint(0, 0) : last();\n\t\tadd(prev.getX() + dx, prev.getY() + dy);\n\t}",
"public void add(int add) {\r\n value += add;\r\n }",
"com.walgreens.rxit.ch.cda.IVLPPDPQ addNewOffset();",
"public int IncrementOffset() {\n int oldOffset = offset;\n offset += MachineDependent.WORDSIZE;\n return oldOffset;\n }",
"public void addNodeAfterThis( int newdata ) {\r\n\t\tlink = new IntNode( newdata, link );\r\n\t}",
"protected Point getNewPointRelatively(Point p){\n\t\treturn new Point((int) (p.getX()-CELL_SIZE),(int) (p.getY()-CELL_SIZE));\n\t}",
"@Override public void incrementAddress( int offset )\n {\n super.incrementAddress( offset );\n if ( getPointer() > m_size )\n throw new RuntimeException( \"address out of range: \" + getPointer() );\n }",
"private static void increasePrimitive(int value) {\n value++;\n }",
"public void addAndReturnOld() {\n\n }",
"public void addToBill(int newBill){\n Bill = Bill + newBill;\n }",
"public int increase() {\r\n return ++value;\r\n }",
"@Override\r\n\tpublic int plus(int x, int y) {\n\t\treturn x + y;\r\n\t}",
"@Test\n\tpublic void addNodeAfterGiveNode() {\n\t\tSystem.out.println(\"Given a node as prev_node, insert a new node after the given node \");\n\t\tdll.push(4);\n\t\tdll.push(2);\n\t\tdll.push(1);\n\t\tdll.InsertAfter(dll.head.next, 3);\n\t\tdll.print();\n\t}",
"public void increment(){\n value+=1;\n }",
"void addSameAs(Object newSameAs);",
"public void inc(){\n this.current += 1;\n }",
"private static void increaseReference(Counter counter) {\n counter.advance(1);\n }",
"public void add1() {\r\n value++;\r\n }",
"void increase()\n {\n a++;\n b++ ;\n }",
"public void advance( )\r\n {\r\n\t if(isCurrent() != true){// Implemented by student.\r\n\t throw new IllegalStateException(\"no current element\");\r\n\t }\r\n\t else\r\n\t \t precursor = cursor;\r\n\t \t cursor = cursor.getLink(); // Implemented by student.\r\n }",
"Point add(Point otherPoint) {\n\t\treturn(new Point(x+otherPoint.x,y+otherPoint.y));\n }",
"public void addToPrimitive(int add) {\n primitiveCounter += add;\n }",
"public void addToEnd( int newdata ) {\t\t\r\n\t\tif( link == null )\r\n\t\t\tlink = new IntNode( newdata, null );\r\n\t\telse {\r\n\t\t\tIntNode current = link;\r\n\t\t\twhile( current.link != null ) {\r\n\t\t\t\tcurrent = current.link;\r\n\t\t\t} // end while\r\n\t\t\tIntNode newNode = new IntNode( newdata, null );\r\n\t\t\tcurrent.link = newNode;\r\n\t\t} // end else\r\n\t}",
"void add(int idx, float incr);",
"public void addPage(int newPage) {\r\n\t\tpage.addAtTail(newPage);\r\n\t}",
"private ListNode add(ListNode current, T datum) {\n\t\tif (current == null) {\n\t\t\tsize++;\n\t\t\treturn new ListNode(datum);\n\t\t}\n\t\telse {\n\t\t\tcurrent.next = add(current.next, datum);\n\t\t\treturn current;\n\t\t}\n\t}",
"protected int insert(int toAdd){\n\n tnode object = new tnode();\n\n return object.insert(toAdd);\n\n }",
"private Position<E> addBetween(E e, Node<E> pred, Node<E> succ) {\n\t\tNode<E> newest = new Node<>(e, pred, succ);\n\t\tpred.setNext(newest);\n\t\tsucc.setPrev(newest);\n\t\tsize++;\n\t\treturn newest;\n\t}",
"public void addLocX (int adder)\n {\n locX += adder;\n }",
"public abstract void increment(int delta);",
"protected void addMove(Move move) {\n moveHistory.add(move);\n pointer++;\n }",
"long getAndAdd(long delta);",
"public void advancePC(int offset) {\n pc = nPC;\n nPC += offset;\n }",
"public PointerAccess(Expression _pointer) {\n\t\tsuper(_pointer);\n\t}",
"long addAndGet(long delta);",
"public void addPoint() {\n points += 1;\n }",
"public void insertionRear( int val) {\r\n\t\tif(isFull()) return;\r\n\t\tLink2 newNode = new Link2(val);\r\n\t\ttail.next = newNode;\r\n\t\ttail = newNode;\r\n\t}",
"public static UnaryExpression increment(Expression expression) { throw Extensions.todo(); }",
"@Override\r\n\tpublic int plus(int left, int right) {\n\t\treturn left + right; \r\n\t\t//return 0;\r\n\t}",
"void addStartingHadithNo(Object newStartingHadithNo);",
"public void addAfter(Node prevNode , Integer newdata){\n if (prevNode==null){\n return;\n }\n\n Node n = new Node(newdata);\n n.next = prevNode.next;\n prevNode.next = n;\n\n }",
"public void insert(int value){\n linkedList.insertLast(value);\n }",
"public final int addAndGet(int delta) {\n return unsafe.getAndAddInt(this, valueOffset, delta) + delta;\n }",
"private native int nativeAdd(int x, int y);",
"void addHadithNo(Object newHadithNo);",
"private void InsertAt(IntRepList.OpNode node, IntRepList.OpNode current) {\n current.prev.next = node;\n node.prev = current.prev;\n node.next = current;\n }",
"@Override\r\n\tpublic void visit(PointerExpression pointerExpression) {\n\r\n\t}",
"public Size plus(Size other) {\n if (isZero()) {\n return other;\n } else if (other.isZero()) {\n return this;\n } else {\n return new Size(mJavaSize + other.mJavaSize,\n mRegisteredNativeSize + other.mRegisteredNativeSize);\n }\n }",
"public Integer add();",
"public static void main(String[] args) {\n\n int x = 10;\n int y = x++;\n System.out.println(y++ + \" \"+ x++ + \" \"+y);\n\n }",
"public void add(LinkedListInt other) {\nthis.size += other.size;\nNode current = head;\nif(head == null) {\nhead = other.head;\nreturn;\n}\nwhile(current.next != null)\ncurrent = current.next;\ncurrent.next = other.head;\n}",
"@Test\n\tpublic void addNodeBeforeGiveNode() {\n\t\tSystem.out.println(\"Given a node as prev_node, insert a new node Before the given node \");\n\t\tdll.push(4);\n\t\tdll.push(3);\n\t\tdll.push(1);\n\t\tdll.InsertBefore(dll.head.next, 2);\n\t\tdll.print();\n\t}",
"public void givePlayerPoints(int pointsToAdd) {\n this.points = this.points + pointsToAdd;\n }",
"protected void assignCurrentValue() {\n\t\tcurrentValue = new Integer(counter + incrValue);\n\t}",
"void add(int val);",
"public void add(int value) {\n Node newNode = new Node(value);\n if(this.head == null) { //head is a pointer\n this.head = newNode;\n } else {\n Node runner = this.head;\n while(runner.next != null) {\n runner = runner.next;\n }\n runner.next = newNode;\n }\n }",
"public static int addOne( int a){\n int b;\n //System.out.println(b+1);\n return a += 1;\n}",
"public final int getAndAdd(int delta) {\n return unsafe.getAndAddInt(this, valueOffset, delta);\n }",
"public void addAtHead(int val) {\n ListNode ptr=new ListNode(val);\n ptr.next=head;\n if(head==null)\n tail=ptr;\n head=ptr;\n size++;\n // display();\n }",
"public void addPoints(int addP){\n this.points += addP;\n }",
"public org.xmlsoap.schemas.wsdl.soap.TAddress addNewAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.xmlsoap.schemas.wsdl.soap.TAddress target = null;\n target = (org.xmlsoap.schemas.wsdl.soap.TAddress)get_store().add_element_user(ADDRESS$0);\n return target;\n }\n }",
"void append(int new_data) {\n\t\tNode new_node = new Node(new_data);\n\t\tNode last = head;\n\t\tnew_node.next = null;\n\t\tif (head == null) {\n\t\t\tnew_node.prev = null;\n\t\t\thead = new_node;\n\t\t\treturn;\n\t\t}\n\t\twhile (last.next != null)\n\t\t\tlast = last.next;\n\t\tlast.next = new_node;\n\t\tnew_node.prev = last;\n\t}",
"public Vector2D plus(Vector2D rhs)\n {\n return new Vector2D(this.x + rhs.x, this.y + rhs.y);\n }",
"public void addToCurrX(int x) {\n currX += x;\n }",
"public int valueAndIncrement() {\n\t\tint x = offset;\n\t\tnext();\n\t\treturn x;\n\t}",
"public void insertAtEnd(int val)\n\n {\n\n Node nptr = new Node(val, null, null); \n\n if(start == null)\n\n {\n\n start = nptr;\n\n end = start;\n\n }\n\n else\n\n {\n\n nptr.setLinkPrev(end);\n\n end.setLinkNext(nptr);\n\n end = nptr;\n\n }\n\n size++;\n\n }",
"public void increasePosition(float dx, float dy, float dz);",
"public void append(int new_data) \r\n\t\t{ \r\n\t\t Node new_node = new Node(new_data); \r\n\t\t \r\n\t\t if (head == null) \r\n\t\t { \r\n\t\t head = new Node(new_data); \r\n\t\t return; \r\n\t\t } \r\n\t\t \r\n\t\t new_node.next = null; \r\n\t\t \r\n\t\t Node last = head; \r\n\t\t while (last.next != null) \r\n\t\t last = last.next; \r\n\t\t \r\n\t\t last.next = new_node; \r\n\t\t return; \r\n\t\t}",
"private void addToMoves(char move) {\n this.prevMoves += move;\n }",
"public void addition(CallByReference a){\n x = a.x+5; //extract the value from the new \"a\" object\n //System.out.println(x);\n }",
"void addFullHadith(Object newFullHadith);",
"public void move(int mv){\n\t\t\tx+= mv;\n\t\t}",
"Node insertBefore(Node newChild, Node refChild);",
"public void addNode() {\n if (nodeCount + 1 > xs.length)\n resize();\n nodeCount++;\n }",
"@Test\n public void testListIteratorAdd() {\n DoubleLinkedList<Integer> list1 = new DoubleLinkedList<Integer>();\n ListIterator<Integer> list1It = list1.iterator();\n list1It.add(1);\n assertEquals(\"Testing add to an empty list\", new Integer(1), list1.getBack().getElement());\n list1It.add(2);\n assertEquals(\"Testing add to list with one element\", new Integer(2), list1.getBack().getElement());\n //move cursor back two spaces\n list1It.previous();\n list1It.previous();\n list1It.next();\n list1It.add(3);\n assertEquals(\"Testing add to list with two elements\", new Integer(3), list1.getFront().getNext().getElement());\n }",
"void setNext (ListNode newNext) { /* package access */ \n\t\tnext = newNext;\n\t}",
"@UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER})\n SelectorBuilderInterface<SelectorT> increaseOffsetBy(int additionalOffset);",
"private long moveOn(int amount) {\n\t\t\tthis.position += amount;\n\t\t\treturn amount;\n\t\t}",
"public void add(int toBeAdded) {\n\t\tif (this.myCount==this.myValues.length){\n\t\t\tSystem.err.println(\"No more space in array\");\n\t\t\tSystem.exit(1);\n\t\t}\n \tthis.myValues[this.myCount] = toBeAdded;\n this.myCount++;\n }",
"public Vector add(Vector other) {\n\t\treturn new Vector(x + other.x, y + other.y);\n\t}",
"public void Move(int x, int y)\r\n\t{\r\n\t\tP.x+=x;\r\n\t\tP.y+=y;\r\n\t}",
"public void insert(int val, Node ptr) { // not sure\n\t\tif (full()) {\n\t\t\tNode nextNode = this.getNext();\n\t\t\tInternalNode newNode = new InternalNode(degree, null, val, ptr, nextNode, this);\n\t\t\tthis.next = newNode;\n\t\t\tif (nextNode != null) {\n\t\t\t\tnextNode.prev = newNode;\n\t\t\t}\n\t\t\tint newKey = this.redistribute();\n\n\t\t\tReference theParent = this.getParent();\n\t\t\tif (theParent == null) {\n\t\t\t\tnew InternalNode(degree, this, newKey, newNode, null, null);\n\t\t\t} else {\n\t\t\t\tNode parentNode = theParent.getNode();\n\t\t\t\tparentNode.insert(newKey, newNode);\n\t\t\t}\n\t\t} else {\n\t\t\tint index = findKeyIndex(val);\n\t\t\tif (val > keys[lastindex]) {\n\t\t\t\tindex = this.getLast() + 1;\n\t\t\t}\n\t\t\tthis.insertSimple(val, ptr, index);\n\t\t}\n\t}",
"void addToAmount(double amount) {\n this.currentAmount += amount;\n }",
"public int nextOffset(int curr) {\n return curr + 1;\n }",
"public static Seq plus(Delta d1, Delta d2) {\n return new Delta((d1.num < d2 .num)?d1.num:d2.num, (d1.initial + d2.initial),\n (d1.delta + d2.delta));\n \n }",
"public void addTo(Vector3 addition) {\n\t\tthis.x += addition.x;\n\t\tthis.y += addition.y;\n\t\tthis.z += addition.z;\n\t}",
"public void add(Object incValue) {\n\t\tvalue = operate(\n\t\t\t\ttransform(value),\n\t\t\t\ttransform(incValue),\n\t\t\t\t(v1, v2) -> v1 + v2,\n\t\t\t\t(v1, v2) -> v1 + v2\n\t\t);\n\t}",
"void prepend(int value) {\n\t\tNode n = new Node(value);\n\t\tn.next = head;\n\t\thead = n;\n\t\tlength++;\n\t\t//print();\n\t}",
"public Node insertAfter(Node node);",
"void add(int value) {\n size++;\n\n int[] newItems = new int[size];\n\n System.arraycopy(items, 0, newItems, 0, items.length);\n\n newItems[newItems.length - 1] = value;\n\n items = newItems;\n }",
"public void add( Comparable newVal ) {\n \t//if _data is full, expand the array\n \tif (_size == _data.length){\n\t \texpand();\n \t}\n \t\n\tset(_lastPos + 1, newVal);\n \t//increases _lastPos and _size\n \t_lastPos++;\n \t_size++;\n }",
"public void increaseStartPos(int num) {\r\n this.startPos += num;\r\n }",
"Exp getPointerExp();"
] | [
"0.5576482",
"0.54723495",
"0.5380511",
"0.5379072",
"0.5379072",
"0.5366794",
"0.53465194",
"0.5296545",
"0.5277904",
"0.52601886",
"0.5232588",
"0.5207827",
"0.5204633",
"0.5194331",
"0.5188093",
"0.5183851",
"0.51779336",
"0.51729393",
"0.51326036",
"0.5125688",
"0.51075655",
"0.5102801",
"0.5086479",
"0.5072627",
"0.50578815",
"0.50036895",
"0.49974272",
"0.49946",
"0.4986732",
"0.49726993",
"0.49636585",
"0.49468225",
"0.49405137",
"0.49396408",
"0.49368396",
"0.49342075",
"0.49311268",
"0.49172077",
"0.49105176",
"0.48833495",
"0.48695558",
"0.48695314",
"0.48666814",
"0.48651722",
"0.48622394",
"0.4861673",
"0.48558614",
"0.4855662",
"0.4854632",
"0.48507196",
"0.4849931",
"0.48449206",
"0.48425066",
"0.4842483",
"0.48407543",
"0.48381746",
"0.48317546",
"0.48277983",
"0.4821769",
"0.48187375",
"0.48169583",
"0.48108268",
"0.48047698",
"0.48023114",
"0.480101",
"0.47973332",
"0.47952664",
"0.4794763",
"0.47870505",
"0.4786882",
"0.47868344",
"0.4783172",
"0.47657984",
"0.47620854",
"0.47588542",
"0.47548774",
"0.4750269",
"0.47459534",
"0.47454563",
"0.47454026",
"0.47440737",
"0.47419217",
"0.47414437",
"0.47406742",
"0.47378314",
"0.47353914",
"0.4729055",
"0.47270805",
"0.47230867",
"0.47190472",
"0.47155157",
"0.47098312",
"0.47091234",
"0.47084093",
"0.47051802",
"0.47028565",
"0.47005904",
"0.47004372",
"0.4699569",
"0.46976522",
"0.46961418"
] | 0.0 | -1 |
DBLoader keeps track of the different loading strategy for H2 and Hana. Created by cla on 4/10/16. | public interface DbLoader {
/**
* prepares the database
*/
void prepareDatabase();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void loadDatabase()\n\t{\n\t\ttry\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// Check to make sure the Bmod Database is there, if not, try \n\t\t\t\t// downloading from the website.\n\t\t\t\tif(!Files.exists(m_databaseFile))\n\t\t\t\t{\n\t\t\t\t\tFiles.createDirectories(m_databaseFile.getParent());\n\t\t\t\t\n\t\t\t\t\tbyte[] file = ExtensionPoints.readURLAsBytes(\"http://\" + Constants.API_HOST + HSQL_DATABASE_PATH);\n\t\t\t\t\tif(file.length != 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tFiles.deleteIfExists(m_databaseFile);\n\t\t\t\t\t\tFiles.write(m_databaseFile, file, StandardOpenOption.CREATE, StandardOpenOption.WRITE);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// make sure we have the proper scriptformat.\n\t\t\t\tsetScriptFormatCorrectly();\n\t\t\t}catch(NullPointerException|IOException ex)\n\t\t\t{\n\t\t\t\tm_logger.error(\"Could not fetch database from web.\", ex);\n\t\t\t}\n\t\t\t\n\t\n\t\t\t\n\t\t\tClass.forName(\"org.hsqldb.jdbcDriver\");\n\t\t\n\t\t\t\n\t\t\tString db = ExtensionPoints.getBmodDirectory(\"database\").toUri().getPath();\n\t\t\tconnection = DriverManager.getConnection(\"jdbc:hsqldb:file:\" + db, \"sa\", \"\");\n\t\t\t\n\t\t\t// Setup Connection\n\t\t\tCSVRecordLoader ldr = new CSVRecordLoader();\n\t\t\n\t\t\t// Load all of the building independent plugins\n\t\t\tfor(Record<?> cp : ldr.getRecordPluginManagers())\n\t\t\t{\n\t\t\t\tm_logger.debug(\"Creating table: \" + cp.getTableName());\n\t\t\t\t// Create a new table\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tgetPreparedStatement(cp.getSQLTableDefn()).execute();\n\t\t\t\t} catch(SQLException ex)\n\t\t\t\t{\n\t\t\t\t\t// Table exists\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tm_logger.debug(\"Doing index:\" + cp.getIndexDefn());\n\t\t\t\t\tif(cp.getIndexDefn() != null)\n\t\t\t\t\t\tgetPreparedStatement(cp.getIndexDefn()).execute();\n\t\t\t\t}catch(SQLException ex)\n\t\t\t\t{\t// index exists\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\n\t\t} catch (Exception ex)\n\t\t{\n\t\t\tex.printStackTrace();\n\t\t\tif(ex instanceof DatabaseIntegrityException)\n\t\t\t\tDatabase.handleCriticalError((DatabaseIntegrityException)ex);\n\t\t\telse\n\t\t\t\tDatabase.handleCriticalError(new DatabaseIntegrityException(ex));\n\t\t}\n\t\t\n\t}",
"@Test\r\n\tpublic void testLoad() {\n\t\tDalConfigure configure = null;\r\n\t\ttry {\r\n\t\t\tconfigure = DalConfigureFactory.load();\r\n\t\t\tassertNotNull(configure);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail();\r\n\t\t}\r\n\r\n\t\tDatabaseSet databaseSet = configure.getDatabaseSet(\"clusterName1\");\r\n\t\tassertTrue(databaseSet instanceof ClusterDatabaseSet);\r\n\t\tassertEquals(\"clusterName1\".toLowerCase(), ((ClusterDatabaseSet) databaseSet).getCluster().getClusterName());\r\n\t\ttry {\r\n\t\t\tconfigure.getDatabaseSet(\"clusterName1\".toLowerCase());\r\n\t\t\tfail();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tconfigure.getDatabaseSet(\"clusterName2\");\r\n\t\t\tfail();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tdatabaseSet = configure.getDatabaseSet(\"DbSetName\");\r\n\t\tassertTrue(databaseSet instanceof ClusterDatabaseSet);\r\n\t\tassertEquals(\"clusterName2\".toLowerCase(), ((ClusterDatabaseSet) databaseSet).getCluster().getClusterName());\r\n\t\ttry {\r\n\t\t\tconfigure.getDatabaseSet(\"DbSetName\".toLowerCase());\r\n\t\t\tfail();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"@Override\r\n\tprotected void initLoad() {\n\r\n\t}",
"public abstract void loadFromDatabase();",
"public static void loadDB() throws Exception {\n\t\t// Remove previously loaded data\n\t\tcolToData.clear();\n\t\t// Load dictionary from disk\n\t\tloadDictionary();\n\t\t// Collect columns to load in parallel\n\t\tList<ColumnRef> colsToLoad = new ArrayList<ColumnRef>();\n\t\tfor (TableInfo table : CatalogManager.currentDB.nameToTable.values()) {\n\t\t\tString tableName = table.name;\n\t\t\tfor (ColumnInfo column : table.nameToCol.values()) {\n\t\t\t\tString columnName = column.name;\n\t\t\t\tcolsToLoad.add(new ColumnRef(tableName, columnName));\n\t\t\t}\n\t\t}\n\t\t// Load columns\n\t\tcolsToLoad.stream().parallel().forEach((colRef) -> {\n\t\t\ttry {\n\t\t\t\tSystem.out.println(\"Loading column \" + colRef.toString());\n\t\t\t\tloadColumn(colRef);\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.err.println(\"Error loading column \" + colRef.toString());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t});\n\t\tSystem.out.println(\"Loaded database.\");\n\t}",
"public int loadDatabase(){\n\n try {\n BufferedReader bufferedReader = new BufferedReader(new FileReader(databaseFileName));\n String line = bufferedReader.readLine();\n while (line != null) {\n HashMap<String,String> activityString = parseStatement(line);\n System.out.println(activityString);\n Activity activity = new Activity();\n activity.create(activityString);\n allActivities.add(activity);\n line = bufferedReader.readLine();\n\n }\n }\n catch(Exception e){\n System.out.println(e);\n return -1;\n }\n\n\n //TODO: write utility to load database, including loading csv hashes into activity classes. Activity class - > needs list of accepted attr?\n\n return 0;\n }",
"private void initDataLoader() {\n\t}",
"public static void load() {\n for (DataSourceSwapper each : ServiceLoader.load(DataSourceSwapper.class)) {\n loadOneSwapper(each);\n }\n }",
"private void preloadDb() {\n String[] branches = getResources().getStringArray(R.array.branches);\n //Insertion from xml\n for (String b : branches)\n {\n dataSource.getTherapyBranchTable().insertTherapyBranch(b);\n }\n String[] illnesses = getResources().getStringArray(R.array.illnesses);\n for (String i : illnesses)\n {\n dataSource.getIllnessTable().insertIllness(i);\n }\n String[] drugs = getResources().getStringArray(R.array.drugs);\n for (String d : drugs)\n {\n dataSource.getDrugTable().insertDrug(d);\n }\n }",
"@Override\n protected int getLoaderId() {\n return 1;\n }",
"Map<String,DataSource> load(Set<String> existsDataSourceNames) throws Exception;",
"@Override\n\t\t\t\t\tpublic void beginLoad(int type) {\n\n\t\t\t\t\t}",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n GoalandTaskMatcherContract.GoalEntry.MY_GOAL_ID,\n GoalandTaskMatcherContract.GoalEntry.COLUMN_GOAL_DESCRIPTION };\n\n // This loader will execute the ContentProvider's query method on a background thread\n return new CursorLoader(this, // Parent activity context\n mCurrentGoalUri, // Query the content URI for the current product\n projection, // Columns to include in the resulting Cursor\n null, // No selection clause\n null, // No selection arguments\n null); // Default sort order\n }",
"public interface Loader {\n\t\tpublic void load();\n\t}",
"private void loadStateDatabase() {\n new Thread( new Runnable() {\n public void run() {\n try {\n loadStates();\n } catch ( final IOException e ) {\n throw new RuntimeException( e );\n }\n }\n }).start();\n }",
"@Override\n public void onDbStarted() {\n }",
"public static StorageLoader initialize(String... paths) throws LoaderInitializationFailureException {// TODO: 16. 10. 17 Not Nomalize uri yet.\n StorageLoader loader;\n URI uri;\n HashMap<String, Storage> tempStorages =new HashMap<>();\n Storage storage;\n\n for (String path: paths){\n try{\n uri =new URI(path);\n storage= Contexts.generateStorageConnection(uri.getScheme(), path);\n tempStorages.putIfAbsent(path, storage);\n // TODO: 16. 10. 17 Log metadata of Storage Instances.\n }catch (URISyntaxException e) {continue;}\n catch (InvaildStorageException e) {continue;}\n }\n if (tempStorages.isEmpty()) new LoaderInitializationFailureException();\n loader = new StorageLoader(tempStorages);\n return loader;\n }",
"private interface LoadStrategy {\n /**\n * Perform loading on the specified module.\n * \n * @param logger logs the process\n * @param moduleName the name of the process\n * @param moduleDef a module\n * @throws UnableToCompleteException\n */\n void load(TreeLogger logger, String moduleName, ModuleDef moduleDef)\n throws UnableToCompleteException;\n }",
"private static void loadDriver() {\n try {\n Class.forName(\"org.h2.Driver\");\n } catch (ClassNotFoundException e) {\n Logger.getLogger(Model.class.getName()).log(Level.WARNING, \"Unable to load H2 driver\", e);\n }\n\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n } catch (ClassNotFoundException e) {\n Logger.getLogger(Model.class.getName()).log(Level.WARNING, \"Unable to load mysql driver\", e);\n }\n }",
"@Override\r\n public Loader<Cursor> onCreateLoader(int id, Bundle args) {\n String[] projection = {\r\n SportEntry._ID,\r\n SportEntry.COLUMN_A_NAME,\r\n SportEntry.COLUMN_B_NAME,\r\n SportEntry.COLUMN_A_SCORE,\r\n SportEntry.COLUMN_B_SCORE\r\n };\r\n // This loader will execute the ContentProvider's query method on a background thread\r\n return new CursorLoader(this, //Parent activity context\r\n null, //Provider content URI to query\r\n projection, //Columns to include in the resulting Cursor\r\n null, //No selection clause\r\n null, //No selection clause\r\n null ); //Default sort order\r\n }",
"protected abstract void loadData();",
"@Override\r\n\tprotected void load() {\n\t\t\r\n\t}",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n DKSNContract.DKSNEntry._ID,\n DKSNContract.DKSNEntry.COLUMN_DKSN_PRODUCT_NAME,\n DKSNContract.DKSNEntry.COLUMN_DKSN_PRICE,\n DKSNContract.DKSNEntry.COLUMN_DKSN_QUANTITY,\n DKSNContract.DKSNEntry.COLUMN_DKSN_SUPPLIER_NAME,\n DKSNContract.DKSNEntry.COLUMN_DKSN_SUPPLIER_NO\n\n };\n\n //Get database from content resolver query as defined in DKSNProvider java class using the parameters set under the query method\n return new CursorLoader(this,\n DKSNContract.DKSNEntry.CONTENT_URI,\n projection,\n null,\n null,\n null);\n }",
"@Override\r\n\tpublic boolean supportsDb(String type) {\r\n \treturn true;\r\n }",
"@NonNull\n @Override\n public Loader<Cursor> onCreateLoader(int loaderId, @Nullable Bundle loaderArgs) {\n switch (loaderId) {\n\n// If the loader requested is our detail loader, return the appropriate CursorLoader\n case ID_DETAIL_LOADER:\n\n return new CursorLoader(this,\n mUri,\n MAIN_FORECAST_PROJECTION,\n null,\n null,\n null);\n\n default:\n throw new RuntimeException(\"Loader Not Implemented: \" + loaderId);\n }\n }",
"public static void initLoaderType() {\r\n boolean autoaddBoolean = GrouperLoaderConfig.retrieveConfig().propertyValueBoolean(\"loader.autoadd.typesAttributes\", true);\r\n\r\n if (!autoaddBoolean) {\r\n return;\r\n }\r\n\r\n GrouperSession grouperSession = null;\r\n\r\n try {\r\n\r\n grouperSession = GrouperSession.startRootSession(false);\r\n\r\n GrouperSession.callbackGrouperSession(grouperSession, new GrouperSessionHandler() {\r\n\r\n public Object callback(GrouperSession grouperSession)\r\n throws GrouperSessionException {\r\n try {\r\n \r\n GroupType loaderType = GroupType.createType(grouperSession, \"grouperLoader\", false);\r\n\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderType\", false);\r\n \r\n loaderType.addAttribute(grouperSession,\"grouperLoaderDbName\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderScheduleType\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderQuery\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderQuartzCron\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderIntervalSeconds\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderPriority\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderAndGroups\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderGroupTypes\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderGroupsLike\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderGroupQuery\", false);\r\n\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderDisplayNameSyncBaseFolderName\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderDisplayNameSyncLevels\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderDisplayNameSyncType\", false);\r\n\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderFailsafeUse\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMaxGroupPercentRemove\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMaxOverallPercentGroupsRemove\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMaxOverallPercentMembershipsRemove\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMinGroupSize\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMinManagedGroups\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderFailsafeSendEmail\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMinGroupNumberOfMembers\", false);\r\n loaderType.addAttribute(grouperSession,\"grouperLoaderMinOverallNumberOfMembers\", false);\r\n \r\n } catch (Exception e) {\r\n throw new RuntimeException(e.getMessage(), e);\r\n } finally {\r\n GrouperSession.stopQuietly(grouperSession);\r\n }\r\n return null;\r\n }\r\n\r\n });\r\n\r\n //register the hook if not already\r\n GroupTypeTupleIncludeExcludeHook.registerHookIfNecessary(true);\r\n \r\n } catch (Exception e) {\r\n throw new RuntimeException(\"Problem adding loader type/attributes\", e);\r\n }\r\n\r\n }",
"void distributedSingleModeLoading( File dataPath, File resultsPath, int scenarioNumber );",
"@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 }",
"boolean supportsParallelLoad();",
"@Override\n public void load(String filename, DatasourceSchema datasourceSchema)\n throws BigQueryLoaderException {\n GcsFileToBqTableLoader gcsFileToBqTableLoader = new GcsFileToBqTableLoader(\n bigQueryRepository, filename, datasourceSchema);\n gcsFileToBqTableLoader.load();\n\n // 2- crée la table si elle n'existe pas\n if (bigQueryRepository.tableExists(datasourceSchema.getTableId())) {\n LOGGER.info(\"Table \" + datasourceSchema.getFullTableName() + \" already exists\");\n } else {\n try {\n bigQueryRepository\n .runDDLQuery(\"CREATE TABLE \" + datasourceSchema.getFullTableName() + \" AS \"\n + \"SELECT *, CURRENT_DATETIME() AS load_date_time FROM \" + datasourceSchema\n .getFullTableTmpName() + \" LIMIT 0\");\n } catch (Exception e) {\n throw new BigQueryLoaderException(\n \"Cannot create table \" + datasourceSchema.getFullTableTmpName(), e);\n }\n }\n\n // 3- déverse tout la table cible avec le champ load date time\n try {\n bigQueryRepository.runDDLQuery(\"INSERT INTO `\" + datasourceSchema.getFullTableName() + \"` \"\n + \"SELECT *, CURRENT_DATETIME() AS load_date_time FROM `\" + datasourceSchema\n .getFullTableTmpName() + \"`\");\n } catch (Exception e) {\n throw new BigQueryLoaderException(\n \"Cannot insert from \" + datasourceSchema.getFullTableTmpName()\n + \" into destination table \" + datasourceSchema.getFullTableName(), e);\n }\n\n // 4- drop la table temporaire\n bigQueryRepository.dropTable(datasourceSchema.getTmpTableId());\n }",
"@Override\n\tpublic void merge(JobConfig config) {\n\t\tSystem.out.println(\"========>>假装从数据库load一下配置\");\n\t}",
"@Override\n public void onDatabaseLoaded() {}",
"public interface RecordLoader {\n \n public void load(BaseFilter filter, EntityManager em);\n\n}",
"@Override\n\tprotected void load() {\n\t\t\n\t}",
"@Override\n\tprotected void load() {\n\t\t\n\t}",
"@Override\n\tprotected void load() {\n\t\t\n\t}",
"@Override\n\t\t\t\t\t\t\t\t\tpublic void downLoadBegin() {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}",
"public static void loadDatabase(){\n\t\ttry(BufferedReader reader = new BufferedReader(new FileReader(filePath))){\n\t\t\tfor(String line; (line = reader.readLine()) != null; ){\n\t\t\t\tString[] info = line.split(Pattern.quote(\"|\"));\n\t\t\t\tString path = info[0].trim();\n\t\t\t\tString fileID = info[1];\n\t\t\t\tInteger nOfChunks = Integer.parseInt(info[2]);\n\t\t\t\tPair<FileID, Integer> pair = new Pair<FileID, Integer>(new FileID(fileID), nOfChunks);\n\t\t\t\tPeer.fileList.put(path, pair);\n\t\t\t}\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t/*\n\t\t * LOAD THE CHUNK LIST\n\t\t */\n\t\ttry(BufferedReader reader = new BufferedReader(new FileReader(chunkPath))){\n\t\t\tfor(String line; (line = reader.readLine()) != null; ){\n\t\t\t\tString[] info = line.split(Pattern.quote(\"|\"));\n\t\t\t\tString fileID = info[0].trim();\n\t\t\t\tInteger chunkNo = Integer.parseInt(info[1]);\n\t\t\t\tInteger drd = Integer.parseInt(info[2]);\n\t\t\t\tInteger ard = Integer.parseInt(info[3]);\n\t\t\t\tChunkInfo ci = new ChunkInfo(fileID,chunkNo,drd,ard);\n\t\t\t\tPeer.chunks.add(ci);\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private void loading(){\n mDbHelper = new DbHelper(getActivity());\n if(!(mDbHelper.getPlanCount() == 0)){\n plan_list.addAll(mDbHelper.getAllPlan());\n }\n refreshList();\n }",
"private static void initializeDatabase() {\n\t\tArrayList<String> data = DatabaseHandler.readDatabase(DATABASE_NAME);\n\t\tAbstractSerializer serializer = new CineplexSerializer();\n\t\trecords = serializer.deserialize(data);\n\t}",
"RecordSet loadAllComponents(Record record, RecordLoadProcessor recordLoadProcessor);",
"@Override\n\tprotected void load() {\n\n\t}",
"@Override\n\tprotected void load() {\n\n\t}",
"@Override\r\n\tpublic void load() {\n\t}",
"@Override\n public Loader<Cursor> onCreateLoader(int arg0, Bundle arg1) {\n\n setSupportProgressBarIndeterminateVisibility(true);\n CursorLoader cl = new CursorLoader(this, VisitPersongrow.CONTENT_URI,\n PROJECTION, \"pid=\" + getPid(), null,\n VisitPersongrow.DEFAULT_SORTING);\n return cl;\n }",
"void singleModeLoading( File dataPath, File resultsPath, int scenarioNumber );",
"private void ucitajDrajver()throws Exception{\r\n db.loadDriver();\r\n }",
"public void load() throws FileNotFoundException, IOException, ClassNotFoundException, DBAppException {\n ArrayList<Tuple> data = new ArrayList<Tuple>();\n int pageIndex = myTable.getCurPageIndex();\n for (int i = 0; i <= pageIndex; i++) {\n // Student_0.class\n\n\n String name = dataPath + tableName + \"_\" + i + \".class\";\n\n ObjectInputStream ois = new ObjectInputStream(new FileInputStream(name));\n Page page = (Page) ois.readObject();\n ois.close();\n for (Tuple t : page.getTuples()) {\n int indexKeyPos = t.getIndex(indexkey);\n int primaryKeyPos = t.getIndex(primarykey);\n Object[] values = new Object[3];\n values[0] = t.get()[indexKeyPos];\n values[1] = t.get()[primaryKeyPos];\n values[2] = i;\n\n String[] types = new String[3];\n types[0] = t.getTypes()[indexKeyPos];\n types[1] = t.getTypes()[primaryKeyPos];\n types[2] = \"java.lang.integer\";\n\n String[] colName = new String[3];\n colName[0] = t.colName[indexKeyPos];\n colName[1] = t.colName[primaryKeyPos];\n colName[2] = \"page.number\";\n\n Tuple newTuple = new Tuple(values, types, colName, 0);\n\n data.add(newTuple);\n }\n }\n\n Collections.sort(data);\n if (data.isEmpty())\n return;\n Page curPage = createPage();\n for (int i = 0; i < data.size(); i++) {\n if (curPage.isFull()) {\n curPage.savePage();\n curPage = createPage();\n }\n curPage.insert(data.get(i), true);\n }\n curPage.savePage();\n }",
"@Override\r\n\tpublic void load() {\n\r\n\t}",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n BookEntry._ID,\n BookEntry.COLUMN_BOOK_PRODUCT_NAME,\n BookEntry.COLUMN_BOOK_AUTHOR,\n BookEntry.COLUMN_BOOK_PRICE,\n BookEntry.COLUMN_BOOK_QUANTITY,\n BookEntry.COLUMN_BOOK_SUPPLIER,\n BookEntry.COLUMN_BOOK_SUPPLIER_PHONE_NUMBER\n };\n\n // This loader will execute the ContentProvider's query on the background thread.\n return new CursorLoader(this,\n currentBookUri,\n projection,\n null,\n null,\n null);\n }",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n PetEntry._ID,\n PetEntry.COLUMN_PET_NAME,\n PetEntry.COLUMN_PET_BREED,\n PetEntry.COLUMN_PET_GENDER,\n PetEntry.COLUMN_PET_WEIGHT };\n\n return new CursorLoader(this,\n PetEntry.CONTENT_URI,\n projection,\n null,\n null,\n null);\n }",
"@Override\n public Loader<Cursor> onCreateLoader(int arg0, Bundle arg1) {\n\n setSupportProgressBarIndeterminateVisibility(true);\n CursorLoader cl = new CursorLoader(this, VisitDrug.CONTENT_URI,\n PROJECTION, \"visitno =? AND pcucode=? AND dentalcode is not null\", new String[]{mVISITNO, mPCUCODE},\n VisitDrug.DEFAULT_SORTING);\n return cl;\n }",
"public abstract void load();",
"@Override\n protected LoadedSource loadSource(Context context) {\n JpaClassConfig config = context.get(JpaClassConfig.class);\n Connection connection = null;\n try {\n connection = connect(config.getConnection());\n List<JavaType> result = new ArrayList<JavaType>();\n result.addAll(addEntityTypesFromTable(connection, context));\n result.addAll(addEntityTypesFromNamedSql(connection, context));\n LoadedSourceImpl loadedSource = new LoadedSourceImpl();\n loadedSource.setJavaTypes(result);\n if (context.contains(ClassLoader.class)) {\n loadedSource.setClassLoader(context.get(ClassLoader.class));\n }\n return loadedSource;\n } finally {\n\n try {\n if (connection != null) connection.close();\n } catch (SQLException ignore) {\n }\n }\n\n }",
"protected boolean isSingleRowLoader() {\n \t\treturn false;\n \t}",
"@Override\n protected void load() {\n //recordId can be null when in batchMode\n if (this.recordId != null && this.properties.isEmpty()) {\n this.sqlgGraph.tx().readWrite();\n if (this.sqlgGraph.getSqlDialect().supportsBatchMode() && this.sqlgGraph.tx().getBatchManager().isStreaming()) {\n throw new IllegalStateException(\"streaming is in progress, first flush or commit before querying.\");\n }\n\n //Generate the columns to prevent 'ERROR: cached plan must not change result type\" error'\n //This happens when the schema changes after the statement is prepared.\n @SuppressWarnings(\"OptionalGetWithoutIsPresent\")\n EdgeLabel edgeLabel = this.sqlgGraph.getTopology().getSchema(this.schema).orElseThrow(() -> new IllegalStateException(String.format(\"Schema %s not found\", this.schema))).getEdgeLabel(this.table).orElseThrow(() -> new IllegalStateException(String.format(\"EdgeLabel %s not found\", this.table)));\n StringBuilder sql = new StringBuilder(\"SELECT\\n\\t\");\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(\"ID\"));\n appendProperties(edgeLabel, sql);\n List<VertexLabel> outForeignKeys = new ArrayList<>();\n for (VertexLabel vertexLabel : edgeLabel.getOutVertexLabels()) {\n outForeignKeys.add(vertexLabel);\n sql.append(\", \");\n if (vertexLabel.hasIDPrimaryKey()) {\n String foreignKey = vertexLabel.getSchema().getName() + \".\" + vertexLabel.getName() + Topology.OUT_VERTEX_COLUMN_END;\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(foreignKey));\n } else {\n int countIdentifier = 1;\n for (String identifier : vertexLabel.getIdentifiers()) {\n PropertyColumn propertyColumn = vertexLabel.getProperty(identifier).orElseThrow(\n () -> new IllegalStateException(String.format(\"identifier %s column must be a property\", identifier))\n );\n PropertyType propertyType = propertyColumn.getPropertyType();\n String[] propertyTypeToSqlDefinition = this.sqlgGraph.getSqlDialect().propertyTypeToSqlDefinition(propertyType);\n int count = 1;\n for (String ignored : propertyTypeToSqlDefinition) {\n if (count > 1) {\n sql.append(sqlgGraph.getSqlDialect().maybeWrapInQoutes(vertexLabel.getFullName() + \".\" + identifier + propertyType.getPostFixes()[count - 2] + Topology.OUT_VERTEX_COLUMN_END));\n } else {\n //The first column existVertexLabel no postfix\n sql.append(sqlgGraph.getSqlDialect().maybeWrapInQoutes(vertexLabel.getFullName() + \".\" + identifier + Topology.OUT_VERTEX_COLUMN_END));\n }\n if (count++ < propertyTypeToSqlDefinition.length) {\n sql.append(\", \");\n }\n }\n if (countIdentifier++ < vertexLabel.getIdentifiers().size()) {\n sql.append(\", \");\n }\n }\n }\n }\n List<VertexLabel> inForeignKeys = new ArrayList<>();\n for (VertexLabel vertexLabel : edgeLabel.getInVertexLabels()) {\n sql.append(\", \");\n inForeignKeys.add(vertexLabel);\n if (vertexLabel.hasIDPrimaryKey()) {\n String foreignKey = vertexLabel.getSchema().getName() + \".\" + vertexLabel.getName() + Topology.IN_VERTEX_COLUMN_END;\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(foreignKey));\n } else {\n int countIdentifier = 1;\n for (String identifier : vertexLabel.getIdentifiers()) {\n PropertyColumn propertyColumn = vertexLabel.getProperty(identifier).orElseThrow(\n () -> new IllegalStateException(String.format(\"identifier %s column must be a property\", identifier))\n );\n PropertyType propertyType = propertyColumn.getPropertyType();\n String[] propertyTypeToSqlDefinition = this.sqlgGraph.getSqlDialect().propertyTypeToSqlDefinition(propertyType);\n int count = 1;\n for (String ignored : propertyTypeToSqlDefinition) {\n if (count > 1) {\n sql.append(sqlgGraph.getSqlDialect().maybeWrapInQoutes(vertexLabel.getFullName() + \".\" + identifier + propertyType.getPostFixes()[count - 2] + Topology.IN_VERTEX_COLUMN_END));\n } else {\n //The first column existVertexLabel no postfix\n sql.append(sqlgGraph.getSqlDialect().maybeWrapInQoutes(vertexLabel.getFullName() + \".\" + identifier + Topology.IN_VERTEX_COLUMN_END));\n }\n if (count++ < propertyTypeToSqlDefinition.length) {\n sql.append(\", \");\n }\n }\n if (countIdentifier++ < vertexLabel.getIdentifiers().size()) {\n sql.append(\", \");\n }\n }\n }\n }\n sql.append(\"\\nFROM\\n\\t\");\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(this.schema));\n sql.append(\".\");\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(EDGE_PREFIX + this.table));\n sql.append(\" WHERE \");\n //noinspection Duplicates\n if (edgeLabel.hasIDPrimaryKey()) {\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(\"ID\"));\n sql.append(\" = ?\");\n } else {\n int count = 1;\n for (String identifier : edgeLabel.getIdentifiers()) {\n sql.append(this.sqlgGraph.getSqlDialect().maybeWrapInQoutes(identifier));\n sql.append(\" = ?\");\n if (count++ < edgeLabel.getIdentifiers().size()) {\n sql.append(\" AND \");\n }\n\n }\n }\n if (this.sqlgGraph.getSqlDialect().needsSemicolon()) {\n sql.append(\";\");\n }\n Connection conn = this.sqlgGraph.tx().getConnection();\n if (logger.isDebugEnabled()) {\n logger.debug(sql.toString());\n }\n try (PreparedStatement preparedStatement = conn.prepareStatement(sql.toString())) {\n if (edgeLabel.hasIDPrimaryKey()) {\n preparedStatement.setLong(1, this.recordId.sequenceId());\n } else {\n int count = 1;\n for (Comparable identifierValue : this.recordId.getIdentifiers()) {\n preparedStatement.setObject(count++, identifierValue);\n }\n }\n ResultSet resultSet = preparedStatement.executeQuery();\n if (resultSet.next()) {\n loadResultSet(resultSet, inForeignKeys, outForeignKeys);\n }\n } catch (SQLException e) {\n throw new RuntimeException(e);\n }\n }\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\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\n public void setLoadOnStartup(int los) {\n }",
"@Test\n public void test() throws SQLException {\n System.out.println(new MyDbutilsDemo().load(12));\n }",
"protected abstract DatabaseInitializer createInitializer();",
"@Override\n public void addLoaders(WorldLoader wl, WorldInfo info) {\n }",
"LoadGroup createLoadGroup();",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n FruitEntry._ID,\n FruitEntry.COL_FRUIT_TYPE,\n FruitEntry.COL_FRUIT_SUPPLIER,\n FruitEntry.COL_FRUIT_PRICE,\n FruitEntry.COL_FRUIT_QUANTITY,\n FruitEntry.COL_FRUIT_IMAGE};\n\n // This loader will execute the ContentProvider's query method on a background thread\n return new CursorLoader(this, // Parent activity context\n mCurrentFruitUri, // Query the content URI for the current fruit\n projection, // Columns to include in the resulting Cursor\n null, // No selection clause\n null, // No selection arguments\n null); // Default sort order\n }",
"@Override \r\n protected Object determineCurrentLookupKey() {\n return DbContextHolder.getDbType(); \r\n }",
"public abstract void loadData();",
"public abstract void loadData();",
"@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}",
"private static void preloadFEHUtils() {\n System.out.println(\"computerizing FEH data...\");\n Stopwatch fehTime = new Stopwatch();\n fehTime.start();\n\n int i = SkillDatabase.SKILLS.size(),\n j = HeroDatabase.HEROES.size(),\n k = BannerDatabase.BANNERS.size();\n\n if (DEBUG) {\n System.out.println(\"SkillDatabase: \" + i);\n System.out.println(\"UnitDatabase: \" + j);\n System.out.println(\"BannerDatabase: \" + k);\n }\n\n fehTime.stop();\n System.out.println(\"finished (\"+fehTime.timeInSeconds()+\" s)!\");\n }",
"private void load() throws DAOSysException\t\t{\n\t\tif (_debug) System.out.println(\"AL:load()\");\n\t\tAnnualLeaseDAO dao = null;\n\t\ttry\t{\n\t\t\tdao = getDAO();\n\t\t\tsetModel((AnnualLeaseModel)dao.dbLoad(getPrimaryKey()));\n\n\t\t} catch (Exception ex)\t{\n\t\t\tthrow new DAOSysException(ex.getMessage());\n\t\t}\n\t}",
"@Override\n public void load() {\n }",
"private static void load(){\n }",
"@Override\n public void load() {\n }",
"private void loadDatabase() {\n Runnable load = new Runnable() {\n public void run() {\n try {\n boolean isSuccess = false;\n File data = Environment.getDataDirectory();\n\n String currentDbPath = \"//data//com.udacity.adcs.app.goodintents//databases//goodintents.db\";\n\n File currentDb = new File(data, currentDbPath);\n File restoreDb = getFileFromAsset(mActivity, mActivity.getExternalFilesDir(null) + \"/\", \"goodintents.db\");\n\n if (restoreDb != null ? restoreDb.exists() : false) {\n FileInputStream is = new FileInputStream(restoreDb);\n FileOutputStream os = new FileOutputStream(currentDb);\n\n FileChannel src = is.getChannel();\n FileChannel dst = os.getChannel();\n dst.transferFrom(src, 0, src.size());\n\n is.close();\n os.close();\n src.close();\n dst.close();\n isSuccess = true;\n }\n\n if (isSuccess) {\n PreferencesUtils.setBoolean(mActivity, R.string.initial_db_load_key, true);\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n } finally {\n mActivity.runOnUiThread(loadDatabaseRunnable);\n }\n }\n };\n\n Thread thread = new Thread(null, load, \"loadDatabase\");\n thread.start();\n }",
"private void configurePhotoLoaders() {\n String themePhotosUrl = null;\n String myPhotosUrl = null;\n String friendPhotosUrl = null;\n\n if (mTheme != null) {\n themePhotosUrl = String.format(Endpoints.THEME_PHOTO_LIST, mTheme.id);\n\n if (!isAuthenticating() && mPhotoUser != null) {\n myPhotosUrl = String.format(Endpoints.USER_THEME_PHOTO_LIST, Endpoints.ME_ID,\n mTheme.id);\n\n friendPhotosUrl = String.format(Endpoints.FRIENDS_PHOTO_LIST, Endpoints.ME_ID,\n mTheme.id);\n }\n }\n\n mThemePhotosLoader = restartLoader(mLoaderMgr, THEME_PHOTOS_ID, mThemePhotosLoader,\n new PhotoCallbacks(THEME_PHOTOS_ID, mThemePhotos), themePhotosUrl);\n mMyPhotosLoader = restartLoader(mLoaderMgr, MY_PHOTOS_ID, mMyPhotosLoader,\n new PhotoCallbacks(MY_PHOTOS_ID, mMyPhotos), myPhotosUrl);\n mFriendPhotosLoader = restartLoader(mLoaderMgr, FRIEND_PHOTOS_ID, mFriendPhotosLoader,\n new PhotoCallbacks(FRIEND_PHOTOS_ID, mFriendPhotos), friendPhotosUrl);\n }",
"public RecordSet loadAllAvailableComponent(Record record, RecordLoadProcessor recordLoadProcessor);",
"public Loader(){\n\t\tthis(PLANETS, NEIGHBOURS);\n\t}",
"private void startLoader(){\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<Cursor> movieLoader = loaderManager.getLoader(MOVIE_LOADER);\n if(movieLoader == null)\n loaderManager.initLoader(MOVIE_LOADER, null, this);\n else\n loaderManager.restartLoader(MOVIE_LOADER, null, this);\n }",
"private void loadDbDriver(){\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tLOGGER.severe(\"!EXCEPTION: \" + e.getMessage());\n\t\t}\n\t}",
"public void loadDatabaseRecords() {\n // Database credentials\n String pass = \"\";\n\n InputStream passPath = Controller.class.getResourceAsStream(\"/password.txt\");\n if (passPath == null) {\n System.out.println(\"Could not find password in resources folder\");\n }\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(passPath));\n String line = null;\n while (true) {\n try {\n if (!((line = reader.readLine()) != null)) {\n break;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n System.out.println(line);\n if (line != null) {\n pass = line;\n System.out.println(\"Password login: \" + line);\n break;\n }\n }\n\n Connection conn;\n //Connection conn = null; //Temporary\n Statement stmt = null; //Temporary\n\n try {\n // STEP 1: Register JDBC driver\n Class.forName(\"org.h2.Driver\");\n\n //STEP 2: Open a connection\n conn = DriverManager.getConnection(\"jdbc:h2:./res/HR\", \"\",\n pass);\n\n stmt = conn.createStatement();\n ResultSet rs = stmt.executeQuery(\n \"SELECT * FROM PRODUCTIONRECORD\");\n\n int tempCounter = 0;\n while (rs.next()) {\n String prodNum = rs.getString(\"PRODUCTION_NUM\");\n String prodID = rs.getString(\"PRODUCT_ID\");\n String prodSerialNum = rs.getString(\"SERIAL_NUM\").toString();\n String prodDate = rs.getString(\"DATE_PRODUCED\").toString();\n String empUsername = rs.getString(\"USERNAME\").toString();\n textLog.setText(\n textLog.getText() + \"\\n\" + \"Prod. Num: \" + prodNum + \" Product ID: \" + prodID\n + \" Serial Num: \" + prodSerialNum + \" \" + prodDate + \" \" + empUsername);\n tempCounter++;\n }\n globalProductCount = tempCounter;\n productTable.setItems(productLine);\n listProduce.setItems(productLine);\n\n stmt.close(); //Close\n conn.close(); //Close\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {\n String[] projection = {\n BookEntry._ID,\n BookEntry.COLUMN_NAME,\n BookEntry.COLUMN_PRICE,\n BookEntry.COLUMN_QUANTITY};\n return new CursorLoader(this, BookEntry.CONTENT_URI, projection,null,null,null);\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 }",
"public void postLoadProperties(){\n\ttry{\n\t \n\t switch (source){\n\t case \"heroku\":\n\t\tURL = new String(\"jdbc:postgresql://\" + host + \":\" + port + \"/\" + dbname + \"?sslmode=require&user=\" + user + \"&password=\" +password );\n\t\tbreak;\n\t case \"local\":\n\t\tURL = new String(\"jdbc:postgresql://\" + host + \"/\" + dbname);\n\t break;\n\t case \"elephantsql\":\n\t\n\t \tURL = new String(\"jdbc:postgresql://\" + host + \":\" + port + \"/\" + dbname + \"?user=\" + user + \"&password=\" +password + \"&SSL=true\" );\n\t\tbreak;\n\t}\n\t //\t LOGGER.info(\"URL: \" + URL);\n\n\tdbm = new DatabaseManager( this );\n\tif(authenticated){\n\t dbr = dbm.getDatabaseRetriever();\n\t dbi = dbm.getDatabaseInserter();\n\t dmf = new DialogMainFrame(this);\n\t}else{\n\t \tJOptionPane.showMessageDialog(null,\n\t\t\t \"Invalid username or password. Session terminated.\",\n\t\t\t\t \"Authentication Failure!\",\n\t\t\t JOptionPane.ERROR_MESSAGE);\n\t}\n\t}\n catch(SQLException sqle){\n\tLOGGER.info(\"SQL exception creating DatabaseManager: \" + sqle);\n }\n\t\n }",
"private void loadDriver() \n\t{\n\t\ttry \n\t\t{\n\t\t\t Class.forName(\"org.postgresql.Driver\");\n\t\t} \n\t\tcatch(ClassNotFoundException cnfe) \n\t\t{\n\t\t\tDBErrorHandler.handle(\"DriverLoad\");\n\t\t}\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t}",
"@PostConstruct\r\n public void init() {\n File database = new File(applicationProps.getGeodb());\r\n try {\r\n reader = new DatabaseReader.Builder(database).withCache(new CHMCache()).build();\r\n } catch (IOException e) {\r\n log.error(\"Error reading maxmind DB, \", e);\r\n }\r\n }",
"public abstract void loaded();",
"public void load() {\n\t}",
"public interface HiveMetaDao {\n String getLocationByDbAndTable(Map<String, String> map);\n List<String> getDbsByUser(String userName);\n List<Map<String, Object>> getTablesByDbNameAndUser(Map<String, String> map);\n Long getPartitionSize(Map<String, String> map);\n List<String> getPartitions(Map<String, String> map);\n List<Map<String, Object>> getColumns(Map<String, String> map);\n List<Map<String, Object>> getPartitionKeys(Map<String, String> map);\n String getTableComment(@Param(\"DbName\") String DbName, @Param(\"tableName\") String tableName);\n}",
"private void LoadingDatabasePoolLocation() {\n\n\t\tCursor cursor = helper.getDataAll(PooltableName);\n\n\t\t// id_counter = cursor.getCount();\n\n\t\tPOOL_LIST.clear();\n\n\t\twhile (cursor.moveToNext()) {\n\t\t\t// loading each element from database\n\t\t\tString ID = cursor.getString(ID_POOL_LCOATION_COLUMN);\n\t\t\tString Description = cursor\n\t\t\t\t\t.getString(DESCRIPTION_POOL_LCOATION_COLUMN);\n\t\t\tString isCouponUsed = cursor.getString(COUPON_IS_USED_COLUMN);\n\n\t\t\tPOOL_LIST.add(new poolLocation(ID, Description,\n\t\t\t\t\tisUsed(isCouponUsed), ThumbNailFactory.create()\n\t\t\t\t\t\t\t.getThumbNail(ID)));\n\n\t\t} // travel to database result\n\n\t}",
"LoadGenerator createLoadGenerator();",
"LoadGenerator createLoadGenerator();",
"boolean canLoadData();",
"private void initImageLoader() {\n ImageLoaderConfiguration.Builder config = new ImageLoaderConfiguration.Builder(this);\n config.threadPriority(Thread.NORM_PRIORITY - 2);\n config.denyCacheImageMultipleSizesInMemory();\n config.diskCacheFileNameGenerator(new Md5FileNameGenerator());\n config.diskCacheSize(50 * 1024 * 1024); // 50 MiB\n config.tasksProcessingOrder(QueueProcessingType.LIFO);\n // Initialize ImageLoader with configuration.\n ImageLoader.getInstance().init(config.build());\n }",
"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 }",
"private void loadTestInstanceData() {\r\n if (connect == null) {\r\n System.out.println(\"<internal> TemplateCore.loadTestInstanceData() finds no database connection and exits\");\r\n return;\r\n }\r\n\r\n Statement statement = null;\r\n ResultSet resultSet = null;\r\n// try {\r\n// String strINum = String.valueOf(pk_test_instance);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT fk_described_template, fk_run, due_date, phase, test_instance.synchronized, fk_version_set, fk_template, description_hash, described_template.synchronized, hash, enabled, steps \" +\r\n// \"FROM test_instance \" +\r\n// \"JOIN described_template ON fk_described_template = pk_described_template \" +\r\n// \"JOIN template ON fk_template = pk_test_instance \" +\r\n// \"WHERE pk_test_instance = \" + strINum );\r\n // everything in this query is 1:1 relationship, so resultSet has exactly 1 or 0 entry\r\n\r\n// if ( resultSet.next() ) {\r\n// dbTestInstance.pk_described_template = resultSet.getLong(\"fk_described_template\"); // null entry returns 0\r\n// dbTestInstance.fk_run = resultSet.getLong(\"fk_run\"); // null entry returns 0\r\n// dbTestInstance.due_date = resultSet.getDate(\"due_date\");\r\n// dbTestInstance.phase = resultSet.getInt(\"phase\");\r\n// dbTestInstance.iSynchronized = resultSet.getBoolean(\"test_instance.synchronized\");\r\n//\r\n// dbTestInstance.fk_version_set = resultSet.getBytes(\"fk_version_set\");\r\n// dbTestInstance.fk_template = resultSet.getLong(\"fk_template\"); // null entry returns 0\r\n// dbTestInstance.description_hash = resultSet.getBytes(\"description_hash\");\r\n// dbTestInstance.dtSynchronized = resultSet.getBoolean(\"described_template.synchronized\");\r\n//\r\n// dbTestInstance.template_hash = resultSet.getBytes(\"hash\");\r\n// dbTestInstance.enabled = resultSet.getBoolean(\"enabled\");\r\n// dbTestInstance.steps = resultSet.getString(\"steps\");\r\n//\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads 1:1 data from test_instance \" + dbTestInstance.pk_test_instance + \", pk_described_template \" + dbTestInstance.pk_described_template +\r\n// \", pk_test_instance \" + dbTestInstance.fk_template + (dbTestInstance.fk_run!=0 ? \", TEST RESULT ALREADY STORED\" : \"\"));\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// } else {\r\n// throw new Exception(\"instance data not present\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n//\r\n// // get corresponding multiple lines of data\r\n// try {\r\n// String strPKDT = String.valueOf(dbTestInstance.pk_described_template);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT pk_dt_line, line, description \" +\r\n// \"FROM dt_line \" +\r\n// \"WHERE fk_described_template = \" + strPKDT );\r\n// while ( resultSet.next() ) {\r\n// DBDTLine dtLine = new DBDTLine();\r\n// dtLine.pk_dt_line = resultSet.getLong(\"pk_dt_line\"); // null entry returns 0\r\n// dtLine.line = resultSet.getInt(\"line\");\r\n// dtLine.dtLineDescription = resultSet.getString(\"description\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads line data from dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// dbTestInstance.pkToDTLine.put(dtLine.pk_dt_line, dtLine);\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n//\r\n// // get corresponding artifact information; not every dtLine has corresponding artifact information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKDTLine = String.valueOf(dtLine.pk_dt_line);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT is_primary, reason, pk_artifact, fk_version, fk_content, synchronized, platform, internal_build, name \" +\r\n// \"FROM artifact_to_dt_line \" +\r\n// \"JOIN artifact ON fk_artifact = pk_artifact \" +\r\n// \"WHERE fk_dt_line = \" + strPKDTLine );\r\n// if ( resultSet.next() ) {\r\n// dtLine.is_primary = resultSet.getBoolean(\"is_primary\");\r\n// dtLine.reason = resultSet.getString(\"reason\");\r\n// dtLine.pk_artifact = resultSet.getLong(\"pk_artifact\");\r\n// dtLine.pk_version = resultSet.getLong(\"fk_version\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads artifact data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding version information; not every dtLine has corresponding version information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKVersion = String.valueOf(dtLine.pk_version);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT version, scheduled_release, actual_release, sort_order \" +\r\n// \"FROM version \" +\r\n// \"WHERE pk_version = \" + strPKVersion );\r\n// if ( resultSet.next() ) {\r\n// dtLine.version = resultSet.getString(\"version\");\r\n// dtLine.scheduled_release = resultSet.getDate(\"scheduled_release\");\r\n// dtLine.actual_release = resultSet.getDate(\"actual_release\");\r\n// dtLine.sort_order = resultSet.getInt(\"sort_order\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads version data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding content information; not every dtLine has corresponding content information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKArtifact = String.valueOf(dtLine.pk_artifact);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT pk_content, is_generated \" +\r\n// \"FROM content \" +\r\n// \"JOIN artifact ON fk_content = pk_content \" +\r\n// \"WHERE pk_artifact = \" + strPKArtifact );\r\n// if ( resultSet.next() ) {\r\n// dtLine.pk_content = resultSet.getBytes(\"pk_content\");\r\n// dtLine.is_generated = resultSet.getBoolean(\"is_generated\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads content data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding component information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKVersion = String.valueOf(dtLine.pk_version);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT name \" +\r\n// \"FROM component \" +\r\n// \"JOIN version ON fk_component = pk_component \" +\r\n// \"WHERE pk_version = \" + strPKVersion );\r\n// if ( resultSet.next() ) {\r\n// dtLine.componentName = resultSet.getString(\"name\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads component data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// }\r\n//\r\n// // get corresponding resource information; not every dtLine has corresponding resource information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKDTLine = String.valueOf(dtLine.pk_dt_line);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT hash, name, resource.description \" +\r\n// \"FROM dt_line \" +\r\n// \"JOIN resource ON fk_resource = pk_resource \" +\r\n// \"WHERE pk_dt_line = \" + strPKDTLine );\r\n// if ( resultSet.next() ) {\r\n// dtLine.resourceHash = resultSet.getBytes(\"hash\");\r\n// dtLine.resourceName = resultSet.getString(\"name\");\r\n// dtLine.resourceDescription = resultSet.getString(\"description\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads resource data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n }",
"public void load() ;",
"private void loadDatabaseSettings() {\r\n\r\n\t\tint dbID = BundleHelper.getIdScenarioResultForSetup();\r\n\t\tthis.getJTextFieldDatabaseID().setText(dbID + \"\");\r\n\t}",
"@Override\n public Loader<Cursor> onCreateLoader(int loaderID, Bundle bundle) {\n\n /*\n * Takes action based on the ID of the Loader that's being created\n */\n switch (loaderID) {\n case OBJETOS_LOADER:\n //Retorna un CursorLoader\n return new CursorLoader(\n this,\n UrisGenerated.getUriAllObjetos(),\n projection,\n selection,\n null,\n null\n );\n\n default:\n //Se le ha pasado una id no valida\n return null;\n }\n }",
"public static void load() {\n }"
] | [
"0.6103959",
"0.600503",
"0.5808203",
"0.5807181",
"0.579158",
"0.5768587",
"0.5744723",
"0.5681846",
"0.5672268",
"0.56165993",
"0.55365604",
"0.5459816",
"0.5422464",
"0.5298177",
"0.5269242",
"0.5247298",
"0.52420384",
"0.522624",
"0.5225612",
"0.52249074",
"0.5218762",
"0.5216839",
"0.5212978",
"0.52129006",
"0.5198855",
"0.51927555",
"0.51924384",
"0.51898515",
"0.5182117",
"0.5173127",
"0.5167581",
"0.516431",
"0.5160904",
"0.51569986",
"0.51569986",
"0.51569986",
"0.51383364",
"0.51375693",
"0.513245",
"0.5110473",
"0.5109759",
"0.51077914",
"0.51077914",
"0.50861466",
"0.50837284",
"0.50805324",
"0.5073646",
"0.50665545",
"0.50638545",
"0.50599873",
"0.5057348",
"0.5057111",
"0.5050159",
"0.5047939",
"0.5039439",
"0.503372",
"0.50316983",
"0.5029458",
"0.5029223",
"0.5020711",
"0.50180584",
"0.50166106",
"0.5014057",
"0.500564",
"0.5004539",
"0.4999738",
"0.4999738",
"0.49977696",
"0.49969253",
"0.4984155",
"0.49830645",
"0.4972948",
"0.4970861",
"0.4967675",
"0.49619374",
"0.4947794",
"0.4944481",
"0.49422687",
"0.49375132",
"0.49351054",
"0.49332565",
"0.49256092",
"0.49226227",
"0.4919603",
"0.4918337",
"0.491774",
"0.49113852",
"0.49090263",
"0.49087027",
"0.49050575",
"0.49033466",
"0.49033466",
"0.4902705",
"0.49009144",
"0.49002928",
"0.48951048",
"0.48949325",
"0.48946166",
"0.48938498",
"0.48862508"
] | 0.5706139 | 7 |
TODO Autogenerated method stub | private void drawMap(HashMap<String, TrailObj> trailCollection,
GoogleMap mMap2) {
for (TrailObj trail : trailCollection.values()) {
for (PlacemarkObj p : trail.getPlacemarks()) {
PolylineOptions rectOptions = new PolylineOptions();
for (LatLng g : p.getCoordinates()) {
rectOptions.add(g);
}
Polyline polyline = mMap2.addPolyline(rectOptions);
polyline.setColor(Color.RED);
polyline.setWidth(5);
polyline.setVisible(true);
}
}
} | {
"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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.