Extending String class

My job sucks. I need a Rope. Since I cannot extend final String (which I shouldn't anyway) I'm (thankfully) forced to create an aggregation of them. Or should I extend the new StringBuilder to make it create something stronger than an ordinairy String?
Today's just one of these days...

Because if you override equals and not hashCode you
violate the general contract for Object.hashCode and
your class will not function properly in conjunction
with all hash-based collections.
purpose of hashcode() I quote
"Since computing an object's equality is a time-consuming task, Java also provides a quick way of determining if an object is equal or not, using hashCode(). This returns a small number based on the object's internal datastructure; if two objects have different hash codes, then they cannot be equal to each other. (Think of it like searching for two words in a dictionary; if they both begin with "A" then they may be equal; however, if one begins with "A" and the other begins with "B" then they cannot be equal.)
The purpose of computing a hash code is that the hash should be quicker to calculate and compare than computing full object equality. Datastructures such as the HashMap implicitly use the hash code to avoid computing equality of objects where possible. One of the reasons why a HashMap looks up data faster than a List is because the list has to search the entire datastructure for a match, whereas the HashMap only searches those that have the same hash value.
Importantly, it is an error for a class to have an equals() method without overriding the default hashCode() method. In an inheritance hierarchy, only the top class needs to provide a hashCode() method. This is discussed further below. "

Similar Messages

  • EXTENDING the string class

    ok, i know extending the string class is illegal because it's final, but i want to make an advanced string class that basically "extends" the string class and i've seen online this can be done through wrapper classes and/or composition, but i'm lost
    here is my sample code that is coming up with numerous compile time errors due to the fact that when i declare a new AdvString object, it doesn't inherit the basic string features (note: Add is a method that can add a character to a specified location in a string)
    class AdvString
         private String s;
         public AdvString(String s)
              this.s = s;
         public void Add(int pos, char ch)
              int this_len = (this.length()) + 1;
              int i;
              for(i=0;i<(this_len);i++)
                   if(pos == i)
                        this = this + ch;
                   else if(pos < i)
                        this = this + this.charAt(i-1);
                   else
                        this = this + this.charAt(i);
         public static void main(String[] args)
              AdvString s1;
              s1 = new AdvString("hello");
              char c = 'x';
              int i = 3;
              s1.Add(i,c);
              //s2 = Add(s1,i,c);
              //String s2_reversed = Reverse(s2);     
              System.out.println("s1 is: " + s1);
    any tips?

    see REString at,
    http://www.geocities.com/rmlchan/mt.html
    you will have to replicate all the String methods you are interested in, and just forward it to the String instance stored in REString or the like. it is like a conduit class and just passes most processing to the 'real' string. maybe a facade pattern.

  • (Class ? extends Set String ) Class.forName("example.SetImpl").asSubclass

    Is there a way to do the following without an Unchecked cast?
    Class<? extends Set<String>> clazz;
    clazz = (Class<? extends Set<String>>) Class.forName("example.SetImpl").asSubclass(Set.class);
    Set<String> mySet = clazz.newInstance();
    cheers,
    reto

    No. The last line will always generate that warning making the second line pointless. There is no way to create a new instance of a generic class because there is (for most intents and purposes) no such thing as a generic class at runtime.

  • Extend the String Class

    Is there a way to extend the string class? I know it's final, if i make my class final too would that work? I want to add some functionality to the string class, but I wanna be able to do concatination with the + operator and stuff like that. That's special to the String class.
    Any help would be great.
    Thanks.
    Joe

    Well, put your mind at easy with the fact that being
    able to use the '+' operator on Strings is a design
    flaw in Java. At least from a purist point of view...And from a pragmatist's point of view, it's a reasonable compromise, the benefit of which outweighs the downside. This is consistent with Java's goal as a good general-purpose language. It's not intended to be pure OO or pure anything else.

  • LoadClass    (error loading a class which extends other class  at run-time)

    Hey!
    I'm using the Reflection API
    I load a class called 'SubClass' which exists in a directory called 'subdir' at run-time from my program
    CustomClassLoader loader = new CustomClassLoader();
    Class classRef = loader.loadClass("SubClass");
    class CustomClassLoader extends ClassLoader. I have defined 'findClass(String className)' method in CustomClassLoader.
    This is what 'findClass(String className)' returns:
    defineClass (className,byteArray,0,byteArray.length);
    'byteArray' is of type byte[] and has the contents of subdir/SubClass.
    the problem:
    The program runs fine if SubClass does not extend any class.
    If however, SubClass extends another class, the program throws a NoClassDefFoundError. How is it conceptually different?
    Help appreciated in Advance..
    Thanks!

    Because i'm a newbie to the Reflection thing, i'm notI don't see reflection anywhere. All I see is class loading.
    sure what role does the superclass play when i'm
    trying to load the derived class and how to get away
    with the errorWell... hint: all the superclass's stuff is not copied into the subclass.
    I am quite sure it fails to load the superclass because of classpath issues.

  • Abstract class extends other class?

    What happens when a abstract class extends other class?
    How can we use the abstract class late in other class?
    Why do we need an abstract class that extends other class?
    for example:-
    public abstract class ABC extends EFG {
    public class EFG{
    private String name="";
    private int rollno="";
    private void setName(int name)
    this.name=name;
    private String getName()
    return this.name;
    }

    shafiur wrote:
    What happens when a abstract class extends other class?Nothing special. You have defined an abstract class.
    How can we use the abstract class late in other class?Define "Late". What "other class"?
    Why do we need an abstract class that extends other class?Because it can be useful to define one.

  • Extending abstract classes

    I just have a simple question. I have one class which is abstract
    public abstract class Person
         private String firstName;
         private String lastName;
         private String title;
         private String dateOfBirth;
         private String homeAddress;
         private String phoneNumber;
         public static final String MR = "Mr";
         public static final String MISS = "Miss";
         public static final String MS = "Ms";
         public static final String MRS = "Mrs";
         public static final String DR = "DR";
         public static final String PROF = "Prof";
         public Person(String firstName, String lastName, String title, String dateOfBirth,
                         String homeAddress, String phoneNumber){
              this.firstName=firstName;
              this.lastName=lastName;
              this.title=title;
              this.dateOfBirth=dateOfBirth;
              this.homeAddress=homeAddress;
              this.phoneNumber=phoneNumber;
         And i have another class which extends this class
    public abstract class Borrower extends Person{
      public LibraryItem [] itemsBorrowed;
      private double currentFine;
      private int barCode;
      public LibraryItem [] getItemsBorrowed()
           return itemsBorrowed;
      public double getCurrentFine()
           return currentFine;
      public int getBarCode()
           return barCode;
      }When i try to compile these two classes, i get the error
    Cannot find symbal constructor Person(). The problem is that the tutor hates us providing default constructors, and i presume that this is what the error is asking for. Is there any way around this or does a default constructor need to be povided?
    cheers

    codingMonkey wrote:
    georgemc wrote:
    nick2price wrote:
    Ok, i get you, better call the superclass constructor as tutor hates me using no param constructorsChallenge him on that. Not only are they perfectly acceptable, they're a mandatory part of the JavaBeans spec.Personally, even though there are nothing wrong with them, I prefer to avoid no-arg constructors in a lot of cases. Usually when I feel that a class should always have certain attributes. I.e. instead of having a no-arg constructor for something like a Person class, I'd rather have a constructor that takes at least a name. It is true that the name could always be initialized in the no-arg constructor, but I would think that it makes more sense for a person to always have a name, rather than being called "null" or "N/A".If you plan on using any framework that uses the Beans spec (and while the inexperienced, self-professed "purist" might balk at that, you'll find it virtually impossible to avoid as a commercial coder) you won't be able to with those classes. Your argument about always needing a sensible starting point falls down where you have multiple disparate types that you are re-constructing. While it's quite nice to say "a Person should always have a Name", if you have, for example, a persistence framework that will generically map the results of various database queries back onto Java objects, you have to write some special case code for each class in your domain model, that says "in order to contruct this object, you first need to perform this query, then invoke this constructor with this part of the result of that query, then populate the rest of the properties using setter methods". For every class in your domain model. That's a fair amount of overhead. The no-args constructor model completely circumvents that, since everything's populated by the same generic code - beans introspection. Think about it. For every class in your model, you have to have separate chunks of code that are aware of - and hence, coupled to - a specific query, and a specific constructor of a specific class. Far from ideal.
    Even if you decide to roll your own code to manage peristence, configuration, remoting and the like, you'll still eventually settle on no-args constructors as extremely handy tools. Note that I'm all for the presence of other constructors as well, that do allow sensible creation of objects with certain values. Just that the no-args constructor is so infinitely useful for writing a huge amount of generic code
    I would think that it makes more sense for a person to always have a name, rather than being called "null" or "N/A".Me too. And there's nothing in any of my points that gainsays, or opposes that. You create a Person instance, and he's called "null" for a few clock cycles before you populate him from a database query - nothing wrong with that

  • Extending NetBeans class

    Hello everyone.
    I'm quite new with java and NetBeans but I like it a lot so far. I would like to extend NetBeans class called DefaultMutableTreeNode because I need to add a unique ID to each node.
    So far I have this:
    package zbirka_evidenc;
    import javax.swing.tree.*;
    public class my_node extends DefaultMutableTreeNode {
        /** Creates a new instance of my_node */
        public my_node(String s) {
        public my_node() {
        private int node_id;
        private void setNodeId (int i){
            node_id = i;
        private int getNodeId (){
            return node_id;
    }DefaultMutableTreeNode can take either no parameters or some sort of Object (String in my case). Now I'm having problems how to pass String s which I get in my_node constructor to a DefaultMutableTreeNode object. How do I acces methods from the class which I'm extending? I need to call method SetUserObject() of a DefaultMutableTreeNode inside my_node constructor.
    Thanx in advance

    Just so you know this is not a Netbeans forum. If you have questions about Netbeans, or Netbeans API, you should direct your questions to the approiate netbeans mailing lists.
    You can find these lists here:
    http://www.netbeans.org/community/lists/
    Have Fun,
    JJ

  • Extended a class, getting a class cast error

    Hi all,
    I'm writing a program that uses a closed-source jar in its library (with permission, of course).
    One of the classes in that jar wasn't working as I wanted it to, so I extended the class and overwrote one of its methods. So, when using the class, instead of callingThirdPartyClass obj = new ThirdPartyClass();I could useMyThirdPartyClass obj = new MyThirdPartyClass();This seems to work, until a certain line of their code throws a class cast exception:
    java.lang.ClassCastException: org.thirdparty.ThirdPartyClass$2
         at org.thirdparty.Event.findTop(Event.java:279)
         at org.thirdparty.ThreadUtils$4.run(ThreadUtils.java:86
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        ....Why does this occur? Surely, since MyThirdPartyClass is a child of ThirdPartyClass, anything that expects a ThirdPartyClass shouldn't have any problem, right? Or do I have that backwards? And if so, is there anything I can do to fix the problem?
    Thanks!
    Sam

    paulcw wrote:
    Specifically, the ThirdPartyClass itself was an extension of a JApplet. Since I wanted to use it directly in my code, I couldn't set the applet's parameters, so I overwrote the getParameters(String) method to return strings of my choosing.Your approach makes little sense to me. Applets follow a well-defined lifecycle. If you wanted to embed the applet into your own application, all you have to do is use the applet following its lifecycle (that is, instantiate it, set the context, invoke init and start and stop and destroy). Overriding anything should not be necessary.That's exactly what I want to do. However, the applet requires one parameter to be set (DefaultModel = some url) -- if this isn't set I can't run the applet. As far as I can tell (and I have an as-yet unanswered question in the Applets forum asking about this), there is no way to set the parameters in an Applet in any way besides putting in in the 'param' tag in the Applet code in the HTML.
    If I'm wrong about that, please let me know.
    On the assumption that I was right, I decided to extend the getParameters(String) method, so that it would return the desired String when asked. Naturally, to do this, I had to extend the entire class.
    This solved the problem of the program failing when it asked for the parameter, but then it failed when it checked the codebase. I overrode the getCodeBase() method, and the applet no longer had a problem there.
    Then I got the exceptions I got above.
    I'm fairly certain (but, naturally, not 100% certain of anything) that neither of my methods should have affected the inner-workings of LiteApplet -- I was overriding methods that were from Applet (and not overridden in LiteApplet, I checked) that are just supposed to pass back strings -- the same Strings that would be passed back if it were embedded in a web page -- and not affect the applet in any way.
    Naturally, I'm wrong about one or more of my assumptions above, but I just can't work out how overriding those two methods could have created the error that I'm getting.
    Sam
    PS: Here is the entire exception, if you think it could help. I was scrubbing it merely so as not to confuse matters and make my posts overly long. The last exception below gets repeated indefinitely.
    AutoConverter.runVisitor() failed: CREATE-SUN expected 2 inputs, a number and a command block (optional).
    java.lang.NullPointerException
         at org.nlogo.swing.OptionDialog.show(OptionDialog.java:36)
         at org.nlogo.window.GUIWorkspace$11.handleError(GUIWorkspace.java:1125)
         at org.nlogo.compiler.AutoConverter.convert(AutoConverter.java:161)
         at org.nlogo.window.ProceduresLite.handleLoadSectionEvent(ProceduresLite.java:44)
         at org.nlogo.event.LoadSectionEvent.beHandledBy(LoadSectionEvent.java:38)
         at org.nlogo.event.Event.doRaise(Event.java:215)
         at org.nlogo.event.Event.raise(Event.java:116)
         at org.nlogo.window.ModelLoader.loadHelper(ModelLoader.java:76)
         at org.nlogo.window.ModelLoader.load(ModelLoader.java:45)
         at org.nlogo.window.LiteApplet.go(LiteApplet.java:128)
         at org.nlogo.window.LiteApplet$1.run(LiteApplet.java:26)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    java.lang.ClassCastException: org.nlogo.window.CompilerManager
         at org.nlogo.event.Event.findTop(Event.java:279)
         at org.nlogo.event.Event.doRaise(Event.java:190)
         at org.nlogo.event.Event.raise(Event.java:116)
         at org.nlogo.window.CompilerManager.compileAll(CompilerManager.java:68)
         at org.nlogo.window.CompilerManager.handleLoadEndEvent(CompilerManager.java:61)
         at org.nlogo.event.LoadEndEvent.beHandledBy(LoadEndEvent.java:11)
         at org.nlogo.event.Event.doRaise(Event.java:215)
         at org.nlogo.event.Event.raise(Event.java:116)
         at org.nlogo.window.ModelLoader.loadHelper(ModelLoader.java:115)
         at org.nlogo.window.ModelLoader.load(ModelLoader.java:45)
         at org.nlogo.window.LiteApplet.go(LiteApplet.java:128)
         at org.nlogo.window.LiteApplet$1.run(LiteApplet.java:26)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    java.lang.ClassCastException: org.nlogo.window.LiteApplet$2
         at org.nlogo.event.Event.findTop(Event.java:279)
         at org.nlogo.event.Event.doRaise(Event.java:190)
         at org.nlogo.event.Event.raise(Event.java:116)
         at org.nlogo.window.GUIWorkspace$6.run(GUIWorkspace.java:660)
         at org.nlogo.window.ThreadUtils$2.run(ThreadUtils.java:37)
         at org.nlogo.window.ThreadUtils$4.run(ThreadUtils.java:86)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • Does extending a class require a hand-entered constructor in superclass?

    Hello,
    Trying to extend a class (which doesn't have a main() method, if this matters), I got the following compiler message
    NewInput.java:1: cannot resolve symbol
    symbol : constructor InputFileDeclared ()
    location: class InputFileDeclared
    public class NewInput extends InputFileDeclared
    After I hand-entered a blank constructor to the superclass the subclass have compiled.
    Doesn't a class have a constructor by default?

    If your class has a contructor which takes arguments, then the compiler does not provide you with a no-arg constructor. In this case if you need to have a constructor that takes no arguments then you need to write one.
    If your base class had a constructor like
    public class InputFileRead {
    //Constructor
    public InputFileRead( String fileName ) {
    //Methods
    and you wrote your Derived class with no constructor as
    public class NewInput extends InputFileRead {
    //No constructors
    //Methods
    Now when you write
    NewInput nInp = new NewInput();
    since you have not written any constructor for your new class the compiler will provide you with a default no-args constructor which will call the default constructor of your base class. Since there is no default constructor for your base class, you won't be able to instantiate the derived class.
    You need to write a no-arg constructor for the new class which will then call the appropriate constructor of the base class.
    public class NewInput extends InputFileRead {
    //Constructor
    public NewInput() {
    super( "InputFile.txt" );
    //Methods
    }

  • Extend ShoppingClientHelper.class

    Does anyone knows how to extend ShoppingClientHelper.class.
    I create a class xxShoppingClientHelper extend ShoppingClientHelper and method addToReqs. I want the system to process the original logic in addToRegs first then the extended addToReqs. But I get compilation error that 'super cannot be reference from a static context'. Does this means I can not extend the ShoppingClientHelper.class since all methods in the class are static.
    Regards
    Lawrence

    Hi,
    Here is a start (not compiled, not tested):
    public class TwoValuedInteger {
        // Refer to these to avoid allocation of new objects
        // (just like Boolean.TRUE/Boolean.FALSE)
        public static TwoValuedInteger ZERO = new TwoValuedInteger(0);
        public static TwoValuedInteger ONE  = new TwoValuedInteger(1);
        private int value;
        public TwoValuedInteger(int v) {
            if (v != 0 && v != 1)
                throw new IllegalArgumentException();
            this.value = v;
        public String toString() {
            return value == 0 ? "0" : "1";
        public boolean equals(Object obj) {
            if (obj == null)
                return false;
            if (!(obj instanceof TwoValuedInteger))
                return false;
            return ((TwoValuedInteger)obj).value == value;
    }Regards,
    S&oslash;ren Bak

  • Problems with String[] Class Object

    Hi guys,
    I'm writing a web server who should invoke a method of a class when asked by a client.
    My problem is that if the method that should be invoked has a String[] parameter the web server is unable to invoke it and throws a java.lang.IllegalArgumentException: argument type mismatch.
    Useful pieces of code to understand are the following:
    //create the Class[] to pass as parameter to the getMethod method
    Class[] paramType = {String[].class};
    //find the class "className" and create a new instance
    Class c = Class.forName(className);
    Object obj = c.newInstance();
    //the getMethod should find in the class c the method called nameMeth
    // having paramType (i.e. String[]) as parameter type...
    Method theMethod = c.getMethod(nameMeth, paramType);
    //here's the problematic call!!
    theMethod.invoke(obj, params);I've noted that System.out.println(theMethod); prints the signature of the method with the parameter type java.lang.String[].
    System.out.println(paramType[0]); instead prints [Ljava.lang.String;
    I know that [L means that it is an array, so why do you think that I'm having an argument type mismatch?
    Thank you                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I had no problems making that work.import java.lang.reflect.Method;
    public final class StringArray {
        public static final String CLASSNAME = "StringArray";
        public static final String METHODNAME = "myMethod";
        public static final String[] sa = { "a", "b"};
        // automatic no-args constructor
        public final void myMethod(String[] sa) {
            for(int i=0;i<sa.length;++i) {
                System.out.println(sa);
    public static final void main(String[] arg) throws Exception {
    //create the Class[] to pass as parameter to the getMethod method
    Object[] params = { sa };
    Class[] paramType = {sa.getClass()};
    //find the class "className" and create a new instance
    Class c = Class.forName(CLASSNAME);
    Object obj = c.newInstance();
    //the getMethod should find in the class c the method called nameMeth
    // having paramType (i.e. String[]) as parameter type...
    Method theMethod = c.getMethod(METHODNAME, paramType);
    //here's the problematic call!!
    theMethod.invoke(obj, params);

  • ?Is it possible to create a javafx class without extending Application class ? If yes, how

    Is it possible to create a javafx class without extending Application class ? If yes, how ?

      There is no  such thing as a javafx  class.  It is a regular  java class.  The Aapplication class is  the entry
    point  for JavaFX application.  You have to extend the Application class to create Javafx  application .

  • Error while extending controller: class name is wrong or not included

    Hi All,
    I am getting this error while I port my extended controller class to the custom top and assign this controller to the page. I have made sure its the class file that is copied. The directory is correct, the permissions were given using chmod 775. There exists a soft link betwen the custom top and the oracle top as well. What else am I missing here?
    Error: oracle.apps.fnd.framework.OAException: Could not create Java class: (oracle.apps.ap.oie.entry.webui.XXEntryFlowPageCO) associated with region: (GeneralInformationPG). This is probably because the class name is wrong or not included in project.

    :( Started out with that Gyan. If i do give the path with xx. appended to it, it lets me save and when i log back in and there are no changes to the page. I go to the personalise option to find the modification has been overwritten. I was told that this is so because Oracle doesnt recognise the xx.path and since there exists a soft link already the standard path with the new controller name should work.
    i have really tried both of these options and am not sure what could be wrong. thanks for all your attempts to help. anything else i can try?

  • How to find out what are the functions supported by string class

    Hi,
    Can any one let me know how to find what are all the functions supported by the string class in standard(STL) library on solaris.
    Regards,
    Vignesh

    1. Any C++ textbook that covers the Standard Library will tell you about the standard string class. A good tutorial and reference for the entire Standard Library is "The C++ Standard Library" by Nicolai Josuttis, published by Addison Wesley.
    2. WIth Sun C++, the command
    man -s3C++ basic_string
    provides documentation for the default libCstd version of the Standard Library.
    3. You could look at the <string> header itself. I don't recommend that approach.

Maybe you are looking for

  • Album song order problem

    I am sure that this problem has been posted but for some reason I cannot find the search box to search through the posts. I only have a search box that searches the entire support page. I want to be able to see my songs alphabetically when I am viewi

  • BP not updating in Customer Master data KNA1

    Guys, I am creating a BP in CRM 7.0. Once the BP is saved & created successfully entry is present in all CRM tables as well as in the ECC side. But for few cases the Customer Master data Table KNA1, KNVV is not getting updated, i.e no value for the B

  • Using Logic X-Mod Wheel not being received.

    Im having an issue with the mod wheel info on passing to Logic X. Its not m¥ controller because it works in Pro Tools. Odd ly if I assign another controller with the same CC number , Mod. info can be recorded ( but not from the Mod wheel ) Thansk, GF

  • Linking Errors with rwtools7.so in C++ v6.2.p2

    Hi , We are migrating our application from c++ 4.2 to 6.2.p2 and Sol 2.6 to Sol 8. we are using the option -compat = 4 for backward compatibility. and used -library=rwtools7 and ' -lrwtool' is also a prameter while liking .. while linking we are gett

  • How to call method from  IF_SALV_WD_TABLE_SETTINGS in Wendynpro ABAP? Help!

    Hi Experts,        I have Webdynpro for ABAP application that shows a ALV table using SALV_WD_TABLE. In the help doc I got the following snippet: "To define the selection type, use the methods of the interface class IF_SALV_WD_TABLE_SETTINGS (impleme