Returning a HashMap K, M from a method of a class typed M

So, this is what I have. I have a class parameterized for a bean type of a collection it receives, and in a method of the class, I need (would like) to return a HashMap typed as <K, M> as in:
public class MyClass<M> {
   private Collection<M> beanList;
   public HashMap<K, M> getMap(  /* what do I do here */ );
}I tried to cheat from looking at the Collections.sort method, knowing it uses the List type in its return type as in:
public static <T extends Comparable<? super T>> void sort(List<T> list)So, I am trying:
public HashMap<K, M> getMap(Class<K> keyType)But, it is telling me I need to create class K.
So... how does the Collections.sort method get away with it and I can't????
I suppose I could write the method as:
public HashMap<Object, M> getMap()but became somewhat challenged by my first guess.
Any ideas... or just go with the HashMap with the untyped key?

ejp wrote:
provided K is inferable from the arguments.Or from the assignment context:
Set<String> empty = Collections.emptySet();
Otherwise you have to parameterise the class on <K, M>.You may also specifically provide K when you use the method if the context doesn't give the compiler enough information or if you want to override it.
Example:
Set<Object> singleton1 = Collections.singleton("Hello"); //error
Set<Object> singleton2 = Collections.<Object>singleton("Hello"); //fineEdited by: endasil on 14-May-2010 4:13 PM

