Questions tagged [bidirectional]

"Bidirectional" refers to any process or structure that works in two directions. Use the tag `bidi` for bidirectional text instead of this tag.

"Bidirectional" is a general concept and can have a lot of meanings:

  • bidirectional text, see
  • bidirectional associations of data
  • bidirectional synchronization
  • bidirectional mapping
  • bidirectional communication
  • bidirectional search algorithms

See also: https://en.wikipedia.org/wiki/Bidirectional

493 questions
2
votes
1 answer

Bi-directional communication using Asynchronous FIFO?

I am trying to interface a module (let's call it main_module) with a Dual Port Block RAM memory generated by the Xilinx CORE Generator. Both the modules transmit and receive data with each other and run at markedly different clock speeds. In order…
Candy
  • 133
  • 1
  • 10
2
votes
2 answers

Hebrew multilanguage [numbers]

I am not sure how to represent numbers in Hebrew. Current approach. .links { direction: rtl; unicode-bidi: bidi-override; }
loki
  • 187
  • 2
  • 14
2
votes
0 answers

Hibernate doesn't use batch-processing at bidirectional OneToMany-relation with JoinTable

I have several entities with a bidirectional @OneToMany-relation with @JoinTable. Functionality is working fine, besides the performance of inserting large amounts of datasets to the database. I found out that in this case Hibernate isn't using…
2
votes
3 answers

How can I maintain consistency in a 2-way object relationship in JavaScript?

If I have a 2-way relationship between 2 objects, such that A relates to B and B relates to A, how can I keep this consistent such that the 2 objects will always refer back to each other? I'm struggling to put my very simple problem into words, so…
2
votes
2 answers

Signals and Observer(Reactive Swift) for form validation not working as expected

I am doing form validation using reactive swift. But I faced issue on resetting value & signal value. When I fill all the textfield correctly as directed by validation rule all signals(textfield continuoustextvalues) produce true value, which will…
2
votes
1 answer

Use collection initializer for BiDirection dictionary

About BiDirection dictionary: Bidirectional 1 to 1 Dictionary in C# My bi-dictionary is: internal class BiDirectionContainer { private readonly Dictionary _forward = new Dictionary(); private readonly…
nuclear sweet
  • 1,079
  • 10
  • 27
2
votes
1 answer

Unable to setup @ManyToMany and @OneToOne relationship correctly for bi directional Spring Data JPA and Spring REST

I am using Spring Boot with Spring Data JPA and Spring Data REST. I have a class called TestExection, it is a class setup to have multiple TestResults. When a TestExecution is created there are no results created to set for it. Later when the…
ALM
  • 2,555
  • 7
  • 31
  • 45
2
votes
1 answer

Bidirectional self-referencing mapping with additional fields in doctrine 2

I'm stuck on this. Here is what i got: I got a DocumentEntitiy which is able to have $previosDocuments and $nextDocuments.This relation is bidirectional and both of them are ArrayCollections. But I also need to know some other additional…
Kami Yang
  • 427
  • 5
  • 15
2
votes
1 answer

Bidirectional (BiDi) text inside HTML textarea not respecting LRM control character

I'm having a hard time with making BiDi strings work inside an HTML textarea as I'd expect. This test string contains both Arabic and English, plus sequences of pseudo-tags (<1/>, <2/>), which are composed of neutral-direction characters (<, >, /,…
paul.ago
  • 3,904
  • 1
  • 22
  • 15
2
votes
0 answers

Appropriate algorithm for offline bidirectional data synchronization

Given: Relational database table information (postgres) that represents company information and user information. The company and user data is downloaded to the mobile app as two .sqlite files, which can be joined and viewed using sql (minimizes…
Joel
  • 2,601
  • 4
  • 33
  • 44
2
votes
2 answers

JPA - Removing of elements of a bidirectional Relationship

Why can i remove elements of a bidirectional relation although only one side of the relation is managed in persistence context (Example I)? When i have an unidirectional Relationship that doesn't work (see Example II). Why? Entities: @Entity Class…
Michael W.
  • 531
  • 2
  • 7
  • 17
2
votes
0 answers

Hibernate: Bidirectional @OneToOne relationship

I'm having issues when trying to create a OneToOne relationship between two entities with two Foreign Keys. public class Player { @JoinColumn(name = "player_state") @OneToOne(fetch = FetchType.EAGER ,cascade = {CascadeType.PERSIST, …
dantebarba
  • 1,396
  • 1
  • 12
  • 22
2
votes
0 answers

Why is one version of bidirectional bubble sort faster than the other?

I have two Java implementations of a bi-directional bubble sort (cocktail sort) designed to sort a list of n integers. The first one is a "vanilla" cocktail sort. The second one increments a left or right buffer after each pass, because after each…
Jim V
  • 1,131
  • 12
  • 22
2
votes
2 answers

JPA OneToMany bidirectional without join table

I am currently developing a java ee application but i am having problems with the JPA. I have two entities: @Entitiy public class Restaurant implements Serializable { private static final long serialVersionUID = 1L; @Id …
perotom
  • 851
  • 13
  • 33
2
votes
1 answer

Xbee mesh network: Can end-devices have bi-directional communication with a coordinator?

Quick question: I'm setting up a mesh network with Digi's Xbees series 2, one coordinator and as many as 8 end-devices and as the title implies. I was wondering if the end-devices could receive data from the coordinator, making for a 2-way…
RenanGM
  • 43
  • 1
  • 8