Are there static methods in TOOL

Do static or class methods exist in TOOL?
If they do, I would appreciate a pointer to the documentation.
If they don't exist, what is best practice for creating utility or helper methods for things like string operations, getting random numbers within a range etc.
Thank you for considering this post.

No there is no "static" concept. So you have to instantiate your class with the utility methods in it. Probably the easiest is to have an attribute in a generic class as high up in your inherictance structure as you can. So then its intstantiated once and everything that inherits from there has access to it.

Similar Messages

  • Are there any 3rd party tools which provide Microsoft Azure IaaS diagnostics?

    Are there any 3rd party tools currently, which can be used for giving detailed diagnostics Information about the IaaS environment (like on VM's, Virtual Network etc.) in a detailed report format periodically? Please note that I am looking for any such tools
    around IaaS environment diagnostics here, and not about Application diagnostics.

    Hi Bahree,
    Microsoft does not suggest  a specific third-party product. However, we do use them, and see lots of other customers use them.
    Paraleap: Monitoring tool - http://www.paraleap.com/AzureWatch , You may browse to these site and few others to learn more, and chat with their folks directly on how they support Windows Azure.
    I see that Microsoft has published a self-help diagnostic package for running Windows-based virtual machines (VMs) in Azure IaaS and this this diagnostic package does not require opening a Support Request with
    Microsoft
    This package helps to diagnose and resolve common issues on running Windows-based VMs in Azure IaaS
    We may download the diagnostic package from Microsoft's Support Diagnostics Self-Help Portal:
    https://home.diagnostics.support.microsoft.com/SelfHelp?knowledgebaseArticleFilter=2976864
    You might want to see
    Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension
    Regards,
    Shirisha Paderu

  • Are there any information gathering tools or scripts for Sun VDI 3.1.1?

    Hi,
    Are there any information gathering tools or scripts for Sun VDI 3.1.1?
    for problem reporting or service supportting , such as
    ut_gather, a ksh based tool to collect all Sun Ray related information from a Sun Ray server.
    http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/ut_gather_1_4_6
    http://www.sun.com/service/gdd/index.xml
    Sun Explorer Data Collector in The Sun Services Tools Bundle (STB)
    http://www.sun.com/service/stb/index.jsp
    http://www.unix-consultants.co.uk/examples/scripts/linux/linux-explorer/
    http://www.slideshare.net/Aeroplane23/information-gathering-2
    Windows MPSreports, msinfo32
    Redhat sysreport
    Suse Siga reportconfig
    Any advice would be appreciated.
    Thanks,

    ut_gather versions are available on MOS under reference #1260464.1

  • Are there any project analysis tools to optimize a project?

    So, our devs use Coverity (http://www.coverity.com) to scan their code to look for problem areas they can refactor. My boss asked me if there are something out there like that but for documentation projects. I know RH offers the Tools | Reports, but I'm worndering if there are Adobe or 3rd party tools out there that can analyze a RH documentation project in the background to provide you with a list of items to fix or improve. I'm also looking for something that checks a documentation project for duplicate paragraphs, that we could then rewrite as snippets.
    For example, MadCap's Flare has an Analyzer tool: http://www.madcapsoftware.com/products/analyzer/
    Is anyone aware of tools like this that works with RH projects?

    I am not aware of any tool that does what you want with RoboHelp but I wonder if there are such tools more readily available for Word. If there are, you could generate a printed document and work with that.
    Please follow this link and submit a feature request. Make sure you mention Flare has such a tool, albeit a chargeable extra.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Are there alternative methods to "paint()" and "paintComponent()"?

    Are there any ways to draw on the screen other than using "paint()" or "paintComponent()" methods? I am asking this because I need to use active rendering for my game, and active rendering doesn't make use of paint().
    Thanx.

    component.getGraphics()
    or, if you are using BufferStrategy,
    component.getBufferStrategy().getDrawGraphics();

  • Are there any diagnostic utilities tool to test the MSI mainboard

    Hi,
    I am using MSI 875P mainboard, because of built in sound driver "SoundMax Drivers " not been detected in WinXP system.
    One expected reason, the built in sound driver may spoil.
    Are there any way or utilities tool to verify or diagnostic the built in components
    for this mainboard.
    Kindly advise. Thank you.
    Regards,
    Goon Fui

    As far as I know there are no standard SSH VIs anywhere. At least at the time that I started this thread there were not. I came up with a solution that I have been using ever since using the program Plink that is installed with Putty. Please take a look at the VI I have attached. It is pretty straight forward. You enter the location of plink.exe, the username, the password, and the host and you can send any command and get a response just as if you were connected via an SSH client. It has been working great for years. Let me know if you have any questions about it.
    Attachments:
    SSH_Via_Plink.vi ‏27 KB

  • I have deleted the download log (history file) by mistake. Are there any method torestore the lost log file?

    I have deleted the history file, a log in the Download Manager window by mistake, hitting the delete button which was hiding from other windows. I want to restore the download history file, if possible. Are there any way to recover the lost history log? Please help me to resolve this problem. Thank you.

    You should be able to:
    Backup the device
    Transfer any purchases from the device that were not already downloaded into your new library
    Recover any other media using third party tools as suggested in this post from forum regular Zevoneer
    Restore the device from the backup
    This process should switch the association of the device to the new library, preserving the data and settings in your apps.
    May also be prudent to attempt a backup to iCloud directly from the device before you start... Settings > iCloud > Storage & Backup > iCloud Backup > On. It won't save any media but it would preserve the general account settings and documents in case anything goes wrong while you are trying to extract your other data.
    When you get it all fixed, make a backup!
    tt2

  • Are there any performance benchmark tools for Flash?

    I am looking to benchmark Flash on various computers that I use.  I was surprised that the performance of Adobe Flash on my Intel i5 computer running Windows 7 Pro 64-bit OS and IE 10 was MUCH WORSE than running on a Windows 7 Pro 32-bit on an Intel i3 computer running the same browser. 
    I have tried running both 32-bit IE and 64-bit IE and get the same general bad performance on the 64-bit Windows OS. I would like to find a tool to benchmark these various computers so that I can establish baseline performance while I explore finding a fix Adobe Flash on a 64-bit OS.
    Can someone suggest some tools for Flash performance benchmarking? Thank you.

    The best advise we can really give you is that both companies offer free trials and you should download them both and see which works best for you.  I own Parallels Desktop v6, and VMWare Fusion v3.  For me, VMWare s better for some things, but Parallels is better for most.  Depending on what you do and how you use your applications your milage may vary.
    One other note to keep in mind.  Since Apple is looking to release a new OS version in the very near future, you might want to hold-off a bit on our vitualization choice just yet.  I would exect that both companies will be working on a new release for support/compatibilty of the new MacOS, so you might want to wait to see if there are any other changes that make you want to lean towards one or the other...

  • Why are there 2 methods to create thread ?

    Hi,
    To create threads, there are two methods
    1) Inherit the THREAD super-class
    2) Implement the interface RUNNABLE.
    The reason for providing two methods is that, the user can only one level of "implementation inheritance". That is the reason, which comes immediately to mind. But is there another reason(s)? If yes, than what is the reason??
    Any help would be welcome
    Thanks in advance

    I was one of those authors. We all read some other
    author who said the same dumb thing LOL, been there, done that, you have my sympathy :-)
    Could you explain your use of the words "policy" and
    "mechanism"? I completely agree with your conclusion,
    but don't really understand your argument.This is one of the things that I've taken from my experiences with the X Window System (tm, I think). "Mechanism, not policy" was one of the mantras that would be repeated by every author. As I understood it, the idea was that the X protocol, Xlib, and even Xt prescribed the mechanism for a program's interaction with windows on a client screen, but did not prescribe how those windows would interact with the user. That was the "policy" to be implemented by the toolkit and application layers (thus the different appearance of Motif, OpenLook, Xaw, &c, even though they used the same underlying code up through the toolkit).
    I like the mantra, and as I've come to understand OO programming, I try to apply it as a way to identify what could/should be abstracted and what needs to remain concrete. If something abstracts a basic service that can be used in multiple ways -- like threads -- I consider that mechanism. If something is closely tied to the way my application works, I consider that policy. The former are implemented with interfaces and abstract classes, and do not contain application-specific code; the latter are implemented with instantiable classes.

  • Are there any self-service tools that enable business users to insert, update, and delete data in SQL Server without using SSMS?

    Our IT department spends way too much time maintaining simple reference tables that could easily be maintained by business users, if they had some simple tools that gave them limited access to only the tables they need.  Looking for something other
    than SSMS or MS Access.  These are not tech-savvy users.  They dabble in Excel and Access, and they know their data pretty well, but wouldn't be comfortable with SQL.  Generally the data would initially be in Excel (but not always).

    Create a separate FileGroup on your UAT/pre-prod environment for those Business Users and allocate limited space for them to read/write data here. I expect they create their own reference tables here which are small enough in size. SQL Server does not have
    concept of Quota like Oracle has, so you need to tie back FG with Data Steward user groups using separate mechanism to make sure they have limited rights here. 
    As IT - you verify business changes every sprint and push them to Production. 
    Best Regards
    Shrikant Kulkarni 
     

  • Are there any methods to relocate a page to another in jsp?

    please help thanks..

    You can send data from one page to another:
    1) using request parameters
    2) using request attributes.
    With a jsp:forward, the page invoked has access to all the request parameters of the sending page.
    Now, if the variable that you want to pass was not part of the original request parameters, you can always add it to those parameters using jsp:param inside the jsp:forward, as long as that variable value is a string :
    <jsp:forward page="abc.jsp">
          <jsp:param name="fruit"  value="apple" />
    </jsp:forward>And then in abc.jsp, you can retrieve the value using request.getParameter("fruit").
    If you need to pass an object (for example a bean), you'll need to pass it as a request attribute.

  • Are there any 3rd Party Cloud Application Readiness Assessment tools in the market today?

    I have couple of interrelated questions here:
    1
    Are there any 3rd party tools, which do Cloud Readiness  Assessments for on-premises Applications. I am looking for names of any such tools, if they exist, which thoroughly analyse on-premises applications, and generate detailed reports on whether the
    application is ready for moving to the cloud (and why?), or if it needs some changes before moving (which changes?), or if the application needs major changes (which?) or cannot be move to cloud in its present form. The cloud here could be Azure (1st pref)
    or AWS (2nd pref).
    2
    From the tools named in response to above questions, which are the ones which can be used for doing applications assessments for a large number of on-premises apps in most efficient way? Do such tools actually exist? Imagine scenario that an enterprise customer
    comes to me and asks that they want to check the cloud readiness for 3000 applications in shortest possible time - What tool will you recommend for such massive assessments?
    Thanks, LH

    Hi,
    I would suggest you to check this Microsoft Cloud Self Assessment Tool.
    For more information on this, refer this link:
    http://blogs.technet.com/b/schadinio/archive/2012/07/09/microsoft-cloud-self-assessment-tool.aspx
    Regards,
    Azam Khan

  • Are there any tools to do Pseudotranslation of resouce bundles?

    I want to test if the Java code for one of our products is internationalized. For that, I would like to use a dummy translation or pseudotranslation of the resource bundle. Are there any free/cheap tools to do the pseudotranslation?
    I also looked at machine translation tools but for this I need to extract the translatable text, translate it and put it back.
    Any ideas? suggestions?
    THANKS!
    Gladys

    I have never found a completely reliable "pseudo-translator". No doubt someone will try and write one one day, but for every i18n project I've ever worked on, we've rung up a university or something and got ourselves a translator. It's proven a lot simpler than trying to trawl the Net for something that I'm not even sure exists.
    The JILKit is good for what it does, but it is buggy, and is no longer supported by Sun, AFAIK. They nowadays prefer you to use the tools in Forte.
    As for language choice, I've used the following steps in the past.
    1) Have a list of fonts that are capable of displaying each language.
    2) Look for these fonts on startup.
    3) Out of the fonts you've found construct a list of available languages that you'll allow the user to pick from.
    4) Once the user has chosen, create a new Locale that matches the language the user has picked.
    5) Load the ResourceBundle using this Locale.
    I've tried to switch languages mid-execution in the past, and under current JDKs this just doesn't work. I've seen a few solution claims, but I've either found they haven't worked, or I haven't had the chance to test them out yet.
    The best solution is to simply make the user quit and restart to get a different language. I find there isn't much call for a user to be able to switch languages halfway through the execution of an app anyway.
    Hope that helps!
    Martin Hughes

  • Do static methods perform better

    Sometimes, especially when refactoring (specifically when doing extract method), I create a method in a class to perform some helpful task or to neatly tuck a chunk of ugly code away somewhere that it can be easily referred to from the "actual" code. This new method doesn't actually directly cause a state change in the object, it just accepts a parameter and returns a value, or similar. In nearly every case this method is private (since it only helps out the class in which it appears).
    I can easily declare these helper methods static, or leave them unstatic. What I'm wondering is if there's any best practice in doing one or the other, whether for performance reasons or otherwise. I'd tend not to make them static because it might imply that the method should be called from a static context or something, but I wondered what others suggest in this regard.
    Thanks.

    I agree with you Dubwai, and in practice will probably
    not use static unless I mean it. But, since the
    methods don't really act on any of the class's
    instance members, I'm also not entirely convinced that
    this does go against the "design" -- because
    whether the method is static or not, it has the exact
    same effect.
    In fact, marking it static might even help make
    it obvious that this method performs no side-effects
    on instance members.
    But again, I think I'll just leave them nonstatic.I'm not saying that you shouldn't make things static. Quite the contrary. I'm saying that things should be static if they are static, meaning they don't change polymorphically or per instance. If this is so, the method should definitely be static.
    Not using instance members is a neccesary condition of being a static method but it is not nearly sufficient. Making a method static means throwing polymorphism out if the door. A method may do nothing but return a static final value but still need to be an instance method if a subclass needs to return a different static final value. If you make a method static and then need to refactor, it can be difficult or impossible to do so, as pointed out above. If you are calling static methods as if they are instance methods, that indicates to me that they probably should just be instance methods.

  • Are there any ways to increase security in ODI

    Hi,
    Are there any other ways to increase security in ODI. I have heard about External password storage, External authentication and SSO from over here: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/whatsnew.htm#CHDEAIAB
    apart from these are there any methods?

    I do not fully understand the meaning of "Top" in the phrase "Top In App Purchase". In Settings there is an option to invoke restrictions. One restriction option is to prohibit In-App Purchases.

Maybe you are looking for

  • Ipad3 wifi problems

    Dear Apple Team: In my ipad3, I have problems connecting then disconnecting within  2 minutes after connection. The device is 3 yards away from me and I experience the same problem with Skype , Face time google talk and Safari. . My Network  router i

  • Whats the best way to get rid of a virus, whats the best way to get rid of a virus

    Preferences

  • How to restore an ipod touch

    Hey there! I have one ipod touch that I've found at the bus while travelling, I'm already an user of iphone and ipod touch my self, I've posted signs asking if any one lost it but didn't say the color of the protection cover just to be sure the owner

  • Intro

    Well, having this forum up is cool. One of the items on the checklist for a new ACE Director is to post an intro. Don't really enjoy talking about myself, but I guess I need to get this done. Okie dokie, here we go... I'm a Program Manager for Instit

  • Creating keyboard shortcut to open a folder?

    hello all. is there a way to create a keyboard shortcut that opens a specified folder? i.e. command shift u opens the utilities folder and command shift a opens applications. i would like to create a shortcut command that opens a specific folder in m