Similar Messages

  • How to return more than one varibles from a method?

    can you use the codes:
    return var1, var2,var3;
    If not, what is the correct way to do so? thanks.

    You can only return 1 object from a method in Java.
    However, this 1 object can contain multiple other objects. For example, a Vector object:
      public Vector someMethod() {
        Vector v = new Vector();
        v.add("abc");
        v.add("xyz");
        v.add("123");
        return v;
      }If these multiple objects are the same type, you can also use array to achieve want you want.
      public String[] someMethod() {
        String ss = new String[3];
        ss[0] = "abc";
        ss[1] = "xyz";
        ss[2] = "123";
        return ss;
      }--lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do you return more than one value from a method?

    say I have this:
    public static int myFunc(String inString)
         // I want to return two values from this method
    }yeah so how would i do that?

    If the two values are somehow related--like a person's name and his age--define a class that has those two values as member variables--for example, Person. But only if that class and the assocation of those two quantities makes sense as an entity in your program. Don't do it just to jam to quantities into one return.
    Or, if the two values are two of the same thing--person A's age and person B's age--then you can return an array or Collection.
    If it doesn't fit either of those two scenarios, then your method is trying to do too much unrelated stuff and you should break it into multiple methods. For example, calculating a Person's age based on his birthdate and today's date and calculating his Body Mass Index based on his height and weight. Those two quantities should NOT be returned together.

  • Possible to return List T from a method based on Class T parameter?

    Hi all,
    I would like to implement a method as below:
    private List<T> createList(Class<T> cls) {
    }This method would then be possible to call this way:
    List<?> myDynamicGenericList = createList(someClass);Where someClass could be BigDecimal.class (should be known at compile time I suppose, cannot use reference to just "Class")
    I would then like to be able to get type check when adding elements in myDynamicGenericList:
    myDynamicGenericList .add(someBigDecimal); // Ok!
    myDynamicGenericList .add(someString); // Compilation error!Is this possible to achieve?
    With best regards/
    AC
    Message was edited by:
    Alecor9

      public static void main(String args[])
        List<BigDecimal> myList = createList(BigDecimal.class);
        myList.add(new BigDecimal("45.00"));
        myList.add(new BigDecimal("82.95"));
        for (BigDecimal bd : myList)
          System.out.println("decimal["+bd.toString()+"]");
      static <T> List<T>  createList(Class<T> someClass)
        List<T> someList = new ArrayList<T>();
        return someList;
      }Or you could do this:
      static <T extends Number> List<T>  createList(Class<T> someClass)
        List<T> someList = new ArrayList<T>();
        return someList;
      }

  • NEED HELP on returning values from a method

    Hello Java World,
    Does anyone know how to return more then 1 value from a method..
    ex.
    //the following returns one value
    //Person Class
    private String getname()
    return this.name;
    how can i get two values (ex. name and occupation of person)
    Thank you in advance.

    Create a Class which will hold the values you want and return that object. Or return a List, or return an array, or - taking your example with the person, why don't you return the whole person object?
    Thomas

  • TreeMap and SafeSortedMap returned as hashmap in AbstractProcessor impl

    Hi,
    I am using AbstractProcessor to process few datasets after record has been added to cache. However, TreeMap and SafeSortedMap are getting returned (typecasted) as hashmap objects in process method. Below is code for more clearity:
    overriding
    private String referenceKey;
    private List<String> someIds;
    private SafeSortedMap sortedSomeIdMap = new SafeSortedMap(TIMESTAMP_COMPARATOR);
         @Override
    public void writeExternal(PofWriter writer) throws IOException {
    super.writeExternal(writer.createNestedPofWriter(0));
    writer.writeString(1, referenceKey);
    writer.writeCollection(2, someIds);
    writer.writeMap(3, sortedSomeIdMap);
    @Override
    public void readExternal(PofReader reader) throws IOException {
    super.readExternal(reader.createNestedPofReader(0));
    referenceKey = reader.readString(1);
    someIds = (List<String>) reader.readCollection(2, new ArrayList<String>());
    sortedSomeIdMap = (SafeSortedMap)reader.readMap(3, new SafeSortedMap(TIMESTAMP_COMPARATOR));
    AbstractProcessor Implementation:
    public final class SomeIdProcessor extends AbstractProcessor implements PortableObject {
    private PofExtractor extractor = null;
    private PofUpdater updator = null;
    @Override
    public Object process(Entry entry) {
    extractor = new PofExtractor(SafeSortedMap.class, 3);
    //This object type is returned as HashMap instead of SafeSortedMap???
    Object result = entry.extract(extractor);
    result object in method above is being returned as HashMap. Any reason why would that be?? M i missing any configuration or do i need to override default PofSerializations??

    Hi,
    This is because Coherence cannot tell from the serialized POF data that you serialized a SafeSortedMap; Coherence only knows you have a Map so when using a PofExtractor you will get back a HashMap. In the readExternal method of your class you get a SafeSortedMap because you pass in the map to be used. Passing the SafeSortedMap.class parameter to the PofExtractor will make no difference (Coherence would not be able to create a SafeSortedMap anyway as it would not know what Comparator to use).
    You have two choices here. The simple one is to create a SafeSortedMap using the results from the Extractor like this
    @Override
    public Object process(Entry entry) {
        extractor = new PofExtractor(SafeSortedMap.class, 3);
        //This object type is returned as HashMap instead of SafeSortedMap???
        Map result = (Map)entry.extract(extractor);
        SafeSortedMap sortedMap = new SafeSortedMap(TIMESTAMP_COMPARATOR);
        sortedMap.putAll(result);
    }Your second and slightly more complex choice is to write an external POF Serializer that can serialize and deserialize a SafeSortedMap and add this to your POF configuration file. Your serializer would then need to serialize the comparator and the Map data so that when deserializing it can create the SafeSortedMap with the deserialized Comparator; of course you then need to be able to serialize the Comparator class too.
    JK

  • Call variable from outside method

    I have a method for a listSelectionListener with a variable in it called "results", I want to be able to get the information from this variable outside of this method. In my main class alled "gifts" I have a TextArea and I want "results" to be displayed in it but I can't get results into it because it's in a seperate method. Anyone know how I can do this?
    Heres some relevant code:
    public Gifts()
              super( "Spiritual Gift Database" );
              try
                   Class.forName(JDBC_DRIVER);
                   conn = DriverManager.getConnection(DATABASE_URL);
                   stat = conn.createStatement();
                   ResultSet rs = stat.executeQuery("SELECT heading1 FROM demo");
                   Vector vector1 = new Vector();
                   while(rs.next()) vector1.add(rs.getObject(1));
                   container = getContentPane();
               container.setLayout( new FlowLayout() );
                   nameListPanel = new JPanel();
                   statListPanel = new JPanel();
                   buttonPanel = new JPanel();
               nameList = new JList(vector1);
               nameList.setVisibleRowCount( 9 );
                   nameList.setPrototypeCellValue("XXXXXXXXXXXX");
                   nameList.addListSelectionListener(
                        new ListSelectionListener()
                             public void valueChanged(ListSelectionEvent event)
                                  try
                                       ResultSet resultSet = stat.executeQuery("SELECT * FROM demo");
                                       StringBuffer results = new StringBuffer();
                                       ResultSetMetaData metaData = resultSet.getMetaData();
                                       int numberOfColumns = metaData.getColumnCount();
                                       for(int i = 1; i<=numberOfColumns; i++)
                                       results.append(metaData.getColumnName(i) + "\t");
                                       results.append("\n");
                                       while (resultSet.next())
                                            for(int i = 1; i<= numberOfColumns; i++)
                                            results.append(resultSet.getObject(i) + "\t");
                                            results.append("\n");
                                  catch(SQLException sqlException)
                                       JOptionPane.showMessageDialog(null,sqlException.getMessage(),
                                       "Database Error", JOptionPane.ERROR_MESSAGE);
                                       System.exit(1);
                   statList = new JTextArea(results.toString());
                   add = new JButton("Add Entry");

    Declare you variable at the class level instead of the function level, then you can see if from any method in the class.
    Paul

  • Exporting parameter of type table in Method of a Class

    Hi Experts,
    I want to pass an internal table from my method in ABAP class to a workflow.
    For thi spurpose i have cretaed a parameter of type table in the method.
    My problem is that i am not able to bind this to a workflow/task  container.
    I can see all the other parameters of the method in thw workflow while binding except for the parameter of type table ( i.e internal table ).
    Any idea ?
    Thanks,
    Radhika.

    Assuming that you are trying to export the internal table from class method to task conatiner.
    I have cretaed a Structure 'zemails' in se11
    Already you have created a Structure in the SE11 , why don't you just create one Table Type of ZEMAILS in SE11. Once you hvae created in DDIC then in the class signature declare the ltmails of type the tabale type that you create. and then in the task conatiner also try to declare the container element with the same name and same table type.
    In the class method declare the lt_mails as Exporting. save and actiavte. And one more thing if that element is not present in the Task conatiner then as soon as you try to open in the change mode and click on the binding button of the task it will prompt you asking whether you want to trnasfer the mssing elements if you clcik Yes then the same element which you have declared in the class will created with the same type. but make sure in the task conatiner you delcare the lt_mails as IMport export element.

  • Returning multiple values from a method

    I have to return a string and int array from a method (both are only of size 5 for a total of 10) What would be considered the best manner in which to do this ?
    Dr there's 10 points in it for you or whoever gives me the best idea ;-P

    hey here it is easy that you can return many things
    what ever you want from a single method man....
    you know the main thing what you have to do is.....
    Just create a VECTOR or LIST object, then add all the
    values what ever you want to return like string and
    int array like etc...
    Then make the method return type is VECTOR and after
    getting the Vector you can Iterate that and you can
    get all the values from that method what ever you
    want....
    jus try this,,,,,,,,,,
    Its really work......
    reply me..but it relies purely on trust that the returned collection would contain exactly the right number and type of arguments

  • Problem with image returned from getGeneratedMapImage method

    I'm a newbie as far as map viewer and Java 2D goes....
    My problem is the java.awt.Image returned from the getGeneratedMapImage method of the MapViewer API. The image format is set to FORMAT_RAW_COMPRESSED. The image returned is of poor quality with colors not being correct and lines missing. I'm painting the Image returned from this method onto my own custom JComponent by overriding the paint() method...
    public void paint( Graphics g )
    Image image = map.getGeneratedMapImage();
    if ( image != null )
    g.drawImage( image, getLocation().x, getLocation().y, Color.white, this );
    If I take the xml request sent to the application server and paste it into a "sample map request" on the map admin website (along with changing format to PNG_STREAM) my image renders exactly how I expect it to.
    Anyone have any idea what I need to do to get the java.awt.Image with format set to FORMAT_RAW_COMPRESSED to render correctly. I was hoping to get back a BufferedImage or a RenderedImage from the getGeneratedMapImage call but I'm getting back a "sun.awt.motif.X11Image".
    Will downloading the JAI (java advanced imaging) from sun help me at all?

    Joao,
    Turns out it is related to colors. I'm dynamically adding themes, linear features and line styles. I ran a test where I changed the color being specified in the line style from magenta (ff00ff) to black. When I changed the color the linear feature would show up. It was being rendered as white on a white background when I was specifying it to be magenta. I'm specifying another linear feature to be green and it is showing up in the java image as yellow. This doesn't happen when I take the generated XML from the request and display it as a PNG_STREAM.
    Any clue what is going on there?
    Jen

  • The problem of return value from a method

    Hi everyone:
    I want return a value from following method. The basic idea is that I want use Num as a parameter to get a value from a field, therefore I can input this value into another database for the display purpose by using other classes. However I got error message when I compiled it.
    "method does not return a value"
    I know it is a problem, but how I can fix it? I need your help. Thanks in advance.
    Dawei
    Method:
    public int Read(int Num) {
    try{
    String qr1 = "select Record form Buffer where Record="+Num+"";
    ResultSet rs = statement.executeQuery(qr1);
    while (!rs.next()){
              int result=rs.getInt(1);
    return(result);
         catch (SQLException e){
                   System.err.println("Error in inserting into database " + e);
                        System.exit(1);
    return 1;

    "select Record form Buffer ...Hopefully "form" is actually "from" in your code.
    You have three points of exit from your routine, and only two return value statements.
    1 -Return inside the while loop has a value.
    2- Return inside the exception block (not sure that '1' would be a valid number)
    3- The very end of the method, just before the last '}' does not have a return statement.
    By the way, this question has nothing to do with JDBC, so another forum might be a better place to post it.

  • How to return a object from a method in a java program to a C++ call (JNI )

    Sir,
    I am new to java and i have been assigned a task to be done using JNI.
    My question is,
    How can i return an object from a method in a java program to a call for the same method in a C++program using JNI.
    Any help or suggesstions in this regard would be very useful.
    Thanking you,
    Anjan Kumar

    Hello
    I would like to suggest that JNI should be your last choice and not your first choice. JNI is hard to get right. Since the JNI code is executing in the same address space as the JVM, any problems (on either side) will take down the entire process. It dilutes the Write Once Run Anywhere (WORA) value proposition because you need to provide the JNI component for all hardware/OS platforms. If you can keep your legacy code(or whatever you feel you need to do in JNI) in a separate address space and communicate via some inter-process channel, you end up with a system that is more flexible, portable, and scalable.
    Having said all that, head over to the Java Native Interface: Programmer's Guide and Specification web page:
    http://java.sun.com/docs/books/jni/
    Scroll down to the Download the example code in this book in ZIP or tar.gz formats. links and download the example source. Study and run the example sources. The jniexamples/chap5/MyNewString demo creates a java.lang.String object in native code and returns it to the Java Language program.

  • Can I get 2 return datatypes from a method?

    I am looking to get a int from a method but also need a boolean value to indicate if it is a valid number which is tested in my method. If it is allowed must I declare the method twice for each datatype?
    Edited by: Yucca on Apr 19, 2008 5:26 PM

    Hi jverd. This is part of my program from last night. I do test in the method for valid value and throw an exception. However if I leave it at that it will still update my object with value and furthe update my ArrayList with the onject. This is not correct. As u see in my code I am already testing my arrayList with a boolean value and find that if I continue so it will be beneficial as I still have 2 more datatypes that need to be tested.
    public void createNew()
         { // start of createNew()
              Person p = new Person();
              String firstName = getName("Create");
              String lastName = getSurname();
              int homeNum = getHome();
              int count =0;
              boolean found = false;
              //Test if the contact is in phonelist already
              for(Person c: phoneList)
                   c = phoneList.get(count);
                   if((c.name).equals(firstName.trim().toUpperCase())&&(c.surname).equals(lastName.trim().toUpperCase()))
                        JOptionPane.showMessageDialog(null,"You may not enter duplicate contacts. \nPlease abbreviate or change the contacts name/surname.","Error",JOptionPane.ERROR_MESSAGE);
                        found = true;
                        createNew();
                        break;
                   count ++;
              // If contact is not in list the update it
              if(found == false)
                   p.name = firstName.trim().toUpperCase();
                   p.surname = lastName.trim().toUpperCase();
                   phoneList.add(p);
    public int getHome()
              int homeNum = 0;
              String home = JOptionPane.showInputDialog(null,"Please enter the contacts home number or press cancel to exit.");
              //If a string was entered make sure it is a integer
              if(home.length() > 0)
                   try
                        homeNum = Integer.parseInt(home);
                   catch(NumberFormatException nfe)
                        JOptionPane.showMessageDialog(null,"You may not use letters as a phone number. Please try again","Error",JOptionPane.ERROR_MESSAGE);
              return homeNum;
         }I want the getHome method to return a boolean value to and pass it up to the part where I test for corectness before updating the arrayList.

  • How to return more than one object from SwingWorker

    I am using a SwingWorker to call 3 different methods of another class (data fetch class). Each of these 3 methods returns a String array. I am able to get the first array outside the thread code using the get() method of the SwingWorker class,
    final String tmpOrdNum = OrderNum;
    SwingWorker worker = new SwingWorker() {
         DATA_FETCH_TO_ARRAY data_fetch = new DATA_FETCH_TO_ARRAY(tmpOrdNum);
         public Object construct(){
              String [] orderArr = data_fetch.getHeaderArray();
              //String [] detailArr = data_fetch.getDetailArray();
              //String [] storeArr = data_fetch.getStoreArray();                    
              return orderArr;
         //Runs on the event-dispatching thread.
         public void finished(){     }
    worker.start() ;
    String[] testArr = (String[])worker.get();      //gets the header array
    /* HOW DO I GET THE DETAIL AND STORE ARRAYS HERE?*/I want to be able to call the other 2 methods of the data fetch class - getDetailArray() and getStoreArray() shown commented in the above code one by one.
    Can someone please suggest a way of doing this? Thank you.

    Return String[][] from construct method.
    Here is an example (observe test method):
    import java.util.*;
    public class ArrayTest{
         public static void main(String[] args){
              String[][] result=(String[][])new ArrayTest().test();          
              System.out.println("result1: "+Arrays.toString(result[0]));
              System.out.println("result2: "+Arrays.toString(result[1]));
              System.out.println("result3: "+Arrays.toString(result[2]));
         public Object test(){
              String[] str1={"A","B","C"};
              String[] str2={"M","N","O"};
              String[] str3={"X","Y","Z"};          
              String[][] out=new String[3][];
              out[0]=str1;
              out[1]=str2;
              out[2]=str3;
              return out;
    }Thanks,
    Mrityunjoy

  • Problem with return a ColdFusion query object from a Java class

    Hi!
    I need to return a ColdFusion query object from a Java class
    using a JDBC result set ( java.sql.ResultSet);
    I have tried to pass my JDBC result set in to the constructor
    of the coldfusion.sql.QueryTable class with this code:
    ColdFusion code
    <cfset pra = createObject("java","QueryUtil").init()>
    <cfset newQuery = CreateObject("java",
    "coldfusion.sql.QueryTable")>
    <cfset newQuery.init( pra.getColdFusionQuery () ) >
    My java class execute a query to db and return QueryTable
    Java code (QueryUtil.java)
    import coldfusion.sql.QueryTable; // (CFusion.jar for class
    QueryTable)
    import com.allaire.cfx //(cfx.jar for class Query used from
    QueryTable)
    public class QueryUtil
    public static coldfusion.sql.QueryTable
    getColdFusionQuery(java.sql.ResultSet rs)
    return new coldfusion.sql.QueryTable(rs);
    but when i run cfm page and coldfusion server tries to
    execute : "<cfset pra =
    createObject("java","QueryUtil").init()>" this error appears:
    Object Instantiation Exception.
    An exception occurred when instantiating a java object. The
    cause of this exception was that: coldfusion/sql/QueryTable.
    If i try to execute QueryUtil.java with Eclipse all it works.
    Also I have tried to return java.sql.ResultSet directly to
    coldfusion.sql.QueryTable.init () with failure.
    Do you know some other solution?

    ok
    i print all my code
    pratica.java execute a query to db and return a querytable
    java class
    import java.util.*;
    import java.sql.*;
    import coldfusion.sql.*;
    public class Pratica {
    private HashMap my;
    private String URI,LOGIN,PWD,DRIVER;
    private Connection conn=null;
    //funzione init
    //riceve due strutture converite in hashmap
    // globals
    // dbprop
    public Pratica(HashMap globals,HashMap dbprop) {
    my = new HashMap();
    my.put("GLOBALS",globals);
    my.put("DBPROP",dbprop);
    URI = "jdbc:sqlserver://it-bra-s0016;databaseName=nmobl";
    LOGIN = "usr_dev";
    PWD = "developer";
    DRIVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    try{
    // Carico il driver JDBC per la connessione con il database
    MySQL
    Class.forName(DRIVER);
    /* Connessione alla base di dati */
    conn=DriverManager.getConnection(URI,LOGIN,PWD);
    if(conn!=null) System.out.println("Connection Successful!");
    } catch (ClassNotFoundException e) {
    // Could not find the database driver
    System.out.print("\ndriver non trovato "+e.getMessage());
    System.out.flush();
    catch (SQLException e) {
    // Could not connect to the database
    System.out.print("\nConnessione fallita "+e.getMessage());
    System.out.flush();
    //funzione search
    //riceve un hash map con i filtri di ricerca
    public QueryTable search(/*HashMap arg*/) {
    ResultSet rs=null;
    Statement stmt=null;
    QueryTable ret=null;
    String query="SELECT * FROM TAN100pratiche";
    try{
    stmt = conn.createStatement();// Creo lo Statement per
    l'esecuzione della query
    rs=stmt.executeQuery(query);
    // while (rs.next()) {
    // System.out.println(rs.getString("descrizione"));
    catch (Exception e) {
    e.printStackTrace();
    try {
    ret = Pratica.RsToQueryTable(rs);
    } catch (SQLException e) {
    e.printStackTrace();
    this.close();
    return(ret);
    // ret=this.RsToQuery(rs);
    // this.close(); //chiude le connessioni,recordset e
    statament
    //retstruct CF vede HashMap come struct
    //METODO DI TEST
    public HashMap retstruct(){
    return(my);
    //conversione resultset to querytable
    private static QueryTable RsToQueryTable(ResultSet rs)
    throws SQLException{
    return new QueryTable(rs);
    //chiura resultset statament e connessione
    private void close(){
    try{
    conn.close();
    conn=null;
    catch (Exception e) {
    e.printStackTrace();
    coldfusion code
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Test JDBC CFML Using CFScript</title>
    </head>
    <body>
    <cftry>
    <cfset glb_map =
    createObject("java","java.util.HashMap")>
    <cfset dbprop_map =
    createObject("java","java.util.HashMap")>
    <cfset glb_map.init(glb)> <!---are passed from
    another page--->
    <cfset dbprop_map.init(glb["DBPROP"])>
    <cfset pra =
    createObject("java","Pratica").init(glb_map,dbprop_map)>
    <cfset ourQuery
    =createObject("java","coldfusion.sql.QueryTable").init(pra.search())>
    <cfcatch>
    <h2>Error - info below</h2>
    <cfdump var="#cfcatch#"><cfabort>
    </cfcatch>
    </cftry>
    <h2>Success - statement dumped below</h2>
    <cfdump var="#ourQuery#">
    </body>
    </html>
    error at line <cfset pra =
    createObject("java","Pratica").init(glb_map,dbprop_map)>
    An exception occurred when instantiating a java object. The
    cause of this exception was that: coldfusion/sql/QueryTable.
    -----------------------------------------------------------------------

Maybe you are looking for

  • Trouble launching Illustrator CC files from Adobe Bridge

    Double clicking in Bridge does not work after a few sucessful "opens". Need to restart Ai CC to resolve. Works ok for a few opens then reverts back. Just started happening. Anyone else havingthis issue?

  • Release of Payment inspite of material lying in QI Stock

    Dear guru I have a query, pLease give me some suggestion After receipt of material in the stores, the challan is entered in SAP with the transaction code: MIGO and the material stock indicate in QI (QUALITY INSPECTION) Stock. After inspection of mate

  • Hello, i have problem to update my apps on my ipad

    Hello, i have problem to update my apps on my ipad when i bought it was registered with email of seller which is lost later and ehrn i created my own apple id i cannot update my apps with it because it keeps asking me infos seller email please help m

  • Quarter to months drilldown problem

    Hi, I need to create a repprt in which i need to calculate net sales for a quarter. and then when i drilldown on the quarter i should get monthly figures. Can someone please tell me how to implement this. Thanks

  • Making sounds as if they are coming from next door ( Final cut pro)?

    I'm editing my anti domestic violence tvc. In the living room, the children are fighting and next door, in the bedroom, the parents are fighting. Problem is, I've already recorded the parents' argument sounds in a sound booth and how do you make it s